UNPKG

open-next-cdk

Version:

Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK

2,151 lines (2,148 loc) 7.02 MB
// AWS SDK for JavaScript v2.1491.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", "serviceAbbreviation": "ACM", "serviceFullName": "AWS Certificate Manager", "serviceId": "ACM", "signatureVersion": "v4", "targetPrefix": "CertificateManager", "uid": "acm-2015-12-08" }, "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": [ "workspaceId", "data" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "data": { "type": "blob" }, "clientToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "required": [ "status" ], "members": { "status": { "shape": "S6" } } }, "idempotent": true }, "CreateLoggingConfiguration": { "http": { "requestUri": "/workspaces/{workspaceId}/logging", "responseCode": 202 }, "input": { "type": "structure", "required": [ "workspaceId", "logGroupArn" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "logGroupArn": {}, "clientToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "required": [ "status" ], "members": { "status": { "shape": "Sc" } } }, "idempotent": true }, "CreateRuleGroupsNamespace": { "http": { "requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces", "responseCode": 202 }, "input": { "type": "structure", "required": [ "workspaceId", "name", "data" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "name": {}, "data": { "type": "blob" }, "clientToken": { "idempotencyToken": true }, "tags": { "shape": "Sh" } } }, "output": { "type": "structure", "required": [ "name", "arn", "status" ], "members": { "name": {}, "arn": {}, "status": { "shape": "Sm" }, "tags": { "shape": "Sh" } } }, "idempotent": true }, "CreateWorkspace": { "http": { "requestUri": "/workspaces", "responseCode": 202 }, "input": { "type": "structure", "members": { "alias": {}, "clientToken": { "idempotencyToken": true }, "tags": { "shape": "Sh" } } }, "output": { "type": "structure", "required": [ "workspaceId", "arn", "status" ], "members": { "workspaceId": {}, "arn": {}, "status": { "shape": "Ss" }, "tags": { "shape": "Sh" } } }, "idempotent": true }, "DeleteAlertManagerDefinition": { "http": { "method": "DELETE", "requestUri": "/workspaces/{workspaceId}/alertmanager/definition", "responseCode": 202 }, "input": { "type": "structure", "required": [ "workspaceId" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "clientToken": { "idempotencyToken": true, "location": "querystring", "locationName": "clientToken" } } }, "idempotent": true }, "DeleteLoggingConfiguration": { "http": { "method": "DELETE", "requestUri": "/workspaces/{workspaceId}/logging", "responseCode": 202 }, "input": { "type": "structure", "required": [ "workspaceId" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "clientToken": { "idempotencyToken": true, "location": "querystring", "locationName": "clientToken" } } }, "idempotent": true }, "DeleteRuleGroupsNamespace": { "http": { "method": "DELETE", "requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "workspaceId", "name" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "name": { "location": "uri", "locationName": "name" }, "clientToken": { "idempotencyToken": true, "location": "querystring", "locationName": "clientToken" } } }, "idempotent": true }, "DeleteWorkspace": { "http": { "method": "DELETE", "requestUri": "/workspaces/{workspaceId}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "workspaceId" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "clientToken": { "idempotencyToken": true, "location": "querystring", "locationName": "clientToken" } } }, "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": [ "status", "data", "createdAt", "modifiedAt" ], "members": { "status": { "shape": "S6" }, "data": { "type": "blob" }, "createdAt": { "type": "timestamp" }, "modifiedAt": { "type": "timestamp" } } } } } }, "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": [ "status", "workspace", "logGroupArn", "createdAt", "modifiedAt" ], "members": { "status": { "shape": "Sc" }, "workspace": {}, "logGroupArn": {}, "createdAt": { "type": "timestamp" }, "modifiedAt": { "type": "timestamp" } } } } } }, "DescribeRuleGroupsNamespace": { "http": { "method": "GET", "requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces/{name}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "workspaceId", "name" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "name": { "location": "uri", "locationName": "name" } } }, "output": { "type": "structure", "required": [ "ruleGroupsNamespace" ], "members": { "ruleGroupsNamespace": { "type": "structure", "required": [ "arn", "name", "status", "data", "createdAt", "modifiedAt" ], "members": { "arn": {}, "name": {}, "status": { "shape": "Sm" }, "data": { "type": "blob" }, "createdAt": { "type": "timestamp" }, "modifiedAt": { "type": "timestamp" }, "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": [ "workspaceId", "arn", "status", "createdAt" ], "members": { "workspaceId": {}, "alias": {}, "arn": {}, "status": { "shape": "Ss" }, "prometheusEndpoint": {}, "createdAt": { "type": "timestamp" }, "tags": { "shape": "Sh" } } } } } }, "ListRuleGroupsNamespaces": { "http": { "method": "GET", "requestUri": "/workspaces/{workspaceId}/rulegroupsnamespaces", "responseCode": 200 }, "input": { "type": "structure", "required": [ "workspaceId" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "name": { "location": "querystring", "locationName": "name" }, "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "required": [ "ruleGroupsNamespaces" ], "members": { "ruleGroupsNamespaces": { "type": "list", "member": { "type": "structure", "required": [ "arn", "name", "status", "createdAt", "modifiedAt" ], "members": { "arn": {}, "name": {}, "status": { "shape": "Sm" }, "createdAt": { "type": "timestamp" }, "modifiedAt": { "type": "timestamp" }, "tags": { "shape": "Sh" } } } }, "nextToken": {} } } }, "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": { "nextToken": { "location": "querystring", "locationName": "nextToken" }, "alias": { "location": "querystring", "locationName": "alias" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" } } }, "output": { "type": "structure", "required": [ "workspaces" ], "members": { "workspaces": { "type": "list", "member": { "type": "structure", "required": [ "workspaceId", "arn", "status", "createdAt" ], "members": { "workspaceId": {}, "alias": {}, "arn": {}, "status": { "shape": "Ss" }, "createdAt": { "type": "timestamp" }, "tags": { "shape": "Sh" } } } }, "nextToken": {} } } }, "PutAlertManagerDefinition": { "http": { "method": "PUT", "requestUri": "/workspaces/{workspaceId}/alertmanager/definition", "responseCode": 202 }, "input": { "type": "structure", "required": [ "workspaceId", "data" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "data": { "type": "blob" }, "clientToken": { "idempotencyToken": true } } }, "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": [ "workspaceId", "name", "data" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "name": { "location": "uri", "locationName": "name" }, "data": { "type": "blob" }, "clientToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "required": [ "name", "arn", "status" ], "members": { "name": {}, "arn": {}, "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": [ "workspaceId", "logGroupArn" ], "members": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "logGroupArn": {}, "clientToken": { "idempotencyToken": true } } }, "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": { "workspaceId": { "location": "uri", "locationName": "workspaceId" }, "alias": {}, "clientToken": { "idempotencyToken": true } } }, "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": {} } }, "Ss": { "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" }, "ListWorkspaces": { "input_token": "nextToken", "output_token": "nextToken", "limit_key": "maxResults", "result_key": "workspaces" } } } },{}],6:[function(require,module,exports){ module.exports={ "version" : 2, "waiters" : { "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", "serviceFullName": "Amazon API Gateway", "serviceId": "API Gateway", "signatureVersion": "v4", "uid": "apigateway-2015-07-09" }, "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": { "shape": "S6" }, "securityPolicy": {}, "mutualTlsAuthentication": { "type": "structure", "members": { "truststoreUri": {}, "truststoreVersion": {} } }, "ownershipVerificationCertificateArn": {} } }, "output": { "shape": "S14" } }, "CreateModel": { "http": { "requestUri": "/restapis/{restapi_id}/models", "responseCode": 201 }, "input": { "type": "structure", "required": [ "restApiId", "name", "contentType" ], "members": { "restApiId": { "location": "uri", "locationName": "restapi_id" }, "name": {}, "description": {}, "schema": {}, "contentType": {} } }, "output": { "shape": "S18" } }, "CreateRequestValidator": { "http": { "requestUri": "/restapis/{restapi_id}/requestvalidators", "responseCode": 201 }, "input": { "type": "structure", "required": [ "restApiId" ], "members": { "restApiId": { "location": "uri", "locationName": "restapi_id" }, "name": {}, "validateRequestBody": { "type": "boolean" }, "validateRequestParameters": { "type": "boolean" } } }, "output": { "shape": "S1a" } }, "CreateResource": { "http": { "requestUri": "/restapis/{restapi_id}/resources/{parent_id}", "responseCode": 201 }, "input": { "type": "structure", "required": [ "restApiId", "parentId", "pathPart" ], "members": { "restApiId": { "location": "uri", "locationName": "restapi_id" }, "parentId": { "location": "uri", "locationName": "parent_id" }, "pathPart": {} } }, "output": { "shape": "S1c" } }, "CreateRestApi": { "http": { "requestUri": "/restapis", "responseCode": 201 }, "input": { "type": "structure", "required": [ "name" ], "members": { "name": {}, "description": {}, "version": {}, "cloneFrom": {}, "binaryMediaTypes": { "shape": "S9" }, "minimumCompressionSize": { "type": "integer" }, "apiKeySource": {}, "endpointConfiguration": { "shape": "Sz" }, "policy": {}, "tags": { "shape": "S6" }, "disableExecuteApiEndpoint": { "type": "boolean" } } }, "output": { "shape": "S1t" } }, "CreateStage": { "http": { "requestUri": "/restapis/{restapi_id}/stages", "responseCode": 201 }, "input": { "type": "structure", "required": [ "restApiId", "stageName", "deploymentId" ], "members": { "restApiId": { "location": "uri", "locationName": "restapi_id" }, "stageName": {}, "deploymentId": {}, "description": {}, "cacheClusterEnabled": { "type": "boolean" }, "cacheClusterSize": {}, "variables": { "shape": "S6" }, "documentationVersion": {}, "canarySettings": { "shape": "S1v" }, "tracingEnabled": { "type": "boolean" }, "tags": { "shape": "S6" } } }, "output": { "shape": "S1w" } }, "CreateUsagePlan": { "http": { "requestUri": "/usageplans", "responseCode": 201 }, "input": { "type": "structure", "required": [ "name" ], "members": { "name": {}, "description": {}, "apiStages": { "shape": "S23" }, "throttle": { "shape": "S26" }, "quota": { "shape": "S27" }, "tags": { "shape": "S6" } } }, "output": { "shape": "S29" } }, "CreateUsagePlanKey": { "http": { "requestUri": "/usageplans/{usageplanId}/keys", "responseCode": 201 }, "input": { "type": "structure", "required": [ "usagePlanId", "keyId", "keyType" ], "members": { "usagePlanId": { "location": "uri", "locationName": "usageplanId" }, "keyId": {}, "keyType": {} } }, "output": { "shape": "S2b" } }, "CreateVpcLink": { "http": { "requestUri": "/vpclinks", "responseCode": 202 }, "input": { "type": "structure", "required": [ "name", "targetArns" ], "members": { "name": {}, "description": {}, "targetArns": { "shape": "S9" }, "tags": { "shape": "S6" } } }, "output": { "shape": "S2d" } }, "DeleteApiKey": { "http": { "method": "DELETE", "requestUri": "/apikeys/{api_Key}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "apiKey" ], "members": { "apiKey": { "location": "uri", "locationName": "api_Key" } } } }, "DeleteAuthorizer": { "http": { "method": "DELETE", "requestUri": "/restapis/{restapi_id}/authorizers/{authorizer_id}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "restApiId", "authorizerId" ], "members": { "restApiId": { "location": "uri", "locationName": "restapi_id" }, "authorizerId": { "location": "uri", "locationName": "authorizer_id" } } } }, "DeleteBasePathMapping": { "http": { "method": "DELETE", "requestUri": "/domainnames/{domain_name}/basepathmappings/{base_path}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "domainName", "basePath" ], "members": { "domainName": { "location": "uri", "locationName": "domain_name" }, "basePath": { "location": "uri", "locationName": "base_path" } } } }, "DeleteClientCertificate": { "http": { "method": "DELETE", "requestUri": "/clientcertificates/{clientcertificate_id}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "clientCertificateId" ], "members": { "clientCertificateId": { "location": "uri", "locationName": "clientcertificate_id" } } } }, "DeleteDeployment": { "http": { "method": "DELETE", "requestUri": "/restapis/{restapi_id}/deployments/{deployment_id}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "restApiId", "deploymentId" ], "members": { "restApiId": { "location": "uri", "locationName": "restapi_id" }, "deploymentId": { "location": "uri", "locationName": "deployment_id" } } } }, "DeleteDocumentationPart": { "http": { "method": "DELETE", "requestUri": "/restapis/{restapi_id}/documentation/parts/{part_id}", "responseCode": 202 }, "input": { "type": "structure",