Inital Commit

This commit is contained in:
Brett Woodruff
2024-06-10 12:24:37 -04:00
commit 106024bcb4
2223 changed files with 241071 additions and 0 deletions

View File

@@ -0,0 +1,292 @@
{
"definitions": {
"throttling": {
"applies_when": {
"response": {
"service_error_code": "Throttling",
"http_status_code": 400
}
}
},
"throttling_exception": {
"applies_when": {
"response": {
"service_error_code": "ThrottlingException",
"http_status_code": 400
}
}
},
"throttled_exception": {
"applies_when": {
"response": {
"service_error_code": "ThrottledException",
"http_status_code": 400
}
}
},
"request_throttled_exception": {
"applies_when": {
"response": {
"service_error_code": "RequestThrottledException",
"http_status_code": 400
}
}
},
"too_many_requests": {
"applies_when": {
"response": {
"http_status_code": 429
}
}
},
"general_socket_errors": {
"applies_when": {
"socket_errors": ["GENERAL_CONNECTION_ERROR"]
}
},
"general_server_error": {
"applies_when": {
"response": {
"http_status_code": 500
}
}
},
"bad_gateway": {
"applies_when": {
"response": {
"http_status_code": 502
}
}
},
"service_unavailable": {
"applies_when": {
"response": {
"http_status_code": 503
}
}
},
"gateway_timeout": {
"applies_when": {
"response": {
"http_status_code": 504
}
}
},
"limit_exceeded": {
"applies_when": {
"response": {
"http_status_code": 509
}
}
},
"throughput_exceeded": {
"applies_when": {
"response": {
"service_error_code": "ProvisionedThroughputExceededException",
"http_status_code": 400
}
}
}
},
"retry": {
"__default__": {
"max_attempts": 5,
"delay": {
"type": "exponential",
"base": "rand",
"growth_factor": 2
},
"policies": {
"general_socket_errors": {"$ref": "general_socket_errors"},
"general_server_error": {"$ref": "general_server_error"},
"bad_gateway": {"$ref": "bad_gateway"},
"service_unavailable": {"$ref": "service_unavailable"},
"gateway_timeout": {"$ref": "gateway_timeout"},
"limit_exceeded": {"$ref": "limit_exceeded"},
"throttling_exception": {"$ref": "throttling_exception"},
"throttled_exception": {"$ref": "throttled_exception"},
"request_throttled_exception": {"$ref": "request_throttled_exception"},
"throttling": {"$ref": "throttling"},
"too_many_requests": {"$ref": "too_many_requests"},
"throughput_exceeded": {"$ref": "throughput_exceeded"}
}
},
"organizations": {
"__default__": {
"policies": {
"too_many_requests": {
"applies_when": {
"response": {
"service_error_code": "TooManyRequestsException",
"http_status_code": 400
}
}
}
}
}
},
"dynamodb": {
"__default__": {
"max_attempts": 10,
"delay": {
"type": "exponential",
"base": 0.05,
"growth_factor": 2
},
"policies": {
"still_processing": {
"applies_when": {
"response": {
"service_error_code": "TransactionInProgressException",
"http_status_code": 400
}
}
},
"crc32": {
"applies_when": {
"response": {
"crc32body": "x-amz-crc32"
}
}
}
}
}
},
"ec2": {
"__default__": {
"policies": {
"request_limit_exceeded": {
"applies_when": {
"response": {
"service_error_code": "RequestLimitExceeded",
"http_status_code": 503
}
}
},
"ec2_throttled_exception": {
"applies_when": {
"response": {
"service_error_code": "EC2ThrottledException",
"http_status_code": 503
}
}
}
}
}
},
"cloudsearch": {
"__default__": {
"policies": {
"request_limit_exceeded": {
"applies_when": {
"response": {
"service_error_code": "BandwidthLimitExceeded",
"http_status_code": 509
}
}
}
}
}
},
"kinesis": {
"__default__": {
"policies": {
"request_limit_exceeded": {
"applies_when": {
"response": {
"service_error_code": "LimitExceededException",
"http_status_code": 400
}
}
}
}
}
},
"sqs": {
"__default__": {
"policies": {
"request_limit_exceeded": {
"applies_when": {
"response": {
"service_error_code": "RequestThrottled",
"http_status_code": 403
}
}
}
}
}
},
"s3": {
"__default__": {
"policies": {
"timeouts": {
"applies_when": {
"response": {
"http_status_code": 400,
"service_error_code": "RequestTimeout"
}
}
},
"contentmd5": {
"applies_when": {
"response": {
"http_status_code": 400,
"service_error_code": "BadDigest"
}
}
}
}
}
},
"glacier": {
"__default__": {
"policies": {
"timeouts": {
"applies_when": {
"response": {
"http_status_code": 408,
"service_error_code": "RequestTimeoutException"
}
}
}
}
}
},
"route53": {
"__default__": {
"policies": {
"request_limit_exceeded": {
"applies_when": {
"response": {
"service_error_code": "Throttling",
"http_status_code": 400
}
}
},
"still_processing": {
"applies_when": {
"response": {
"service_error_code": "PriorRequestNotComplete",
"http_status_code": 400
}
}
}
}
}
},
"sts": {
"__default__": {
"policies": {
"idp_unreachable_error": {
"applies_when": {
"response": {
"service_error_code": "IDPCommunicationError",
"http_status_code": 400
}
}
}
}
}
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,64 @@
{
"pagination": {
"ListAnalyzedResources": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "analyzedResources"
},
"ListAnalyzers": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "analyzers"
},
"ListArchiveRules": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "archiveRules"
},
"ListFindings": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "findings"
},
"ListAccessPreviewFindings": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "findings"
},
"ListAccessPreviews": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "accessPreviews"
},
"ValidatePolicy": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "findings"
},
"ListPolicyGenerations": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "policyGenerations"
},
"GetFindingV2": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "findingDetails"
},
"ListFindingsV2": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "findings"
}
}
}

View File

@@ -0,0 +1,21 @@
{
"version": 1.0,
"merge": {
"pagination": {
"GetFindingV2": {
"non_aggregate_keys": [
"resource",
"status",
"error",
"createdAt",
"resourceType",
"findingType",
"resourceOwnerAccount",
"analyzedAt",
"id",
"updatedAt"
]
}
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,10 @@
{
"pagination": {
"ListRegions": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Regions"
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,22 @@
{
"pagination": {
"ListCertificateAuthorities": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "CertificateAuthorities"
},
"ListTags": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Tags"
},
"ListPermissions": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Permissions"
}
}
}

View File

@@ -0,0 +1,61 @@
{
"version": 2,
"waiters": {
"CertificateAuthorityCSRCreated": {
"description": "Wait until a Certificate Authority CSR is created",
"operation": "GetCertificateAuthorityCsr",
"delay": 3,
"maxAttempts": 60,
"acceptors": [
{
"state": "success",
"matcher": "status",
"expected": 200
},
{
"state": "retry",
"matcher": "error",
"expected": "RequestInProgressException"
}
]
},
"CertificateIssued": {
"description": "Wait until a certificate is issued",
"operation": "GetCertificate",
"delay": 1,
"maxAttempts": 60,
"acceptors": [
{
"state": "success",
"matcher": "status",
"expected": 200
},
{
"state": "retry",
"matcher": "error",
"expected": "RequestInProgressException"
}
]
},
"AuditReportCreated": {
"description": "Wait until a Audit Report is created",
"operation": "DescribeCertificateAuthorityAuditReport",
"delay": 3,
"maxAttempts": 60,
"acceptors": [
{
"state": "success",
"matcher": "path",
"argument": "AuditReportStatus",
"expected": "SUCCESS"
},
{
"state": "failure",
"matcher": "path",
"argument": "AuditReportStatus",
"expected": "FAILED"
}
]
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,10 @@
{
"pagination": {
"ListCertificates": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxItems",
"result_key": "CertificateSummaryList"
}
}
}

View File

@@ -0,0 +1,35 @@
{
"version": 2,
"waiters": {
"CertificateValidated": {
"delay": 60,
"maxAttempts": 40,
"operation": "DescribeCertificate",
"acceptors": [
{
"matcher": "pathAll",
"expected": "SUCCESS",
"argument": "Certificate.DomainValidationOptions[].ValidationStatus",
"state": "success"
},
{
"matcher": "pathAny",
"expected": "PENDING_VALIDATION",
"argument": "Certificate.DomainValidationOptions[].ValidationStatus",
"state": "retry"
},
{
"matcher": "path",
"expected": "FAILED",
"argument": "Certificate.Status",
"state": "failure"
},
{
"matcher": "error",
"expected": "ResourceNotFoundException",
"state": "failure"
}
]
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,82 @@
{
"pagination": {
"ListSkills": {
"result_key": "SkillSummaries",
"output_token": "NextToken",
"input_token": "NextToken",
"limit_key": "MaxResults"
},
"SearchUsers": {
"result_key": "Users",
"output_token": "NextToken",
"input_token": "NextToken",
"limit_key": "MaxResults"
},
"ListTags": {
"result_key": "Tags",
"output_token": "NextToken",
"input_token": "NextToken",
"limit_key": "MaxResults"
},
"SearchProfiles": {
"result_key": "Profiles",
"output_token": "NextToken",
"input_token": "NextToken",
"limit_key": "MaxResults"
},
"SearchSkillGroups": {
"result_key": "SkillGroups",
"output_token": "NextToken",
"input_token": "NextToken",
"limit_key": "MaxResults"
},
"SearchDevices": {
"result_key": "Devices",
"output_token": "NextToken",
"input_token": "NextToken",
"limit_key": "MaxResults"
},
"SearchRooms": {
"result_key": "Rooms",
"output_token": "NextToken",
"input_token": "NextToken",
"limit_key": "MaxResults"
},
"ListBusinessReportSchedules": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "BusinessReportSchedules"
},
"ListConferenceProviders": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "ConferenceProviders"
},
"ListDeviceEvents": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "DeviceEvents"
},
"ListSkillsStoreCategories": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "CategoryList"
},
"ListSkillsStoreSkillsByCategory": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "SkillsStoreSkills"
},
"ListSmartHomeAppliances": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "SmartHomeAppliances"
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,22 @@
{
"pagination": {
"ListWorkspaces": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "workspaces"
},
"ListRuleGroupsNamespaces": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "ruleGroupsNamespaces"
},
"ListScrapers": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "scrapers"
}
}
}

View File

@@ -0,0 +1,76 @@
{
"version" : 2,
"waiters" : {
"ScraperActive" : {
"description" : "Wait until a scraper reaches ACTIVE status",
"delay" : 2,
"maxAttempts" : 60,
"operation" : "DescribeScraper",
"acceptors" : [ {
"matcher" : "path",
"argument" : "scraper.status.statusCode",
"state" : "success",
"expected" : "ACTIVE"
}, {
"matcher" : "path",
"argument" : "scraper.status.statusCode",
"state" : "failure",
"expected" : "CREATION_FAILED"
} ]
},
"ScraperDeleted" : {
"description" : "Wait until a scraper reaches DELETED status",
"delay" : 2,
"maxAttempts" : 60,
"operation" : "DescribeScraper",
"acceptors" : [ {
"matcher" : "error",
"state" : "success",
"expected" : "ResourceNotFoundException"
}, {
"matcher" : "path",
"argument" : "scraper.status.statusCode",
"state" : "failure",
"expected" : "DELETION_FAILED"
} ]
},
"WorkspaceActive" : {
"description" : "Wait until a workspace reaches ACTIVE status",
"delay" : 2,
"maxAttempts" : 60,
"operation" : "DescribeWorkspace",
"acceptors" : [ {
"matcher" : "path",
"argument" : "workspace.status.statusCode",
"state" : "success",
"expected" : "ACTIVE"
}, {
"matcher" : "path",
"argument" : "workspace.status.statusCode",
"state" : "retry",
"expected" : "UPDATING"
}, {
"matcher" : "path",
"argument" : "workspace.status.statusCode",
"state" : "retry",
"expected" : "CREATING"
} ]
},
"WorkspaceDeleted" : {
"description" : "Wait until a workspace reaches DELETED status",
"delay" : 2,
"maxAttempts" : 60,
"operation" : "DescribeWorkspace",
"acceptors" : [ {
"matcher" : "error",
"state" : "success",
"expected" : "ResourceNotFoundException"
}, {
"matcher" : "path",
"argument" : "workspace.status.statusCode",
"state" : "retry",
"expected" : "DELETING"
} ]
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,28 @@
{
"pagination": {
"ListApps": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "apps"
},
"ListBranches": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "branches"
},
"ListDomainAssociations": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "domainAssociations"
},
"ListJobs": {
"input_token": "nextToken",
"limit_key": "maxResults",
"output_token": "nextToken",
"result_key": "jobSummaries"
}
}
}

View File

@@ -0,0 +1,10 @@
{
"pagination": {
"ListBackendJobs": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Jobs"
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,43 @@
{
"pagination": {
"ListComponents": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "entities"
},
"ListThemes": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "entities"
},
"ExportComponents": {
"input_token": "nextToken",
"output_token": "nextToken",
"result_key": "entities"
},
"ExportThemes": {
"input_token": "nextToken",
"output_token": "nextToken",
"result_key": "entities"
},
"ExportForms": {
"input_token": "nextToken",
"output_token": "nextToken",
"result_key": "entities"
},
"ListForms": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "entities"
},
"ListCodegenJobs": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "entities"
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": 2,
"waiters": {
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,117 @@
{
"pagination": {
"GetApiKeys": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items"
},
"GetBasePathMappings": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items"
},
"GetClientCertificates": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items"
},
"GetDeployments": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items"
},
"GetDomainNames": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items"
},
"GetModels": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items"
},
"GetResources": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items"
},
"GetRestApis": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items"
},
"GetUsage": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items",
"non_aggregate_keys": [
"usagePlanId",
"startDate",
"endDate"
]
},
"GetUsagePlans": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items"
},
"GetUsagePlanKeys": {
"input_token": "position",
"output_token": "position",
"limit_key": "limit",
"result_key": "items"
},
"GetVpcLinks": {
"input_token": "position",
"limit_key": "limit",
"output_token": "position",
"result_key": "items"
},
"GetAuthorizers": {
"input_token": "position",
"limit_key": "limit",
"output_token": "position",
"result_key": "items"
},
"GetDocumentationParts": {
"input_token": "position",
"limit_key": "limit",
"output_token": "position",
"result_key": "items"
},
"GetDocumentationVersions": {
"input_token": "position",
"limit_key": "limit",
"output_token": "position",
"result_key": "items"
},
"GetGatewayResponses": {
"input_token": "position",
"limit_key": "limit",
"output_token": "position",
"result_key": "items"
},
"GetRequestValidators": {
"input_token": "position",
"limit_key": "limit",
"output_token": "position",
"result_key": "items"
},
"GetSdkTypes": {
"input_token": "position",
"limit_key": "limit",
"output_token": "position",
"result_key": "items"
}
}
}

View File

@@ -0,0 +1,3 @@
{
"pagination": {}
}

View File

@@ -0,0 +1,64 @@
{
"pagination": {
"GetApis": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Items"
},
"GetAuthorizers": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Items"
},
"GetDeployments": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Items"
},
"GetDomainNames": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Items"
},
"GetIntegrationResponses": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Items"
},
"GetIntegrations": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Items"
},
"GetModels": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Items"
},
"GetRouteResponses": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Items"
},
"GetRoutes": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Items"
},
"GetStages": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Items"
}
}
}

View File

@@ -0,0 +1,720 @@
{
"version": "1.0",
"examples": {
"CreateApplication": [
{
"input": {
"Description": "An application used for creating an example.",
"Name": "example-application"
},
"output": {
"Description": "An application used for creating an example.",
"Id": "339ohji",
"Name": "example-application"
},
"comments": {
},
"description": "The following create-application example creates an application in AWS AppConfig.",
"id": "to-create-an-application-1632264511615",
"title": "To create an application"
}
],
"CreateConfigurationProfile": [
{
"input": {
"ApplicationId": "339ohji",
"LocationUri": "ssm-parameter://Example-Parameter",
"Name": "Example-Configuration-Profile",
"RetrievalRoleArn": "arn:aws:iam::111122223333:role/Example-App-Config-Role"
},
"output": {
"ApplicationId": "339ohji",
"Id": "ur8hx2f",
"LocationUri": "ssm-parameter://Example-Parameter",
"Name": "Example-Configuration-Profile",
"RetrievalRoleArn": "arn:aws:iam::111122223333:role/Example-App-Config-Role"
},
"comments": {
},
"description": "The following create-configuration-profile example creates a configuration profile using a configuration stored in Parameter Store, a capability of Systems Manager.",
"id": "to-create-a-configuration-profile-1632264580336",
"title": "To create a configuration profile"
}
],
"CreateDeploymentStrategy": [
{
"input": {
"DeploymentDurationInMinutes": 15,
"GrowthFactor": 25,
"Name": "Example-Deployment",
"ReplicateTo": "SSM_DOCUMENT"
},
"output": {
"DeploymentDurationInMinutes": 15,
"FinalBakeTimeInMinutes": 0,
"GrowthFactor": 25,
"GrowthType": "LINEAR",
"Id": "1225qzk",
"Name": "Example-Deployment",
"ReplicateTo": "SSM_DOCUMENT"
},
"comments": {
},
"description": "The following create-deployment-strategy example creates a deployment strategy called Example-Deployment that takes 15 minutes and deploys the configuration to 25% of the application at a time. The strategy is also copied to an SSM Document.",
"id": "to-create-a-deployment-strategy-1632264783812",
"title": "To create a deployment strategy"
}
],
"CreateEnvironment": [
{
"input": {
"ApplicationId": "339ohji",
"Name": "Example-Environment"
},
"output": {
"ApplicationId": "339ohji",
"Id": "54j1r29",
"Name": "Example-Environment",
"State": "READY_FOR_DEPLOYMENT"
},
"comments": {
},
"description": "The following create-environment example creates an AWS AppConfig environment named Example-Environment using the application you created using create-application",
"id": "to-create-an-environment-1632265124975",
"title": "To create an environment"
}
],
"CreateHostedConfigurationVersion": [
{
"input": {
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f",
"Content": "eyAiTmFtZSI6ICJFeGFtcGxlQXBwbGljYXRpb24iLCAiSWQiOiBFeGFtcGxlSUQsICJSYW5rIjogNyB9",
"ContentType": "text",
"LatestVersionNumber": 1
},
"output": {
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f",
"ContentType": "text",
"VersionNumber": 1
},
"comments": {
},
"description": "The following create-hosted-configuration-version example creates a new configuration in the AWS AppConfig configuration store.",
"id": "to-create-a-hosted-configuration-version-1632265196980",
"title": "To create a hosted configuration version"
}
],
"DeleteApplication": [
{
"input": {
"ApplicationId": "339ohji"
},
"comments": {
},
"description": "The following delete-application example deletes the specified application. \n",
"id": "to-delete-an-application-1632265343951",
"title": "To delete an application"
}
],
"DeleteConfigurationProfile": [
{
"input": {
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f"
},
"comments": {
},
"description": "The following delete-configuration-profile example deletes the specified configuration profile.",
"id": "to-delete-a-configuration-profile-1632265401308",
"title": "To delete a configuration profile"
}
],
"DeleteDeploymentStrategy": [
{
"input": {
"DeploymentStrategyId": "1225qzk"
},
"comments": {
},
"description": "The following delete-deployment-strategy example deletes the specified deployment strategy.",
"id": "to-delete-a-deployment-strategy-1632265473708",
"title": "To delete a deployment strategy"
}
],
"DeleteEnvironment": [
{
"input": {
"ApplicationId": "339ohji",
"EnvironmentId": "54j1r29"
},
"comments": {
},
"description": "The following delete-environment example deletes the specified application environment.",
"id": "to-delete-an-environment-1632265641044",
"title": "To delete an environment"
}
],
"DeleteHostedConfigurationVersion": [
{
"input": {
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f",
"VersionNumber": 1
},
"comments": {
},
"description": "The following delete-hosted-configuration-version example deletes a configuration version hosted in the AWS AppConfig configuration store.",
"id": "to-delete-a-hosted-configuration-version-1632265720740",
"title": "To delete a hosted configuration version"
}
],
"GetApplication": [
{
"input": {
"ApplicationId": "339ohji"
},
"output": {
"Id": "339ohji",
"Name": "example-application"
},
"comments": {
},
"description": "The following get-application example lists the details of the specified application.",
"id": "to-list-details-of-an-application-1632265864702",
"title": "To list details of an application"
}
],
"GetConfiguration": [
{
"input": {
"Application": "example-application",
"ClientId": "example-id",
"Configuration": "Example-Configuration-Profile",
"Environment": "Example-Environment"
},
"output": {
"ConfigurationVersion": "1",
"ContentType": "application/octet-stream"
},
"comments": {
},
"description": "The following get-configuration example returns the configuration details of the example application. On subsequent calls to get-configuration, use the client-configuration-version parameter to only update the configuration of your application if the version has changed. Only updating the configuration when the version has changed avoids excess charges incurred by calling get-configuration.",
"id": "to-retrieve-configuration-details-1632265954314",
"title": "To retrieve configuration details"
}
],
"GetConfigurationProfile": [
{
"input": {
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f"
},
"output": {
"ApplicationId": "339ohji",
"Id": "ur8hx2f",
"LocationUri": "ssm-parameter://Example-Parameter",
"Name": "Example-Configuration-Profile",
"RetrievalRoleArn": "arn:aws:iam::111122223333:role/Example-App-Config-Role"
},
"comments": {
},
"description": "The following get-configuration-profile example returns the details of the specified configuration profile.",
"id": "to-retrieve-configuration-profile-details-1632266081013",
"title": "To retrieve configuration profile details"
}
],
"GetDeployment": [
{
"input": {
"ApplicationId": "339ohji",
"DeploymentNumber": 1,
"EnvironmentId": "54j1r29"
},
"output": {
"ApplicationId": "339ohji",
"CompletedAt": "2021-09-17T21:59:03.888000+00:00",
"ConfigurationLocationUri": "ssm-parameter://Example-Parameter",
"ConfigurationName": "Example-Configuration-Profile",
"ConfigurationProfileId": "ur8hx2f",
"ConfigurationVersion": "1",
"DeploymentDurationInMinutes": 15,
"DeploymentNumber": 1,
"DeploymentStrategyId": "1225qzk",
"EnvironmentId": "54j1r29",
"EventLog": [
{
"Description": "Deployment completed",
"EventType": "DEPLOYMENT_COMPLETED",
"OccurredAt": "2021-09-17T21:59:03.888000+00:00",
"TriggeredBy": "APPCONFIG"
},
{
"Description": "Deployment bake time started",
"EventType": "BAKE_TIME_STARTED",
"OccurredAt": "2021-09-17T21:58:57.722000+00:00",
"TriggeredBy": "APPCONFIG"
},
{
"Description": "Configuration available to 100.00% of clients",
"EventType": "PERCENTAGE_UPDATED",
"OccurredAt": "2021-09-17T21:55:56.816000+00:00",
"TriggeredBy": "APPCONFIG"
},
{
"Description": "Configuration available to 75.00% of clients",
"EventType": "PERCENTAGE_UPDATED",
"OccurredAt": "2021-09-17T21:52:56.567000+00:00",
"TriggeredBy": "APPCONFIG"
},
{
"Description": "Configuration available to 50.00% of clients",
"EventType": "PERCENTAGE_UPDATED",
"OccurredAt": "2021-09-17T21:49:55.737000+00:00",
"TriggeredBy": "APPCONFIG"
},
{
"Description": "Configuration available to 25.00% of clients",
"EventType": "PERCENTAGE_UPDATED",
"OccurredAt": "2021-09-17T21:46:55.187000+00:00",
"TriggeredBy": "APPCONFIG"
},
{
"Description": "Deployment started",
"EventType": "DEPLOYMENT_STARTED",
"OccurredAt": "2021-09-17T21:43:54.205000+00:00",
"TriggeredBy": "USER"
}
],
"FinalBakeTimeInMinutes": 0,
"GrowthFactor": 25,
"GrowthType": "LINEAR",
"PercentageComplete": 100,
"StartedAt": "2021-09-17T21:43:54.205000+00:00",
"State": "COMPLETE"
},
"comments": {
},
"description": "The following get-deployment example lists details of the deployment to the application in the specified environment and deployment.",
"id": "to-retrieve-deployment-details-1633976766883",
"title": "To retrieve deployment details"
}
],
"GetDeploymentStrategy": [
{
"input": {
"DeploymentStrategyId": "1225qzk"
},
"output": {
"DeploymentDurationInMinutes": 15,
"FinalBakeTimeInMinutes": 0,
"GrowthFactor": 25,
"GrowthType": "LINEAR",
"Id": "1225qzk",
"Name": "Example-Deployment",
"ReplicateTo": "SSM_DOCUMENT"
},
"comments": {
},
"description": "The following get-deployment-strategy example lists the details of the specified deployment strategy.",
"id": "to-retrieve-details-of-a-deployment-strategy-1632266385805",
"title": "To retrieve details of a deployment strategy"
}
],
"GetEnvironment": [
{
"input": {
"ApplicationId": "339ohji",
"EnvironmentId": "54j1r29"
},
"output": {
"ApplicationId": "339ohji",
"Id": "54j1r29",
"Name": "Example-Environment",
"State": "READY_FOR_DEPLOYMENT"
},
"comments": {
},
"description": "The following get-environment example returns the details and state of the specified environment.",
"id": "to-retrieve-environment-details-1632266924806",
"title": "To retrieve environment details"
}
],
"GetHostedConfigurationVersion": [
{
"input": {
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f",
"VersionNumber": 1
},
"output": {
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f",
"ContentType": "application/json",
"VersionNumber": 1
},
"comments": {
},
"description": "The following get-hosted-configuration-version example retrieves the configuration details of the AWS AppConfig hosted configuration.",
"id": "to-retrieve-hosted-configuration-details-1632267003527",
"title": "To retrieve hosted configuration details"
}
],
"ListApplications": [
{
"input": {
},
"output": {
"Items": [
{
"Description": "An application used for creating an example.",
"Id": "339ohji",
"Name": "test-application"
},
{
"Id": "rwalwu7",
"Name": "Test-Application"
}
]
},
"comments": {
},
"description": "The following list-applications example lists the available applications in your AWS account.",
"id": "to-list-the-available-applications-1632267111131",
"title": "To list the available applications"
}
],
"ListConfigurationProfiles": [
{
"input": {
"ApplicationId": "339ohji"
},
"output": {
"Items": [
{
"ApplicationId": "339ohji",
"Id": "ur8hx2f",
"LocationUri": "ssm-parameter://Example-Parameter",
"Name": "Example-Configuration-Profile"
}
]
},
"comments": {
},
"description": "The following list-configuration-profiles example lists the available configuration profiles for the specified application.",
"id": "to-list-the-available-configuration-profiles-1632267193265",
"title": "To list the available configuration profiles"
}
],
"ListDeploymentStrategies": [
{
"input": {
},
"output": {
"Items": [
{
"DeploymentDurationInMinutes": 15,
"FinalBakeTimeInMinutes": 0,
"GrowthFactor": 25,
"GrowthType": "LINEAR",
"Id": "1225qzk",
"Name": "Example-Deployment",
"ReplicateTo": "SSM_DOCUMENT"
}
]
},
"comments": {
},
"description": "The following list-deployment-strategies example lists the available deployment strategies in your AWS account.",
"id": "to-list-the-available-deployment-strategies-1632267364180",
"title": "To list the available deployment strategies"
}
],
"ListDeployments": [
{
"input": {
"ApplicationId": "339ohji",
"EnvironmentId": "54j1r29"
},
"output": {
"Items": [
{
"CompletedAt": "2021-09-17T21:59:03.888000+00:00",
"ConfigurationName": "Example-Configuration-Profile",
"ConfigurationVersion": "1",
"DeploymentDurationInMinutes": 15,
"DeploymentNumber": 1,
"FinalBakeTimeInMinutes": 0,
"GrowthFactor": 25,
"GrowthType": "LINEAR",
"PercentageComplete": 100,
"StartedAt": "2021-09-17T21:43:54.205000+00:00",
"State": "COMPLETE"
}
]
},
"comments": {
},
"description": "The following list-deployments example lists the available deployments in your AWS account for the specified application and environment.",
"id": "to-list-the-available-deployments-1632267282025",
"title": "To list the available deployments"
}
],
"ListEnvironments": [
{
"input": {
"ApplicationId": "339ohji"
},
"output": {
"Items": [
{
"ApplicationId": "339ohji",
"Id": "54j1r29",
"Name": "Example-Environment",
"State": "READY_FOR_DEPLOYMENT"
}
]
},
"comments": {
},
"description": "The following list-environments example lists the available environments in your AWS account for the specified application.",
"id": "to-list-the-available-environments-1632267474389",
"title": "To list the available environments"
}
],
"ListHostedConfigurationVersions": [
{
"input": {
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f"
},
"output": {
"Items": [
{
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f",
"ContentType": "application/json",
"VersionNumber": 1
}
]
},
"comments": {
},
"description": "The following list-hosted-configuration-versions example lists the configurations versions hosted in the AWS AppConfig hosted configuration store for the specified application and configuration profile.",
"id": "to-list-the-available-hosted-configuration-versions-1632267647667",
"title": "To list the available hosted configuration versions"
}
],
"ListTagsForResource": [
{
"input": {
"ResourceArn": "arn:aws:appconfig:us-east-1:111122223333:application/339ohji"
},
"output": {
"Tags": {
"group1": "1"
}
},
"comments": {
},
"description": "The following list-tags-for-resource example lists the tags of a specified application.",
"id": "to-list-the-tags-of-an-application-1632328796560",
"title": "To list the tags of an application"
}
],
"StartDeployment": [
{
"input": {
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f",
"ConfigurationVersion": "1",
"DeploymentStrategyId": "1225qzk",
"Description": "",
"EnvironmentId": "54j1r29",
"Tags": {
}
},
"output": {
"ApplicationId": "339ohji",
"ConfigurationLocationUri": "ssm-parameter://Example-Parameter",
"ConfigurationName": "Example-Configuration-Profile",
"ConfigurationProfileId": "ur8hx2f",
"ConfigurationVersion": "1",
"DeploymentDurationInMinutes": 15,
"DeploymentNumber": 1,
"DeploymentStrategyId": "1225qzk",
"EnvironmentId": "54j1r29",
"EventLog": [
{
"Description": "Deployment started",
"EventType": "DEPLOYMENT_STARTED",
"OccurredAt": "2021-09-17T21:43:54.205000+00:00",
"TriggeredBy": "USER"
}
],
"FinalBakeTimeInMinutes": 0,
"GrowthFactor": 25,
"GrowthType": "LINEAR",
"PercentageComplete": 1.0,
"StartedAt": "2021-09-17T21:43:54.205000+00:00",
"State": "DEPLOYING"
},
"comments": {
},
"description": "The following start-deployment example starts a deployment to the application using the specified environment, deployment strategy, and configuration profile.",
"id": "to-start-a-configuration-deployment-1632328956790",
"title": "To start a configuration deployment"
}
],
"StopDeployment": [
{
"input": {
"ApplicationId": "339ohji",
"DeploymentNumber": 2,
"EnvironmentId": "54j1r29"
},
"output": {
"DeploymentDurationInMinutes": 15,
"DeploymentNumber": 2,
"FinalBakeTimeInMinutes": 0,
"GrowthFactor": 25.0,
"PercentageComplete": 1.0
},
"comments": {
},
"description": "The following stop-deployment example stops the deployment of an application configuration to the specified environment.",
"id": "to-stop-configuration-deployment-1632329139126",
"title": "To stop configuration deployment"
}
],
"TagResource": [
{
"input": {
"ResourceArn": "arn:aws:appconfig:us-east-1:111122223333:application/339ohji",
"Tags": {
"group1": "1"
}
},
"comments": {
},
"description": "The following tag-resource example tags an application resource.",
"id": "to-tag-an-application-1632330350645",
"title": "To tag an application"
}
],
"UntagResource": [
{
"input": {
"ResourceArn": "arn:aws:appconfig:us-east-1:111122223333:application/339ohji",
"TagKeys": [
"group1"
]
},
"comments": {
},
"description": "The following untag-resource example removes the group1 tag from the specified application.",
"id": "to-remove-a-tag-from-an-application-1632330429881",
"title": "To remove a tag from an application"
}
],
"UpdateApplication": [
{
"input": {
"ApplicationId": "339ohji",
"Description": "",
"Name": "Example-Application"
},
"output": {
"Description": "An application used for creating an example.",
"Id": "339ohji",
"Name": "Example-Application"
},
"comments": {
},
"description": "The following update-application example updates the name of the specified application.",
"id": "to-update-an-application-1632330585893",
"title": "To update an application"
}
],
"UpdateConfigurationProfile": [
{
"input": {
"ApplicationId": "339ohji",
"ConfigurationProfileId": "ur8hx2f",
"Description": "Configuration profile used for examples."
},
"output": {
"ApplicationId": "339ohji",
"Description": "Configuration profile used for examples.",
"Id": "ur8hx2f",
"LocationUri": "ssm-parameter://Example-Parameter",
"Name": "Example-Configuration-Profile",
"RetrievalRoleArn": "arn:aws:iam::111122223333:role/Example-App-Config-Role"
},
"comments": {
},
"description": "The following update-configuration-profile example updates the description of the specified configuration profile.",
"id": "to-update-a-configuration-profile-1632330721974",
"title": "To update a configuration profile"
}
],
"UpdateDeploymentStrategy": [
{
"input": {
"DeploymentStrategyId": "1225qzk",
"FinalBakeTimeInMinutes": 20
},
"output": {
"DeploymentDurationInMinutes": 15,
"FinalBakeTimeInMinutes": 20,
"GrowthFactor": 25,
"GrowthType": "LINEAR",
"Id": "1225qzk",
"Name": "Example-Deployment",
"ReplicateTo": "SSM_DOCUMENT"
},
"comments": {
},
"description": "The following update-deployment-strategy example updates final bake time to 20 minutes in the specified deployment strategy. ::\n",
"id": "to-update-a-deployment-strategy-1632330896602",
"title": "To update a deployment strategy"
}
],
"UpdateEnvironment": [
{
"input": {
"ApplicationId": "339ohji",
"Description": "An environment for examples.",
"EnvironmentId": "54j1r29"
},
"output": {
"ApplicationId": "339ohji",
"Description": "An environment for examples.",
"Id": "54j1r29",
"Name": "Example-Environment",
"State": "ROLLED_BACK"
},
"comments": {
},
"description": "The following update-environment example updates an environment's description.",
"id": "to-update-an-environment-1632331382428",
"title": "To update an environment"
}
],
"ValidateConfiguration": [
{
"input": {
"ApplicationId": "abc1234",
"ConfigurationProfileId": "ur8hx2f",
"ConfigurationVersion": "1"
},
"comments": {
},
"description": "The following validate-configuration example uses the validators in a configuration profile to validate a configuration.",
"id": "to-validate-a-configuration-1632331491365",
"title": "To validate a configuration"
}
]
}
}

View File

@@ -0,0 +1,52 @@
{
"pagination": {
"ListApplications": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Items"
},
"ListConfigurationProfiles": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Items"
},
"ListDeploymentStrategies": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Items"
},
"ListDeployments": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Items"
},
"ListEnvironments": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Items"
},
"ListExtensionAssociations": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Items"
},
"ListExtensions": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Items"
},
"ListHostedConfigurationVersions": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Items"
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,3 @@
{
"pagination": {}
}

View File

@@ -0,0 +1,28 @@
{
"pagination": {
"ListAppAuthorizations": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "appAuthorizationSummaryList"
},
"ListAppBundles": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "appBundleSummaryList"
},
"ListIngestionDestinations": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "ingestionDestinations"
},
"ListIngestions": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "ingestions"
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": 2,
"waiters": {
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,3 @@
{
"pagination": {}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,40 @@
{
"pagination": {
"ListApplications": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "Applications"
},
"ListDataIntegrationAssociations": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "DataIntegrationAssociations"
},
"ListDataIntegrations": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "DataIntegrations"
},
"ListEventIntegrationAssociations": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "EventIntegrationAssociations"
},
"ListEventIntegrations": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "EventIntegrations"
},
"ListApplicationAssociations": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "ApplicationAssociations"
}
}
}

View File

@@ -0,0 +1,221 @@
{
"version": "1.0",
"examples": {
"DeleteScalingPolicy": [
{
"input": {
"PolicyName": "web-app-cpu-lt-25",
"ResourceId": "service/default/web-app",
"ScalableDimension": "ecs:service:DesiredCount",
"ServiceNamespace": "ecs"
},
"output": {
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example deletes a scaling policy for the Amazon ECS service called web-app, which is running in the default cluster.",
"id": "to-delete-a-scaling-policy-1470863892689",
"title": "To delete a scaling policy"
}
],
"DeregisterScalableTarget": [
{
"input": {
"ResourceId": "service/default/web-app",
"ScalableDimension": "ecs:service:DesiredCount",
"ServiceNamespace": "ecs"
},
"output": {
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example deregisters a scalable target for an Amazon ECS service called web-app that is running in the default cluster.",
"id": "to-deregister-a-scalable-target-1470864164895",
"title": "To deregister a scalable target"
}
],
"DescribeScalableTargets": [
{
"input": {
"ServiceNamespace": "ecs"
},
"output": {
"ScalableTargets": [
{
"CreationTime": "2019-05-06T11:21:46.199Z",
"MaxCapacity": 10,
"MinCapacity": 1,
"ResourceId": "service/default/web-app",
"RoleARN": "arn:aws:iam::012345678910:role/aws-service-role/ecs.application-autoscaling.amazonaws.com/AWSServiceRoleForApplicationAutoScaling_ECSService",
"ScalableDimension": "ecs:service:DesiredCount",
"ServiceNamespace": "ecs",
"SuspendedState": {
"DynamicScalingInSuspended": false,
"DynamicScalingOutSuspended": false,
"ScheduledScalingSuspended": false
}
}
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example describes the scalable targets for the ECS service namespace.",
"id": "to-describe-scalable-targets-1470864286961",
"title": "To describe scalable targets"
}
],
"DescribeScalingActivities": [
{
"input": {
"ResourceId": "service/default/web-app",
"ScalableDimension": "ecs:service:DesiredCount",
"ServiceNamespace": "ecs"
},
"output": {
"ScalingActivities": [
{
"ActivityId": "e6c5f7d1-dbbb-4a3f-89b2-51f33e766399",
"Cause": "monitor alarm web-app-cpu-lt-25 in state ALARM triggered policy web-app-cpu-lt-25",
"Description": "Setting desired count to 1.",
"EndTime": "2019-05-06T16:04:32.111Z",
"ResourceId": "service/default/web-app",
"ScalableDimension": "ecs:service:DesiredCount",
"ServiceNamespace": "ecs",
"StartTime": "2019-05-06T16:03:58.171Z",
"StatusCode": "Successful",
"StatusMessage": "Successfully set desired count to 1. Change successfully fulfilled by ecs."
}
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example describes the scaling activities for an Amazon ECS service called web-app that is running in the default cluster.",
"id": "to-describe-scaling-activities-for-a-scalable-target-1470864398629",
"title": "To describe scaling activities for a scalable target"
}
],
"DescribeScalingPolicies": [
{
"input": {
"ServiceNamespace": "ecs"
},
"output": {
"NextToken": "",
"ScalingPolicies": [
{
"Alarms": [
{
"AlarmARN": "arn:aws:cloudwatch:us-west-2:012345678910:alarm:web-app-cpu-gt-75",
"AlarmName": "web-app-cpu-gt-75"
}
],
"CreationTime": "2019-05-06T12:11:39.230Z",
"PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/web-app-cpu-gt-75",
"PolicyName": "web-app-cpu-gt-75",
"PolicyType": "StepScaling",
"ResourceId": "service/default/web-app",
"ScalableDimension": "ecs:service:DesiredCount",
"ServiceNamespace": "ecs",
"StepScalingPolicyConfiguration": {
"AdjustmentType": "PercentChangeInCapacity",
"Cooldown": 60,
"StepAdjustments": [
{
"MetricIntervalLowerBound": 0,
"ScalingAdjustment": 200
}
]
}
}
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example describes the scaling policies for the ECS service namespace.",
"id": "to-describe-scaling-policies-1470864609734",
"title": "To describe scaling policies"
}
],
"PutScalingPolicy": [
{
"input": {
"PolicyName": "cpu75-target-tracking-scaling-policy",
"PolicyType": "TargetTrackingScaling",
"ResourceId": "service/default/web-app",
"ScalableDimension": "ecs:service:DesiredCount",
"ServiceNamespace": "ecs",
"TargetTrackingScalingPolicyConfiguration": {
"PredefinedMetricSpecification": {
"PredefinedMetricType": "ECSServiceAverageCPUUtilization"
},
"ScaleInCooldown": 60,
"ScaleOutCooldown": 60,
"TargetValue": 75
}
},
"output": {
"Alarms": [
{
"AlarmARN": "arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmHigh-d4f0770c-b46e-434a-a60f-3b36d653feca",
"AlarmName": "TargetTracking-service/default/web-app-AlarmHigh-d4f0770c-b46e-434a-a60f-3b36d653feca"
},
{
"AlarmARN": "arn:aws:cloudwatch:us-west-2:012345678910:alarm:TargetTracking-service/default/web-app-AlarmLow-1b437334-d19b-4a63-a812-6c67aaf2910d",
"AlarmName": "TargetTracking-service/default/web-app-AlarmLow-1b437334-d19b-4a63-a812-6c67aaf2910d"
}
],
"PolicyARN": "arn:aws:autoscaling:us-west-2:012345678910:scalingPolicy:6d8972f3-efc8-437c-92d1-6270f29a66e7:resource/ecs/service/default/web-app:policyName/cpu75-target-tracking-scaling-policy"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "The following example applies a target tracking scaling policy with a predefined metric specification to an Amazon ECS service called web-app in the default cluster. The policy keeps the average CPU utilization of the service at 75 percent, with scale-out and scale-in cooldown periods of 60 seconds.",
"id": "to-apply-a-target-tracking-scaling-policy-with-a-predefined-metric-specification-1569364247984",
"title": "To apply a target tracking scaling policy with a predefined metric specification"
}
],
"RegisterScalableTarget": [
{
"input": {
"MaxCapacity": 10,
"MinCapacity": 1,
"ResourceId": "service/default/web-app",
"ScalableDimension": "ecs:service:DesiredCount",
"ServiceNamespace": "ecs"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example registers a scalable target from an Amazon ECS service called web-app that is running on the default cluster, with a minimum desired count of 1 task and a maximum desired count of 10 tasks.",
"id": "to-register-a-new-scalable-target-1470864910380",
"title": "To register an ECS service as a scalable target"
}
]
}
}

View File

@@ -0,0 +1,28 @@
{
"pagination": {
"DescribeScalableTargets": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "ScalableTargets"
},
"DescribeScalingActivities": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "ScalingActivities"
},
"DescribeScalingPolicies": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "ScalingPolicies"
},
"DescribeScheduledActions": {
"input_token": "NextToken",
"limit_key": "MaxResults",
"output_token": "NextToken",
"result_key": "ScheduledActions"
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,3 @@
{
"pagination": {}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,10 @@
{
"pagination": {
"ListReportDefinitions": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "reportDefinitions"
}
}
}

View File

@@ -0,0 +1,4 @@
{
"version": "1.0",
"examples": { }
}

View File

@@ -0,0 +1,28 @@
{
"pagination": {
"ListMeshes": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "meshes"
},
"ListRoutes": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "routes"
},
"ListVirtualNodes": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "virtualNodes"
},
"ListVirtualRouters": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "virtualRouters"
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,52 @@
{
"pagination": {
"ListMeshes": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "meshes"
},
"ListRoutes": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "routes"
},
"ListVirtualNodes": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "virtualNodes"
},
"ListVirtualRouters": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "virtualRouters"
},
"ListVirtualServices": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "virtualServices"
},
"ListTagsForResource": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "tags"
},
"ListGatewayRoutes": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "gatewayRoutes"
},
"ListVirtualGateways": {
"input_token": "nextToken",
"limit_key": "limit",
"output_token": "nextToken",
"result_key": "virtualGateways"
}
}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,3 @@
{
"pagination": {}
}

View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"examples": {
}
}

View File

@@ -0,0 +1,60 @@
{
"pagination": {
"DescribeDirectoryConfigs": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "DirectoryConfigs"
},
"DescribeFleets": {
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Fleets"
},
"DescribeImageBuilders": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "ImageBuilders"
},
"DescribeImages": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Images"
},
"DescribeSessions": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "Limit",
"result_key": "Sessions"
},
"DescribeStacks": {
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Stacks"
},
"DescribeUserStackAssociations": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "UserStackAssociations"
},
"DescribeUsers": {
"input_token": "NextToken",
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Users"
},
"ListAssociatedFleets": {
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Names"
},
"ListAssociatedStacks": {
"input_token": "NextToken",
"output_token": "NextToken",
"result_key": "Names"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"version": 2,
"waiters": {
"FleetStarted": {
"delay": 30,
"maxAttempts": 40,
"operation": "DescribeFleets",
"acceptors": [
{
"state": "success",
"matcher": "pathAll",
"argument": "Fleets[].State",
"expected": "RUNNING"
},
{
"state": "failure",
"matcher": "pathAny",
"argument": "Fleets[].State",
"expected": "STOPPING"
},
{
"state": "failure",
"matcher": "pathAny",
"argument": "Fleets[].State",
"expected": "STOPPED"
}
]
},
"FleetStopped": {
"delay": 30,
"maxAttempts": 40,
"operation": "DescribeFleets",
"acceptors": [
{
"state": "success",
"matcher": "pathAll",
"argument": "Fleets[].State",
"expected": "STOPPED"
},
{
"state": "failure",
"matcher": "pathAny",
"argument": "Fleets[].State",
"expected": "STARTING"
},
{
"state": "failure",
"matcher": "pathAny",
"argument": "Fleets[].State",
"expected": "RUNNING"
}
]
}
}
}

Some files were not shown because too many files have changed in this diff Show More