mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-08 22:30:41 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
Generated
Vendored
+128
-13
@@ -99,8 +99,8 @@
|
||||
"ListGroupResources":{
|
||||
"name":"ListGroupResources",
|
||||
"http":{
|
||||
"method":"GET",
|
||||
"requestUri":"/groups/{GroupName}/resource-identifiers"
|
||||
"method":"POST",
|
||||
"requestUri":"/groups/{GroupName}/resource-identifiers-list"
|
||||
},
|
||||
"input":{"shape":"ListGroupResourcesInput"},
|
||||
"output":{"shape":"ListGroupResourcesOutput"},
|
||||
@@ -117,8 +117,8 @@
|
||||
"ListGroups":{
|
||||
"name":"ListGroups",
|
||||
"http":{
|
||||
"method":"GET",
|
||||
"requestUri":"/groups"
|
||||
"method":"POST",
|
||||
"requestUri":"/groups-list"
|
||||
},
|
||||
"input":{"shape":"ListGroupsInput"},
|
||||
"output":{"shape":"ListGroupsOutput"},
|
||||
@@ -342,12 +342,56 @@
|
||||
},
|
||||
"GroupArn":{
|
||||
"type":"string",
|
||||
"pattern":"arn:aws:resource-groups:[a-z]{2}-[a-z]+-\\d{1}:[0-9]{12}:group/[a-zA-Z0-9_\\.-]{1,128}"
|
||||
"max":1600,
|
||||
"min":12,
|
||||
"pattern":"arn:aws(-[a-z]+)*:resource-groups:[a-z]{2}-[a-z]+-\\d{1}:[0-9]{12}:group/[a-zA-Z0-9_\\.-]{1,128}"
|
||||
},
|
||||
"GroupDescription":{
|
||||
"type":"string",
|
||||
"max":512,
|
||||
"pattern":"[\\sa-zA-Z0-9_\\.-]+"
|
||||
"pattern":"[\\sa-zA-Z0-9_\\.-]*"
|
||||
},
|
||||
"GroupFilter":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Name",
|
||||
"Values"
|
||||
],
|
||||
"members":{
|
||||
"Name":{"shape":"GroupFilterName"},
|
||||
"Values":{"shape":"GroupFilterValues"}
|
||||
}
|
||||
},
|
||||
"GroupFilterList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"GroupFilter"}
|
||||
},
|
||||
"GroupFilterName":{
|
||||
"type":"string",
|
||||
"enum":["resource-type"]
|
||||
},
|
||||
"GroupFilterValue":{
|
||||
"type":"string",
|
||||
"max":128,
|
||||
"min":1,
|
||||
"pattern":"AWS::(AllSupported|[a-zA-Z0-9]+::[a-zA-Z0-9]+)"
|
||||
},
|
||||
"GroupFilterValues":{
|
||||
"type":"list",
|
||||
"member":{"shape":"GroupFilterValue"},
|
||||
"max":5,
|
||||
"min":1
|
||||
},
|
||||
"GroupIdentifier":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"GroupName":{"shape":"GroupName"},
|
||||
"GroupArn":{"shape":"GroupArn"}
|
||||
}
|
||||
},
|
||||
"GroupIdentifierList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"GroupIdentifier"}
|
||||
},
|
||||
"GroupList":{
|
||||
"type":"list",
|
||||
@@ -387,6 +431,7 @@
|
||||
"location":"uri",
|
||||
"locationName":"GroupName"
|
||||
},
|
||||
"Filters":{"shape":"ResourceFilterList"},
|
||||
"MaxResults":{
|
||||
"shape":"MaxResults",
|
||||
"location":"querystring",
|
||||
@@ -403,12 +448,14 @@
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ResourceIdentifiers":{"shape":"ResourceIdentifierList"},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
"NextToken":{"shape":"NextToken"},
|
||||
"QueryErrors":{"shape":"QueryErrorList"}
|
||||
}
|
||||
},
|
||||
"ListGroupsInput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Filters":{"shape":"GroupFilterList"},
|
||||
"MaxResults":{
|
||||
"shape":"MaxResults",
|
||||
"location":"querystring",
|
||||
@@ -424,7 +471,12 @@
|
||||
"ListGroupsOutput":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"Groups":{"shape":"GroupList"},
|
||||
"GroupIdentifiers":{"shape":"GroupIdentifierList"},
|
||||
"Groups":{
|
||||
"shape":"GroupList",
|
||||
"deprecated":true,
|
||||
"deprecatedMessage":"This field is deprecated, use GroupIdentifiers instead."
|
||||
},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
}
|
||||
},
|
||||
@@ -441,7 +493,12 @@
|
||||
"error":{"httpStatusCode":405},
|
||||
"exception":true
|
||||
},
|
||||
"NextToken":{"type":"string"},
|
||||
"NextToken":{
|
||||
"type":"string",
|
||||
"max":8192,
|
||||
"min":0,
|
||||
"pattern":"^[a-zA-Z0-9+/]*={0,2}$"
|
||||
},
|
||||
"NotFoundException":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
@@ -452,15 +509,72 @@
|
||||
},
|
||||
"Query":{
|
||||
"type":"string",
|
||||
"max":2048
|
||||
"max":4096,
|
||||
"pattern":"[\\s\\S]*"
|
||||
},
|
||||
"QueryError":{
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ErrorCode":{"shape":"QueryErrorCode"},
|
||||
"Message":{"shape":"QueryErrorMessage"}
|
||||
}
|
||||
},
|
||||
"QueryErrorCode":{
|
||||
"type":"string",
|
||||
"enum":[
|
||||
"CLOUDFORMATION_STACK_INACTIVE",
|
||||
"CLOUDFORMATION_STACK_NOT_EXISTING"
|
||||
]
|
||||
},
|
||||
"QueryErrorList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"QueryError"}
|
||||
},
|
||||
"QueryErrorMessage":{"type":"string"},
|
||||
"QueryType":{
|
||||
"type":"string",
|
||||
"enum":["TAG_FILTERS_1_0"]
|
||||
"enum":[
|
||||
"TAG_FILTERS_1_0",
|
||||
"CLOUDFORMATION_STACK_1_0"
|
||||
],
|
||||
"max":128,
|
||||
"min":1,
|
||||
"pattern":"^\\w+$"
|
||||
},
|
||||
"ResourceArn":{
|
||||
"type":"string",
|
||||
"pattern":"arn:aws:[a-z0-9]*:([a-z]{2}-[a-z]+-\\d{1})?:([0-9]{12})?:.+"
|
||||
"pattern":"arn:aws(-[a-z]+)*:[a-z0-9\\-]*:([a-z]{2}-[a-z]+-\\d{1})?:([0-9]{12})?:.+"
|
||||
},
|
||||
"ResourceFilter":{
|
||||
"type":"structure",
|
||||
"required":[
|
||||
"Name",
|
||||
"Values"
|
||||
],
|
||||
"members":{
|
||||
"Name":{"shape":"ResourceFilterName"},
|
||||
"Values":{"shape":"ResourceFilterValues"}
|
||||
}
|
||||
},
|
||||
"ResourceFilterList":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ResourceFilter"}
|
||||
},
|
||||
"ResourceFilterName":{
|
||||
"type":"string",
|
||||
"enum":["resource-type"]
|
||||
},
|
||||
"ResourceFilterValue":{
|
||||
"type":"string",
|
||||
"max":128,
|
||||
"min":1,
|
||||
"pattern":"AWS::[a-zA-Z0-9]+::[a-zA-Z0-9]+"
|
||||
},
|
||||
"ResourceFilterValues":{
|
||||
"type":"list",
|
||||
"member":{"shape":"ResourceFilterValue"},
|
||||
"max":5,
|
||||
"min":1
|
||||
},
|
||||
"ResourceIdentifier":{
|
||||
"type":"structure",
|
||||
@@ -501,7 +615,8 @@
|
||||
"type":"structure",
|
||||
"members":{
|
||||
"ResourceIdentifiers":{"shape":"ResourceIdentifierList"},
|
||||
"NextToken":{"shape":"NextToken"}
|
||||
"NextToken":{"shape":"NextToken"},
|
||||
"QueryErrors":{"shape":"QueryErrorList"}
|
||||
}
|
||||
},
|
||||
"TagInput":{
|
||||
|
||||
Generated
Vendored
+108
-9
@@ -6,11 +6,11 @@
|
||||
"DeleteGroup": "<p>Deletes a specified resource group. Deleting a resource group does not delete resources that are members of the group; it only deletes the group structure.</p>",
|
||||
"GetGroup": "<p>Returns information about a specified resource group.</p>",
|
||||
"GetGroupQuery": "<p>Returns the resource query associated with the specified resource group.</p>",
|
||||
"GetTags": "<p>Returns a list of tags that are associated with a resource, specified by an ARN.</p>",
|
||||
"GetTags": "<p>Returns a list of tags that are associated with a resource group, specified by an ARN.</p>",
|
||||
"ListGroupResources": "<p>Returns a list of ARNs of resources that are members of a specified resource group.</p>",
|
||||
"ListGroups": "<p>Returns a list of existing resource groups in your account.</p>",
|
||||
"SearchResources": "<p>Returns a list of AWS resource identifiers that matches a specified query. The query uses the same format as a resource query in a CreateGroup or UpdateGroupQuery operation.</p>",
|
||||
"Tag": "<p>Adds specified tags to a resource with the specified ARN. Existing tags on a resource are not changed if they are not specified in the request parameters.</p>",
|
||||
"Tag": "<p>Adds tags to a resource group with the specified ARN. Existing tags on a resource group are not changed if they are not specified in the request parameters.</p>",
|
||||
"Untag": "<p>Deletes specified tags from a specified resource.</p>",
|
||||
"UpdateGroup": "<p>Updates an existing group with a new or changed description. You cannot update the name of a resource group.</p>",
|
||||
"UpdateGroupQuery": "<p>Updates the resource query of a group.</p>"
|
||||
@@ -101,9 +101,10 @@
|
||||
"GroupArn": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GetTagsInput$Arn": "<p>The ARN of the resource for which you want a list of tags. The resource must exist within the account you are using.</p>",
|
||||
"GetTagsOutput$Arn": "<p>The ARN of the tagged resource.</p>",
|
||||
"GetTagsInput$Arn": "<p>The ARN of the resource group for which you want a list of tags. The resource must exist within the account you are using.</p>",
|
||||
"GetTagsOutput$Arn": "<p>The ARN of the tagged resource group.</p>",
|
||||
"Group$GroupArn": "<p>The ARN of a resource group.</p>",
|
||||
"GroupIdentifier$GroupArn": "<p>The ARN of a resource group.</p>",
|
||||
"TagInput$Arn": "<p>The ARN of the resource to which to add tags.</p>",
|
||||
"TagOutput$Arn": "<p>The ARN of the tagged resource.</p>",
|
||||
"UntagInput$Arn": "<p>The ARN of the resource from which to remove tags.</p>",
|
||||
@@ -118,6 +119,48 @@
|
||||
"UpdateGroupInput$Description": "<p>The description of the resource group. Descriptions can have a maximum of 511 characters, including letters, numbers, hyphens, underscores, punctuation, and spaces.</p>"
|
||||
}
|
||||
},
|
||||
"GroupFilter": {
|
||||
"base": "<p>A filter name and value pair that is used to obtain more specific results from a list of groups.</p>",
|
||||
"refs": {
|
||||
"GroupFilterList$member": null
|
||||
}
|
||||
},
|
||||
"GroupFilterList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ListGroupsInput$Filters": "<p>Filters, formatted as GroupFilter objects, that you want to apply to a ListGroups operation.</p> <ul> <li> <p> <code>resource-type</code> - Filter groups by resource type. Specify up to five resource types in the format AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"GroupFilterName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GroupFilter$Name": "<p>The name of the filter. Filter names are case-sensitive.</p>"
|
||||
}
|
||||
},
|
||||
"GroupFilterValue": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GroupFilterValues$member": null
|
||||
}
|
||||
},
|
||||
"GroupFilterValues": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"GroupFilter$Values": "<p>One or more filter values. Allowed filter values vary by group filter name, and are case-sensitive.</p>"
|
||||
}
|
||||
},
|
||||
"GroupIdentifier": {
|
||||
"base": "<p>The ARN and group name of a group.</p>",
|
||||
"refs": {
|
||||
"GroupIdentifierList$member": null
|
||||
}
|
||||
},
|
||||
"GroupIdentifierList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ListGroupsOutput$GroupIdentifiers": "<p>A list of GroupIdentifier objects. Each identifier is an object that contains both the GroupName and the GroupArn.</p>"
|
||||
}
|
||||
},
|
||||
"GroupList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
@@ -127,11 +170,12 @@
|
||||
"GroupName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateGroupInput$Name": "<p>The name of the group, which is the identifier of the group in other operations. A resource group name cannot be updated after it is created. A resource group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with <code>AWS</code> or <code>aws</code>; these are reserved. A resource group name must be unique within your account.</p>",
|
||||
"CreateGroupInput$Name": "<p>The name of the group, which is the identifier of the group in other operations. A resource group name cannot be updated after it is created. A resource group name can have a maximum of 128 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with <code>AWS</code> or <code>aws</code>; these are reserved. A resource group name must be unique within your account.</p>",
|
||||
"DeleteGroupInput$GroupName": "<p>The name of the resource group to delete.</p>",
|
||||
"GetGroupInput$GroupName": "<p>The name of the resource group.</p>",
|
||||
"GetGroupQueryInput$GroupName": "<p>The name of the resource group.</p>",
|
||||
"Group$Name": "<p>The name of a resource group.</p>",
|
||||
"GroupIdentifier$GroupName": "<p>The name of a resource group.</p>",
|
||||
"GroupQuery$GroupName": "<p>The name of a resource group that is associated with a specific resource query.</p>",
|
||||
"ListGroupResourcesInput$GroupName": "<p>The name of the resource group.</p>",
|
||||
"UpdateGroupInput$GroupName": "<p>The name of the resource group for which you want to update its description.</p>",
|
||||
@@ -205,10 +249,35 @@
|
||||
"ResourceQuery$Query": "<p>The query that defines a group or a search.</p>"
|
||||
}
|
||||
},
|
||||
"QueryError": {
|
||||
"base": "<p>A two-part error structure that can occur in <code>ListGroupResources</code> or <code>SearchResources</code> operations on CloudFormation stack-based queries. The error occurs if the CloudFormation stack on which the query is based either does not exist, or has a status that renders the stack inactive. A <code>QueryError</code> occurrence does not necessarily mean that AWS Resource Groups could not complete the operation, but the resulting group might have no member resources.</p>",
|
||||
"refs": {
|
||||
"QueryErrorList$member": null
|
||||
}
|
||||
},
|
||||
"QueryErrorCode": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"QueryError$ErrorCode": "<p>Possible values are <code>CLOUDFORMATION_STACK_INACTIVE</code> and <code>CLOUDFORMATION_STACK_NOT_EXISTING</code>.</p>"
|
||||
}
|
||||
},
|
||||
"QueryErrorList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ListGroupResourcesOutput$QueryErrors": "<p>A list of <code>QueryError</code> objects. Each error is an object that contains <code>ErrorCode</code> and <code>Message</code> structures. Possible values for <code>ErrorCode</code> are <code>CLOUDFORMATION_STACK_INACTIVE</code> and <code>CLOUDFORMATION_STACK_NOT_EXISTING</code>.</p>",
|
||||
"SearchResourcesOutput$QueryErrors": "<p>A list of <code>QueryError</code> objects. Each error is an object that contains <code>ErrorCode</code> and <code>Message</code> structures. Possible values for <code>ErrorCode</code> are <code>CLOUDFORMATION_STACK_INACTIVE</code> and <code>CLOUDFORMATION_STACK_NOT_EXISTING</code>.</p>"
|
||||
}
|
||||
},
|
||||
"QueryErrorMessage": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"QueryError$Message": "<p>A message that explains the <code>ErrorCode</code> value. Messages might state that the specified CloudFormation stack does not exist (or no longer exists). For <code>CLOUDFORMATION_STACK_INACTIVE</code>, the message typically states that the CloudFormation stack has a status that is not (or no longer) active, such as <code>CREATE_FAILED</code>.</p>"
|
||||
}
|
||||
},
|
||||
"QueryType": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ResourceQuery$Type": "<p>The type of the query. The valid value in this release is <code>TAG_FILTERS_1_0</code>.</p> <p> <i> <code>TAG_FILTERS_1_0:</code> </i> A JSON syntax that lets you specify a collection of simple tag filters for resource types and tags, as supported by the AWS Tagging API GetResources operation. When more than one element is present, only resources that match all filters are part of the result. If a filter specifies more than one value for a key, a resource matches the filter if its tag value matches any of the specified values.</p>"
|
||||
"ResourceQuery$Type": "<p>The type of the query. The valid values in this release are <code>TAG_FILTERS_1_0</code> and <code>CLOUDFORMATION_STACK_1_0</code>.</p> <p> <i> <code>TAG_FILTERS_1_0:</code> </i> A JSON syntax that lets you specify a collection of simple tag filters for resource types and tags, as supported by the AWS Tagging API <a href=\"https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/API_GetResources.html\">GetResources</a> operation. If you specify more than one tag key, only resources that match all tag keys, and at least one value of each specified tag key, are returned in your query. If you specify more than one value for a tag key, a resource matches the filter if it has a tag key value that matches <i>any</i> of the specified values.</p> <p>For example, consider the following sample query for resources that have two tags, <code>Stage</code> and <code>Version</code>, with two values each. (<code>[{\"Key\":\"Stage\",\"Values\":[\"Test\",\"Deploy\"]},{\"Key\":\"Version\",\"Values\":[\"1\",\"2\"]}]</code>) The results of this query might include the following.</p> <ul> <li> <p>An EC2 instance that has the following two tags: <code>{\"Key\":\"Stage\",\"Value\":\"Deploy\"}</code>, and <code>{\"Key\":\"Version\",\"Value\":\"2\"}</code> </p> </li> <li> <p>An S3 bucket that has the following two tags: {\"Key\":\"Stage\",\"Value\":\"Test\"}, and {\"Key\":\"Version\",\"Value\":\"1\"}</p> </li> </ul> <p>The query would not return the following results, however. The following EC2 instance does not have all tag keys specified in the filter, so it is rejected. The RDS database has all of the tag keys, but no values that match at least one of the specified tag key values in the filter.</p> <ul> <li> <p>An EC2 instance that has only the following tag: <code>{\"Key\":\"Stage\",\"Value\":\"Deploy\"}</code>.</p> </li> <li> <p>An RDS database that has the following two tags: <code>{\"Key\":\"Stage\",\"Value\":\"Archived\"}</code>, and <code>{\"Key\":\"Version\",\"Value\":\"4\"}</code> </p> </li> </ul> <p> <i> <code>CLOUDFORMATION_STACK_1_0:</code> </i> A JSON syntax that lets you specify a CloudFormation stack ARN.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceArn": {
|
||||
@@ -217,6 +286,36 @@
|
||||
"ResourceIdentifier$ResourceArn": "<p>The ARN of a resource.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceFilter": {
|
||||
"base": "<p>A filter name and value pair that is used to obtain more specific results from a list of resources.</p>",
|
||||
"refs": {
|
||||
"ResourceFilterList$member": null
|
||||
}
|
||||
},
|
||||
"ResourceFilterList": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ListGroupResourcesInput$Filters": "<p>Filters, formatted as ResourceFilter objects, that you want to apply to a ListGroupResources operation.</p> <ul> <li> <p> <code>resource-type</code> - Filter resources by their type. Specify up to five resource types in the format AWS::ServiceCode::ResourceType. For example, AWS::EC2::Instance, or AWS::S3::Bucket.</p> </li> </ul>"
|
||||
}
|
||||
},
|
||||
"ResourceFilterName": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ResourceFilter$Name": "<p>The name of the filter. Filter names are case-sensitive.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceFilterValue": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ResourceFilterValues$member": null
|
||||
}
|
||||
},
|
||||
"ResourceFilterValues": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"ResourceFilter$Values": "<p>One or more filter values. Allowed filter values vary by resource filter name, and are case-sensitive.</p>"
|
||||
}
|
||||
},
|
||||
"ResourceIdentifier": {
|
||||
"base": "<p>The ARN of a resource, and its resource type.</p>",
|
||||
"refs": {
|
||||
@@ -289,10 +388,10 @@
|
||||
"Tags": {
|
||||
"base": null,
|
||||
"refs": {
|
||||
"CreateGroupInput$Tags": "<p>The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.</p>",
|
||||
"CreateGroupInput$Tags": "<p>The tags to add to the group. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>",
|
||||
"CreateGroupOutput$Tags": "<p>The tags associated with the group.</p>",
|
||||
"GetTagsOutput$Tags": "<p>The tags associated with the specified resource.</p>",
|
||||
"TagInput$Tags": "<p>The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.</p>",
|
||||
"GetTagsOutput$Tags": "<p>The tags associated with the specified resource group.</p>",
|
||||
"TagInput$Tags": "<p>The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.</p>",
|
||||
"TagOutput$Tags": "<p>The tags that have been added to the specified resource.</p>"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user