-
Notifications
You must be signed in to change notification settings - Fork 623
/
api_types.go
1464 lines (1106 loc) · 49.5 KB
/
api_types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package neptune
import (
"time"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/internal/awsutil"
)
var _ aws.Config
var _ = awsutil.Prettify
// Specifies an Availability Zone.
type AvailabilityZone struct {
_ struct{} `type:"structure"`
// The name of the availability zone.
Name *string `type:"string"`
}
// String returns the string representation
func (s AvailabilityZone) String() string {
return awsutil.Prettify(s)
}
// Specifies a character set.
type CharacterSet struct {
_ struct{} `type:"structure"`
// The description of the character set.
CharacterSetDescription *string `type:"string"`
// The name of the character set.
CharacterSetName *string `type:"string"`
}
// String returns the string representation
func (s CharacterSet) String() string {
return awsutil.Prettify(s)
}
// The configuration setting for the log types to be enabled for export to CloudWatch
// Logs for a specific DB instance or DB cluster.
//
// The EnableLogTypes and DisableLogTypes arrays determine which logs will be
// exported (or not exported) to CloudWatch Logs.
type CloudwatchLogsExportConfiguration struct {
_ struct{} `type:"structure"`
// The list of log types to disable.
DisableLogTypes []string `type:"list"`
// The list of log types to enable.
EnableLogTypes []string `type:"list"`
}
// String returns the string representation
func (s CloudwatchLogsExportConfiguration) String() string {
return awsutil.Prettify(s)
}
// Contains the details of an Amazon Neptune DB cluster.
//
// This data type is used as a response element in the DescribeDBClusters action.
type DBCluster struct {
_ struct{} `type:"structure"`
// AllocatedStorage always returns 1, because Neptune DB cluster storage size
// is not fixed, but instead automatically adjusts as needed.
AllocatedStorage *int64 `type:"integer"`
// Provides a list of the AWS Identity and Access Management (IAM) roles that
// are associated with the DB cluster. IAM roles that are associated with a
// DB cluster grant permission for the DB cluster to access other AWS services
// on your behalf.
AssociatedRoles []DBClusterRole `locationNameList:"DBClusterRole" type:"list"`
// Provides the list of EC2 Availability Zones that instances in the DB cluster
// can be created in.
AvailabilityZones []string `locationNameList:"AvailabilityZone" type:"list"`
// Specifies the number of days for which automatic DB snapshots are retained.
BackupRetentionPeriod *int64 `type:"integer"`
// If present, specifies the name of the character set that this cluster is
// associated with.
CharacterSetName *string `type:"string"`
// Identifies the clone group to which the DB cluster is associated.
CloneGroupId *string `type:"string"`
// Specifies the time when the DB cluster was created, in Universal Coordinated
// Time (UTC).
ClusterCreateTime *time.Time `type:"timestamp"`
// The Amazon Resource Name (ARN) for the DB cluster.
DBClusterArn *string `type:"string"`
// Contains a user-supplied DB cluster identifier. This identifier is the unique
// key that identifies a DB cluster.
DBClusterIdentifier *string `type:"string"`
// Provides the list of instances that make up the DB cluster.
DBClusterMembers []DBClusterMember `locationNameList:"DBClusterMember" type:"list"`
// Provides the list of option group memberships for this DB cluster.
DBClusterOptionGroupMemberships []DBClusterOptionGroupStatus `locationNameList:"DBClusterOptionGroup" type:"list"`
// Specifies the name of the DB cluster parameter group for the DB cluster.
DBClusterParameterGroup *string `type:"string"`
// Specifies information on the subnet group associated with the DB cluster,
// including the name, description, and subnets in the subnet group.
DBSubnetGroup *string `type:"string"`
// Contains the name of the initial database of this DB cluster that was provided
// at create time, if one was specified when the DB cluster was created. This
// same name is returned for the life of the DB cluster.
DatabaseName *string `type:"string"`
// The AWS Region-unique, immutable identifier for the DB cluster. This identifier
// is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB
// cluster is accessed.
DbClusterResourceId *string `type:"string"`
// Specifies the earliest time to which a database can be restored with point-in-time
// restore.
EarliestRestorableTime *time.Time `type:"timestamp"`
// A list of log types that this DB cluster is configured to export to CloudWatch
// Logs.
EnabledCloudwatchLogsExports []string `type:"list"`
// Specifies the connection endpoint for the primary instance of the DB cluster.
Endpoint *string `type:"string"`
// Provides the name of the database engine to be used for this DB cluster.
Engine *string `type:"string"`
// Indicates the database engine version.
EngineVersion *string `type:"string"`
// Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
HostedZoneId *string `type:"string"`
// True if mapping of AWS Identity and Access Management (IAM) accounts to database
// accounts is enabled, and otherwise false.
IAMDatabaseAuthenticationEnabled *bool `type:"boolean"`
// If StorageEncrypted is true, the AWS KMS key identifier for the encrypted
// DB cluster.
KmsKeyId *string `type:"string"`
// Specifies the latest time to which a database can be restored with point-in-time
// restore.
LatestRestorableTime *time.Time `type:"timestamp"`
// Contains the master username for the DB cluster.
MasterUsername *string `type:"string"`
// Specifies whether the DB cluster has instances in multiple Availability Zones.
MultiAZ *bool `type:"boolean"`
// Specifies the progress of the operation as a percentage.
PercentProgress *string `type:"string"`
// Specifies the port that the database engine is listening on.
Port *int64 `type:"integer"`
// Specifies the daily time range during which automated backups are created
// if automated backups are enabled, as determined by the BackupRetentionPeriod.
PreferredBackupWindow *string `type:"string"`
// Specifies the weekly time range during which system maintenance can occur,
// in Universal Coordinated Time (UTC).
PreferredMaintenanceWindow *string `type:"string"`
// Contains one or more identifiers of the Read Replicas associated with this
// DB cluster.
ReadReplicaIdentifiers []string `locationNameList:"ReadReplicaIdentifier" type:"list"`
// The reader endpoint for the DB cluster. The reader endpoint for a DB cluster
// load-balances connections across the Read Replicas that are available in
// a DB cluster. As clients request new connections to the reader endpoint,
// Neptune distributes the connection requests among the Read Replicas in the
// DB cluster. This functionality can help balance your read workload across
// multiple Read Replicas in your DB cluster.
//
// If a failover occurs, and the Read Replica that you are connected to is promoted
// to be the primary instance, your connection is dropped. To continue sending
// your read workload to other Read Replicas in the cluster, you can then reconnect
// to the reader endpoint.
ReaderEndpoint *string `type:"string"`
// Not supported by Neptune.
ReplicationSourceIdentifier *string `type:"string"`
// Specifies the current state of this DB cluster.
Status *string `type:"string"`
// Specifies whether the DB cluster is encrypted.
StorageEncrypted *bool `type:"boolean"`
// Provides a list of VPC security groups that the DB cluster belongs to.
VpcSecurityGroups []VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroupMembership" type:"list"`
}
// String returns the string representation
func (s DBCluster) String() string {
return awsutil.Prettify(s)
}
// Contains information about an instance that is part of a DB cluster.
type DBClusterMember struct {
_ struct{} `type:"structure"`
// Specifies the status of the DB cluster parameter group for this member of
// the DB cluster.
DBClusterParameterGroupStatus *string `type:"string"`
// Specifies the instance identifier for this member of the DB cluster.
DBInstanceIdentifier *string `type:"string"`
// Value that is true if the cluster member is the primary instance for the
// DB cluster and false otherwise.
IsClusterWriter *bool `type:"boolean"`
// A value that specifies the order in which a Read Replica is promoted to the
// primary instance after a failure of the existing primary instance.
PromotionTier *int64 `type:"integer"`
}
// String returns the string representation
func (s DBClusterMember) String() string {
return awsutil.Prettify(s)
}
// Contains status information for a DB cluster option group.
type DBClusterOptionGroupStatus struct {
_ struct{} `type:"structure"`
// Specifies the name of the DB cluster option group.
DBClusterOptionGroupName *string `type:"string"`
// Specifies the status of the DB cluster option group.
Status *string `type:"string"`
}
// String returns the string representation
func (s DBClusterOptionGroupStatus) String() string {
return awsutil.Prettify(s)
}
// Contains the details of an Amazon Neptune DB cluster parameter group.
//
// This data type is used as a response element in the DescribeDBClusterParameterGroups
// action.
type DBClusterParameterGroup struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) for the DB cluster parameter group.
DBClusterParameterGroupArn *string `type:"string"`
// Provides the name of the DB cluster parameter group.
DBClusterParameterGroupName *string `type:"string"`
// Provides the name of the DB parameter group family that this DB cluster parameter
// group is compatible with.
DBParameterGroupFamily *string `type:"string"`
// Provides the customer-specified description for this DB cluster parameter
// group.
Description *string `type:"string"`
}
// String returns the string representation
func (s DBClusterParameterGroup) String() string {
return awsutil.Prettify(s)
}
// Describes an AWS Identity and Access Management (IAM) role that is associated
// with a DB cluster.
type DBClusterRole struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) of the IAM role that is associated with the
// DB cluster.
RoleArn *string `type:"string"`
// Describes the state of association between the IAM role and the DB cluster.
// The Status property returns one of the following values:
//
// * ACTIVE - the IAM role ARN is associated with the DB cluster and can
// be used to access other AWS services on your behalf.
//
// * PENDING - the IAM role ARN is being associated with the DB cluster.
//
// * INVALID - the IAM role ARN is associated with the DB cluster, but the
// DB cluster is unable to assume the IAM role in order to access other AWS
// services on your behalf.
Status *string `type:"string"`
}
// String returns the string representation
func (s DBClusterRole) String() string {
return awsutil.Prettify(s)
}
// Contains the details for an Amazon Neptune DB cluster snapshot
//
// This data type is used as a response element in the DescribeDBClusterSnapshots
// action.
type DBClusterSnapshot struct {
_ struct{} `type:"structure"`
// Specifies the allocated storage size in gibibytes (GiB).
AllocatedStorage *int64 `type:"integer"`
// Provides the list of EC2 Availability Zones that instances in the DB cluster
// snapshot can be restored in.
AvailabilityZones []string `locationNameList:"AvailabilityZone" type:"list"`
// Specifies the time when the DB cluster was created, in Universal Coordinated
// Time (UTC).
ClusterCreateTime *time.Time `type:"timestamp"`
// Specifies the DB cluster identifier of the DB cluster that this DB cluster
// snapshot was created from.
DBClusterIdentifier *string `type:"string"`
// The Amazon Resource Name (ARN) for the DB cluster snapshot.
DBClusterSnapshotArn *string `type:"string"`
// Specifies the identifier for the DB cluster snapshot.
DBClusterSnapshotIdentifier *string `type:"string"`
// Specifies the name of the database engine.
Engine *string `type:"string"`
// Provides the version of the database engine for this DB cluster snapshot.
EngineVersion *string `type:"string"`
// True if mapping of AWS Identity and Access Management (IAM) accounts to database
// accounts is enabled, and otherwise false.
IAMDatabaseAuthenticationEnabled *bool `type:"boolean"`
// If StorageEncrypted is true, the AWS KMS key identifier for the encrypted
// DB cluster snapshot.
KmsKeyId *string `type:"string"`
// Provides the license model information for this DB cluster snapshot.
LicenseModel *string `type:"string"`
// Provides the master username for the DB cluster snapshot.
MasterUsername *string `type:"string"`
// Specifies the percentage of the estimated data that has been transferred.
PercentProgress *int64 `type:"integer"`
// Specifies the port that the DB cluster was listening on at the time of the
// snapshot.
Port *int64 `type:"integer"`
// Provides the time when the snapshot was taken, in Universal Coordinated Time
// (UTC).
SnapshotCreateTime *time.Time `type:"timestamp"`
// Provides the type of the DB cluster snapshot.
SnapshotType *string `type:"string"`
// If the DB cluster snapshot was copied from a source DB cluster snapshot,
// the Amazon Resource Name (ARN) for the source DB cluster snapshot, otherwise,
// a null value.
SourceDBClusterSnapshotArn *string `type:"string"`
// Specifies the status of this DB cluster snapshot.
Status *string `type:"string"`
// Specifies whether the DB cluster snapshot is encrypted.
StorageEncrypted *bool `type:"boolean"`
// Provides the VPC ID associated with the DB cluster snapshot.
VpcId *string `type:"string"`
}
// String returns the string representation
func (s DBClusterSnapshot) String() string {
return awsutil.Prettify(s)
}
// Contains the name and values of a manual DB cluster snapshot attribute.
//
// Manual DB cluster snapshot attributes are used to authorize other AWS accounts
// to restore a manual DB cluster snapshot. For more information, see the ModifyDBClusterSnapshotAttribute
// API action.
type DBClusterSnapshotAttribute struct {
_ struct{} `type:"structure"`
// The name of the manual DB cluster snapshot attribute.
//
// The attribute named restore refers to the list of AWS accounts that have
// permission to copy or restore the manual DB cluster snapshot. For more information,
// see the ModifyDBClusterSnapshotAttribute API action.
AttributeName *string `type:"string"`
// The value(s) for the manual DB cluster snapshot attribute.
//
// If the AttributeName field is set to restore, then this element returns a
// list of IDs of the AWS accounts that are authorized to copy or restore the
// manual DB cluster snapshot. If a value of all is in the list, then the manual
// DB cluster snapshot is public and available for any AWS account to copy or
// restore.
AttributeValues []string `locationNameList:"AttributeValue" type:"list"`
}
// String returns the string representation
func (s DBClusterSnapshotAttribute) String() string {
return awsutil.Prettify(s)
}
// Contains the results of a successful call to the DescribeDBClusterSnapshotAttributes
// API action.
//
// Manual DB cluster snapshot attributes are used to authorize other AWS accounts
// to copy or restore a manual DB cluster snapshot. For more information, see
// the ModifyDBClusterSnapshotAttribute API action.
type DBClusterSnapshotAttributesResult struct {
_ struct{} `type:"structure"`
// The list of attributes and values for the manual DB cluster snapshot.
DBClusterSnapshotAttributes []DBClusterSnapshotAttribute `locationNameList:"DBClusterSnapshotAttribute" type:"list"`
// The identifier of the manual DB cluster snapshot that the attributes apply
// to.
DBClusterSnapshotIdentifier *string `type:"string"`
}
// String returns the string representation
func (s DBClusterSnapshotAttributesResult) String() string {
return awsutil.Prettify(s)
}
// This data type is used as a response element in the action DescribeDBEngineVersions.
type DBEngineVersion struct {
_ struct{} `type:"structure"`
// The description of the database engine.
DBEngineDescription *string `type:"string"`
// The description of the database engine version.
DBEngineVersionDescription *string `type:"string"`
// The name of the DB parameter group family for the database engine.
DBParameterGroupFamily *string `type:"string"`
// The default character set for new instances of this engine version, if the
// CharacterSetName parameter of the CreateDBInstance API is not specified.
DefaultCharacterSet *CharacterSet `type:"structure"`
// The name of the database engine.
Engine *string `type:"string"`
// The version number of the database engine.
EngineVersion *string `type:"string"`
// The types of logs that the database engine has available for export to CloudWatch
// Logs.
ExportableLogTypes []string `type:"list"`
// A list of the character sets supported by this engine for the CharacterSetName
// parameter of the CreateDBInstance action.
SupportedCharacterSets []CharacterSet `locationNameList:"CharacterSet" type:"list"`
// A list of the time zones supported by this engine for the Timezone parameter
// of the CreateDBInstance action.
SupportedTimezones []Timezone `locationNameList:"Timezone" type:"list"`
// A value that indicates whether the engine version supports exporting the
// log types specified by ExportableLogTypes to CloudWatch Logs.
SupportsLogExportsToCloudwatchLogs *bool `type:"boolean"`
// Indicates whether the database engine version supports read replicas.
SupportsReadReplica *bool `type:"boolean"`
// A list of engine versions that this database engine version can be upgraded
// to.
ValidUpgradeTarget []UpgradeTarget `locationNameList:"UpgradeTarget" type:"list"`
}
// String returns the string representation
func (s DBEngineVersion) String() string {
return awsutil.Prettify(s)
}
// Contains the details of an Amazon Neptune DB instance.
//
// This data type is used as a response element in the DescribeDBInstances action.
type DBInstance struct {
_ struct{} `type:"structure"`
// Specifies the allocated storage size specified in gibibytes.
AllocatedStorage *int64 `type:"integer"`
// Indicates that minor version patches are applied automatically.
AutoMinorVersionUpgrade *bool `type:"boolean"`
// Specifies the name of the Availability Zone the DB instance is located in.
AvailabilityZone *string `type:"string"`
// Specifies the number of days for which automatic DB snapshots are retained.
BackupRetentionPeriod *int64 `type:"integer"`
// The identifier of the CA certificate for this DB instance.
CACertificateIdentifier *string `type:"string"`
// If present, specifies the name of the character set that this instance is
// associated with.
CharacterSetName *string `type:"string"`
// Specifies whether tags are copied from the DB instance to snapshots of the
// DB instance.
CopyTagsToSnapshot *bool `type:"boolean"`
// If the DB instance is a member of a DB cluster, contains the name of the
// DB cluster that the DB instance is a member of.
DBClusterIdentifier *string `type:"string"`
// The Amazon Resource Name (ARN) for the DB instance.
DBInstanceArn *string `type:"string"`
// Contains the name of the compute and memory capacity class of the DB instance.
DBInstanceClass *string `type:"string"`
// Contains a user-supplied database identifier. This identifier is the unique
// key that identifies a DB instance.
DBInstanceIdentifier *string `type:"string"`
// Specifies the current state of this database.
DBInstanceStatus *string `type:"string"`
// The database name.
DBName *string `type:"string"`
// Provides the list of DB parameter groups applied to this DB instance.
DBParameterGroups []DBParameterGroupStatus `locationNameList:"DBParameterGroup" type:"list"`
// Provides List of DB security group elements containing only DBSecurityGroup.Name
// and DBSecurityGroup.Status subelements.
DBSecurityGroups []DBSecurityGroupMembership `locationNameList:"DBSecurityGroup" type:"list"`
// Specifies information on the subnet group associated with the DB instance,
// including the name, description, and subnets in the subnet group.
DBSubnetGroup *DBSubnetGroup `type:"structure"`
// Specifies the port that the DB instance listens on. If the DB instance is
// part of a DB cluster, this can be a different port than the DB cluster port.
DbInstancePort *int64 `type:"integer"`
// The AWS Region-unique, immutable identifier for the DB instance. This identifier
// is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB
// instance is accessed.
DbiResourceId *string `type:"string"`
// Not supported
DomainMemberships []DomainMembership `locationNameList:"DomainMembership" type:"list"`
// A list of log types that this DB instance is configured to export to CloudWatch
// Logs.
EnabledCloudwatchLogsExports []string `type:"list"`
// Specifies the connection endpoint.
Endpoint *Endpoint `type:"structure"`
// Provides the name of the database engine to be used for this DB instance.
Engine *string `type:"string"`
// Indicates the database engine version.
EngineVersion *string `type:"string"`
// The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that
// receives the Enhanced Monitoring metrics data for the DB instance.
EnhancedMonitoringResourceArn *string `type:"string"`
// True if AWS Identity and Access Management (IAM) authentication is enabled,
// and otherwise false.
IAMDatabaseAuthenticationEnabled *bool `type:"boolean"`
// Provides the date and time the DB instance was created.
InstanceCreateTime *time.Time `type:"timestamp"`
// Specifies the Provisioned IOPS (I/O operations per second) value.
Iops *int64 `type:"integer"`
// Not supported: The encryption for DB instances is managed by the DB cluster.
KmsKeyId *string `type:"string"`
// Specifies the latest time to which a database can be restored with point-in-time
// restore.
LatestRestorableTime *time.Time `type:"timestamp"`
// License model information for this DB instance.
LicenseModel *string `type:"string"`
// Contains the master username for the DB instance.
MasterUsername *string `type:"string"`
// The interval, in seconds, between points when Enhanced Monitoring metrics
// are collected for the DB instance.
MonitoringInterval *int64 `type:"integer"`
// The ARN for the IAM role that permits Neptune to send Enhanced Monitoring
// metrics to Amazon CloudWatch Logs.
MonitoringRoleArn *string `type:"string"`
// Specifies if the DB instance is a Multi-AZ deployment.
MultiAZ *bool `type:"boolean"`
// Provides the list of option group memberships for this DB instance.
OptionGroupMemberships []OptionGroupMembership `locationNameList:"OptionGroupMembership" type:"list"`
// Specifies that changes to the DB instance are pending. This element is only
// included when changes are pending. Specific changes are identified by subelements.
PendingModifiedValues *PendingModifiedValues `type:"structure"`
// True if Performance Insights is enabled for the DB instance, and otherwise
// false.
PerformanceInsightsEnabled *bool `type:"boolean"`
// The AWS KMS key identifier for encryption of Performance Insights data. The
// KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the
// KMS key alias for the KMS encryption key.
PerformanceInsightsKMSKeyId *string `type:"string"`
// Specifies the daily time range during which automated backups are created
// if automated backups are enabled, as determined by the BackupRetentionPeriod.
PreferredBackupWindow *string `type:"string"`
// Specifies the weekly time range during which system maintenance can occur,
// in Universal Coordinated Time (UTC).
PreferredMaintenanceWindow *string `type:"string"`
// A value that specifies the order in which a Read Replica is promoted to the
// primary instance after a failure of the existing primary instance.
PromotionTier *int64 `type:"integer"`
// This flag should no longer be used.
PubliclyAccessible *bool `deprecated:"true" type:"boolean"`
// Contains one or more identifiers of DB clusters that are Read Replicas of
// this DB instance.
ReadReplicaDBClusterIdentifiers []string `locationNameList:"ReadReplicaDBClusterIdentifier" type:"list"`
// Contains one or more identifiers of the Read Replicas associated with this
// DB instance.
ReadReplicaDBInstanceIdentifiers []string `locationNameList:"ReadReplicaDBInstanceIdentifier" type:"list"`
// Contains the identifier of the source DB instance if this DB instance is
// a Read Replica.
ReadReplicaSourceDBInstanceIdentifier *string `type:"string"`
// If present, specifies the name of the secondary Availability Zone for a DB
// instance with multi-AZ support.
SecondaryAvailabilityZone *string `type:"string"`
// The status of a Read Replica. If the instance is not a Read Replica, this
// is blank.
StatusInfos []DBInstanceStatusInfo `locationNameList:"DBInstanceStatusInfo" type:"list"`
// Not supported: The encryption for DB instances is managed by the DB cluster.
StorageEncrypted *bool `type:"boolean"`
// Specifies the storage type associated with DB instance.
StorageType *string `type:"string"`
// The ARN from the key store with which the instance is associated for TDE
// encryption.
TdeCredentialArn *string `type:"string"`
// Not supported.
Timezone *string `type:"string"`
// Provides a list of VPC security group elements that the DB instance belongs
// to.
VpcSecurityGroups []VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroupMembership" type:"list"`
}
// String returns the string representation
func (s DBInstance) String() string {
return awsutil.Prettify(s)
}
// Provides a list of status information for a DB instance.
type DBInstanceStatusInfo struct {
_ struct{} `type:"structure"`
// Details of the error if there is an error for the instance. If the instance
// is not in an error state, this value is blank.
Message *string `type:"string"`
// Boolean value that is true if the instance is operating normally, or false
// if the instance is in an error state.
Normal *bool `type:"boolean"`
// Status of the DB instance. For a StatusType of read replica, the values can
// be replicating, error, stopped, or terminated.
Status *string `type:"string"`
// This value is currently "read replication."
StatusType *string `type:"string"`
}
// String returns the string representation
func (s DBInstanceStatusInfo) String() string {
return awsutil.Prettify(s)
}
// Contains the details of an Amazon Neptune DB parameter group.
//
// This data type is used as a response element in the DescribeDBParameterGroups
// action.
type DBParameterGroup struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) for the DB parameter group.
DBParameterGroupArn *string `type:"string"`
// Provides the name of the DB parameter group family that this DB parameter
// group is compatible with.
DBParameterGroupFamily *string `type:"string"`
// Provides the name of the DB parameter group.
DBParameterGroupName *string `type:"string"`
// Provides the customer-specified description for this DB parameter group.
Description *string `type:"string"`
}
// String returns the string representation
func (s DBParameterGroup) String() string {
return awsutil.Prettify(s)
}
// The status of the DB parameter group.
//
// This data type is used as a response element in the following actions:
//
// * CreateDBInstance
//
// * DeleteDBInstance
//
// * ModifyDBInstance
//
// * RebootDBInstance
type DBParameterGroupStatus struct {
_ struct{} `type:"structure"`
// The name of the DP parameter group.
DBParameterGroupName *string `type:"string"`
// The status of parameter updates.
ParameterApplyStatus *string `type:"string"`
}
// String returns the string representation
func (s DBParameterGroupStatus) String() string {
return awsutil.Prettify(s)
}
// Specifies membership in a designated DB security group.
type DBSecurityGroupMembership struct {
_ struct{} `type:"structure"`
// The name of the DB security group.
DBSecurityGroupName *string `type:"string"`
// The status of the DB security group.
Status *string `type:"string"`
}
// String returns the string representation
func (s DBSecurityGroupMembership) String() string {
return awsutil.Prettify(s)
}
// Contains the details of an Amazon Neptune DB subnet group.
//
// This data type is used as a response element in the DescribeDBSubnetGroups
// action.
type DBSubnetGroup struct {
_ struct{} `type:"structure"`
// The Amazon Resource Name (ARN) for the DB subnet group.
DBSubnetGroupArn *string `type:"string"`
// Provides the description of the DB subnet group.
DBSubnetGroupDescription *string `type:"string"`
// The name of the DB subnet group.
DBSubnetGroupName *string `type:"string"`
// Provides the status of the DB subnet group.
SubnetGroupStatus *string `type:"string"`
// Contains a list of Subnet elements.
Subnets []Subnet `locationNameList:"Subnet" type:"list"`
// Provides the VpcId of the DB subnet group.
VpcId *string `type:"string"`
}
// String returns the string representation
func (s DBSubnetGroup) String() string {
return awsutil.Prettify(s)
}
// An Active Directory Domain membership record associated with a DB instance.
type DomainMembership struct {
_ struct{} `type:"structure"`
// The identifier of the Active Directory Domain.
Domain *string `type:"string"`
// The fully qualified domain name of the Active Directory Domain.
FQDN *string `type:"string"`
// The name of the IAM role to be used when making API calls to the Directory
// Service.
IAMRoleName *string `type:"string"`
// The status of the DB instance's Active Directory Domain membership, such
// as joined, pending-join, failed etc).
Status *string `type:"string"`
}
// String returns the string representation
func (s DomainMembership) String() string {
return awsutil.Prettify(s)
}
// A range of double values.
type DoubleRange struct {
_ struct{} `type:"structure"`
// The minimum value in the range.
From *float64 `type:"double"`
// The maximum value in the range.
To *float64 `type:"double"`
}
// String returns the string representation
func (s DoubleRange) String() string {
return awsutil.Prettify(s)
}
// Specifies a connection endpoint.
type Endpoint struct {
_ struct{} `type:"structure"`
// Specifies the DNS address of the DB instance.
Address *string `type:"string"`
// Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
HostedZoneId *string `type:"string"`
// Specifies the port that the database engine is listening on.
Port *int64 `type:"integer"`
}
// String returns the string representation
func (s Endpoint) String() string {
return awsutil.Prettify(s)
}
// Contains the result of a successful invocation of the DescribeEngineDefaultParameters
// action.
type EngineDefaults struct {
_ struct{} `type:"structure"`
// Specifies the name of the DB parameter group family that the engine default
// parameters apply to.
DBParameterGroupFamily *string `type:"string"`
// An optional pagination token provided by a previous EngineDefaults request.
// If this parameter is specified, the response includes only records beyond
// the marker, up to the value specified by MaxRecords .
Marker *string `type:"string"`
// Contains a list of engine default parameters.
Parameters []Parameter `locationNameList:"Parameter" type:"list"`
}
// String returns the string representation
func (s EngineDefaults) String() string {
return awsutil.Prettify(s)
}
// This data type is used as a response element in the DescribeEvents action.
type Event struct {
_ struct{} `type:"structure"`
// Specifies the date and time of the event.
Date *time.Time `type:"timestamp"`
// Specifies the category for the event.
EventCategories []string `locationNameList:"EventCategory" type:"list"`
// Provides the text of this event.
Message *string `type:"string"`
// The Amazon Resource Name (ARN) for the event.
SourceArn *string `type:"string"`
// Provides the identifier for the source of the event.
SourceIdentifier *string `type:"string"`
// Specifies the source type for this event.
SourceType SourceType `type:"string" enum:"true"`
}
// String returns the string representation
func (s Event) String() string {
return awsutil.Prettify(s)
}
// Contains the results of a successful invocation of the DescribeEventCategories
// action.
type EventCategoriesMap struct {
_ struct{} `type:"structure"`
// The event categories for the specified source type
EventCategories []string `locationNameList:"EventCategory" type:"list"`
// The source type that the returned categories belong to
SourceType *string `type:"string"`
}
// String returns the string representation
func (s EventCategoriesMap) String() string {
return awsutil.Prettify(s)
}
// Contains the results of a successful invocation of the DescribeEventSubscriptions
// action.
type EventSubscription struct {
_ struct{} `type:"structure"`
// The event notification subscription Id.
CustSubscriptionId *string `type:"string"`
// The AWS customer account associated with the event notification subscription.
CustomerAwsId *string `type:"string"`
// A Boolean value indicating if the subscription is enabled. True indicates
// the subscription is enabled.
Enabled *bool `type:"boolean"`
// A list of event categories for the event notification subscription.
EventCategoriesList []string `locationNameList:"EventCategory" type:"list"`
// The Amazon Resource Name (ARN) for the event subscription.
EventSubscriptionArn *string `type:"string"`
// The topic ARN of the event notification subscription.
SnsTopicArn *string `type:"string"`
// A list of source IDs for the event notification subscription.
SourceIdsList []string `locationNameList:"SourceId" type:"list"`
// The source type for the event notification subscription.
SourceType *string `type:"string"`
// The status of the event notification subscription.
//
// Constraints:
//
// Can be one of the following: creating | modifying | deleting | active | no-permission
// | topic-not-exist
//
// The status "no-permission" indicates that Neptune no longer has permission
// to post to the SNS topic. The status "topic-not-exist" indicates that the
// topic was deleted after the subscription was created.
Status *string `type:"string"`
// The time the event notification subscription was created.
SubscriptionCreationTime *string `type:"string"`
}
// String returns the string representation
func (s EventSubscription) String() string {
return awsutil.Prettify(s)
}
// This type is not currently supported.
type Filter struct {
_ struct{} `type:"structure"`
// This parameter is not currently supported.