diff --git a/codegen/sdk-codegen/aws-models/accessanalyzer.2019-11-01.json b/codegen/sdk-codegen/aws-models/accessanalyzer.2019-11-01.json index 40f60e08a258..927933b6496f 100644 --- a/codegen/sdk-codegen/aws-models/accessanalyzer.2019-11-01.json +++ b/codegen/sdk-codegen/aws-models/accessanalyzer.2019-11-01.json @@ -41,12 +41,12 @@ "traits": { "aws.api#service": { "sdkId": "AccessAnalyzer", - "arnNamespace": "replace-for-service-name", + "arnNamespace": "access-analyzer", "cloudFormationName": "AccessAnalyzer", - "cloudTrailEventSource": "replace-for-cloudtrail-event-source" + "cloudTrailEventSource": "access-analyzer.amazonaws.com" }, "aws.auth#sigv4": { - "name": "" + "name": "access-analyzer" }, "aws.protocols#restJson1": {}, "smithy.api#cors": {}, @@ -84,16 +84,17 @@ "com.amazonaws.accessanalyzer#AnalyzedResource": { "type": "structure", "members": { - "actions": { - "target": "com.amazonaws.accessanalyzer#ActionList", + "resourceArn": { + "target": "com.amazonaws.accessanalyzer#ResourceArn", "traits": { - "smithy.api#documentation": "
The actions that an external principal is granted permission to use by the policy that\n generated the finding.
" + "smithy.api#documentation": "The ARN of the resource that was analyzed.
", + "smithy.api#required": {} } }, - "analyzedAt": { - "target": "com.amazonaws.accessanalyzer#Timestamp", + "resourceType": { + "target": "com.amazonaws.accessanalyzer#ResourceType", "traits": { - "smithy.api#documentation": "The time at which the resource was analyzed.
", + "smithy.api#documentation": "The type of the resource that was analyzed.
", "smithy.api#required": {} } }, @@ -104,38 +105,31 @@ "smithy.api#required": {} } }, - "error": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "An error message.
" - } - }, - "isPublic": { - "target": "smithy.api#Boolean", + "analyzedAt": { + "target": "com.amazonaws.accessanalyzer#Timestamp", "traits": { - "smithy.api#documentation": "Indicates whether the policy that generated the finding grants public access to the\n resource.
", + "smithy.api#documentation": "The time at which the resource was analyzed.
", "smithy.api#required": {} } }, - "resourceArn": { - "target": "com.amazonaws.accessanalyzer#ResourceArn", + "updatedAt": { + "target": "com.amazonaws.accessanalyzer#Timestamp", "traits": { - "smithy.api#documentation": "The ARN of the resource that was analyzed.
", + "smithy.api#documentation": "The time at which the finding was updated.
", "smithy.api#required": {} } }, - "resourceOwnerAccount": { - "target": "smithy.api#String", + "isPublic": { + "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "The AWS account ID that owns the resource.
", + "smithy.api#documentation": "Indicates whether the policy that generated the finding grants public access to the\n resource.
", "smithy.api#required": {} } }, - "resourceType": { - "target": "com.amazonaws.accessanalyzer#ResourceType", + "actions": { + "target": "com.amazonaws.accessanalyzer#ActionList", "traits": { - "smithy.api#documentation": "The type of the resource that was analyzed.
", - "smithy.api#required": {} + "smithy.api#documentation": "The actions that an external principal is granted permission to use by the policy that\n generated the finding.
" } }, "sharedVia": { @@ -150,12 +144,18 @@ "smithy.api#documentation": "The current status of the finding generated from the analyzed resource.
" } }, - "updatedAt": { - "target": "com.amazonaws.accessanalyzer#Timestamp", + "resourceOwnerAccount": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The time at which the finding was updated.
", + "smithy.api#documentation": "The AWS account ID that owns the resource.
", "smithy.api#required": {} } + }, + "error": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "An error message.
" + } } }, "traits": { @@ -265,6 +265,20 @@ "smithy.api#required": {} } }, + "name": { + "target": "com.amazonaws.accessanalyzer#Name", + "traits": { + "smithy.api#documentation": "The name of the analyzer.
", + "smithy.api#required": {} + } + }, + "type": { + "target": "com.amazonaws.accessanalyzer#Type", + "traits": { + "smithy.api#documentation": "The type of analyzer, which corresponds to the zone of trust chosen for the\n analyzer.
", + "smithy.api#required": {} + } + }, "createdAt": { "target": "com.amazonaws.accessanalyzer#Timestamp", "traits": { @@ -284,11 +298,10 @@ "smithy.api#documentation": "The time at which the most recently analyzed resource was analyzed.
" } }, - "name": { - "target": "com.amazonaws.accessanalyzer#Name", + "tags": { + "target": "com.amazonaws.accessanalyzer#TagsMap", "traits": { - "smithy.api#documentation": "The name of the analyzer.
", - "smithy.api#required": {} + "smithy.api#documentation": "The tags added to the analyzer.
" } }, "status": { @@ -303,19 +316,6 @@ "traits": { "smithy.api#documentation": "The statusReason
provides more details about the current status of the analyzer. For example, if the\n creation for the analyzer fails, a Failed
status is displayed. For an analyzer\n with organization as the type, this failure can be due to an issue with creating the\n service-linked roles required in the member accounts of the AWS organization.
The tags added to the analyzer.
" - } - }, - "type": { - "target": "com.amazonaws.accessanalyzer#Type", - "traits": { - "smithy.api#documentation": "The type of analyzer, which corresponds to the zone of trust chosen for the\n analyzer.
", - "smithy.api#required": {} - } } }, "traits": { @@ -365,10 +365,10 @@ "com.amazonaws.accessanalyzer#ArchiveRuleSummary": { "type": "structure", "members": { - "createdAt": { - "target": "com.amazonaws.accessanalyzer#Timestamp", + "ruleName": { + "target": "com.amazonaws.accessanalyzer#Name", "traits": { - "smithy.api#documentation": "The time at which the archive rule was created.
", + "smithy.api#documentation": "The name of the archive rule.
", "smithy.api#required": {} } }, @@ -379,10 +379,10 @@ "smithy.api#required": {} } }, - "ruleName": { - "target": "com.amazonaws.accessanalyzer#Name", + "createdAt": { + "target": "com.amazonaws.accessanalyzer#Timestamp", "traits": { - "smithy.api#documentation": "The name of the archive rule.
", + "smithy.api#documentation": "The time at which the archive rule was created.
", "smithy.api#required": {} } }, @@ -491,17 +491,17 @@ "smithy.api#required": {} } }, - "archiveRules": { - "target": "com.amazonaws.accessanalyzer#InlineArchiveRulesList", + "type": { + "target": "com.amazonaws.accessanalyzer#Type", "traits": { - "smithy.api#documentation": "Specifies the archive rules to add for the analyzer. Archive rules automatically archive\n findings that meet the criteria you define for the rule.
" + "smithy.api#documentation": "The type of analyzer to create. Only ACCOUNT analyzers are supported. You can create\n only one analyzer per account per Region.
", + "smithy.api#required": {} } }, - "clientToken": { - "target": "smithy.api#String", + "archiveRules": { + "target": "com.amazonaws.accessanalyzer#InlineArchiveRulesList", "traits": { - "smithy.api#documentation": "A client token.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "Specifies the archive rules to add for the analyzer. Archive rules automatically archive\n findings that meet the criteria you define for the rule.
" } }, "tags": { @@ -510,11 +510,11 @@ "smithy.api#documentation": "The tags to apply to the analyzer.
" } }, - "type": { - "target": "com.amazonaws.accessanalyzer#Type", + "clientToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The type of analyzer to create. Only ACCOUNT analyzers are supported. You can create\n only one analyzer per account per Region.
", - "smithy.api#required": {} + "smithy.api#documentation": "A client token.
", + "smithy.api#idempotencyToken": {} } } }, @@ -585,11 +585,11 @@ "smithy.api#required": {} } }, - "clientToken": { - "target": "smithy.api#String", + "ruleName": { + "target": "com.amazonaws.accessanalyzer#Name", "traits": { - "smithy.api#documentation": "A client token.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "The name of the rule to create.
", + "smithy.api#required": {} } }, "filter": { @@ -599,11 +599,11 @@ "smithy.api#required": {} } }, - "ruleName": { - "target": "com.amazonaws.accessanalyzer#Name", + "clientToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the rule to create.
", - "smithy.api#required": {} + "smithy.api#documentation": "A client token.
", + "smithy.api#idempotencyToken": {} } } }, @@ -614,28 +614,28 @@ "com.amazonaws.accessanalyzer#Criterion": { "type": "structure", "members": { - "contains": { + "eq": { "target": "com.amazonaws.accessanalyzer#ValueList", "traits": { - "smithy.api#documentation": "A \"contains\" operator to match for the filter used to create the rule.
" + "smithy.api#documentation": "An \"equals\" operator to match for the filter used to create the rule.
" } }, - "eq": { + "neq": { "target": "com.amazonaws.accessanalyzer#ValueList", "traits": { - "smithy.api#documentation": "An \"equals\" operator to match for the filter used to create the rule.
" + "smithy.api#documentation": "A \"not equals\" operator to match for the filter used to create the rule.
" } }, - "exists": { - "target": "smithy.api#Boolean", + "contains": { + "target": "com.amazonaws.accessanalyzer#ValueList", "traits": { - "smithy.api#documentation": "An \"exists\" operator to match for the filter used to create the rule.
" + "smithy.api#documentation": "A \"contains\" operator to match for the filter used to create the rule.
" } }, - "neq": { - "target": "com.amazonaws.accessanalyzer#ValueList", + "exists": { + "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "A \"not equals\" operator to match for the filter used to create the rule.
" + "smithy.api#documentation": "An \"exists\" operator to match for the filter used to create the rule.
" } } }, @@ -742,14 +742,6 @@ "smithy.api#required": {} } }, - "clientToken": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "A client token.
", - "smithy.api#httpQuery": "clientToken", - "smithy.api#idempotencyToken": {} - } - }, "ruleName": { "target": "com.amazonaws.accessanalyzer#Name", "traits": { @@ -757,6 +749,14 @@ "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "A client token.
", + "smithy.api#httpQuery": "clientToken", + "smithy.api#idempotencyToken": {} + } } }, "traits": { @@ -775,16 +775,41 @@ "com.amazonaws.accessanalyzer#Finding": { "type": "structure", "members": { + "id": { + "target": "com.amazonaws.accessanalyzer#FindingId", + "traits": { + "smithy.api#documentation": "The ID of the finding.
", + "smithy.api#required": {} + } + }, + "principal": { + "target": "com.amazonaws.accessanalyzer#PrincipalMap", + "traits": { + "smithy.api#documentation": "The external principal that access to a resource within the zone of trust.
" + } + }, "action": { "target": "com.amazonaws.accessanalyzer#ActionList", "traits": { "smithy.api#documentation": "The action in the analyzed policy statement that an external principal has permission to\n use.
" } }, - "analyzedAt": { - "target": "com.amazonaws.accessanalyzer#Timestamp", + "resource": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The time at which the resource was analyzed.
", + "smithy.api#documentation": "The resource that an external principal has access to.
" + } + }, + "isPublic": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "Indicates whether the policy that generated the finding allows public access to the\n resource.
" + } + }, + "resourceType": { + "target": "com.amazonaws.accessanalyzer#ResourceType", + "traits": { + "smithy.api#documentation": "The type of the resource reported in the finding.
", "smithy.api#required": {} } }, @@ -802,35 +827,25 @@ "smithy.api#required": {} } }, - "error": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "An error.
" - } - }, - "id": { - "target": "com.amazonaws.accessanalyzer#FindingId", + "analyzedAt": { + "target": "com.amazonaws.accessanalyzer#Timestamp", "traits": { - "smithy.api#documentation": "The ID of the finding.
", + "smithy.api#documentation": "The time at which the resource was analyzed.
", "smithy.api#required": {} } }, - "isPublic": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Indicates whether the policy that generated the finding allows public access to the\n resource.
" - } - }, - "principal": { - "target": "com.amazonaws.accessanalyzer#PrincipalMap", + "updatedAt": { + "target": "com.amazonaws.accessanalyzer#Timestamp", "traits": { - "smithy.api#documentation": "The external principal that access to a resource within the zone of trust.
" + "smithy.api#documentation": "The time at which the finding was updated.
", + "smithy.api#required": {} } }, - "resource": { - "target": "smithy.api#String", + "status": { + "target": "com.amazonaws.accessanalyzer#FindingStatus", "traits": { - "smithy.api#documentation": "The resource that an external principal has access to.
" + "smithy.api#documentation": "The current status of the finding.
", + "smithy.api#required": {} } }, "resourceOwnerAccount": { @@ -840,11 +855,10 @@ "smithy.api#required": {} } }, - "resourceType": { - "target": "com.amazonaws.accessanalyzer#ResourceType", + "error": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The type of the resource reported in the finding.
", - "smithy.api#required": {} + "smithy.api#documentation": "An error.
" } }, "sources": { @@ -852,20 +866,6 @@ "traits": { "smithy.api#documentation": "The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
" } - }, - "status": { - "target": "com.amazonaws.accessanalyzer#FindingStatus", - "traits": { - "smithy.api#documentation": "The current status of the finding.
", - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.accessanalyzer#Timestamp", - "traits": { - "smithy.api#documentation": "The time at which the finding was updated.
", - "smithy.api#required": {} - } } }, "traits": { @@ -884,18 +884,18 @@ "com.amazonaws.accessanalyzer#FindingSource": { "type": "structure", "members": { - "detail": { - "target": "com.amazonaws.accessanalyzer#FindingSourceDetail", - "traits": { - "smithy.api#documentation": "Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
" - } - }, "type": { "target": "com.amazonaws.accessanalyzer#FindingSourceType", "traits": { "smithy.api#documentation": "Indicates the type of access that generated the finding.
", "smithy.api#required": {} } + }, + "detail": { + "target": "com.amazonaws.accessanalyzer#FindingSourceDetail", + "traits": { + "smithy.api#documentation": "Includes details about how the access that generated the finding is granted. This is populated for Amazon S3 bucket findings.
" + } } }, "traits": { @@ -930,13 +930,13 @@ "value": "POLICY" }, { - "value": "// Conceptually the primary resource policy on the resource BUCKET_ACL" + "value": "BUCKET_ACL" }, { - "value": "// S3 bucket ACLs only S3_ACCESS_POINT" + "value": "S3_ACCESS_POINT" }, { - "value": "// S3 access points only // KMS_GRANT" + "value": "KMS_GRANT" } ] } @@ -973,16 +973,41 @@ "com.amazonaws.accessanalyzer#FindingSummary": { "type": "structure", "members": { + "id": { + "target": "com.amazonaws.accessanalyzer#FindingId", + "traits": { + "smithy.api#documentation": "The ID of the finding.
", + "smithy.api#required": {} + } + }, + "principal": { + "target": "com.amazonaws.accessanalyzer#PrincipalMap", + "traits": { + "smithy.api#documentation": "The external principal that has access to a resource within the zone of trust.
" + } + }, "action": { "target": "com.amazonaws.accessanalyzer#ActionList", "traits": { "smithy.api#documentation": "The action in the analyzed policy statement that an external principal has permission to\n use.
" } }, - "analyzedAt": { - "target": "com.amazonaws.accessanalyzer#Timestamp", + "resource": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The time at which the resource-based policy that generated the finding was\n analyzed.
", + "smithy.api#documentation": "The resource that the external principal has access to.
" + } + }, + "isPublic": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#documentation": "Indicates whether the finding reports a resource that has a policy that allows public\n access.
" + } + }, + "resourceType": { + "target": "com.amazonaws.accessanalyzer#ResourceType", + "traits": { + "smithy.api#documentation": "The type of the resource that the external principal has access to.
", "smithy.api#required": {} } }, @@ -1000,35 +1025,25 @@ "smithy.api#required": {} } }, - "error": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The error that resulted in an Error finding.
" - } - }, - "id": { - "target": "com.amazonaws.accessanalyzer#FindingId", + "analyzedAt": { + "target": "com.amazonaws.accessanalyzer#Timestamp", "traits": { - "smithy.api#documentation": "The ID of the finding.
", + "smithy.api#documentation": "The time at which the resource-based policy that generated the finding was\n analyzed.
", "smithy.api#required": {} } }, - "isPublic": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Indicates whether the finding reports a resource that has a policy that allows public\n access.
" - } - }, - "principal": { - "target": "com.amazonaws.accessanalyzer#PrincipalMap", + "updatedAt": { + "target": "com.amazonaws.accessanalyzer#Timestamp", "traits": { - "smithy.api#documentation": "The external principal that has access to a resource within the zone of trust.
" + "smithy.api#documentation": "The time at which the finding was most recently updated.
", + "smithy.api#required": {} } }, - "resource": { - "target": "smithy.api#String", + "status": { + "target": "com.amazonaws.accessanalyzer#FindingStatus", "traits": { - "smithy.api#documentation": "The resource that the external principal has access to.
" + "smithy.api#documentation": "The status of the finding.
", + "smithy.api#required": {} } }, "resourceOwnerAccount": { @@ -1038,11 +1053,10 @@ "smithy.api#required": {} } }, - "resourceType": { - "target": "com.amazonaws.accessanalyzer#ResourceType", + "error": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The type of the resource that the external principal has access to.
", - "smithy.api#required": {} + "smithy.api#documentation": "The error that resulted in an Error finding.
" } }, "sources": { @@ -1050,20 +1064,6 @@ "traits": { "smithy.api#documentation": "The sources of the finding. This indicates how the access that generated the finding is granted. It is populated for Amazon S3 bucket findings.
" } - }, - "status": { - "target": "com.amazonaws.accessanalyzer#FindingStatus", - "traits": { - "smithy.api#documentation": "The status of the finding.
", - "smithy.api#required": {} - } - }, - "updatedAt": { - "target": "com.amazonaws.accessanalyzer#Timestamp", - "traits": { - "smithy.api#documentation": "The time at which the finding was most recently updated.
", - "smithy.api#required": {} - } } }, "traits": { @@ -1320,8 +1320,7 @@ "uri": "/finding/{id}", "code": 200 }, - "smithy.api#readonly": {}, - "smithy.api#suppress": ["MissingPaginatedTrait"] + "smithy.api#readonly": {} } }, "com.amazonaws.accessanalyzer#GetFindingRequest": { @@ -1365,17 +1364,17 @@ "com.amazonaws.accessanalyzer#InlineArchiveRule": { "type": "structure", "members": { - "filter": { - "target": "com.amazonaws.accessanalyzer#FilterCriteriaMap", + "ruleName": { + "target": "com.amazonaws.accessanalyzer#Name", "traits": { - "smithy.api#documentation": "The condition and values for a criterion.
", + "smithy.api#documentation": "The name of the rule.
", "smithy.api#required": {} } }, - "ruleName": { - "target": "com.amazonaws.accessanalyzer#Name", + "filter": { + "target": "com.amazonaws.accessanalyzer#FilterCriteriaMap", "traits": { - "smithy.api#documentation": "The name of the rule.
", + "smithy.api#documentation": "The condition and values for a criterion.
", "smithy.api#required": {} } } @@ -1449,8 +1448,7 @@ "smithy.api#paginated": { "items": "analyzedResources" }, - "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#readonly": {} } }, "com.amazonaws.accessanalyzer#ListAnalyzedResourcesRequest": { @@ -1463,10 +1461,10 @@ "smithy.api#required": {} } }, - "maxResults": { - "target": "smithy.api#Integer", + "resourceType": { + "target": "com.amazonaws.accessanalyzer#ResourceType", "traits": { - "smithy.api#documentation": "The maximum number of results to return in the response.
" + "smithy.api#documentation": "The type of resource.
" } }, "nextToken": { @@ -1475,10 +1473,10 @@ "smithy.api#documentation": "A token used for pagination of results returned.
" } }, - "resourceType": { - "target": "com.amazonaws.accessanalyzer#ResourceType", + "maxResults": { + "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "The type of resource.
" + "smithy.api#documentation": "The maximum number of results to return in the response.
" } } }, @@ -1545,13 +1543,6 @@ "com.amazonaws.accessanalyzer#ListAnalyzersRequest": { "type": "structure", "members": { - "maxResults": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "The maximum number of results to return in the response.
", - "smithy.api#httpQuery": "maxResults" - } - }, "nextToken": { "target": "com.amazonaws.accessanalyzer#Token", "traits": { @@ -1559,6 +1550,13 @@ "smithy.api#httpQuery": "nextToken" } }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "The maximum number of results to return in the response.
", + "smithy.api#httpQuery": "maxResults" + } + }, "type": { "target": "com.amazonaws.accessanalyzer#Type", "traits": { @@ -1638,19 +1636,19 @@ "smithy.api#required": {} } }, - "maxResults": { - "target": "smithy.api#Integer", - "traits": { - "smithy.api#documentation": "The maximum number of results to return in the request.
", - "smithy.api#httpQuery": "maxResults" - } - }, "nextToken": { "target": "com.amazonaws.accessanalyzer#Token", "traits": { "smithy.api#documentation": "A token used for pagination of results returned.
", "smithy.api#httpQuery": "nextToken" } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "The maximum number of results to return in the request.
", + "smithy.api#httpQuery": "maxResults" + } } }, "traits": { @@ -1713,8 +1711,7 @@ "smithy.api#paginated": { "items": "findings" }, - "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#readonly": {} } }, "com.amazonaws.accessanalyzer#ListFindingsRequest": { @@ -1733,10 +1730,10 @@ "smithy.api#documentation": "A filter to match for the findings to return.
" } }, - "maxResults": { - "target": "smithy.api#Integer", + "sort": { + "target": "com.amazonaws.accessanalyzer#SortCriteria", "traits": { - "smithy.api#documentation": "The maximum number of results to return in the response.
" + "smithy.api#documentation": "The sort order for the findings returned.
" } }, "nextToken": { @@ -1745,10 +1742,10 @@ "smithy.api#documentation": "A token used for pagination of results returned.
" } }, - "sort": { - "target": "com.amazonaws.accessanalyzer#SortCriteria", + "maxResults": { + "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "The sort order for the findings returned.
" + "smithy.api#documentation": "The maximum number of results to return in the response.
" } } }, @@ -1809,8 +1806,7 @@ "uri": "/tags/{resourceArn}", "code": 200 }, - "smithy.api#readonly": {}, - "smithy.api#suppress": ["TrebuchetMissingPaginatedTrait", "MissingPaginatedTrait"] + "smithy.api#readonly": {} } }, "com.amazonaws.accessanalyzer#ListTagsForResourceRequest": { @@ -2314,11 +2310,12 @@ "smithy.api#required": {} } }, - "clientToken": { - "target": "smithy.api#String", + "ruleName": { + "target": "com.amazonaws.accessanalyzer#Name", "traits": { - "smithy.api#documentation": "A client token.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "The name of the rule to update.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "filter": { @@ -2328,12 +2325,11 @@ "smithy.api#required": {} } }, - "ruleName": { - "target": "com.amazonaws.accessanalyzer#Name", + "clientToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the rule to update.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "A client token.
", + "smithy.api#idempotencyToken": {} } } }, @@ -2383,11 +2379,11 @@ "smithy.api#required": {} } }, - "clientToken": { - "target": "smithy.api#String", + "status": { + "target": "com.amazonaws.accessanalyzer#FindingStatusUpdate", "traits": { - "smithy.api#documentation": "A client token.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "The state represents the action to take to update the finding Status. Use\n ARCHIVE
to change an Active finding to an Archived finding. Use\n ACTIVE
to change an Archived finding to an Active finding.
The ARN of the resource identified in the finding.
" } }, - "status": { - "target": "com.amazonaws.accessanalyzer#FindingStatusUpdate", + "clientToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The state represents the action to take to update the finding Status. Use\n ARCHIVE
to change an Active finding to an Archived finding. Use\n ACTIVE
to change an Archived finding to an Active finding.
A client token.
", + "smithy.api#idempotencyToken": {} } } }, @@ -2417,12 +2413,6 @@ "com.amazonaws.accessanalyzer#ValidationException": { "type": "structure", "members": { - "fieldList": { - "target": "com.amazonaws.accessanalyzer#ValidationExceptionFieldList", - "traits": { - "smithy.api#documentation": "A list of fields that didn't validate.
" - } - }, "message": { "target": "smithy.api#String", "traits": { @@ -2435,6 +2425,12 @@ "smithy.api#documentation": "The reason for the exception.
", "smithy.api#required": {} } + }, + "fieldList": { + "target": "com.amazonaws.accessanalyzer#ValidationExceptionFieldList", + "traits": { + "smithy.api#documentation": "A list of fields that didn't validate.
" + } } }, "traits": { @@ -2446,17 +2442,17 @@ "com.amazonaws.accessanalyzer#ValidationExceptionField": { "type": "structure", "members": { - "message": { + "name": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "A message about the validation exception.
", + "smithy.api#documentation": "The name of the validation exception.
", "smithy.api#required": {} } }, - "name": { + "message": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the validation exception.
", + "smithy.api#documentation": "A message about the validation exception.
", "smithy.api#required": {} } } diff --git a/codegen/sdk-codegen/aws-models/app-mesh.2019-01-25.json b/codegen/sdk-codegen/aws-models/app-mesh.2019-01-25.json index 0c03a71d0d97..06d5754c786f 100644 --- a/codegen/sdk-codegen/aws-models/app-mesh.2019-01-25.json +++ b/codegen/sdk-codegen/aws-models/app-mesh.2019-01-25.json @@ -88,12 +88,6 @@ "com.amazonaws.appmesh#AwsCloudMapServiceDiscovery": { "type": "structure", "members": { - "attributes": { - "target": "com.amazonaws.appmesh#AwsCloudMapInstanceAttributes", - "traits": { - "smithy.api#documentation": "A string map that contains attributes with values that you can use to filter instances\n by any custom attribute that you specified when you registered the instance. Only instances\n that match all of the specified key/value pairs will be returned.
" - } - }, "namespaceName": { "target": "com.amazonaws.appmesh#AwsCloudMapName", "traits": { @@ -107,6 +101,12 @@ "smithy.api#documentation": "The name of the AWS Cloud Map service to use.
", "smithy.api#required": {} } + }, + "attributes": { + "target": "com.amazonaws.appmesh#AwsCloudMapInstanceAttributes", + "traits": { + "smithy.api#documentation": "A string map that contains attributes with values that you can use to filter instances\n by any custom attribute that you specified when you registered the instance. Only instances\n that match all of the specified key/value pairs will be returned.
" + } } }, "traits": { @@ -117,18 +117,9 @@ "type": "service", "version": "2019-01-25", "operations": [ - { - "target": "com.amazonaws.appmesh#DeleteMeshPolicy" - }, - { - "target": "com.amazonaws.appmesh#GetMeshPolicy" - }, { "target": "com.amazonaws.appmesh#ListTagsForResource" }, - { - "target": "com.amazonaws.appmesh#PutMeshPolicy" - }, { "target": "com.amazonaws.appmesh#TagResource" }, @@ -148,7 +139,7 @@ "cloudTrailEventSource": "appmesh.amazonaws.com" }, "aws.auth#sigv4": { - "name": "" + "name": "appmesh" }, "aws.protocols#restJson1": {}, "smithy.api#cors": {}, @@ -248,7 +239,8 @@ "validation": { "target": "com.amazonaws.appmesh#TlsValidationContext", "traits": { - "smithy.api#documentation": "A reference to an object that represents a TLS validation context.
" + "smithy.api#documentation": "A reference to an object that represents a TLS validation context.
", + "smithy.api#required": {} } } }, @@ -269,13 +261,13 @@ "smithy.api#httpError": 409 } }, - "com.amazonaws.appmesh#CreateMesh": { + "com.amazonaws.appmesh#CreateGatewayRoute": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#CreateMeshInput" + "target": "com.amazonaws.appmesh#CreateGatewayRouteInput" }, "output": { - "target": "com.amazonaws.appmesh#CreateMeshOutput" + "target": "com.amazonaws.appmesh#CreateGatewayRouteOutput" }, "errors": [ { @@ -304,73 +296,90 @@ } ], "traits": { - "smithy.api#documentation": "Creates a service mesh.
\nA service mesh is a logical boundary for network traffic between services that are\n represented by resources within the mesh. After you create your service mesh, you can\n create virtual services, virtual nodes, virtual routers, and routes to distribute traffic\n between the applications in your mesh.
\nFor more information about service meshes, see Service meshes.
", + "smithy.api#documentation": "Creates a gateway route.
\nA gateway route is attached to a virtual gateway and routes traffic to an existing\n virtual service. If a route matches a request, it can distribute traffic to a target virtual service.
\nFor more information about gateway routes, see Gateway routes.
", "smithy.api#http": { "method": "PUT", - "uri": "/v20190125/meshes", + "uri": "/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#CreateMeshInput": { + "com.amazonaws.appmesh#CreateGatewayRouteInput": { "type": "structure", "members": { - "clientToken": { - "target": "smithy.api#String", + "gatewayRouteName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "The name to use for the gateway route.
", + "smithy.api#required": {} } }, "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name to use for the service mesh.
", + "smithy.api#documentation": "The name of the service mesh to create the gateway route in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the virtual gateway to associate the gateway route with. If the virtual\n gateway is in a shared mesh, then you must be the owner of the virtual gateway\n resource.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "spec": { - "target": "com.amazonaws.appmesh#MeshSpec", + "target": "com.amazonaws.appmesh#GatewayRouteSpec", "traits": { - "smithy.api#documentation": "The service mesh specification to apply.
" + "smithy.api#documentation": "The gateway route specification to apply.
", + "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.appmesh#TagList", "traits": { - "smithy.api#documentation": "Optional metadata that you can apply to the service mesh to assist with categorization\n and organization. Each tag consists of a key and an optional value, both of which you\n define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", - "smithy.api#tags": ["not-preview"] + "smithy.api#documentation": "Optional metadata that you can apply to the gateway route to assist with categorization\n and organization. Each tag consists of a key and an optional value, both of which you\n define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
" + } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } } - }, - "traits": { - "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#CreateMeshOutput": { + "com.amazonaws.appmesh#CreateGatewayRouteOutput": { "type": "structure", "members": { - "mesh": { - "target": "com.amazonaws.appmesh#MeshData", + "gatewayRoute": { + "target": "com.amazonaws.appmesh#GatewayRouteData", "traits": { - "smithy.api#documentation": "The full description of your service mesh following the create call.
", + "smithy.api#documentation": "The full description of your gateway route following the create call.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } } - }, - "traits": { - "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#CreateRoute": { + "com.amazonaws.appmesh#CreateMesh": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#CreateRouteInput" + "target": "com.amazonaws.appmesh#CreateMeshInput" }, "output": { - "target": "com.amazonaws.appmesh#CreateRouteOutput" + "target": "com.amazonaws.appmesh#CreateMeshOutput" }, "errors": [ { @@ -399,68 +408,43 @@ } ], "traits": { - "smithy.api#documentation": "Creates a route that is associated with a virtual router.
\nYou can route several different protocols and define a retry policy for a route.\n Traffic can be routed to one or more virtual nodes.
\nFor more information about routes, see Routes.
", + "smithy.api#documentation": "Creates a service mesh.
\nA service mesh is a logical boundary for network traffic between services that are\n represented by resources within the mesh. After you create your service mesh, you can\n create virtual services, virtual nodes, virtual routers, and routes to distribute traffic\n between the applications in your mesh.
\nFor more information about service meshes, see Service meshes.
", "smithy.api#http": { "method": "PUT", - "uri": "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", + "uri": "/v20190125/meshes", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#CreateRouteInput": { + "com.amazonaws.appmesh#CreateMeshInput": { "type": "structure", "members": { - "clientToken": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", - "smithy.api#idempotencyToken": {} - } - }, "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to create the route in.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", - "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, - "routeName": { - "target": "com.amazonaws.appmesh#ResourceName", - "traits": { - "smithy.api#documentation": "The name to use for the route.
", + "smithy.api#documentation": "The name to use for the service mesh.
", "smithy.api#required": {} } }, "spec": { - "target": "com.amazonaws.appmesh#RouteSpec", + "target": "com.amazonaws.appmesh#MeshSpec", "traits": { - "smithy.api#documentation": "The route specification to apply.
", - "smithy.api#required": {} + "smithy.api#documentation": "The service mesh specification to apply.
" } }, "tags": { "target": "com.amazonaws.appmesh#TagList", "traits": { - "smithy.api#documentation": "Optional metadata that you can apply to the route to assist with categorization and\n organization. Each tag consists of a key and an optional value, both of which you define.\n Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", + "smithy.api#documentation": "Optional metadata that you can apply to the service mesh to assist with categorization\n and organization. Each tag consists of a key and an optional value, both of which you\n define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", "smithy.api#tags": ["not-preview"] } }, - "virtualRouterName": { - "target": "com.amazonaws.appmesh#ResourceName", + "clientToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the virtual router in which to create the route. If the virtual router is in\n a shared mesh, then you must be the owner of the virtual router resource.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} } } }, @@ -468,13 +452,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#CreateRouteOutput": { + "com.amazonaws.appmesh#CreateMeshOutput": { "type": "structure", "members": { - "route": { - "target": "com.amazonaws.appmesh#RouteData", + "mesh": { + "target": "com.amazonaws.appmesh#MeshData", "traits": { - "smithy.api#documentation": "The full description of your mesh following the create call.
", + "smithy.api#documentation": "The full description of your service mesh following the create call.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -484,13 +468,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#CreateVirtualNode": { + "com.amazonaws.appmesh#CreateRoute": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#CreateVirtualNodeInput" + "target": "com.amazonaws.appmesh#CreateRouteInput" }, "output": { - "target": "com.amazonaws.appmesh#CreateVirtualNodeOutput" + "target": "com.amazonaws.appmesh#CreateRouteOutput" }, "errors": [ { @@ -519,60 +503,67 @@ } ], "traits": { - "smithy.api#documentation": "Creates a virtual node within a service mesh.
\nA virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS\n service or a Kubernetes deployment. When you create a virtual node, you can specify the\n service discovery information for your task group, and whether the proxy running in a task\n group will communicate with other proxies using Transport Layer Security (TLS).
\nYou define a listener
for any inbound traffic that your virtual node\n expects. Any virtual service that your virtual node expects to communicate to is specified\n as a backend
.
The response metadata for your new virtual node contains the arn
that is\n associated with the virtual node. Set this value (either the full ARN or the truncated\n resource name: for example, mesh/default/virtualNode/simpleapp
) as the\n APPMESH_VIRTUAL_NODE_NAME
environment variable for your task group's Envoy\n proxy container in your task definition or pod spec. This is then mapped to the\n node.id
and node.cluster
Envoy parameters.
If you require your Envoy stats or tracing to use a different name, you can override\n the node.cluster
value that is set by\n APPMESH_VIRTUAL_NODE_NAME
with the\n APPMESH_VIRTUAL_NODE_CLUSTER
environment variable.
For more information about virtual nodes, see Virtual nodes.
", + "smithy.api#documentation": "Creates a route that is associated with a virtual router.
\nYou can route several different protocols and define a retry policy for a route.\n Traffic can be routed to one or more virtual nodes.
\nFor more information about routes, see Routes.
", "smithy.api#http": { "method": "PUT", - "uri": "/v20190125/meshes/{meshName}/virtualNodes", + "uri": "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#CreateVirtualNodeInput": { + "com.amazonaws.appmesh#CreateRouteInput": { "type": "structure", "members": { - "clientToken": { - "target": "smithy.api#String", + "routeName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "The name to use for the route.
", + "smithy.api#required": {} } }, "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to create the virtual node in.
", + "smithy.api#documentation": "The name of the service mesh to create the route in.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", + "virtualRouterName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The name of the virtual router in which to create the route. If the virtual router is in\n a shared mesh, then you must be the owner of the virtual router resource.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "spec": { - "target": "com.amazonaws.appmesh#VirtualNodeSpec", + "target": "com.amazonaws.appmesh#RouteSpec", "traits": { - "smithy.api#documentation": "The virtual node specification to apply.
", + "smithy.api#documentation": "The route specification to apply.
", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.appmesh#TagList", "traits": { - "smithy.api#documentation": "Optional metadata that you can apply to the virtual node to assist with categorization\n and organization. Each tag consists of a key and an optional value, both of which you\n define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", + "smithy.api#documentation": "Optional metadata that you can apply to the route to assist with categorization and\n organization. Each tag consists of a key and an optional value, both of which you define.\n Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", "smithy.api#tags": ["not-preview"] } }, - "virtualNodeName": { - "target": "com.amazonaws.appmesh#ResourceName", + "clientToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name to use for the virtual node.
", - "smithy.api#required": {} + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } } }, @@ -580,13 +571,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#CreateVirtualNodeOutput": { + "com.amazonaws.appmesh#CreateRouteOutput": { "type": "structure", "members": { - "virtualNode": { - "target": "com.amazonaws.appmesh#VirtualNodeData", + "route": { + "target": "com.amazonaws.appmesh#RouteData", "traits": { - "smithy.api#documentation": "The full description of your virtual node following the create call.
", + "smithy.api#documentation": "The full description of your mesh following the create call.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -596,13 +587,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#CreateVirtualRouter": { + "com.amazonaws.appmesh#CreateVirtualGateway": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#CreateVirtualRouterInput" + "target": "com.amazonaws.appmesh#CreateVirtualGatewayInput" }, "output": { - "target": "com.amazonaws.appmesh#CreateVirtualRouterOutput" + "target": "com.amazonaws.appmesh#CreateVirtualGatewayOutput" }, "errors": [ { @@ -631,90 +622,82 @@ } ], "traits": { - "smithy.api#documentation": "Creates a virtual router within a service mesh.
\nSpecify a listener
for any inbound traffic that your virtual router\n receives. Create a virtual router for each protocol and port that you need to route.\n Virtual routers handle traffic for one or more virtual services within your mesh. After you\n create your virtual router, create and associate routes for your virtual router that direct\n incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers.
", + "smithy.api#documentation": "Creates a virtual gateway.
\nA virtual gateway allows resources outside your mesh to communicate to resources that\n are inside your mesh. The virtual gateway represents an Envoy proxy running in an Amazon ECS\n task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual node, which\n represents an Envoy running with an application, a virtual gateway represents Envoy deployed by itself.
\nFor more information about virtual gateways, see Virtual gateways.
", "smithy.api#http": { "method": "PUT", - "uri": "/v20190125/meshes/{meshName}/virtualRouters", + "uri": "/v20190125/meshes/{meshName}/virtualGateways", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#CreateVirtualRouterInput": { + "com.amazonaws.appmesh#CreateVirtualGatewayInput": { "type": "structure", "members": { - "clientToken": { - "target": "smithy.api#String", + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "The name to use for the virtual gateway.
", + "smithy.api#required": {} } }, "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to create the virtual router in.
", + "smithy.api#documentation": "The name of the service mesh to create the virtual gateway in.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", - "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, "spec": { - "target": "com.amazonaws.appmesh#VirtualRouterSpec", + "target": "com.amazonaws.appmesh#VirtualGatewaySpec", "traits": { - "smithy.api#documentation": "The virtual router specification to apply.
", + "smithy.api#documentation": "The virtual gateway specification to apply.
", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.appmesh#TagList", "traits": { - "smithy.api#documentation": "Optional metadata that you can apply to the virtual router to assist with categorization\n and organization. Each tag consists of a key and an optional value, both of which you\n define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", - "smithy.api#tags": ["not-preview"] + "smithy.api#documentation": "Optional metadata that you can apply to the virtual gateway to assist with\n categorization and organization. Each tag consists of a key and an optional value, both of\n which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
" } }, - "virtualRouterName": { - "target": "com.amazonaws.appmesh#ResourceName", + "clientToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name to use for the virtual router.
", - "smithy.api#required": {} + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } } - }, - "traits": { - "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#CreateVirtualRouterOutput": { + "com.amazonaws.appmesh#CreateVirtualGatewayOutput": { "type": "structure", "members": { - "virtualRouter": { - "target": "com.amazonaws.appmesh#VirtualRouterData", + "virtualGateway": { + "target": "com.amazonaws.appmesh#VirtualGatewayData", "traits": { - "smithy.api#documentation": "The full description of your virtual router following the create call.
", + "smithy.api#documentation": "The full description of your virtual gateway following the create call.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } } - }, - "traits": { - "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#CreateVirtualService": { + "com.amazonaws.appmesh#CreateVirtualNode": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#CreateVirtualServiceInput" + "target": "com.amazonaws.appmesh#CreateVirtualNodeInput" }, "output": { - "target": "com.amazonaws.appmesh#CreateVirtualServiceOutput" + "target": "com.amazonaws.appmesh#CreateVirtualNodeOutput" }, "errors": [ { @@ -743,60 +726,59 @@ } ], "traits": { - "smithy.api#documentation": "Creates a virtual service within a service mesh.
\nA virtual service is an abstraction of a real service that is provided by a virtual node\n directly or indirectly by means of a virtual router. Dependent services call your virtual\n service by its virtualServiceName
, and those requests are routed to the\n virtual node or virtual router that is specified as the provider for the virtual\n service.
For more information about virtual services, see Virtual services.
", + "smithy.api#documentation": "Creates a virtual node within a service mesh.
\nA virtual node acts as a logical pointer to a particular task group, such as an Amazon ECS\n service or a Kubernetes deployment. When you create a virtual node, you can specify the\n service discovery information for your task group, and whether the proxy running in a task\n group will communicate with other proxies using Transport Layer Security (TLS).
\nYou define a listener
for any inbound traffic that your virtual node\n expects. Any virtual service that your virtual node expects to communicate to is specified\n as a backend
.
The response metadata for your new virtual node contains the arn
that is\n associated with the virtual node. Set this value (either the full ARN or the truncated\n resource name: for example, mesh/default/virtualNode/simpleapp
) as the\n APPMESH_VIRTUAL_NODE_NAME
environment variable for your task group's Envoy\n proxy container in your task definition or pod spec. This is then mapped to the\n node.id
and node.cluster
Envoy parameters.
If you require your Envoy stats or tracing to use a different name, you can override\n the node.cluster
value that is set by\n APPMESH_VIRTUAL_NODE_NAME
with the\n APPMESH_VIRTUAL_NODE_CLUSTER
environment variable.
For more information about virtual nodes, see Virtual nodes.
", "smithy.api#http": { "method": "PUT", - "uri": "/v20190125/meshes/{meshName}/virtualServices", + "uri": "/v20190125/meshes/{meshName}/virtualNodes", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#CreateVirtualServiceInput": { + "com.amazonaws.appmesh#CreateVirtualNodeInput": { "type": "structure", "members": { - "clientToken": { - "target": "smithy.api#String", + "virtualNodeName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "The name to use for the virtual node.
", + "smithy.api#required": {} } }, "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to create the virtual service in.
", + "smithy.api#documentation": "The name of the service mesh to create the virtual node in.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", - "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, "spec": { - "target": "com.amazonaws.appmesh#VirtualServiceSpec", + "target": "com.amazonaws.appmesh#VirtualNodeSpec", "traits": { - "smithy.api#documentation": "The virtual service specification to apply.
", + "smithy.api#documentation": "The virtual node specification to apply.
", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.appmesh#TagList", "traits": { - "smithy.api#documentation": "Optional metadata that you can apply to the virtual service to assist with\n categorization and organization. Each tag consists of a key and an optional value, both of\n which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", + "smithy.api#documentation": "Optional metadata that you can apply to the virtual node to assist with categorization\n and organization. Each tag consists of a key and an optional value, both of which you\n define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", "smithy.api#tags": ["not-preview"] } }, - "virtualServiceName": { - "target": "com.amazonaws.appmesh#ServiceName", + "clientToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name to use for the virtual service.
", - "smithy.api#required": {} + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } } }, @@ -804,13 +786,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#CreateVirtualServiceOutput": { + "com.amazonaws.appmesh#CreateVirtualNodeOutput": { "type": "structure", "members": { - "virtualService": { - "target": "com.amazonaws.appmesh#VirtualServiceData", + "virtualNode": { + "target": "com.amazonaws.appmesh#VirtualNodeData", "traits": { - "smithy.api#documentation": "The full description of your virtual service following the create call.
", + "smithy.api#documentation": "The full description of your virtual node following the create call.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -820,18 +802,21 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteMesh": { + "com.amazonaws.appmesh#CreateVirtualRouter": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DeleteMeshInput" + "target": "com.amazonaws.appmesh#CreateVirtualRouterInput" }, "output": { - "target": "com.amazonaws.appmesh#DeleteMeshOutput" + "target": "com.amazonaws.appmesh#CreateVirtualRouterOutput" }, "errors": [ { "target": "com.amazonaws.appmesh#BadRequestException" }, + { + "target": "com.amazonaws.appmesh#ConflictException" + }, { "target": "com.amazonaws.appmesh#ForbiddenException" }, @@ -839,10 +824,10 @@ "target": "com.amazonaws.appmesh#InternalServerErrorException" }, { - "target": "com.amazonaws.appmesh#NotFoundException" + "target": "com.amazonaws.appmesh#LimitExceededException" }, { - "target": "com.amazonaws.appmesh#ResourceInUseException" + "target": "com.amazonaws.appmesh#NotFoundException" }, { "target": "com.amazonaws.appmesh#ServiceUnavailableException" @@ -852,38 +837,73 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an existing service mesh.
\nYou must delete all resources (virtual services, routes, virtual routers, and virtual\n nodes) in the service mesh before you can delete the mesh itself.
", + "smithy.api#documentation": "Creates a virtual router within a service mesh.
\nSpecify a listener
for any inbound traffic that your virtual router\n receives. Create a virtual router for each protocol and port that you need to route.\n Virtual routers handle traffic for one or more virtual services within your mesh. After you\n create your virtual router, create and associate routes for your virtual router that direct\n incoming requests to different virtual nodes.
For more information about virtual routers, see Virtual routers.
", "smithy.api#http": { - "method": "DELETE", - "uri": "/v20190125/meshes/{meshName}", + "method": "PUT", + "uri": "/v20190125/meshes/{meshName}/virtualRouters", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#DeleteMeshInput": { + "com.amazonaws.appmesh#CreateVirtualRouterInput": { "type": "structure", "members": { + "virtualRouterName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name to use for the virtual router.
", + "smithy.api#required": {} + } + }, "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to delete.
", + "smithy.api#documentation": "The name of the service mesh to create the virtual router in.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "spec": { + "target": "com.amazonaws.appmesh#VirtualRouterSpec", + "traits": { + "smithy.api#documentation": "The virtual router specification to apply.
", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.appmesh#TagList", + "traits": { + "smithy.api#documentation": "Optional metadata that you can apply to the virtual router to assist with categorization\n and organization. Each tag consists of a key and an optional value, both of which you\n define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", + "smithy.api#tags": ["not-preview"] + } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } } }, "traits": { "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteMeshOutput": { + "com.amazonaws.appmesh#CreateVirtualRouterOutput": { "type": "structure", "members": { - "mesh": { - "target": "com.amazonaws.appmesh#MeshData", + "virtualRouter": { + "target": "com.amazonaws.appmesh#VirtualRouterData", "traits": { - "smithy.api#documentation": "The service mesh that was deleted.
", + "smithy.api#documentation": "The full description of your virtual router following the create call.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -893,13 +913,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteMeshPolicy": { + "com.amazonaws.appmesh#CreateVirtualService": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DeleteMeshPolicyInput" + "target": "com.amazonaws.appmesh#CreateVirtualServiceInput" }, "output": { - "target": "com.amazonaws.appmesh#DeleteMeshPolicyOutput" + "target": "com.amazonaws.appmesh#CreateVirtualServiceOutput" }, "errors": [ { @@ -928,44 +948,89 @@ } ], "traits": { + "smithy.api#documentation": "Creates a virtual service within a service mesh.
\nA virtual service is an abstraction of a real service that is provided by a virtual node\n directly or indirectly by means of a virtual router. Dependent services call your virtual\n service by its virtualServiceName
, and those requests are routed to the\n virtual node or virtual router that is specified as the provider for the virtual\n service.
For more information about virtual services, see Virtual services.
", "smithy.api#http": { - "method": "com.amazonaws.appmesh#DELETE", - "uri": "/v20190125/meshPolicy", + "method": "PUT", + "uri": "/v20190125/meshes/{meshName}/virtualServices", "code": 200 }, - "smithy.api#idempotent": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#internal"] + "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#DeleteMeshPolicyInput": { + "com.amazonaws.appmesh#CreateVirtualServiceInput": { "type": "structure", "members": { - "meshArn": { - "target": "com.amazonaws.appmesh#Arn", + "virtualServiceName": { + "target": "com.amazonaws.appmesh#ServiceName", + "traits": { + "smithy.api#documentation": "The name to use for the virtual service.
", + "smithy.api#required": {} + } + }, + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh to create the virtual service in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "spec": { + "target": "com.amazonaws.appmesh#VirtualServiceSpec", "traits": { - "smithy.api#httpQuery": "meshArn", + "smithy.api#documentation": "The virtual service specification to apply.
", "smithy.api#required": {} } + }, + "tags": { + "target": "com.amazonaws.appmesh#TagList", + "traits": { + "smithy.api#documentation": "Optional metadata that you can apply to the virtual service to assist with\n categorization and organization. Each tag consists of a key and an optional value, both of\n which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", + "smithy.api#tags": ["not-preview"] + } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then\n the account that you specify must share the mesh with your account before you can create \n the resource in the service mesh. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } } }, "traits": { - "smithy.api#tags": ["com.amazonaws.appmesh#internal"] + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteMeshPolicyOutput": { + "com.amazonaws.appmesh#CreateVirtualServiceOutput": { "type": "structure", - "members": {}, + "members": { + "virtualService": { + "target": "com.amazonaws.appmesh#VirtualServiceData", + "traits": { + "smithy.api#documentation": "The full description of your virtual service following the create call.
", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } + } + }, "traits": { - "smithy.api#tags": ["com.amazonaws.appmesh#internal"] + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteRoute": { + "com.amazonaws.appmesh#DeleteGatewayRoute": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DeleteRouteInput" + "target": "com.amazonaws.appmesh#DeleteGatewayRouteInput" }, "output": { - "target": "com.amazonaws.appmesh#DeleteRouteOutput" + "target": "com.amazonaws.appmesh#DeleteGatewayRouteOutput" }, "errors": [ { @@ -991,78 +1056,71 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an existing route.
", + "smithy.api#documentation": "Deletes an existing gateway route.
", "smithy.api#http": { "method": "DELETE", - "uri": "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", + "uri": "/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#DeleteRouteInput": { + "com.amazonaws.appmesh#DeleteGatewayRouteInput": { "type": "structure", "members": { - "meshName": { + "gatewayRouteName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to delete the route in.
", + "smithy.api#documentation": "The name of the gateway route to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", - "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, - "routeName": { + "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the route to delete.
", + "smithy.api#documentation": "The name of the service mesh to delete the gateway route from.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "virtualRouterName": { + "virtualGatewayName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the virtual router to delete the route in.
", + "smithy.api#documentation": "The name of the virtual gateway to delete the route from.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } } - }, - "traits": { - "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteRouteOutput": { + "com.amazonaws.appmesh#DeleteGatewayRouteOutput": { "type": "structure", "members": { - "route": { - "target": "com.amazonaws.appmesh#RouteData", + "gatewayRoute": { + "target": "com.amazonaws.appmesh#GatewayRouteData", "traits": { - "smithy.api#documentation": "The route that was deleted.
", + "smithy.api#documentation": "The gateway route that was deleted.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } } - }, - "traits": { - "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteVirtualNode": { + "com.amazonaws.appmesh#DeleteMesh": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DeleteVirtualNodeInput" + "target": "com.amazonaws.appmesh#DeleteMeshInput" }, "output": { - "target": "com.amazonaws.appmesh#DeleteVirtualNodeOutput" + "target": "com.amazonaws.appmesh#DeleteMeshOutput" }, "errors": [ { @@ -1088,38 +1146,22 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an existing virtual node.
\nYou must delete any virtual services that list a virtual node as a service provider\n before you can delete the virtual node itself.
", + "smithy.api#documentation": "Deletes an existing service mesh.
\nYou must delete all resources (virtual services, routes, virtual routers, and virtual\n nodes) in the service mesh before you can delete the mesh itself.
", "smithy.api#http": { "method": "DELETE", - "uri": "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}", + "uri": "/v20190125/meshes/{meshName}", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#DeleteVirtualNodeInput": { + "com.amazonaws.appmesh#DeleteMeshInput": { "type": "structure", "members": { "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to delete the virtual node in.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} - } - }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", - "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, - "virtualNodeName": { - "target": "com.amazonaws.appmesh#ResourceName", - "traits": { - "smithy.api#documentation": "The name of the virtual node to delete.
", + "smithy.api#documentation": "The name of the service mesh to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1129,13 +1171,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteVirtualNodeOutput": { + "com.amazonaws.appmesh#DeleteMeshOutput": { "type": "structure", "members": { - "virtualNode": { - "target": "com.amazonaws.appmesh#VirtualNodeData", + "mesh": { + "target": "com.amazonaws.appmesh#MeshData", "traits": { - "smithy.api#documentation": "The virtual node that was deleted.
", + "smithy.api#documentation": "The service mesh that was deleted.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -1145,13 +1187,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteVirtualRouter": { + "com.amazonaws.appmesh#DeleteRoute": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DeleteVirtualRouterInput" + "target": "com.amazonaws.appmesh#DeleteRouteInput" }, "output": { - "target": "com.amazonaws.appmesh#DeleteVirtualRouterOutput" + "target": "com.amazonaws.appmesh#DeleteRouteOutput" }, "errors": [ { @@ -1177,54 +1219,61 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an existing virtual router.
\nYou must delete any routes associated with the virtual router before you can delete the\n router itself.
", + "smithy.api#documentation": "Deletes an existing route.
", "smithy.api#http": { "method": "DELETE", - "uri": "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}", + "uri": "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#DeleteVirtualRouterInput": { + "com.amazonaws.appmesh#DeleteRouteInput": { "type": "structure", "members": { - "meshName": { + "routeName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to delete the virtual router in.
", + "smithy.api#documentation": "The name of the route to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The name of the service mesh to delete the route in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, "virtualRouterName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the virtual router to delete.
", + "smithy.api#documentation": "The name of the virtual router to delete the route in.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } - } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } + } }, "traits": { "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteVirtualRouterOutput": { + "com.amazonaws.appmesh#DeleteRouteOutput": { "type": "structure", "members": { - "virtualRouter": { - "target": "com.amazonaws.appmesh#VirtualRouterData", + "route": { + "target": "com.amazonaws.appmesh#RouteData", "traits": { - "smithy.api#documentation": "The virtual router that was deleted.
", + "smithy.api#documentation": "The route that was deleted.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -1234,13 +1283,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteVirtualService": { + "com.amazonaws.appmesh#DeleteVirtualGateway": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DeleteVirtualServiceInput" + "target": "com.amazonaws.appmesh#DeleteVirtualGatewayInput" }, "output": { - "target": "com.amazonaws.appmesh#DeleteVirtualServiceOutput" + "target": "com.amazonaws.appmesh#DeleteVirtualGatewayOutput" }, "errors": [ { @@ -1255,6 +1304,9 @@ { "target": "com.amazonaws.appmesh#NotFoundException" }, + { + "target": "com.amazonaws.appmesh#ResourceInUseException" + }, { "target": "com.amazonaws.appmesh#ServiceUnavailableException" }, @@ -1263,22 +1315,30 @@ } ], "traits": { - "smithy.api#documentation": "Deletes an existing virtual service.
", + "smithy.api#documentation": "Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway\n routes are associated to it.
", "smithy.api#http": { "method": "DELETE", - "uri": "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}", + "uri": "/v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}", "code": 200 }, "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#DeleteVirtualServiceInput": { + "com.amazonaws.appmesh#DeleteVirtualGatewayInput": { "type": "structure", "members": { + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the virtual gateway to delete.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to delete the virtual service in.
", + "smithy.api#documentation": "The name of the service mesh to delete the virtual gateway from.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1287,46 +1347,31 @@ "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, - "virtualServiceName": { - "target": "com.amazonaws.appmesh#ServiceName", - "traits": { - "smithy.api#documentation": "The name of the virtual service to delete.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#httpQuery": "meshOwner" } } - }, - "traits": { - "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DeleteVirtualServiceOutput": { + "com.amazonaws.appmesh#DeleteVirtualGatewayOutput": { "type": "structure", "members": { - "virtualService": { - "target": "com.amazonaws.appmesh#VirtualServiceData", + "virtualGateway": { + "target": "com.amazonaws.appmesh#VirtualGatewayData", "traits": { - "smithy.api#documentation": "The virtual service that was deleted.
", + "smithy.api#documentation": "The virtual gateway that was deleted.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } } - }, - "traits": { - "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DescribeMesh": { + "com.amazonaws.appmesh#DeleteVirtualNode": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DescribeMeshInput" + "target": "com.amazonaws.appmesh#DeleteVirtualNodeInput" }, "output": { - "target": "com.amazonaws.appmesh#DescribeMeshOutput" + "target": "com.amazonaws.appmesh#DeleteVirtualNodeOutput" }, "errors": [ { @@ -1341,6 +1386,9 @@ { "target": "com.amazonaws.appmesh#NotFoundException" }, + { + "target": "com.amazonaws.appmesh#ResourceInUseException" + }, { "target": "com.amazonaws.appmesh#ServiceUnavailableException" }, @@ -1349,23 +1397,30 @@ } ], "traits": { - "smithy.api#documentation": "Describes an existing service mesh.
", + "smithy.api#documentation": "Deletes an existing virtual node.
\nYou must delete any virtual services that list a virtual node as a service provider\n before you can delete the virtual node itself.
", "smithy.api#http": { - "method": "GET", - "uri": "/v20190125/meshes/{meshName}", + "method": "DELETE", + "uri": "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}", "code": 200 }, - "smithy.api#readonly": {}, - "smithy.api#suppress": ["HttpMethodSemantics"] + "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#DescribeMeshInput": { + "com.amazonaws.appmesh#DeleteVirtualNodeInput": { "type": "structure", "members": { + "virtualNodeName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the virtual node to delete.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to describe.
", + "smithy.api#documentation": "The name of the service mesh to delete the virtual node in.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1374,8 +1429,7 @@ "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#httpQuery": "meshOwner" } } }, @@ -1383,13 +1437,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DescribeMeshOutput": { + "com.amazonaws.appmesh#DeleteVirtualNodeOutput": { "type": "structure", "members": { - "mesh": { - "target": "com.amazonaws.appmesh#MeshData", + "virtualNode": { + "target": "com.amazonaws.appmesh#VirtualNodeData", "traits": { - "smithy.api#documentation": "The full description of your service mesh.
", + "smithy.api#documentation": "The virtual node that was deleted.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -1399,13 +1453,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DescribeRoute": { + "com.amazonaws.appmesh#DeleteVirtualRouter": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DescribeRouteInput" + "target": "com.amazonaws.appmesh#DeleteVirtualRouterInput" }, "output": { - "target": "com.amazonaws.appmesh#DescribeRouteOutput" + "target": "com.amazonaws.appmesh#DeleteVirtualRouterOutput" }, "errors": [ { @@ -1420,6 +1474,9 @@ { "target": "com.amazonaws.appmesh#NotFoundException" }, + { + "target": "com.amazonaws.appmesh#ResourceInUseException" + }, { "target": "com.amazonaws.appmesh#ServiceUnavailableException" }, @@ -1428,48 +1485,39 @@ } ], "traits": { - "smithy.api#documentation": "Describes an existing route.
", + "smithy.api#documentation": "Deletes an existing virtual router.
\nYou must delete any routes associated with the virtual router before you can delete the\n router itself.
", "smithy.api#http": { - "method": "GET", - "uri": "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", + "method": "DELETE", + "uri": "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}", "code": 200 }, - "smithy.api#readonly": {} + "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#DescribeRouteInput": { + "com.amazonaws.appmesh#DeleteVirtualRouterInput": { "type": "structure", "members": { - "meshName": { + "virtualRouterName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh that the route resides in.
", + "smithy.api#documentation": "The name of the virtual router to delete.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", - "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, - "routeName": { + "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the route to describe.
", + "smithy.api#documentation": "The name of the service mesh to delete the virtual router in.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "virtualRouterName": { - "target": "com.amazonaws.appmesh#ResourceName", + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "The name of the virtual router that the route is associated with.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } } }, @@ -1477,13 +1525,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DescribeRouteOutput": { + "com.amazonaws.appmesh#DeleteVirtualRouterOutput": { "type": "structure", "members": { - "route": { - "target": "com.amazonaws.appmesh#RouteData", + "virtualRouter": { + "target": "com.amazonaws.appmesh#VirtualRouterData", "traits": { - "smithy.api#documentation": "The full description of your route.
", + "smithy.api#documentation": "The virtual router that was deleted.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -1493,13 +1541,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DescribeVirtualNode": { + "com.amazonaws.appmesh#DeleteVirtualService": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DescribeVirtualNodeInput" + "target": "com.amazonaws.appmesh#DeleteVirtualServiceInput" }, "output": { - "target": "com.amazonaws.appmesh#DescribeVirtualNodeOutput" + "target": "com.amazonaws.appmesh#DeleteVirtualServiceOutput" }, "errors": [ { @@ -1514,6 +1562,9 @@ { "target": "com.amazonaws.appmesh#NotFoundException" }, + { + "target": "com.amazonaws.appmesh#ResourceInUseException" + }, { "target": "com.amazonaws.appmesh#ServiceUnavailableException" }, @@ -1522,22 +1573,30 @@ } ], "traits": { - "smithy.api#documentation": "Describes an existing virtual node.
", + "smithy.api#documentation": "Deletes an existing virtual service.
", "smithy.api#http": { - "method": "GET", - "uri": "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}", + "method": "DELETE", + "uri": "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}", "code": 200 }, - "smithy.api#readonly": {} + "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#DescribeVirtualNodeInput": { + "com.amazonaws.appmesh#DeleteVirtualServiceInput": { "type": "structure", "members": { + "virtualServiceName": { + "target": "com.amazonaws.appmesh#ServiceName", + "traits": { + "smithy.api#documentation": "The name of the virtual service to delete.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh that the virtual node resides in.
", + "smithy.api#documentation": "The name of the service mesh to delete the virtual service in.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1546,16 +1605,7 @@ "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, - "virtualNodeName": { - "target": "com.amazonaws.appmesh#ResourceName", - "traits": { - "smithy.api#documentation": "The name of the virtual node to describe.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#httpQuery": "meshOwner" } } }, @@ -1563,13 +1613,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DescribeVirtualNodeOutput": { + "com.amazonaws.appmesh#DeleteVirtualServiceOutput": { "type": "structure", "members": { - "virtualNode": { - "target": "com.amazonaws.appmesh#VirtualNodeData", + "virtualService": { + "target": "com.amazonaws.appmesh#VirtualServiceData", "traits": { - "smithy.api#documentation": "The full description of your virtual node.
", + "smithy.api#documentation": "The virtual service that was deleted.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -1579,13 +1629,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DescribeVirtualRouter": { + "com.amazonaws.appmesh#DescribeGatewayRoute": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DescribeVirtualRouterInput" + "target": "com.amazonaws.appmesh#DescribeGatewayRouteInput" }, "output": { - "target": "com.amazonaws.appmesh#DescribeVirtualRouterOutput" + "target": "com.amazonaws.appmesh#DescribeGatewayRouteOutput" }, "errors": [ { @@ -1608,70 +1658,71 @@ } ], "traits": { - "smithy.api#documentation": "Describes an existing virtual router.
", + "smithy.api#documentation": "Describes an existing gateway route.
", "smithy.api#http": { "method": "GET", - "uri": "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}", + "uri": "/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}", "code": 200 }, "smithy.api#readonly": {} } }, - "com.amazonaws.appmesh#DescribeVirtualRouterInput": { + "com.amazonaws.appmesh#DescribeGatewayRouteInput": { "type": "structure", "members": { - "meshName": { + "gatewayRouteName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh that the virtual router resides in.
", + "smithy.api#documentation": "The name of the gateway route to describe.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The name of the service mesh that the gateway route resides in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "virtualRouterName": { + "virtualGatewayName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the virtual router to describe.
", + "smithy.api#documentation": "The name of the virtual gateway that the gateway route is associated with.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } } - }, - "traits": { - "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DescribeVirtualRouterOutput": { + "com.amazonaws.appmesh#DescribeGatewayRouteOutput": { "type": "structure", "members": { - "virtualRouter": { - "target": "com.amazonaws.appmesh#VirtualRouterData", + "gatewayRoute": { + "target": "com.amazonaws.appmesh#GatewayRouteData", "traits": { - "smithy.api#documentation": "The full description of your virtual router.
", + "smithy.api#documentation": "The full description of your gateway route.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } } - }, - "traits": { - "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DescribeVirtualService": { + "com.amazonaws.appmesh#DescribeMesh": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#DescribeVirtualServiceInput" + "target": "com.amazonaws.appmesh#DescribeMeshInput" }, "output": { - "target": "com.amazonaws.appmesh#DescribeVirtualServiceOutput" + "target": "com.amazonaws.appmesh#DescribeMeshOutput" }, "errors": [ { @@ -1694,22 +1745,22 @@ } ], "traits": { - "smithy.api#documentation": "Describes an existing virtual service.
", + "smithy.api#documentation": "Describes an existing service mesh.
", "smithy.api#http": { "method": "GET", - "uri": "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}", + "uri": "/v20190125/meshes/{meshName}", "code": 200 }, "smithy.api#readonly": {} } }, - "com.amazonaws.appmesh#DescribeVirtualServiceInput": { + "com.amazonaws.appmesh#DescribeMeshInput": { "type": "structure", "members": { "meshName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh that the virtual service resides in.
", + "smithy.api#documentation": "The name of the service mesh to describe.
", "smithy.api#httpLabel": {}, "smithy.api#required": {} } @@ -1718,16 +1769,7 @@ "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, - "virtualServiceName": { - "target": "com.amazonaws.appmesh#ServiceName", - "traits": { - "smithy.api#documentation": "The name of the virtual service to describe.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#httpQuery": "meshOwner" } } }, @@ -1735,13 +1777,13 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DescribeVirtualServiceOutput": { + "com.amazonaws.appmesh#DescribeMeshOutput": { "type": "structure", "members": { - "virtualService": { - "target": "com.amazonaws.appmesh#VirtualServiceData", + "mesh": { + "target": "com.amazonaws.appmesh#MeshData", "traits": { - "smithy.api#documentation": "The full description of your virtual service.
", + "smithy.api#documentation": "The full description of your service mesh.
", "smithy.api#httpPayload": {}, "smithy.api#required": {} } @@ -1751,156 +1793,117 @@ "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#DnsServiceDiscovery": { - "type": "structure", - "members": { - "hostname": { - "target": "com.amazonaws.appmesh#Hostname", - "traits": { - "smithy.api#documentation": "Specifies the DNS service discovery hostname for the virtual node.
", - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#documentation": "An object that represents the DNS service discovery information for your virtual\n node.
" + "com.amazonaws.appmesh#DescribeRoute": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#DescribeRouteInput" + }, + "output": { + "target": "com.amazonaws.appmesh#DescribeRouteOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" + } + ], + "traits": { + "smithy.api#documentation": "Describes an existing route.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", + "code": 200 + }, + "smithy.api#readonly": {} } }, - "com.amazonaws.appmesh#Duration": { + "com.amazonaws.appmesh#DescribeRouteInput": { "type": "structure", "members": { - "unit": { - "target": "com.amazonaws.appmesh#DurationUnit", + "routeName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "A unit of time.
" + "smithy.api#documentation": "The name of the route to describe.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "value": { - "target": "com.amazonaws.appmesh#DurationValue", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "A number of time units.
" + "smithy.api#documentation": "The name of the service mesh that the route resides in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } - } - }, - "traits": { - "smithy.api#documentation": "An object that represents a duration of time.
" - } - }, - "com.amazonaws.appmesh#DurationUnit": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "s", - "name": "S" - }, - { - "value": "ms", - "name": "MS" + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } - ] - } - }, - "com.amazonaws.appmesh#DurationValue": { - "type": "long", - "traits": { - "smithy.api#box": {}, - "smithy.api#range": { - "min": 0 - } - } - }, - "com.amazonaws.appmesh#EgressFilter": { - "type": "structure", - "members": { - "type": { - "target": "com.amazonaws.appmesh#EgressFilterType", + }, + "virtualRouterName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The egress filter type. By default, the type is DROP_ALL
, which allows\n egress only from virtual nodes to other defined resources in the service mesh (and any\n traffic to *.amazonaws.com
for AWS API calls). You can set the egress filter\n type to ALLOW_ALL
to allow egress to any endpoint inside or outside of the\n service mesh.
The name of the virtual router that the route is associated with.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "An object that represents the egress filter rules for a service mesh.
" - } - }, - "com.amazonaws.appmesh#EgressFilterType": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ALLOW_ALL", - "name": "ALLOW_ALL" - }, - { - "value": "DROP_ALL", - "name": "DROP_ALL" - } - ] + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#FileAccessLog": { + "com.amazonaws.appmesh#DescribeRouteOutput": { "type": "structure", "members": { - "path": { - "target": "com.amazonaws.appmesh#FilePath", + "route": { + "target": "com.amazonaws.appmesh#RouteData", "traits": { - "smithy.api#documentation": "The file path to write access logs to. You can use /dev/stdout
to send\n access logs to standard out and configure your Envoy container to use a log driver, such as\n awslogs
, to export the access logs to a log storage service such as Amazon\n CloudWatch Logs. You can also specify a path in the Envoy container's file system to write\n the files to disk.
The Envoy process must have write permissions to the path that you specify here.\n Otherwise, Envoy fails to bootstrap properly.
\nThe full description of your route.
", + "smithy.api#httpPayload": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "An object that represents an access log file.
" - } - }, - "com.amazonaws.appmesh#FilePath": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 - } - } - }, - "com.amazonaws.appmesh#ForbiddenException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "You don't have permissions to perform this action.
", - "smithy.api#error": "client", - "smithy.api#httpError": 403 + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#GetMeshPolicy": { + "com.amazonaws.appmesh#DescribeVirtualGateway": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#GetMeshPolicyInput" + "target": "com.amazonaws.appmesh#DescribeVirtualGatewayInput" }, "output": { - "target": "com.amazonaws.appmesh#GetMeshPolicyOutput" + "target": "com.amazonaws.appmesh#DescribeVirtualGatewayOutput" }, "errors": [ { "target": "com.amazonaws.appmesh#BadRequestException" }, - { - "target": "com.amazonaws.appmesh#ConflictException" - }, { "target": "com.amazonaws.appmesh#ForbiddenException" }, { "target": "com.amazonaws.appmesh#InternalServerErrorException" }, - { - "target": "com.amazonaws.appmesh#LimitExceededException" - }, { "target": "com.amazonaws.appmesh#NotFoundException" }, @@ -1912,1632 +1915,1441 @@ } ], "traits": { + "smithy.api#documentation": "Describes an existing virtual gateway.
", "smithy.api#http": { - "method": "com.amazonaws.appmesh#GET", - "uri": "/v20190125/meshPolicy", + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}", "code": 200 }, - "smithy.api#readonly": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#internal"] + "smithy.api#readonly": {} } }, - "com.amazonaws.appmesh#GetMeshPolicyInput": { + "com.amazonaws.appmesh#DescribeVirtualGatewayInput": { "type": "structure", "members": { - "meshArn": { - "target": "com.amazonaws.appmesh#Arn", + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#httpQuery": "meshArn", + "smithy.api#documentation": "The name of the virtual gateway to describe.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh that the gateway route resides in.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } } - }, - "traits": { - "smithy.api#tags": ["com.amazonaws.appmesh#internal"] } }, - "com.amazonaws.appmesh#GetMeshPolicyOutput": { + "com.amazonaws.appmesh#DescribeVirtualGatewayOutput": { "type": "structure", "members": { - "policy": { - "target": "com.amazonaws.appmesh#IamPolicy", + "virtualGateway": { + "target": "com.amazonaws.appmesh#VirtualGatewayData", "traits": { + "smithy.api#documentation": "The full description of your virtual gateway.
", + "smithy.api#httpPayload": {}, "smithy.api#required": {} } } + } + }, + "com.amazonaws.appmesh#DescribeVirtualNode": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#DescribeVirtualNodeInput" + }, + "output": { + "target": "com.amazonaws.appmesh#DescribeVirtualNodeOutput" }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" + } + ], "traits": { - "smithy.api#tags": ["com.amazonaws.appmesh#internal"] + "smithy.api#documentation": "Describes an existing virtual node.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}", + "code": 200 + }, + "smithy.api#readonly": {} } }, - "com.amazonaws.appmesh#GrpcRetryPolicy": { + "com.amazonaws.appmesh#DescribeVirtualNodeInput": { "type": "structure", "members": { - "grpcRetryEvents": { - "target": "com.amazonaws.appmesh#GrpcRetryPolicyEvents", - "traits": { - "smithy.api#documentation": "Specify at least one of the valid values.
" - } - }, - "httpRetryEvents": { - "target": "com.amazonaws.appmesh#HttpRetryPolicyEvents", - "traits": { - "smithy.api#documentation": "Specify at least one of the following values.
\n\n server-error – HTTP status codes 500, 501,\n 502, 503, 504, 505, 506, 507, 508, 510, and 511
\n\n gateway-error – HTTP status codes 502,\n 503, and 504
\n\n client-error – HTTP status code 409
\n\n stream-error – Retry on refused\n stream
\nThe maximum number of retry attempts.
", + "smithy.api#documentation": "The name of the virtual node to describe.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "perRetryTimeout": { - "target": "com.amazonaws.appmesh#Duration", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "An object that represents a duration of time.
", + "smithy.api#documentation": "The name of the service mesh that the virtual node resides in.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "tcpRetryEvents": { - "target": "com.amazonaws.appmesh#TcpRetryPolicyEvents", + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "Specify a valid value.
" + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } } }, "traits": { - "smithy.api#documentation": "An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents
, a value for maxRetries
, and a value for perRetryTimeout
.
The full description of your virtual node.
", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} } - ] + } + }, + "traits": { + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#GrpcRetryPolicyEvents": { - "type": "list", - "member": { - "target": "com.amazonaws.appmesh#GrpcRetryPolicyEvent" + "com.amazonaws.appmesh#DescribeVirtualRouter": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#DescribeVirtualRouterInput" }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 5 + "output": { + "target": "com.amazonaws.appmesh#DescribeVirtualRouterOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" } + ], + "traits": { + "smithy.api#documentation": "Describes an existing virtual router.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}", + "code": 200 + }, + "smithy.api#readonly": {} } }, - "com.amazonaws.appmesh#GrpcRoute": { + "com.amazonaws.appmesh#DescribeVirtualRouterInput": { "type": "structure", "members": { - "action": { - "target": "com.amazonaws.appmesh#GrpcRouteAction", + "virtualRouterName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "An object that represents the action to take if a match is determined.
", + "smithy.api#documentation": "The name of the virtual router to describe.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "match": { - "target": "com.amazonaws.appmesh#GrpcRouteMatch", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "An object that represents the criteria for determining a request match.
", + "smithy.api#documentation": "The name of the service mesh that the virtual router resides in.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "retryPolicy": { - "target": "com.amazonaws.appmesh#GrpcRetryPolicy", - "traits": { - "smithy.api#documentation": "An object that represents a retry policy.
" - } - }, - "timeout": { - "target": "com.amazonaws.appmesh#GrpcTimeout", + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } } }, "traits": { - "smithy.api#documentation": "An object that represents a gRPC route type.
" + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#GrpcRouteAction": { + "com.amazonaws.appmesh#DescribeVirtualRouterOutput": { "type": "structure", "members": { - "weightedTargets": { - "target": "com.amazonaws.appmesh#WeightedTargets", + "virtualRouter": { + "target": "com.amazonaws.appmesh#VirtualRouterData", "traits": { - "smithy.api#documentation": "An object that represents the targets that traffic is routed to when a request matches the route.
", + "smithy.api#documentation": "The full description of your virtual router.
", + "smithy.api#httpPayload": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "An object that represents the action to take if a match is determined.
" + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#GrpcRouteMatch": { + "com.amazonaws.appmesh#DescribeVirtualService": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#DescribeVirtualServiceInput" + }, + "output": { + "target": "com.amazonaws.appmesh#DescribeVirtualServiceOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" + } + ], + "traits": { + "smithy.api#documentation": "Describes an existing virtual service.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.appmesh#DescribeVirtualServiceInput": { "type": "structure", "members": { - "metadata": { - "target": "com.amazonaws.appmesh#GrpcRouteMetadataList", + "virtualServiceName": { + "target": "com.amazonaws.appmesh#ServiceName", "traits": { - "smithy.api#documentation": "An object that represents the data to match from the request.
" + "smithy.api#documentation": "The name of the virtual service to describe.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "methodName": { - "target": "com.amazonaws.appmesh#MethodName", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The method name to match from the request. If you specify a name, you must also specify\n a serviceName
.
The name of the service mesh that the virtual service resides in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "serviceName": { - "target": "com.amazonaws.appmesh#ServiceName", + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "The fully qualified domain name for the service to match from the request.
" + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } } }, "traits": { - "smithy.api#documentation": "An object that represents the criteria for determining a request match.
" + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#GrpcRouteMetadata": { + "com.amazonaws.appmesh#DescribeVirtualServiceOutput": { "type": "structure", "members": { - "invert": { - "target": "smithy.api#Boolean", - "traits": { - "smithy.api#documentation": "Specify True
to match anything except the match criteria. The default value is False
.
An object that represents the data to match from the request.
" - } - }, - "name": { - "target": "com.amazonaws.appmesh#HeaderName", + "virtualService": { + "target": "com.amazonaws.appmesh#VirtualServiceData", "traits": { - "smithy.api#documentation": "The name of the route.
", + "smithy.api#documentation": "The full description of your virtual service.
", + "smithy.api#httpPayload": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "An object that represents the match metadata for the route.
" + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#GrpcRouteMetadataList": { - "type": "list", - "member": { - "target": "com.amazonaws.appmesh#GrpcRouteMetadata" + "com.amazonaws.appmesh#DnsServiceDiscovery": { + "type": "structure", + "members": { + "hostname": { + "target": "com.amazonaws.appmesh#Hostname", + "traits": { + "smithy.api#documentation": "Specifies the DNS service discovery hostname for the virtual node.
", + "smithy.api#required": {} + } + } }, "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } + "smithy.api#documentation": "An object that represents the DNS service discovery information for your virtual\n node.
" } }, - "com.amazonaws.appmesh#GrpcRouteMetadataMatchMethod": { - "type": "union", + "com.amazonaws.appmesh#Duration": { + "type": "structure", "members": { - "exact": { - "target": "com.amazonaws.appmesh#HeaderMatch", - "traits": { - "smithy.api#documentation": "The value sent by the client must match the specified value exactly.
" - } - }, - "prefix": { - "target": "com.amazonaws.appmesh#HeaderMatch", - "traits": { - "smithy.api#documentation": "The value sent by the client must begin with the specified characters.
" - } - }, - "range": { - "target": "com.amazonaws.appmesh#MatchRange", - "traits": { - "smithy.api#documentation": "An object that represents the range of values to match on.
" - } - }, - "regex": { - "target": "com.amazonaws.appmesh#HeaderMatch", + "value": { + "target": "com.amazonaws.appmesh#DurationValue", "traits": { - "smithy.api#documentation": "The value sent by the client must include the specified characters.
" + "smithy.api#documentation": "A number of time units.
" } }, - "suffix": { - "target": "com.amazonaws.appmesh#HeaderMatch", + "unit": { + "target": "com.amazonaws.appmesh#DurationUnit", "traits": { - "smithy.api#documentation": "The value sent by the client must end with the specified characters.
" + "smithy.api#documentation": "A unit of time.
" } } }, "traits": { - "smithy.api#documentation": "An object that represents the match method. Specify one of the match values.
" + "smithy.api#documentation": "An object that represents a duration of time.
" } }, - "com.amazonaws.appmesh#GrpcTimeout": { - "type": "structure", - "members": { - "idle": { - "target": "com.amazonaws.appmesh#Duration" - }, - "perRequest": { - "target": "com.amazonaws.appmesh#Duration" - } + "com.amazonaws.appmesh#DurationUnit": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "s", + "name": "S" + }, + { + "value": "ms", + "name": "MS" + } + ] } }, - "com.amazonaws.appmesh#HeaderMatch": { - "type": "string", + "com.amazonaws.appmesh#DurationValue": { + "type": "long", "traits": { - "smithy.api#length": { - "min": 1, - "max": 255 + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0 } } }, - "com.amazonaws.appmesh#HeaderMatchMethod": { - "type": "union", + "com.amazonaws.appmesh#EgressFilter": { + "type": "structure", "members": { - "exact": { - "target": "com.amazonaws.appmesh#HeaderMatch", - "traits": { - "smithy.api#documentation": "The value sent by the client must match the specified value exactly.
" - } - }, - "prefix": { - "target": "com.amazonaws.appmesh#HeaderMatch", - "traits": { - "smithy.api#documentation": "The value sent by the client must begin with the specified characters.
" - } - }, - "range": { - "target": "com.amazonaws.appmesh#MatchRange", + "type": { + "target": "com.amazonaws.appmesh#EgressFilterType", "traits": { - "smithy.api#documentation": "An object that represents the range of values to match on.
" + "smithy.api#documentation": "The egress filter type. By default, the type is DROP_ALL
, which allows\n egress only from virtual nodes to other defined resources in the service mesh (and any\n traffic to *.amazonaws.com
for AWS API calls). You can set the egress filter\n type to ALLOW_ALL
to allow egress to any endpoint inside or outside of the\n service mesh.
The value sent by the client must include the specified characters.
" + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the egress filter rules for a service mesh.
" + } + }, + "com.amazonaws.appmesh#EgressFilterType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ALLOW_ALL", + "name": "ALLOW_ALL" + }, + { + "value": "DROP_ALL", + "name": "DROP_ALL" } - }, - "suffix": { - "target": "com.amazonaws.appmesh#HeaderMatch", + ] + } + }, + "com.amazonaws.appmesh#FileAccessLog": { + "type": "structure", + "members": { + "path": { + "target": "com.amazonaws.appmesh#FilePath", "traits": { - "smithy.api#documentation": "The value sent by the client must end with the specified characters.
" + "smithy.api#documentation": "The file path to write access logs to. You can use /dev/stdout
to send\n access logs to standard out and configure your Envoy container to use a log driver, such as\n awslogs
, to export the access logs to a log storage service such as Amazon\n CloudWatch Logs. You can also specify a path in the Envoy container's file system to write\n the files to disk.
The Envoy process must have write permissions to the path that you specify here.\n Otherwise, Envoy fails to bootstrap properly.
\nAn object that represents the method and value to match with the header value sent in a\n request. Specify one match method.
" + "smithy.api#documentation": "An object that represents an access log file.
" } }, - "com.amazonaws.appmesh#HeaderName": { + "com.amazonaws.appmesh#FilePath": { "type": "string", "traits": { "smithy.api#length": { "min": 1, - "max": 50 + "max": 255 } } }, - "com.amazonaws.appmesh#HealthCheckIntervalMillis": { - "type": "long", + "com.amazonaws.appmesh#ForbiddenException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, "traits": { - "smithy.api#box": {}, - "smithy.api#range": { - "min": 5000, - "max": 300000 + "smithy.api#documentation": "You don't have permissions to perform this action.
", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.appmesh#GatewayRoute": { + "type": "resource", + "identifiers": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName" + }, + "gatewayRouteName": { + "target": "com.amazonaws.appmesh#ResourceName" + }, + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName" + } + }, + "put": { + "target": "com.amazonaws.appmesh#CreateGatewayRoute" + }, + "read": { + "target": "com.amazonaws.appmesh#DescribeGatewayRoute" + }, + "update": { + "target": "com.amazonaws.appmesh#UpdateGatewayRoute" + }, + "delete": { + "target": "com.amazonaws.appmesh#DeleteGatewayRoute" + }, + "list": { + "target": "com.amazonaws.appmesh#ListGatewayRoutes" + }, + "traits": { + "aws.api#arn": { + "template": "mesh/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoute/{gatewayRouteName}", + "absolute": false, + "noAccount": false, + "noRegion": false } } }, - "com.amazonaws.appmesh#HealthCheckPolicy": { + "com.amazonaws.appmesh#GatewayRouteData": { "type": "structure", "members": { - "healthyThreshold": { - "target": "com.amazonaws.appmesh#HealthCheckThreshold", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The number of consecutive successful health checks that must occur before declaring\n listener healthy.
", + "smithy.api#documentation": "The name of the service mesh that the resource resides in.
", "smithy.api#required": {} } }, - "intervalMillis": { - "target": "com.amazonaws.appmesh#HealthCheckIntervalMillis", + "gatewayRouteName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The time period in milliseconds between each health check execution.
", + "smithy.api#documentation": "The name of the gateway route.
", "smithy.api#required": {} } }, - "path": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The destination path for the health check request. This value is only used if the\n specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
" - } - }, - "port": { - "target": "com.amazonaws.appmesh#PortNumber", + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The destination port for the health check request. This port must match the port defined\n in the PortMapping for the listener.
" + "smithy.api#documentation": "The virtual gateway that the gateway route is associated with.
", + "smithy.api#required": {} } }, - "protocol": { - "target": "com.amazonaws.appmesh#PortProtocol", + "spec": { + "target": "com.amazonaws.appmesh#GatewayRouteSpec", "traits": { - "smithy.api#documentation": "The protocol for the health check request. If you specify grpc
, then your\n service must conform to the GRPC Health\n Checking Protocol.
The specifications of the gateway route.
", "smithy.api#required": {} } }, - "timeoutMillis": { - "target": "com.amazonaws.appmesh#HealthCheckTimeoutMillis", + "metadata": { + "target": "com.amazonaws.appmesh#ResourceMetadata", "traits": { - "smithy.api#documentation": "The amount of time to wait when receiving a response from the health check, in\n milliseconds.
", "smithy.api#required": {} } }, - "unhealthyThreshold": { - "target": "com.amazonaws.appmesh#HealthCheckThreshold", + "status": { + "target": "com.amazonaws.appmesh#GatewayRouteStatus", "traits": { - "smithy.api#documentation": "The number of consecutive failed health checks that must occur before declaring a\n virtual node unhealthy.
", + "smithy.api#documentation": "The status of the gateway route.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "An object that represents the health check policy for a virtual node's listener.
" - } - }, - "com.amazonaws.appmesh#HealthCheckThreshold": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 2, - "max": 10 - } - } - }, - "com.amazonaws.appmesh#HealthCheckTimeoutMillis": { - "type": "long", - "traits": { - "smithy.api#box": {}, - "smithy.api#range": { - "min": 2000, - "max": 60000 - } - } - }, - "com.amazonaws.appmesh#Hostname": { - "type": "string" - }, - "com.amazonaws.appmesh#HttpMethod": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "GET", - "name": "GET" - }, - { - "value": "HEAD", - "name": "HEAD" - }, - { - "value": "POST", - "name": "POST" - }, - { - "value": "PUT", - "name": "PUT" - }, - { - "value": "DELETE", - "name": "DELETE" - }, - { - "value": "CONNECT", - "name": "CONNECT" - }, - { - "value": "OPTIONS", - "name": "OPTIONS" - }, - { - "value": "TRACE", - "name": "TRACE" - }, + "smithy.api#documentation": "An object that represents a gateway route returned by a describe operation.
", + "smithy.api#references": [ { - "value": "PATCH", - "name": "PATCH" + "resource": "com.amazonaws.appmesh#GatewayRoute" } ] } }, - "com.amazonaws.appmesh#HttpRetryPolicy": { + "com.amazonaws.appmesh#GatewayRouteList": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#GatewayRouteRef" + } + }, + "com.amazonaws.appmesh#GatewayRouteRef": { "type": "structure", "members": { - "httpRetryEvents": { - "target": "com.amazonaws.appmesh#HttpRetryPolicyEvents", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "Specify at least one of the following values.
\n\n server-error – HTTP status codes 500, 501,\n 502, 503, 504, 505, 506, 507, 508, 510, and 511
\n\n gateway-error – HTTP status codes 502,\n 503, and 504
\n\n client-error – HTTP status code 409
\n\n stream-error – Retry on refused\n stream
\nThe name of the service mesh that the resource resides in.
", + "smithy.api#required": {} } }, - "maxRetries": { - "target": "com.amazonaws.appmesh#MaxRetries", + "gatewayRouteName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The maximum number of retry attempts.
", + "smithy.api#documentation": "The name of the gateway route.
", "smithy.api#required": {} } }, - "perRetryTimeout": { - "target": "com.amazonaws.appmesh#Duration", + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "An object that represents a duration of time.
", + "smithy.api#documentation": "The virtual gateway that the gateway route is associated with.
", "smithy.api#required": {} } }, - "tcpRetryEvents": { - "target": "com.amazonaws.appmesh#TcpRetryPolicyEvents", + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "Specify a valid value.
" + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#required": {} } - } - }, - "traits": { - "smithy.api#documentation": "An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents
, a value for maxRetries
, and a value for perRetryTimeout
.
An object that represents the action to take if a match is determined.
", + "smithy.api#documentation": "The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", "smithy.api#required": {} } }, - "match": { - "target": "com.amazonaws.appmesh#HttpRouteMatch", + "arn": { + "target": "com.amazonaws.appmesh#Arn", "traits": { - "smithy.api#documentation": "An object that represents the criteria for determining a request match.
", + "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the gateway route.
", "smithy.api#required": {} } }, - "retryPolicy": { - "target": "com.amazonaws.appmesh#HttpRetryPolicy", + "version": { + "target": "smithy.api#Long", "traits": { - "smithy.api#documentation": "An object that represents a retry policy.
" + "smithy.api#documentation": "The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
", + "smithy.api#required": {} } }, - "timeout": { - "target": "com.amazonaws.appmesh#HttpTimeout", + "createdAt": { + "target": "smithy.api#Timestamp", "traits": { - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was created.
", + "smithy.api#required": {} } - } - }, - "traits": { - "smithy.api#documentation": "An object that represents an HTTP or HTTP/2 route type.
" - } - }, - "com.amazonaws.appmesh#HttpRouteAction": { - "type": "structure", - "members": { - "weightedTargets": { - "target": "com.amazonaws.appmesh#WeightedTargets", + }, + "lastUpdatedAt": { + "target": "smithy.api#Timestamp", "traits": { - "smithy.api#documentation": "An object that represents the targets that traffic is routed to when a request matches the route.
", + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was last updated.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "An object that represents the action to take if a match is determined.
" + "smithy.api#documentation": "An object that represents a gateway route returned by a list operation.
" } }, - "com.amazonaws.appmesh#HttpRouteHeader": { + "com.amazonaws.appmesh#GatewayRouteSpec": { "type": "structure", "members": { - "invert": { - "target": "smithy.api#Boolean", + "httpRoute": { + "target": "com.amazonaws.appmesh#HttpGatewayRoute", "traits": { - "smithy.api#documentation": "Specify True
to match anything except the match criteria. The default value is False
.
An object that represents the specification of an HTTP gateway route.
" } }, - "match": { - "target": "com.amazonaws.appmesh#HeaderMatchMethod", + "http2Route": { + "target": "com.amazonaws.appmesh#HttpGatewayRoute", "traits": { - "smithy.api#documentation": "The HeaderMatchMethod
object.
An object that represents the specification of an HTTP/2 gateway route.
" } }, - "name": { - "target": "com.amazonaws.appmesh#HeaderName", + "grpcRoute": { + "target": "com.amazonaws.appmesh#GrpcGatewayRoute", "traits": { - "smithy.api#documentation": "A name for the HTTP header in the client request that will be matched on.
", - "smithy.api#required": {} + "smithy.api#documentation": "An object that represents the specification of a gRPC gateway route.
" } } }, "traits": { - "smithy.api#documentation": "An object that represents the HTTP header in the request.
" - } - }, - "com.amazonaws.appmesh#HttpRouteHeaders": { - "type": "list", - "member": { - "target": "com.amazonaws.appmesh#HttpRouteHeader" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 10 - } + "smithy.api#documentation": "An object that represents a gateway route specification. Specify one gateway route\n type.
" } }, - "com.amazonaws.appmesh#HttpRouteMatch": { + "com.amazonaws.appmesh#GatewayRouteStatus": { "type": "structure", "members": { - "headers": { - "target": "com.amazonaws.appmesh#HttpRouteHeaders", - "traits": { - "smithy.api#documentation": "An object that represents the client request headers to match on.
" - } - }, - "method": { - "target": "com.amazonaws.appmesh#HttpMethod", - "traits": { - "smithy.api#documentation": "The client request method to match on. Specify only one.
" - } - }, - "prefix": { - "target": "smithy.api#String", + "status": { + "target": "com.amazonaws.appmesh#GatewayRouteStatusCode", "traits": { - "smithy.api#documentation": "Specifies the path to match requests with. This parameter must always start with\n /
, which by itself matches all requests to the virtual service name. You\n can also match for path-based routing of requests. For example, if your virtual service\n name is my-service.local
and you want the route to match requests to\n my-service.local/metrics
, your prefix should be\n /metrics
.
The current status for the gateway route.
", "smithy.api#required": {} } - }, - "scheme": { - "target": "com.amazonaws.appmesh#HttpScheme", - "traits": { - "smithy.api#documentation": "The client request scheme to match on. Specify only one.
" - } } }, "traits": { - "smithy.api#documentation": "An object that represents the requirements for a route to match HTTP requests for a\n virtual router.
" + "smithy.api#documentation": "An object that represents the current status of a gateway route.
" } }, - "com.amazonaws.appmesh#HttpScheme": { + "com.amazonaws.appmesh#GatewayRouteStatusCode": { "type": "string", "traits": { "smithy.api#enum": [ { - "value": "http", - "name": "HTTP" + "value": "ACTIVE", + "name": "ACTIVE" }, { - "value": "https", - "name": "HTTPS" + "value": "INACTIVE", + "name": "INACTIVE" + }, + { + "value": "DELETED", + "name": "DELETED" } ] } }, - "com.amazonaws.appmesh#HttpTimeout": { + "com.amazonaws.appmesh#GatewayRouteTarget": { "type": "structure", "members": { - "idle": { - "target": "com.amazonaws.appmesh#Duration" - }, - "perRequest": { - "target": "com.amazonaws.appmesh#Duration" + "virtualService": { + "target": "com.amazonaws.appmesh#GatewayRouteVirtualService", + "traits": { + "smithy.api#documentation": "An object that represents a virtual service gateway route target.
", + "smithy.api#required": {} + } } - } - }, - "com.amazonaws.appmesh#IamPolicy": { - "type": "string", + }, "traits": { - "smithy.api#length": { - "min": 1, - "max": 20000 - } + "smithy.api#documentation": "An object that represents a gateway route target.
" } }, - "com.amazonaws.appmesh#InternalServerErrorException": { + "com.amazonaws.appmesh#GatewayRouteVirtualService": { "type": "structure", "members": { - "message": { - "target": "smithy.api#String" + "virtualServiceName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the virtual service that traffic is routed to.
", + "smithy.api#required": {} + } } }, "traits": { - "smithy.api#documentation": "The request processing has failed because of an unknown error, exception, or\n failure.
", - "smithy.api#error": "server", - "smithy.api#httpError": 500, - "smithy.api#retryable": {} + "smithy.api#documentation": "An object that represents the virtual service that traffic is routed to.
" } }, - "com.amazonaws.appmesh#LimitExceededException": { + "com.amazonaws.appmesh#GrpcGatewayRoute": { "type": "structure", "members": { - "message": { - "target": "smithy.api#String" + "match": { + "target": "com.amazonaws.appmesh#GrpcGatewayRouteMatch", + "traits": { + "smithy.api#documentation": "An object that represents the criteria for determining a request match.
", + "smithy.api#required": {} + } + }, + "action": { + "target": "com.amazonaws.appmesh#GrpcGatewayRouteAction", + "traits": { + "smithy.api#documentation": "An object that represents the action to take if a match is determined.
", + "smithy.api#required": {} + } } }, "traits": { - "smithy.api#documentation": "You have exceeded a service limit for your account. For more information, see Service\n Limits in the AWS App Mesh User Guide.
", - "smithy.api#error": "client", - "smithy.api#httpError": 400 + "smithy.api#documentation": "An object that represents a gRPC gateway route.
" } }, - "com.amazonaws.appmesh#ListMeshes": { - "type": "operation", - "input": { - "target": "com.amazonaws.appmesh#ListMeshesInput" - }, - "output": { - "target": "com.amazonaws.appmesh#ListMeshesOutput" - }, - "errors": [ - { - "target": "com.amazonaws.appmesh#BadRequestException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" - }, - { - "target": "com.amazonaws.appmesh#InternalServerErrorException" - }, - { - "target": "com.amazonaws.appmesh#NotFoundException" - }, - { - "target": "com.amazonaws.appmesh#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.appmesh#TooManyRequestsException" + "com.amazonaws.appmesh#GrpcGatewayRouteAction": { + "type": "structure", + "members": { + "target": { + "target": "com.amazonaws.appmesh#GatewayRouteTarget", + "traits": { + "smithy.api#documentation": "An object that represents the target that traffic is routed to when a request matches the gateway route.
", + "smithy.api#required": {} + } } - ], + }, "traits": { - "smithy.api#documentation": "Returns a list of existing service meshes.
", - "smithy.api#http": { - "method": "GET", - "uri": "/v20190125/meshes", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "meshes", - "pageSize": "limit" - }, - "smithy.api#readonly": {} + "smithy.api#documentation": "An object that represents the action to take if a match is determined.
" } }, - "com.amazonaws.appmesh#ListMeshesInput": { + "com.amazonaws.appmesh#GrpcGatewayRouteMatch": { "type": "structure", "members": { - "limit": { - "target": "com.amazonaws.appmesh#ListMeshesLimit", - "traits": { - "smithy.api#documentation": "The maximum number of results returned by ListMeshes
in paginated output.\n When you use this parameter, ListMeshes
returns only limit
\n results in a single page along with a nextToken
response element. You can see\n the remaining results of the initial request by sending another ListMeshes
\n request with the returned nextToken
value. This value can be between\n 1 and 100. If you don't use this parameter,\n ListMeshes
returns up to 100 results and a\n nextToken
value if applicable.
The nextToken
value returned from a previous paginated\n ListMeshes
request where limit
was used and the results\n exceeded the value of that parameter. Pagination continues from the end of the previous\n results that returned the nextToken
value.
This token should be treated as an opaque identifier that is used only to\n retrieve the next items in a list and not for other programmatic purposes.
\nThe fully qualified domain name for the service to match from the request.
" } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents the criteria for determining a request match.
" } }, - "com.amazonaws.appmesh#ListMeshesLimit": { - "type": "integer", - "traits": { - "smithy.api#box": {}, - "smithy.api#range": { - "min": 1, - "max": 100 - } - } - }, - "com.amazonaws.appmesh#ListMeshesOutput": { + "com.amazonaws.appmesh#GrpcRetryPolicy": { "type": "structure", "members": { - "meshes": { - "target": "com.amazonaws.appmesh#MeshList", + "perRetryTimeout": { + "target": "com.amazonaws.appmesh#Duration", "traits": { - "smithy.api#documentation": "The list of existing service meshes.
", + "smithy.api#documentation": "An object that represents a duration of time.
", "smithy.api#required": {} } }, - "nextToken": { - "target": "smithy.api#String", + "maxRetries": { + "target": "com.amazonaws.appmesh#MaxRetries", "traits": { - "smithy.api#documentation": "The nextToken
value to include in a future ListMeshes
request.\n When the results of a ListMeshes
request exceed limit
, you can\n use this value to retrieve the next page of results. This value is null
when\n there are no more results to return.
The maximum number of retry attempts.
", + "smithy.api#required": {} + } + }, + "httpRetryEvents": { + "target": "com.amazonaws.appmesh#HttpRetryPolicyEvents", + "traits": { + "smithy.api#documentation": "Specify at least one of the following values.
\n\n server-error – HTTP status codes 500, 501,\n 502, 503, 504, 505, 506, 507, 508, 510, and 511
\n\n gateway-error – HTTP status codes 502,\n 503, and 504
\n\n client-error – HTTP status code 409
\n\n stream-error – Retry on refused\n stream
\nSpecify a valid value.
" + } + }, + "grpcRetryEvents": { + "target": "com.amazonaws.appmesh#GrpcRetryPolicyEvents", + "traits": { + "smithy.api#documentation": "Specify at least one of the valid values.
" } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents
, a value for maxRetries
, and a value for perRetryTimeout
.
Returns a list of existing routes in a service mesh.
", - "smithy.api#http": { - "method": "GET", - "uri": "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "routes", - "pageSize": "limit" - }, - "smithy.api#readonly": {} + "smithy.api#length": { + "min": 1, + "max": 5 + } } }, - "com.amazonaws.appmesh#ListRoutesInput": { + "com.amazonaws.appmesh#GrpcRoute": { "type": "structure", "members": { - "limit": { - "target": "com.amazonaws.appmesh#ListRoutesLimit", - "traits": { - "smithy.api#documentation": "The maximum number of results returned by ListRoutes
in paginated output.\n When you use this parameter, ListRoutes
returns only limit
\n results in a single page along with a nextToken
response element. You can see\n the remaining results of the initial request by sending another ListRoutes
\n request with the returned nextToken
value. This value can be between\n 1 and 100. If you don't use this parameter,\n ListRoutes
returns up to 100 results and a\n nextToken
value if applicable.
The name of the service mesh to list routes in.
", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "An object that represents the action to take if a match is determined.
", "smithy.api#required": {} } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", + "match": { + "target": "com.amazonaws.appmesh#GrpcRouteMatch", "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "An object that represents the criteria for determining a request match.
", + "smithy.api#required": {} } }, - "nextToken": { - "target": "smithy.api#String", + "retryPolicy": { + "target": "com.amazonaws.appmesh#GrpcRetryPolicy", "traits": { - "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListRoutes
request where limit
was used and the results\n exceeded the value of that parameter. Pagination continues from the end of the previous\n results that returned the nextToken
value.
An object that represents a retry policy.
" } }, - "virtualRouterName": { - "target": "com.amazonaws.appmesh#ResourceName", + "timeout": { + "target": "com.amazonaws.appmesh#GrpcTimeout", "traits": { - "smithy.api#documentation": "The name of the virtual router to list routes in.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "An object that represents types of timeouts.
" } } }, "traits": { - "smithy.api#documentation": "" - } - }, - "com.amazonaws.appmesh#ListRoutesLimit": { - "type": "integer", - "traits": { - "smithy.api#box": {}, - "smithy.api#range": { - "min": 1, - "max": 100 - } + "smithy.api#documentation": "An object that represents a gRPC route type.
" } }, - "com.amazonaws.appmesh#ListRoutesOutput": { + "com.amazonaws.appmesh#GrpcRouteAction": { "type": "structure", "members": { - "nextToken": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The nextToken
value to include in a future ListRoutes
request.\n When the results of a ListRoutes
request exceed limit
, you can\n use this value to retrieve the next page of results. This value is null
when\n there are no more results to return.
The list of existing routes for the specified service mesh and virtual router.
", + "smithy.api#documentation": "An object that represents the targets that traffic is routed to when a request matches the route.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "" - } - }, - "com.amazonaws.appmesh#ListTagsForResource": { - "type": "operation", - "input": { - "target": "com.amazonaws.appmesh#ListTagsForResourceInput" - }, - "output": { - "target": "com.amazonaws.appmesh#ListTagsForResourceOutput" - }, - "errors": [ - { - "target": "com.amazonaws.appmesh#BadRequestException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" - }, - { - "target": "com.amazonaws.appmesh#InternalServerErrorException" - }, - { - "target": "com.amazonaws.appmesh#NotFoundException" - }, - { - "target": "com.amazonaws.appmesh#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.appmesh#TooManyRequestsException" - } - ], - "traits": { - "smithy.api#documentation": "List the tags for an App Mesh resource.
", - "smithy.api#http": { - "method": "GET", - "uri": "/v20190125/tags", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "tags", - "pageSize": "limit" - }, - "smithy.api#readonly": {}, - "smithy.api#tags": ["not-preview"] + "smithy.api#documentation": "An object that represents the action to take if a match is determined.
" } }, - "com.amazonaws.appmesh#ListTagsForResourceInput": { + "com.amazonaws.appmesh#GrpcRouteMatch": { "type": "structure", "members": { - "limit": { - "target": "com.amazonaws.appmesh#TagsLimit", + "serviceName": { + "target": "com.amazonaws.appmesh#ServiceName", "traits": { - "smithy.api#documentation": "The maximum number of tag results returned by ListTagsForResource
in\n paginated output. When this parameter is used, ListTagsForResource
returns\n only limit
results in a single page along with a nextToken
\n response element. You can see the remaining results of the initial request by sending\n another ListTagsForResource
request with the returned nextToken
\n value. This value can be between 1 and 100. If you don't use\n this parameter, ListTagsForResource
returns up to 100\n results and a nextToken
value if applicable.
The fully qualified domain name for the service to match from the request.
" } }, - "nextToken": { - "target": "smithy.api#String", + "methodName": { + "target": "com.amazonaws.appmesh#MethodName", "traits": { - "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListTagsForResource
request where limit
was used and the\n results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the nextToken
value.
The method name to match from the request. If you specify a name, you must also specify\n a serviceName
.
The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
", - "smithy.api#httpQuery": "resourceArn", - "smithy.api#required": {} + "smithy.api#documentation": "An object that represents the data to match from the request.
" } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents the criteria for determining a request match.
" } }, - "com.amazonaws.appmesh#ListTagsForResourceOutput": { + "com.amazonaws.appmesh#GrpcRouteMetadata": { "type": "structure", "members": { - "nextToken": { - "target": "smithy.api#String", + "name": { + "target": "com.amazonaws.appmesh#HeaderName", "traits": { - "smithy.api#documentation": "The nextToken
value to include in a future ListTagsForResource
\n request. When the results of a ListTagsForResource
request exceed\n limit
, you can use this value to retrieve the next page of results. This\n value is null
when there are no more results to return.
The name of the route.
", + "smithy.api#required": {} } }, - "tags": { - "target": "com.amazonaws.appmesh#TagList", + "invert": { + "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "The tags for the resource.
", - "smithy.api#required": {} + "smithy.api#documentation": "Specify True
to match anything except the match criteria. The default value is False
.
An object that represents the data to match from the request.
" } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents the match metadata for the route.
" } }, - "com.amazonaws.appmesh#ListVirtualNodes": { - "type": "operation", - "input": { - "target": "com.amazonaws.appmesh#ListVirtualNodesInput" - }, - "output": { - "target": "com.amazonaws.appmesh#ListVirtualNodesOutput" + "com.amazonaws.appmesh#GrpcRouteMetadataList": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#GrpcRouteMetadata" }, - "errors": [ - { - "target": "com.amazonaws.appmesh#BadRequestException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" - }, - { - "target": "com.amazonaws.appmesh#InternalServerErrorException" - }, - { - "target": "com.amazonaws.appmesh#NotFoundException" - }, - { - "target": "com.amazonaws.appmesh#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.appmesh#TooManyRequestsException" - } - ], "traits": { - "smithy.api#documentation": "Returns a list of existing virtual nodes.
", - "smithy.api#http": { - "method": "GET", - "uri": "/v20190125/meshes/{meshName}/virtualNodes", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "virtualNodes", - "pageSize": "limit" - }, - "smithy.api#readonly": {} + "smithy.api#length": { + "min": 1, + "max": 10 + } } }, - "com.amazonaws.appmesh#ListVirtualNodesInput": { - "type": "structure", + "com.amazonaws.appmesh#GrpcRouteMetadataMatchMethod": { + "type": "union", "members": { - "limit": { - "target": "com.amazonaws.appmesh#ListVirtualNodesLimit", + "exact": { + "target": "com.amazonaws.appmesh#HeaderMatch", "traits": { - "smithy.api#documentation": "The maximum number of results returned by ListVirtualNodes
in paginated\n output. When you use this parameter, ListVirtualNodes
returns only\n limit
results in a single page along with a nextToken
response\n element. You can see the remaining results of the initial request by sending another\n ListVirtualNodes
request with the returned nextToken
value.\n This value can be between 1 and 100. If you don't use this\n parameter, ListVirtualNodes
returns up to 100 results and a\n nextToken
value if applicable.
The value sent by the client must match the specified value exactly.
" } }, - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName", + "regex": { + "target": "com.amazonaws.appmesh#HeaderMatch", "traits": { - "smithy.api#documentation": "The name of the service mesh to list virtual nodes in.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "The value sent by the client must include the specified characters.
" } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", + "range": { + "target": "com.amazonaws.appmesh#MatchRange", "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "An object that represents the range of values to match on.
" } }, - "nextToken": { - "target": "smithy.api#String", + "prefix": { + "target": "com.amazonaws.appmesh#HeaderMatch", "traits": { - "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListVirtualNodes
request where limit
was used and the results\n exceeded the value of that parameter. Pagination continues from the end of the previous\n results that returned the nextToken
value.
The value sent by the client must begin with the specified characters.
" + } + }, + "suffix": { + "target": "com.amazonaws.appmesh#HeaderMatch", + "traits": { + "smithy.api#documentation": "The value sent by the client must end with the specified characters.
" } } }, "traits": { - "smithy.api#documentation": "" - } - }, - "com.amazonaws.appmesh#ListVirtualNodesLimit": { - "type": "integer", - "traits": { - "smithy.api#box": {}, - "smithy.api#range": { - "min": 1, - "max": 100 - } + "smithy.api#documentation": "An object that represents the match method. Specify one of the match values.
" } }, - "com.amazonaws.appmesh#ListVirtualNodesOutput": { + "com.amazonaws.appmesh#GrpcTimeout": { "type": "structure", "members": { - "nextToken": { - "target": "smithy.api#String", + "perRequest": { + "target": "com.amazonaws.appmesh#Duration", "traits": { - "smithy.api#documentation": "The nextToken
value to include in a future ListVirtualNodes
\n request. When the results of a ListVirtualNodes
request exceed\n limit
, you can use this value to retrieve the next page of results. This\n value is null
when there are no more results to return.
An object that represents a per request timeout. The default value is 15 seconds. If you set a higher timeout, then make sure that the higher value is set for each App Mesh resource in a conversation. For example, if a virtual node backend uses a virtual router provider to route to another virtual node, then the timeout should be greater than 15 seconds for the source and destination virtual node and the route.
" } }, - "virtualNodes": { - "target": "com.amazonaws.appmesh#VirtualNodeList", + "idle": { + "target": "com.amazonaws.appmesh#Duration", "traits": { - "smithy.api#documentation": "The list of existing virtual nodes for the specified service mesh.
", - "smithy.api#required": {} + "smithy.api#documentation": "An object that represents an idle timeout. An idle timeout bounds the amount of time that a connection may be idle. The default value is none.
" } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents types of timeouts.
" } }, - "com.amazonaws.appmesh#ListVirtualRouters": { - "type": "operation", - "input": { - "target": "com.amazonaws.appmesh#ListVirtualRoutersInput" - }, - "output": { - "target": "com.amazonaws.appmesh#ListVirtualRoutersOutput" - }, - "errors": [ - { - "target": "com.amazonaws.appmesh#BadRequestException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" - }, - { - "target": "com.amazonaws.appmesh#InternalServerErrorException" - }, - { - "target": "com.amazonaws.appmesh#NotFoundException" - }, - { - "target": "com.amazonaws.appmesh#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.appmesh#TooManyRequestsException" - } - ], + "com.amazonaws.appmesh#HeaderMatch": { + "type": "string", "traits": { - "smithy.api#documentation": "Returns a list of existing virtual routers in a service mesh.
", - "smithy.api#http": { - "method": "GET", - "uri": "/v20190125/meshes/{meshName}/virtualRouters", - "code": 200 - }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "virtualRouters", - "pageSize": "limit" - }, - "smithy.api#readonly": {} + "smithy.api#length": { + "min": 1, + "max": 255 + } } }, - "com.amazonaws.appmesh#ListVirtualRoutersInput": { - "type": "structure", + "com.amazonaws.appmesh#HeaderMatchMethod": { + "type": "union", "members": { - "limit": { - "target": "com.amazonaws.appmesh#ListVirtualRoutersLimit", + "exact": { + "target": "com.amazonaws.appmesh#HeaderMatch", "traits": { - "smithy.api#documentation": "The maximum number of results returned by ListVirtualRouters
in paginated\n output. When you use this parameter, ListVirtualRouters
returns only\n limit
results in a single page along with a nextToken
response\n element. You can see the remaining results of the initial request by sending another\n ListVirtualRouters
request with the returned nextToken
value.\n This value can be between 1 and 100. If you don't use this\n parameter, ListVirtualRouters
returns up to 100 results and\n a nextToken
value if applicable.
The value sent by the client must match the specified value exactly.
" } }, - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName", + "regex": { + "target": "com.amazonaws.appmesh#HeaderMatch", "traits": { - "smithy.api#documentation": "The name of the service mesh to list virtual routers in.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "The value sent by the client must include the specified characters.
" } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", + "range": { + "target": "com.amazonaws.appmesh#MatchRange", "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "An object that represents the range of values to match on.
" } }, - "nextToken": { - "target": "smithy.api#String", + "prefix": { + "target": "com.amazonaws.appmesh#HeaderMatch", "traits": { - "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListVirtualRouters
request where limit
was used and the\n results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the nextToken
value.
The value sent by the client must begin with the specified characters.
" + } + }, + "suffix": { + "target": "com.amazonaws.appmesh#HeaderMatch", + "traits": { + "smithy.api#documentation": "The value sent by the client must end with the specified characters.
" } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents the method and value to match with the header value sent in a\n request. Specify one match method.
" } }, - "com.amazonaws.appmesh#ListVirtualRoutersLimit": { - "type": "integer", + "com.amazonaws.appmesh#HeaderName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.appmesh#HealthCheckIntervalMillis": { + "type": "long", "traits": { "smithy.api#box": {}, "smithy.api#range": { - "min": 1, - "max": 100 + "min": 5000, + "max": 300000 } } }, - "com.amazonaws.appmesh#ListVirtualRoutersOutput": { + "com.amazonaws.appmesh#HealthCheckPolicy": { "type": "structure", "members": { - "nextToken": { - "target": "smithy.api#String", + "timeoutMillis": { + "target": "com.amazonaws.appmesh#HealthCheckTimeoutMillis", "traits": { - "smithy.api#documentation": "The nextToken
value to include in a future ListVirtualRouters
\n request. When the results of a ListVirtualRouters
request exceed\n limit
, you can use this value to retrieve the next page of results. This\n value is null
when there are no more results to return.
The amount of time to wait when receiving a response from the health check, in\n milliseconds.
", + "smithy.api#required": {} } }, - "virtualRouters": { - "target": "com.amazonaws.appmesh#VirtualRouterList", + "intervalMillis": { + "target": "com.amazonaws.appmesh#HealthCheckIntervalMillis", "traits": { - "smithy.api#documentation": "The list of existing virtual routers for the specified service mesh.
", + "smithy.api#documentation": "The time period in milliseconds between each health check execution.
", "smithy.api#required": {} } - } - }, - "traits": { - "smithy.api#documentation": "" - } - }, - "com.amazonaws.appmesh#ListVirtualServices": { - "type": "operation", - "input": { - "target": "com.amazonaws.appmesh#ListVirtualServicesInput" - }, - "output": { - "target": "com.amazonaws.appmesh#ListVirtualServicesOutput" - }, - "errors": [ - { - "target": "com.amazonaws.appmesh#BadRequestException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" - }, - { - "target": "com.amazonaws.appmesh#InternalServerErrorException" - }, - { - "target": "com.amazonaws.appmesh#NotFoundException" - }, - { - "target": "com.amazonaws.appmesh#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.appmesh#TooManyRequestsException" - } - ], - "traits": { - "smithy.api#documentation": "Returns a list of existing virtual services in a service mesh.
", - "smithy.api#http": { - "method": "GET", - "uri": "/v20190125/meshes/{meshName}/virtualServices", - "code": 200 }, - "smithy.api#paginated": { - "inputToken": "nextToken", - "outputToken": "nextToken", - "items": "virtualServices", - "pageSize": "limit" + "protocol": { + "target": "com.amazonaws.appmesh#PortProtocol", + "traits": { + "smithy.api#documentation": "The protocol for the health check request. If you specify grpc
, then your\n service must conform to the GRPC Health\n Checking Protocol.
The maximum number of results returned by ListVirtualServices
in paginated\n output. When you use this parameter, ListVirtualServices
returns only\n limit
results in a single page along with a nextToken
response\n element. You can see the remaining results of the initial request by sending another\n ListVirtualServices
request with the returned nextToken
value.\n This value can be between 1 and 100. If you don't use this\n parameter, ListVirtualServices
returns up to 100 results and\n a nextToken
value if applicable.
The destination port for the health check request. This port must match the port defined\n in the PortMapping for the listener.
" } }, - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName", + "path": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the service mesh to list virtual services in.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "The destination path for the health check request. This value is only used if the\n specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
" } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", + "healthyThreshold": { + "target": "com.amazonaws.appmesh#HealthCheckThreshold", "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The number of consecutive successful health checks that must occur before declaring\n listener healthy.
", + "smithy.api#required": {} } }, - "nextToken": { - "target": "smithy.api#String", + "unhealthyThreshold": { + "target": "com.amazonaws.appmesh#HealthCheckThreshold", "traits": { - "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListVirtualServices
request where limit
was used and the\n results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the nextToken
value.
The number of consecutive failed health checks that must occur before declaring a\n virtual node unhealthy.
", + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents the health check policy for a virtual node's listener.
" } }, - "com.amazonaws.appmesh#ListVirtualServicesLimit": { + "com.amazonaws.appmesh#HealthCheckThreshold": { "type": "integer", + "traits": { + "smithy.api#range": { + "min": 2, + "max": 10 + } + } + }, + "com.amazonaws.appmesh#HealthCheckTimeoutMillis": { + "type": "long", "traits": { "smithy.api#box": {}, "smithy.api#range": { - "min": 1, - "max": 100 + "min": 2000, + "max": 60000 } } }, - "com.amazonaws.appmesh#ListVirtualServicesOutput": { + "com.amazonaws.appmesh#Hostname": { + "type": "string" + }, + "com.amazonaws.appmesh#HttpGatewayRoute": { "type": "structure", "members": { - "nextToken": { - "target": "smithy.api#String", + "match": { + "target": "com.amazonaws.appmesh#HttpGatewayRouteMatch", "traits": { - "smithy.api#documentation": "The nextToken
value to include in a future ListVirtualServices
\n request. When the results of a ListVirtualServices
request exceed\n limit
, you can use this value to retrieve the next page of results. This\n value is null
when there are no more results to return.
An object that represents the criteria for determining a request match.
", + "smithy.api#required": {} } }, - "virtualServices": { - "target": "com.amazonaws.appmesh#VirtualServiceList", + "action": { + "target": "com.amazonaws.appmesh#HttpGatewayRouteAction", "traits": { - "smithy.api#documentation": "The list of existing virtual services for the specified service mesh.
", + "smithy.api#documentation": "An object that represents the action to take if a match is determined.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents an HTTP gateway route.
" } }, - "com.amazonaws.appmesh#Listener": { + "com.amazonaws.appmesh#HttpGatewayRouteAction": { "type": "structure", "members": { - "healthCheck": { - "target": "com.amazonaws.appmesh#HealthCheckPolicy", - "traits": { - "smithy.api#documentation": "The health check information for the listener.
" - } - }, - "portMapping": { - "target": "com.amazonaws.appmesh#PortMapping", + "target": { + "target": "com.amazonaws.appmesh#GatewayRouteTarget", "traits": { - "smithy.api#documentation": "The port mapping information for the listener.
", + "smithy.api#documentation": "An object that represents the target that traffic is routed to when a request matches the gateway route.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "An object that represents a listener for a virtual node.
" - } - }, - "com.amazonaws.appmesh#Listeners": { - "type": "list", - "member": { - "target": "com.amazonaws.appmesh#Listener" - }, - "traits": { - "smithy.api#length": { - "min": 0, - "max": 1 - } + "smithy.api#documentation": "An object that represents the action to take if a match is determined.
" } }, - "com.amazonaws.appmesh#Logging": { + "com.amazonaws.appmesh#HttpGatewayRouteMatch": { "type": "structure", "members": { - "accessLog": { - "target": "com.amazonaws.appmesh#AccessLog", + "prefix": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The access log configuration for a virtual node.
" + "smithy.api#documentation": "Specifies the path to match requests with. This parameter must always start with\n /
, which by itself matches all requests to the virtual service name. You\n can also match for path-based routing of requests. For example, if your virtual service\n name is my-service.local
and you want the route to match requests to\n my-service.local/metrics
, your prefix should be\n /metrics
.
An object that represents the logging information for a virtual node.
" + "smithy.api#documentation": "An object that represents the criteria for determining a request match.
" } }, - "com.amazonaws.appmesh#MatchRange": { + "com.amazonaws.appmesh#HttpMethod": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "GET", + "name": "GET" + }, + { + "value": "HEAD", + "name": "HEAD" + }, + { + "value": "POST", + "name": "POST" + }, + { + "value": "PUT", + "name": "PUT" + }, + { + "value": "DELETE", + "name": "DELETE" + }, + { + "value": "CONNECT", + "name": "CONNECT" + }, + { + "value": "OPTIONS", + "name": "OPTIONS" + }, + { + "value": "TRACE", + "name": "TRACE" + }, + { + "value": "PATCH", + "name": "PATCH" + } + ] + } + }, + "com.amazonaws.appmesh#HttpRetryPolicy": { "type": "structure", "members": { - "end": { - "target": "smithy.api#Long", + "perRetryTimeout": { + "target": "com.amazonaws.appmesh#Duration", "traits": { - "smithy.api#documentation": "The end of the range.
", + "smithy.api#documentation": "An object that represents a duration of time.
", "smithy.api#required": {} } }, - "start": { - "target": "smithy.api#Long", + "maxRetries": { + "target": "com.amazonaws.appmesh#MaxRetries", "traits": { - "smithy.api#documentation": "The start of the range.
", + "smithy.api#documentation": "The maximum number of retry attempts.
", "smithy.api#required": {} } + }, + "httpRetryEvents": { + "target": "com.amazonaws.appmesh#HttpRetryPolicyEvents", + "traits": { + "smithy.api#documentation": "Specify at least one of the following values.
\n\n server-error – HTTP status codes 500, 501,\n 502, 503, 504, 505, 506, 507, 508, 510, and 511
\n\n gateway-error – HTTP status codes 502,\n 503, and 504
\n\n client-error – HTTP status code 409
\n\n stream-error – Retry on refused\n stream
\nSpecify a valid value.
" + } } }, "traits": { - "smithy.api#documentation": "An object that represents the range of values to match on. The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.
" + "smithy.api#documentation": "An object that represents a retry policy. Specify at least one value for at least one of the types of RetryEvents
, a value for maxRetries
, and a value for perRetryTimeout
.
The name of the service mesh.
", + "smithy.api#documentation": "An object that represents the criteria for determining a request match.
", "smithy.api#required": {} } }, - "metadata": { - "target": "com.amazonaws.appmesh#ResourceMetadata", + "action": { + "target": "com.amazonaws.appmesh#HttpRouteAction", "traits": { - "smithy.api#documentation": "The associated metadata for the service mesh.
", + "smithy.api#documentation": "An object that represents the action to take if a match is determined.
", "smithy.api#required": {} } }, - "spec": { - "target": "com.amazonaws.appmesh#MeshSpec", + "retryPolicy": { + "target": "com.amazonaws.appmesh#HttpRetryPolicy", "traits": { - "smithy.api#documentation": "The associated specification for the service mesh.
", - "smithy.api#required": {} + "smithy.api#documentation": "An object that represents a retry policy.
" } }, - "status": { - "target": "com.amazonaws.appmesh#MeshStatus", + "timeout": { + "target": "com.amazonaws.appmesh#HttpTimeout", "traits": { - "smithy.api#documentation": "The status of the service mesh.
", - "smithy.api#required": {} + "smithy.api#documentation": "An object that represents types of timeouts.
" } } }, "traits": { - "smithy.api#documentation": "An object that represents a service mesh returned by a describe operation.
", - "smithy.api#references": [ - { - "resource": "com.amazonaws.appmesh#Mesh" - } - ] - } - }, - "com.amazonaws.appmesh#MeshList": { - "type": "list", - "member": { - "target": "com.amazonaws.appmesh#MeshRef" + "smithy.api#documentation": "An object that represents an HTTP or HTTP/2 route type.
" } }, - "com.amazonaws.appmesh#MeshRef": { + "com.amazonaws.appmesh#HttpRouteAction": { "type": "structure", "members": { - "arn": { - "target": "com.amazonaws.appmesh#Arn", + "weightedTargets": { + "target": "com.amazonaws.appmesh#WeightedTargets", "traits": { - "smithy.api#documentation": "The full Amazon Resource Name (ARN) of the service mesh.
", + "smithy.api#documentation": "An object that represents the targets that traffic is routed to when a request matches the route.
", "smithy.api#required": {} } - }, - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName", + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the action to take if a match is determined.
" + } + }, + "com.amazonaws.appmesh#HttpRouteHeader": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.appmesh#HeaderName", "traits": { - "smithy.api#documentation": "The name of the service mesh.
", + "smithy.api#documentation": "A name for the HTTP header in the client request that will be matched on.
", "smithy.api#required": {} } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", + "invert": { + "target": "smithy.api#Boolean", "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "Specify True
to match anything except the match criteria. The default value is False
.
The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The HeaderMatchMethod
object.
An object that represents a service mesh returned by a list operation.
" + "smithy.api#documentation": "An object that represents the HTTP header in the request.
" } }, - "com.amazonaws.appmesh#MeshSpec": { - "type": "structure", - "members": { - "egressFilter": { - "target": "com.amazonaws.appmesh#EgressFilter", - "traits": { - "smithy.api#documentation": "The egress filter rules for the service mesh.
" - } - } + "com.amazonaws.appmesh#HttpRouteHeaders": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#HttpRouteHeader" }, "traits": { - "smithy.api#documentation": "An object that represents the specification of a service mesh.
" + "smithy.api#length": { + "min": 1, + "max": 10 + } } }, - "com.amazonaws.appmesh#MeshStatus": { + "com.amazonaws.appmesh#HttpRouteMatch": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.appmesh#MeshStatusCode", + "prefix": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The current mesh status.
" + "smithy.api#documentation": "Specifies the path to match requests with. This parameter must always start with\n /
, which by itself matches all requests to the virtual service name. You\n can also match for path-based routing of requests. For example, if your virtual service\n name is my-service.local
and you want the route to match requests to\n my-service.local/metrics
, your prefix should be\n /metrics
.
The client request method to match on. Specify only one.
" + } + }, + "scheme": { + "target": "com.amazonaws.appmesh#HttpScheme", + "traits": { + "smithy.api#documentation": "The client request scheme to match on. Specify only one.
" + } + }, + "headers": { + "target": "com.amazonaws.appmesh#HttpRouteHeaders", + "traits": { + "smithy.api#documentation": "An object that represents the client request headers to match on.
" } } }, "traits": { - "smithy.api#documentation": "An object that represents the status of a service mesh.
" + "smithy.api#documentation": "An object that represents the requirements for a route to match HTTP requests for a\n virtual router.
" } }, - "com.amazonaws.appmesh#MeshStatusCode": { + "com.amazonaws.appmesh#HttpScheme": { "type": "string", "traits": { "smithy.api#enum": [ { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" + "value": "http", + "name": "HTTP" }, { - "value": "DELETED", - "name": "DELETED" + "value": "https", + "name": "HTTPS" } ] } }, - "com.amazonaws.appmesh#MethodName": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 50 + "com.amazonaws.appmesh#HttpTimeout": { + "type": "structure", + "members": { + "perRequest": { + "target": "com.amazonaws.appmesh#Duration" + }, + "idle": { + "target": "com.amazonaws.appmesh#Duration" } + }, + "traits": { + "smithy.api#documentation": "An object that represents types of timeouts.
" } }, - "com.amazonaws.appmesh#NotFoundException": { + "com.amazonaws.appmesh#InternalServerErrorException": { "type": "structure", "members": { "message": { @@ -3545,104 +3357,43 @@ } }, "traits": { - "smithy.api#documentation": "The specified resource doesn't exist. Check your request syntax and try again.
", - "smithy.api#error": "client", - "smithy.api#httpError": 404 - } - }, - "com.amazonaws.appmesh#PercentInt": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 0, - "max": 100 - } + "smithy.api#documentation": "The request processing has failed because of an unknown error, exception, or\n failure.
", + "smithy.api#error": "server", + "smithy.api#httpError": 500, + "smithy.api#retryable": {} } }, - "com.amazonaws.appmesh#PortMapping": { + "com.amazonaws.appmesh#LimitExceededException": { "type": "structure", "members": { - "port": { - "target": "com.amazonaws.appmesh#PortNumber", - "traits": { - "smithy.api#documentation": "The port used for the port mapping.
", - "smithy.api#required": {} - } - }, - "protocol": { - "target": "com.amazonaws.appmesh#PortProtocol", - "traits": { - "smithy.api#documentation": "The protocol used for the port mapping. Specify one protocol.
", - "smithy.api#required": {} - } + "message": { + "target": "smithy.api#String" } }, "traits": { - "smithy.api#documentation": "An object that represents a port mapping.
" - } - }, - "com.amazonaws.appmesh#PortNumber": { - "type": "integer", - "traits": { - "smithy.api#range": { - "min": 1, - "max": 65535 - } - } - }, - "com.amazonaws.appmesh#PortProtocol": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "http", - "name": "HTTP" - }, - { - "value": "tcp", - "name": "TCP" - }, - { - "value": "http2", - "name": "HTTP2" - }, - { - "value": "grpc", - "name": "GRPC" - } - ] - } - }, - "com.amazonaws.appmesh#PortSet": { - "type": "set", - "member": { - "target": "com.amazonaws.appmesh#PortNumber" + "smithy.api#documentation": "You have exceeded a service limit for your account. For more information, see Service\n Limits in the AWS App Mesh User Guide.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 } }, - "com.amazonaws.appmesh#PutMeshPolicy": { + "com.amazonaws.appmesh#ListGatewayRoutes": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#PutMeshPolicyInput" + "target": "com.amazonaws.appmesh#ListGatewayRoutesInput" }, "output": { - "target": "com.amazonaws.appmesh#PutMeshPolicyOutput" + "target": "com.amazonaws.appmesh#ListGatewayRoutesOutput" }, "errors": [ { "target": "com.amazonaws.appmesh#BadRequestException" }, { - "target": "com.amazonaws.appmesh#ConflictException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" + "target": "com.amazonaws.appmesh#ForbiddenException" }, { "target": "com.amazonaws.appmesh#InternalServerErrorException" }, - { - "target": "com.amazonaws.appmesh#LimitExceededException" - }, { "target": "com.amazonaws.appmesh#NotFoundException" }, @@ -3654,487 +3405,2421 @@ } ], "traits": { + "smithy.api#documentation": "Returns a list of existing gateway routes that are associated to a virtual\n gateway.
", "smithy.api#http": { - "method": "com.amazonaws.appmesh#PUT", - "uri": "/v20190125/meshPolicy", + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes", "code": 200 }, - "smithy.api#idempotent": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#internal"] + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "gatewayRoutes", + "pageSize": "limit" + }, + "smithy.api#readonly": {} } }, - "com.amazonaws.appmesh#PutMeshPolicyInput": { + "com.amazonaws.appmesh#ListGatewayRoutesInput": { "type": "structure", "members": { - "meshArn": { - "target": "com.amazonaws.appmesh#Arn", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#httpQuery": "meshArn", + "smithy.api#documentation": "The name of the service mesh to list gateway routes in.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "policy": { - "target": "com.amazonaws.appmesh#IamPolicy", - "traits": { - "smithy.api#required": {} - } - } - }, - "traits": { - "smithy.api#tags": ["com.amazonaws.appmesh#internal"] - } - }, - "com.amazonaws.appmesh#PutMeshPolicyOutput": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#tags": ["com.amazonaws.appmesh#internal"] - } - }, - "com.amazonaws.appmesh#ResourceInUseException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" - } - }, - "traits": { - "smithy.api#documentation": "You can't delete the specified resource because it's in use or required by another\n resource.
", - "smithy.api#error": "client", - "smithy.api#httpError": 409 - } - }, - "com.amazonaws.appmesh#ResourceMetadata": { - "type": "structure", - "members": { - "arn": { - "target": "com.amazonaws.appmesh#Arn", + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the resource.
", + "smithy.api#documentation": "The name of the virtual gateway to list gateway routes in.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "createdAt": { - "target": "smithy.api#Timestamp", + "nextToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was created.
", - "smithy.api#required": {} + "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListGatewayRoutes
request where limit
was used and the results\n exceeded the value of that parameter. Pagination continues from the end of the previous\n results that returned the nextToken
value.
The Unix epoch timestamp in seconds for when the resource was last updated.
", - "smithy.api#required": {} + "smithy.api#documentation": "The maximum number of results returned by ListGatewayRoutes
in paginated\n output. When you use this parameter, ListGatewayRoutes
returns only\n limit
results in a single page along with a nextToken
response\n element. You can see the remaining results of the initial request by sending another\n ListGatewayRoutes
request with the returned nextToken
value.\n This value can be between 1 and 100. If you don't use this\n parameter, ListGatewayRoutes
returns up to 100 results and a\n nextToken
value if applicable.
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, - "resourceOwner": { - "target": "com.amazonaws.appmesh#AccountId", - "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, - "uid": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "The unique identifier for the resource.
", - "smithy.api#required": {} - } - }, - "version": { - "target": "smithy.api#Long", - "traits": { - "smithy.api#documentation": "The version of the resource. Resources are created at version 1, and this version is\n incremented each time that they're updated.
", - "smithy.api#required": {} + "smithy.api#httpQuery": "meshOwner" } } - }, - "traits": { - "smithy.api#documentation": "An object that represents metadata for a resource.
" } }, - "com.amazonaws.appmesh#ResourceName": { - "type": "string", + "com.amazonaws.appmesh#ListGatewayRoutesLimit": { + "type": "integer", "traits": { - "smithy.api#length": { + "smithy.api#box": {}, + "smithy.api#range": { "min": 1, - "max": 255 - } - } - }, - "com.amazonaws.appmesh#Route": { - "type": "resource", - "identifiers": { - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName" - }, - "virtualRouterName": { - "target": "com.amazonaws.appmesh#ResourceName" - }, - "routeName": { - "target": "com.amazonaws.appmesh#ResourceName" - } - }, - "put": { - "target": "com.amazonaws.appmesh#CreateRoute" - }, - "read": { - "target": "com.amazonaws.appmesh#DescribeRoute" - }, - "update": { - "target": "com.amazonaws.appmesh#UpdateRoute" - }, - "delete": { - "target": "com.amazonaws.appmesh#DeleteRoute" - }, - "list": { - "target": "com.amazonaws.appmesh#ListRoutes" - }, - "traits": { - "aws.api#arn": { - "template": "mesh/{meshName}/virtualRouter/{virtualRouterName}/route/{routeName}", - "absolute": false, - "noAccount": false, - "noRegion": false + "max": 100 } } }, - "com.amazonaws.appmesh#RouteData": { + "com.amazonaws.appmesh#ListGatewayRoutesOutput": { "type": "structure", "members": { - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName", + "gatewayRoutes": { + "target": "com.amazonaws.appmesh#GatewayRouteList", "traits": { - "smithy.api#documentation": "The name of the service mesh that the route resides in.
", + "smithy.api#documentation": "The list of existing gateway routes for the specified service mesh and virtual\n gateway.
", "smithy.api#required": {} } }, - "metadata": { - "target": "com.amazonaws.appmesh#ResourceMetadata", + "nextToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The associated metadata for the route.
", - "smithy.api#required": {} + "smithy.api#documentation": "The nextToken
value to include in a future ListGatewayRoutes
\n request. When the results of a ListGatewayRoutes
request exceed\n limit
, you can use this value to retrieve the next page of results. This\n value is null
when there are no more results to return.
The name of the route.
", - "smithy.api#required": {} - } + { + "target": "com.amazonaws.appmesh#ForbiddenException" }, - "spec": { - "target": "com.amazonaws.appmesh#RouteSpec", - "traits": { - "smithy.api#documentation": "The specifications of the route.
", - "smithy.api#required": {} - } + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" }, - "status": { - "target": "com.amazonaws.appmesh#RouteStatus", + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a list of existing service meshes.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/meshes", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "meshes", + "pageSize": "limit" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.appmesh#ListMeshesInput": { + "type": "structure", + "members": { + "nextToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The status of the route.
", - "smithy.api#required": {} + "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListMeshes
request where limit
was used and the results\n exceeded the value of that parameter. Pagination continues from the end of the previous\n results that returned the nextToken
value.
This token should be treated as an opaque identifier that is used only to\n retrieve the next items in a list and not for other programmatic purposes.
\nThe virtual router that the route is associated with.
", - "smithy.api#required": {} + "smithy.api#documentation": "The maximum number of results returned by ListMeshes
in paginated output.\n When you use this parameter, ListMeshes
returns only limit
\n results in a single page along with a nextToken
response element. You can see\n the remaining results of the initial request by sending another ListMeshes
\n request with the returned nextToken
value. This value can be between\n 1 and 100. If you don't use this parameter,\n ListMeshes
returns up to 100 results and a\n nextToken
value if applicable.
An object that represents a route returned by a describe operation.
", - "smithy.api#references": [ - { - "resource": "com.amazonaws.appmesh#Route" - } - ] - } - }, - "com.amazonaws.appmesh#RouteList": { - "type": "list", - "member": { - "target": "com.amazonaws.appmesh#RouteRef" + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#RoutePriority": { + "com.amazonaws.appmesh#ListMeshesLimit": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { - "min": 0, - "max": 1000 + "min": 1, + "max": 100 } } }, - "com.amazonaws.appmesh#RouteRef": { + "com.amazonaws.appmesh#ListMeshesOutput": { "type": "structure", "members": { - "arn": { - "target": "com.amazonaws.appmesh#Arn", + "meshes": { + "target": "com.amazonaws.appmesh#MeshList", "traits": { - "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the route.
", + "smithy.api#documentation": "The list of existing service meshes.
", "smithy.api#required": {} } }, - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName", + "nextToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The name of the service mesh that the route resides in.
", - "smithy.api#required": {} - } - }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", - "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The nextToken
value to include in a future ListMeshes
request.\n When the results of a ListMeshes
request exceed limit
, you can\n use this value to retrieve the next page of results. This value is null
when\n there are no more results to return.
The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } + { + "target": "com.amazonaws.appmesh#ForbiddenException" }, - "routeName": { - "target": "com.amazonaws.appmesh#ResourceName", - "traits": { - "smithy.api#documentation": "The name of the route.
", - "smithy.api#required": {} - } + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" }, - "virtualRouterName": { - "target": "com.amazonaws.appmesh#ResourceName", - "traits": { - "smithy.api#documentation": "The virtual router that the route is associated with.
", - "smithy.api#required": {} - } + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" } - }, + ], "traits": { - "smithy.api#documentation": "An object that represents a route returned by a list operation.
" + "smithy.api#documentation": "Returns a list of existing routes in a service mesh.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "routes", + "pageSize": "limit" + }, + "smithy.api#readonly": {} } }, - "com.amazonaws.appmesh#RouteSpec": { + "com.amazonaws.appmesh#ListRoutesInput": { "type": "structure", "members": { - "grpcRoute": { - "target": "com.amazonaws.appmesh#GrpcRoute", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "An object that represents the specification of a gRPC route.
" + "smithy.api#documentation": "The name of the service mesh to list routes in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "http2Route": { - "target": "com.amazonaws.appmesh#HttpRoute", + "virtualRouterName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "An object that represents the specification of an HTTP/2 route.
" + "smithy.api#documentation": "The name of the virtual router to list routes in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} } }, - "httpRoute": { - "target": "com.amazonaws.appmesh#HttpRoute", + "nextToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "An object that represents the specification of an HTTP route.
" + "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListRoutes
request where limit
was used and the results\n exceeded the value of that parameter. Pagination continues from the end of the previous\n results that returned the nextToken
value.
The priority for the route. Routes are matched based on the specified value, where 0 is\n the highest priority.
" + "smithy.api#documentation": "The maximum number of results returned by ListRoutes
in paginated output.\n When you use this parameter, ListRoutes
returns only limit
\n results in a single page along with a nextToken
response element. You can see\n the remaining results of the initial request by sending another ListRoutes
\n request with the returned nextToken
value. This value can be between\n 1 and 100. If you don't use this parameter,\n ListRoutes
returns up to 100 results and a\n nextToken
value if applicable.
An object that represents the specification of a TCP route.
" + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } } }, "traits": { - "smithy.api#documentation": "An object that represents a route specification. Specify one route type.
" + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#RouteStatus": { + "com.amazonaws.appmesh#ListRoutesLimit": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.appmesh#ListRoutesOutput": { "type": "structure", "members": { - "status": { - "target": "com.amazonaws.appmesh#RouteStatusCode", + "routes": { + "target": "com.amazonaws.appmesh#RouteList", "traits": { - "smithy.api#documentation": "The current status for the route.
", + "smithy.api#documentation": "The list of existing routes for the specified service mesh and virtual router.
", "smithy.api#required": {} } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The nextToken
value to include in a future ListRoutes
request.\n When the results of a ListRoutes
request exceed limit
, you can\n use this value to retrieve the next page of results. This value is null
when\n there are no more results to return.
An object that represents the current status of a route.
" - } - }, - "com.amazonaws.appmesh#RouteStatusCode": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "ACTIVE", - "name": "ACTIVE" - }, - { - "value": "INACTIVE", - "name": "INACTIVE" - }, - { - "value": "DELETED", - "name": "DELETED" - } - ] + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#SdsSecretName": { - "type": "string" - }, - "com.amazonaws.appmesh#SdsSource": { - "type": "union", - "members": { - "unixDomainSocket": { - "target": "com.amazonaws.appmesh#SdsUnixDomainSocketSource" + "com.amazonaws.appmesh#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#ListTagsForResourceInput" + }, + "output": { + "target": "com.amazonaws.appmesh#ListTagsForResourceOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" } + ], + "traits": { + "smithy.api#documentation": "List the tags for an App Mesh resource.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/tags", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "tags", + "pageSize": "limit" + }, + "smithy.api#readonly": {}, + "smithy.api#tags": ["not-preview"] } }, - "com.amazonaws.appmesh#SdsUnixDomainSocketSource": { + "com.amazonaws.appmesh#ListTagsForResourceInput": { "type": "structure", "members": { - "path": { - "target": "com.amazonaws.appmesh#FilePath", + "resourceArn": { + "target": "com.amazonaws.appmesh#Arn", "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) that identifies the resource to list the tags for.
", + "smithy.api#httpQuery": "resourceArn", "smithy.api#required": {} } - } - } - }, - "com.amazonaws.appmesh#ServiceDiscovery": { - "type": "union", - "members": { - "awsCloudMap": { - "target": "com.amazonaws.appmesh#AwsCloudMapServiceDiscovery", + }, + "nextToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "Specifies any AWS Cloud Map information for the virtual node.
" + "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListTagsForResource
request where limit
was used and the\n results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the nextToken
value.
Specifies the DNS information for the virtual node.
" + "smithy.api#documentation": "The maximum number of tag results returned by ListTagsForResource
in\n paginated output. When this parameter is used, ListTagsForResource
returns\n only limit
results in a single page along with a nextToken
\n response element. You can see the remaining results of the initial request by sending\n another ListTagsForResource
request with the returned nextToken
\n value. This value can be between 1 and 100. If you don't use\n this parameter, ListTagsForResource
returns up to 100\n results and a nextToken
value if applicable.
An object that represents the service discovery information for a virtual node.
" + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#ServiceName": { - "type": "string" - }, - "com.amazonaws.appmesh#ServiceUnavailableException": { + "com.amazonaws.appmesh#ListTagsForResourceOutput": { "type": "structure", "members": { - "message": { - "target": "smithy.api#String" + "tags": { + "target": "com.amazonaws.appmesh#TagList", + "traits": { + "smithy.api#documentation": "The tags for the resource.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The nextToken
value to include in a future ListTagsForResource
\n request. When the results of a ListTagsForResource
request exceed\n limit
, you can use this value to retrieve the next page of results. This\n value is null
when there are no more results to return.
The request has failed due to a temporary failure of the service.
", - "smithy.api#error": "server", - "smithy.api#httpError": 503, - "smithy.api#retryable": {} + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#TagKey": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 1, - "max": 128 - } - } + "com.amazonaws.appmesh#ListVirtualGateways": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#ListVirtualGatewaysInput" + }, + "output": { + "target": "com.amazonaws.appmesh#ListVirtualGatewaysOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" + } + ], + "traits": { + "smithy.api#documentation": "Returns a list of existing virtual gateways in a service mesh.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualGateways", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "virtualGateways", + "pageSize": "limit" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.appmesh#ListVirtualGatewaysInput": { + "type": "structure", + "members": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh to list virtual gateways in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListVirtualGateways
request where limit
was used and the\n results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the nextToken
value.
The maximum number of results returned by ListVirtualGateways
in paginated\n output. When you use this parameter, ListVirtualGateways
returns only\n limit
results in a single page along with a nextToken
response\n element. You can see the remaining results of the initial request by sending another\n ListVirtualGateways
request with the returned nextToken
value.\n This value can be between 1 and 100. If you don't use this\n parameter, ListVirtualGateways
returns up to 100 results and\n a nextToken
value if applicable.
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } + } + } + }, + "com.amazonaws.appmesh#ListVirtualGatewaysLimit": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.appmesh#ListVirtualGatewaysOutput": { + "type": "structure", + "members": { + "virtualGateways": { + "target": "com.amazonaws.appmesh#VirtualGatewayList", + "traits": { + "smithy.api#documentation": "The list of existing virtual gateways for the specified service mesh.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The nextToken
value to include in a future ListVirtualGateways
\n request. When the results of a ListVirtualGateways
request exceed\n limit
, you can use this value to retrieve the next page of results. This\n value is null
when there are no more results to return.
Returns a list of existing virtual nodes.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualNodes", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "virtualNodes", + "pageSize": "limit" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.appmesh#ListVirtualNodesInput": { + "type": "structure", + "members": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh to list virtual nodes in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListVirtualNodes
request where limit
was used and the results\n exceeded the value of that parameter. Pagination continues from the end of the previous\n results that returned the nextToken
value.
The maximum number of results returned by ListVirtualNodes
in paginated\n output. When you use this parameter, ListVirtualNodes
returns only\n limit
results in a single page along with a nextToken
response\n element. You can see the remaining results of the initial request by sending another\n ListVirtualNodes
request with the returned nextToken
value.\n This value can be between 1 and 100. If you don't use this\n parameter, ListVirtualNodes
returns up to 100 results and a\n nextToken
value if applicable.
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } + } + }, + "traits": { + "smithy.api#documentation": "" + } + }, + "com.amazonaws.appmesh#ListVirtualNodesLimit": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.appmesh#ListVirtualNodesOutput": { + "type": "structure", + "members": { + "virtualNodes": { + "target": "com.amazonaws.appmesh#VirtualNodeList", + "traits": { + "smithy.api#documentation": "The list of existing virtual nodes for the specified service mesh.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The nextToken
value to include in a future ListVirtualNodes
\n request. When the results of a ListVirtualNodes
request exceed\n limit
, you can use this value to retrieve the next page of results. This\n value is null
when there are no more results to return.
Returns a list of existing virtual routers in a service mesh.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualRouters", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "virtualRouters", + "pageSize": "limit" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.appmesh#ListVirtualRoutersInput": { + "type": "structure", + "members": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh to list virtual routers in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListVirtualRouters
request where limit
was used and the\n results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the nextToken
value.
The maximum number of results returned by ListVirtualRouters
in paginated\n output. When you use this parameter, ListVirtualRouters
returns only\n limit
results in a single page along with a nextToken
response\n element. You can see the remaining results of the initial request by sending another\n ListVirtualRouters
request with the returned nextToken
value.\n This value can be between 1 and 100. If you don't use this\n parameter, ListVirtualRouters
returns up to 100 results and\n a nextToken
value if applicable.
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } + } + }, + "traits": { + "smithy.api#documentation": "" + } + }, + "com.amazonaws.appmesh#ListVirtualRoutersLimit": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.appmesh#ListVirtualRoutersOutput": { + "type": "structure", + "members": { + "virtualRouters": { + "target": "com.amazonaws.appmesh#VirtualRouterList", + "traits": { + "smithy.api#documentation": "The list of existing virtual routers for the specified service mesh.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The nextToken
value to include in a future ListVirtualRouters
\n request. When the results of a ListVirtualRouters
request exceed\n limit
, you can use this value to retrieve the next page of results. This\n value is null
when there are no more results to return.
Returns a list of existing virtual services in a service mesh.
", + "smithy.api#http": { + "method": "GET", + "uri": "/v20190125/meshes/{meshName}/virtualServices", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "virtualServices", + "pageSize": "limit" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.appmesh#ListVirtualServicesInput": { + "type": "structure", + "members": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh to list virtual services in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The nextToken
value returned from a previous paginated\n ListVirtualServices
request where limit
was used and the\n results exceeded the value of that parameter. Pagination continues from the end of the\n previous results that returned the nextToken
value.
The maximum number of results returned by ListVirtualServices
in paginated\n output. When you use this parameter, ListVirtualServices
returns only\n limit
results in a single page along with a nextToken
response\n element. You can see the remaining results of the initial request by sending another\n ListVirtualServices
request with the returned nextToken
value.\n This value can be between 1 and 100. If you don't use this\n parameter, ListVirtualServices
returns up to 100 results and\n a nextToken
value if applicable.
The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } + } + }, + "traits": { + "smithy.api#documentation": "" + } + }, + "com.amazonaws.appmesh#ListVirtualServicesLimit": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "com.amazonaws.appmesh#ListVirtualServicesOutput": { + "type": "structure", + "members": { + "virtualServices": { + "target": "com.amazonaws.appmesh#VirtualServiceList", + "traits": { + "smithy.api#documentation": "The list of existing virtual services for the specified service mesh.
", + "smithy.api#required": {} + } + }, + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The nextToken
value to include in a future ListVirtualServices
\n request. When the results of a ListVirtualServices
request exceed\n limit
, you can use this value to retrieve the next page of results. This\n value is null
when there are no more results to return.
The port mapping information for the listener.
", + "smithy.api#required": {} + } + }, + "tls": { + "target": "com.amazonaws.appmesh#ListenerTls", + "traits": { + "smithy.api#documentation": "A reference to an object that represents the Transport Layer Security (TLS) properties for a listener.
" + } + }, + "healthCheck": { + "target": "com.amazonaws.appmesh#HealthCheckPolicy", + "traits": { + "smithy.api#documentation": "The health check information for the listener.
" + } + }, + "timeout": { + "target": "com.amazonaws.appmesh#ListenerTimeout", + "traits": { + "smithy.api#documentation": "An object that represents timeouts for different protocols.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a listener for a virtual node.
" + } + }, + "com.amazonaws.appmesh#ListenerTimeout": { + "type": "union", + "members": { + "tcp": { + "target": "com.amazonaws.appmesh#TcpTimeout", + "traits": { + "smithy.api#documentation": "An object that represents types of timeouts.
" + } + }, + "http": { + "target": "com.amazonaws.appmesh#HttpTimeout", + "traits": { + "smithy.api#documentation": "An object that represents types of timeouts.
" + } + }, + "http2": { + "target": "com.amazonaws.appmesh#HttpTimeout", + "traits": { + "smithy.api#documentation": "An object that represents types of timeouts.
" + } + }, + "grpc": { + "target": "com.amazonaws.appmesh#GrpcTimeout" + } + }, + "traits": { + "smithy.api#documentation": "An object that represents timeouts for different protocols.
" + } + }, + "com.amazonaws.appmesh#ListenerTls": { + "type": "structure", + "members": { + "mode": { + "target": "com.amazonaws.appmesh#ListenerTlsMode", + "traits": { + "smithy.api#documentation": "Specify one of the following modes.
\n\n STRICT – Listener only accepts connections with TLS\n enabled.
\n\n PERMISSIVE – Listener accepts connections with or\n without TLS enabled.
\n\n DISABLED – Listener only accepts connections without\n TLS.
\nA reference to an object that represents a listener's TLS certificate.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the Transport Layer Security (TLS) properties for a listener.
" + } + }, + "com.amazonaws.appmesh#ListenerTlsAcmCertificate": { + "type": "structure", + "members": { + "certificateArn": { + "target": "com.amazonaws.appmesh#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the certificate. The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS).
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents an AWS Certicate Manager (ACM) certificate.
" + } + }, + "com.amazonaws.appmesh#ListenerTlsCertificate": { + "type": "union", + "members": { + "acm": { + "target": "com.amazonaws.appmesh#ListenerTlsAcmCertificate", + "traits": { + "smithy.api#documentation": "A reference to an object that represents an AWS Certicate Manager (ACM) certificate.
" + } + }, + "file": { + "target": "com.amazonaws.appmesh#ListenerTlsFileCertificate", + "traits": { + "smithy.api#documentation": "A reference to an object that represents a local file certificate.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a listener's Transport Layer Security (TLS) certificate.
" + } + }, + "com.amazonaws.appmesh#ListenerTlsFileCertificate": { + "type": "structure", + "members": { + "certificateChain": { + "target": "com.amazonaws.appmesh#FilePath", + "traits": { + "smithy.api#documentation": "The certificate chain for the certificate.
", + "smithy.api#required": {} + } + }, + "privateKey": { + "target": "com.amazonaws.appmesh#FilePath", + "traits": { + "smithy.api#documentation": "The private key for a certificate stored on the file system of the virtual node that the\n proxy is running on.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a local file certificate.\n The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS).
" + } + }, + "com.amazonaws.appmesh#ListenerTlsMode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "STRICT", + "name": "STRICT" + }, + { + "value": "PERMISSIVE", + "name": "PERMISSIVE" + }, + { + "value": "DISABLED", + "name": "DISABLED" + } + ] + } + }, + "com.amazonaws.appmesh#Listeners": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#Listener" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1 + } + } + }, + "com.amazonaws.appmesh#Logging": { + "type": "structure", + "members": { + "accessLog": { + "target": "com.amazonaws.appmesh#AccessLog", + "traits": { + "smithy.api#documentation": "The access log configuration for a virtual node.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the logging information for a virtual node.
" + } + }, + "com.amazonaws.appmesh#MatchRange": { + "type": "structure", + "members": { + "start": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The start of the range.
", + "smithy.api#required": {} + } + }, + "end": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The end of the range.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the range of values to match on. The first character of the range is included in the range, though the last character is not. For example, if the range specified were 1-100, only values 1-99 would be matched.
" + } + }, + "com.amazonaws.appmesh#MaxRetries": { + "type": "long", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0 + } + } + }, + "com.amazonaws.appmesh#Mesh": { + "type": "resource", + "identifiers": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName" + } + }, + "put": { + "target": "com.amazonaws.appmesh#CreateMesh" + }, + "read": { + "target": "com.amazonaws.appmesh#DescribeMesh" + }, + "update": { + "target": "com.amazonaws.appmesh#UpdateMesh" + }, + "delete": { + "target": "com.amazonaws.appmesh#DeleteMesh" + }, + "list": { + "target": "com.amazonaws.appmesh#ListMeshes" + }, + "resources": [ + { + "target": "com.amazonaws.appmesh#VirtualGateway" + }, + { + "target": "com.amazonaws.appmesh#VirtualNode" + }, + { + "target": "com.amazonaws.appmesh#VirtualRouter" + }, + { + "target": "com.amazonaws.appmesh#VirtualService" + } + ], + "traits": { + "aws.api#arn": { + "template": "mesh/{meshName}", + "absolute": false, + "noAccount": false, + "noRegion": false + } + } + }, + "com.amazonaws.appmesh#MeshData": { + "type": "structure", + "members": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh.
", + "smithy.api#required": {} + } + }, + "spec": { + "target": "com.amazonaws.appmesh#MeshSpec", + "traits": { + "smithy.api#documentation": "The associated specification for the service mesh.
", + "smithy.api#required": {} + } + }, + "metadata": { + "target": "com.amazonaws.appmesh#ResourceMetadata", + "traits": { + "smithy.api#documentation": "The associated metadata for the service mesh.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.appmesh#MeshStatus", + "traits": { + "smithy.api#documentation": "The status of the service mesh.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a service mesh returned by a describe operation.
", + "smithy.api#references": [ + { + "resource": "com.amazonaws.appmesh#Mesh" + } + ] + } + }, + "com.amazonaws.appmesh#MeshList": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#MeshRef" + } + }, + "com.amazonaws.appmesh#MeshRef": { + "type": "structure", + "members": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh.
", + "smithy.api#required": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#required": {} + } + }, + "resourceOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#required": {} + } + }, + "arn": { + "target": "com.amazonaws.appmesh#Arn", + "traits": { + "smithy.api#documentation": "The full Amazon Resource Name (ARN) of the service mesh.
", + "smithy.api#required": {} + } + }, + "version": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was created.
", + "smithy.api#required": {} + } + }, + "lastUpdatedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was last updated.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a service mesh returned by a list operation.
" + } + }, + "com.amazonaws.appmesh#MeshSpec": { + "type": "structure", + "members": { + "egressFilter": { + "target": "com.amazonaws.appmesh#EgressFilter", + "traits": { + "smithy.api#documentation": "The egress filter rules for the service mesh.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the specification of a service mesh.
" + } + }, + "com.amazonaws.appmesh#MeshStatus": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.appmesh#MeshStatusCode", + "traits": { + "smithy.api#documentation": "The current mesh status.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the status of a service mesh.
" + } + }, + "com.amazonaws.appmesh#MeshStatusCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "INACTIVE", + "name": "INACTIVE" + }, + { + "value": "DELETED", + "name": "DELETED" + } + ] + } + }, + "com.amazonaws.appmesh#MethodName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.appmesh#NotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The specified resource doesn't exist. Check your request syntax and try again.
", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.appmesh#PercentInt": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 0, + "max": 100 + } + } + }, + "com.amazonaws.appmesh#PortMapping": { + "type": "structure", + "members": { + "port": { + "target": "com.amazonaws.appmesh#PortNumber", + "traits": { + "smithy.api#documentation": "The port used for the port mapping.
", + "smithy.api#required": {} + } + }, + "protocol": { + "target": "com.amazonaws.appmesh#PortProtocol", + "traits": { + "smithy.api#documentation": "The protocol used for the port mapping. Specify one protocol.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a port mapping.
" + } + }, + "com.amazonaws.appmesh#PortNumber": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 65535 + } + } + }, + "com.amazonaws.appmesh#PortProtocol": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "http", + "name": "HTTP" + }, + { + "value": "tcp", + "name": "TCP" + }, + { + "value": "http2", + "name": "HTTP2" + }, + { + "value": "grpc", + "name": "GRPC" + } + ] + } + }, + "com.amazonaws.appmesh#PortSet": { + "type": "set", + "member": { + "target": "com.amazonaws.appmesh#PortNumber" + } + }, + "com.amazonaws.appmesh#ResourceInUseException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "You can't delete the specified resource because it's in use or required by another\n resource.
", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.appmesh#ResourceMetadata": { + "type": "structure", + "members": { + "arn": { + "target": "com.amazonaws.appmesh#Arn", + "traits": { + "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the resource.
", + "smithy.api#required": {} + } + }, + "version": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
", + "smithy.api#required": {} + } + }, + "uid": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The unique identifier for the resource.
", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was created.
", + "smithy.api#required": {} + } + }, + "lastUpdatedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was last updated.
", + "smithy.api#required": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#required": {} + } + }, + "resourceOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents metadata for a resource.
" + } + }, + "com.amazonaws.appmesh#ResourceName": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 255 + } + } + }, + "com.amazonaws.appmesh#Route": { + "type": "resource", + "identifiers": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName" + }, + "virtualRouterName": { + "target": "com.amazonaws.appmesh#ResourceName" + }, + "routeName": { + "target": "com.amazonaws.appmesh#ResourceName" + } + }, + "put": { + "target": "com.amazonaws.appmesh#CreateRoute" + }, + "read": { + "target": "com.amazonaws.appmesh#DescribeRoute" + }, + "update": { + "target": "com.amazonaws.appmesh#UpdateRoute" + }, + "delete": { + "target": "com.amazonaws.appmesh#DeleteRoute" + }, + "list": { + "target": "com.amazonaws.appmesh#ListRoutes" + }, + "traits": { + "aws.api#arn": { + "template": "mesh/{meshName}/virtualRouter/{virtualRouterName}/route/{routeName}", + "absolute": false, + "noAccount": false, + "noRegion": false + } + } + }, + "com.amazonaws.appmesh#RouteData": { + "type": "structure", + "members": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh that the route resides in.
", + "smithy.api#required": {} + } + }, + "virtualRouterName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The virtual router that the route is associated with.
", + "smithy.api#required": {} + } + }, + "routeName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the route.
", + "smithy.api#required": {} + } + }, + "spec": { + "target": "com.amazonaws.appmesh#RouteSpec", + "traits": { + "smithy.api#documentation": "The specifications of the route.
", + "smithy.api#required": {} + } + }, + "metadata": { + "target": "com.amazonaws.appmesh#ResourceMetadata", + "traits": { + "smithy.api#documentation": "The associated metadata for the route.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.appmesh#RouteStatus", + "traits": { + "smithy.api#documentation": "The status of the route.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a route returned by a describe operation.
", + "smithy.api#references": [ + { + "resource": "com.amazonaws.appmesh#Route" + } + ] + } + }, + "com.amazonaws.appmesh#RouteList": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#RouteRef" + } + }, + "com.amazonaws.appmesh#RoutePriority": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 0, + "max": 1000 + } + } + }, + "com.amazonaws.appmesh#RouteRef": { + "type": "structure", + "members": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh that the route resides in.
", + "smithy.api#required": {} + } + }, + "virtualRouterName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The virtual router that the route is associated with.
", + "smithy.api#required": {} + } + }, + "routeName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the route.
", + "smithy.api#required": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#required": {} + } + }, + "resourceOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#required": {} + } + }, + "arn": { + "target": "com.amazonaws.appmesh#Arn", + "traits": { + "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the route.
", + "smithy.api#required": {} + } + }, + "version": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was created.
", + "smithy.api#required": {} + } + }, + "lastUpdatedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was last updated.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a route returned by a list operation.
" + } + }, + "com.amazonaws.appmesh#RouteSpec": { + "type": "structure", + "members": { + "priority": { + "target": "com.amazonaws.appmesh#RoutePriority", + "traits": { + "smithy.api#documentation": "The priority for the route. Routes are matched based on the specified value, where 0 is\n the highest priority.
" + } + }, + "httpRoute": { + "target": "com.amazonaws.appmesh#HttpRoute", + "traits": { + "smithy.api#documentation": "An object that represents the specification of an HTTP route.
" + } + }, + "tcpRoute": { + "target": "com.amazonaws.appmesh#TcpRoute", + "traits": { + "smithy.api#documentation": "An object that represents the specification of a TCP route.
" + } + }, + "http2Route": { + "target": "com.amazonaws.appmesh#HttpRoute", + "traits": { + "smithy.api#documentation": "An object that represents the specification of an HTTP/2 route.
" + } + }, + "grpcRoute": { + "target": "com.amazonaws.appmesh#GrpcRoute", + "traits": { + "smithy.api#documentation": "An object that represents the specification of a gRPC route.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a route specification. Specify one route type.
" + } + }, + "com.amazonaws.appmesh#RouteStatus": { + "type": "structure", + "members": { + "status": { + "target": "com.amazonaws.appmesh#RouteStatusCode", + "traits": { + "smithy.api#documentation": "The current status for the route.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the current status of a route.
" + } + }, + "com.amazonaws.appmesh#RouteStatusCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "INACTIVE", + "name": "INACTIVE" + }, + { + "value": "DELETED", + "name": "DELETED" + } + ] + } + }, + "com.amazonaws.appmesh#ServiceDiscovery": { + "type": "union", + "members": { + "dns": { + "target": "com.amazonaws.appmesh#DnsServiceDiscovery", + "traits": { + "smithy.api#documentation": "Specifies the DNS information for the virtual node.
" + } + }, + "awsCloudMap": { + "target": "com.amazonaws.appmesh#AwsCloudMapServiceDiscovery", + "traits": { + "smithy.api#documentation": "Specifies any AWS Cloud Map information for the virtual node.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the service discovery information for a virtual node.
" + } + }, + "com.amazonaws.appmesh#ServiceName": { + "type": "string" + }, + "com.amazonaws.appmesh#ServiceUnavailableException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The request has failed due to a temporary failure of the service.
", + "smithy.api#error": "server", + "smithy.api#httpError": 503, + "smithy.api#retryable": {} + } + }, + "com.amazonaws.appmesh#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + } + } + }, + "com.amazonaws.appmesh#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.appmesh#TagList": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#TagRef" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 50 + } + } + }, + "com.amazonaws.appmesh#TagRef": { + "type": "structure", + "members": { + "key": { + "target": "com.amazonaws.appmesh#TagKey", + "traits": { + "smithy.api#documentation": "One part of a key-value pair that make up a tag. A key
is a general label\n that acts like a category for more specific tag values.
The optional part of a key-value pair that make up a tag. A value
acts as a\n descriptor within a tag category (key).
Optional metadata that you apply to a resource to assist with categorization and\n organization. Each tag consists of a key and an optional value, both of which you define.\n Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
" + } + }, + "com.amazonaws.appmesh#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#TagResourceInput" + }, + "output": { + "target": "com.amazonaws.appmesh#TagResourceOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" + }, + { + "target": "com.amazonaws.appmesh#TooManyTagsException" + } + ], + "traits": { + "smithy.api#documentation": "Associates the specified tags to a resource with the specified resourceArn
.\n If existing tags on a resource aren't specified in the request parameters, they aren't\n changed. When a resource is deleted, the tags associated with that resource are also\n deleted.
The Amazon Resource Name (ARN) of the resource to add tags to.
", + "smithy.api#httpQuery": "resourceArn", + "smithy.api#required": {} + } + }, + "tags": { + "target": "com.amazonaws.appmesh#TagList", + "traits": { + "smithy.api#documentation": "The tags to add to the resource. A tag is an array of key-value pairs.\n Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "" + } + }, + "com.amazonaws.appmesh#TagResourceOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "" + } + }, + "com.amazonaws.appmesh#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 0, + "max": 256 + } + } + }, + "com.amazonaws.appmesh#TagsLimit": { + "type": "integer", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.appmesh#TcpRetryPolicyEvent": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "connection-error", + "name": "CONNECTION_ERROR" + } + ] + } + }, + "com.amazonaws.appmesh#TcpRetryPolicyEvents": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#TcpRetryPolicyEvent" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1 + } + } + }, + "com.amazonaws.appmesh#TcpRoute": { + "type": "structure", + "members": { + "action": { + "target": "com.amazonaws.appmesh#TcpRouteAction", + "traits": { + "smithy.api#documentation": "The action to take if a match is determined.
", + "smithy.api#required": {} + } + }, + "timeout": { + "target": "com.amazonaws.appmesh#TcpTimeout", + "traits": { + "smithy.api#documentation": "An object that represents types of timeouts.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a TCP route type.
" + } + }, + "com.amazonaws.appmesh#TcpRouteAction": { + "type": "structure", + "members": { + "weightedTargets": { + "target": "com.amazonaws.appmesh#WeightedTargets", + "traits": { + "smithy.api#documentation": "An object that represents the targets that traffic is routed to when a request matches the route.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the action to take if a match is determined.
" + } + }, + "com.amazonaws.appmesh#TcpTimeout": { + "type": "structure", + "members": { + "idle": { + "target": "com.amazonaws.appmesh#Duration" + } + }, + "traits": { + "smithy.api#documentation": "An object that represents types of timeouts.
" + } + }, + "com.amazonaws.appmesh#TlsValidationContext": { + "type": "structure", + "members": { + "trust": { + "target": "com.amazonaws.appmesh#TlsValidationContextTrust", + "traits": { + "smithy.api#documentation": "A reference to an object that represents a TLS validation context trust.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a Transport Layer Security (TLS) validation context.
" + } + }, + "com.amazonaws.appmesh#TlsValidationContextAcmTrust": { + "type": "structure", + "members": { + "certificateAuthorityArns": { + "target": "com.amazonaws.appmesh#CertificateAuthorityArns", + "traits": { + "smithy.api#documentation": "One or more ACM Amazon Resource Name (ARN)s.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a TLS validation context trust for an AWS Certicate Manager (ACM)\n certificate.
" + } + }, + "com.amazonaws.appmesh#TlsValidationContextFileTrust": { + "type": "structure", + "members": { + "certificateChain": { + "target": "com.amazonaws.appmesh#FilePath", + "traits": { + "smithy.api#documentation": "The certificate trust chain for a certificate stored on the file system of the virtual\n node that the proxy is running on.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a Transport Layer Security (TLS) validation context trust for a local file.
" + } + }, + "com.amazonaws.appmesh#TlsValidationContextTrust": { + "type": "union", + "members": { + "acm": { + "target": "com.amazonaws.appmesh#TlsValidationContextAcmTrust", + "traits": { + "smithy.api#documentation": "A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM)\n certificate.
" + } + }, + "file": { + "target": "com.amazonaws.appmesh#TlsValidationContextFileTrust", + "traits": { + "smithy.api#documentation": "An object that represents a TLS validation context trust for a local file.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a Transport Layer Security (TLS) validation context trust.
" + } + }, + "com.amazonaws.appmesh#TooManyRequestsException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The maximum request rate permitted by the App Mesh APIs has been exceeded for your\n account. For best results, use an increasing or variable sleep interval between\n requests.
", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.appmesh#TooManyTagsException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The request exceeds the maximum allowed number of tags allowed per resource. The current\n limit is 50 user tags per resource. You must reduce the number of tags in the request. None\n of the tags in this request were applied.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + }, + "com.amazonaws.appmesh#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#UntagResourceInput" + }, + "output": { + "target": "com.amazonaws.appmesh#UntagResourceOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" + } + ], + "traits": { + "smithy.api#documentation": "Deletes specified tags from a resource.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/v20190125/untag", + "code": 200 + }, + "smithy.api#idempotent": {}, + "smithy.api#tags": ["not-preview"] + } + }, + "com.amazonaws.appmesh#UntagResourceInput": { + "type": "structure", + "members": { + "resourceArn": { + "target": "com.amazonaws.appmesh#Arn", + "traits": { + "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource to delete tags from.
", + "smithy.api#httpQuery": "resourceArn", + "smithy.api#required": {} + } + }, + "tagKeys": { + "target": "com.amazonaws.appmesh#TagKeyList", + "traits": { + "smithy.api#documentation": "The keys of the tags to be removed.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "" + } + }, + "com.amazonaws.appmesh#UntagResourceOutput": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#documentation": "" + } + }, + "com.amazonaws.appmesh#UpdateGatewayRoute": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#UpdateGatewayRouteInput" + }, + "output": { + "target": "com.amazonaws.appmesh#UpdateGatewayRouteOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ConflictException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#LimitExceededException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" + } + ], + "traits": { + "smithy.api#documentation": "Updates an existing gateway route that is associated to a specified virtual gateway in a\n service mesh.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/v20190125/meshes/{meshName}/virtualGateway/{virtualGatewayName}/gatewayRoutes/{gatewayRouteName}", + "code": 200 + }, + "smithy.api#idempotent": {} + } }, - "com.amazonaws.appmesh#TagKeyList": { - "type": "list", - "member": { - "target": "com.amazonaws.appmesh#TagKey" + "com.amazonaws.appmesh#UpdateGatewayRouteInput": { + "type": "structure", + "members": { + "gatewayRouteName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the gateway route to update.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh that the gateway route resides in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the virtual gateway that the gateway route is associated with.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "spec": { + "target": "com.amazonaws.appmesh#GatewayRouteSpec", + "traits": { + "smithy.api#documentation": "The new gateway route specification to apply. This overwrites the existing data.
", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } + } + } + }, + "com.amazonaws.appmesh#UpdateGatewayRouteOutput": { + "type": "structure", + "members": { + "gatewayRoute": { + "target": "com.amazonaws.appmesh#GatewayRouteData", + "traits": { + "smithy.api#documentation": "A full description of the gateway route that was updated.
", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.appmesh#UpdateMesh": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#UpdateMeshInput" }, + "output": { + "target": "com.amazonaws.appmesh#UpdateMeshOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ConflictException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" + } + ], "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 + "smithy.api#documentation": "Updates an existing service mesh.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/v20190125/meshes/{meshName}", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.appmesh#UpdateMeshInput": { + "type": "structure", + "members": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh to update.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "spec": { + "target": "com.amazonaws.appmesh#MeshSpec", + "traits": { + "smithy.api#documentation": "The service mesh specification to apply.
" + } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } } + }, + "traits": { + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#TagList": { - "type": "list", - "member": { - "target": "com.amazonaws.appmesh#TagRef" + "com.amazonaws.appmesh#UpdateMeshOutput": { + "type": "structure", + "members": { + "mesh": { + "target": "com.amazonaws.appmesh#MeshData", + "traits": { + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } + } }, "traits": { - "smithy.api#length": { - "min": 0, - "max": 50 + "smithy.api#documentation": "" + } + }, + "com.amazonaws.appmesh#UpdateRoute": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#UpdateRouteInput" + }, + "output": { + "target": "com.amazonaws.appmesh#UpdateRouteOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ConflictException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#LimitExceededException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" } + ], + "traits": { + "smithy.api#documentation": "Updates an existing route for a specified service mesh and virtual router.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", + "code": 200 + }, + "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#TagRef": { + "com.amazonaws.appmesh#UpdateRouteInput": { "type": "structure", "members": { - "key": { - "target": "com.amazonaws.appmesh#TagKey", + "routeName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "One part of a key-value pair that make up a tag. A key
is a general label\n that acts like a category for more specific tag values.
The name of the route to update.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "value": { - "target": "com.amazonaws.appmesh#TagValue", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The optional part of a key-value pair that make up a tag. A value
acts as a\n descriptor within a tag category (key).
The name of the service mesh that the route resides in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "virtualRouterName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the virtual router that the route is associated with.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "spec": { + "target": "com.amazonaws.appmesh#RouteSpec", + "traits": { + "smithy.api#documentation": "The new route specification to apply. This overwrites the existing data.
", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } + } + }, + "traits": { + "smithy.api#documentation": "" + } + }, + "com.amazonaws.appmesh#UpdateRouteOutput": { + "type": "structure", + "members": { + "route": { + "target": "com.amazonaws.appmesh#RouteData", + "traits": { + "smithy.api#documentation": "A full description of the route that was updated.
", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "Optional metadata that you apply to a resource to assist with categorization and\n organization. Each tag consists of a key and an optional value, both of which you define.\n Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
" + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#TagResource": { + "com.amazonaws.appmesh#UpdateVirtualGateway": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#TagResourceInput" + "target": "com.amazonaws.appmesh#UpdateVirtualGatewayInput" }, "output": { - "target": "com.amazonaws.appmesh#TagResourceOutput" + "target": "com.amazonaws.appmesh#UpdateVirtualGatewayOutput" }, "errors": [ { "target": "com.amazonaws.appmesh#BadRequestException" }, + { + "target": "com.amazonaws.appmesh#ConflictException" + }, { "target": "com.amazonaws.appmesh#ForbiddenException" }, { "target": "com.amazonaws.appmesh#InternalServerErrorException" }, + { + "target": "com.amazonaws.appmesh#LimitExceededException" + }, { "target": "com.amazonaws.appmesh#NotFoundException" }, @@ -4143,267 +5828,307 @@ }, { "target": "com.amazonaws.appmesh#TooManyRequestsException" - }, - { - "target": "com.amazonaws.appmesh#TooManyTagsException" } ], "traits": { - "smithy.api#documentation": "Associates the specified tags to a resource with the specified resourceArn
.\n If existing tags on a resource aren't specified in the request parameters, they aren't\n changed. When a resource is deleted, the tags associated with that resource are also\n deleted.
Updates an existing virtual gateway in a specified service mesh.
", "smithy.api#http": { "method": "PUT", - "uri": "/v20190125/tag", + "uri": "/v20190125/meshes/{meshName}/virtualGateways/{virtualGatewayName}", "code": 200 }, - "smithy.api#idempotent": {}, - "smithy.api#tags": ["not-preview"] + "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#TagResourceInput": { + "com.amazonaws.appmesh#UpdateVirtualGatewayInput": { "type": "structure", "members": { - "resourceArn": { - "target": "com.amazonaws.appmesh#Arn", + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource to add tags to.
", - "smithy.api#httpQuery": "resourceArn", + "smithy.api#documentation": "The name of the virtual gateway to update.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "tags": { - "target": "com.amazonaws.appmesh#TagList", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The tags to add to the resource. A tag is an array of key-value pairs.\n Tag keys can have a maximum character length of 128 characters, and tag values can have\n a maximum length of 256 characters.
", + "smithy.api#documentation": "The name of the service mesh that the virtual gateway resides in.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } - } - }, - "traits": { - "smithy.api#documentation": "" - } - }, - "com.amazonaws.appmesh#TagResourceOutput": { - "type": "structure", - "members": {}, - "traits": { - "smithy.api#documentation": "" - } - }, - "com.amazonaws.appmesh#TagValue": { - "type": "string", - "traits": { - "smithy.api#length": { - "min": 0, - "max": 256 - } - } - }, - "com.amazonaws.appmesh#TagsLimit": { - "type": "integer", - "traits": { - "smithy.api#box": {}, - "smithy.api#range": { - "min": 1, - "max": 50 - } - } - }, - "com.amazonaws.appmesh#TcpRetryPolicyEvent": { - "type": "string", - "traits": { - "smithy.api#enum": [ - { - "value": "connection-error", - "name": "CONNECTION_ERROR" - } - ] - } - }, - "com.amazonaws.appmesh#TcpRetryPolicyEvents": { - "type": "list", - "member": { - "target": "com.amazonaws.appmesh#TcpRetryPolicyEvent" - }, - "traits": { - "smithy.api#length": { - "min": 1, - "max": 1 - } - } - }, - "com.amazonaws.appmesh#TcpRoute": { - "type": "structure", - "members": { - "action": { - "target": "com.amazonaws.appmesh#TcpRouteAction", + }, + "spec": { + "target": "com.amazonaws.appmesh#VirtualGatewaySpec", "traits": { - "smithy.api#documentation": "The action to take if a match is determined.
", + "smithy.api#documentation": "The new virtual gateway specification to apply. This overwrites the existing\n data.
", "smithy.api#required": {} } }, - "timeout": { - "target": "com.amazonaws.appmesh#TcpTimeout", + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" } } - }, - "traits": { - "smithy.api#documentation": "An object that represents a TCP route type.
" } }, - "com.amazonaws.appmesh#TcpRouteAction": { + "com.amazonaws.appmesh#UpdateVirtualGatewayOutput": { "type": "structure", "members": { - "weightedTargets": { - "target": "com.amazonaws.appmesh#WeightedTargets", + "virtualGateway": { + "target": "com.amazonaws.appmesh#VirtualGatewayData", "traits": { - "smithy.api#documentation": "An object that represents the targets that traffic is routed to when a request matches the route.
", + "smithy.api#documentation": "A full description of the virtual gateway that was updated.
", + "smithy.api#httpPayload": {}, "smithy.api#required": {} } } - }, - "traits": { - "smithy.api#documentation": "An object that represents the action to take if a match is determined.
" } }, - "com.amazonaws.appmesh#TcpTimeout": { - "type": "structure", - "members": { - "idle": { - "target": "com.amazonaws.appmesh#Duration" + "com.amazonaws.appmesh#UpdateVirtualNode": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#UpdateVirtualNodeInput" + }, + "output": { + "target": "com.amazonaws.appmesh#UpdateVirtualNodeOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ConflictException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#LimitExceededException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" } + ], + "traits": { + "smithy.api#documentation": "Updates an existing virtual node in a specified service mesh.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}", + "code": 200 + }, + "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#TlsValidationContext": { + "com.amazonaws.appmesh#UpdateVirtualNodeInput": { "type": "structure", "members": { - "trust": { - "target": "com.amazonaws.appmesh#TlsValidationContextTrust", + "virtualNodeName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "A reference to an object that represents a TLS validation context trust.
", + "smithy.api#documentation": "The name of the virtual node to update.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", + "traits": { + "smithy.api#documentation": "The name of the service mesh that the virtual node resides in.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "spec": { + "target": "com.amazonaws.appmesh#VirtualNodeSpec", + "traits": { + "smithy.api#documentation": "The new virtual node specification to apply. This overwrites the existing data.
", "smithy.api#required": {} } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } } }, "traits": { - "smithy.api#documentation": "An object that represents a Transport Layer Security (TLS) validation context.
" + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#TlsValidationContextAcmTrust": { + "com.amazonaws.appmesh#UpdateVirtualNodeOutput": { "type": "structure", "members": { - "certificateAuthorityArns": { - "target": "com.amazonaws.appmesh#CertificateAuthorityArns", + "virtualNode": { + "target": "com.amazonaws.appmesh#VirtualNodeData", "traits": { - "smithy.api#documentation": "One or more ACM Amazon Resource Name (ARN)s.
", + "smithy.api#documentation": "A full description of the virtual node that was updated.
", + "smithy.api#httpPayload": {}, "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "An object that represents a TLS validation context trust for an AWS Certicate Manager (ACM)\n certificate.
" + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#TlsValidationContextFileTrust": { - "type": "structure", - "members": { - "certificateChain": { - "target": "com.amazonaws.appmesh#FilePath", - "traits": { - "smithy.api#documentation": "The certificate trust chain for a certificate stored on the file system of the virtual\n node that the proxy is running on.
", - "smithy.api#required": {} - } + "com.amazonaws.appmesh#UpdateVirtualRouter": { + "type": "operation", + "input": { + "target": "com.amazonaws.appmesh#UpdateVirtualRouterInput" + }, + "output": { + "target": "com.amazonaws.appmesh#UpdateVirtualRouterOutput" + }, + "errors": [ + { + "target": "com.amazonaws.appmesh#BadRequestException" + }, + { + "target": "com.amazonaws.appmesh#ConflictException" + }, + { + "target": "com.amazonaws.appmesh#ForbiddenException" + }, + { + "target": "com.amazonaws.appmesh#InternalServerErrorException" + }, + { + "target": "com.amazonaws.appmesh#LimitExceededException" + }, + { + "target": "com.amazonaws.appmesh#NotFoundException" + }, + { + "target": "com.amazonaws.appmesh#ServiceUnavailableException" + }, + { + "target": "com.amazonaws.appmesh#TooManyRequestsException" } - }, + ], "traits": { - "smithy.api#documentation": "An object that represents a Transport Layer Security (TLS) validation context trust for a local file.
" + "smithy.api#documentation": "Updates an existing virtual router in a specified service mesh.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}", + "code": 200 + }, + "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#TlsValidationContextSdsTrust": { + "com.amazonaws.appmesh#UpdateVirtualRouterInput": { "type": "structure", "members": { - "secretName": { - "target": "com.amazonaws.appmesh#SdsSecretName", + "virtualRouterName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { + "smithy.api#documentation": "The name of the virtual router to update.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "source": { - "target": "com.amazonaws.appmesh#SdsSource", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { + "smithy.api#documentation": "The name of the service mesh that the virtual router resides in.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } - } - } - }, - "com.amazonaws.appmesh#TlsValidationContextTrust": { - "type": "union", - "members": { - "acm": { - "target": "com.amazonaws.appmesh#TlsValidationContextAcmTrust", + }, + "spec": { + "target": "com.amazonaws.appmesh#VirtualRouterSpec", "traits": { - "smithy.api#documentation": "A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM)\n certificate.
" + "smithy.api#documentation": "The new virtual router specification to apply. This overwrites the existing data.
", + "smithy.api#required": {} } }, - "file": { - "target": "com.amazonaws.appmesh#TlsValidationContextFileTrust", + "clientToken": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "An object that represents a TLS validation context trust for a local file.
" + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} } }, - "sds": { - "target": "com.amazonaws.appmesh#TlsValidationContextSdsTrust" - } - }, - "traits": { - "smithy.api#documentation": "An object that represents a Transport Layer Security (TLS) validation context trust.
" - } - }, - "com.amazonaws.appmesh#TooManyRequestsException": { - "type": "structure", - "members": { - "message": { - "target": "smithy.api#String" + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } } }, "traits": { - "smithy.api#documentation": "The maximum request rate permitted by the App Mesh APIs has been exceeded for your\n account. For best results, use an increasing or variable sleep interval between\n requests.
", - "smithy.api#error": "client", - "smithy.api#httpError": 429 + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#TooManyTagsException": { + "com.amazonaws.appmesh#UpdateVirtualRouterOutput": { "type": "structure", "members": { - "message": { - "target": "smithy.api#String" + "virtualRouter": { + "target": "com.amazonaws.appmesh#VirtualRouterData", + "traits": { + "smithy.api#documentation": "A full description of the virtual router that was updated.
", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } } }, "traits": { - "smithy.api#documentation": "The request exceeds the maximum allowed number of tags allowed per resource. The current\n limit is 50 user tags per resource. You must reduce the number of tags in the request. None\n of the tags in this request were applied.
", - "smithy.api#error": "client", - "smithy.api#httpError": 400 + "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#UntagResource": { + "com.amazonaws.appmesh#UpdateVirtualService": { "type": "operation", "input": { - "target": "com.amazonaws.appmesh#UntagResourceInput" + "target": "com.amazonaws.appmesh#UpdateVirtualServiceInput" }, "output": { - "target": "com.amazonaws.appmesh#UntagResourceOutput" + "target": "com.amazonaws.appmesh#UpdateVirtualServiceOutput" }, "errors": [ { "target": "com.amazonaws.appmesh#BadRequestException" }, + { + "target": "com.amazonaws.appmesh#ConflictException" + }, { "target": "com.amazonaws.appmesh#ForbiddenException" }, { "target": "com.amazonaws.appmesh#InternalServerErrorException" }, + { + "target": "com.amazonaws.appmesh#LimitExceededException" + }, { "target": "com.amazonaws.appmesh#NotFoundException" }, @@ -4415,410 +6140,555 @@ } ], "traits": { - "smithy.api#documentation": "Deletes specified tags from a resource.
", + "smithy.api#documentation": "Updates an existing virtual service in a specified service mesh.
", "smithy.api#http": { "method": "PUT", - "uri": "/v20190125/untag", + "uri": "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}", "code": 200 }, - "smithy.api#idempotent": {}, - "smithy.api#tags": ["not-preview"] + "smithy.api#idempotent": {} } }, - "com.amazonaws.appmesh#UntagResourceInput": { + "com.amazonaws.appmesh#UpdateVirtualServiceInput": { "type": "structure", "members": { - "resourceArn": { - "target": "com.amazonaws.appmesh#Arn", + "virtualServiceName": { + "target": "com.amazonaws.appmesh#ServiceName", "traits": { - "smithy.api#documentation": "The Amazon Resource Name (ARN) of the resource to delete tags from.
", - "smithy.api#httpQuery": "resourceArn", + "smithy.api#documentation": "The name of the virtual service to update.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, - "tagKeys": { - "target": "com.amazonaws.appmesh#TagKeyList", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The keys of the tags to be removed.
", + "smithy.api#documentation": "The name of the service mesh that the virtual service resides in.
", + "smithy.api#httpLabel": {}, "smithy.api#required": {} } + }, + "spec": { + "target": "com.amazonaws.appmesh#VirtualServiceSpec", + "traits": { + "smithy.api#documentation": "The new virtual service specification to apply. This overwrites the existing\n data.
", + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", + "smithy.api#idempotencyToken": {} + } + }, + "meshOwner": { + "target": "com.amazonaws.appmesh#AccountId", + "traits": { + "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", + "smithy.api#httpQuery": "meshOwner" + } } }, "traits": { "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#UntagResourceOutput": { + "com.amazonaws.appmesh#UpdateVirtualServiceOutput": { "type": "structure", - "members": {}, + "members": { + "virtualService": { + "target": "com.amazonaws.appmesh#VirtualServiceData", + "traits": { + "smithy.api#documentation": "A full description of the virtual service that was updated.
", + "smithy.api#httpPayload": {}, + "smithy.api#required": {} + } + } + }, "traits": { "smithy.api#documentation": "" } }, - "com.amazonaws.appmesh#UpdateMesh": { - "type": "operation", - "input": { - "target": "com.amazonaws.appmesh#UpdateMeshInput" + "com.amazonaws.appmesh#VirtualGateway": { + "type": "resource", + "identifiers": { + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName" + }, + "virtualGatewayName": { + "target": "com.amazonaws.appmesh#ResourceName" + } }, - "output": { - "target": "com.amazonaws.appmesh#UpdateMeshOutput" + "put": { + "target": "com.amazonaws.appmesh#CreateVirtualGateway" }, - "errors": [ - { - "target": "com.amazonaws.appmesh#BadRequestException" - }, - { - "target": "com.amazonaws.appmesh#ConflictException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" - }, - { - "target": "com.amazonaws.appmesh#InternalServerErrorException" - }, + "read": { + "target": "com.amazonaws.appmesh#DescribeVirtualGateway" + }, + "update": { + "target": "com.amazonaws.appmesh#UpdateVirtualGateway" + }, + "delete": { + "target": "com.amazonaws.appmesh#DeleteVirtualGateway" + }, + "list": { + "target": "com.amazonaws.appmesh#ListVirtualGateways" + }, + "resources": [ { - "target": "com.amazonaws.appmesh#NotFoundException" + "target": "com.amazonaws.appmesh#GatewayRoute" + } + ], + "traits": { + "aws.api#arn": { + "template": "mesh/{meshName}/virtualGateway/{virtualGatewayName}", + "absolute": false, + "noAccount": false, + "noRegion": false + } + } + }, + "com.amazonaws.appmesh#VirtualGatewayAccessLog": { + "type": "union", + "members": { + "file": { + "target": "com.amazonaws.appmesh#VirtualGatewayFileAccessLog", + "traits": { + "smithy.api#documentation": "The file object to send virtual gateway access logs to.
" + } + } + }, + "traits": { + "smithy.api#documentation": "The access log configuration for a virtual gateway.
" + } + }, + "com.amazonaws.appmesh#VirtualGatewayBackendDefaults": { + "type": "structure", + "members": { + "clientPolicy": { + "target": "com.amazonaws.appmesh#VirtualGatewayClientPolicy", + "traits": { + "smithy.api#documentation": "A reference to an object that represents a client policy.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the default properties for a backend.
" + } + }, + "com.amazonaws.appmesh#VirtualGatewayCertificateAuthorityArns": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#Arn" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 3 + } + } + }, + "com.amazonaws.appmesh#VirtualGatewayClientPolicy": { + "type": "structure", + "members": { + "tls": { + "target": "com.amazonaws.appmesh#VirtualGatewayClientPolicyTls", + "traits": { + "smithy.api#documentation": "A reference to an object that represents a Transport Layer Security (TLS) client policy.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a client policy.
" + } + }, + "com.amazonaws.appmesh#VirtualGatewayClientPolicyTls": { + "type": "structure", + "members": { + "enforce": { + "target": "smithy.api#Boolean", + "traits": { + "smithy.api#box": {}, + "smithy.api#documentation": "Whether the policy is enforced. The default is True
, if a value isn't\n specified.
One or more ports that the policy is enforced for.
" + } }, - { - "target": "com.amazonaws.appmesh#TooManyRequestsException" + "validation": { + "target": "com.amazonaws.appmesh#VirtualGatewayTlsValidationContext", + "traits": { + "smithy.api#documentation": "A reference to an object that represents a TLS validation context.
", + "smithy.api#required": {} + } } - ], + }, "traits": { - "smithy.api#documentation": "Updates an existing service mesh.
", - "smithy.api#http": { - "method": "PUT", - "uri": "/v20190125/meshes/{meshName}", - "code": 200 - }, - "smithy.api#idempotent": {} + "smithy.api#documentation": "An object that represents a Transport Layer Security (TLS) client policy.
" } }, - "com.amazonaws.appmesh#UpdateMeshInput": { + "com.amazonaws.appmesh#VirtualGatewayData": { "type": "structure", "members": { - "clientToken": { - "target": "smithy.api#String", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "The name of the service mesh that the virtual gateway resides in.
", + "smithy.api#required": {} } }, - "meshName": { + "virtualGatewayName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh to update.
", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "The name of the virtual gateway.
", "smithy.api#required": {} } }, "spec": { - "target": "com.amazonaws.appmesh#MeshSpec", + "target": "com.amazonaws.appmesh#VirtualGatewaySpec", "traits": { - "smithy.api#documentation": "The service mesh specification to apply.
" + "smithy.api#documentation": "The specifications of the virtual gateway.
", + "smithy.api#required": {} + } + }, + "metadata": { + "target": "com.amazonaws.appmesh#ResourceMetadata", + "traits": { + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.appmesh#VirtualGatewayStatus", + "traits": { + "smithy.api#documentation": "The current status of the virtual gateway.
", + "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents a virtual gateway returned by a describe operation.
", + "smithy.api#references": [ + { + "resource": "com.amazonaws.appmesh#VirtualGateway" + } + ] } }, - "com.amazonaws.appmesh#UpdateMeshOutput": { + "com.amazonaws.appmesh#VirtualGatewayFileAccessLog": { "type": "structure", "members": { - "mesh": { - "target": "com.amazonaws.appmesh#MeshData", + "path": { + "target": "com.amazonaws.appmesh#FilePath", "traits": { - "smithy.api#httpPayload": {}, + "smithy.api#documentation": "The file path to write access logs to. You can use /dev/stdout
to send\n access logs to standard out and configure your Envoy container to use a log driver, such as\n awslogs
, to export the access logs to a log storage service such as Amazon\n CloudWatch Logs. You can also specify a path in the Envoy container's file system to write\n the files to disk.
An object that represents an access log file.
" } }, - "com.amazonaws.appmesh#UpdateRoute": { - "type": "operation", - "input": { - "target": "com.amazonaws.appmesh#UpdateRouteInput" - }, - "output": { - "target": "com.amazonaws.appmesh#UpdateRouteOutput" - }, - "errors": [ - { - "target": "com.amazonaws.appmesh#BadRequestException" - }, - { - "target": "com.amazonaws.appmesh#ConflictException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" - }, - { - "target": "com.amazonaws.appmesh#InternalServerErrorException" - }, - { - "target": "com.amazonaws.appmesh#LimitExceededException" - }, - { - "target": "com.amazonaws.appmesh#NotFoundException" - }, - { - "target": "com.amazonaws.appmesh#ServiceUnavailableException" - }, - { - "target": "com.amazonaws.appmesh#TooManyRequestsException" - } - ], + "com.amazonaws.appmesh#VirtualGatewayHealthCheckIntervalMillis": { + "type": "long", "traits": { - "smithy.api#documentation": "Updates an existing route for a specified service mesh and virtual router.
", - "smithy.api#http": { - "method": "PUT", - "uri": "/v20190125/meshes/{meshName}/virtualRouter/{virtualRouterName}/routes/{routeName}", - "code": 200 - }, - "smithy.api#idempotent": {} + "smithy.api#box": {}, + "smithy.api#range": { + "min": 5000, + "max": 300000 + } } }, - "com.amazonaws.appmesh#UpdateRouteInput": { + "com.amazonaws.appmesh#VirtualGatewayHealthCheckPolicy": { "type": "structure", "members": { - "clientToken": { - "target": "smithy.api#String", + "timeoutMillis": { + "target": "com.amazonaws.appmesh#VirtualGatewayHealthCheckTimeoutMillis", "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "The amount of time to wait when receiving a response from the health check, in\n milliseconds.
", + "smithy.api#required": {} } }, - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName", + "intervalMillis": { + "target": "com.amazonaws.appmesh#VirtualGatewayHealthCheckIntervalMillis", "traits": { - "smithy.api#documentation": "The name of the service mesh that the route resides in.
", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "The time period in milliseconds between each health check execution.
", "smithy.api#required": {} } }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", + "protocol": { + "target": "com.amazonaws.appmesh#VirtualGatewayPortProtocol", "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The protocol for the health check request. If you specify grpc
, then your\n service must conform to the GRPC Health\n Checking Protocol.
The name of the route to update.
", - "smithy.api#httpLabel": {}, - "smithy.api#required": {} + "smithy.api#documentation": "The destination port for the health check request. This port must match the port defined\n in the PortMapping for the listener.
" } }, - "spec": { - "target": "com.amazonaws.appmesh#RouteSpec", + "path": { + "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "The new route specification to apply. This overwrites the existing data.
", + "smithy.api#documentation": "The destination path for the health check request. This value is only used if the\n specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored.
" + } + }, + "healthyThreshold": { + "target": "com.amazonaws.appmesh#VirtualGatewayHealthCheckThreshold", + "traits": { + "smithy.api#documentation": "The number of consecutive successful health checks that must occur before declaring the\n listener healthy.
", "smithy.api#required": {} } }, - "virtualRouterName": { - "target": "com.amazonaws.appmesh#ResourceName", + "unhealthyThreshold": { + "target": "com.amazonaws.appmesh#VirtualGatewayHealthCheckThreshold", "traits": { - "smithy.api#documentation": "The name of the virtual router that the route is associated with.
", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "The number of consecutive failed health checks that must occur before declaring a\n virtual gateway unhealthy.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents the health check policy for a virtual gateway's\n listener.
" } }, - "com.amazonaws.appmesh#UpdateRouteOutput": { + "com.amazonaws.appmesh#VirtualGatewayHealthCheckThreshold": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 2, + "max": 10 + } + } + }, + "com.amazonaws.appmesh#VirtualGatewayHealthCheckTimeoutMillis": { + "type": "long", + "traits": { + "smithy.api#box": {}, + "smithy.api#range": { + "min": 2000, + "max": 60000 + } + } + }, + "com.amazonaws.appmesh#VirtualGatewayList": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#VirtualGatewayRef" + } + }, + "com.amazonaws.appmesh#VirtualGatewayListener": { "type": "structure", "members": { - "route": { - "target": "com.amazonaws.appmesh#RouteData", + "healthCheck": { + "target": "com.amazonaws.appmesh#VirtualGatewayHealthCheckPolicy", "traits": { - "smithy.api#documentation": "A full description of the route that was updated.
", - "smithy.api#httpPayload": {}, + "smithy.api#documentation": "The health check information for the listener.
" + } + }, + "portMapping": { + "target": "com.amazonaws.appmesh#VirtualGatewayPortMapping", + "traits": { + "smithy.api#documentation": "The port mapping information for the listener.
", "smithy.api#required": {} } + }, + "tls": { + "target": "com.amazonaws.appmesh#VirtualGatewayListenerTls", + "traits": { + "smithy.api#documentation": "A reference to an object that represents the Transport Layer Security (TLS) properties for the listener.
" + } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents a listener for a virtual gateway.
" } }, - "com.amazonaws.appmesh#UpdateVirtualNode": { - "type": "operation", - "input": { - "target": "com.amazonaws.appmesh#UpdateVirtualNodeInput" - }, - "output": { - "target": "com.amazonaws.appmesh#UpdateVirtualNodeOutput" - }, - "errors": [ - { - "target": "com.amazonaws.appmesh#BadRequestException" - }, - { - "target": "com.amazonaws.appmesh#ConflictException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" - }, - { - "target": "com.amazonaws.appmesh#InternalServerErrorException" - }, - { - "target": "com.amazonaws.appmesh#LimitExceededException" - }, - { - "target": "com.amazonaws.appmesh#NotFoundException" - }, - { - "target": "com.amazonaws.appmesh#ServiceUnavailableException" + "com.amazonaws.appmesh#VirtualGatewayListenerTls": { + "type": "structure", + "members": { + "mode": { + "target": "com.amazonaws.appmesh#VirtualGatewayListenerTlsMode", + "traits": { + "smithy.api#documentation": "Specify one of the following modes.
\n\n STRICT – Listener only accepts connections with TLS\n enabled.
\n\n PERMISSIVE – Listener accepts connections with or\n without TLS enabled.
\n\n DISABLED – Listener only accepts connections without\n TLS.
\nAn object that represents a Transport Layer Security (TLS) certificate.
", + "smithy.api#required": {} + } } - ], + }, "traits": { - "smithy.api#documentation": "Updates an existing virtual node in a specified service mesh.
", - "smithy.api#http": { - "method": "PUT", - "uri": "/v20190125/meshes/{meshName}/virtualNodes/{virtualNodeName}", - "code": 200 - }, - "smithy.api#idempotent": {} + "smithy.api#documentation": "An object that represents the Transport Layer Security (TLS) properties for a listener.
" } }, - "com.amazonaws.appmesh#UpdateVirtualNodeInput": { + "com.amazonaws.appmesh#VirtualGatewayListenerTlsAcmCertificate": { "type": "structure", "members": { - "clientToken": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", - "smithy.api#idempotencyToken": {} - } - }, - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName", + "certificateArn": { + "target": "com.amazonaws.appmesh#Arn", "traits": { - "smithy.api#documentation": "The name of the service mesh that the virtual node resides in.
", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "The Amazon Resource Name (ARN) for the certificate. The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS).
", "smithy.api#required": {} } - }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", + } + }, + "traits": { + "smithy.api#documentation": "An object that represents an AWS Certicate Manager (ACM) certificate.
" + } + }, + "com.amazonaws.appmesh#VirtualGatewayListenerTlsCertificate": { + "type": "union", + "members": { + "acm": { + "target": "com.amazonaws.appmesh#VirtualGatewayListenerTlsAcmCertificate", "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "A reference to an object that represents an AWS Certicate Manager (ACM) certificate.
" } }, - "spec": { - "target": "com.amazonaws.appmesh#VirtualNodeSpec", + "file": { + "target": "com.amazonaws.appmesh#VirtualGatewayListenerTlsFileCertificate", + "traits": { + "smithy.api#documentation": "A reference to an object that represents a local file certificate.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a listener's Transport Layer Security (TLS) certificate.
" + } + }, + "com.amazonaws.appmesh#VirtualGatewayListenerTlsFileCertificate": { + "type": "structure", + "members": { + "certificateChain": { + "target": "com.amazonaws.appmesh#FilePath", "traits": { - "smithy.api#documentation": "The new virtual node specification to apply. This overwrites the existing data.
", + "smithy.api#documentation": "The certificate chain for the certificate.
", "smithy.api#required": {} } }, - "virtualNodeName": { - "target": "com.amazonaws.appmesh#ResourceName", + "privateKey": { + "target": "com.amazonaws.appmesh#FilePath", "traits": { - "smithy.api#documentation": "The name of the virtual node to update.
", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "The private key for a certificate stored on the file system of the mesh endpoint that\n the proxy is running on.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents a local file certificate.\n The certificate must meet specific requirements and you must have proxy authorization enabled. For more information, see Transport Layer Security (TLS).
" } }, - "com.amazonaws.appmesh#UpdateVirtualNodeOutput": { + "com.amazonaws.appmesh#VirtualGatewayListenerTlsMode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "STRICT", + "name": "STRICT" + }, + { + "value": "PERMISSIVE", + "name": "PERMISSIVE" + }, + { + "value": "DISABLED", + "name": "DISABLED" + } + ] + } + }, + "com.amazonaws.appmesh#VirtualGatewayListeners": { + "type": "list", + "member": { + "target": "com.amazonaws.appmesh#VirtualGatewayListener" + }, + "traits": { + "smithy.api#length": { + "min": 0, + "max": 1 + } + } + }, + "com.amazonaws.appmesh#VirtualGatewayLogging": { "type": "structure", "members": { - "virtualNode": { - "target": "com.amazonaws.appmesh#VirtualNodeData", + "accessLog": { + "target": "com.amazonaws.appmesh#VirtualGatewayAccessLog", "traits": { - "smithy.api#documentation": "A full description of the virtual node that was updated.
", - "smithy.api#httpPayload": {}, - "smithy.api#required": {} + "smithy.api#documentation": "The access log configuration.
" } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents logging information.
" } }, - "com.amazonaws.appmesh#UpdateVirtualRouter": { - "type": "operation", - "input": { - "target": "com.amazonaws.appmesh#UpdateVirtualRouterInput" - }, - "output": { - "target": "com.amazonaws.appmesh#UpdateVirtualRouterOutput" - }, - "errors": [ - { - "target": "com.amazonaws.appmesh#BadRequestException" - }, - { - "target": "com.amazonaws.appmesh#ConflictException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" - }, - { - "target": "com.amazonaws.appmesh#InternalServerErrorException" - }, - { - "target": "com.amazonaws.appmesh#LimitExceededException" - }, - { - "target": "com.amazonaws.appmesh#NotFoundException" - }, - { - "target": "com.amazonaws.appmesh#ServiceUnavailableException" + "com.amazonaws.appmesh#VirtualGatewayPortMapping": { + "type": "structure", + "members": { + "port": { + "target": "com.amazonaws.appmesh#PortNumber", + "traits": { + "smithy.api#documentation": "The port used for the port mapping. Specify one protocol.
", + "smithy.api#required": {} + } }, - { - "target": "com.amazonaws.appmesh#TooManyRequestsException" + "protocol": { + "target": "com.amazonaws.appmesh#VirtualGatewayPortProtocol", + "traits": { + "smithy.api#documentation": "The protocol used for the port mapping.
", + "smithy.api#required": {} + } } - ], + }, "traits": { - "smithy.api#documentation": "Updates an existing virtual router in a specified service mesh.
", - "smithy.api#http": { - "method": "PUT", - "uri": "/v20190125/meshes/{meshName}/virtualRouters/{virtualRouterName}", - "code": 200 - }, - "smithy.api#idempotent": {} + "smithy.api#documentation": "An object that represents a port mapping.
" } }, - "com.amazonaws.appmesh#UpdateVirtualRouterInput": { + "com.amazonaws.appmesh#VirtualGatewayPortProtocol": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "http", + "name": "HTTP" + }, + { + "value": "http2", + "name": "HTTP2" + }, + { + "value": "grpc", + "name": "GRPC" + } + ] + } + }, + "com.amazonaws.appmesh#VirtualGatewayRef": { "type": "structure", "members": { - "clientToken": { - "target": "smithy.api#String", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", - "smithy.api#idempotencyToken": {} + "smithy.api#documentation": "The name of the service mesh that the resource resides in.
", + "smithy.api#required": {} } }, - "meshName": { + "virtualGatewayName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh that the virtual router resides in.
", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "The name of the resource.
", "smithy.api#required": {} } }, @@ -4826,150 +6696,170 @@ "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#required": {} } }, - "spec": { - "target": "com.amazonaws.appmesh#VirtualRouterSpec", + "resourceOwner": { + "target": "com.amazonaws.appmesh#AccountId", "traits": { - "smithy.api#documentation": "The new virtual router specification to apply. This overwrites the existing data.
", + "smithy.api#documentation": "The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", "smithy.api#required": {} } }, - "virtualRouterName": { - "target": "com.amazonaws.appmesh#ResourceName", + "arn": { + "target": "com.amazonaws.appmesh#Arn", "traits": { - "smithy.api#documentation": "The name of the virtual router to update.
", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the resource.
", + "smithy.api#required": {} + } + }, + "version": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was created.
", + "smithy.api#required": {} + } + }, + "lastUpdatedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was last updated.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents a virtual gateway returned by a list operation.
" } }, - "com.amazonaws.appmesh#UpdateVirtualRouterOutput": { + "com.amazonaws.appmesh#VirtualGatewaySpec": { "type": "structure", "members": { - "virtualRouter": { - "target": "com.amazonaws.appmesh#VirtualRouterData", + "backendDefaults": { + "target": "com.amazonaws.appmesh#VirtualGatewayBackendDefaults", "traits": { - "smithy.api#documentation": "A full description of the virtual router that was updated.
", - "smithy.api#httpPayload": {}, - "smithy.api#required": {} + "smithy.api#documentation": "A reference to an object that represents the defaults for backends.
" } - } - }, - "traits": { - "smithy.api#documentation": "" - } - }, - "com.amazonaws.appmesh#UpdateVirtualService": { - "type": "operation", - "input": { - "target": "com.amazonaws.appmesh#UpdateVirtualServiceInput" - }, - "output": { - "target": "com.amazonaws.appmesh#UpdateVirtualServiceOutput" - }, - "errors": [ - { - "target": "com.amazonaws.appmesh#BadRequestException" - }, - { - "target": "com.amazonaws.appmesh#ConflictException" - }, - { - "target": "com.amazonaws.appmesh#ForbiddenException" - }, - { - "target": "com.amazonaws.appmesh#InternalServerErrorException" - }, - { - "target": "com.amazonaws.appmesh#LimitExceededException" - }, - { - "target": "com.amazonaws.appmesh#NotFoundException" }, - { - "target": "com.amazonaws.appmesh#ServiceUnavailableException" + "listeners": { + "target": "com.amazonaws.appmesh#VirtualGatewayListeners", + "traits": { + "smithy.api#documentation": "The listeners that the mesh endpoint is expected to receive inbound traffic from. You\n can specify one listener.
", + "smithy.api#required": {} + } }, - { - "target": "com.amazonaws.appmesh#TooManyRequestsException" + "logging": { + "target": "com.amazonaws.appmesh#VirtualGatewayLogging" } - ], + }, "traits": { - "smithy.api#documentation": "Updates an existing virtual service in a specified service mesh.
", - "smithy.api#http": { - "method": "PUT", - "uri": "/v20190125/meshes/{meshName}/virtualServices/{virtualServiceName}", - "code": 200 - }, - "smithy.api#idempotent": {} + "smithy.api#documentation": "An object that represents the specification of a service mesh resource.
" } }, - "com.amazonaws.appmesh#UpdateVirtualServiceInput": { + "com.amazonaws.appmesh#VirtualGatewayStatus": { "type": "structure", "members": { - "clientToken": { - "target": "smithy.api#String", - "traits": { - "smithy.api#documentation": "Unique, case-sensitive identifier that you provide to ensure the idempotency of the\nrequest. Up to 36 letters, numbers, hyphens, and underscores are allowed.
", - "smithy.api#idempotencyToken": {} - } - }, - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName", + "status": { + "target": "com.amazonaws.appmesh#VirtualGatewayStatusCode", "traits": { - "smithy.api#documentation": "The name of the service mesh that the virtual service resides in.
", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "The current status.
", "smithy.api#required": {} } - }, - "meshOwner": { - "target": "com.amazonaws.appmesh#AccountId", - "traits": { - "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#httpQuery": "meshOwner", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + } + }, + "traits": { + "smithy.api#documentation": "An object that represents the status of the mesh resource.
" + } + }, + "com.amazonaws.appmesh#VirtualGatewayStatusCode": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ACTIVE", + "name": "ACTIVE" + }, + { + "value": "INACTIVE", + "name": "INACTIVE" + }, + { + "value": "DELETED", + "name": "DELETED" } - }, - "spec": { - "target": "com.amazonaws.appmesh#VirtualServiceSpec", + ] + } + }, + "com.amazonaws.appmesh#VirtualGatewayTlsValidationContext": { + "type": "structure", + "members": { + "trust": { + "target": "com.amazonaws.appmesh#VirtualGatewayTlsValidationContextTrust", "traits": { - "smithy.api#documentation": "The new virtual service specification to apply. This overwrites the existing\n data.
", + "smithy.api#documentation": "A reference to an object that represents a TLS validation context trust.
", "smithy.api#required": {} } - }, - "virtualServiceName": { - "target": "com.amazonaws.appmesh#ServiceName", + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a Transport Layer Security (TLS) validation context.
" + } + }, + "com.amazonaws.appmesh#VirtualGatewayTlsValidationContextAcmTrust": { + "type": "structure", + "members": { + "certificateAuthorityArns": { + "target": "com.amazonaws.appmesh#VirtualGatewayCertificateAuthorityArns", "traits": { - "smithy.api#documentation": "The name of the virtual service to update.
", - "smithy.api#httpLabel": {}, + "smithy.api#documentation": "One or more ACM Amazon Resource Name (ARN)s.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents a TLS validation context trust for an AWS Certicate Manager (ACM)\n certificate.
" } }, - "com.amazonaws.appmesh#UpdateVirtualServiceOutput": { + "com.amazonaws.appmesh#VirtualGatewayTlsValidationContextFileTrust": { "type": "structure", "members": { - "virtualService": { - "target": "com.amazonaws.appmesh#VirtualServiceData", + "certificateChain": { + "target": "com.amazonaws.appmesh#FilePath", "traits": { - "smithy.api#documentation": "A full description of the virtual service that was updated.
", - "smithy.api#httpPayload": {}, + "smithy.api#documentation": "The certificate trust chain for a certificate stored on the file system of the virtual\n node that the proxy is running on.
", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "" + "smithy.api#documentation": "An object that represents a Transport Layer Security (TLS) validation context trust for a local file.
" + } + }, + "com.amazonaws.appmesh#VirtualGatewayTlsValidationContextTrust": { + "type": "union", + "members": { + "acm": { + "target": "com.amazonaws.appmesh#VirtualGatewayTlsValidationContextAcmTrust", + "traits": { + "smithy.api#documentation": "A reference to an object that represents a TLS validation context trust for an AWS Certicate Manager (ACM)\n certificate.
" + } + }, + "file": { + "target": "com.amazonaws.appmesh#VirtualGatewayTlsValidationContextFileTrust", + "traits": { + "smithy.api#documentation": "An object that represents a TLS validation context trust for a local file.
" + } + } + }, + "traits": { + "smithy.api#documentation": "An object that represents a Transport Layer Security (TLS) validation context trust.
" } }, "com.amazonaws.appmesh#VirtualNode": { @@ -5016,10 +6906,10 @@ "smithy.api#required": {} } }, - "metadata": { - "target": "com.amazonaws.appmesh#ResourceMetadata", + "virtualNodeName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The associated metadata for the virtual node.
", + "smithy.api#documentation": "The name of the virtual node.
", "smithy.api#required": {} } }, @@ -5030,17 +6920,17 @@ "smithy.api#required": {} } }, - "status": { - "target": "com.amazonaws.appmesh#VirtualNodeStatus", + "metadata": { + "target": "com.amazonaws.appmesh#ResourceMetadata", "traits": { - "smithy.api#documentation": "The current status for the virtual node.
", + "smithy.api#documentation": "The associated metadata for the virtual node.
", "smithy.api#required": {} } }, - "virtualNodeName": { - "target": "com.amazonaws.appmesh#ResourceName", + "status": { + "target": "com.amazonaws.appmesh#VirtualNodeStatus", "traits": { - "smithy.api#documentation": "The name of the virtual node.
", + "smithy.api#documentation": "The current status for the virtual node.
", "smithy.api#required": {} } } @@ -5063,17 +6953,17 @@ "com.amazonaws.appmesh#VirtualNodeRef": { "type": "structure", "members": { - "arn": { - "target": "com.amazonaws.appmesh#Arn", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the virtual node.
", + "smithy.api#documentation": "The name of the service mesh that the virtual node resides in.
", "smithy.api#required": {} } }, - "meshName": { + "virtualNodeName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh that the virtual node resides in.
", + "smithy.api#documentation": "The name of the virtual node.
", "smithy.api#required": {} } }, @@ -5081,22 +6971,41 @@ "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#required": {} } }, - "virtualNodeName": { - "target": "com.amazonaws.appmesh#ResourceName", + "arn": { + "target": "com.amazonaws.appmesh#Arn", "traits": { - "smithy.api#documentation": "The name of the virtual node.
", + "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the virtual node.
", + "smithy.api#required": {} + } + }, + "version": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was created.
", + "smithy.api#required": {} + } + }, + "lastUpdatedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was last updated.
", "smithy.api#required": {} } } @@ -5123,11 +7032,16 @@ "com.amazonaws.appmesh#VirtualNodeSpec": { "type": "structure", "members": { - "backendDefaults": { - "target": "com.amazonaws.appmesh#BackendDefaults", + "serviceDiscovery": { + "target": "com.amazonaws.appmesh#ServiceDiscovery", + "traits": { + "smithy.api#documentation": "The service discovery information for the virtual node. If your virtual node does not\n expect ingress traffic, you can omit this parameter. If you specify a\n listener
, then you must specify service discovery information.
A reference to an object that represents the defaults for backends.
", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#documentation": "The listener that the virtual node is expected to receive inbound traffic from. You can\n specify one listener.
" } }, "backends": { @@ -5136,10 +7050,10 @@ "smithy.api#documentation": "The backends that the virtual node is expected to send outbound traffic to.
" } }, - "listeners": { - "target": "com.amazonaws.appmesh#Listeners", + "backendDefaults": { + "target": "com.amazonaws.appmesh#BackendDefaults", "traits": { - "smithy.api#documentation": "The listener that the virtual node is expected to receive inbound traffic from. You can\n specify one listener.
" + "smithy.api#documentation": "A reference to an object that represents the defaults for backends.
" } }, "logging": { @@ -5147,12 +7061,6 @@ "traits": { "smithy.api#documentation": "The inbound and outbound access logging information for the virtual node.
" } - }, - "serviceDiscovery": { - "target": "com.amazonaws.appmesh#ServiceDiscovery", - "traits": { - "smithy.api#documentation": "The service discovery information for the virtual node. If your virtual node does not\n expect ingress traffic, you can omit this parameter. If you specify a\n listener
, then you must specify service discovery information.
The associated metadata for the virtual router.
", + "smithy.api#documentation": "The name of the virtual router.
", "smithy.api#required": {} } }, @@ -5256,17 +7164,17 @@ "smithy.api#required": {} } }, - "status": { - "target": "com.amazonaws.appmesh#VirtualRouterStatus", + "metadata": { + "target": "com.amazonaws.appmesh#ResourceMetadata", "traits": { - "smithy.api#documentation": "The current status of the virtual router.
", + "smithy.api#documentation": "The associated metadata for the virtual router.
", "smithy.api#required": {} } }, - "virtualRouterName": { - "target": "com.amazonaws.appmesh#ResourceName", + "status": { + "target": "com.amazonaws.appmesh#VirtualRouterStatus", "traits": { - "smithy.api#documentation": "The name of the virtual router.
", + "smithy.api#documentation": "The current status of the virtual router.
", "smithy.api#required": {} } } @@ -5315,17 +7223,17 @@ "com.amazonaws.appmesh#VirtualRouterRef": { "type": "structure", "members": { - "arn": { - "target": "com.amazonaws.appmesh#Arn", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the virtual router.
", + "smithy.api#documentation": "The name of the service mesh that the virtual router resides in.
", "smithy.api#required": {} } }, - "meshName": { + "virtualRouterName": { "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The name of the service mesh that the virtual router resides in.
", + "smithy.api#documentation": "The name of the virtual router.
", "smithy.api#required": {} } }, @@ -5333,22 +7241,41 @@ "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#required": {} } }, - "virtualRouterName": { - "target": "com.amazonaws.appmesh#ResourceName", + "arn": { + "target": "com.amazonaws.appmesh#Arn", "traits": { - "smithy.api#documentation": "The name of the virtual router.
", + "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the virtual router.
", + "smithy.api#required": {} + } + }, + "version": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was created.
", + "smithy.api#required": {} + } + }, + "lastUpdatedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was last updated.
", "smithy.api#required": {} } } @@ -5457,19 +7384,18 @@ "com.amazonaws.appmesh#VirtualServiceBackend": { "type": "structure", "members": { - "clientPolicy": { - "target": "com.amazonaws.appmesh#ClientPolicy", - "traits": { - "smithy.api#documentation": "A reference to an object that represents the client policy for a backend.
", - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] - } - }, "virtualServiceName": { "target": "com.amazonaws.appmesh#ServiceName", "traits": { "smithy.api#documentation": "The name of the virtual service that is acting as a virtual node backend.
", "smithy.api#required": {} } + }, + "clientPolicy": { + "target": "com.amazonaws.appmesh#ClientPolicy", + "traits": { + "smithy.api#documentation": "A reference to an object that represents the client policy for a backend.
" + } } }, "traits": { @@ -5486,9 +7412,10 @@ "smithy.api#required": {} } }, - "metadata": { - "target": "com.amazonaws.appmesh#ResourceMetadata", + "virtualServiceName": { + "target": "com.amazonaws.appmesh#ServiceName", "traits": { + "smithy.api#documentation": "The name of the virtual service.
", "smithy.api#required": {} } }, @@ -5499,17 +7426,16 @@ "smithy.api#required": {} } }, - "status": { - "target": "com.amazonaws.appmesh#VirtualServiceStatus", + "metadata": { + "target": "com.amazonaws.appmesh#ResourceMetadata", "traits": { - "smithy.api#documentation": "The current status of the virtual service.
", "smithy.api#required": {} } }, - "virtualServiceName": { - "target": "com.amazonaws.appmesh#ServiceName", + "status": { + "target": "com.amazonaws.appmesh#VirtualServiceStatus", "traits": { - "smithy.api#documentation": "The name of the virtual service.
", + "smithy.api#documentation": "The current status of the virtual service.
", "smithy.api#required": {} } } @@ -5552,17 +7478,17 @@ "com.amazonaws.appmesh#VirtualServiceRef": { "type": "structure", "members": { - "arn": { - "target": "com.amazonaws.appmesh#Arn", + "meshName": { + "target": "com.amazonaws.appmesh#ResourceName", "traits": { - "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the virtual service.
", + "smithy.api#documentation": "The name of the service mesh that the virtual service resides in.
", "smithy.api#required": {} } }, - "meshName": { - "target": "com.amazonaws.appmesh#ResourceName", + "virtualServiceName": { + "target": "com.amazonaws.appmesh#ServiceName", "traits": { - "smithy.api#documentation": "The name of the service mesh that the virtual service resides in.
", + "smithy.api#documentation": "The name of the virtual service.
", "smithy.api#required": {} } }, @@ -5570,22 +7496,41 @@ "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's\n the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#required": {} } }, "resourceOwner": { "target": "com.amazonaws.appmesh#AccountId", "traits": { "smithy.api#documentation": "The AWS IAM account ID of the resource owner. If the account ID is not your own, then it's\n the ID of the mesh owner or of another account that the mesh is shared with. For more information about mesh sharing, see Working with shared meshes.
", - "smithy.api#required": {}, - "smithy.api#tags": ["com.amazonaws.appmesh#preview"] + "smithy.api#required": {} } }, - "virtualServiceName": { - "target": "com.amazonaws.appmesh#ServiceName", + "arn": { + "target": "com.amazonaws.appmesh#Arn", "traits": { - "smithy.api#documentation": "The name of the virtual service.
", + "smithy.api#documentation": "The full Amazon Resource Name (ARN) for the virtual service.
", + "smithy.api#required": {} + } + }, + "version": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The version of the resource. Resources are created at version 1, and this version is incremented each time that they're updated.
", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was created.
", + "smithy.api#required": {} + } + }, + "lastUpdatedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The Unix epoch timestamp in seconds for when the resource was last updated.
", "smithy.api#required": {} } } diff --git a/codegen/sdk-codegen/aws-models/braket.2019.09.01.json b/codegen/sdk-codegen/aws-models/braket.2019.09.01.json new file mode 100644 index 000000000000..343eb14f08e5 --- /dev/null +++ b/codegen/sdk-codegen/aws-models/braket.2019.09.01.json @@ -0,0 +1,1199 @@ +{ + "smithy": "1.0", + "shapes": { + "com.amazonaws.braket#AccessDeniedException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "You do not have sufficient access to perform this action.
", + "smithy.api#error": "client", + "smithy.api#httpError": 403 + } + }, + "com.amazonaws.braket#Arn": { + "type": "string", + "traits": { + "smithy.api#documentation": "/////" + } + }, + "com.amazonaws.braket#Braket": { + "type": "service", + "version": "2019-09-01", + "resources": [ + { + "target": "com.amazonaws.braket#DeviceResource" + }, + { + "target": "com.amazonaws.braket#HybridJobResource" + }, + { + "target": "com.amazonaws.braket#QuantumJobResource" + }, + { + "target": "com.amazonaws.braket#QuantumTaskResource" + } + ], + "traits": { + "aws.api#service": { + "sdkId": "Braket", + "arnNamespace": "braket", + "cloudFormationName": "Braket", + "cloudTrailEventSource": "REPLACE_WITH_EVENT_SOURCE" + }, + "aws.auth#sigv4": { + "name": "braket" + }, + "aws.protocols#restJson1": {}, + "smithy.api#cors": { + "additionalAllowedHeaders": [ + "x-amz-content-sha256", + "x-amzn-trace-id", + "x-amz-user-agent", + "*", + "content-type", + "x-amzn-platform-id" + ], + "additionalExposedHeaders": [ + "date", + "x-amz-apigw-id", + "x-amzn-trace-id", + "x-amzn-errortype", + "x-amzn-requestid", + "x-amzn-errormessage" + ] + }, + "smithy.api#documentation": "The Amazon Braket API Reference provides information about the operations and structures supported in Amazon Braket.
", + "smithy.api#title": "Braket" + } + }, + "com.amazonaws.braket#CancelQuantumTask": { + "type": "operation", + "input": { + "target": "com.amazonaws.braket#CancelQuantumTaskRequest" + }, + "output": { + "target": "com.amazonaws.braket#CancelQuantumTaskResponse" + }, + "errors": [ + { + "target": "com.amazonaws.braket#AccessDeniedException" + }, + { + "target": "com.amazonaws.braket#ConflictException" + }, + { + "target": "com.amazonaws.braket#InternalServiceException" + }, + { + "target": "com.amazonaws.braket#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.braket#ThrottlingException" + }, + { + "target": "com.amazonaws.braket#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Cancels the specified task.
", + "smithy.api#http": { + "method": "PUT", + "uri": "/quantum-task/{quantumTaskArn}/cancel", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.braket#CancelQuantumTaskRequest": { + "type": "structure", + "members": { + "quantumTaskArn": { + "target": "com.amazonaws.braket#QuantumTaskArn", + "traits": { + "smithy.api#documentation": "The ARN of the task to cancel.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + }, + "clientToken": { + "target": "com.amazonaws.braket#String64", + "traits": { + "smithy.api#documentation": "The client token associated with the request.
", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.braket#CancelQuantumTaskResponse": { + "type": "structure", + "members": { + "quantumTaskArn": { + "target": "com.amazonaws.braket#QuantumTaskArn", + "traits": { + "smithy.api#documentation": "The ARN of the task.
", + "smithy.api#required": {} + } + }, + "cancellationStatus": { + "target": "com.amazonaws.braket#CancellationStatus", + "traits": { + "smithy.api#documentation": "The status of the cancellation request.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.braket#CancellationStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CANCELLING", + "name": "CANCELLING" + }, + { + "value": "CANCELLED", + "name": "CANCELLED" + } + ] + } + }, + "com.amazonaws.braket#ConflictException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "An error occurred due to a conflict.
", + "smithy.api#error": "client", + "smithy.api#httpError": 409 + } + }, + "com.amazonaws.braket#CreateQuantumTask": { + "type": "operation", + "input": { + "target": "com.amazonaws.braket#CreateQuantumTaskRequest" + }, + "output": { + "target": "com.amazonaws.braket#CreateQuantumTaskResponse" + }, + "errors": [ + { + "target": "com.amazonaws.braket#AccessDeniedException" + }, + { + "target": "com.amazonaws.braket#DeviceOfflineException" + }, + { + "target": "com.amazonaws.braket#InternalServiceException" + }, + { + "target": "com.amazonaws.braket#ServiceQuotaExceededException" + }, + { + "target": "com.amazonaws.braket#ThrottlingException" + }, + { + "target": "com.amazonaws.braket#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Creates a quantum task.
", + "smithy.api#http": { + "method": "POST", + "uri": "/quantum-task", + "code": 201 + } + } + }, + "com.amazonaws.braket#CreateQuantumTaskRequest": { + "type": "structure", + "members": { + "clientToken": { + "target": "com.amazonaws.braket#String64", + "traits": { + "smithy.api#documentation": "The client token associated with the request.
", + "smithy.api#idempotencyToken": {}, + "smithy.api#required": {} + } + }, + "deviceArn": { + "target": "com.amazonaws.braket#DeviceArn", + "traits": { + "smithy.api#documentation": "The ARN of the device to run the task on.
", + "smithy.api#required": {} + } + }, + "deviceParameters": { + "target": "com.amazonaws.braket#JsonValue", + "traits": { + "smithy.api#documentation": "The parameters for the device to run the task on.
", + "smithy.api#length": { + "min": 1, + "max": 2048 + } + } + }, + "shots": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The number of shots to use for the task.
", + "smithy.api#range": { + "min": 0 + }, + "smithy.api#required": {} + } + }, + "outputS3Bucket": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The S3 bucket to store task result files in.
", + "smithy.api#length": { + "min": 3, + "max": 63 + }, + "smithy.api#required": {} + } + }, + "outputS3KeyPrefix": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The key prefix for the location in the S3 bucket to store task results in.
", + "smithy.api#length": { + "min": 1, + "max": 1024 + }, + "smithy.api#required": {} + } + }, + "action": { + "target": "com.amazonaws.braket#JsonValue", + "traits": { + "smithy.api#documentation": "The action associated with the task.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.braket#CreateQuantumTaskResponse": { + "type": "structure", + "members": { + "quantumTaskArn": { + "target": "com.amazonaws.braket#QuantumTaskArn", + "traits": { + "smithy.api#documentation": "The ARN of the task created by the request.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.braket#DeviceArn": { + "type": "string", + "traits": { + "aws.api#arnReference": { + "service": "com.amazonaws.braket#Braket", + "resource": "com.amazonaws.braket#DeviceResource" + }, + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.braket#DeviceOfflineException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The specified device is currently offline.
", + "smithy.api#error": "client", + "smithy.api#httpError": 424 + } + }, + "com.amazonaws.braket#DeviceResource": { + "type": "resource", + "identifiers": { + "deviceArn": { + "target": "com.amazonaws.braket#DeviceArn" + } + }, + "read": { + "target": "com.amazonaws.braket#GetDevice" + }, + "list": { + "target": "com.amazonaws.braket#SearchDevices" + }, + "traits": { + "aws.api#arn": { + "template": "{deviceArn}", + "absolute": true, + "noAccount": false, + "noRegion": false + } + } + }, + "com.amazonaws.braket#DeviceStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "ONLINE", + "name": "ONLINE" + }, + { + "value": "OFFLINE", + "name": "OFFLINE" + } + ] + } + }, + "com.amazonaws.braket#DeviceSummary": { + "type": "structure", + "members": { + "deviceArn": { + "target": "com.amazonaws.braket#DeviceArn", + "traits": { + "smithy.api#documentation": "The ARN of the device.
", + "smithy.api#required": {} + } + }, + "deviceName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the device.
", + "smithy.api#required": {} + } + }, + "providerName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The provider of the device.
", + "smithy.api#required": {} + } + }, + "deviceType": { + "target": "com.amazonaws.braket#DeviceType", + "traits": { + "smithy.api#documentation": "The type of the device.
", + "smithy.api#required": {} + } + }, + "deviceStatus": { + "target": "com.amazonaws.braket#DeviceStatus", + "traits": { + "smithy.api#documentation": "The status of the device.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "Includes information about the device.
" + } + }, + "com.amazonaws.braket#DeviceSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.braket#DeviceSummary" + } + }, + "com.amazonaws.braket#DeviceType": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "QPU", + "name": "QPU" + }, + { + "value": "SIMULATOR", + "name": "SIMULATOR" + } + ] + } + }, + "com.amazonaws.braket#GetDevice": { + "type": "operation", + "input": { + "target": "com.amazonaws.braket#GetDeviceRequest" + }, + "output": { + "target": "com.amazonaws.braket#GetDeviceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.braket#AccessDeniedException" + }, + { + "target": "com.amazonaws.braket#InternalServiceException" + }, + { + "target": "com.amazonaws.braket#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.braket#ThrottlingException" + }, + { + "target": "com.amazonaws.braket#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves the devices available in Amazon Braket.
", + "smithy.api#http": { + "method": "GET", + "uri": "/device/{deviceArn}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.braket#GetDeviceRequest": { + "type": "structure", + "members": { + "deviceArn": { + "target": "com.amazonaws.braket#DeviceArn", + "traits": { + "smithy.api#documentation": "The ARN of the device to retrieve.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.braket#GetDeviceResponse": { + "type": "structure", + "members": { + "deviceArn": { + "target": "com.amazonaws.braket#DeviceArn", + "traits": { + "smithy.api#documentation": "The ARN of the device.
", + "smithy.api#required": {} + } + }, + "deviceName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the device.
", + "smithy.api#required": {} + } + }, + "providerName": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name of the partner company for the device.
", + "smithy.api#required": {} + } + }, + "deviceType": { + "target": "com.amazonaws.braket#DeviceType", + "traits": { + "smithy.api#documentation": "The type of the device.
", + "smithy.api#required": {} + } + }, + "deviceStatus": { + "target": "com.amazonaws.braket#DeviceStatus", + "traits": { + "smithy.api#documentation": "The status of the device.
", + "smithy.api#required": {} + } + }, + "deviceCapabilities": { + "target": "com.amazonaws.braket#JsonValue", + "traits": { + "smithy.api#documentation": "Details about the capabilities of the device.
", + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.braket#GetQuantumTask": { + "type": "operation", + "input": { + "target": "com.amazonaws.braket#GetQuantumTaskRequest" + }, + "output": { + "target": "com.amazonaws.braket#GetQuantumTaskResponse" + }, + "errors": [ + { + "target": "com.amazonaws.braket#AccessDeniedException" + }, + { + "target": "com.amazonaws.braket#InternalServiceException" + }, + { + "target": "com.amazonaws.braket#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.braket#ThrottlingException" + }, + { + "target": "com.amazonaws.braket#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Retrieves the specified quantum task.
", + "smithy.api#http": { + "method": "GET", + "uri": "/quantum-task/{quantumTaskArn}", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.braket#GetQuantumTaskRequest": { + "type": "structure", + "members": { + "quantumTaskArn": { + "target": "com.amazonaws.braket#QuantumTaskArn", + "traits": { + "smithy.api#documentation": "the ARN of the task to retrieve.
", + "smithy.api#httpLabel": {}, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.braket#GetQuantumTaskResponse": { + "type": "structure", + "members": { + "quantumTaskArn": { + "target": "com.amazonaws.braket#QuantumTaskArn", + "traits": { + "smithy.api#documentation": "The ARN of the task.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.braket#QuantumTaskStatus", + "traits": { + "smithy.api#documentation": "The status of the task.
", + "smithy.api#required": {} + } + }, + "failureReason": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The reason that a task failed.
" + } + }, + "deviceArn": { + "target": "com.amazonaws.braket#DeviceArn", + "traits": { + "smithy.api#documentation": "The ARN of the device the task was run on.
", + "smithy.api#required": {} + } + }, + "deviceParameters": { + "target": "com.amazonaws.braket#JsonValue", + "traits": { + "smithy.api#documentation": "The parameters for the device on which the task ran.
", + "smithy.api#required": {} + } + }, + "shots": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The number of shots used in the task.
", + "smithy.api#required": {} + } + }, + "outputS3Bucket": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The S3 bucket where task results are stored.
", + "smithy.api#required": {} + } + }, + "outputS3Directory": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The folder in the S3 bucket where task results are stored.
", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time at which the task was created.
", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "date-time" + } + }, + "endedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time at which the task ended.
", + "smithy.api#timestampFormat": "date-time" + } + } + } + }, + "com.amazonaws.braket#HybridJobResource": { + "type": "resource", + "identifiers": { + "hybridJobArn": { + "target": "com.amazonaws.braket#Arn" + } + }, + "traits": { + "aws.api#arn": { + "template": "{hybridJobArn}", + "absolute": true, + "noAccount": false, + "noRegion": false + } + } + }, + "com.amazonaws.braket#InternalServiceException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The request processing has failed because of an unknown error, exception or failure.
", + "smithy.api#error": "server", + "smithy.api#httpError": 500 + } + }, + "com.amazonaws.braket#JsonValue": { + "type": "string", + "traits": { + "smithy.api#mediaType": "application/json" + } + }, + "com.amazonaws.braket#QuantumJobResource": { + "type": "resource", + "identifiers": { + "quantumJobArn": { + "target": "com.amazonaws.braket#Arn" + } + }, + "traits": { + "aws.api#arn": { + "template": "{quantumJobArn}", + "absolute": true, + "noAccount": false, + "noRegion": false + } + } + }, + "com.amazonaws.braket#QuantumTaskArn": { + "type": "string", + "traits": { + "aws.api#arnReference": { + "service": "com.amazonaws.braket#Braket", + "resource": "com.amazonaws.braket#QuantumTaskResource" + }, + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.braket#QuantumTaskResource": { + "type": "resource", + "identifiers": { + "quantumTaskArn": { + "target": "com.amazonaws.braket#QuantumTaskArn" + } + }, + "create": { + "target": "com.amazonaws.braket#CreateQuantumTask" + }, + "read": { + "target": "com.amazonaws.braket#GetQuantumTask" + }, + "update": { + "target": "com.amazonaws.braket#CancelQuantumTask" + }, + "list": { + "target": "com.amazonaws.braket#SearchQuantumTasks" + }, + "traits": { + "aws.api#arn": { + "template": "{quantumTaskArn}", + "absolute": true, + "noAccount": false, + "noRegion": false + } + } + }, + "com.amazonaws.braket#QuantumTaskStatus": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "CREATED", + "name": "CREATED" + }, + { + "value": "QUEUED", + "name": "QUEUED" + }, + { + "value": "RUNNING", + "name": "RUNNING" + }, + { + "value": "COMPLETED", + "name": "COMPLETED" + }, + { + "value": "FAILED", + "name": "FAILED" + }, + { + "value": "CANCELLING", + "name": "CANCELLING" + }, + { + "value": "CANCELLED", + "name": "CANCELLED" + } + ] + } + }, + "com.amazonaws.braket#QuantumTaskSummary": { + "type": "structure", + "members": { + "quantumTaskArn": { + "target": "com.amazonaws.braket#QuantumTaskArn", + "traits": { + "smithy.api#documentation": "The ARN of the task.
", + "smithy.api#required": {} + } + }, + "status": { + "target": "com.amazonaws.braket#QuantumTaskStatus", + "traits": { + "smithy.api#documentation": "The status of the task.
", + "smithy.api#required": {} + } + }, + "deviceArn": { + "target": "com.amazonaws.braket#DeviceArn", + "traits": { + "smithy.api#documentation": "The ARN of the device the task ran on.
", + "smithy.api#required": {} + } + }, + "shots": { + "target": "smithy.api#Long", + "traits": { + "smithy.api#documentation": "The shots used for the task.
", + "smithy.api#required": {} + } + }, + "outputS3Bucket": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The S3 bucket where the task result file is stored..
", + "smithy.api#required": {} + } + }, + "outputS3Directory": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The folder in the S3 bucket where the task result file is stored.
", + "smithy.api#required": {} + } + }, + "createdAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time at which the task was created.
", + "smithy.api#required": {}, + "smithy.api#timestampFormat": "date-time" + } + }, + "endedAt": { + "target": "smithy.api#Timestamp", + "traits": { + "smithy.api#documentation": "The time at which the task finished.
", + "smithy.api#timestampFormat": "date-time" + } + } + }, + "traits": { + "smithy.api#documentation": "Includes information about a quantum task.
" + } + }, + "com.amazonaws.braket#QuantumTaskSummaryList": { + "type": "list", + "member": { + "target": "com.amazonaws.braket#QuantumTaskSummary" + } + }, + "com.amazonaws.braket#ResourceNotFoundException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The specified resource was not found.
", + "smithy.api#error": "client", + "smithy.api#httpError": 404 + } + }, + "com.amazonaws.braket#SearchDevices": { + "type": "operation", + "input": { + "target": "com.amazonaws.braket#SearchDevicesRequest" + }, + "output": { + "target": "com.amazonaws.braket#SearchDevicesResponse" + }, + "errors": [ + { + "target": "com.amazonaws.braket#AccessDeniedException" + }, + { + "target": "com.amazonaws.braket#InternalServiceException" + }, + { + "target": "com.amazonaws.braket#ThrottlingException" + }, + { + "target": "com.amazonaws.braket#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Searches for devices using the specified filters.
", + "smithy.api#http": { + "method": "POST", + "uri": "/devices", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "devices", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.braket#SearchDevicesFilter": { + "type": "structure", + "members": { + "name": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "The name to use to filter results.
", + "smithy.api#length": { + "min": 1, + "max": 64 + }, + "smithy.api#required": {} + } + }, + "values": { + "target": "com.amazonaws.braket#String256List", + "traits": { + "smithy.api#documentation": "The values to use to filter results.
", + "smithy.api#length": { + "min": 1, + "max": 10 + }, + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "The filter to use for searching devices.
" + } + }, + "com.amazonaws.braket#SearchDevicesFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.braket#SearchDevicesFilter" + } + }, + "com.amazonaws.braket#SearchDevicesRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.
" + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "The maximum number of results to return in the response.
", + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "filters": { + "target": "com.amazonaws.braket#SearchDevicesFilterList", + "traits": { + "smithy.api#documentation": "The filter values to use to search for a device.
", + "smithy.api#length": { + "min": 0, + "max": 10 + }, + "smithy.api#required": {} + } + } + } + }, + "com.amazonaws.braket#SearchDevicesResponse": { + "type": "structure", + "members": { + "devices": { + "target": "com.amazonaws.braket#DeviceSummaryList", + "traits": { + "smithy.api#documentation": "An array of DeviceSummary
objects for devices that match the specified filter values.
A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
" + } + } + } + }, + "com.amazonaws.braket#SearchQuantumTasks": { + "type": "operation", + "input": { + "target": "com.amazonaws.braket#SearchQuantumTasksRequest" + }, + "output": { + "target": "com.amazonaws.braket#SearchQuantumTasksResponse" + }, + "errors": [ + { + "target": "com.amazonaws.braket#AccessDeniedException" + }, + { + "target": "com.amazonaws.braket#InternalServiceException" + }, + { + "target": "com.amazonaws.braket#ThrottlingException" + }, + { + "target": "com.amazonaws.braket#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "Searches for tasks that match the specified filter values.
", + "smithy.api#http": { + "method": "POST", + "uri": "/quantum-tasks", + "code": 200 + }, + "smithy.api#paginated": { + "inputToken": "nextToken", + "outputToken": "nextToken", + "items": "quantumTasks", + "pageSize": "maxResults" + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.braket#SearchQuantumTasksFilter": { + "type": "structure", + "members": { + "name": { + "target": "com.amazonaws.braket#String64", + "traits": { + "smithy.api#documentation": "The name of the device used for the task.
", + "smithy.api#required": {} + } + }, + "values": { + "target": "com.amazonaws.braket#String256List", + "traits": { + "smithy.api#documentation": "The values to use for the filter.
", + "smithy.api#length": { + "min": 1, + "max": 10 + }, + "smithy.api#required": {} + } + }, + "operator": { + "target": "com.amazonaws.braket#SearchQuantumTasksFilterOperator", + "traits": { + "smithy.api#documentation": "An operator to use in the filter.
", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "A filter to use to search for tasks.
" + } + }, + "com.amazonaws.braket#SearchQuantumTasksFilterList": { + "type": "list", + "member": { + "target": "com.amazonaws.braket#SearchQuantumTasksFilter" + } + }, + "com.amazonaws.braket#SearchQuantumTasksFilterOperator": { + "type": "string", + "traits": { + "smithy.api#enum": [ + { + "value": "LT", + "name": "LT" + }, + { + "value": "LTE", + "name": "LTE" + }, + { + "value": "EQUAL", + "name": "EQUAL" + }, + { + "value": "GT", + "name": "GT" + }, + { + "value": "GTE", + "name": "GTE" + }, + { + "value": "BETWEEN", + "name": "BETWEEN" + } + ] + } + }, + "com.amazonaws.braket#SearchQuantumTasksRequest": { + "type": "structure", + "members": { + "nextToken": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "A token used for pagination of results returned in the response. Use the token returned from the previous request continue results where the previous request ended.
" + } + }, + "maxResults": { + "target": "smithy.api#Integer", + "traits": { + "smithy.api#documentation": "Maximum number of results to return in the response.
", + "smithy.api#range": { + "min": 1, + "max": 100 + } + } + }, + "filters": { + "target": "com.amazonaws.braket#SearchQuantumTasksFilterList", + "traits": { + "smithy.api#documentation": "Array of SearchQuantumTasksFilter
objects.
An array of QuantumTaskSummary
objects for tasks that match the specified filters.
A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
" + } + } + } + }, + "com.amazonaws.braket#ServiceQuotaExceededException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The request failed because a service quota is met.
", + "smithy.api#error": "client", + "smithy.api#httpError": 402 + } + }, + "com.amazonaws.braket#String256": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 256 + } + } + }, + "com.amazonaws.braket#String256List": { + "type": "list", + "member": { + "target": "com.amazonaws.braket#String256" + } + }, + "com.amazonaws.braket#String64": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 64 + } + } + }, + "com.amazonaws.braket#ThrottlingException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The throttling rate limit is met.
", + "smithy.api#error": "client", + "smithy.api#httpError": 429 + } + }, + "com.amazonaws.braket#ValidationException": { + "type": "structure", + "members": { + "message": { + "target": "smithy.api#String" + } + }, + "traits": { + "smithy.api#documentation": "The input fails to satisfy the constraints specified by an AWS service.
", + "smithy.api#error": "client", + "smithy.api#httpError": 400 + } + } + } +}