Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Aug 23, 2022
1 parent 8c4aa79 commit 7d60bca
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 4 deletions.
49 changes: 49 additions & 0 deletions codegen/sdk-codegen/aws-models/rds.json
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,9 @@
},
{
"target": "com.amazonaws.rds#StopDBInstanceAutomatedBackupsReplication"
},
{
"target": "com.amazonaws.rds#SwitchoverReadReplica"
}
]
},
Expand Down Expand Up @@ -7478,6 +7481,12 @@
"smithy.api#documentation": "<p>Specifies the time of the CreateDBSnapshot operation in Coordinated Universal Time (UTC). Doesn't change when the snapshot is copied.</p>"
}
},
"SnapshotDatabaseTime": {
"target": "com.amazonaws.rds#TStamp",
"traits": {
"smithy.api#documentation": "<p>The timestamp of the most recent transaction applied to the database that you're backing up. \n Thus, if you restore a snapshot, SnapshotDatabaseTime is the most recent transaction in the restored DB instance. \n In contrast, originalSnapshotCreateTime specifies the system time that the snapshot completed.</p>\n <p>If you back up a read replica, you can determine the replica lag by comparing SnapshotDatabaseTime \n with originalSnapshotCreateTime. For example, if originalSnapshotCreateTime is two hours later than \n SnapshotDatabaseTime, then the replica lag is two hours. *** REVIEWERS 7/27: Switchover</p>"
}
},
"SnapshotTarget": {
"target": "com.amazonaws.rds#String",
"traits": {
Expand Down Expand Up @@ -20292,6 +20301,46 @@
}
}
},
"com.amazonaws.rds#SwitchoverReadReplica": {
"type": "operation",
"input": {
"target": "com.amazonaws.rds#SwitchoverReadReplicaMessage"
},
"output": {
"target": "com.amazonaws.rds#SwitchoverReadReplicaResult"
},
"errors": [
{
"target": "com.amazonaws.rds#DBInstanceNotFoundFault"
},
{
"target": "com.amazonaws.rds#InvalidDBInstanceStateFault"
}
],
"traits": {
"smithy.api#documentation": "<p>Switches over an Oracle standby database in an Oracle Data Guard environment, making it the new\n primary database. Issue this command in the AWS Region that hosts the current standby database.</p>"
}
},
"com.amazonaws.rds#SwitchoverReadReplicaMessage": {
"type": "structure",
"members": {
"DBInstanceIdentifier": {
"target": "com.amazonaws.rds#String",
"traits": {
"smithy.api#documentation": "<p>The DB instance identifier of the current standby database. This value is stored as a lowercase string.</p>\n <p>Constraints:</p>\n <ul>\n <li>\n <p>Must match the identifier of an existing Oracle read replica DB instance.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.rds#SwitchoverReadReplicaResult": {
"type": "structure",
"members": {
"DBInstance": {
"target": "com.amazonaws.rds#DBInstance"
}
}
},
"com.amazonaws.rds#TStamp": {
"type": "timestamp"
},
Expand Down
8 changes: 4 additions & 4 deletions codegen/sdk-codegen/aws-models/sso-admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Assigns access to a principal for a specified Amazon Web Services account using a specified\n permission set.</p>\n <note>\n <p>The term <i>principal</i> here refers to a user or group that is defined\n in Amazon Web Services SSO.</p>\n </note>\n <note>\n <p>As part of a successful <code>CreateAccountAssignment</code> call, the specified\n permission set will automatically be provisioned to the account in the form of an IAM\n policy. That policy is attached to the IAM role created in Amazon Web Services SSO. If the permission set\n is subsequently updated, the corresponding IAM policies attached to roles in your accounts\n will not be updated automatically. In this case, you must call <code>\n <a>ProvisionPermissionSet</a>\n </code> to make these updates.</p>\n </note>"
"smithy.api#documentation": "<p>Assigns access to a principal for a specified Amazon Web Services account using a specified\n permission set.</p>\n <note>\n <p>The term <i>principal</i> here refers to a user or group that is defined\n in Amazon Web Services SSO.</p>\n </note>\n <note>\n <p>As part of a successful <code>CreateAccountAssignment</code> call, the specified\n permission set will automatically be provisioned to the account in the form of an IAM\n policy. That policy is attached to the IAM role created in Amazon Web Services SSO. If the permission set\n is subsequently updated, the corresponding IAM policies attached to roles in your accounts\n will not be updated automatically. In this case, you must call <code>\n <a>ProvisionPermissionSet</a>\n </code> to make these updates.</p>\n </note>\n <note>\n <p>\n After a successful response, call <code>DescribeAccountAssignmentCreationStatus</code> to describe the status of an assignment creation request.\n </p>\n </note>"
}
},
"com.amazonaws.ssoadmin#CreateAccountAssignmentRequest": {
Expand Down Expand Up @@ -568,7 +568,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Enables the attributes-based access control (ABAC) feature for the specified Amazon Web Services SSO\n instance. You can also specify new attributes to add to your ABAC configuration during the\n enabling process. For more information about ABAC, see <a href=\"/singlesignon/latest/userguide/abac.html\">Attribute-Based Access Control</a> in the <i>Amazon Web Services SSO User Guide</i>.</p>"
"smithy.api#documentation": "<p>Enables the attributes-based access control (ABAC) feature for the specified Amazon Web Services SSO\n instance. You can also specify new attributes to add to your ABAC configuration during the\n enabling process. For more information about ABAC, see <a href=\"/singlesignon/latest/userguide/abac.html\">Attribute-Based Access Control</a> in the <i>Amazon Web Services SSO User Guide</i>.</p>\n <note>\n <p>After a successful response, call <code>DescribeInstanceAccessControlAttributeConfiguration</code> to validate that\n <code>InstanceAccessControlAttributeConfiguration</code> was created.</p>\n </note>"
}
},
"com.amazonaws.ssoadmin#CreateInstanceAccessControlAttributeConfigurationRequest": {
Expand Down Expand Up @@ -742,7 +742,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a principal's access from a specified Amazon Web Services account using a specified permission\n set.</p>"
"smithy.api#documentation": "<p>Deletes a principal's access from a specified Amazon Web Services account using a specified permission\n set.</p>\n <note>\n <p>After a successful response, call <code>DescribeAccountAssignmentCreationStatus</code> to describe the status of an assignment deletion request.</p>\n </note>"
}
},
"com.amazonaws.ssoadmin#DeleteAccountAssignmentRequest": {
Expand Down Expand Up @@ -3114,7 +3114,7 @@
"name": "sso"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<p></p>",
"smithy.api#documentation": "<p>Amazon Web Services Single Sign On helps you securely create, or connect, your workforce identities and manage their\n access centrally across Amazon Web Services accounts and applications. Amazon Web Services SSO is the recommended\n approach for workforce authentication and authorization in Amazon Web Services, for organizations of any size\n and type.</p>\n <note>\n <p>Although Amazon Web Services Single Sign-On was renamed, the <code>sso</code> and\n <code>identitystore</code> API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed\">Amazon Web Services SSO rename</a>.</p>\n </note>\n <p>This reference guide provides information on single sign-on operations which could be used for\n access management of Amazon Web Services accounts. For information about Amazon Web Services SSO features, see the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html\">Amazon Web Services SSO User\n Guide</a>.</p>\n <p>Many operations in the Amazon Web Services SSO APIs rely on identifiers for users and groups, known as\n principals. For more information about how to work with principals and principal IDs in Amazon Web Services SSO,\n see the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/welcome.html\">Identity Store API\n Reference</a>.</p>\n <note>\n <p>Amazon Web Services provides SDKs that consist of libraries and sample code for various programming\n languages and platforms (Java, Ruby, .Net, iOS, Android, and more). The SDKs provide a\n convenient way to create programmatic access to Amazon Web Services SSO and other Amazon Web Services services. For more\n information about the Amazon Web Services SDKs, including how to download and install them, see <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>.</p>\n </note>",
"smithy.api#title": "AWS Single Sign-On Admin"
},
"version": "2020-07-20",
Expand Down

0 comments on commit 7d60bca

Please sign in to comment.