aws-sdk
Version:
AWS SDK for JavaScript
2,142 lines (2,140 loc) • 7.38 MB
JavaScript
// AWS SDK for JavaScript v2.1692.0
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
module.exports={
"version": "2.0",
"metadata": {
"apiVersion": "2015-12-08",
"endpointPrefix": "acm",
"jsonVersion": "1.1",
"protocol": "json",
"protocols": [
"json"
],
"serviceAbbreviation": "ACM",
"serviceFullName": "AWS Certificate Manager",
"serviceId": "ACM",
"signatureVersion": "v4",
"targetPrefix": "CertificateManager",
"uid": "acm-2015-12-08",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"AddTagsToCertificate": {
"input": {
"type": "structure",
"required": [
"CertificateArn",
"Tags"
],
"members": {
"CertificateArn": {},
"Tags": {
"shape": "S3"
}
}
}
},
"DeleteCertificate": {
"input": {
"type": "structure",
"required": [
"CertificateArn"
],
"members": {
"CertificateArn": {}
}
}
},
"DescribeCertificate": {
"input": {
"type": "structure",
"required": [
"CertificateArn"
],
"members": {
"CertificateArn": {}
}
},
"output": {
"type": "structure",
"members": {
"Certificate": {
"type": "structure",
"members": {
"CertificateArn": {},
"DomainName": {},
"SubjectAlternativeNames": {
"shape": "Sc"
},
"DomainValidationOptions": {
"shape": "Sd"
},
"Serial": {},
"Subject": {},
"Issuer": {},
"CreatedAt": {
"type": "timestamp"
},
"IssuedAt": {
"type": "timestamp"
},
"ImportedAt": {
"type": "timestamp"
},
"Status": {},
"RevokedAt": {
"type": "timestamp"
},
"RevocationReason": {},
"NotBefore": {
"type": "timestamp"
},
"NotAfter": {
"type": "timestamp"
},
"KeyAlgorithm": {},
"SignatureAlgorithm": {},
"InUseBy": {
"type": "list",
"member": {}
},
"FailureReason": {},
"Type": {},
"RenewalSummary": {
"type": "structure",
"required": [
"RenewalStatus",
"DomainValidationOptions",
"UpdatedAt"
],
"members": {
"RenewalStatus": {},
"DomainValidationOptions": {
"shape": "Sd"
},
"RenewalStatusReason": {},
"UpdatedAt": {
"type": "timestamp"
}
}
},
"KeyUsages": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {}
}
}
},
"ExtendedKeyUsages": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Name": {},
"OID": {}
}
}
},
"CertificateAuthorityArn": {},
"RenewalEligibility": {},
"Options": {
"shape": "S11"
}
}
}
}
}
},
"ExportCertificate": {
"input": {
"type": "structure",
"required": [
"CertificateArn",
"Passphrase"
],
"members": {
"CertificateArn": {},
"Passphrase": {
"type": "blob",
"sensitive": true
}
}
},
"output": {
"type": "structure",
"members": {
"Certificate": {},
"CertificateChain": {},
"PrivateKey": {
"type": "string",
"sensitive": true
}
}
}
},
"GetAccountConfiguration": {
"output": {
"type": "structure",
"members": {
"ExpiryEvents": {
"shape": "S1a"
}
}
}
},
"GetCertificate": {
"input": {
"type": "structure",
"required": [
"CertificateArn"
],
"members": {
"CertificateArn": {}
}
},
"output": {
"type": "structure",
"members": {
"Certificate": {},
"CertificateChain": {}
}
}
},
"ImportCertificate": {
"input": {
"type": "structure",
"required": [
"Certificate",
"PrivateKey"
],
"members": {
"CertificateArn": {},
"Certificate": {
"type": "blob"
},
"PrivateKey": {
"type": "blob",
"sensitive": true
},
"CertificateChain": {
"type": "blob"
},
"Tags": {
"shape": "S3"
}
}
},
"output": {
"type": "structure",
"members": {
"CertificateArn": {}
}
}
},
"ListCertificates": {
"input": {
"type": "structure",
"members": {
"CertificateStatuses": {
"type": "list",
"member": {}
},
"Includes": {
"type": "structure",
"members": {
"extendedKeyUsage": {
"type": "list",
"member": {}
},
"keyUsage": {
"type": "list",
"member": {}
},
"keyTypes": {
"type": "list",
"member": {}
}
}
},
"NextToken": {},
"MaxItems": {
"type": "integer"
},
"SortBy": {},
"SortOrder": {}
}
},
"output": {
"type": "structure",
"members": {
"NextToken": {},
"CertificateSummaryList": {
"type": "list",
"member": {
"type": "structure",
"members": {
"CertificateArn": {},
"DomainName": {},
"SubjectAlternativeNameSummaries": {
"shape": "Sc"
},
"HasAdditionalSubjectAlternativeNames": {
"type": "boolean"
},
"Status": {},
"Type": {},
"KeyAlgorithm": {},
"KeyUsages": {
"type": "list",
"member": {}
},
"ExtendedKeyUsages": {
"type": "list",
"member": {}
},
"InUse": {
"type": "boolean"
},
"Exported": {
"type": "boolean"
},
"RenewalEligibility": {},
"NotBefore": {
"type": "timestamp"
},
"NotAfter": {
"type": "timestamp"
},
"CreatedAt": {
"type": "timestamp"
},
"IssuedAt": {
"type": "timestamp"
},
"ImportedAt": {
"type": "timestamp"
},
"RevokedAt": {
"type": "timestamp"
}
}
}
}
}
}
},
"ListTagsForCertificate": {
"input": {
"type": "structure",
"required": [
"CertificateArn"
],
"members": {
"CertificateArn": {}
}
},
"output": {
"type": "structure",
"members": {
"Tags": {
"shape": "S3"
}
}
}
},
"PutAccountConfiguration": {
"input": {
"type": "structure",
"required": [
"IdempotencyToken"
],
"members": {
"ExpiryEvents": {
"shape": "S1a"
},
"IdempotencyToken": {}
}
}
},
"RemoveTagsFromCertificate": {
"input": {
"type": "structure",
"required": [
"CertificateArn",
"Tags"
],
"members": {
"CertificateArn": {},
"Tags": {
"shape": "S3"
}
}
}
},
"RenewCertificate": {
"input": {
"type": "structure",
"required": [
"CertificateArn"
],
"members": {
"CertificateArn": {}
}
}
},
"RequestCertificate": {
"input": {
"type": "structure",
"required": [
"DomainName"
],
"members": {
"DomainName": {},
"ValidationMethod": {},
"SubjectAlternativeNames": {
"shape": "Sc"
},
"IdempotencyToken": {},
"DomainValidationOptions": {
"type": "list",
"member": {
"type": "structure",
"required": [
"DomainName",
"ValidationDomain"
],
"members": {
"DomainName": {},
"ValidationDomain": {}
}
}
},
"Options": {
"shape": "S11"
},
"CertificateAuthorityArn": {},
"Tags": {
"shape": "S3"
},
"KeyAlgorithm": {}
}
},
"output": {
"type": "structure",
"members": {
"CertificateArn": {}
}
}
},
"ResendValidationEmail": {
"input": {
"type": "structure",
"required": [
"CertificateArn",
"Domain",
"ValidationDomain"
],
"members": {
"CertificateArn": {},
"Domain": {},
"ValidationDomain": {}
}
}
},
"UpdateCertificateOptions": {
"input": {
"type": "structure",
"required": [
"CertificateArn",
"Options"
],
"members": {
"CertificateArn": {},
"Options": {
"shape": "S11"
}
}
}
}
},
"shapes": {
"S3": {
"type": "list",
"member": {
"type": "structure",
"required": [
"Key"
],
"members": {
"Key": {},
"Value": {}
}
}
},
"Sc": {
"type": "list",
"member": {}
},
"Sd": {
"type": "list",
"member": {
"type": "structure",
"required": [
"DomainName"
],
"members": {
"DomainName": {},
"ValidationEmails": {
"type": "list",
"member": {}
},
"ValidationDomain": {},
"ValidationStatus": {},
"ResourceRecord": {
"type": "structure",
"required": [
"Name",
"Type",
"Value"
],
"members": {
"Name": {},
"Type": {},
"Value": {}
}
},
"ValidationMethod": {}
}
}
},
"S11": {
"type": "structure",
"members": {
"CertificateTransparencyLoggingPreference": {}
}
},
"S1a": {
"type": "structure",
"members": {
"DaysBeforeExpiry": {
"type": "integer"
}
}
}
}
}
},{}],2:[function(require,module,exports){
module.exports={
"pagination": {
"ListCertificates": {
"input_token": "NextToken",
"limit_key": "MaxItems",
"output_token": "NextToken",
"result_key": "CertificateSummaryList"
}
}
}
},{}],3:[function(require,module,exports){
module.exports={
"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"
}
]
}
}
}
},{}],4:[function(require,module,exports){
module.exports={
"version": "2.0",
"metadata": {
"apiVersion": "2020-08-01",
"endpointPrefix": "aps",
"jsonVersion": "1.1",
"protocol": "rest-json",
"serviceFullName": "Amazon Prometheus Service",
"serviceId": "amp",
"signatureVersion": "v4",
"signingName": "aps",
"uid": "amp-2020-08-01"
},
"operations": {
"CreateAlertManagerDefinition": {
"http": {
"requestUri": "/workspaces/{workspaceId}/alertmanager/definition",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"data",
"workspaceId"
],
"members": {
"clientToken": {
"idempotencyToken": true
},
"data": {
"type": "blob"
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"status"
],
"members": {
"status": {
"shape": "S6"
}
}
},
"idempotent": true
},
"CreateLoggingConfiguration": {
"http": {
"requestUri": "/workspaces/{workspaceId}/logging",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"logGroupArn",
"workspaceId"
],
"members": {
"clientToken": {
"idempotencyToken": true
},
"logGroupArn": {},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"status"
],
"members": {
"status": {
"shape": "Sc"
}
}
},
"idempotent": true
},
"CreateRuleGroupsNamespace": {
"http": {
"requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"data",
"name",
"workspaceId"
],
"members": {
"clientToken": {
"idempotencyToken": true
},
"data": {
"type": "blob"
},
"name": {},
"tags": {
"shape": "Sh"
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"arn",
"name",
"status"
],
"members": {
"arn": {},
"name": {},
"status": {
"shape": "Sm"
},
"tags": {
"shape": "Sh"
}
}
},
"idempotent": true
},
"CreateScraper": {
"http": {
"requestUri": "/scrapers",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"destination",
"scrapeConfiguration",
"source"
],
"members": {
"alias": {},
"clientToken": {
"idempotencyToken": true
},
"destination": {
"shape": "Sq"
},
"scrapeConfiguration": {
"shape": "St"
},
"source": {
"shape": "Sv"
},
"tags": {
"shape": "Sh"
}
}
},
"output": {
"type": "structure",
"required": [
"arn",
"scraperId",
"status"
],
"members": {
"arn": {},
"scraperId": {},
"status": {
"shape": "S15"
},
"tags": {
"shape": "Sh"
}
}
},
"idempotent": true
},
"CreateWorkspace": {
"http": {
"requestUri": "/workspaces",
"responseCode": 202
},
"input": {
"type": "structure",
"members": {
"alias": {},
"clientToken": {
"idempotencyToken": true
},
"kmsKeyArn": {},
"tags": {
"shape": "Sh"
}
}
},
"output": {
"type": "structure",
"required": [
"arn",
"status",
"workspaceId"
],
"members": {
"arn": {},
"kmsKeyArn": {},
"status": {
"shape": "S1b"
},
"tags": {
"shape": "Sh"
},
"workspaceId": {}
}
},
"idempotent": true
},
"DeleteAlertManagerDefinition": {
"http": {
"method": "DELETE",
"requestUri": "/workspaces/{workspaceId}/alertmanager/definition",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"workspaceId"
],
"members": {
"clientToken": {
"idempotencyToken": true,
"location": "querystring",
"locationName": "clientToken"
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"idempotent": true
},
"DeleteLoggingConfiguration": {
"http": {
"method": "DELETE",
"requestUri": "/workspaces/{workspaceId}/logging",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"workspaceId"
],
"members": {
"clientToken": {
"idempotencyToken": true,
"location": "querystring",
"locationName": "clientToken"
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"idempotent": true
},
"DeleteRuleGroupsNamespace": {
"http": {
"method": "DELETE",
"requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"name",
"workspaceId"
],
"members": {
"clientToken": {
"idempotencyToken": true,
"location": "querystring",
"locationName": "clientToken"
},
"name": {
"location": "uri",
"locationName": "name"
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"idempotent": true
},
"DeleteScraper": {
"http": {
"method": "DELETE",
"requestUri": "/scrapers/{scraperId}",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"scraperId"
],
"members": {
"clientToken": {
"idempotencyToken": true,
"location": "querystring",
"locationName": "clientToken"
},
"scraperId": {
"location": "uri",
"locationName": "scraperId"
}
}
},
"output": {
"type": "structure",
"required": [
"scraperId",
"status"
],
"members": {
"scraperId": {},
"status": {
"shape": "S15"
}
}
},
"idempotent": true
},
"DeleteWorkspace": {
"http": {
"method": "DELETE",
"requestUri": "/workspaces/{workspaceId}",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"workspaceId"
],
"members": {
"clientToken": {
"idempotencyToken": true,
"location": "querystring",
"locationName": "clientToken"
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"idempotent": true
},
"DescribeAlertManagerDefinition": {
"http": {
"method": "GET",
"requestUri": "/workspaces/{workspaceId}/alertmanager/definition",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"workspaceId"
],
"members": {
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"alertManagerDefinition"
],
"members": {
"alertManagerDefinition": {
"type": "structure",
"required": [
"createdAt",
"data",
"modifiedAt",
"status"
],
"members": {
"createdAt": {
"type": "timestamp"
},
"data": {
"type": "blob"
},
"modifiedAt": {
"type": "timestamp"
},
"status": {
"shape": "S6"
}
}
}
}
}
},
"DescribeLoggingConfiguration": {
"http": {
"method": "GET",
"requestUri": "/workspaces/{workspaceId}/logging",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"workspaceId"
],
"members": {
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"loggingConfiguration"
],
"members": {
"loggingConfiguration": {
"type": "structure",
"required": [
"createdAt",
"logGroupArn",
"modifiedAt",
"status",
"workspace"
],
"members": {
"createdAt": {
"type": "timestamp"
},
"logGroupArn": {},
"modifiedAt": {
"type": "timestamp"
},
"status": {
"shape": "Sc"
},
"workspace": {}
}
}
}
}
},
"DescribeRuleGroupsNamespace": {
"http": {
"method": "GET",
"requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"name",
"workspaceId"
],
"members": {
"name": {
"location": "uri",
"locationName": "name"
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"ruleGroupsNamespace"
],
"members": {
"ruleGroupsNamespace": {
"type": "structure",
"required": [
"arn",
"createdAt",
"data",
"modifiedAt",
"name",
"status"
],
"members": {
"arn": {},
"createdAt": {
"type": "timestamp"
},
"data": {
"type": "blob"
},
"modifiedAt": {
"type": "timestamp"
},
"name": {},
"status": {
"shape": "Sm"
},
"tags": {
"shape": "Sh"
}
}
}
}
}
},
"DescribeScraper": {
"http": {
"method": "GET",
"requestUri": "/scrapers/{scraperId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"scraperId"
],
"members": {
"scraperId": {
"location": "uri",
"locationName": "scraperId"
}
}
},
"output": {
"type": "structure",
"required": [
"scraper"
],
"members": {
"scraper": {
"type": "structure",
"required": [
"arn",
"createdAt",
"destination",
"lastModifiedAt",
"roleArn",
"scrapeConfiguration",
"scraperId",
"source",
"status"
],
"members": {
"alias": {},
"arn": {},
"createdAt": {
"type": "timestamp"
},
"destination": {
"shape": "Sq"
},
"lastModifiedAt": {
"type": "timestamp"
},
"roleArn": {},
"scrapeConfiguration": {
"shape": "St"
},
"scraperId": {},
"source": {
"shape": "Sv"
},
"status": {
"shape": "S15"
},
"statusReason": {},
"tags": {
"shape": "Sh"
}
}
}
}
}
},
"DescribeWorkspace": {
"http": {
"method": "GET",
"requestUri": "/workspaces/{workspaceId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"workspaceId"
],
"members": {
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"workspace"
],
"members": {
"workspace": {
"type": "structure",
"required": [
"arn",
"createdAt",
"status",
"workspaceId"
],
"members": {
"alias": {},
"arn": {},
"createdAt": {
"type": "timestamp"
},
"kmsKeyArn": {},
"prometheusEndpoint": {},
"status": {
"shape": "S1b"
},
"tags": {
"shape": "Sh"
},
"workspaceId": {}
}
}
}
}
},
"GetDefaultScraperConfiguration": {
"http": {
"method": "GET",
"requestUri": "/scraperconfiguration",
"responseCode": 200
},
"input": {
"type": "structure",
"members": {}
},
"output": {
"type": "structure",
"required": [
"configuration"
],
"members": {
"configuration": {
"type": "blob"
}
}
}
},
"ListRuleGroupsNamespaces": {
"http": {
"method": "GET",
"requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"workspaceId"
],
"members": {
"maxResults": {
"location": "querystring",
"locationName": "maxResults",
"type": "integer"
},
"name": {
"location": "querystring",
"locationName": "name"
},
"nextToken": {
"location": "querystring",
"locationName": "nextToken"
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"ruleGroupsNamespaces"
],
"members": {
"nextToken": {},
"ruleGroupsNamespaces": {
"type": "list",
"member": {
"type": "structure",
"required": [
"arn",
"createdAt",
"modifiedAt",
"name",
"status"
],
"members": {
"arn": {},
"createdAt": {
"type": "timestamp"
},
"modifiedAt": {
"type": "timestamp"
},
"name": {},
"status": {
"shape": "Sm"
},
"tags": {
"shape": "Sh"
}
}
}
}
}
}
},
"ListScrapers": {
"http": {
"method": "GET",
"requestUri": "/scrapers",
"responseCode": 200
},
"input": {
"type": "structure",
"members": {
"filters": {
"location": "querystring",
"type": "map",
"key": {},
"value": {
"type": "list",
"member": {}
}
},
"maxResults": {
"location": "querystring",
"locationName": "maxResults",
"type": "integer"
},
"nextToken": {
"location": "querystring",
"locationName": "nextToken"
}
}
},
"output": {
"type": "structure",
"required": [
"scrapers"
],
"members": {
"nextToken": {},
"scrapers": {
"type": "list",
"member": {
"type": "structure",
"required": [
"arn",
"createdAt",
"destination",
"lastModifiedAt",
"roleArn",
"scraperId",
"source",
"status"
],
"members": {
"alias": {},
"arn": {},
"createdAt": {
"type": "timestamp"
},
"destination": {
"shape": "Sq"
},
"lastModifiedAt": {
"type": "timestamp"
},
"roleArn": {},
"scraperId": {},
"source": {
"shape": "Sv"
},
"status": {
"shape": "S15"
},
"statusReason": {},
"tags": {
"shape": "Sh"
}
}
}
}
}
}
},
"ListTagsForResource": {
"http": {
"method": "GET",
"requestUri": "/tags/{resourceArn}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"resourceArn"
],
"members": {
"resourceArn": {
"location": "uri",
"locationName": "resourceArn"
}
}
},
"output": {
"type": "structure",
"members": {
"tags": {
"shape": "Sh"
}
}
}
},
"ListWorkspaces": {
"http": {
"method": "GET",
"requestUri": "/workspaces",
"responseCode": 200
},
"input": {
"type": "structure",
"members": {
"alias": {
"location": "querystring",
"locationName": "alias"
},
"maxResults": {
"location": "querystring",
"locationName": "maxResults",
"type": "integer"
},
"nextToken": {
"location": "querystring",
"locationName": "nextToken"
}
}
},
"output": {
"type": "structure",
"required": [
"workspaces"
],
"members": {
"nextToken": {},
"workspaces": {
"type": "list",
"member": {
"type": "structure",
"required": [
"arn",
"createdAt",
"status",
"workspaceId"
],
"members": {
"alias": {},
"arn": {},
"createdAt": {
"type": "timestamp"
},
"kmsKeyArn": {},
"status": {
"shape": "S1b"
},
"tags": {
"shape": "Sh"
},
"workspaceId": {}
}
}
}
}
}
},
"PutAlertManagerDefinition": {
"http": {
"method": "PUT",
"requestUri": "/workspaces/{workspaceId}/alertmanager/definition",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"data",
"workspaceId"
],
"members": {
"clientToken": {
"idempotencyToken": true
},
"data": {
"type": "blob"
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"status"
],
"members": {
"status": {
"shape": "S6"
}
}
},
"idempotent": true
},
"PutRuleGroupsNamespace": {
"http": {
"method": "PUT",
"requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"data",
"name",
"workspaceId"
],
"members": {
"clientToken": {
"idempotencyToken": true
},
"data": {
"type": "blob"
},
"name": {
"location": "uri",
"locationName": "name"
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"arn",
"name",
"status"
],
"members": {
"arn": {},
"name": {},
"status": {
"shape": "Sm"
},
"tags": {
"shape": "Sh"
}
}
},
"idempotent": true
},
"TagResource": {
"http": {
"requestUri": "/tags/{resourceArn}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"resourceArn",
"tags"
],
"members": {
"resourceArn": {
"location": "uri",
"locationName": "resourceArn"
},
"tags": {
"shape": "Sh"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"UntagResource": {
"http": {
"method": "DELETE",
"requestUri": "/tags/{resourceArn}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"resourceArn",
"tagKeys"
],
"members": {
"resourceArn": {
"location": "uri",
"locationName": "resourceArn"
},
"tagKeys": {
"location": "querystring",
"locationName": "tagKeys",
"type": "list",
"member": {}
}
}
},
"output": {
"type": "structure",
"members": {}
},
"idempotent": true
},
"UpdateLoggingConfiguration": {
"http": {
"method": "PUT",
"requestUri": "/workspaces/{workspaceId}/logging",
"responseCode": 202
},
"input": {
"type": "structure",
"required": [
"logGroupArn",
"workspaceId"
],
"members": {
"clientToken": {
"idempotencyToken": true
},
"logGroupArn": {},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"output": {
"type": "structure",
"required": [
"status"
],
"members": {
"status": {
"shape": "Sc"
}
}
},
"idempotent": true
},
"UpdateWorkspaceAlias": {
"http": {
"requestUri": "/workspaces/{workspaceId}/alias",
"responseCode": 204
},
"input": {
"type": "structure",
"required": [
"workspaceId"
],
"members": {
"alias": {},
"clientToken": {
"idempotencyToken": true
},
"workspaceId": {
"location": "uri",
"locationName": "workspaceId"
}
}
},
"idempotent": true
}
},
"shapes": {
"S6": {
"type": "structure",
"required": [
"statusCode"
],
"members": {
"statusCode": {},
"statusReason": {}
}
},
"Sc": {
"type": "structure",
"required": [
"statusCode"
],
"members": {
"statusCode": {},
"statusReason": {}
}
},
"Sh": {
"type": "map",
"key": {},
"value": {}
},
"Sm": {
"type": "structure",
"required": [
"statusCode"
],
"members": {
"statusCode": {},
"statusReason": {}
}
},
"Sq": {
"type": "structure",
"members": {
"ampConfiguration": {
"type": "structure",
"required": [
"workspaceArn"
],
"members": {
"workspaceArn": {}
}
}
},
"union": true
},
"St": {
"type": "structure",
"members": {
"configurationBlob": {
"type": "blob"
}
},
"union": true
},
"Sv": {
"type": "structure",
"members": {
"eksConfiguration": {
"type": "structure",
"required": [
"clusterArn",
"subnetIds"
],
"members": {
"clusterArn": {},
"securityGroupIds": {
"type": "list",
"member": {}
},
"subnetIds": {
"type": "list",
"member": {}
}
}
}
},
"union": true
},
"S15": {
"type": "structure",
"required": [
"statusCode"
],
"members": {
"statusCode": {}
}
},
"S1b": {
"type": "structure",
"required": [
"statusCode"
],
"members": {
"statusCode": {}
}
}
}
}
},{}],5:[function(require,module,exports){
module.exports={
"pagination": {
"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"
},
"ListWorkspaces": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "workspaces"
}
}
}
},{}],6:[function(require,module,exports){
module.exports={
"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"
} ]
}
}
}
},{}],7:[function(require,module,exports){
module.exports={
"version": "2.0",
"metadata": {
"apiVersion": "2015-07-09",
"endpointPrefix": "apigateway",
"protocol": "rest-json",
"protocols": [
"rest-json"
],
"serviceFullName": "Amazon API Gateway",
"serviceId": "API Gateway",
"signatureVersion": "v4",
"uid": "apigateway-2015-07-09",
"auth": [
"aws.auth#sigv4"
]
},
"operations": {
"CreateApiKey": {
"http": {
"requestUri": "/apikeys",
"responseCode": 201
},
"input": {
"type": "structure",
"members": {
"name": {},
"description": {},
"enabled": {
"type": "boolean"
},
"generateDistinctId": {
"type": "boolean"
},
"value": {},
"stageKeys": {
"type": "list",
"member": {
"type": "structure",
"members": {
"restApiId": {},
"stageName": {}
}
}
},
"customerId": {},
"tags": {
"shape": "S6"
}
}
},
"output": {
"shape": "S7"
}
},
"CreateAuthorizer": {
"http": {
"requestUri": "/restapis/{restapi_id}/authorizers",
"responseCode": 201
},
"input": {
"type": "structure",
"required": [
"restApiId",
"name",
"type"
],
"members": {
"restApiId": {
"location": "uri",
"locationName": "restapi_id"
},
"name": {},
"type": {},
"providerARNs": {
"shape": "Sc"
},
"authType": {},
"authorizerUri": {},
"authorizerCredentials": {},
"identitySource": {},
"identityValidationExpression": {},
"authorizerResultTtlInSeconds": {
"type": "integer"
}
}
},
"output": {
"shape": "Sf"
}
},
"CreateBasePathMapping": {
"http": {
"requestUri": "/domainnames/{domain_name}/basepathmappings",
"responseCode": 201
},
"input": {
"type": "structure",
"required": [
"domainName",
"restApiId"
],
"members": {
"domainName": {
"location": "uri",
"locationName": "domain_name"
},
"basePath": {},
"restApiId": {},
"stage": {}
}
},
"output": {
"shape": "Sh"
}
},
"CreateDeployment": {
"http": {
"requestUri": "/restapis/{restapi_id}/deployments",
"responseCode": 201
},
"input": {
"type": "structure",
"required": [
"restApiId"
],
"members": {
"restApiId": {
"location": "uri",
"locationName": "restapi_id"
},
"stageName": {},
"stageDescription": {},
"description": {},
"cacheClusterEnabled": {
"type": "boolean"
},
"cacheClusterSize": {},
"variables": {
"shape": "S6"
},
"canarySettings": {
"type": "structure",
"members": {
"percentTraffic": {
"type": "double"
},
"stageVariableOverrides": {
"shape": "S6"
},
"useStageCache": {
"type": "boolean"
}
}
},
"tracingEnabled": {
"type": "boolean"
}
}
},
"output": {
"shape": "Sn"
}
},
"CreateDocumentationPart": {
"http": {
"requestUri": "/restapis/{restapi_id}/documentation/parts",
"responseCode": 201
},
"input": {
"type": "structure",
"required": [
"restApiId",
"location",
"properties"
],
"members": {
"restApiId": {
"location": "uri",
"locationName": "restapi_id"
},
"location": {
"shape": "Ss"
},
"properties": {}
}
},
"output": {
"shape": "Sv"
}
},
"CreateDocumentationVersion": {
"http": {
"requestUri": "/restapis/{restapi_id}/documentation/versions",
"responseCode": 201
},
"input": {
"type": "structure",
"required": [
"restApiId",
"documentationVersion"
],
"members": {
"restApiId": {
"location": "uri",
"locationName": "restapi_id"
},
"documentationVersion": {},
"stageName": {},
"description": {}
}
},
"output": {
"shape": "Sx"
}
},
"CreateDomainName": {
"http": {
"requestUri": "/domainnames",
"responseCode": 201
},
"input": {
"type": "structure",
"required": [
"domainName"
],
"members": {
"domainName": {},
"certificateName": {},
"certificateBody": {},
"certificatePrivateKey": {},
"certificateChain": {},
"certificateArn": {},
"regionalCertificateName": {},
"regionalCertificateArn": {},
"endpointConfiguration": {
"shape": "Sz"
},
"tags": {
"shap