|
3870 | 3870 | {
|
3871 | 3871 | "target": "com.amazonaws.rds#GlobalClusterNotFoundFault"
|
3872 | 3872 | },
|
| 3873 | + { |
| 3874 | + "target": "com.amazonaws.rds#InsufficientDBInstanceCapacityFault" |
| 3875 | + }, |
3873 | 3876 | {
|
3874 | 3877 | "target": "com.amazonaws.rds#InsufficientStorageClusterCapacityFault"
|
3875 | 3878 | },
|
|
3958 | 3961 | "CopyTagsToSnapshot": false
|
3959 | 3962 | }
|
3960 | 3963 | }
|
| 3964 | + }, |
| 3965 | + { |
| 3966 | + "title": "To create a PostgreSQL-compatible DB cluster", |
| 3967 | + "documentation": "The following example creates a PostgreSQL-compatible Aurora DB cluster.", |
| 3968 | + "input": { |
| 3969 | + "DBClusterIdentifier": "sample-pg-cluster", |
| 3970 | + "Engine": "aurora-postgresql", |
| 3971 | + "MasterUsername": "admin", |
| 3972 | + "MasterUserPassword": "mypassword", |
| 3973 | + "VpcSecurityGroupIds": ["sg-0b91305example"], |
| 3974 | + "DBSubnetGroupName": "default" |
| 3975 | + }, |
| 3976 | + "output": { |
| 3977 | + "DBCluster": { |
| 3978 | + "Endpoint": "sample-pg-cluster.cluster-cnpexample.us-east-1.rds.amazonaws.com", |
| 3979 | + "HttpEndpointEnabled": false, |
| 3980 | + "DBClusterMembers": [], |
| 3981 | + "EngineMode": "provisioned", |
| 3982 | + "CopyTagsToSnapshot": false, |
| 3983 | + "HostedZoneId": "Z2R2ITUGPM61AM", |
| 3984 | + "IAMDatabaseAuthenticationEnabled": false, |
| 3985 | + "AllocatedStorage": 1, |
| 3986 | + "VpcSecurityGroups": [ |
| 3987 | + { |
| 3988 | + "VpcSecurityGroupId": "sg-0b91305example", |
| 3989 | + "Status": "active" |
| 3990 | + } |
| 3991 | + ], |
| 3992 | + "DeletionProtection": false, |
| 3993 | + "StorageEncrypted": false, |
| 3994 | + "BackupRetentionPeriod": 1, |
| 3995 | + "PreferredBackupWindow": "09:56-10:26", |
| 3996 | + "ClusterCreateTime": "2019-06-07T23:26:08.371Z", |
| 3997 | + "DBClusterParameterGroup": "default.aurora-postgresql9.6", |
| 3998 | + "EngineVersion": "9.6.9", |
| 3999 | + "Engine": "aurora-postgresql", |
| 4000 | + "Status": "creating", |
| 4001 | + "DBClusterIdentifier": "sample-pg-cluster", |
| 4002 | + "MultiAZ": false, |
| 4003 | + "Port": 5432, |
| 4004 | + "DBClusterArn": "arn:aws:rds:us-east-1:123456789012:cluster:sample-pg-cluster", |
| 4005 | + "AssociatedRoles": [], |
| 4006 | + "DbClusterResourceId": "cluster-ANPAJ4AE5446DAEXAMPLE", |
| 4007 | + "PreferredMaintenanceWindow": "wed:03:33-wed:04:03", |
| 4008 | + "ReaderEndpoint": "sample-pg-cluster.cluster-ro-cnpexample.us-east-1.rds.amazonaws.com", |
| 4009 | + "MasterUsername": "master", |
| 4010 | + "AvailabilityZones": ["us-east-1a", "us-east-1b", "us-east-1c"], |
| 4011 | + "ReadReplicaIdentifiers": [], |
| 4012 | + "DBSubnetGroup": "default" |
| 4013 | + } |
| 4014 | + } |
3961 | 4015 | }
|
3962 | 4016 | ]
|
3963 | 4017 | }
|
|
13167 | 13221 | }
|
13168 | 13222 | ]
|
13169 | 13223 | }
|
| 13224 | + }, |
| 13225 | + { |
| 13226 | + "title": "To describe DB cluster endpoints of a single DB cluster", |
| 13227 | + "documentation": "The following example retrieves details for the DB cluster endpoints of a single specified DB cluster. Aurora Serverless clusters have only a single endpoint with a type of WRITER.", |
| 13228 | + "input": { |
| 13229 | + "DBClusterIdentifier": "serverless-cluster" |
| 13230 | + }, |
| 13231 | + "output": { |
| 13232 | + "DBClusterEndpoints": [ |
| 13233 | + { |
| 13234 | + "Status": "available", |
| 13235 | + "Endpoint": "serverless-cluster.cluster-cnpexample.us-east-1.rds.amazonaws.com", |
| 13236 | + "DBClusterIdentifier": "serverless-cluster", |
| 13237 | + "EndpointType": "WRITER" |
| 13238 | + } |
| 13239 | + ] |
| 13240 | + } |
13170 | 13241 | }
|
13171 | 13242 | ],
|
13172 | 13243 | "smithy.api#paginated": {
|
|
22060 | 22131 | ]
|
22061 | 22132 | }
|
22062 | 22133 | }
|
| 22134 | + }, |
| 22135 | + { |
| 22136 | + "title": "To prevent an AWS account from restoring a DB snapshot", |
| 22137 | + "documentation": "The following example removes permission from the AWS account with the identifier 444455556666 to restore the DB snapshot named mydbsnapshot.", |
| 22138 | + "input": { |
| 22139 | + "DBSnapshotIdentifier": "mydbsnapshot", |
| 22140 | + "AttributeName": "restore", |
| 22141 | + "ValuesToRemove": ["444455556666"] |
| 22142 | + }, |
| 22143 | + "output": { |
| 22144 | + "DBSnapshotAttributesResult": { |
| 22145 | + "DBSnapshotIdentifier": "mydbsnapshot", |
| 22146 | + "DBSnapshotAttributes": [ |
| 22147 | + { |
| 22148 | + "AttributeName": "restore", |
| 22149 | + "AttributeValues": ["111122223333"] |
| 22150 | + } |
| 22151 | + ] |
| 22152 | + } |
| 22153 | + } |
22063 | 22154 | }
|
22064 | 22155 | ]
|
22065 | 22156 | }
|
|
0 commit comments