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 2, 2022
1 parent cc85c8c commit b539e47
Show file tree
Hide file tree
Showing 31 changed files with 639 additions and 62 deletions.
6 changes: 4 additions & 2 deletions apis/organizations/2016-11-28/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,8 @@
"CANNOT_CLOSE_MANAGEMENT_ACCOUNT",
"CLOSE_ACCOUNT_QUOTA_EXCEEDED",
"CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED",
"SERVICE_ACCESS_NOT_ENABLED"
"SERVICE_ACCESS_NOT_ENABLED",
"INVALID_PAYMENT_INSTRUMENT"
]
},
"CreateAccountFailureReason":{
Expand All @@ -1262,7 +1263,8 @@
"PENDING_BUSINESS_VALIDATION",
"INVALID_IDENTITY_FOR_BUSINESS_VALIDATION",
"UNKNOWN_BUSINESS_VALIDATION",
"MISSING_PAYMENT_INSTRUMENT"
"MISSING_PAYMENT_INSTRUMENT",
"INVALID_PAYMENT_INSTRUMENT"
]
},
"CreateAccountName":{
Expand Down
8 changes: 4 additions & 4 deletions apis/organizations/2016-11-28/docs-2.json

Large diffs are not rendered by default.

93 changes: 93 additions & 0 deletions apis/outposts/2019-12-03/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,21 @@
{"shape":"InternalServerException"}
]
},
"ListAssets":{
"name":"ListAssets",
"http":{
"method":"GET",
"requestUri":"/outposts/{OutpostId}/assets"
},
"input":{"shape":"ListAssetsInput"},
"output":{"shape":"ListAssetsOutput"},
"errors":[
{"shape":"ValidationException"},
{"shape":"AccessDeniedException"},
{"shape":"NotFoundException"},
{"shape":"InternalServerException"}
]
},
"ListCatalogItems":{
"name":"ListCatalogItems",
"http":{
Expand Down Expand Up @@ -431,6 +446,29 @@
"max":1011,
"pattern":"^(arn:aws([a-z-]+)?:outposts:[a-z\\d-]+:\\d{12}:([a-z\\d-]+)/)[a-z]{2,8}-[a-f0-9]{17}$"
},
"AssetId":{
"type":"string",
"max":100,
"min":1,
"pattern":"^(\\w+)$"
},
"AssetInfo":{
"type":"structure",
"members":{
"AssetId":{"shape":"AssetId"},
"RackId":{"shape":"RackId"},
"AssetType":{"shape":"AssetType"},
"ComputeAttributes":{"shape":"ComputeAttributes"}
}
},
"AssetListDefinition":{
"type":"list",
"member":{"shape":"AssetInfo"}
},
"AssetType":{
"type":"string",
"enum":["COMPUTE"]
},
"AvailabilityZone":{
"type":"string",
"max":1000,
Expand Down Expand Up @@ -523,6 +561,12 @@
"type":"list",
"member":{"shape":"City"}
},
"ComputeAttributes":{
"type":"structure",
"members":{
"HostId":{"shape":"HostId"}
}
},
"ConflictException":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -814,6 +858,16 @@
"Site":{"shape":"Site"}
}
},
"HostId":{
"type":"string",
"max":50,
"min":1,
"pattern":"^[A-Za-z0-9-]*$"
},
"HostIdList":{
"type":"list",
"member":{"shape":"HostId"}
},
"ISO8601Timestamp":{"type":"timestamp"},
"InstanceType":{"type":"string"},
"InstanceTypeItem":{
Expand Down Expand Up @@ -899,6 +953,39 @@
"key":{"shape":"LineItemStatus"},
"value":{"shape":"LineItemQuantity"}
},
"ListAssetsInput":{
"type":"structure",
"required":["OutpostIdentifier"],
"members":{
"OutpostIdentifier":{
"shape":"OutpostIdentifier",
"location":"uri",
"locationName":"OutpostId"
},
"HostIdFilter":{
"shape":"HostIdList",
"location":"querystring",
"locationName":"HostIdFilter"
},
"MaxResults":{
"shape":"MaxResults1000",
"location":"querystring",
"locationName":"MaxResults"
},
"NextToken":{
"shape":"Token",
"location":"querystring",
"locationName":"NextToken"
}
}
},
"ListAssetsOutput":{
"type":"structure",
"members":{
"Assets":{"shape":"AssetListDefinition"},
"NextToken":{"shape":"Token"}
}
},
"ListCatalogItemsInput":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -1268,6 +1355,12 @@
]
},
"Quantity":{"type":"string"},
"RackId":{
"type":"string",
"max":20,
"min":5,
"pattern":"^[\\S \\n]+$"
},
"RackPhysicalProperties":{
"type":"structure",
"members":{
Expand Down
74 changes: 69 additions & 5 deletions apis/outposts/2019-12-03/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
"GetCatalogItem": "<p>Gets information about a catalog item.</p>",
"GetOrder": "<p>Gets an order.</p>",
"GetOutpost": "<p>Gets information about the specified Outpost.</p>",
"GetOutpostInstanceTypes": "<p>Lists the instance types for the specified Outpost.</p>",
"GetOutpostInstanceTypes": "<p>Gets the instance types for the specified Outpost.</p>",
"GetSite": "<p> Gets information about the specified Outpost site. </p>",
"GetSiteAddress": "<p> Gets the site address. </p>",
"ListCatalogItems": "<p>Use to create a list of every item in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family. </p> <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only results that match all of the specified filters.</p>",
"ListOrders": "<p>Create a list of the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results. </p>",
"ListOutposts": "<p>Create a list of the Outposts for your Amazon Web Services account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availability Zone (<code>us-east-1a</code>), and AZ ID (<code>use1-az1</code>). </p> <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only results that match all of the specified filters.</p>",
"ListSites": "<p>Create a list of the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to return a more specific list of results. Use filters to match site city, country code, or state/region of the operating address. </p> <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only results that match all of the specified filters.</p>",
"ListAssets": "<p> Lists the hardware assets in an Outpost. If you are using Dedicated Hosts on Amazon Web Services Outposts, you can filter your request by host ID to return a list of hardware assets that allocate resources for Dedicated Hosts. </p>",
"ListCatalogItems": "<p>Lists the items in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family. </p> <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only results that match all of the specified filters.</p>",
"ListOrders": "<p>Lists the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results. </p>",
"ListOutposts": "<p>Lists the Outposts for your Amazon Web Services account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availability Zone (<code>us-east-1a</code>), and AZ ID (<code>use1-az1</code>). </p> <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only results that match all of the specified filters.</p>",
"ListSites": "<p>Lists the Outpost sites for your Amazon Web Services account. Add operating address filters to your request to return a more specific list of results. Use filters to match site city, country code, or state/region of the operating address. </p> <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only results that match all of the specified filters.</p>",
"ListTagsForResource": "<p>Lists the tags for the specified resource.</p>",
"TagResource": "<p>Adds tags to the specified resource.</p>",
"UntagResource": "<p>Removes tags from the specified resource.</p>",
Expand Down Expand Up @@ -83,6 +84,30 @@
"UntagResourceRequest$ResourceArn": "<p>The Amazon Resource Name (ARN) of the resource.</p>"
}
},
"AssetId": {
"base": null,
"refs": {
"AssetInfo$AssetId": "<p> The ID of the asset. </p>"
}
},
"AssetInfo": {
"base": "<p> Information about hardware assets. </p>",
"refs": {
"AssetListDefinition$member": null
}
},
"AssetListDefinition": {
"base": null,
"refs": {
"ListAssetsOutput$Assets": "<p> Information about hardware assets. </p>"
}
},
"AssetType": {
"base": null,
"refs": {
"AssetInfo$AssetType": "<p> The type of the asset. </p>"
}
},
"AvailabilityZone": {
"base": "<p>The Availability Zone.</p>",
"refs": {
Expand Down Expand Up @@ -178,6 +203,12 @@
"ListSitesInput$OperatingAddressCityFilter": "<p> A filter for the city of the Outpost site. </p> <p>Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an <code>OR</code>, and the request returns all results that match any of the specified values.</p>"
}
},
"ComputeAttributes": {
"base": "<p> Information about compute hardware assets. </p>",
"refs": {
"AssetInfo$ComputeAttributes": "<p> Information about compute hardware assets. </p>"
}
},
"ConflictException": {
"base": "<p>Updating or deleting this resource can cause an inconsistent state.</p>",
"refs": {
Expand Down Expand Up @@ -368,6 +399,19 @@
"refs": {
}
},
"HostId": {
"base": null,
"refs": {
"ComputeAttributes$HostId": "<p> The host ID of any Dedicated Hosts on the asset. </p>",
"HostIdList$member": null
}
},
"HostIdList": {
"base": null,
"refs": {
"ListAssetsInput$HostIdFilter": "<p> A filter for the host ID of Dedicated Hosts on the Outpost. </p> <p>Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an <code>OR</code>, and the request returns all results that match any of the specified values.</p>"
}
},
"ISO8601Timestamp": {
"base": null,
"refs": {
Expand Down Expand Up @@ -464,6 +508,16 @@
"OrderSummary$LineItemCountsByStatus": "<p> The status of all line items in the order. </p>"
}
},
"ListAssetsInput": {
"base": null,
"refs": {
}
},
"ListAssetsOutput": {
"base": null,
"refs": {
}
},
"ListCatalogItemsInput": {
"base": null,
"refs": {
Expand Down Expand Up @@ -518,6 +572,7 @@
"base": "<p>The maximum page size.</p>",
"refs": {
"GetOutpostInstanceTypesInput$MaxResults": null,
"ListAssetsInput$MaxResults": null,
"ListCatalogItemsInput$MaxResults": null,
"ListOrdersInput$MaxResults": null,
"ListOutpostsInput$MaxResults": null,
Expand Down Expand Up @@ -642,6 +697,7 @@
"base": null,
"refs": {
"CreateOrderInput$OutpostIdentifier": "<p> The ID or the Amazon Resource Name (ARN) of the Outpost. </p>",
"ListAssetsInput$OutpostIdentifier": "<p> The ID or the Amazon Resource Name (ARN) of the Outpost. </p>",
"ListOrdersInput$OutpostIdentifierFilter": "<p> The ID or the Amazon Resource Name (ARN) of the Outpost. </p>"
}
},
Expand Down Expand Up @@ -712,6 +768,12 @@
"EC2Capacity$Quantity": "<p> The quantity of the EC2 capacity. </p>"
}
},
"RackId": {
"base": null,
"refs": {
"AssetInfo$RackId": "<p> The rack ID of the asset. </p>"
}
},
"RackPhysicalProperties": {
"base": "<p> Information about the physical and logistical details for racks at sites. For more information about hardware requirements for racks, see <a href=\"https://docs.aws.amazon.com/outposts/latest/userguide/outposts-requirements.html#checklist\">Network readiness checklist</a> in the Amazon Web Services Outposts User Guide. </p>",
"refs": {
Expand Down Expand Up @@ -893,6 +955,8 @@
"refs": {
"GetOutpostInstanceTypesInput$NextToken": null,
"GetOutpostInstanceTypesOutput$NextToken": null,
"ListAssetsInput$NextToken": null,
"ListAssetsOutput$NextToken": null,
"ListCatalogItemsInput$NextToken": null,
"ListCatalogItemsOutput$NextToken": null,
"ListOrdersInput$NextToken": null,
Expand Down
10 changes: 10 additions & 0 deletions apis/outposts/2019-12-03/paginators-1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"pagination": {
"GetOutpostInstanceTypes": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults"
},
"ListAssets": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults"
},
"ListCatalogItems": {
"input_token": "NextToken",
"output_token": "NextToken",
Expand Down
23 changes: 21 additions & 2 deletions apis/synthetics/2017-10-11/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,20 @@
},
"CanaryStateReasonCode":{
"type":"string",
"enum":["INVALID_PERMISSIONS"]
"enum":[
"INVALID_PERMISSIONS",
"CREATE_PENDING",
"CREATE_IN_PROGRESS",
"CREATE_FAILED",
"UPDATE_PENDING",
"UPDATE_IN_PROGRESS",
"UPDATE_COMPLETE",
"ROLLBACK_COMPLETE",
"ROLLBACK_FAILED",
"DELETE_IN_PROGRESS",
"DELETE_FAILED",
"SYNC_DELETE_IN_PROGRESS"
]
},
"CanaryStatus":{
"type":"structure",
Expand Down Expand Up @@ -468,6 +481,11 @@
"shape":"CanaryName",
"location":"uri",
"locationName":"name"
},
"DeleteLambda":{
"shape":"boolean",
"location":"querystring",
"locationName":"deleteLambda"
}
}
},
Expand Down Expand Up @@ -890,6 +908,7 @@
"SecurityGroupIds":{"shape":"SecurityGroupIds"}
}
},
"VpcId":{"type":"string"}
"VpcId":{"type":"string"},
"boolean":{"type":"boolean"}
}
}
Loading

0 comments on commit b539e47

Please sign in to comment.