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 May 9, 2022
1 parent f423c23 commit a9e468b
Show file tree
Hide file tree
Showing 31 changed files with 293 additions and 212 deletions.
143 changes: 77 additions & 66 deletions apis/cloudcontrol/2021-09-30/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"input":{"shape":"CancelResourceRequestInput"},
"output":{"shape":"CancelResourceRequestOutput"},
"errors":[
{"shape":"RequestTokenNotFoundException"},
{"shape":"ConcurrentModificationException"}
{"shape":"ConcurrentModificationException"},
{"shape":"RequestTokenNotFoundException"}
],
"idempotent":true
},
Expand All @@ -37,25 +37,25 @@
"input":{"shape":"CreateResourceInput"},
"output":{"shape":"CreateResourceOutput"},
"errors":[
{"shape":"ConcurrentOperationException"},
{"shape":"ClientTokenConflictException"},
{"shape":"UnsupportedActionException"},
{"shape":"TypeNotFoundException"},
{"shape":"AlreadyExistsException"},
{"shape":"GeneralServiceException"},
{"shape":"HandlerInternalFailureException"},
{"shape":"InvalidCredentialsException"},
{"shape":"GeneralServiceException"},
{"shape":"NotUpdatableException"},
{"shape":"TypeNotFoundException"},
{"shape":"ConcurrentOperationException"},
{"shape":"InvalidRequestException"},
{"shape":"NetworkFailureException"},
{"shape":"PrivateTypeException"},
{"shape":"ResourceNotFoundException"},
{"shape":"NetworkFailureException"},
{"shape":"UnsupportedActionException"},
{"shape":"NotStabilizedException"},
{"shape":"NotUpdatableException"},
{"shape":"ResourceConflictException"},
{"shape":"ServiceInternalErrorException"},
{"shape":"HandlerFailureException"},
{"shape":"ServiceLimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"PrivateTypeException"},
{"shape":"HandlerFailureException"}
{"shape":"InvalidCredentialsException"},
{"shape":"ResourceConflictException"},
{"shape":"ClientTokenConflictException"},
{"shape":"ThrottlingException"}
]
},
"DeleteResource":{
Expand All @@ -67,25 +67,25 @@
"input":{"shape":"DeleteResourceInput"},
"output":{"shape":"DeleteResourceOutput"},
"errors":[
{"shape":"ConcurrentOperationException"},
{"shape":"ClientTokenConflictException"},
{"shape":"UnsupportedActionException"},
{"shape":"TypeNotFoundException"},
{"shape":"AlreadyExistsException"},
{"shape":"GeneralServiceException"},
{"shape":"HandlerInternalFailureException"},
{"shape":"InvalidCredentialsException"},
{"shape":"GeneralServiceException"},
{"shape":"NotUpdatableException"},
{"shape":"TypeNotFoundException"},
{"shape":"ConcurrentOperationException"},
{"shape":"InvalidRequestException"},
{"shape":"NetworkFailureException"},
{"shape":"PrivateTypeException"},
{"shape":"ResourceNotFoundException"},
{"shape":"NetworkFailureException"},
{"shape":"UnsupportedActionException"},
{"shape":"NotStabilizedException"},
{"shape":"NotUpdatableException"},
{"shape":"ResourceConflictException"},
{"shape":"ServiceInternalErrorException"},
{"shape":"HandlerFailureException"},
{"shape":"ServiceLimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"PrivateTypeException"},
{"shape":"HandlerFailureException"}
{"shape":"InvalidCredentialsException"},
{"shape":"ResourceConflictException"},
{"shape":"ClientTokenConflictException"},
{"shape":"ThrottlingException"}
]
},
"GetResource":{
Expand All @@ -97,23 +97,23 @@
"input":{"shape":"GetResourceInput"},
"output":{"shape":"GetResourceOutput"},
"errors":[
{"shape":"UnsupportedActionException"},
{"shape":"TypeNotFoundException"},
{"shape":"AlreadyExistsException"},
{"shape":"GeneralServiceException"},
{"shape":"HandlerInternalFailureException"},
{"shape":"InvalidCredentialsException"},
{"shape":"GeneralServiceException"},
{"shape":"NotUpdatableException"},
{"shape":"TypeNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"NetworkFailureException"},
{"shape":"PrivateTypeException"},
{"shape":"ResourceNotFoundException"},
{"shape":"NetworkFailureException"},
{"shape":"UnsupportedActionException"},
{"shape":"NotStabilizedException"},
{"shape":"NotUpdatableException"},
{"shape":"ResourceConflictException"},
{"shape":"ServiceInternalErrorException"},
{"shape":"HandlerFailureException"},
{"shape":"ServiceLimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"PrivateTypeException"},
{"shape":"HandlerFailureException"}
{"shape":"InvalidCredentialsException"},
{"shape":"ResourceConflictException"},
{"shape":"ThrottlingException"}
]
},
"GetResourceRequestStatus":{
Expand Down Expand Up @@ -146,23 +146,23 @@
"input":{"shape":"ListResourcesInput"},
"output":{"shape":"ListResourcesOutput"},
"errors":[
{"shape":"UnsupportedActionException"},
{"shape":"TypeNotFoundException"},
{"shape":"AlreadyExistsException"},
{"shape":"GeneralServiceException"},
{"shape":"HandlerInternalFailureException"},
{"shape":"InvalidCredentialsException"},
{"shape":"GeneralServiceException"},
{"shape":"NotUpdatableException"},
{"shape":"TypeNotFoundException"},
{"shape":"InvalidRequestException"},
{"shape":"NetworkFailureException"},
{"shape":"PrivateTypeException"},
{"shape":"ResourceNotFoundException"},
{"shape":"NetworkFailureException"},
{"shape":"UnsupportedActionException"},
{"shape":"NotStabilizedException"},
{"shape":"NotUpdatableException"},
{"shape":"ResourceConflictException"},
{"shape":"ServiceInternalErrorException"},
{"shape":"HandlerFailureException"},
{"shape":"ServiceLimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"PrivateTypeException"},
{"shape":"HandlerFailureException"}
{"shape":"InvalidCredentialsException"},
{"shape":"ResourceConflictException"},
{"shape":"ThrottlingException"}
]
},
"UpdateResource":{
Expand All @@ -174,25 +174,25 @@
"input":{"shape":"UpdateResourceInput"},
"output":{"shape":"UpdateResourceOutput"},
"errors":[
{"shape":"ConcurrentOperationException"},
{"shape":"ClientTokenConflictException"},
{"shape":"UnsupportedActionException"},
{"shape":"TypeNotFoundException"},
{"shape":"AlreadyExistsException"},
{"shape":"GeneralServiceException"},
{"shape":"HandlerInternalFailureException"},
{"shape":"InvalidCredentialsException"},
{"shape":"GeneralServiceException"},
{"shape":"NotUpdatableException"},
{"shape":"TypeNotFoundException"},
{"shape":"ConcurrentOperationException"},
{"shape":"InvalidRequestException"},
{"shape":"NetworkFailureException"},
{"shape":"PrivateTypeException"},
{"shape":"ResourceNotFoundException"},
{"shape":"NetworkFailureException"},
{"shape":"UnsupportedActionException"},
{"shape":"NotStabilizedException"},
{"shape":"NotUpdatableException"},
{"shape":"ResourceConflictException"},
{"shape":"ServiceInternalErrorException"},
{"shape":"HandlerFailureException"},
{"shape":"ServiceLimitExceededException"},
{"shape":"ThrottlingException"},
{"shape":"PrivateTypeException"},
{"shape":"HandlerFailureException"}
{"shape":"InvalidCredentialsException"},
{"shape":"ResourceConflictException"},
{"shape":"ClientTokenConflictException"},
{"shape":"ThrottlingException"}
]
}
},
Expand Down Expand Up @@ -235,7 +235,8 @@
"members":{
"Message":{"shape":"ErrorMessage"}
},
"exception":true
"exception":true,
"fault":true
},
"ConcurrentOperationException":{
"type":"structure",
Expand Down Expand Up @@ -293,7 +294,8 @@
"ErrorMessage":{
"type":"string",
"max":1024,
"min":1
"min":1,
"pattern":".+"
},
"GeneralServiceException":{
"type":"structure",
Expand Down Expand Up @@ -360,14 +362,16 @@
"members":{
"Message":{"shape":"ErrorMessage"}
},
"exception":true
"exception":true,
"fault":true
},
"HandlerInternalFailureException":{
"type":"structure",
"members":{
"Message":{"shape":"ErrorMessage"}
},
"exception":true
"exception":true,
"fault":true
},
"HandlerNextToken":{
"type":"string",
Expand Down Expand Up @@ -432,6 +436,7 @@
},
"MaxResults":{
"type":"integer",
"box":true,
"max":100,
"min":1
},
Expand All @@ -440,7 +445,8 @@
"members":{
"Message":{"shape":"ErrorMessage"}
},
"exception":true
"exception":true,
"fault":true
},
"NextToken":{
"type":"string",
Expand Down Expand Up @@ -493,6 +499,7 @@
"type":"string",
"max":65536,
"min":1,
"pattern":"[\\s\\S]*",
"sensitive":true
},
"PrivateTypeException":{
Expand All @@ -519,8 +526,9 @@
},
"Properties":{
"type":"string",
"max":16384,
"max":65536,
"min":1,
"pattern":"[\\s\\S]*",
"sensitive":true
},
"RequestToken":{
Expand Down Expand Up @@ -583,7 +591,8 @@
"members":{
"Message":{"shape":"ErrorMessage"}
},
"exception":true
"exception":true,
"fault":true
},
"ServiceLimitExceededException":{
"type":"structure",
Expand All @@ -594,7 +603,9 @@
},
"StatusMessage":{
"type":"string",
"max":1024
"max":1024,
"min":0,
"pattern":"[\\s\\S]*"
},
"ThrottlingException":{
"type":"structure",
Expand Down
2 changes: 1 addition & 1 deletion apis/cloudcontrol/2021-09-30/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@
"Properties": {
"base": null,
"refs": {
"CreateResourceInput$DesiredState": "<p>Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.</p> <note> <p>Cloud Control API currently supports JSON as a structured data format.</p> </note> <p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate\">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html\">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p>",
"CreateResourceInput$DesiredState": "<p>Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.</p> <note> <p>Cloud Control API currently supports JSON as a structured data format.</p> </note> <pre><code> &lt;p&gt;Specify the desired state as one of the following:&lt;/p&gt; &lt;ul&gt; &lt;li&gt; &lt;p&gt;A JSON blob&lt;/p&gt; &lt;/li&gt; &lt;li&gt; &lt;p&gt;A local path containing the desired state in JSON data format&lt;/p&gt; &lt;/li&gt; &lt;/ul&gt; &lt;p&gt;For more information, see &lt;a href=&quot;https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate&quot;&gt;Composing the desired state of the resource&lt;/a&gt; in the &lt;i&gt;Amazon Web Services Cloud Control API User Guide&lt;/i&gt;.&lt;/p&gt; &lt;p&gt;For more information about the properties of a specific resource, refer to the related topic for the resource in the &lt;a href=&quot;https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html&quot;&gt;Resource and property types reference&lt;/a&gt; in the &lt;i&gt;CloudFormation Users Guide&lt;/i&gt;.&lt;/p&gt; </code></pre>",
"ListResourcesInput$ResourceModel": "<p>The resource model to use to select the resources to return.</p>",
"ProgressEvent$ResourceModel": "<p>A JSON string containing the resource model, consisting of each resource property and its current value.</p>",
"ResourceDescription$Properties": "<p>A list of the resource properties and their current values.</p>"
Expand Down
6 changes: 4 additions & 2 deletions apis/cloudcontrol/2021-09-30/paginators-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"ListResourceRequests": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults"
"limit_key": "MaxResults",
"result_key": "ResourceRequestStatusSummaries"
},
"ListResources": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults"
"limit_key": "MaxResults",
"result_key": "ResourceDescriptions"
}
}
}
8 changes: 8 additions & 0 deletions apis/cloudcontrol/2021-09-30/smoke.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"version": 1,
"defaultRegion": "us-west-2",
"testCases": [
]
}


50 changes: 23 additions & 27 deletions apis/cloudcontrol/2021-09-30/waiters-2.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
{
"version": 2,
"waiters": {
"ResourceRequestSuccess": {
"description": "Wait until resource operation request is successful",
"operation": "GetResourceRequestStatus",
"delay": 5,
"maxAttempts": 720,
"acceptors": [
{
"state": "success",
"matcher": "path",
"argument": "ProgressEvent.OperationStatus",
"expected": "SUCCESS"
},
{
"state": "failure",
"matcher": "path",
"argument": "ProgressEvent.OperationStatus",
"expected": "FAILED"
},
{
"state": "failure",
"matcher": "path",
"argument": "ProgressEvent.OperationStatus",
"expected": "CANCEL_COMPLETE"
}
]
"version" : 2,
"waiters" : {
"ResourceRequestSuccess" : {
"description" : "Wait until resource operation request is successful",
"delay" : 5,
"maxAttempts" : 24,
"operation" : "GetResourceRequestStatus",
"acceptors" : [ {
"matcher" : "path",
"argument" : "ProgressEvent.OperationStatus",
"state" : "success",
"expected" : "SUCCESS"
}, {
"matcher" : "path",
"argument" : "ProgressEvent.OperationStatus",
"state" : "failure",
"expected" : "FAILED"
}, {
"matcher" : "path",
"argument" : "ProgressEvent.OperationStatus",
"state" : "failure",
"expected" : "CANCEL_COMPLETE"
} ]
}
}
}
1 change: 1 addition & 0 deletions apis/evidently/2021-02-01/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,7 @@
"GetExperimentResultsResponse":{
"type":"structure",
"members":{
"details":{"shape":"String"},
"reports":{"shape":"ExperimentReportList"},
"resultsData":{"shape":"ExperimentResultsDataList"},
"timestamps":{"shape":"TimestampList"}
Expand Down
Loading

0 comments on commit a9e468b

Please sign in to comment.