/
rds.go
1944 lines (1712 loc) · 105 KB
/
rds.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
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
// Package rds provides a client for Amazon Relational Database Service.
package rds
import (
"net/http"
"time"
"github.com/awslabs/aws-sdk-go/aws"
"github.com/awslabs/aws-sdk-go/gen/endpoints"
)
import (
"encoding/xml"
"io"
)
// RDS is a client for Amazon Relational Database Service.
type RDS struct {
client *aws.QueryClient
}
// New returns a new RDS client.
func New(creds aws.CredentialsProvider, region string, client *http.Client) *RDS {
if client == nil {
client = http.DefaultClient
}
endpoint, service, region := endpoints.Lookup("rds", region)
return &RDS{
client: &aws.QueryClient{
Context: aws.Context{
Credentials: creds,
Service: service,
Region: region,
},
Client: client,
Endpoint: endpoint,
APIVersion: "2014-10-31",
},
}
}
// AddSourceIdentifierToSubscription adds a source identifier to an
// existing RDS event notification subscription.
func (c *RDS) AddSourceIdentifierToSubscription(req *AddSourceIdentifierToSubscriptionMessage) (resp *AddSourceIdentifierToSubscriptionResult, err error) {
resp = &AddSourceIdentifierToSubscriptionResult{}
err = c.client.Do("AddSourceIdentifierToSubscription", "POST", "/", req, resp)
return
}
// AddTagsToResource adds metadata tags to an Amazon RDS resource. These
// tags can also be used with cost allocation reporting to track cost
// associated with Amazon RDS resources, or used in Condition statement in
// IAM policy for Amazon For an overview on tagging Amazon RDS resources,
// see Tagging Amazon RDS Resources
func (c *RDS) AddTagsToResource(req *AddTagsToResourceMessage) (err error) {
// NRE
err = c.client.Do("AddTagsToResource", "POST", "/", req, nil)
return
}
// ApplyPendingMaintenanceAction applies a pending maintenance action to a
// resource.
func (c *RDS) ApplyPendingMaintenanceAction(req *ApplyPendingMaintenanceActionMessage) (resp *ApplyPendingMaintenanceActionResult, err error) {
resp = &ApplyPendingMaintenanceActionResult{}
err = c.client.Do("ApplyPendingMaintenanceAction", "POST", "/", req, resp)
return
}
// AuthorizeDBSecurityGroupIngress enables ingress to a DBSecurityGroup
// using one of two forms of authorization. First, EC2 or VPC security
// groups can be added to the DBSecurityGroup if the application using the
// database is running on EC2 or VPC instances. Second, IP ranges are
// available if the application accessing your database is running on the
// Internet. Required parameters for this API are one of range,
// EC2SecurityGroupId for or (EC2SecurityGroupOwnerId and either
// EC2SecurityGroupName or EC2SecurityGroupId for non-VPC). You cannot
// authorize ingress from an EC2 security group in one Region to an Amazon
// RDS DB instance in another. You cannot authorize ingress from a VPC
// security group in one VPC to an Amazon RDS DB instance in another. For
// an overview of ranges, go to the Wikipedia Tutorial .
func (c *RDS) AuthorizeDBSecurityGroupIngress(req *AuthorizeDBSecurityGroupIngressMessage) (resp *AuthorizeDBSecurityGroupIngressResult, err error) {
resp = &AuthorizeDBSecurityGroupIngressResult{}
err = c.client.Do("AuthorizeDBSecurityGroupIngress", "POST", "/", req, resp)
return
}
// CopyDBParameterGroup is undocumented.
func (c *RDS) CopyDBParameterGroup(req *CopyDBParameterGroupMessage) (resp *CopyDBParameterGroupResult, err error) {
resp = &CopyDBParameterGroupResult{}
err = c.client.Do("CopyDBParameterGroup", "POST", "/", req, resp)
return
}
// CopyDBSnapshot copies the specified DBSnapshot. The source DBSnapshot
// must be in the "available" state.
func (c *RDS) CopyDBSnapshot(req *CopyDBSnapshotMessage) (resp *CopyDBSnapshotResult, err error) {
resp = &CopyDBSnapshotResult{}
err = c.client.Do("CopyDBSnapshot", "POST", "/", req, resp)
return
}
// CopyOptionGroup is undocumented.
func (c *RDS) CopyOptionGroup(req *CopyOptionGroupMessage) (resp *CopyOptionGroupResult, err error) {
resp = &CopyOptionGroupResult{}
err = c.client.Do("CopyOptionGroup", "POST", "/", req, resp)
return
}
// CreateDBInstance is undocumented.
func (c *RDS) CreateDBInstance(req *CreateDBInstanceMessage) (resp *CreateDBInstanceResult, err error) {
resp = &CreateDBInstanceResult{}
err = c.client.Do("CreateDBInstance", "POST", "/", req, resp)
return
}
// CreateDBInstanceReadReplica creates a DB instance that acts as a Read
// Replica of a source DB instance. All Read Replica DB instances are
// created as Single-AZ deployments with backups disabled. All other DB
// instance attributes (including DB security groups and DB parameter
// groups) are inherited from the source DB instance, except as specified
// below. The source DB instance must have backup retention enabled.
func (c *RDS) CreateDBInstanceReadReplica(req *CreateDBInstanceReadReplicaMessage) (resp *CreateDBInstanceReadReplicaResult, err error) {
resp = &CreateDBInstanceReadReplicaResult{}
err = c.client.Do("CreateDBInstanceReadReplica", "POST", "/", req, resp)
return
}
// CreateDBParameterGroup creates a new DB parameter group. A DB parameter
// group is initially created with the default parameters for the database
// engine used by the DB instance. To provide custom values for any of the
// parameters, you must modify the group after creating it using
// ModifyDBParameterGroup . Once you've created a DB parameter group, you
// need to associate it with your DB instance using ModifyDBInstance . When
// you associate a new DB parameter group with a running DB instance, you
// need to reboot the DB instance without failover for the new DB parameter
// group and associated settings to take effect. After you create a DB
// parameter group, you should wait at least 5 minutes before creating your
// first DB instance that uses that DB parameter group as the default
// parameter group. This allows Amazon RDS to fully complete the create
// action before the parameter group is used as the default for a new DB
// instance. This is especially important for parameters that are critical
// when creating the default database for a DB instance, such as the
// character set for the default database defined by the
// character_set_database parameter. You can use the Parameter Groups
// option of the Amazon RDS console or the DescribeDBParameters command to
// verify that your DB parameter group has been created or modified.
func (c *RDS) CreateDBParameterGroup(req *CreateDBParameterGroupMessage) (resp *CreateDBParameterGroupResult, err error) {
resp = &CreateDBParameterGroupResult{}
err = c.client.Do("CreateDBParameterGroup", "POST", "/", req, resp)
return
}
// CreateDBSecurityGroup creates a new DB security group. DB security
// groups control access to a DB instance.
func (c *RDS) CreateDBSecurityGroup(req *CreateDBSecurityGroupMessage) (resp *CreateDBSecurityGroupResult, err error) {
resp = &CreateDBSecurityGroupResult{}
err = c.client.Do("CreateDBSecurityGroup", "POST", "/", req, resp)
return
}
// CreateDBSnapshot creates a DBSnapshot. The source DBInstance must be in
// "available" state.
func (c *RDS) CreateDBSnapshot(req *CreateDBSnapshotMessage) (resp *CreateDBSnapshotResult, err error) {
resp = &CreateDBSnapshotResult{}
err = c.client.Do("CreateDBSnapshot", "POST", "/", req, resp)
return
}
// CreateDBSubnetGroup creates a new DB subnet group. DB subnet groups must
// contain at least one subnet in at least two AZs in the region.
func (c *RDS) CreateDBSubnetGroup(req *CreateDBSubnetGroupMessage) (resp *CreateDBSubnetGroupResult, err error) {
resp = &CreateDBSubnetGroupResult{}
err = c.client.Do("CreateDBSubnetGroup", "POST", "/", req, resp)
return
}
// CreateEventSubscription creates an RDS event notification subscription.
// This action requires a topic ARN (Amazon Resource Name) created by
// either the RDS console, the SNS console, or the SNS To obtain an ARN
// with you must create a topic in Amazon SNS and subscribe to the topic.
// The ARN is displayed in the SNS console. You can specify the type of
// source (SourceType) you want to be notified of, provide a list of RDS
// sources (SourceIds) that triggers the events, and provide a list of
// event categories (EventCategories) for events you want to be notified
// of. For example, you can specify SourceType = db-instance, SourceIds =
// mydbinstance1, mydbinstance2 and EventCategories = Availability, Backup.
// If you specify both the SourceType and SourceIds, such as SourceType =
// db-instance and SourceIdentifier = myDBInstance1, you will be notified
// of all the db-instance events for the specified source. If you specify a
// SourceType but do not specify a SourceIdentifier, you will receive
// notice of the events for that source type for all your RDS sources. If
// you do not specify either the SourceType nor the SourceIdentifier, you
// will be notified of events generated from all RDS sources belonging to
// your customer account.
func (c *RDS) CreateEventSubscription(req *CreateEventSubscriptionMessage) (resp *CreateEventSubscriptionResult, err error) {
resp = &CreateEventSubscriptionResult{}
err = c.client.Do("CreateEventSubscription", "POST", "/", req, resp)
return
}
// CreateOptionGroup creates a new option group. You can create up to 20
// option groups.
func (c *RDS) CreateOptionGroup(req *CreateOptionGroupMessage) (resp *CreateOptionGroupResult, err error) {
resp = &CreateOptionGroupResult{}
err = c.client.Do("CreateOptionGroup", "POST", "/", req, resp)
return
}
// DeleteDBInstance the DeleteDBInstance action deletes a previously
// provisioned DB instance. A successful response from the web service
// indicates the request was received correctly. When you delete a DB
// instance, all automated backups for that instance are deleted and cannot
// be recovered. Manual DB snapshots of the DB instance to be deleted are
// not deleted. If a final DB snapshot is requested the status of the RDS
// instance will be "deleting" until the DB snapshot is created. The API
// action DescribeDBInstance is used to monitor the status of this
// operation. The action cannot be canceled or reverted once submitted.
func (c *RDS) DeleteDBInstance(req *DeleteDBInstanceMessage) (resp *DeleteDBInstanceResult, err error) {
resp = &DeleteDBInstanceResult{}
err = c.client.Do("DeleteDBInstance", "POST", "/", req, resp)
return
}
// DeleteDBParameterGroup deletes a specified DBParameterGroup. The
// DBParameterGroup to be deleted cannot be associated with any DB
// instances. The specified DB parameter group cannot be associated with
// any DB instances.
func (c *RDS) DeleteDBParameterGroup(req *DeleteDBParameterGroupMessage) (err error) {
// NRE
err = c.client.Do("DeleteDBParameterGroup", "POST", "/", req, nil)
return
}
// DeleteDBSecurityGroup deletes a DB security group. The specified DB
// security group must not be associated with any DB instances.
func (c *RDS) DeleteDBSecurityGroup(req *DeleteDBSecurityGroupMessage) (err error) {
// NRE
err = c.client.Do("DeleteDBSecurityGroup", "POST", "/", req, nil)
return
}
// DeleteDBSnapshot deletes a DBSnapshot. If the snapshot is being copied,
// the copy operation is terminated. The DBSnapshot must be in the
// available state to be deleted.
func (c *RDS) DeleteDBSnapshot(req *DeleteDBSnapshotMessage) (resp *DeleteDBSnapshotResult, err error) {
resp = &DeleteDBSnapshotResult{}
err = c.client.Do("DeleteDBSnapshot", "POST", "/", req, resp)
return
}
// DeleteDBSubnetGroup deletes a DB subnet group. The specified database
// subnet group must not be associated with any DB instances.
func (c *RDS) DeleteDBSubnetGroup(req *DeleteDBSubnetGroupMessage) (err error) {
// NRE
err = c.client.Do("DeleteDBSubnetGroup", "POST", "/", req, nil)
return
}
// DeleteEventSubscription is undocumented.
func (c *RDS) DeleteEventSubscription(req *DeleteEventSubscriptionMessage) (resp *DeleteEventSubscriptionResult, err error) {
resp = &DeleteEventSubscriptionResult{}
err = c.client.Do("DeleteEventSubscription", "POST", "/", req, resp)
return
}
// DeleteOptionGroup is undocumented.
func (c *RDS) DeleteOptionGroup(req *DeleteOptionGroupMessage) (err error) {
// NRE
err = c.client.Do("DeleteOptionGroup", "POST", "/", req, nil)
return
}
// DescribeDBEngineVersions is undocumented.
func (c *RDS) DescribeDBEngineVersions(req *DescribeDBEngineVersionsMessage) (resp *DescribeDBEngineVersionsResult, err error) {
resp = &DescribeDBEngineVersionsResult{}
err = c.client.Do("DescribeDBEngineVersions", "POST", "/", req, resp)
return
}
// DescribeDBInstances returns information about provisioned RDS instances.
// This API supports pagination.
func (c *RDS) DescribeDBInstances(req *DescribeDBInstancesMessage) (resp *DescribeDBInstancesResult, err error) {
resp = &DescribeDBInstancesResult{}
err = c.client.Do("DescribeDBInstances", "POST", "/", req, resp)
return
}
// DescribeDBLogFiles returns a list of DB log files for the DB instance.
func (c *RDS) DescribeDBLogFiles(req *DescribeDBLogFilesMessage) (resp *DescribeDBLogFilesResult, err error) {
resp = &DescribeDBLogFilesResult{}
err = c.client.Do("DescribeDBLogFiles", "POST", "/", req, resp)
return
}
// DescribeDBParameterGroups returns a list of DBParameterGroup
// descriptions. If a DBParameterGroupName is specified, the list will
// contain only the description of the specified DB parameter group.
func (c *RDS) DescribeDBParameterGroups(req *DescribeDBParameterGroupsMessage) (resp *DescribeDBParameterGroupsResult, err error) {
resp = &DescribeDBParameterGroupsResult{}
err = c.client.Do("DescribeDBParameterGroups", "POST", "/", req, resp)
return
}
// DescribeDBParameters returns the detailed parameter list for a
// particular DB parameter group.
func (c *RDS) DescribeDBParameters(req *DescribeDBParametersMessage) (resp *DescribeDBParametersResult, err error) {
resp = &DescribeDBParametersResult{}
err = c.client.Do("DescribeDBParameters", "POST", "/", req, resp)
return
}
// DescribeDBSecurityGroups returns a list of DBSecurityGroup descriptions.
// If a DBSecurityGroupName is specified, the list will contain only the
// descriptions of the specified DB security group.
func (c *RDS) DescribeDBSecurityGroups(req *DescribeDBSecurityGroupsMessage) (resp *DescribeDBSecurityGroupsResult, err error) {
resp = &DescribeDBSecurityGroupsResult{}
err = c.client.Do("DescribeDBSecurityGroups", "POST", "/", req, resp)
return
}
// DescribeDBSnapshots returns information about DB snapshots. This API
// supports pagination.
func (c *RDS) DescribeDBSnapshots(req *DescribeDBSnapshotsMessage) (resp *DescribeDBSnapshotsResult, err error) {
resp = &DescribeDBSnapshotsResult{}
err = c.client.Do("DescribeDBSnapshots", "POST", "/", req, resp)
return
}
// DescribeDBSubnetGroups returns a list of DBSubnetGroup descriptions. If
// a DBSubnetGroupName is specified, the list will contain only the
// descriptions of the specified DBSubnetGroup. For an overview of ranges,
// go to the Wikipedia Tutorial .
func (c *RDS) DescribeDBSubnetGroups(req *DescribeDBSubnetGroupsMessage) (resp *DescribeDBSubnetGroupsResult, err error) {
resp = &DescribeDBSubnetGroupsResult{}
err = c.client.Do("DescribeDBSubnetGroups", "POST", "/", req, resp)
return
}
// DescribeEngineDefaultParameters returns the default engine and system
// parameter information for the specified database engine.
func (c *RDS) DescribeEngineDefaultParameters(req *DescribeEngineDefaultParametersMessage) (resp *DescribeEngineDefaultParametersResult, err error) {
resp = &DescribeEngineDefaultParametersResult{}
err = c.client.Do("DescribeEngineDefaultParameters", "POST", "/", req, resp)
return
}
// DescribeEventCategories displays a list of categories for all event
// source types, or, if specified, for a specified source type. You can see
// a list of the event categories and source types in the Events topic in
// the Amazon RDS User Guide.
func (c *RDS) DescribeEventCategories(req *DescribeEventCategoriesMessage) (resp *DescribeEventCategoriesResult, err error) {
resp = &DescribeEventCategoriesResult{}
err = c.client.Do("DescribeEventCategories", "POST", "/", req, resp)
return
}
// DescribeEventSubscriptions lists all the subscription descriptions for a
// customer account. The description for a subscription includes
// SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID,
// CreationTime, and Status. If you specify a SubscriptionName, lists the
// description for that subscription.
func (c *RDS) DescribeEventSubscriptions(req *DescribeEventSubscriptionsMessage) (resp *DescribeEventSubscriptionsResult, err error) {
resp = &DescribeEventSubscriptionsResult{}
err = c.client.Do("DescribeEventSubscriptions", "POST", "/", req, resp)
return
}
// DescribeEvents returns events related to DB instances, DB security
// groups, DB snapshots, and DB parameter groups for the past 14 days.
// Events specific to a particular DB instance, DB security group, database
// snapshot, or DB parameter group can be obtained by providing the name as
// a parameter. By default, the past hour of events are returned.
func (c *RDS) DescribeEvents(req *DescribeEventsMessage) (resp *DescribeEventsResult, err error) {
resp = &DescribeEventsResult{}
err = c.client.Do("DescribeEvents", "POST", "/", req, resp)
return
}
// DescribeOptionGroupOptions is undocumented.
func (c *RDS) DescribeOptionGroupOptions(req *DescribeOptionGroupOptionsMessage) (resp *DescribeOptionGroupOptionsResult, err error) {
resp = &DescribeOptionGroupOptionsResult{}
err = c.client.Do("DescribeOptionGroupOptions", "POST", "/", req, resp)
return
}
// DescribeOptionGroups is undocumented.
func (c *RDS) DescribeOptionGroups(req *DescribeOptionGroupsMessage) (resp *DescribeOptionGroupsResult, err error) {
resp = &DescribeOptionGroupsResult{}
err = c.client.Do("DescribeOptionGroups", "POST", "/", req, resp)
return
}
// DescribeOrderableDBInstanceOptions returns a list of orderable DB
// instance options for the specified engine.
func (c *RDS) DescribeOrderableDBInstanceOptions(req *DescribeOrderableDBInstanceOptionsMessage) (resp *DescribeOrderableDBInstanceOptionsResult, err error) {
resp = &DescribeOrderableDBInstanceOptionsResult{}
err = c.client.Do("DescribeOrderableDBInstanceOptions", "POST", "/", req, resp)
return
}
// DescribePendingMaintenanceActions returns a list of resources (for
// example, DB Instances) that have at least one pending maintenance
// action.
func (c *RDS) DescribePendingMaintenanceActions(req *DescribePendingMaintenanceActionsMessage) (resp *DescribePendingMaintenanceActionsResult, err error) {
resp = &DescribePendingMaintenanceActionsResult{}
err = c.client.Do("DescribePendingMaintenanceActions", "POST", "/", req, resp)
return
}
// DescribeReservedDBInstances returns information about reserved DB
// instances for this account, or about a specified reserved DB instance.
func (c *RDS) DescribeReservedDBInstances(req *DescribeReservedDBInstancesMessage) (resp *DescribeReservedDBInstancesResult, err error) {
resp = &DescribeReservedDBInstancesResult{}
err = c.client.Do("DescribeReservedDBInstances", "POST", "/", req, resp)
return
}
// DescribeReservedDBInstancesOfferings is undocumented.
func (c *RDS) DescribeReservedDBInstancesOfferings(req *DescribeReservedDBInstancesOfferingsMessage) (resp *DescribeReservedDBInstancesOfferingsResult, err error) {
resp = &DescribeReservedDBInstancesOfferingsResult{}
err = c.client.Do("DescribeReservedDBInstancesOfferings", "POST", "/", req, resp)
return
}
// DownloadDBLogFilePortion downloads all or a portion of the specified log
// file.
func (c *RDS) DownloadDBLogFilePortion(req *DownloadDBLogFilePortionMessage) (resp *DownloadDBLogFilePortionResult, err error) {
resp = &DownloadDBLogFilePortionResult{}
err = c.client.Do("DownloadDBLogFilePortion", "POST", "/", req, resp)
return
}
// ListTagsForResource lists all tags on an Amazon RDS resource. For an
// overview on tagging an Amazon RDS resource, see Tagging Amazon RDS
// Resources
func (c *RDS) ListTagsForResource(req *ListTagsForResourceMessage) (resp *ListTagsForResourceResult, err error) {
resp = &ListTagsForResourceResult{}
err = c.client.Do("ListTagsForResource", "POST", "/", req, resp)
return
}
// ModifyDBInstance modify settings for a DB instance. You can change one
// or more database configuration parameters by specifying these parameters
// and the new values in the request.
func (c *RDS) ModifyDBInstance(req *ModifyDBInstanceMessage) (resp *ModifyDBInstanceResult, err error) {
resp = &ModifyDBInstanceResult{}
err = c.client.Do("ModifyDBInstance", "POST", "/", req, resp)
return
}
// ModifyDBParameterGroup modifies the parameters of a DB parameter group.
// To modify more than one parameter, submit a list of the following:
// ParameterName , ParameterValue , and ApplyMethod . A maximum of 20
// parameters can be modified in a single request. Changes to dynamic
// parameters are applied immediately. Changes to static parameters require
// a reboot without failover to the DB instance associated with the
// parameter group before the change can take effect. After you modify a DB
// parameter group, you should wait at least 5 minutes before creating your
// first DB instance that uses that DB parameter group as the default
// parameter group. This allows Amazon RDS to fully complete the modify
// action before the parameter group is used as the default for a new DB
// instance. This is especially important for parameters that are critical
// when creating the default database for a DB instance, such as the
// character set for the default database defined by the
// character_set_database parameter. You can use the Parameter Groups
// option of the Amazon RDS console or the DescribeDBParameters command to
// verify that your DB parameter group has been created or modified.
func (c *RDS) ModifyDBParameterGroup(req *ModifyDBParameterGroupMessage) (resp *ModifyDBParameterGroupResult, err error) {
resp = &ModifyDBParameterGroupResult{}
err = c.client.Do("ModifyDBParameterGroup", "POST", "/", req, resp)
return
}
// ModifyDBSubnetGroup modifies an existing DB subnet group. DB subnet
// groups must contain at least one subnet in at least two AZs in the
// region.
func (c *RDS) ModifyDBSubnetGroup(req *ModifyDBSubnetGroupMessage) (resp *ModifyDBSubnetGroupResult, err error) {
resp = &ModifyDBSubnetGroupResult{}
err = c.client.Do("ModifyDBSubnetGroup", "POST", "/", req, resp)
return
}
// ModifyEventSubscription modifies an existing RDS event notification
// subscription. Note that you cannot modify the source identifiers using
// this call; to change source identifiers for a subscription, use the
// AddSourceIdentifierToSubscription and
// RemoveSourceIdentifierFromSubscription calls. You can see a list of the
// event categories for a given SourceType in the Events topic in the
// Amazon RDS User Guide or by using the DescribeEventCategories action.
func (c *RDS) ModifyEventSubscription(req *ModifyEventSubscriptionMessage) (resp *ModifyEventSubscriptionResult, err error) {
resp = &ModifyEventSubscriptionResult{}
err = c.client.Do("ModifyEventSubscription", "POST", "/", req, resp)
return
}
// ModifyOptionGroup is undocumented.
func (c *RDS) ModifyOptionGroup(req *ModifyOptionGroupMessage) (resp *ModifyOptionGroupResult, err error) {
resp = &ModifyOptionGroupResult{}
err = c.client.Do("ModifyOptionGroup", "POST", "/", req, resp)
return
}
// PromoteReadReplica promotes a Read Replica DB instance to a standalone
// DB instance. We recommend that you enable automated backups on your Read
// Replica before promoting the Read Replica. This ensures that no backup
// is taken during the promotion process. Once the instance is promoted to
// a primary instance, backups are taken based on your backup settings.
func (c *RDS) PromoteReadReplica(req *PromoteReadReplicaMessage) (resp *PromoteReadReplicaResult, err error) {
resp = &PromoteReadReplicaResult{}
err = c.client.Do("PromoteReadReplica", "POST", "/", req, resp)
return
}
// PurchaseReservedDBInstancesOffering is undocumented.
func (c *RDS) PurchaseReservedDBInstancesOffering(req *PurchaseReservedDBInstancesOfferingMessage) (resp *PurchaseReservedDBInstancesOfferingResult, err error) {
resp = &PurchaseReservedDBInstancesOfferingResult{}
err = c.client.Do("PurchaseReservedDBInstancesOffering", "POST", "/", req, resp)
return
}
// RebootDBInstance rebooting a DB instance restarts the database engine
// service. A reboot also applies to the DB instance any modifications to
// the associated DB parameter group that were pending. Rebooting a DB
// instance results in a momentary outage of the instance, during which the
// DB instance status is set to rebooting. If the RDS instance is
// configured for MultiAZ, it is possible that the reboot will be conducted
// through a failover. An Amazon RDS event is created when the reboot is
// completed. If your DB instance is deployed in multiple Availability
// Zones, you can force a failover from one AZ to the other during the
// reboot. You might force a failover to test the availability of your DB
// instance deployment or to restore operations to the original AZ after a
// failover occurs. The time required to reboot is a function of the
// specific database engine's crash recovery process. To improve the reboot
// time, we recommend that you reduce database activities as much as
// possible during the reboot process to reduce rollback activity for
// in-transit transactions.
func (c *RDS) RebootDBInstance(req *RebootDBInstanceMessage) (resp *RebootDBInstanceResult, err error) {
resp = &RebootDBInstanceResult{}
err = c.client.Do("RebootDBInstance", "POST", "/", req, resp)
return
}
// RemoveSourceIdentifierFromSubscription removes a source identifier from
// an existing RDS event notification subscription.
func (c *RDS) RemoveSourceIdentifierFromSubscription(req *RemoveSourceIdentifierFromSubscriptionMessage) (resp *RemoveSourceIdentifierFromSubscriptionResult, err error) {
resp = &RemoveSourceIdentifierFromSubscriptionResult{}
err = c.client.Do("RemoveSourceIdentifierFromSubscription", "POST", "/", req, resp)
return
}
// RemoveTagsFromResource removes metadata tags from an Amazon RDS
// resource. For an overview on tagging an Amazon RDS resource, see Tagging
// Amazon RDS Resources
func (c *RDS) RemoveTagsFromResource(req *RemoveTagsFromResourceMessage) (err error) {
// NRE
err = c.client.Do("RemoveTagsFromResource", "POST", "/", req, nil)
return
}
// ResetDBParameterGroup modifies the parameters of a DB parameter group to
// the engine/system default value. To reset specific parameters submit a
// list of the following: ParameterName and ApplyMethod . To reset the
// entire DB parameter group, specify the DBParameterGroup name and
// ResetAllParameters parameters. When resetting the entire group, dynamic
// parameters are updated immediately and static parameters are set to
// pending-reboot to take effect on the next DB instance restart or
// RebootDBInstance request.
func (c *RDS) ResetDBParameterGroup(req *ResetDBParameterGroupMessage) (resp *ResetDBParameterGroupResult, err error) {
resp = &ResetDBParameterGroupResult{}
err = c.client.Do("ResetDBParameterGroup", "POST", "/", req, resp)
return
}
// RestoreDBInstanceFromDBSnapshot creates a new DB instance from a DB
// snapshot. The target database is created from the source database
// restore point with the same configuration as the original source
// database, except that the new RDS instance is created with the default
// security group. If your intent is to replace your original DB instance
// with the new, restored DB instance, then rename your original DB
// instance before you call the RestoreDBInstanceFromDBSnapshot action. RDS
// does not allow two DB instances with the same name. Once you have
// renamed your original DB instance with a different identifier, then you
// can pass the original name of the DB instance as the
// DBInstanceIdentifier in the call to the RestoreDBInstanceFromDBSnapshot
// action. The result is that you will replace the original DB instance
// with the DB instance created from the snapshot.
func (c *RDS) RestoreDBInstanceFromDBSnapshot(req *RestoreDBInstanceFromDBSnapshotMessage) (resp *RestoreDBInstanceFromDBSnapshotResult, err error) {
resp = &RestoreDBInstanceFromDBSnapshotResult{}
err = c.client.Do("RestoreDBInstanceFromDBSnapshot", "POST", "/", req, resp)
return
}
// RestoreDBInstanceToPointInTime restores a DB instance to an arbitrary
// point-in-time. Users can restore to any point in time before the
// LatestRestorableTime for up to BackupRetentionPeriod days. The target
// database is created from the source database with the same configuration
// as the original database except that the DB instance is created with the
// default DB security group.
func (c *RDS) RestoreDBInstanceToPointInTime(req *RestoreDBInstanceToPointInTimeMessage) (resp *RestoreDBInstanceToPointInTimeResult, err error) {
resp = &RestoreDBInstanceToPointInTimeResult{}
err = c.client.Do("RestoreDBInstanceToPointInTime", "POST", "/", req, resp)
return
}
// RevokeDBSecurityGroupIngress revokes ingress from a DBSecurityGroup for
// previously authorized IP ranges or EC2 or VPC Security Groups. Required
// parameters for this API are one of EC2SecurityGroupId for or
// (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or
// EC2SecurityGroupId).
func (c *RDS) RevokeDBSecurityGroupIngress(req *RevokeDBSecurityGroupIngressMessage) (resp *RevokeDBSecurityGroupIngressResult, err error) {
resp = &RevokeDBSecurityGroupIngressResult{}
err = c.client.Do("RevokeDBSecurityGroupIngress", "POST", "/", req, resp)
return
}
// AddSourceIdentifierToSubscriptionMessage is undocumented.
type AddSourceIdentifierToSubscriptionMessage struct {
SourceIdentifier aws.StringValue `query:"SourceIdentifier" xml:"SourceIdentifier"`
SubscriptionName aws.StringValue `query:"SubscriptionName" xml:"SubscriptionName"`
}
// AddSourceIdentifierToSubscriptionResult is undocumented.
type AddSourceIdentifierToSubscriptionResult struct {
EventSubscription *EventSubscription `query:"EventSubscription" xml:"AddSourceIdentifierToSubscriptionResult>EventSubscription"`
}
// AddTagsToResourceMessage is undocumented.
type AddTagsToResourceMessage struct {
ResourceName aws.StringValue `query:"ResourceName" xml:"ResourceName"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
}
// Possible values for RDS.
const (
ApplyMethodImmediate = "immediate"
ApplyMethodPendingReboot = "pending-reboot"
)
// ApplyPendingMaintenanceActionMessage is undocumented.
type ApplyPendingMaintenanceActionMessage struct {
ApplyAction aws.StringValue `query:"ApplyAction" xml:"ApplyAction"`
OptInType aws.StringValue `query:"OptInType" xml:"OptInType"`
ResourceIdentifier aws.StringValue `query:"ResourceIdentifier" xml:"ResourceIdentifier"`
}
// ApplyPendingMaintenanceActionResult is undocumented.
type ApplyPendingMaintenanceActionResult struct {
ResourcePendingMaintenanceActions *ResourcePendingMaintenanceActions `query:"ResourcePendingMaintenanceActions" xml:"ApplyPendingMaintenanceActionResult>ResourcePendingMaintenanceActions"`
}
// AuthorizeDBSecurityGroupIngressMessage is undocumented.
type AuthorizeDBSecurityGroupIngressMessage struct {
CIDRIP aws.StringValue `query:"CIDRIP" xml:"CIDRIP"`
DBSecurityGroupName aws.StringValue `query:"DBSecurityGroupName" xml:"DBSecurityGroupName"`
EC2SecurityGroupID aws.StringValue `query:"EC2SecurityGroupId" xml:"EC2SecurityGroupId"`
EC2SecurityGroupName aws.StringValue `query:"EC2SecurityGroupName" xml:"EC2SecurityGroupName"`
EC2SecurityGroupOwnerID aws.StringValue `query:"EC2SecurityGroupOwnerId" xml:"EC2SecurityGroupOwnerId"`
}
// AuthorizeDBSecurityGroupIngressResult is undocumented.
type AuthorizeDBSecurityGroupIngressResult struct {
DBSecurityGroup *DBSecurityGroup `query:"DBSecurityGroup" xml:"AuthorizeDBSecurityGroupIngressResult>DBSecurityGroup"`
}
// AvailabilityZone is undocumented.
type AvailabilityZone struct {
Name aws.StringValue `query:"Name" xml:"Name"`
}
// CharacterSet is undocumented.
type CharacterSet struct {
CharacterSetDescription aws.StringValue `query:"CharacterSetDescription" xml:"CharacterSetDescription"`
CharacterSetName aws.StringValue `query:"CharacterSetName" xml:"CharacterSetName"`
}
// CopyDBParameterGroupMessage is undocumented.
type CopyDBParameterGroupMessage struct {
SourceDBParameterGroupIdentifier aws.StringValue `query:"SourceDBParameterGroupIdentifier" xml:"SourceDBParameterGroupIdentifier"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
TargetDBParameterGroupDescription aws.StringValue `query:"TargetDBParameterGroupDescription" xml:"TargetDBParameterGroupDescription"`
TargetDBParameterGroupIdentifier aws.StringValue `query:"TargetDBParameterGroupIdentifier" xml:"TargetDBParameterGroupIdentifier"`
}
// CopyDBParameterGroupResult is undocumented.
type CopyDBParameterGroupResult struct {
DBParameterGroup *DBParameterGroup `query:"DBParameterGroup" xml:"CopyDBParameterGroupResult>DBParameterGroup"`
}
// CopyDBSnapshotMessage is undocumented.
type CopyDBSnapshotMessage struct {
SourceDBSnapshotIdentifier aws.StringValue `query:"SourceDBSnapshotIdentifier" xml:"SourceDBSnapshotIdentifier"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
TargetDBSnapshotIdentifier aws.StringValue `query:"TargetDBSnapshotIdentifier" xml:"TargetDBSnapshotIdentifier"`
}
// CopyDBSnapshotResult is undocumented.
type CopyDBSnapshotResult struct {
DBSnapshot *DBSnapshot `query:"DBSnapshot" xml:"CopyDBSnapshotResult>DBSnapshot"`
}
// CopyOptionGroupMessage is undocumented.
type CopyOptionGroupMessage struct {
SourceOptionGroupIdentifier aws.StringValue `query:"SourceOptionGroupIdentifier" xml:"SourceOptionGroupIdentifier"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
TargetOptionGroupDescription aws.StringValue `query:"TargetOptionGroupDescription" xml:"TargetOptionGroupDescription"`
TargetOptionGroupIdentifier aws.StringValue `query:"TargetOptionGroupIdentifier" xml:"TargetOptionGroupIdentifier"`
}
// CopyOptionGroupResult is undocumented.
type CopyOptionGroupResult struct {
OptionGroup *OptionGroup `query:"OptionGroup" xml:"CopyOptionGroupResult>OptionGroup"`
}
// CreateDBInstanceMessage is undocumented.
type CreateDBInstanceMessage struct {
AllocatedStorage aws.IntegerValue `query:"AllocatedStorage" xml:"AllocatedStorage"`
AutoMinorVersionUpgrade aws.BooleanValue `query:"AutoMinorVersionUpgrade" xml:"AutoMinorVersionUpgrade"`
AvailabilityZone aws.StringValue `query:"AvailabilityZone" xml:"AvailabilityZone"`
BackupRetentionPeriod aws.IntegerValue `query:"BackupRetentionPeriod" xml:"BackupRetentionPeriod"`
CharacterSetName aws.StringValue `query:"CharacterSetName" xml:"CharacterSetName"`
DBInstanceClass aws.StringValue `query:"DBInstanceClass" xml:"DBInstanceClass"`
DBInstanceIdentifier aws.StringValue `query:"DBInstanceIdentifier" xml:"DBInstanceIdentifier"`
DBName aws.StringValue `query:"DBName" xml:"DBName"`
DBParameterGroupName aws.StringValue `query:"DBParameterGroupName" xml:"DBParameterGroupName"`
DBSecurityGroups []string `query:"DBSecurityGroups.member" xml:"DBSecurityGroups>DBSecurityGroupName"`
DBSubnetGroupName aws.StringValue `query:"DBSubnetGroupName" xml:"DBSubnetGroupName"`
Engine aws.StringValue `query:"Engine" xml:"Engine"`
EngineVersion aws.StringValue `query:"EngineVersion" xml:"EngineVersion"`
IOPS aws.IntegerValue `query:"Iops" xml:"Iops"`
KMSKeyID aws.StringValue `query:"KmsKeyId" xml:"KmsKeyId"`
LicenseModel aws.StringValue `query:"LicenseModel" xml:"LicenseModel"`
MasterUserPassword aws.StringValue `query:"MasterUserPassword" xml:"MasterUserPassword"`
MasterUsername aws.StringValue `query:"MasterUsername" xml:"MasterUsername"`
MultiAZ aws.BooleanValue `query:"MultiAZ" xml:"MultiAZ"`
OptionGroupName aws.StringValue `query:"OptionGroupName" xml:"OptionGroupName"`
Port aws.IntegerValue `query:"Port" xml:"Port"`
PreferredBackupWindow aws.StringValue `query:"PreferredBackupWindow" xml:"PreferredBackupWindow"`
PreferredMaintenanceWindow aws.StringValue `query:"PreferredMaintenanceWindow" xml:"PreferredMaintenanceWindow"`
PubliclyAccessible aws.BooleanValue `query:"PubliclyAccessible" xml:"PubliclyAccessible"`
StorageEncrypted aws.BooleanValue `query:"StorageEncrypted" xml:"StorageEncrypted"`
StorageType aws.StringValue `query:"StorageType" xml:"StorageType"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
TDECredentialARN aws.StringValue `query:"TdeCredentialArn" xml:"TdeCredentialArn"`
TDECredentialPassword aws.StringValue `query:"TdeCredentialPassword" xml:"TdeCredentialPassword"`
VPCSecurityGroupIDs []string `query:"VpcSecurityGroupIds.member" xml:"VpcSecurityGroupIds>VpcSecurityGroupId"`
}
// CreateDBInstanceReadReplicaMessage is undocumented.
type CreateDBInstanceReadReplicaMessage struct {
AutoMinorVersionUpgrade aws.BooleanValue `query:"AutoMinorVersionUpgrade" xml:"AutoMinorVersionUpgrade"`
AvailabilityZone aws.StringValue `query:"AvailabilityZone" xml:"AvailabilityZone"`
DBInstanceClass aws.StringValue `query:"DBInstanceClass" xml:"DBInstanceClass"`
DBInstanceIdentifier aws.StringValue `query:"DBInstanceIdentifier" xml:"DBInstanceIdentifier"`
DBSubnetGroupName aws.StringValue `query:"DBSubnetGroupName" xml:"DBSubnetGroupName"`
IOPS aws.IntegerValue `query:"Iops" xml:"Iops"`
OptionGroupName aws.StringValue `query:"OptionGroupName" xml:"OptionGroupName"`
Port aws.IntegerValue `query:"Port" xml:"Port"`
PubliclyAccessible aws.BooleanValue `query:"PubliclyAccessible" xml:"PubliclyAccessible"`
SourceDBInstanceIdentifier aws.StringValue `query:"SourceDBInstanceIdentifier" xml:"SourceDBInstanceIdentifier"`
StorageType aws.StringValue `query:"StorageType" xml:"StorageType"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
}
// CreateDBInstanceReadReplicaResult is undocumented.
type CreateDBInstanceReadReplicaResult struct {
DBInstance *DBInstance `query:"DBInstance" xml:"CreateDBInstanceReadReplicaResult>DBInstance"`
}
// CreateDBInstanceResult is undocumented.
type CreateDBInstanceResult struct {
DBInstance *DBInstance `query:"DBInstance" xml:"CreateDBInstanceResult>DBInstance"`
}
// CreateDBParameterGroupMessage is undocumented.
type CreateDBParameterGroupMessage struct {
DBParameterGroupFamily aws.StringValue `query:"DBParameterGroupFamily" xml:"DBParameterGroupFamily"`
DBParameterGroupName aws.StringValue `query:"DBParameterGroupName" xml:"DBParameterGroupName"`
Description aws.StringValue `query:"Description" xml:"Description"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
}
// CreateDBParameterGroupResult is undocumented.
type CreateDBParameterGroupResult struct {
DBParameterGroup *DBParameterGroup `query:"DBParameterGroup" xml:"CreateDBParameterGroupResult>DBParameterGroup"`
}
// CreateDBSecurityGroupMessage is undocumented.
type CreateDBSecurityGroupMessage struct {
DBSecurityGroupDescription aws.StringValue `query:"DBSecurityGroupDescription" xml:"DBSecurityGroupDescription"`
DBSecurityGroupName aws.StringValue `query:"DBSecurityGroupName" xml:"DBSecurityGroupName"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
}
// CreateDBSecurityGroupResult is undocumented.
type CreateDBSecurityGroupResult struct {
DBSecurityGroup *DBSecurityGroup `query:"DBSecurityGroup" xml:"CreateDBSecurityGroupResult>DBSecurityGroup"`
}
// CreateDBSnapshotMessage is undocumented.
type CreateDBSnapshotMessage struct {
DBInstanceIdentifier aws.StringValue `query:"DBInstanceIdentifier" xml:"DBInstanceIdentifier"`
DBSnapshotIdentifier aws.StringValue `query:"DBSnapshotIdentifier" xml:"DBSnapshotIdentifier"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
}
// CreateDBSnapshotResult is undocumented.
type CreateDBSnapshotResult struct {
DBSnapshot *DBSnapshot `query:"DBSnapshot" xml:"CreateDBSnapshotResult>DBSnapshot"`
}
// CreateDBSubnetGroupMessage is undocumented.
type CreateDBSubnetGroupMessage struct {
DBSubnetGroupDescription aws.StringValue `query:"DBSubnetGroupDescription" xml:"DBSubnetGroupDescription"`
DBSubnetGroupName aws.StringValue `query:"DBSubnetGroupName" xml:"DBSubnetGroupName"`
SubnetIDs []string `query:"SubnetIds.member" xml:"SubnetIds>SubnetIdentifier"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
}
// CreateDBSubnetGroupResult is undocumented.
type CreateDBSubnetGroupResult struct {
DBSubnetGroup *DBSubnetGroup `query:"DBSubnetGroup" xml:"CreateDBSubnetGroupResult>DBSubnetGroup"`
}
// CreateEventSubscriptionMessage is undocumented.
type CreateEventSubscriptionMessage struct {
Enabled aws.BooleanValue `query:"Enabled" xml:"Enabled"`
EventCategories []string `query:"EventCategories.member" xml:"EventCategories>EventCategory"`
SNSTopicARN aws.StringValue `query:"SnsTopicArn" xml:"SnsTopicArn"`
SourceIDs []string `query:"SourceIds.member" xml:"SourceIds>SourceId"`
SourceType aws.StringValue `query:"SourceType" xml:"SourceType"`
SubscriptionName aws.StringValue `query:"SubscriptionName" xml:"SubscriptionName"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
}
// CreateEventSubscriptionResult is undocumented.
type CreateEventSubscriptionResult struct {
EventSubscription *EventSubscription `query:"EventSubscription" xml:"CreateEventSubscriptionResult>EventSubscription"`
}
// CreateOptionGroupMessage is undocumented.
type CreateOptionGroupMessage struct {
EngineName aws.StringValue `query:"EngineName" xml:"EngineName"`
MajorEngineVersion aws.StringValue `query:"MajorEngineVersion" xml:"MajorEngineVersion"`
OptionGroupDescription aws.StringValue `query:"OptionGroupDescription" xml:"OptionGroupDescription"`
OptionGroupName aws.StringValue `query:"OptionGroupName" xml:"OptionGroupName"`
Tags []Tag `query:"Tags.member" xml:"Tags>Tag"`
}
// CreateOptionGroupResult is undocumented.
type CreateOptionGroupResult struct {
OptionGroup *OptionGroup `query:"OptionGroup" xml:"CreateOptionGroupResult>OptionGroup"`
}
// DBEngineVersion is undocumented.
type DBEngineVersion struct {
DBEngineDescription aws.StringValue `query:"DBEngineDescription" xml:"DBEngineDescription"`
DBEngineVersionDescription aws.StringValue `query:"DBEngineVersionDescription" xml:"DBEngineVersionDescription"`
DBParameterGroupFamily aws.StringValue `query:"DBParameterGroupFamily" xml:"DBParameterGroupFamily"`
DefaultCharacterSet *CharacterSet `query:"DefaultCharacterSet" xml:"DefaultCharacterSet"`
Engine aws.StringValue `query:"Engine" xml:"Engine"`
EngineVersion aws.StringValue `query:"EngineVersion" xml:"EngineVersion"`
SupportedCharacterSets []CharacterSet `query:"SupportedCharacterSets.member" xml:"SupportedCharacterSets>CharacterSet"`
}
// DBEngineVersionMessage is undocumented.
type DBEngineVersionMessage struct {
DBEngineVersions []DBEngineVersion `query:"DBEngineVersions.member" xml:"DescribeDBEngineVersionsResult>DBEngineVersions>DBEngineVersion"`
Marker aws.StringValue `query:"Marker" xml:"DescribeDBEngineVersionsResult>Marker"`
}
// DBInstance is undocumented.
type DBInstance struct {
AllocatedStorage aws.IntegerValue `query:"AllocatedStorage" xml:"AllocatedStorage"`
AutoMinorVersionUpgrade aws.BooleanValue `query:"AutoMinorVersionUpgrade" xml:"AutoMinorVersionUpgrade"`
AvailabilityZone aws.StringValue `query:"AvailabilityZone" xml:"AvailabilityZone"`
BackupRetentionPeriod aws.IntegerValue `query:"BackupRetentionPeriod" xml:"BackupRetentionPeriod"`
CharacterSetName aws.StringValue `query:"CharacterSetName" xml:"CharacterSetName"`
DBInstanceClass aws.StringValue `query:"DBInstanceClass" xml:"DBInstanceClass"`
DBInstanceIdentifier aws.StringValue `query:"DBInstanceIdentifier" xml:"DBInstanceIdentifier"`
DBInstanceStatus aws.StringValue `query:"DBInstanceStatus" xml:"DBInstanceStatus"`
DBName aws.StringValue `query:"DBName" xml:"DBName"`
DBParameterGroups []DBParameterGroupStatus `query:"DBParameterGroups.member" xml:"DBParameterGroups>DBParameterGroup"`
DBSecurityGroups []DBSecurityGroupMembership `query:"DBSecurityGroups.member" xml:"DBSecurityGroups>DBSecurityGroup"`
DBSubnetGroup *DBSubnetGroup `query:"DBSubnetGroup" xml:"DBSubnetGroup"`
DBiResourceID aws.StringValue `query:"DbiResourceId" xml:"DbiResourceId"`
Endpoint *Endpoint `query:"Endpoint" xml:"Endpoint"`
Engine aws.StringValue `query:"Engine" xml:"Engine"`
EngineVersion aws.StringValue `query:"EngineVersion" xml:"EngineVersion"`
InstanceCreateTime time.Time `query:"InstanceCreateTime" xml:"InstanceCreateTime"`
IOPS aws.IntegerValue `query:"Iops" xml:"Iops"`
KMSKeyID aws.StringValue `query:"KmsKeyId" xml:"KmsKeyId"`
LatestRestorableTime time.Time `query:"LatestRestorableTime" xml:"LatestRestorableTime"`
LicenseModel aws.StringValue `query:"LicenseModel" xml:"LicenseModel"`
MasterUsername aws.StringValue `query:"MasterUsername" xml:"MasterUsername"`
MultiAZ aws.BooleanValue `query:"MultiAZ" xml:"MultiAZ"`
OptionGroupMemberships []OptionGroupMembership `query:"OptionGroupMemberships.member" xml:"OptionGroupMemberships>OptionGroupMembership"`
PendingModifiedValues *PendingModifiedValues `query:"PendingModifiedValues" xml:"PendingModifiedValues"`
PreferredBackupWindow aws.StringValue `query:"PreferredBackupWindow" xml:"PreferredBackupWindow"`
PreferredMaintenanceWindow aws.StringValue `query:"PreferredMaintenanceWindow" xml:"PreferredMaintenanceWindow"`
PubliclyAccessible aws.BooleanValue `query:"PubliclyAccessible" xml:"PubliclyAccessible"`
ReadReplicaDBInstanceIdentifiers []string `query:"ReadReplicaDBInstanceIdentifiers.member" xml:"ReadReplicaDBInstanceIdentifiers>ReadReplicaDBInstanceIdentifier"`
ReadReplicaSourceDBInstanceIdentifier aws.StringValue `query:"ReadReplicaSourceDBInstanceIdentifier" xml:"ReadReplicaSourceDBInstanceIdentifier"`
SecondaryAvailabilityZone aws.StringValue `query:"SecondaryAvailabilityZone" xml:"SecondaryAvailabilityZone"`
StatusInfos []DBInstanceStatusInfo `query:"StatusInfos.member" xml:"StatusInfos>DBInstanceStatusInfo"`
StorageEncrypted aws.BooleanValue `query:"StorageEncrypted" xml:"StorageEncrypted"`
StorageType aws.StringValue `query:"StorageType" xml:"StorageType"`
TDECredentialARN aws.StringValue `query:"TdeCredentialArn" xml:"TdeCredentialArn"`
VPCSecurityGroups []VPCSecurityGroupMembership `query:"VpcSecurityGroups.member" xml:"VpcSecurityGroups>VpcSecurityGroupMembership"`
}
// DBInstanceMessage is undocumented.
type DBInstanceMessage struct {
DBInstances []DBInstance `query:"DBInstances.member" xml:"DescribeDBInstancesResult>DBInstances>DBInstance"`
Marker aws.StringValue `query:"Marker" xml:"DescribeDBInstancesResult>Marker"`
}
// DBInstanceStatusInfo is undocumented.
type DBInstanceStatusInfo struct {
Message aws.StringValue `query:"Message" xml:"Message"`
Normal aws.BooleanValue `query:"Normal" xml:"Normal"`
Status aws.StringValue `query:"Status" xml:"Status"`
StatusType aws.StringValue `query:"StatusType" xml:"StatusType"`
}
// DBParameterGroup is undocumented.
type DBParameterGroup struct {
DBParameterGroupFamily aws.StringValue `query:"DBParameterGroupFamily" xml:"DBParameterGroupFamily"`
DBParameterGroupName aws.StringValue `query:"DBParameterGroupName" xml:"DBParameterGroupName"`
Description aws.StringValue `query:"Description" xml:"Description"`
}
// DBParameterGroupDetails is undocumented.
type DBParameterGroupDetails struct {
Marker aws.StringValue `query:"Marker" xml:"DescribeDBParametersResult>Marker"`
Parameters []Parameter `query:"Parameters.member" xml:"DescribeDBParametersResult>Parameters>Parameter"`
}
// DBParameterGroupNameMessage is undocumented.
type DBParameterGroupNameMessage struct {
DBParameterGroupName aws.StringValue `query:"DBParameterGroupName" xml:"DBParameterGroupName"`
}
// DBParameterGroupStatus is undocumented.
type DBParameterGroupStatus struct {
DBParameterGroupName aws.StringValue `query:"DBParameterGroupName" xml:"DBParameterGroupName"`
ParameterApplyStatus aws.StringValue `query:"ParameterApplyStatus" xml:"ParameterApplyStatus"`
}
// DBParameterGroupsMessage is undocumented.
type DBParameterGroupsMessage struct {
DBParameterGroups []DBParameterGroup `query:"DBParameterGroups.member" xml:"DescribeDBParameterGroupsResult>DBParameterGroups>DBParameterGroup"`
Marker aws.StringValue `query:"Marker" xml:"DescribeDBParameterGroupsResult>Marker"`
}
// DBSecurityGroup is undocumented.
type DBSecurityGroup struct {
DBSecurityGroupDescription aws.StringValue `query:"DBSecurityGroupDescription" xml:"DBSecurityGroupDescription"`
DBSecurityGroupName aws.StringValue `query:"DBSecurityGroupName" xml:"DBSecurityGroupName"`
EC2SecurityGroups []EC2SecurityGroup `query:"EC2SecurityGroups.member" xml:"EC2SecurityGroups>EC2SecurityGroup"`
IPRanges []IPRange `query:"IPRanges.member" xml:"IPRanges>IPRange"`
OwnerID aws.StringValue `query:"OwnerId" xml:"OwnerId"`
VPCID aws.StringValue `query:"VpcId" xml:"VpcId"`
}
// DBSecurityGroupMembership is undocumented.
type DBSecurityGroupMembership struct {
DBSecurityGroupName aws.StringValue `query:"DBSecurityGroupName" xml:"DBSecurityGroupName"`
Status aws.StringValue `query:"Status" xml:"Status"`
}
// DBSecurityGroupMessage is undocumented.
type DBSecurityGroupMessage struct {
DBSecurityGroups []DBSecurityGroup `query:"DBSecurityGroups.member" xml:"DescribeDBSecurityGroupsResult>DBSecurityGroups>DBSecurityGroup"`
Marker aws.StringValue `query:"Marker" xml:"DescribeDBSecurityGroupsResult>Marker"`
}
// DBSnapshot is undocumented.
type DBSnapshot struct {
AllocatedStorage aws.IntegerValue `query:"AllocatedStorage" xml:"AllocatedStorage"`
AvailabilityZone aws.StringValue `query:"AvailabilityZone" xml:"AvailabilityZone"`
DBInstanceIdentifier aws.StringValue `query:"DBInstanceIdentifier" xml:"DBInstanceIdentifier"`
DBSnapshotIdentifier aws.StringValue `query:"DBSnapshotIdentifier" xml:"DBSnapshotIdentifier"`
Encrypted aws.BooleanValue `query:"Encrypted" xml:"Encrypted"`
Engine aws.StringValue `query:"Engine" xml:"Engine"`
EngineVersion aws.StringValue `query:"EngineVersion" xml:"EngineVersion"`
InstanceCreateTime time.Time `query:"InstanceCreateTime" xml:"InstanceCreateTime"`
IOPS aws.IntegerValue `query:"Iops" xml:"Iops"`
KMSKeyID aws.StringValue `query:"KmsKeyId" xml:"KmsKeyId"`
LicenseModel aws.StringValue `query:"LicenseModel" xml:"LicenseModel"`
MasterUsername aws.StringValue `query:"MasterUsername" xml:"MasterUsername"`
OptionGroupName aws.StringValue `query:"OptionGroupName" xml:"OptionGroupName"`
PercentProgress aws.IntegerValue `query:"PercentProgress" xml:"PercentProgress"`
Port aws.IntegerValue `query:"Port" xml:"Port"`
SnapshotCreateTime time.Time `query:"SnapshotCreateTime" xml:"SnapshotCreateTime"`
SnapshotType aws.StringValue `query:"SnapshotType" xml:"SnapshotType"`
SourceRegion aws.StringValue `query:"SourceRegion" xml:"SourceRegion"`