Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Apr 28, 2022
1 parent 28a08b1 commit 7a92598
Show file tree
Hide file tree
Showing 46 changed files with 726 additions and 69 deletions.
6 changes: 3 additions & 3 deletions apis/auditmanager/2017-07-25/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"DeleteAssessment": "<p> Deletes an assessment in Audit Manager. </p>",
"DeleteAssessmentFramework": "<p> Deletes a custom framework in Audit Manager. </p>",
"DeleteAssessmentFrameworkShare": "<p> Deletes a share request for a custom framework in Audit Manager. </p>",
"DeleteAssessmentReport": "<p> Deletes an assessment report from an assessment in Audit Manager. </p>",
"DeleteAssessmentReport": "<p>Deletes an assessment report in Audit Manager. </p> <p>When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts to delete the following data:</p> <ol> <li> <p>The specified assessment report that’s stored in your S3 bucket</p> </li> <li> <p>The associated metadata that’s stored in Audit Manager</p> </li> </ol> <p>If Audit Manager can’t access the assessment report in your S3 bucket, the report isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t fail. Instead, it proceeds to delete the associated metadata only. You must then delete the assessment report from the S3 bucket yourself. </p> <p>This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that your S3 bucket is available, and that you configured the correct permissions for Audit Manager to delete resources in your S3 bucket. For an example permissions policy that you can use, see <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination\">Assessment report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information about the issues that could cause a <code>403 (Forbidden)</code> or <code>404 (Not Found</code>) error from Amazon S3, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList\">List of Error Codes</a> in the <i>Amazon Simple Storage Service API Reference</i>. </p>",
"DeleteControl": "<p> Deletes a custom control in Audit Manager. </p>",
"DeregisterAccount": "<p> Deregisters an account in Audit Manager. </p> <note> <p>When you deregister your account from Audit Manager, your data isn’t deleted. If you want to delete your resource data, you must perform that task separately before you deregister your account. Either, you can do this in the Audit Manager console. Or, you can use one of the delete API operations that are provided by Audit Manager. </p> <p>To delete your Audit Manager resource data, see the following instructions: </p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html\">DeleteAssessment</a> (see also: <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html\">Deleting an assessment</a> in the <i>Audit Manager User Guide</i>)</p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html\">DeleteAssessmentFramework</a> (see also: <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html\">Deleting a custom framework</a> in the <i>Audit Manager User Guide</i>)</p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html\">DeleteAssessmentFrameworkShare</a> (see also: <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html\">Deleting a share request</a> in the <i>Audit Manager User Guide</i>)</p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html\">DeleteAssessmentReport</a> (see also: <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps\">Deleting an assessment report</a> in the <i>Audit Manager User Guide</i>)</p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html\">DeleteControl</a> (see also: <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html\">Deleting a custom control</a> in the <i>Audit Manager User Guide</i>)</p> </li> </ul> <p>At this time, Audit Manager doesn't provide an option to delete evidence. All available delete operations are listed above.</p> </note>",
"DeregisterOrganizationAdminAccount": "<p>Removes the specified Amazon Web Services account as a delegated administrator for Audit Manager. </p> <important> <p>When you remove a delegated administrator from your Audit Manager settings, you continue to have access to the evidence that you previously collected under that account. This is also the case when you deregister a delegated administrator from Organizations. However, Audit Manager will stop collecting and attaching evidence to that delegated administrator account moving forward.</p> </important> <note> <p>When you deregister a delegated administrator account for Audit Manager, the data for that account isn’t deleted. If you want to delete resource data for a delegated administrator account, you must perform that task separately before you deregister the account. Either, you can do this in the Audit Manager console. Or, you can use one of the delete API operations that are provided by Audit Manager. </p> <p>To delete your Audit Manager resource data, see the following instructions: </p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html\">DeleteAssessment</a> (see also: <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html\">Deleting an assessment</a> in the <i>Audit Manager User Guide</i>)</p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html\">DeleteAssessmentFramework</a> (see also: <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html\">Deleting a custom framework</a> in the <i>Audit Manager User Guide</i>)</p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html\">DeleteAssessmentFrameworkShare</a> (see also: <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html\">Deleting a share request</a> in the <i>Audit Manager User Guide</i>)</p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html\">DeleteAssessmentReport</a> (see also: <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps\">Deleting an assessment report</a> in the <i>Audit Manager User Guide</i>)</p> </li> <li> <p> <a href=\"https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html\">DeleteControl</a> (see also: <a href=\"https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html\">Deleting a custom control</a> in the <i>Audit Manager User Guide</i>)</p> </li> </ul> <p>At this time, Audit Manager doesn't provide an option to delete evidence. All available delete operations are listed above.</p> </note>",
Expand Down Expand Up @@ -1297,14 +1297,14 @@
"KeywordInputType": {
"base": null,
"refs": {
"SourceKeyword$keywordInputType": "<p> The method of input for the keyword. </p>"
"SourceKeyword$keywordInputType": "<p> The input method for the keyword. </p>"
}
},
"KeywordValue": {
"base": null,
"refs": {
"Keywords$member": null,
"SourceKeyword$keywordValue": "<p> The value of the keyword that's used to search CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names when mapping a control data source. </p>"
"SourceKeyword$keywordValue": "<p> The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. </p> <p>If you’re mapping a data source to a rule in Config, the <code>keywordValue</code> that you specify depends on the type of rule:</p> <ul> <li> <p>For <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html\">managed rules</a>, you can use the rule identifier as the <code>keywordValue</code>. You can find the rule identifier from the <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html\">list of Config managed rules</a>.</p> <ul> <li> <p>Managed rule name: <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-acl-prohibited.html\">s3-bucket-acl-prohibited</a> </p> <p> <code>keywordValue</code>: <code>S3_BUCKET_ACL_PROHIBITED</code> </p> </li> </ul> </li> <li> <p>For <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules.html\">custom rules</a>, you form the <code>keywordValue</code> by adding the <code>Custom_</code> prefix to the rule name. This prefix distinguishes the rule from a managed rule.</p> <ul> <li> <p>Custom rule name: my-custom-config-rule</p> <p> <code>keywordValue</code>: <code>Custom_my-custom-config-rule</code> </p> </li> </ul> </li> <li> <p>For <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/service-linked-awsconfig-rules.html\">service-linked rules</a>, you form the <code>keywordValue</code> by adding the <code>Custom_</code> prefix to the rule name. In addition, you remove the suffix ID that appears at the end of the rule name.</p> <ul> <li> <p>Service-linked rule name: CustomRuleForAccount-conformance-pack-szsm1uv0w</p> <p> <code>keywordValue</code>: <code>Custom_CustomRuleForAccount-conformance-pack</code> </p> </li> <li> <p>Service-linked rule name: securityhub-api-gw-cache-encrypted-101104e1</p> <p> <code>keywordValue</code>: <code>Custom_securityhub-api-gw-cache-encrypted</code> </p> </li> <li> <p>Service-linked rule name: OrgConfigRule-s3-bucket-versioning-enabled-dbgzf8ba</p> <p> <code>keywordValue</code>: <code>Custom_OrgConfigRule-s3-bucket-versioning-enabled</code> </p> </li> </ul> </li> </ul>"
}
},
"Keywords": {
Expand Down
6 changes: 6 additions & 0 deletions apis/braket/2019-09-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -685,10 +685,16 @@
"volumeSizeInGb"
],
"members":{
"instanceCount":{"shape":"InstanceConfigInstanceCountInteger"},
"instanceType":{"shape":"InstanceType"},
"volumeSizeInGb":{"shape":"InstanceConfigVolumeSizeInGbInteger"}
}
},
"InstanceConfigInstanceCountInteger":{
"type":"integer",
"box":true,
"min":1
},
"InstanceConfigVolumeSizeInGbInteger":{
"type":"integer",
"box":true,
Expand Down
10 changes: 8 additions & 2 deletions apis/braket/2019-09-01/docs-2.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"version": "2.0",
"service": "<p>The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.</p>",
"service": "<p>The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.</p> <p>Additional Resources:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/braket/latest/developerguide/what-is-braket.html\">Amazon Braket Developer Guide</a> </p> </li> </ul>",
"operations": {
"CancelJob": "<p>Cancels an Amazon Braket job.</p>",
"CancelQuantumTask": "<p>Cancels the specified task.</p>",
"CreateJob": "<p>Creates an Amazon Braket job.</p>",
"CreateQuantumTask": "<p>Creates a quantum task.</p>",
"GetDevice": "<p>Retrieves the devices available in Amazon Braket.</p>",
"GetDevice": "<p>Retrieves the devices available in Amazon Braket.</p> <note> <p>For backwards compatibility with older versions of BraketSchemas, OpenQASM information is omitted from GetDevice API calls. To get this information the user-agent needs to present a recent version of the BraketSchemas (1.8.0 or later). The Braket SDK automatically reports this for you. If you do not see OpenQASM results in the GetDevice response when using a Braket SDK, you may need to set AWS_EXECUTION_ENV environment variable to configure user-agent. See the code examples provided below for how to do this for the AWS CLI, Boto3, and the Go, Java, and JavaScript/TypeScript SDKs.</p> </note>",
"GetJob": "<p>Retrieves the specified Amazon Braket job.</p>",
"GetQuantumTask": "<p>Retrieves the specified quantum task.</p>",
"ListTagsForResource": "<p>Shows the tags associated with this resource.</p>",
Expand Down Expand Up @@ -264,6 +264,12 @@
"GetJobResponse$instanceConfig": "<p>The resource instances to use while running the hybrid job on Amazon Braket.</p>"
}
},
"InstanceConfigInstanceCountInteger": {
"base": null,
"refs": {
"InstanceConfig$instanceCount": "<p>Configures the number of resource instances to use while running an Amazon Braket job on Amazon Braket. The default value is 1.</p>"
}
},
"InstanceConfigVolumeSizeInGbInteger": {
"base": null,
"refs": {
Expand Down
43 changes: 43 additions & 0 deletions apis/connect/2017-08-08/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1541,6 +1541,23 @@
{"shape":"InternalServiceException"}
]
},
"PutUserStatus":{
"name":"PutUserStatus",
"http":{
"method":"PUT",
"requestUri":"/users/{InstanceId}/{UserId}/status"
},
"input":{"shape":"PutUserStatusRequest"},
"output":{"shape":"PutUserStatusResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"InvalidParameterException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"AccessDeniedException"},
{"shape":"InternalServiceException"}
]
},
"ReleasePhoneNumber":{
"name":"ReleasePhoneNumber",
"http":{
Expand Down Expand Up @@ -6385,6 +6402,32 @@
"type":"list",
"member":{"shape":"PromptSummary"}
},
"PutUserStatusRequest":{
"type":"structure",
"required":[
"UserId",
"InstanceId",
"AgentStatusId"
],
"members":{
"UserId":{
"shape":"UserId",
"location":"uri",
"locationName":"UserId"
},
"InstanceId":{
"shape":"InstanceId",
"location":"uri",
"locationName":"InstanceId"
},
"AgentStatusId":{"shape":"AgentStatusId"}
}
},
"PutUserStatusResponse":{
"type":"structure",
"members":{
}
},
"Queue":{
"type":"structure",
"members":{
Expand Down
14 changes: 14 additions & 0 deletions apis/connect/2017-08-08/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"ListUseCases": "<p>Lists the use cases for the integration association. </p>",
"ListUserHierarchyGroups": "<p>Provides summary information about the hierarchy groups for the specified Amazon Connect instance.</p> <p>For more information about agent hierarchies, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/agent-hierarchy.html\">Set Up Agent Hierarchies</a> in the <i>Amazon Connect Administrator Guide</i>.</p>",
"ListUsers": "<p>Provides summary information about the users for the specified Amazon Connect instance.</p>",
"PutUserStatus": "<p>Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a contact, this sets the agent's next status.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/metrics-agent-status.html\">Agent status</a> and <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/set-next-status.html\">Set your next status</a> in the <i>Amazon Connect Administrator Guide</i>.</p>",
"ReleasePhoneNumber": "<p>Releases a phone number previously claimed to an Amazon Connect instance.</p>",
"ResumeContactRecording": "<p>When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, this API resumes recording the call.</p> <p>Only voice recordings are supported at this time.</p>",
"SearchAvailablePhoneNumbers": "<p>Searches for available phone numbers that you can claim to your Amazon Connect instance.</p>",
Expand Down Expand Up @@ -277,6 +278,7 @@
"AgentStatusSummary$Id": "<p>The identifier for an agent status.</p>",
"CreateAgentStatusResponse$AgentStatusId": "<p>The identifier of the agent status.</p>",
"DescribeAgentStatusRequest$AgentStatusId": "<p>The identifier for the agent status.</p>",
"PutUserStatusRequest$AgentStatusId": "<p>The identifier of the agent status.</p>",
"UpdateAgentStatusRequest$AgentStatusId": "<p>The identifier of the agent status.</p>"
}
},
Expand Down Expand Up @@ -1863,6 +1865,7 @@
"ListUseCasesRequest$InstanceId": "<p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>",
"ListUserHierarchyGroupsRequest$InstanceId": "<p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>",
"ListUsersRequest$InstanceId": "<p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>",
"PutUserStatusRequest$InstanceId": "<p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>",
"ResumeContactRecordingRequest$InstanceId": "<p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>",
"RoutingProfile$InstanceId": "<p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>",
"SearchUsersRequest$InstanceId": "<p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>",
Expand Down Expand Up @@ -2844,6 +2847,16 @@
"ListPromptsResponse$PromptSummaryList": "<p>Information about the prompts.</p>"
}
},
"PutUserStatusRequest": {
"base": null,
"refs": {
}
},
"PutUserStatusResponse": {
"base": null,
"refs": {
}
},
"Queue": {
"base": "<p>Contains information about a queue.</p>",
"refs": {
Expand Down Expand Up @@ -3887,6 +3900,7 @@
"CreateUserResponse$UserId": "<p>The identifier of the user account.</p>",
"DeleteUserRequest$UserId": "<p>The identifier of the user.</p>",
"DescribeUserRequest$UserId": "<p>The identifier of the user account.</p>",
"PutUserStatusRequest$UserId": "<p>The identifier of the user.</p>",
"UpdateUserHierarchyRequest$UserId": "<p>The identifier of the user account.</p>",
"UpdateUserIdentityInfoRequest$UserId": "<p>The identifier of the user account.</p>",
"UpdateUserPhoneConfigRequest$UserId": "<p>The identifier of the user account.</p>",
Expand Down
21 changes: 19 additions & 2 deletions apis/ec2/2016-11-15/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -9354,7 +9354,8 @@
"TagSpecifications":{
"shape":"TagSpecificationList",
"locationName":"TagSpecification"
}
},
"KeyFormat":{"shape":"KeyFormat"}
}
},
"CreateLaunchTemplateRequest":{
Expand Down Expand Up @@ -14155,7 +14156,8 @@
"DryRun":{
"shape":"Boolean",
"locationName":"dryRun"
}
},
"IncludePublicKey":{"shape":"Boolean"}
}
},
"DescribeKeyPairsResult":{
Expand Down Expand Up @@ -25328,6 +25330,13 @@
]
},
"KernelId":{"type":"string"},
"KeyFormat":{
"type":"string",
"enum":[
"pem",
"ppk"
]
},
"KeyNameStringList":{
"type":"list",
"member":{
Expand Down Expand Up @@ -25390,6 +25399,14 @@
"Tags":{
"shape":"TagList",
"locationName":"tagSet"
},
"PublicKey":{
"shape":"String",
"locationName":"publicKey"
},
"CreateTime":{
"shape":"MillisecondDateTime",
"locationName":"createTime"
}
}
},
Expand Down
Loading

0 comments on commit 7a92598

Please sign in to comment.