// AWS SDK for JavaScript v2.77.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o `0`", "state": "success" }, { "matcher": "error", "expected": "InvalidInstanceID.NotFound", "state": "retry" } ] }, "BundleTaskComplete": { "delay": 15, "operation": "DescribeBundleTasks", "maxAttempts": 40, "acceptors": [ { "expected": "complete", "matcher": "pathAll", "state": "success", "argument": "BundleTasks[].State" }, { "expected": "failed", "matcher": "pathAny", "state": "failure", "argument": "BundleTasks[].State" } ] }, "ConversionTaskCancelled": { "delay": 15, "operation": "DescribeConversionTasks", "maxAttempts": 40, "acceptors": [ { "expected": "cancelled", "matcher": "pathAll", "state": "success", "argument": "ConversionTasks[].State" } ] }, "ConversionTaskCompleted": { "delay": 15, "operation": "DescribeConversionTasks", "maxAttempts": 40, "acceptors": [ { "expected": "completed", "matcher": "pathAll", "state": "success", "argument": "ConversionTasks[].State" }, { "expected": "cancelled", "matcher": "pathAny", "state": "failure", "argument": "ConversionTasks[].State" }, { "expected": "cancelling", "matcher": "pathAny", "state": "failure", "argument": "ConversionTasks[].State" } ] }, "ConversionTaskDeleted": { "delay": 15, "operation": "DescribeConversionTasks", "maxAttempts": 40, "acceptors": [ { "expected": "deleted", "matcher": "pathAll", "state": "success", "argument": "ConversionTasks[].State" } ] }, "CustomerGatewayAvailable": { "delay": 15, "operation": "DescribeCustomerGateways", "maxAttempts": 40, "acceptors": [ { "expected": "available", "matcher": "pathAll", "state": "success", "argument": "CustomerGateways[].State" }, { "expected": "deleted", "matcher": "pathAny", "state": "failure", "argument": "CustomerGateways[].State" }, { "expected": "deleting", "matcher": "pathAny", "state": "failure", "argument": "CustomerGateways[].State" } ] }, "ExportTaskCancelled": { "delay": 15, "operation": "DescribeExportTasks", "maxAttempts": 40, "acceptors": [ { "expected": "cancelled", "matcher": "pathAll", "state": "success", "argument": "ExportTasks[].State" } ] }, "ExportTaskCompleted": { "delay": 15, "operation": "DescribeExportTasks", "maxAttempts": 40, "acceptors": [ { "expected": "completed", "matcher": "pathAll", "state": "success", "argument": "ExportTasks[].State" } ] }, "ImageExists": { "operation": "DescribeImages", "maxAttempts": 40, "delay": 15, "acceptors": [ { "matcher": "path", "expected": true, "argument": "length(Images[]) > `0`", "state": "success" }, { "matcher": "error", "expected": "InvalidAMIID.NotFound", "state": "retry" } ] }, "ImageAvailable": { "operation": "DescribeImages", "maxAttempts": 40, "delay": 15, "acceptors": [ { "state": "success", "matcher": "pathAll", "argument": "Images[].State", "expected": "available" }, { "state": "failure", "matcher": "pathAny", "argument": "Images[].State", "expected": "failed" } ] }, "InstanceRunning": { "delay": 15, "operation": "DescribeInstances", "maxAttempts": 40, "acceptors": [ { "expected": "running", "matcher": "pathAll", "state": "success", "argument": "Reservations[].Instances[].State.Name" }, { "expected": "shutting-down", "matcher": "pathAny", "state": "failure", "argument": "Reservations[].Instances[].State.Name" }, { "expected": "terminated", "matcher": "pathAny", "state": "failure", "argument": "Reservations[].Instances[].State.Name" }, { "expected": "stopping", "matcher": "pathAny", "state": "failure", "argument": "Reservations[].Instances[].State.Name" }, { "matcher": "error", "expected": "InvalidInstanceID.NotFound", "state": "retry" } ] }, "InstanceStatusOk": { "operation": "DescribeInstanceStatus", "maxAttempts": 40, "delay": 15, "acceptors": [ { "state": "success", "matcher": "pathAll", "argument": "InstanceStatuses[].InstanceStatus.Status", "expected": "ok" }, { "matcher": "error", "expected": "InvalidInstanceID.NotFound", "state": "retry" } ] }, "InstanceStopped": { "delay": 15, "operation": "DescribeInstances", "maxAttempts": 40, "acceptors": [ { "expected": "stopped", "matcher": "pathAll", "state": "success", "argument": "Reservations[].Instances[].State.Name" }, { "expected": "pending", "matcher": "pathAny", "state": "failure", "argument": "Reservations[].Instances[].State.Name" }, { "expected": "terminated", "matcher": "pathAny", "state": "failure", "argument": "Reservations[].Instances[].State.Name" } ] }, "InstanceTerminated": { "delay": 15, "operation": "DescribeInstances", "maxAttempts": 40, "acceptors": [ { "expected": "terminated", "matcher": "pathAll", "state": "success", "argument": "Reservations[].Instances[].State.Name" }, { "expected": "pending", "matcher": "pathAny", "state": "failure", "argument": "Reservations[].Instances[].State.Name" }, { "expected": "stopping", "matcher": "pathAny", "state": "failure", "argument": "Reservations[].Instances[].State.Name" } ] }, "KeyPairExists": { "operation": "DescribeKeyPairs", "delay": 5, "maxAttempts": 6, "acceptors": [ { "expected": true, "matcher": "path", "state": "success", "argument": "length(KeyPairs[].KeyName) > `0`" }, { "expected": "InvalidKeyPair.NotFound", "matcher": "error", "state": "retry" } ] }, "NatGatewayAvailable": { "operation": "DescribeNatGateways", "delay": 15, "maxAttempts": 40, "acceptors": [ { "state": "success", "matcher": "pathAll", "argument": "NatGateways[].State", "expected": "available" }, { "state": "failure", "matcher": "pathAny", "argument": "NatGateways[].State", "expected": "failed" }, { "state": "failure", "matcher": "pathAny", "argument": "NatGateways[].State", "expected": "deleting" }, { "state": "failure", "matcher": "pathAny", "argument": "NatGateways[].State", "expected": "deleted" }, { "state": "retry", "matcher": "error", "expected": "NatGatewayNotFound" } ] }, "NetworkInterfaceAvailable": { "operation": "DescribeNetworkInterfaces", "delay": 20, "maxAttempts": 10, "acceptors": [ { "expected": "available", "matcher": "pathAll", "state": "success", "argument": "NetworkInterfaces[].Status" }, { "expected": "InvalidNetworkInterfaceID.NotFound", "matcher": "error", "state": "failure" } ] }, "PasswordDataAvailable": { "operation": "GetPasswordData", "maxAttempts": 40, "delay": 15, "acceptors": [ { "state": "success", "matcher": "path", "argument": "length(PasswordData) > `0`", "expected": true } ] }, "SnapshotCompleted": { "delay": 15, "operation": "DescribeSnapshots", "maxAttempts": 40, "acceptors": [ { "expected": "completed", "matcher": "pathAll", "state": "success", "argument": "Snapshots[].State" } ] }, "SpotInstanceRequestFulfilled": { "operation": "DescribeSpotInstanceRequests", "maxAttempts": 40, "delay": 15, "acceptors": [ { "state": "success", "matcher": "pathAll", "argument": "SpotInstanceRequests[].Status.Code", "expected": "fulfilled" }, { "state": "failure", "matcher": "pathAny", "argument": "SpotInstanceRequests[].Status.Code", "expected": "schedule-expired" }, { "state": "failure", "matcher": "pathAny", "argument": "SpotInstanceRequests[].Status.Code", "expected": "canceled-before-fulfillment" }, { "state": "failure", "matcher": "pathAny", "argument": "SpotInstanceRequests[].Status.Code", "expected": "bad-parameters" }, { "state": "failure", "matcher": "pathAny", "argument": "SpotInstanceRequests[].Status.Code", "expected": "system-error" } ] }, "SubnetAvailable": { "delay": 15, "operation": "DescribeSubnets", "maxAttempts": 40, "acceptors": [ { "expected": "available", "matcher": "pathAll", "state": "success", "argument": "Subnets[].State" } ] }, "SystemStatusOk": { "operation": "DescribeInstanceStatus", "maxAttempts": 40, "delay": 15, "acceptors": [ { "state": "success", "matcher": "pathAll", "argument": "InstanceStatuses[].SystemStatus.Status", "expected": "ok" } ] }, "VolumeAvailable": { "delay": 15, "operation": "DescribeVolumes", "maxAttempts": 40, "acceptors": [ { "expected": "available", "matcher": "pathAll", "state": "success", "argument": "Volumes[].State" }, { "expected": "deleted", "matcher": "pathAny", "state": "failure", "argument": "Volumes[].State" } ] }, "VolumeDeleted": { "delay": 15, "operation": "DescribeVolumes", "maxAttempts": 40, "acceptors": [ { "expected": "deleted", "matcher": "pathAll", "state": "success", "argument": "Volumes[].State" }, { "matcher": "error", "expected": "InvalidVolume.NotFound", "state": "success" } ] }, "VolumeInUse": { "delay": 15, "operation": "DescribeVolumes", "maxAttempts": 40, "acceptors": [ { "expected": "in-use", "matcher": "pathAll", "state": "success", "argument": "Volumes[].State" }, { "expected": "deleted", "matcher": "pathAny", "state": "failure", "argument": "Volumes[].State" } ] }, "VpcAvailable": { "delay": 15, "operation": "DescribeVpcs", "maxAttempts": 40, "acceptors": [ { "expected": "available", "matcher": "pathAll", "state": "success", "argument": "Vpcs[].State" } ] }, "VpcExists": { "operation": "DescribeVpcs", "delay": 1, "maxAttempts": 5, "acceptors": [ { "matcher": "status", "expected": 200, "state": "success" }, { "matcher": "error", "expected": "InvalidVpcID.NotFound", "state": "retry" } ] }, "VpnConnectionAvailable": { "delay": 15, "operation": "DescribeVpnConnections", "maxAttempts": 40, "acceptors": [ { "expected": "available", "matcher": "pathAll", "state": "success", "argument": "VpnConnections[].State" }, { "expected": "deleting", "matcher": "pathAny", "state": "failure", "argument": "VpnConnections[].State" }, { "expected": "deleted", "matcher": "pathAny", "state": "failure", "argument": "VpnConnections[].State" } ] }, "VpnConnectionDeleted": { "delay": 15, "operation": "DescribeVpnConnections", "maxAttempts": 40, "acceptors": [ { "expected": "deleted", "matcher": "pathAll", "state": "success", "argument": "VpnConnections[].State" }, { "expected": "pending", "matcher": "pathAny", "state": "failure", "argument": "VpnConnections[].State" } ] }, "VpcPeeringConnectionExists": { "delay": 15, "operation": "DescribeVpcPeeringConnections", "maxAttempts": 40, "acceptors": [ { "matcher": "status", "expected": 200, "state": "success" }, { "matcher": "error", "expected": "InvalidVpcPeeringConnectionID.NotFound", "state": "retry" } ] }, "VpcPeeringConnectionDeleted": { "delay": 15, "operation": "DescribeVpcPeeringConnections", "maxAttempts": 40, "acceptors": [ { "expected": "deleted", "matcher": "pathAll", "state": "success", "argument": "VpcPeeringConnections[].Status.Code" }, { "matcher": "error", "expected": "InvalidVpcPeeringConnectionID.NotFound", "state": "success" } ] } } } },{}],50:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "uid": "ecr-2015-09-21", "apiVersion": "2015-09-21", "endpointPrefix": "ecr", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "Amazon ECR", "serviceFullName": "Amazon EC2 Container Registry", "signatureVersion": "v4", "targetPrefix": "AmazonEC2ContainerRegistry_V20150921" }, "operations": { "BatchCheckLayerAvailability": { "input": { "type": "structure", "required": [ "repositoryName", "layerDigests" ], "members": { "registryId": {}, "repositoryName": {}, "layerDigests": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "layers": { "type": "list", "member": { "type": "structure", "members": { "layerDigest": {}, "layerAvailability": {}, "layerSize": { "type": "long" }, "mediaType": {} } } }, "failures": { "type": "list", "member": { "type": "structure", "members": { "layerDigest": {}, "failureCode": {}, "failureReason": {} } } } } } }, "BatchDeleteImage": { "input": { "type": "structure", "required": [ "repositoryName", "imageIds" ], "members": { "registryId": {}, "repositoryName": {}, "imageIds": { "shape": "Si" } } }, "output": { "type": "structure", "members": { "imageIds": { "shape": "Si" }, "failures": { "shape": "Sn" } } } }, "BatchGetImage": { "input": { "type": "structure", "required": [ "repositoryName", "imageIds" ], "members": { "registryId": {}, "repositoryName": {}, "imageIds": { "shape": "Si" }, "acceptedMediaTypes": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "images": { "type": "list", "member": { "shape": "Sv" } }, "failures": { "shape": "Sn" } } } }, "CompleteLayerUpload": { "input": { "type": "structure", "required": [ "repositoryName", "uploadId", "layerDigests" ], "members": { "registryId": {}, "repositoryName": {}, "uploadId": {}, "layerDigests": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "uploadId": {}, "layerDigest": {} } } }, "CreateRepository": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "repositoryName": {} } }, "output": { "type": "structure", "members": { "repository": { "shape": "S13" } } } }, "DeleteRepository": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {}, "force": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "repository": { "shape": "S13" } } } }, "DeleteRepositoryPolicy": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {} } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "policyText": {} } } }, "DescribeImages": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {}, "imageIds": { "shape": "Si" }, "nextToken": {}, "maxResults": { "type": "integer" }, "filter": { "type": "structure", "members": { "tagStatus": {} } } } }, "output": { "type": "structure", "members": { "imageDetails": { "type": "list", "member": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "imageDigest": {}, "imageTags": { "type": "list", "member": {} }, "imageSizeInBytes": { "type": "long" }, "imagePushedAt": { "type": "timestamp" } } } }, "nextToken": {} } } }, "DescribeRepositories": { "input": { "type": "structure", "members": { "registryId": {}, "repositoryNames": { "type": "list", "member": {} }, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "repositories": { "type": "list", "member": { "shape": "S13" } }, "nextToken": {} } } }, "GetAuthorizationToken": { "input": { "type": "structure", "members": { "registryIds": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "authorizationData": { "type": "list", "member": { "type": "structure", "members": { "authorizationToken": {}, "expiresAt": { "type": "timestamp" }, "proxyEndpoint": {} } } } } } }, "GetDownloadUrlForLayer": { "input": { "type": "structure", "required": [ "repositoryName", "layerDigest" ], "members": { "registryId": {}, "repositoryName": {}, "layerDigest": {} } }, "output": { "type": "structure", "members": { "downloadUrl": {}, "layerDigest": {} } } }, "GetRepositoryPolicy": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {} } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "policyText": {} } } }, "InitiateLayerUpload": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {} } }, "output": { "type": "structure", "members": { "uploadId": {}, "partSize": { "type": "long" } } } }, "ListImages": { "input": { "type": "structure", "required": [ "repositoryName" ], "members": { "registryId": {}, "repositoryName": {}, "nextToken": {}, "maxResults": { "type": "integer" }, "filter": { "type": "structure", "members": { "tagStatus": {} } } } }, "output": { "type": "structure", "members": { "imageIds": { "shape": "Si" }, "nextToken": {} } } }, "PutImage": { "input": { "type": "structure", "required": [ "repositoryName", "imageManifest" ], "members": { "registryId": {}, "repositoryName": {}, "imageManifest": {}, "imageTag": {} } }, "output": { "type": "structure", "members": { "image": { "shape": "Sv" } } } }, "SetRepositoryPolicy": { "input": { "type": "structure", "required": [ "repositoryName", "policyText" ], "members": { "registryId": {}, "repositoryName": {}, "policyText": {}, "force": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "policyText": {} } } }, "UploadLayerPart": { "input": { "type": "structure", "required": [ "repositoryName", "uploadId", "partFirstByte", "partLastByte", "layerPartBlob" ], "members": { "registryId": {}, "repositoryName": {}, "uploadId": {}, "partFirstByte": { "type": "long" }, "partLastByte": { "type": "long" }, "layerPartBlob": { "type": "blob" } } }, "output": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "uploadId": {}, "lastByteReceived": { "type": "long" } } } } }, "shapes": { "Si": { "type": "list", "member": { "shape": "Sj" } }, "Sj": { "type": "structure", "members": { "imageDigest": {}, "imageTag": {} } }, "Sn": { "type": "list", "member": { "type": "structure", "members": { "imageId": { "shape": "Sj" }, "failureCode": {}, "failureReason": {} } } }, "Sv": { "type": "structure", "members": { "registryId": {}, "repositoryName": {}, "imageId": { "shape": "Sj" }, "imageManifest": {} } }, "S13": { "type": "structure", "members": { "repositoryArn": {}, "registryId": {}, "repositoryName": {}, "repositoryUri": {}, "createdAt": { "type": "timestamp" } } } } } },{}],51:[function(require,module,exports){ module.exports={ "pagination": { "ListImages": { "input_token": "nextToken", "output_token": "nextToken", "limit_key": "maxResults", "result_key": "imageIds" }, "DescribeImages": { "input_token": "nextToken", "output_token": "nextToken", "limit_key": "maxResults", "result_key": "imageDetails" }, "DescribeRepositories": { "input_token": "nextToken", "output_token": "nextToken", "limit_key": "maxResults", "result_key": "repositories" } } } },{}],52:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2014-11-13", "endpointPrefix": "ecs", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "Amazon ECS", "serviceFullName": "Amazon EC2 Container Service", "signatureVersion": "v4", "targetPrefix": "AmazonEC2ContainerServiceV20141113", "uid": "ecs-2014-11-13" }, "operations": { "CreateCluster": { "input": { "type": "structure", "members": { "clusterName": {} } }, "output": { "type": "structure", "members": { "cluster": { "shape": "S4" } } } }, "CreateService": { "input": { "type": "structure", "required": [ "serviceName", "taskDefinition", "desiredCount" ], "members": { "cluster": {}, "serviceName": {}, "taskDefinition": {}, "loadBalancers": { "shape": "S7" }, "desiredCount": { "type": "integer" }, "clientToken": {}, "role": {}, "deploymentConfiguration": { "shape": "Sa" }, "placementConstraints": { "shape": "Sb" }, "placementStrategy": { "shape": "Se" } } }, "output": { "type": "structure", "members": { "service": { "shape": "Si" } } } }, "DeleteAttributes": { "input": { "type": "structure", "required": [ "attributes" ], "members": { "cluster": {}, "attributes": { "shape": "Sp" } } }, "output": { "type": "structure", "members": { "attributes": { "shape": "Sp" } } } }, "DeleteCluster": { "input": { "type": "structure", "required": [ "cluster" ], "members": { "cluster": {} } }, "output": { "type": "structure", "members": { "cluster": { "shape": "S4" } } } }, "DeleteService": { "input": { "type": "structure", "required": [ "service" ], "members": { "cluster": {}, "service": {} } }, "output": { "type": "structure", "members": { "service": { "shape": "Si" } } } }, "DeregisterContainerInstance": { "input": { "type": "structure", "required": [ "containerInstance" ], "members": { "cluster": {}, "containerInstance": {}, "force": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "containerInstance": { "shape": "S10" } } } }, "DeregisterTaskDefinition": { "input": { "type": "structure", "required": [ "taskDefinition" ], "members": { "taskDefinition": {} } }, "output": { "type": "structure", "members": { "taskDefinition": { "shape": "S1b" } } } }, "DescribeClusters": { "input": { "type": "structure", "members": { "clusters": { "shape": "S16" } } }, "output": { "type": "structure", "members": { "clusters": { "type": "list", "member": { "shape": "S4" } }, "failures": { "shape": "S28" } } } }, "DescribeContainerInstances": { "input": { "type": "structure", "required": [ "containerInstances" ], "members": { "cluster": {}, "containerInstances": { "shape": "S16" } } }, "output": { "type": "structure", "members": { "containerInstances": { "shape": "S2c" }, "failures": { "shape": "S28" } } } }, "DescribeServices": { "input": { "type": "structure", "required": [ "services" ], "members": { "cluster": {}, "services": { "shape": "S16" } } }, "output": { "type": "structure", "members": { "services": { "type": "list", "member": { "shape": "Si" } }, "failures": { "shape": "S28" } } } }, "DescribeTaskDefinition": { "input": { "type": "structure", "required": [ "taskDefinition" ], "members": { "taskDefinition": {} } }, "output": { "type": "structure", "members": { "taskDefinition": { "shape": "S1b" } } } }, "DescribeTasks": { "input": { "type": "structure", "required": [ "tasks" ], "members": { "cluster": {}, "tasks": { "shape": "S16" } } }, "output": { "type": "structure", "members": { "tasks": { "shape": "S2k" }, "failures": { "shape": "S28" } } } }, "DiscoverPollEndpoint": { "input": { "type": "structure", "members": { "containerInstance": {}, "cluster": {} } }, "output": { "type": "structure", "members": { "endpoint": {}, "telemetryEndpoint": {} } } }, "ListAttributes": { "input": { "type": "structure", "required": [ "targetType" ], "members": { "cluster": {}, "targetType": {}, "attributeName": {}, "attributeValue": {}, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "attributes": { "shape": "Sp" }, "nextToken": {} } } }, "ListClusters": { "input": { "type": "structure", "members": { "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "clusterArns": { "shape": "S16" }, "nextToken": {} } } }, "ListContainerInstances": { "input": { "type": "structure", "members": { "cluster": {}, "filter": {}, "nextToken": {}, "maxResults": { "type": "integer" }, "status": {} } }, "output": { "type": "structure", "members": { "containerInstanceArns": { "shape": "S16" }, "nextToken": {} } } }, "ListServices": { "input": { "type": "structure", "members": { "cluster": {}, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "serviceArns": { "shape": "S16" }, "nextToken": {} } } }, "ListTaskDefinitionFamilies": { "input": { "type": "structure", "members": { "familyPrefix": {}, "status": {}, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "families": { "shape": "S16" }, "nextToken": {} } } }, "ListTaskDefinitions": { "input": { "type": "structure", "members": { "familyPrefix": {}, "status": {}, "sort": {}, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "taskDefinitionArns": { "shape": "S16" }, "nextToken": {} } } }, "ListTasks": { "input": { "type": "structure", "members": { "cluster": {}, "containerInstance": {}, "family": {}, "nextToken": {}, "maxResults": { "type": "integer" }, "startedBy": {}, "serviceName": {}, "desiredStatus": {} } }, "output": { "type": "structure", "members": { "taskArns": { "shape": "S16" }, "nextToken": {} } } }, "PutAttributes": { "input": { "type": "structure", "required": [ "attributes" ], "members": { "cluster": {}, "attributes": { "shape": "Sp" } } }, "output": { "type": "structure", "members": { "attributes": { "shape": "Sp" } } } }, "RegisterContainerInstance": { "input": { "type": "structure", "members": { "cluster": {}, "instanceIdentityDocument": {}, "instanceIdentityDocumentSignature": {}, "totalResources": { "shape": "S13" }, "versionInfo": { "shape": "S12" }, "containerInstanceArn": {}, "attributes": { "shape": "Sp" } } }, "output": { "type": "structure", "members": { "containerInstance": { "shape": "S10" } } } }, "RegisterTaskDefinition": { "input": { "type": "structure", "required": [ "family", "containerDefinitions" ], "members": { "family": {}, "taskRoleArn": {}, "networkMode": {}, "containerDefinitions": { "shape": "S1c" }, "volumes": { "shape": "S1x" }, "placementConstraints": { "shape": "S22" } } }, "output": { "type": "structure", "members": { "taskDefinition": { "shape": "S1b" } } } }, "RunTask": { "input": { "type": "structure", "required": [ "taskDefinition" ], "members": { "cluster": {}, "taskDefinition": {}, "overrides": { "shape": "S2m" }, "count": { "type": "integer" }, "startedBy": {}, "group": {}, "placementConstraints": { "shape": "Sb" }, "placementStrategy": { "shape": "Se" } } }, "output": { "type": "structure", "members": { "tasks": { "shape": "S2k" }, "failures": { "shape": "S28" } } } }, "StartTask": { "input": { "type": "structure", "required": [ "taskDefinition", "containerInstances" ], "members": { "cluster": {}, "taskDefinition": {}, "overrides": { "shape": "S2m" }, "containerInstances": { "shape": "S16" }, "startedBy": {}, "group": {} } }, "output": { "type": "structure", "members": { "tasks": { "shape": "S2k" }, "failures": { "shape": "S28" } } } }, "StopTask": { "input": { "type": "structure", "required": [ "task" ], "members": { "cluster": {}, "task": {}, "reason": {} } }, "output": { "type": "structure", "members": { "task": { "shape": "S2l" } } } }, "SubmitContainerStateChange": { "input": { "type": "structure", "members": { "cluster": {}, "task": {}, "containerName": {}, "status": {}, "exitCode": { "type": "integer" }, "reason": {}, "networkBindings": { "shape": "S2r" } } }, "output": { "type": "structure", "members": { "acknowledgment": {} } } }, "SubmitTaskStateChange": { "input": { "type": "structure", "members": { "cluster": {}, "task": {}, "status": {}, "reason": {} } }, "output": { "type": "structure", "members": { "acknowledgment": {} } } }, "UpdateContainerAgent": { "input": { "type": "structure", "required": [ "containerInstance" ], "members": { "cluster": {}, "containerInstance": {} } }, "output": { "type": "structure", "members": { "containerInstance": { "shape": "S10" } } } }, "UpdateContainerInstancesState": { "input": { "type": "structure", "required": [ "containerInstances", "status" ], "members": { "cluster": {}, "containerInstances": { "shape": "S16" }, "status": {} } }, "output": { "type": "structure", "members": { "containerInstances": { "shape": "S2c" }, "failures": { "shape": "S28" } } } }, "UpdateService": { "input": { "type": "structure", "required": [ "service" ], "members": { "cluster": {}, "service": {}, "desiredCount": { "type": "integer" }, "taskDefinition": {}, "deploymentConfiguration": { "shape": "Sa" } } }, "output": { "type": "structure", "members": { "service": { "shape": "Si" } } } } }, "shapes": { "S4": { "type": "structure", "members": { "clusterArn": {}, "clusterName": {}, "status": {}, "registeredContainerInstancesCount": { "type": "integer" }, "runningTasksCount": { "type": "integer" }, "pendingTasksCount": { "type": "integer" }, "activeServicesCount": { "type": "integer" } } }, "S7": { "type": "list", "member": { "type": "structure", "members": { "targetGroupArn": {}, "loadBalancerName": {}, "containerName": {}, "containerPort": { "type": "integer" } } } }, "Sa": { "type": "structure", "members": { "maximumPercent": { "type": "integer" }, "minimumHealthyPercent": { "type": "integer" } } }, "Sb": { "type": "list", "member": { "type": "structure", "members": { "type": {}, "expression": {} } } }, "Se": { "type": "list", "member": { "type": "structure", "members": { "type": {}, "field": {} } } }, "Si": { "type": "structure", "members": { "serviceArn": {}, "serviceName": {}, "clusterArn": {}, "loadBalancers": { "shape": "S7" }, "status": {}, "desiredCount": { "type": "integer" }, "runningCount": { "type": "integer" }, "pendingCount": { "type": "integer" }, "taskDefinition": {}, "deploymentConfiguration": { "shape": "Sa" }, "deployments": { "type": "list", "member": { "type": "structure", "members": { "id": {}, "status": {}, "taskDefinition": {}, "desiredCount": { "type": "integer" }, "pendingCount": { "type": "integer" }, "runningCount": { "type": "integer" }, "createdAt": { "type": "timestamp" }, "updatedAt": { "type": "timestamp" } } } }, "roleArn": {}, "events": { "type": "list", "member": { "type": "structure", "members": { "id": {}, "createdAt": { "type": "timestamp" }, "message": {} } } }, "createdAt": { "type": "timestamp" }, "placementConstraints": { "shape": "Sb" }, "placementStrategy": { "shape": "Se" } } }, "Sp": { "type": "list", "member": { "shape": "Sq" } }, "Sq": { "type": "structure", "required": [ "name" ], "members": { "name": {}, "value": {}, "targetType": {}, "targetId": {} } }, "S10": { "type": "structure", "members": { "containerInstanceArn": {}, "ec2InstanceId": {}, "version": { "type": "long" }, "versionInfo": { "shape": "S12" }, "remainingResources": { "shape": "S13" }, "registeredResources": { "shape": "S13" }, "status": {}, "agentConnected": { "type": "boolean" }, "runningTasksCount": { "type": "integer" }, "pendingTasksCount": { "type": "integer" }, "agentUpdateStatus": {}, "attributes": { "shape": "Sp" }, "registeredAt": { "type": "timestamp" } } }, "S12": { "type": "structure", "members": { "agentVersion": {}, "agentHash": {}, "dockerVersion": {} } }, "S13": { "type": "list", "member": { "type": "structure", "members": { "name": {}, "type": {}, "doubleValue": { "type": "double" }, "longValue": { "type": "long" }, "integerValue": { "type": "integer" }, "stringSetValue": { "shape": "S16" } } } }, "S16": { "type": "list", "member": {} }, "S1b": { "type": "structure", "members": { "taskDefinitionArn": {}, "containerDefinitions": { "shape": "S1c" }, "family": {}, "taskRoleArn": {}, "networkMode": {}, "revision": { "type": "integer" }, "volumes": { "shape": "S1x" }, "status": {}, "requiresAttributes": { "type": "list", "member": { "shape": "Sq" } }, "placementConstraints": { "shape": "S22" } } }, "S1c": { "type": "list", "member": { "type": "structure", "members": { "name": {}, "image": {}, "cpu": { "type": "integer" }, "memory": { "type": "integer" }, "memoryReservation": { "type": "integer" }, "links": { "shape": "S16" }, "portMappings": { "type": "list", "member": { "type": "structure", "members": { "containerPort": { "type": "integer" }, "hostPort": { "type": "integer" }, "protocol": {} } } }, "essential": { "type": "boolean" }, "entryPoint": { "shape": "S16" }, "command": { "shape": "S16" }, "environment": { "shape": "S1h" }, "mountPoints": { "type": "list", "member": { "type": "structure", "members": { "sourceVolume": {}, "containerPath": {}, "readOnly": { "type": "boolean" } } } }, "volumesFrom": { "type": "list", "member": { "type": "structure", "members": { "sourceContainer": {}, "readOnly": { "type": "boolean" } } } }, "hostname": {}, "user": {}, "workingDirectory": {}, "disableNetworking": { "type": "boolean" }, "privileged": { "type": "boolean" }, "readonlyRootFilesystem": { "type": "boolean" }, "dnsServers": { "shape": "S16" }, "dnsSearchDomains": { "shape": "S16" }, "extraHosts": { "type": "list", "member": { "type": "structure", "required": [ "hostname", "ipAddress" ], "members": { "hostname": {}, "ipAddress": {} } } }, "dockerSecurityOptions": { "shape": "S16" }, "dockerLabels": { "type": "map", "key": {}, "value": {} }, "ulimits": { "type": "list", "member": { "type": "structure", "required": [ "name", "softLimit", "hardLimit" ], "members": { "name": {}, "softLimit": { "type": "integer" }, "hardLimit": { "type": "integer" } } } }, "logConfiguration": { "type": "structure", "required": [ "logDriver" ], "members": { "logDriver": {}, "options": { "type": "map", "key": {}, "value": {} } } } } } }, "S1h": { "type": "list", "member": { "type": "structure", "members": { "name": {}, "value": {} } } }, "S1x": { "type": "list", "member": { "type": "structure", "members": { "name": {}, "host": { "type": "structure", "members": { "sourcePath": {} } } } } }, "S22": { "type": "list", "member": { "type": "structure", "members": { "type": {}, "expression": {} } } }, "S28": { "type": "list", "member": { "type": "structure", "members": { "arn": {}, "reason": {} } } }, "S2c": { "type": "list", "member": { "shape": "S10" } }, "S2k": { "type": "list", "member": { "shape": "S2l" } }, "S2l": { "type": "structure", "members": { "taskArn": {}, "clusterArn": {}, "taskDefinitionArn": {}, "containerInstanceArn": {}, "overrides": { "shape": "S2m" }, "lastStatus": {}, "desiredStatus": {}, "containers": { "type": "list", "member": { "type": "structure", "members": { "containerArn": {}, "taskArn": {}, "name": {}, "lastStatus": {}, "exitCode": { "type": "integer" }, "reason": {}, "networkBindings": { "shape": "S2r" } } } }, "startedBy": {}, "version": { "type": "long" }, "stoppedReason": {}, "createdAt": { "type": "timestamp" }, "startedAt": { "type": "timestamp" }, "stoppedAt": { "type": "timestamp" }, "group": {} } }, "S2m": { "type": "structure", "members": { "containerOverrides": { "type": "list", "member": { "type": "structure", "members": { "name": {}, "command": { "shape": "S16" }, "environment": { "shape": "S1h" }, "cpu": { "type": "integer" }, "memory": { "type": "integer" }, "memoryReservation": { "type": "integer" } } } }, "taskRoleArn": {} } }, "S2r": { "type": "list", "member": { "type": "structure", "members": { "bindIP": {}, "containerPort": { "type": "integer" }, "hostPort": { "type": "integer" }, "protocol": {} } } } } } },{}],53:[function(require,module,exports){ module.exports={ "pagination": { "ListClusters": { "input_token": "nextToken", "limit_key": "maxResults", "output_token": "nextToken", "result_key": "clusterArns" }, "ListContainerInstances": { "input_token": "nextToken", "limit_key": "maxResults", "output_token": "nextToken", "result_key": "containerInstanceArns" }, "ListServices": { "input_token": "nextToken", "limit_key": "maxResults", "output_token": "nextToken", "result_key": "serviceArns" }, "ListTaskDefinitionFamilies": { "input_token": "nextToken", "limit_key": "maxResults", "output_token": "nextToken", "result_key": "families" }, "ListTaskDefinitions": { "input_token": "nextToken", "limit_key": "maxResults", "output_token": "nextToken", "result_key": "taskDefinitionArns" }, "ListTasks": { "input_token": "nextToken", "limit_key": "maxResults", "output_token": "nextToken", "result_key": "taskArns" } } } },{}],54:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "TasksRunning": { "delay": 6, "operation": "DescribeTasks", "maxAttempts": 100, "acceptors": [ { "expected": "STOPPED", "matcher": "pathAny", "state": "failure", "argument": "tasks[].lastStatus" }, { "expected": "MISSING", "matcher": "pathAny", "state": "failure", "argument": "failures[].reason" }, { "expected": "RUNNING", "matcher": "pathAll", "state": "success", "argument": "tasks[].lastStatus" } ] }, "TasksStopped": { "delay": 6, "operation": "DescribeTasks", "maxAttempts": 100, "acceptors": [ { "expected": "STOPPED", "matcher": "pathAll", "state": "success", "argument": "tasks[].lastStatus" } ] }, "ServicesStable": { "delay": 15, "operation": "DescribeServices", "maxAttempts": 40, "acceptors": [ { "expected": "MISSING", "matcher": "pathAny", "state": "failure", "argument": "failures[].reason" }, { "expected": "DRAINING", "matcher": "pathAny", "state": "failure", "argument": "services[].status" }, { "expected": "INACTIVE", "matcher": "pathAny", "state": "failure", "argument": "services[].status" }, { "expected": true, "matcher": "path", "state": "success", "argument": "length(services[?!(length(deployments) == `1` && runningCount == desiredCount)]) == `0`" } ] }, "ServicesInactive": { "delay": 15, "operation": "DescribeServices", "maxAttempts": 40, "acceptors": [ { "expected": "MISSING", "matcher": "pathAny", "state": "failure", "argument": "failures[].reason" }, { "expected": "INACTIVE", "matcher": "pathAny", "state": "success", "argument": "services[].status" } ] } } } },{}],55:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-02-02", "endpointPrefix": "elasticache", "protocol": "query", "serviceFullName": "Amazon ElastiCache", "signatureVersion": "v4", "uid": "elasticache-2015-02-02", "xmlNamespace": "http://elasticache.amazonaws.com/doc/2015-02-02/" }, "operations": { "AddTagsToResource": { "input": { "type": "structure", "required": [ "ResourceName", "Tags" ], "members": { "ResourceName": {}, "Tags": { "shape": "S3" } } }, "output": { "shape": "S5", "resultWrapper": "AddTagsToResourceResult" } }, "AuthorizeCacheSecurityGroupIngress": { "input": { "type": "structure", "required": [ "CacheSecurityGroupName", "EC2SecurityGroupName", "EC2SecurityGroupOwnerId" ], "members": { "CacheSecurityGroupName": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "AuthorizeCacheSecurityGroupIngressResult", "type": "structure", "members": { "CacheSecurityGroup": { "shape": "S8" } } } }, "CopySnapshot": { "input": { "type": "structure", "required": [ "SourceSnapshotName", "TargetSnapshotName" ], "members": { "SourceSnapshotName": {}, "TargetSnapshotName": {}, "TargetBucket": {} } }, "output": { "resultWrapper": "CopySnapshotResult", "type": "structure", "members": { "Snapshot": { "shape": "Sd" } } } }, "CreateCacheCluster": { "input": { "type": "structure", "required": [ "CacheClusterId" ], "members": { "CacheClusterId": {}, "ReplicationGroupId": {}, "AZMode": {}, "PreferredAvailabilityZone": {}, "PreferredAvailabilityZones": { "shape": "So" }, "NumCacheNodes": { "type": "integer" }, "CacheNodeType": {}, "Engine": {}, "EngineVersion": {}, "CacheParameterGroupName": {}, "CacheSubnetGroupName": {}, "CacheSecurityGroupNames": { "shape": "Sp" }, "SecurityGroupIds": { "shape": "Sq" }, "Tags": { "shape": "S3" }, "SnapshotArns": { "shape": "Sr" }, "SnapshotName": {}, "PreferredMaintenanceWindow": {}, "Port": { "type": "integer" }, "NotificationTopicArn": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "SnapshotRetentionLimit": { "type": "integer" }, "SnapshotWindow": {}, "AuthToken": {} } }, "output": { "resultWrapper": "CreateCacheClusterResult", "type": "structure", "members": { "CacheCluster": { "shape": "Su" } } } }, "CreateCacheParameterGroup": { "input": { "type": "structure", "required": [ "CacheParameterGroupName", "CacheParameterGroupFamily", "Description" ], "members": { "CacheParameterGroupName": {}, "CacheParameterGroupFamily": {}, "Description": {} } }, "output": { "resultWrapper": "CreateCacheParameterGroupResult", "type": "structure", "members": { "CacheParameterGroup": { "shape": "S19" } } } }, "CreateCacheSecurityGroup": { "input": { "type": "structure", "required": [ "CacheSecurityGroupName", "Description" ], "members": { "CacheSecurityGroupName": {}, "Description": {} } }, "output": { "resultWrapper": "CreateCacheSecurityGroupResult", "type": "structure", "members": { "CacheSecurityGroup": { "shape": "S8" } } } }, "CreateCacheSubnetGroup": { "input": { "type": "structure", "required": [ "CacheSubnetGroupName", "CacheSubnetGroupDescription", "SubnetIds" ], "members": { "CacheSubnetGroupName": {}, "CacheSubnetGroupDescription": {}, "SubnetIds": { "shape": "S1d" } } }, "output": { "resultWrapper": "CreateCacheSubnetGroupResult", "type": "structure", "members": { "CacheSubnetGroup": { "shape": "S1f" } } } }, "CreateReplicationGroup": { "input": { "type": "structure", "required": [ "ReplicationGroupId", "ReplicationGroupDescription" ], "members": { "ReplicationGroupId": {}, "ReplicationGroupDescription": {}, "PrimaryClusterId": {}, "AutomaticFailoverEnabled": { "type": "boolean" }, "NumCacheClusters": { "type": "integer" }, "PreferredCacheClusterAZs": { "shape": "Sl" }, "NumNodeGroups": { "type": "integer" }, "ReplicasPerNodeGroup": { "type": "integer" }, "NodeGroupConfiguration": { "type": "list", "member": { "shape": "Sk", "locationName": "NodeGroupConfiguration" } }, "CacheNodeType": {}, "Engine": {}, "EngineVersion": {}, "CacheParameterGroupName": {}, "CacheSubnetGroupName": {}, "CacheSecurityGroupNames": { "shape": "Sp" }, "SecurityGroupIds": { "shape": "Sq" }, "Tags": { "shape": "S3" }, "SnapshotArns": { "shape": "Sr" }, "SnapshotName": {}, "PreferredMaintenanceWindow": {}, "Port": { "type": "integer" }, "NotificationTopicArn": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "SnapshotRetentionLimit": { "type": "integer" }, "SnapshotWindow": {}, "AuthToken": {} } }, "output": { "resultWrapper": "CreateReplicationGroupResult", "type": "structure", "members": { "ReplicationGroup": { "shape": "S1m" } } } }, "CreateSnapshot": { "input": { "type": "structure", "required": [ "SnapshotName" ], "members": { "ReplicationGroupId": {}, "CacheClusterId": {}, "SnapshotName": {} } }, "output": { "resultWrapper": "CreateSnapshotResult", "type": "structure", "members": { "Snapshot": { "shape": "Sd" } } } }, "DeleteCacheCluster": { "input": { "type": "structure", "required": [ "CacheClusterId" ], "members": { "CacheClusterId": {}, "FinalSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteCacheClusterResult", "type": "structure", "members": { "CacheCluster": { "shape": "Su" } } } }, "DeleteCacheParameterGroup": { "input": { "type": "structure", "required": [ "CacheParameterGroupName" ], "members": { "CacheParameterGroupName": {} } } }, "DeleteCacheSecurityGroup": { "input": { "type": "structure", "required": [ "CacheSecurityGroupName" ], "members": { "CacheSecurityGroupName": {} } } }, "DeleteCacheSubnetGroup": { "input": { "type": "structure", "required": [ "CacheSubnetGroupName" ], "members": { "CacheSubnetGroupName": {} } } }, "DeleteReplicationGroup": { "input": { "type": "structure", "required": [ "ReplicationGroupId" ], "members": { "ReplicationGroupId": {}, "RetainPrimaryCluster": { "type": "boolean" }, "FinalSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteReplicationGroupResult", "type": "structure", "members": { "ReplicationGroup": { "shape": "S1m" } } } }, "DeleteSnapshot": { "input": { "type": "structure", "required": [ "SnapshotName" ], "members": { "SnapshotName": {} } }, "output": { "resultWrapper": "DeleteSnapshotResult", "type": "structure", "members": { "Snapshot": { "shape": "Sd" } } } }, "DescribeCacheClusters": { "input": { "type": "structure", "members": { "CacheClusterId": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "ShowCacheNodeInfo": { "type": "boolean" }, "ShowCacheClustersNotInReplicationGroups": { "type": "boolean" } } }, "output": { "resultWrapper": "DescribeCacheClustersResult", "type": "structure", "members": { "Marker": {}, "CacheClusters": { "type": "list", "member": { "shape": "Su", "locationName": "CacheCluster" } } } } }, "DescribeCacheEngineVersions": { "input": { "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "CacheParameterGroupFamily": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "DefaultOnly": { "type": "boolean" } } }, "output": { "resultWrapper": "DescribeCacheEngineVersionsResult", "type": "structure", "members": { "Marker": {}, "CacheEngineVersions": { "type": "list", "member": { "locationName": "CacheEngineVersion", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "CacheParameterGroupFamily": {}, "CacheEngineDescription": {}, "CacheEngineVersionDescription": {} } } } } } }, "DescribeCacheParameterGroups": { "input": { "type": "structure", "members": { "CacheParameterGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeCacheParameterGroupsResult", "type": "structure", "members": { "Marker": {}, "CacheParameterGroups": { "type": "list", "member": { "shape": "S19", "locationName": "CacheParameterGroup" } } } } }, "DescribeCacheParameters": { "input": { "type": "structure", "required": [ "CacheParameterGroupName" ], "members": { "CacheParameterGroupName": {}, "Source": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeCacheParametersResult", "type": "structure", "members": { "Marker": {}, "Parameters": { "shape": "S2h" }, "CacheNodeTypeSpecificParameters": { "shape": "S2k" } } } }, "DescribeCacheSecurityGroups": { "input": { "type": "structure", "members": { "CacheSecurityGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeCacheSecurityGroupsResult", "type": "structure", "members": { "Marker": {}, "CacheSecurityGroups": { "type": "list", "member": { "shape": "S8", "locationName": "CacheSecurityGroup" } } } } }, "DescribeCacheSubnetGroups": { "input": { "type": "structure", "members": { "CacheSubnetGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeCacheSubnetGroupsResult", "type": "structure", "members": { "Marker": {}, "CacheSubnetGroups": { "type": "list", "member": { "shape": "S1f", "locationName": "CacheSubnetGroup" } } } } }, "DescribeEngineDefaultParameters": { "input": { "type": "structure", "required": [ "CacheParameterGroupFamily" ], "members": { "CacheParameterGroupFamily": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEngineDefaultParametersResult", "type": "structure", "members": { "EngineDefaults": { "type": "structure", "members": { "CacheParameterGroupFamily": {}, "Marker": {}, "Parameters": { "shape": "S2h" }, "CacheNodeTypeSpecificParameters": { "shape": "S2k" } }, "wrapper": true } } } }, "DescribeEvents": { "input": { "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventsResult", "type": "structure", "members": { "Marker": {}, "Events": { "type": "list", "member": { "locationName": "Event", "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "Message": {}, "Date": { "type": "timestamp" } } } } } } }, "DescribeReplicationGroups": { "input": { "type": "structure", "members": { "ReplicationGroupId": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReplicationGroupsResult", "type": "structure", "members": { "Marker": {}, "ReplicationGroups": { "type": "list", "member": { "shape": "S1m", "locationName": "ReplicationGroup" } } } } }, "DescribeReservedCacheNodes": { "input": { "type": "structure", "members": { "ReservedCacheNodeId": {}, "ReservedCacheNodesOfferingId": {}, "CacheNodeType": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedCacheNodesResult", "type": "structure", "members": { "Marker": {}, "ReservedCacheNodes": { "type": "list", "member": { "shape": "S38", "locationName": "ReservedCacheNode" } } } } }, "DescribeReservedCacheNodesOfferings": { "input": { "type": "structure", "members": { "ReservedCacheNodesOfferingId": {}, "CacheNodeType": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedCacheNodesOfferingsResult", "type": "structure", "members": { "Marker": {}, "ReservedCacheNodesOfferings": { "type": "list", "member": { "locationName": "ReservedCacheNodesOffering", "type": "structure", "members": { "ReservedCacheNodesOfferingId": {}, "CacheNodeType": {}, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "ProductDescription": {}, "OfferingType": {}, "RecurringCharges": { "shape": "S3a" } }, "wrapper": true } } } } }, "DescribeSnapshots": { "input": { "type": "structure", "members": { "ReplicationGroupId": {}, "CacheClusterId": {}, "SnapshotName": {}, "SnapshotSource": {}, "Marker": {}, "MaxRecords": { "type": "integer" }, "ShowNodeGroupConfig": { "type": "boolean" } } }, "output": { "resultWrapper": "DescribeSnapshotsResult", "type": "structure", "members": { "Marker": {}, "Snapshots": { "type": "list", "member": { "shape": "Sd", "locationName": "Snapshot" } } } } }, "ListAllowedNodeTypeModifications": { "input": { "type": "structure", "members": { "CacheClusterId": {}, "ReplicationGroupId": {} } }, "output": { "resultWrapper": "ListAllowedNodeTypeModificationsResult", "type": "structure", "members": { "ScaleUpModifications": { "type": "list", "member": {} } } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "ResourceName" ], "members": { "ResourceName": {} } }, "output": { "shape": "S5", "resultWrapper": "ListTagsForResourceResult" } }, "ModifyCacheCluster": { "input": { "type": "structure", "required": [ "CacheClusterId" ], "members": { "CacheClusterId": {}, "NumCacheNodes": { "type": "integer" }, "CacheNodeIdsToRemove": { "shape": "Sy" }, "AZMode": {}, "NewAvailabilityZones": { "shape": "So" }, "CacheSecurityGroupNames": { "shape": "Sp" }, "SecurityGroupIds": { "shape": "Sq" }, "PreferredMaintenanceWindow": {}, "NotificationTopicArn": {}, "CacheParameterGroupName": {}, "NotificationTopicStatus": {}, "ApplyImmediately": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "SnapshotRetentionLimit": { "type": "integer" }, "SnapshotWindow": {}, "CacheNodeType": {} } }, "output": { "resultWrapper": "ModifyCacheClusterResult", "type": "structure", "members": { "CacheCluster": { "shape": "Su" } } } }, "ModifyCacheParameterGroup": { "input": { "type": "structure", "required": [ "CacheParameterGroupName", "ParameterNameValues" ], "members": { "CacheParameterGroupName": {}, "ParameterNameValues": { "shape": "S3q" } } }, "output": { "shape": "S3s", "resultWrapper": "ModifyCacheParameterGroupResult" } }, "ModifyCacheSubnetGroup": { "input": { "type": "structure", "required": [ "CacheSubnetGroupName" ], "members": { "CacheSubnetGroupName": {}, "CacheSubnetGroupDescription": {}, "SubnetIds": { "shape": "S1d" } } }, "output": { "resultWrapper": "ModifyCacheSubnetGroupResult", "type": "structure", "members": { "CacheSubnetGroup": { "shape": "S1f" } } } }, "ModifyReplicationGroup": { "input": { "type": "structure", "required": [ "ReplicationGroupId" ], "members": { "ReplicationGroupId": {}, "ReplicationGroupDescription": {}, "PrimaryClusterId": {}, "SnapshottingClusterId": {}, "AutomaticFailoverEnabled": { "type": "boolean" }, "CacheSecurityGroupNames": { "shape": "Sp" }, "SecurityGroupIds": { "shape": "Sq" }, "PreferredMaintenanceWindow": {}, "NotificationTopicArn": {}, "CacheParameterGroupName": {}, "NotificationTopicStatus": {}, "ApplyImmediately": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "SnapshotRetentionLimit": { "type": "integer" }, "SnapshotWindow": {}, "CacheNodeType": {}, "NodeGroupId": {} } }, "output": { "resultWrapper": "ModifyReplicationGroupResult", "type": "structure", "members": { "ReplicationGroup": { "shape": "S1m" } } } }, "PurchaseReservedCacheNodesOffering": { "input": { "type": "structure", "required": [ "ReservedCacheNodesOfferingId" ], "members": { "ReservedCacheNodesOfferingId": {}, "ReservedCacheNodeId": {}, "CacheNodeCount": { "type": "integer" } } }, "output": { "resultWrapper": "PurchaseReservedCacheNodesOfferingResult", "type": "structure", "members": { "ReservedCacheNode": { "shape": "S38" } } } }, "RebootCacheCluster": { "input": { "type": "structure", "required": [ "CacheClusterId", "CacheNodeIdsToReboot" ], "members": { "CacheClusterId": {}, "CacheNodeIdsToReboot": { "shape": "Sy" } } }, "output": { "resultWrapper": "RebootCacheClusterResult", "type": "structure", "members": { "CacheCluster": { "shape": "Su" } } } }, "RemoveTagsFromResource": { "input": { "type": "structure", "required": [ "ResourceName", "TagKeys" ], "members": { "ResourceName": {}, "TagKeys": { "type": "list", "member": {} } } }, "output": { "shape": "S5", "resultWrapper": "RemoveTagsFromResourceResult" } }, "ResetCacheParameterGroup": { "input": { "type": "structure", "required": [ "CacheParameterGroupName" ], "members": { "CacheParameterGroupName": {}, "ResetAllParameters": { "type": "boolean" }, "ParameterNameValues": { "shape": "S3q" } } }, "output": { "shape": "S3s", "resultWrapper": "ResetCacheParameterGroupResult" } }, "RevokeCacheSecurityGroupIngress": { "input": { "type": "structure", "required": [ "CacheSecurityGroupName", "EC2SecurityGroupName", "EC2SecurityGroupOwnerId" ], "members": { "CacheSecurityGroupName": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "RevokeCacheSecurityGroupIngressResult", "type": "structure", "members": { "CacheSecurityGroup": { "shape": "S8" } } } }, "TestFailover": { "input": { "type": "structure", "required": [ "ReplicationGroupId", "NodeGroupId" ], "members": { "ReplicationGroupId": {}, "NodeGroupId": {} } }, "output": { "resultWrapper": "TestFailoverResult", "type": "structure", "members": { "ReplicationGroup": { "shape": "S1m" } } } } }, "shapes": { "S3": { "type": "list", "member": { "locationName": "Tag", "type": "structure", "members": { "Key": {}, "Value": {} } } }, "S5": { "type": "structure", "members": { "TagList": { "shape": "S3" } } }, "S8": { "type": "structure", "members": { "OwnerId": {}, "CacheSecurityGroupName": {}, "Description": {}, "EC2SecurityGroups": { "type": "list", "member": { "locationName": "EC2SecurityGroup", "type": "structure", "members": { "Status": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupOwnerId": {} } } } }, "wrapper": true }, "Sd": { "type": "structure", "members": { "SnapshotName": {}, "ReplicationGroupId": {}, "ReplicationGroupDescription": {}, "CacheClusterId": {}, "SnapshotStatus": {}, "SnapshotSource": {}, "CacheNodeType": {}, "Engine": {}, "EngineVersion": {}, "NumCacheNodes": { "type": "integer" }, "PreferredAvailabilityZone": {}, "CacheClusterCreateTime": { "type": "timestamp" }, "PreferredMaintenanceWindow": {}, "TopicArn": {}, "Port": { "type": "integer" }, "CacheParameterGroupName": {}, "CacheSubnetGroupName": {}, "VpcId": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "SnapshotRetentionLimit": { "type": "integer" }, "SnapshotWindow": {}, "NumNodeGroups": { "type": "integer" }, "AutomaticFailover": {}, "NodeSnapshots": { "type": "list", "member": { "locationName": "NodeSnapshot", "type": "structure", "members": { "CacheClusterId": {}, "NodeGroupId": {}, "CacheNodeId": {}, "NodeGroupConfiguration": { "shape": "Sk" }, "CacheSize": {}, "CacheNodeCreateTime": { "type": "timestamp" }, "SnapshotCreateTime": { "type": "timestamp" } }, "wrapper": true } } }, "wrapper": true }, "Sk": { "type": "structure", "members": { "Slots": {}, "ReplicaCount": { "type": "integer" }, "PrimaryAvailabilityZone": {}, "ReplicaAvailabilityZones": { "shape": "Sl" } } }, "Sl": { "type": "list", "member": { "locationName": "AvailabilityZone" } }, "So": { "type": "list", "member": { "locationName": "PreferredAvailabilityZone" } }, "Sp": { "type": "list", "member": { "locationName": "CacheSecurityGroupName" } }, "Sq": { "type": "list", "member": { "locationName": "SecurityGroupId" } }, "Sr": { "type": "list", "member": { "locationName": "SnapshotArn" } }, "Su": { "type": "structure", "members": { "CacheClusterId": {}, "ConfigurationEndpoint": { "shape": "Sv" }, "ClientDownloadLandingPage": {}, "CacheNodeType": {}, "Engine": {}, "EngineVersion": {}, "CacheClusterStatus": {}, "NumCacheNodes": { "type": "integer" }, "PreferredAvailabilityZone": {}, "CacheClusterCreateTime": { "type": "timestamp" }, "PreferredMaintenanceWindow": {}, "PendingModifiedValues": { "type": "structure", "members": { "NumCacheNodes": { "type": "integer" }, "CacheNodeIdsToRemove": { "shape": "Sy" }, "EngineVersion": {}, "CacheNodeType": {} } }, "NotificationConfiguration": { "type": "structure", "members": { "TopicArn": {}, "TopicStatus": {} } }, "CacheSecurityGroups": { "type": "list", "member": { "locationName": "CacheSecurityGroup", "type": "structure", "members": { "CacheSecurityGroupName": {}, "Status": {} } } }, "CacheParameterGroup": { "type": "structure", "members": { "CacheParameterGroupName": {}, "ParameterApplyStatus": {}, "CacheNodeIdsToReboot": { "shape": "Sy" } } }, "CacheSubnetGroupName": {}, "CacheNodes": { "type": "list", "member": { "locationName": "CacheNode", "type": "structure", "members": { "CacheNodeId": {}, "CacheNodeStatus": {}, "CacheNodeCreateTime": { "type": "timestamp" }, "Endpoint": { "shape": "Sv" }, "ParameterGroupStatus": {}, "SourceCacheNodeId": {}, "CustomerAvailabilityZone": {} } } }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "SecurityGroups": { "type": "list", "member": { "type": "structure", "members": { "SecurityGroupId": {}, "Status": {} } } }, "ReplicationGroupId": {}, "SnapshotRetentionLimit": { "type": "integer" }, "SnapshotWindow": {} }, "wrapper": true }, "Sv": { "type": "structure", "members": { "Address": {}, "Port": { "type": "integer" } } }, "Sy": { "type": "list", "member": { "locationName": "CacheNodeId" } }, "S19": { "type": "structure", "members": { "CacheParameterGroupName": {}, "CacheParameterGroupFamily": {}, "Description": {} }, "wrapper": true }, "S1d": { "type": "list", "member": { "locationName": "SubnetIdentifier" } }, "S1f": { "type": "structure", "members": { "CacheSubnetGroupName": {}, "CacheSubnetGroupDescription": {}, "VpcId": {}, "Subnets": { "type": "list", "member": { "locationName": "Subnet", "type": "structure", "members": { "SubnetIdentifier": {}, "SubnetAvailabilityZone": { "type": "structure", "members": { "Name": {} }, "wrapper": true } } } } }, "wrapper": true }, "S1m": { "type": "structure", "members": { "ReplicationGroupId": {}, "Description": {}, "Status": {}, "PendingModifiedValues": { "type": "structure", "members": { "PrimaryClusterId": {}, "AutomaticFailoverStatus": {} } }, "MemberClusters": { "type": "list", "member": { "locationName": "ClusterId" } }, "NodeGroups": { "type": "list", "member": { "locationName": "NodeGroup", "type": "structure", "members": { "NodeGroupId": {}, "Status": {}, "PrimaryEndpoint": { "shape": "Sv" }, "Slots": {}, "NodeGroupMembers": { "type": "list", "member": { "locationName": "NodeGroupMember", "type": "structure", "members": { "CacheClusterId": {}, "CacheNodeId": {}, "ReadEndpoint": { "shape": "Sv" }, "PreferredAvailabilityZone": {}, "CurrentRole": {} } } } } } }, "SnapshottingClusterId": {}, "AutomaticFailover": {}, "ConfigurationEndpoint": { "shape": "Sv" }, "SnapshotRetentionLimit": { "type": "integer" }, "SnapshotWindow": {}, "ClusterEnabled": { "type": "boolean" }, "CacheNodeType": {} }, "wrapper": true }, "S2h": { "type": "list", "member": { "locationName": "Parameter", "type": "structure", "members": { "ParameterName": {}, "ParameterValue": {}, "Description": {}, "Source": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "MinimumEngineVersion": {}, "ChangeType": {} } } }, "S2k": { "type": "list", "member": { "locationName": "CacheNodeTypeSpecificParameter", "type": "structure", "members": { "ParameterName": {}, "Description": {}, "Source": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "MinimumEngineVersion": {}, "CacheNodeTypeSpecificValues": { "type": "list", "member": { "locationName": "CacheNodeTypeSpecificValue", "type": "structure", "members": { "CacheNodeType": {}, "Value": {} } } }, "ChangeType": {} } } }, "S38": { "type": "structure", "members": { "ReservedCacheNodeId": {}, "ReservedCacheNodesOfferingId": {}, "CacheNodeType": {}, "StartTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CacheNodeCount": { "type": "integer" }, "ProductDescription": {}, "OfferingType": {}, "State": {}, "RecurringCharges": { "shape": "S3a" } }, "wrapper": true }, "S3a": { "type": "list", "member": { "locationName": "RecurringCharge", "type": "structure", "members": { "RecurringChargeAmount": { "type": "double" }, "RecurringChargeFrequency": {} }, "wrapper": true } }, "S3q": { "type": "list", "member": { "locationName": "ParameterNameValue", "type": "structure", "members": { "ParameterName": {}, "ParameterValue": {} } } }, "S3s": { "type": "structure", "members": { "CacheParameterGroupName": {} } } } } },{}],56:[function(require,module,exports){ module.exports={ "pagination": { "DescribeCacheClusters": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "CacheClusters" }, "DescribeCacheEngineVersions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "CacheEngineVersions" }, "DescribeCacheParameterGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "CacheParameterGroups" }, "DescribeCacheParameters": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Parameters" }, "DescribeCacheSecurityGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "CacheSecurityGroups" }, "DescribeCacheSubnetGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "CacheSubnetGroups" }, "DescribeEngineDefaultParameters": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "EngineDefaults.Marker", "result_key": "EngineDefaults.Parameters" }, "DescribeEvents": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Events" }, "DescribeReplicationGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ReplicationGroups" }, "DescribeReservedCacheNodes": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ReservedCacheNodes" }, "DescribeReservedCacheNodesOfferings": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ReservedCacheNodesOfferings" }, "DescribeSnapshots": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Snapshots" } } } },{}],57:[function(require,module,exports){ module.exports={ "version":2, "waiters":{ "CacheClusterAvailable":{ "acceptors":[ { "argument":"CacheClusters[].CacheClusterStatus", "expected":"available", "matcher":"pathAll", "state":"success" }, { "argument":"CacheClusters[].CacheClusterStatus", "expected":"deleted", "matcher":"pathAny", "state":"failure" }, { "argument":"CacheClusters[].CacheClusterStatus", "expected":"deleting", "matcher":"pathAny", "state":"failure" }, { "argument":"CacheClusters[].CacheClusterStatus", "expected":"incompatible-network", "matcher":"pathAny", "state":"failure" }, { "argument":"CacheClusters[].CacheClusterStatus", "expected":"restore-failed", "matcher":"pathAny", "state":"failure" } ], "delay":15, "description":"Wait until ElastiCache cluster is available.", "maxAttempts":40, "operation":"DescribeCacheClusters" }, "CacheClusterDeleted":{ "acceptors":[ { "argument":"CacheClusters[].CacheClusterStatus", "expected":"deleted", "matcher":"pathAll", "state":"success" }, { "expected":"CacheClusterNotFound", "matcher":"error", "state":"success" }, { "argument":"CacheClusters[].CacheClusterStatus", "expected":"available", "matcher":"pathAny", "state":"failure" }, { "argument":"CacheClusters[].CacheClusterStatus", "expected":"creating", "matcher":"pathAny", "state":"failure" }, { "argument":"CacheClusters[].CacheClusterStatus", "expected":"incompatible-network", "matcher":"pathAny", "state":"failure" }, { "argument":"CacheClusters[].CacheClusterStatus", "expected":"modifying", "matcher":"pathAny", "state":"failure" }, { "argument":"CacheClusters[].CacheClusterStatus", "expected":"restore-failed", "matcher":"pathAny", "state":"failure" }, { "argument":"CacheClusters[].CacheClusterStatus", "expected":"snapshotting", "matcher":"pathAny", "state":"failure" } ], "delay":15, "description":"Wait until ElastiCache cluster is deleted.", "maxAttempts":40, "operation":"DescribeCacheClusters" }, "ReplicationGroupAvailable":{ "acceptors":[ { "argument":"ReplicationGroups[].Status", "expected":"available", "matcher":"pathAll", "state":"success" }, { "argument":"ReplicationGroups[].Status", "expected":"deleted", "matcher":"pathAny", "state":"failure" } ], "delay":15, "description":"Wait until ElastiCache replication group is available.", "maxAttempts":40, "operation":"DescribeReplicationGroups" }, "ReplicationGroupDeleted":{ "acceptors":[ { "argument":"ReplicationGroups[].Status", "expected":"deleted", "matcher":"pathAll", "state":"success" }, { "argument":"ReplicationGroups[].Status", "expected":"available", "matcher":"pathAny", "state":"failure" }, { "expected":"ReplicationGroupNotFoundFault", "matcher":"error", "state":"success" } ], "delay":15, "description":"Wait until ElastiCache replication group is deleted.", "maxAttempts":40, "operation":"DescribeReplicationGroups" } } } },{}],58:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2010-12-01", "endpointPrefix": "elasticbeanstalk", "protocol": "query", "serviceAbbreviation": "Elastic Beanstalk", "serviceFullName": "AWS Elastic Beanstalk", "signatureVersion": "v4", "uid": "elasticbeanstalk-2010-12-01", "xmlNamespace": "http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/" }, "operations": { "AbortEnvironmentUpdate": { "input": { "type": "structure", "members": { "EnvironmentId": {}, "EnvironmentName": {} } } }, "ApplyEnvironmentManagedAction": { "input": { "type": "structure", "required": [ "ActionId" ], "members": { "EnvironmentName": {}, "EnvironmentId": {}, "ActionId": {} } }, "output": { "resultWrapper": "ApplyEnvironmentManagedActionResult", "type": "structure", "members": { "ActionId": {}, "ActionDescription": {}, "ActionType": {}, "Status": {} } } }, "CheckDNSAvailability": { "input": { "type": "structure", "required": [ "CNAMEPrefix" ], "members": { "CNAMEPrefix": {} } }, "output": { "resultWrapper": "CheckDNSAvailabilityResult", "type": "structure", "members": { "Available": { "type": "boolean" }, "FullyQualifiedCNAME": {} } } }, "ComposeEnvironments": { "input": { "type": "structure", "members": { "ApplicationName": {}, "GroupName": {}, "VersionLabels": { "type": "list", "member": {} } } }, "output": { "shape": "Si", "resultWrapper": "ComposeEnvironmentsResult" } }, "CreateApplication": { "input": { "type": "structure", "required": [ "ApplicationName" ], "members": { "ApplicationName": {}, "Description": {}, "ResourceLifecycleConfig": { "shape": "S15" } } }, "output": { "shape": "S1b", "resultWrapper": "CreateApplicationResult" } }, "CreateApplicationVersion": { "input": { "type": "structure", "required": [ "ApplicationName", "VersionLabel" ], "members": { "ApplicationName": {}, "VersionLabel": {}, "Description": {}, "SourceBuildInformation": { "shape": "S1g" }, "SourceBundle": { "shape": "S1k" }, "BuildConfiguration": { "type": "structure", "required": [ "CodeBuildServiceRole", "Image" ], "members": { "ArtifactName": {}, "CodeBuildServiceRole": {}, "ComputeType": {}, "Image": {}, "TimeoutInMinutes": { "type": "integer" } } }, "AutoCreateApplication": { "type": "boolean" }, "Process": { "type": "boolean" } } }, "output": { "shape": "S1s", "resultWrapper": "CreateApplicationVersionResult" } }, "CreateConfigurationTemplate": { "input": { "type": "structure", "required": [ "ApplicationName", "TemplateName" ], "members": { "ApplicationName": {}, "TemplateName": {}, "SolutionStackName": {}, "PlatformArn": {}, "SourceConfiguration": { "type": "structure", "members": { "ApplicationName": {}, "TemplateName": {} } }, "EnvironmentId": {}, "Description": {}, "OptionSettings": { "shape": "S1x" } } }, "output": { "shape": "S23", "resultWrapper": "CreateConfigurationTemplateResult" } }, "CreateEnvironment": { "input": { "type": "structure", "required": [ "ApplicationName" ], "members": { "ApplicationName": {}, "EnvironmentName": {}, "GroupName": {}, "Description": {}, "CNAMEPrefix": {}, "Tier": { "shape": "S11" }, "Tags": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } }, "VersionLabel": {}, "TemplateName": {}, "SolutionStackName": {}, "PlatformArn": {}, "OptionSettings": { "shape": "S1x" }, "OptionsToRemove": { "shape": "S2a" } } }, "output": { "shape": "Sk", "resultWrapper": "CreateEnvironmentResult" } }, "CreatePlatformVersion": { "input": { "type": "structure", "required": [ "PlatformName", "PlatformVersion", "PlatformDefinitionBundle" ], "members": { "PlatformName": {}, "PlatformVersion": {}, "PlatformDefinitionBundle": { "shape": "S1k" }, "EnvironmentName": {}, "OptionSettings": { "shape": "S1x" } } }, "output": { "resultWrapper": "CreatePlatformVersionResult", "type": "structure", "members": { "PlatformSummary": { "shape": "S2g" }, "Builder": { "type": "structure", "members": { "ARN": {} } } } } }, "CreateStorageLocation": { "output": { "resultWrapper": "CreateStorageLocationResult", "type": "structure", "members": { "S3Bucket": {} } } }, "DeleteApplication": { "input": { "type": "structure", "required": [ "ApplicationName" ], "members": { "ApplicationName": {}, "TerminateEnvByForce": { "type": "boolean" } } } }, "DeleteApplicationVersion": { "input": { "type": "structure", "required": [ "ApplicationName", "VersionLabel" ], "members": { "ApplicationName": {}, "VersionLabel": {}, "DeleteSourceBundle": { "type": "boolean" } } } }, "DeleteConfigurationTemplate": { "input": { "type": "structure", "required": [ "ApplicationName", "TemplateName" ], "members": { "ApplicationName": {}, "TemplateName": {} } } }, "DeleteEnvironmentConfiguration": { "input": { "type": "structure", "required": [ "ApplicationName", "EnvironmentName" ], "members": { "ApplicationName": {}, "EnvironmentName": {} } } }, "DeletePlatformVersion": { "input": { "type": "structure", "members": { "PlatformArn": {} } }, "output": { "resultWrapper": "DeletePlatformVersionResult", "type": "structure", "members": { "PlatformSummary": { "shape": "S2g" } } } }, "DescribeApplicationVersions": { "input": { "type": "structure", "members": { "ApplicationName": {}, "VersionLabels": { "shape": "S1d" }, "MaxRecords": { "type": "integer" }, "NextToken": {} } }, "output": { "resultWrapper": "DescribeApplicationVersionsResult", "type": "structure", "members": { "ApplicationVersions": { "type": "list", "member": { "shape": "S1t" } }, "NextToken": {} } } }, "DescribeApplications": { "input": { "type": "structure", "members": { "ApplicationNames": { "type": "list", "member": {} } } }, "output": { "resultWrapper": "DescribeApplicationsResult", "type": "structure", "members": { "Applications": { "type": "list", "member": { "shape": "S1c" } } } } }, "DescribeConfigurationOptions": { "input": { "type": "structure", "members": { "ApplicationName": {}, "TemplateName": {}, "EnvironmentName": {}, "SolutionStackName": {}, "PlatformArn": {}, "Options": { "shape": "S2a" } } }, "output": { "resultWrapper": "DescribeConfigurationOptionsResult", "type": "structure", "members": { "SolutionStackName": {}, "PlatformArn": {}, "Options": { "type": "list", "member": { "type": "structure", "members": { "Namespace": {}, "Name": {}, "DefaultValue": {}, "ChangeSeverity": {}, "UserDefined": { "type": "boolean" }, "ValueType": {}, "ValueOptions": { "type": "list", "member": {} }, "MinValue": { "type": "integer" }, "MaxValue": { "type": "integer" }, "MaxLength": { "type": "integer" }, "Regex": { "type": "structure", "members": { "Pattern": {}, "Label": {} } } } } } } } }, "DescribeConfigurationSettings": { "input": { "type": "structure", "required": [ "ApplicationName" ], "members": { "ApplicationName": {}, "TemplateName": {}, "EnvironmentName": {} } }, "output": { "resultWrapper": "DescribeConfigurationSettingsResult", "type": "structure", "members": { "ConfigurationSettings": { "type": "list", "member": { "shape": "S23" } } } } }, "DescribeEnvironmentHealth": { "input": { "type": "structure", "members": { "EnvironmentName": {}, "EnvironmentId": {}, "AttributeNames": { "type": "list", "member": {} } } }, "output": { "resultWrapper": "DescribeEnvironmentHealthResult", "type": "structure", "members": { "EnvironmentName": {}, "HealthStatus": {}, "Status": {}, "Color": {}, "Causes": { "shape": "S3x" }, "ApplicationMetrics": { "shape": "S3z" }, "InstancesHealth": { "type": "structure", "members": { "NoData": { "type": "integer" }, "Unknown": { "type": "integer" }, "Pending": { "type": "integer" }, "Ok": { "type": "integer" }, "Info": { "type": "integer" }, "Warning": { "type": "integer" }, "Degraded": { "type": "integer" }, "Severe": { "type": "integer" } } }, "RefreshedAt": { "type": "timestamp" } } } }, "DescribeEnvironmentManagedActionHistory": { "input": { "type": "structure", "members": { "EnvironmentId": {}, "EnvironmentName": {}, "NextToken": {}, "MaxItems": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeEnvironmentManagedActionHistoryResult", "type": "structure", "members": { "ManagedActionHistoryItems": { "type": "list", "member": { "type": "structure", "members": { "ActionId": {}, "ActionType": {}, "ActionDescription": {}, "FailureType": {}, "Status": {}, "FailureDescription": {}, "ExecutedTime": { "type": "timestamp" }, "FinishedTime": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DescribeEnvironmentManagedActions": { "input": { "type": "structure", "members": { "EnvironmentName": {}, "EnvironmentId": {}, "Status": {} } }, "output": { "resultWrapper": "DescribeEnvironmentManagedActionsResult", "type": "structure", "members": { "ManagedActions": { "type": "list", "member": { "type": "structure", "members": { "ActionId": {}, "ActionDescription": {}, "ActionType": {}, "Status": {}, "WindowStartTime": { "type": "timestamp" } } } } } } }, "DescribeEnvironmentResources": { "input": { "type": "structure", "members": { "EnvironmentId": {}, "EnvironmentName": {} } }, "output": { "resultWrapper": "DescribeEnvironmentResourcesResult", "type": "structure", "members": { "EnvironmentResources": { "type": "structure", "members": { "EnvironmentName": {}, "AutoScalingGroups": { "type": "list", "member": { "type": "structure", "members": { "Name": {} } } }, "Instances": { "type": "list", "member": { "type": "structure", "members": { "Id": {} } } }, "LaunchConfigurations": { "type": "list", "member": { "type": "structure", "members": { "Name": {} } } }, "LoadBalancers": { "type": "list", "member": { "type": "structure", "members": { "Name": {} } } }, "Triggers": { "type": "list", "member": { "type": "structure", "members": { "Name": {} } } }, "Queues": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "URL": {} } } } } } } } }, "DescribeEnvironments": { "input": { "type": "structure", "members": { "ApplicationName": {}, "VersionLabel": {}, "EnvironmentIds": { "type": "list", "member": {} }, "EnvironmentNames": { "type": "list", "member": {} }, "IncludeDeleted": { "type": "boolean" }, "IncludedDeletedBackTo": { "type": "timestamp" } } }, "output": { "shape": "Si", "resultWrapper": "DescribeEnvironmentsResult" } }, "DescribeEvents": { "input": { "type": "structure", "members": { "ApplicationName": {}, "VersionLabel": {}, "TemplateName": {}, "EnvironmentId": {}, "EnvironmentName": {}, "PlatformArn": {}, "RequestId": {}, "Severity": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "MaxRecords": { "type": "integer" }, "NextToken": {} } }, "output": { "resultWrapper": "DescribeEventsResult", "type": "structure", "members": { "Events": { "type": "list", "member": { "type": "structure", "members": { "EventDate": { "type": "timestamp" }, "Message": {}, "ApplicationName": {}, "VersionLabel": {}, "TemplateName": {}, "EnvironmentName": {}, "PlatformArn": {}, "RequestId": {}, "Severity": {} } } }, "NextToken": {} } } }, "DescribeInstancesHealth": { "input": { "type": "structure", "members": { "EnvironmentName": {}, "EnvironmentId": {}, "AttributeNames": { "type": "list", "member": {} }, "NextToken": {} } }, "output": { "resultWrapper": "DescribeInstancesHealthResult", "type": "structure", "members": { "InstanceHealthList": { "type": "list", "member": { "type": "structure", "members": { "InstanceId": {}, "HealthStatus": {}, "Color": {}, "Causes": { "shape": "S3x" }, "LaunchedAt": { "type": "timestamp" }, "ApplicationMetrics": { "shape": "S3z" }, "System": { "type": "structure", "members": { "CPUUtilization": { "type": "structure", "members": { "User": { "type": "double" }, "Nice": { "type": "double" }, "System": { "type": "double" }, "Idle": { "type": "double" }, "IOWait": { "type": "double" }, "IRQ": { "type": "double" }, "SoftIRQ": { "type": "double" } } }, "LoadAverage": { "type": "list", "member": { "type": "double" } } } }, "Deployment": { "type": "structure", "members": { "VersionLabel": {}, "DeploymentId": { "type": "long" }, "Status": {}, "DeploymentTime": { "type": "timestamp" } } }, "AvailabilityZone": {}, "InstanceType": {} } } }, "RefreshedAt": { "type": "timestamp" }, "NextToken": {} } } }, "DescribePlatformVersion": { "input": { "type": "structure", "members": { "PlatformArn": {} } }, "output": { "resultWrapper": "DescribePlatformVersionResult", "type": "structure", "members": { "PlatformDescription": { "type": "structure", "members": { "PlatformArn": {}, "PlatformOwner": {}, "PlatformName": {}, "PlatformVersion": {}, "SolutionStackName": {}, "PlatformStatus": {}, "DateCreated": { "type": "timestamp" }, "DateUpdated": { "type": "timestamp" }, "PlatformCategory": {}, "Description": {}, "Maintainer": {}, "OperatingSystemName": {}, "OperatingSystemVersion": {}, "ProgrammingLanguages": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Version": {} } } }, "Frameworks": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Version": {} } } }, "CustomAmiList": { "type": "list", "member": { "type": "structure", "members": { "VirtualizationType": {}, "ImageId": {} } } }, "SupportedTierList": { "shape": "S2m" }, "SupportedAddonList": { "shape": "S2o" } } } } } }, "ListAvailableSolutionStacks": { "output": { "resultWrapper": "ListAvailableSolutionStacksResult", "type": "structure", "members": { "SolutionStacks": { "type": "list", "member": {} }, "SolutionStackDetails": { "type": "list", "member": { "type": "structure", "members": { "SolutionStackName": {}, "PermittedFileTypes": { "type": "list", "member": {} } } } } } } }, "ListPlatformVersions": { "input": { "type": "structure", "members": { "Filters": { "type": "list", "member": { "type": "structure", "members": { "Type": {}, "Operator": {}, "Values": { "type": "list", "member": {} } } } }, "MaxRecords": { "type": "integer" }, "NextToken": {} } }, "output": { "resultWrapper": "ListPlatformVersionsResult", "type": "structure", "members": { "PlatformSummaryList": { "type": "list", "member": { "shape": "S2g" } }, "NextToken": {} } } }, "RebuildEnvironment": { "input": { "type": "structure", "members": { "EnvironmentId": {}, "EnvironmentName": {} } } }, "RequestEnvironmentInfo": { "input": { "type": "structure", "required": [ "InfoType" ], "members": { "EnvironmentId": {}, "EnvironmentName": {}, "InfoType": {} } } }, "RestartAppServer": { "input": { "type": "structure", "members": { "EnvironmentId": {}, "EnvironmentName": {} } } }, "RetrieveEnvironmentInfo": { "input": { "type": "structure", "required": [ "InfoType" ], "members": { "EnvironmentId": {}, "EnvironmentName": {}, "InfoType": {} } }, "output": { "resultWrapper": "RetrieveEnvironmentInfoResult", "type": "structure", "members": { "EnvironmentInfo": { "type": "list", "member": { "type": "structure", "members": { "InfoType": {}, "Ec2InstanceId": {}, "SampleTimestamp": { "type": "timestamp" }, "Message": {} } } } } } }, "SwapEnvironmentCNAMEs": { "input": { "type": "structure", "members": { "SourceEnvironmentId": {}, "SourceEnvironmentName": {}, "DestinationEnvironmentId": {}, "DestinationEnvironmentName": {} } } }, "TerminateEnvironment": { "input": { "type": "structure", "members": { "EnvironmentId": {}, "EnvironmentName": {}, "TerminateResources": { "type": "boolean" }, "ForceTerminate": { "type": "boolean" } } }, "output": { "shape": "Sk", "resultWrapper": "TerminateEnvironmentResult" } }, "UpdateApplication": { "input": { "type": "structure", "required": [ "ApplicationName" ], "members": { "ApplicationName": {}, "Description": {} } }, "output": { "shape": "S1b", "resultWrapper": "UpdateApplicationResult" } }, "UpdateApplicationResourceLifecycle": { "input": { "type": "structure", "required": [ "ApplicationName", "ResourceLifecycleConfig" ], "members": { "ApplicationName": {}, "ResourceLifecycleConfig": { "shape": "S15" } } }, "output": { "resultWrapper": "UpdateApplicationResourceLifecycleResult", "type": "structure", "members": { "ApplicationName": {}, "ResourceLifecycleConfig": { "shape": "S15" } } } }, "UpdateApplicationVersion": { "input": { "type": "structure", "required": [ "ApplicationName", "VersionLabel" ], "members": { "ApplicationName": {}, "VersionLabel": {}, "Description": {} } }, "output": { "shape": "S1s", "resultWrapper": "UpdateApplicationVersionResult" } }, "UpdateConfigurationTemplate": { "input": { "type": "structure", "required": [ "ApplicationName", "TemplateName" ], "members": { "ApplicationName": {}, "TemplateName": {}, "Description": {}, "OptionSettings": { "shape": "S1x" }, "OptionsToRemove": { "shape": "S2a" } } }, "output": { "shape": "S23", "resultWrapper": "UpdateConfigurationTemplateResult" } }, "UpdateEnvironment": { "input": { "type": "structure", "members": { "ApplicationName": {}, "EnvironmentId": {}, "EnvironmentName": {}, "GroupName": {}, "Description": {}, "Tier": { "shape": "S11" }, "VersionLabel": {}, "TemplateName": {}, "SolutionStackName": {}, "PlatformArn": {}, "OptionSettings": { "shape": "S1x" }, "OptionsToRemove": { "shape": "S2a" } } }, "output": { "shape": "Sk", "resultWrapper": "UpdateEnvironmentResult" } }, "ValidateConfigurationSettings": { "input": { "type": "structure", "required": [ "ApplicationName", "OptionSettings" ], "members": { "ApplicationName": {}, "TemplateName": {}, "EnvironmentName": {}, "OptionSettings": { "shape": "S1x" } } }, "output": { "resultWrapper": "ValidateConfigurationSettingsResult", "type": "structure", "members": { "Messages": { "type": "list", "member": { "type": "structure", "members": { "Message": {}, "Severity": {}, "Namespace": {}, "OptionName": {} } } } } } } }, "shapes": { "Si": { "type": "structure", "members": { "Environments": { "type": "list", "member": { "shape": "Sk" } } } }, "Sk": { "type": "structure", "members": { "EnvironmentName": {}, "EnvironmentId": {}, "ApplicationName": {}, "VersionLabel": {}, "SolutionStackName": {}, "PlatformArn": {}, "TemplateName": {}, "Description": {}, "EndpointURL": {}, "CNAME": {}, "DateCreated": { "type": "timestamp" }, "DateUpdated": { "type": "timestamp" }, "Status": {}, "AbortableOperationInProgress": { "type": "boolean" }, "Health": {}, "HealthStatus": {}, "Resources": { "type": "structure", "members": { "LoadBalancer": { "type": "structure", "members": { "LoadBalancerName": {}, "Domain": {}, "Listeners": { "type": "list", "member": { "type": "structure", "members": { "Protocol": {}, "Port": { "type": "integer" } } } } } } } }, "Tier": { "shape": "S11" }, "EnvironmentLinks": { "type": "list", "member": { "type": "structure", "members": { "LinkName": {}, "EnvironmentName": {} } } } } }, "S11": { "type": "structure", "members": { "Name": {}, "Type": {}, "Version": {} } }, "S15": { "type": "structure", "members": { "ServiceRole": {}, "VersionLifecycleConfig": { "type": "structure", "members": { "MaxCountRule": { "type": "structure", "required": [ "Enabled" ], "members": { "Enabled": { "type": "boolean" }, "MaxCount": { "type": "integer" }, "DeleteSourceFromS3": { "type": "boolean" } } }, "MaxAgeRule": { "type": "structure", "required": [ "Enabled" ], "members": { "Enabled": { "type": "boolean" }, "MaxAgeInDays": { "type": "integer" }, "DeleteSourceFromS3": { "type": "boolean" } } } } } } }, "S1b": { "type": "structure", "members": { "Application": { "shape": "S1c" } } }, "S1c": { "type": "structure", "members": { "ApplicationName": {}, "Description": {}, "DateCreated": { "type": "timestamp" }, "DateUpdated": { "type": "timestamp" }, "Versions": { "shape": "S1d" }, "ConfigurationTemplates": { "type": "list", "member": {} }, "ResourceLifecycleConfig": { "shape": "S15" } } }, "S1d": { "type": "list", "member": {} }, "S1g": { "type": "structure", "required": [ "SourceType", "SourceRepository", "SourceLocation" ], "members": { "SourceType": {}, "SourceRepository": {}, "SourceLocation": {} } }, "S1k": { "type": "structure", "members": { "S3Bucket": {}, "S3Key": {} } }, "S1s": { "type": "structure", "members": { "ApplicationVersion": { "shape": "S1t" } } }, "S1t": { "type": "structure", "members": { "ApplicationName": {}, "Description": {}, "VersionLabel": {}, "SourceBuildInformation": { "shape": "S1g" }, "BuildArn": {}, "SourceBundle": { "shape": "S1k" }, "DateCreated": { "type": "timestamp" }, "DateUpdated": { "type": "timestamp" }, "Status": {} } }, "S1x": { "type": "list", "member": { "type": "structure", "members": { "ResourceName": {}, "Namespace": {}, "OptionName": {}, "Value": {} } } }, "S23": { "type": "structure", "members": { "SolutionStackName": {}, "PlatformArn": {}, "ApplicationName": {}, "TemplateName": {}, "Description": {}, "EnvironmentName": {}, "DeploymentStatus": {}, "DateCreated": { "type": "timestamp" }, "DateUpdated": { "type": "timestamp" }, "OptionSettings": { "shape": "S1x" } } }, "S2a": { "type": "list", "member": { "type": "structure", "members": { "ResourceName": {}, "Namespace": {}, "OptionName": {} } } }, "S2g": { "type": "structure", "members": { "PlatformArn": {}, "PlatformOwner": {}, "PlatformStatus": {}, "PlatformCategory": {}, "OperatingSystemName": {}, "OperatingSystemVersion": {}, "SupportedTierList": { "shape": "S2m" }, "SupportedAddonList": { "shape": "S2o" } } }, "S2m": { "type": "list", "member": {} }, "S2o": { "type": "list", "member": {} }, "S3x": { "type": "list", "member": {} }, "S3z": { "type": "structure", "members": { "Duration": { "type": "integer" }, "RequestCount": { "type": "integer" }, "StatusCodes": { "type": "structure", "members": { "Status2xx": { "type": "integer" }, "Status3xx": { "type": "integer" }, "Status4xx": { "type": "integer" }, "Status5xx": { "type": "integer" } } }, "Latency": { "type": "structure", "members": { "P999": { "type": "double" }, "P99": { "type": "double" }, "P95": { "type": "double" }, "P90": { "type": "double" }, "P85": { "type": "double" }, "P75": { "type": "double" }, "P50": { "type": "double" }, "P10": { "type": "double" } } } } } } } },{}],59:[function(require,module,exports){ module.exports={ "pagination": { "DescribeApplicationVersions": { "result_key": "ApplicationVersions" }, "DescribeApplications": { "result_key": "Applications" }, "DescribeConfigurationOptions": { "result_key": "Options" }, "DescribeEnvironments": { "result_key": "Environments" }, "DescribeEvents": { "input_token": "NextToken", "limit_key": "MaxRecords", "output_token": "NextToken", "result_key": "Events" }, "ListAvailableSolutionStacks": { "result_key": "SolutionStacks" } } } },{}],60:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-02-01", "endpointPrefix": "elasticfilesystem", "protocol": "rest-json", "serviceAbbreviation": "EFS", "serviceFullName": "Amazon Elastic File System", "signatureVersion": "v4", "uid": "elasticfilesystem-2015-02-01" }, "operations": { "CreateFileSystem": { "http": { "requestUri": "/2015-02-01/file-systems", "responseCode": 201 }, "input": { "type": "structure", "required": [ "CreationToken" ], "members": { "CreationToken": {}, "PerformanceMode": {} } }, "output": { "shape": "S4" } }, "CreateMountTarget": { "http": { "requestUri": "/2015-02-01/mount-targets", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FileSystemId", "SubnetId" ], "members": { "FileSystemId": {}, "SubnetId": {}, "IpAddress": {}, "SecurityGroups": { "shape": "Sg" } } }, "output": { "shape": "Si" } }, "CreateTags": { "http": { "requestUri": "/2015-02-01/create-tags/{FileSystemId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "FileSystemId", "Tags" ], "members": { "FileSystemId": { "location": "uri", "locationName": "FileSystemId" }, "Tags": { "shape": "Sm" } } } }, "DeleteFileSystem": { "http": { "method": "DELETE", "requestUri": "/2015-02-01/file-systems/{FileSystemId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "FileSystemId" ], "members": { "FileSystemId": { "location": "uri", "locationName": "FileSystemId" } } } }, "DeleteMountTarget": { "http": { "method": "DELETE", "requestUri": "/2015-02-01/mount-targets/{MountTargetId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "MountTargetId" ], "members": { "MountTargetId": { "location": "uri", "locationName": "MountTargetId" } } } }, "DeleteTags": { "http": { "requestUri": "/2015-02-01/delete-tags/{FileSystemId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "FileSystemId", "TagKeys" ], "members": { "FileSystemId": { "location": "uri", "locationName": "FileSystemId" }, "TagKeys": { "type": "list", "member": {} } } } }, "DescribeFileSystems": { "http": { "method": "GET", "requestUri": "/2015-02-01/file-systems", "responseCode": 200 }, "input": { "type": "structure", "members": { "MaxItems": { "location": "querystring", "locationName": "MaxItems", "type": "integer" }, "Marker": { "location": "querystring", "locationName": "Marker" }, "CreationToken": { "location": "querystring", "locationName": "CreationToken" }, "FileSystemId": { "location": "querystring", "locationName": "FileSystemId" } } }, "output": { "type": "structure", "members": { "Marker": {}, "FileSystems": { "type": "list", "member": { "shape": "S4" } }, "NextMarker": {} } } }, "DescribeMountTargetSecurityGroups": { "http": { "method": "GET", "requestUri": "/2015-02-01/mount-targets/{MountTargetId}/security-groups", "responseCode": 200 }, "input": { "type": "structure", "required": [ "MountTargetId" ], "members": { "MountTargetId": { "location": "uri", "locationName": "MountTargetId" } } }, "output": { "type": "structure", "required": [ "SecurityGroups" ], "members": { "SecurityGroups": { "shape": "Sg" } } } }, "DescribeMountTargets": { "http": { "method": "GET", "requestUri": "/2015-02-01/mount-targets", "responseCode": 200 }, "input": { "type": "structure", "members": { "MaxItems": { "location": "querystring", "locationName": "MaxItems", "type": "integer" }, "Marker": { "location": "querystring", "locationName": "Marker" }, "FileSystemId": { "location": "querystring", "locationName": "FileSystemId" }, "MountTargetId": { "location": "querystring", "locationName": "MountTargetId" } } }, "output": { "type": "structure", "members": { "Marker": {}, "MountTargets": { "type": "list", "member": { "shape": "Si" } }, "NextMarker": {} } } }, "DescribeTags": { "http": { "method": "GET", "requestUri": "/2015-02-01/tags/{FileSystemId}/", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FileSystemId" ], "members": { "MaxItems": { "location": "querystring", "locationName": "MaxItems", "type": "integer" }, "Marker": { "location": "querystring", "locationName": "Marker" }, "FileSystemId": { "location": "uri", "locationName": "FileSystemId" } } }, "output": { "type": "structure", "required": [ "Tags" ], "members": { "Marker": {}, "Tags": { "shape": "Sm" }, "NextMarker": {} } } }, "ModifyMountTargetSecurityGroups": { "http": { "method": "PUT", "requestUri": "/2015-02-01/mount-targets/{MountTargetId}/security-groups", "responseCode": 204 }, "input": { "type": "structure", "required": [ "MountTargetId" ], "members": { "MountTargetId": { "location": "uri", "locationName": "MountTargetId" }, "SecurityGroups": { "shape": "Sg" } } } } }, "shapes": { "S4": { "type": "structure", "required": [ "OwnerId", "CreationToken", "FileSystemId", "CreationTime", "LifeCycleState", "NumberOfMountTargets", "SizeInBytes", "PerformanceMode" ], "members": { "OwnerId": {}, "CreationToken": {}, "FileSystemId": {}, "CreationTime": { "type": "timestamp" }, "LifeCycleState": {}, "Name": {}, "NumberOfMountTargets": { "type": "integer" }, "SizeInBytes": { "type": "structure", "required": [ "Value" ], "members": { "Value": { "type": "long" }, "Timestamp": { "type": "timestamp" } } }, "PerformanceMode": {} } }, "Sg": { "type": "list", "member": {} }, "Si": { "type": "structure", "required": [ "MountTargetId", "FileSystemId", "SubnetId", "LifeCycleState" ], "members": { "OwnerId": {}, "MountTargetId": {}, "FileSystemId": {}, "SubnetId": {}, "LifeCycleState": {}, "IpAddress": {}, "NetworkInterfaceId": {} } }, "Sm": { "type": "list", "member": { "type": "structure", "required": [ "Key", "Value" ], "members": { "Key": {}, "Value": {} } } } } } },{}],61:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2012-06-01", "endpointPrefix": "elasticloadbalancing", "protocol": "query", "serviceFullName": "Elastic Load Balancing", "signatureVersion": "v4", "uid": "elasticloadbalancing-2012-06-01", "xmlNamespace": "http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/" }, "operations": { "AddTags": { "input": { "type": "structure", "required": [ "LoadBalancerNames", "Tags" ], "members": { "LoadBalancerNames": { "shape": "S2" }, "Tags": { "shape": "S4" } } }, "output": { "resultWrapper": "AddTagsResult", "type": "structure", "members": {} } }, "ApplySecurityGroupsToLoadBalancer": { "input": { "type": "structure", "required": [ "LoadBalancerName", "SecurityGroups" ], "members": { "LoadBalancerName": {}, "SecurityGroups": { "shape": "Sa" } } }, "output": { "resultWrapper": "ApplySecurityGroupsToLoadBalancerResult", "type": "structure", "members": { "SecurityGroups": { "shape": "Sa" } } } }, "AttachLoadBalancerToSubnets": { "input": { "type": "structure", "required": [ "LoadBalancerName", "Subnets" ], "members": { "LoadBalancerName": {}, "Subnets": { "shape": "Se" } } }, "output": { "resultWrapper": "AttachLoadBalancerToSubnetsResult", "type": "structure", "members": { "Subnets": { "shape": "Se" } } } }, "ConfigureHealthCheck": { "input": { "type": "structure", "required": [ "LoadBalancerName", "HealthCheck" ], "members": { "LoadBalancerName": {}, "HealthCheck": { "shape": "Si" } } }, "output": { "resultWrapper": "ConfigureHealthCheckResult", "type": "structure", "members": { "HealthCheck": { "shape": "Si" } } } }, "CreateAppCookieStickinessPolicy": { "input": { "type": "structure", "required": [ "LoadBalancerName", "PolicyName", "CookieName" ], "members": { "LoadBalancerName": {}, "PolicyName": {}, "CookieName": {} } }, "output": { "resultWrapper": "CreateAppCookieStickinessPolicyResult", "type": "structure", "members": {} } }, "CreateLBCookieStickinessPolicy": { "input": { "type": "structure", "required": [ "LoadBalancerName", "PolicyName" ], "members": { "LoadBalancerName": {}, "PolicyName": {}, "CookieExpirationPeriod": { "type": "long" } } }, "output": { "resultWrapper": "CreateLBCookieStickinessPolicyResult", "type": "structure", "members": {} } }, "CreateLoadBalancer": { "input": { "type": "structure", "required": [ "LoadBalancerName", "Listeners" ], "members": { "LoadBalancerName": {}, "Listeners": { "shape": "Sx" }, "AvailabilityZones": { "shape": "S13" }, "Subnets": { "shape": "Se" }, "SecurityGroups": { "shape": "Sa" }, "Scheme": {}, "Tags": { "shape": "S4" } } }, "output": { "resultWrapper": "CreateLoadBalancerResult", "type": "structure", "members": { "DNSName": {} } } }, "CreateLoadBalancerListeners": { "input": { "type": "structure", "required": [ "LoadBalancerName", "Listeners" ], "members": { "LoadBalancerName": {}, "Listeners": { "shape": "Sx" } } }, "output": { "resultWrapper": "CreateLoadBalancerListenersResult", "type": "structure", "members": {} } }, "CreateLoadBalancerPolicy": { "input": { "type": "structure", "required": [ "LoadBalancerName", "PolicyName", "PolicyTypeName" ], "members": { "LoadBalancerName": {}, "PolicyName": {}, "PolicyTypeName": {}, "PolicyAttributes": { "type": "list", "member": { "type": "structure", "members": { "AttributeName": {}, "AttributeValue": {} } } } } }, "output": { "resultWrapper": "CreateLoadBalancerPolicyResult", "type": "structure", "members": {} } }, "DeleteLoadBalancer": { "input": { "type": "structure", "required": [ "LoadBalancerName" ], "members": { "LoadBalancerName": {} } }, "output": { "resultWrapper": "DeleteLoadBalancerResult", "type": "structure", "members": {} } }, "DeleteLoadBalancerListeners": { "input": { "type": "structure", "required": [ "LoadBalancerName", "LoadBalancerPorts" ], "members": { "LoadBalancerName": {}, "LoadBalancerPorts": { "type": "list", "member": { "type": "integer" } } } }, "output": { "resultWrapper": "DeleteLoadBalancerListenersResult", "type": "structure", "members": {} } }, "DeleteLoadBalancerPolicy": { "input": { "type": "structure", "required": [ "LoadBalancerName", "PolicyName" ], "members": { "LoadBalancerName": {}, "PolicyName": {} } }, "output": { "resultWrapper": "DeleteLoadBalancerPolicyResult", "type": "structure", "members": {} } }, "DeregisterInstancesFromLoadBalancer": { "input": { "type": "structure", "required": [ "LoadBalancerName", "Instances" ], "members": { "LoadBalancerName": {}, "Instances": { "shape": "S1p" } } }, "output": { "resultWrapper": "DeregisterInstancesFromLoadBalancerResult", "type": "structure", "members": { "Instances": { "shape": "S1p" } } } }, "DescribeAccountLimits": { "input": { "type": "structure", "members": { "Marker": {}, "PageSize": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeAccountLimitsResult", "type": "structure", "members": { "Limits": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Max": {} } } }, "NextMarker": {} } } }, "DescribeInstanceHealth": { "input": { "type": "structure", "required": [ "LoadBalancerName" ], "members": { "LoadBalancerName": {}, "Instances": { "shape": "S1p" } } }, "output": { "resultWrapper": "DescribeInstanceHealthResult", "type": "structure", "members": { "InstanceStates": { "type": "list", "member": { "type": "structure", "members": { "InstanceId": {}, "State": {}, "ReasonCode": {}, "Description": {} } } } } } }, "DescribeLoadBalancerAttributes": { "input": { "type": "structure", "required": [ "LoadBalancerName" ], "members": { "LoadBalancerName": {} } }, "output": { "resultWrapper": "DescribeLoadBalancerAttributesResult", "type": "structure", "members": { "LoadBalancerAttributes": { "shape": "S2a" } } } }, "DescribeLoadBalancerPolicies": { "input": { "type": "structure", "members": { "LoadBalancerName": {}, "PolicyNames": { "shape": "S2s" } } }, "output": { "resultWrapper": "DescribeLoadBalancerPoliciesResult", "type": "structure", "members": { "PolicyDescriptions": { "type": "list", "member": { "type": "structure", "members": { "PolicyName": {}, "PolicyTypeName": {}, "PolicyAttributeDescriptions": { "type": "list", "member": { "type": "structure", "members": { "AttributeName": {}, "AttributeValue": {} } } } } } } } } }, "DescribeLoadBalancerPolicyTypes": { "input": { "type": "structure", "members": { "PolicyTypeNames": { "type": "list", "member": {} } } }, "output": { "resultWrapper": "DescribeLoadBalancerPolicyTypesResult", "type": "structure", "members": { "PolicyTypeDescriptions": { "type": "list", "member": { "type": "structure", "members": { "PolicyTypeName": {}, "Description": {}, "PolicyAttributeTypeDescriptions": { "type": "list", "member": { "type": "structure", "members": { "AttributeName": {}, "AttributeType": {}, "Description": {}, "DefaultValue": {}, "Cardinality": {} } } } } } } } } }, "DescribeLoadBalancers": { "input": { "type": "structure", "members": { "LoadBalancerNames": { "shape": "S2" }, "Marker": {}, "PageSize": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeLoadBalancersResult", "type": "structure", "members": { "LoadBalancerDescriptions": { "type": "list", "member": { "type": "structure", "members": { "LoadBalancerName": {}, "DNSName": {}, "CanonicalHostedZoneName": {}, "CanonicalHostedZoneNameID": {}, "ListenerDescriptions": { "type": "list", "member": { "type": "structure", "members": { "Listener": { "shape": "Sy" }, "PolicyNames": { "shape": "S2s" } } } }, "Policies": { "type": "structure", "members": { "AppCookieStickinessPolicies": { "type": "list", "member": { "type": "structure", "members": { "PolicyName": {}, "CookieName": {} } } }, "LBCookieStickinessPolicies": { "type": "list", "member": { "type": "structure", "members": { "PolicyName": {}, "CookieExpirationPeriod": { "type": "long" } } } }, "OtherPolicies": { "shape": "S2s" } } }, "BackendServerDescriptions": { "type": "list", "member": { "type": "structure", "members": { "InstancePort": { "type": "integer" }, "PolicyNames": { "shape": "S2s" } } } }, "AvailabilityZones": { "shape": "S13" }, "Subnets": { "shape": "Se" }, "VPCId": {}, "Instances": { "shape": "S1p" }, "HealthCheck": { "shape": "Si" }, "SourceSecurityGroup": { "type": "structure", "members": { "OwnerAlias": {}, "GroupName": {} } }, "SecurityGroups": { "shape": "Sa" }, "CreatedTime": { "type": "timestamp" }, "Scheme": {} } } }, "NextMarker": {} } } }, "DescribeTags": { "input": { "type": "structure", "required": [ "LoadBalancerNames" ], "members": { "LoadBalancerNames": { "type": "list", "member": {} } } }, "output": { "resultWrapper": "DescribeTagsResult", "type": "structure", "members": { "TagDescriptions": { "type": "list", "member": { "type": "structure", "members": { "LoadBalancerName": {}, "Tags": { "shape": "S4" } } } } } } }, "DetachLoadBalancerFromSubnets": { "input": { "type": "structure", "required": [ "LoadBalancerName", "Subnets" ], "members": { "LoadBalancerName": {}, "Subnets": { "shape": "Se" } } }, "output": { "resultWrapper": "DetachLoadBalancerFromSubnetsResult", "type": "structure", "members": { "Subnets": { "shape": "Se" } } } }, "DisableAvailabilityZonesForLoadBalancer": { "input": { "type": "structure", "required": [ "LoadBalancerName", "AvailabilityZones" ], "members": { "LoadBalancerName": {}, "AvailabilityZones": { "shape": "S13" } } }, "output": { "resultWrapper": "DisableAvailabilityZonesForLoadBalancerResult", "type": "structure", "members": { "AvailabilityZones": { "shape": "S13" } } } }, "EnableAvailabilityZonesForLoadBalancer": { "input": { "type": "structure", "required": [ "LoadBalancerName", "AvailabilityZones" ], "members": { "LoadBalancerName": {}, "AvailabilityZones": { "shape": "S13" } } }, "output": { "resultWrapper": "EnableAvailabilityZonesForLoadBalancerResult", "type": "structure", "members": { "AvailabilityZones": { "shape": "S13" } } } }, "ModifyLoadBalancerAttributes": { "input": { "type": "structure", "required": [ "LoadBalancerName", "LoadBalancerAttributes" ], "members": { "LoadBalancerName": {}, "LoadBalancerAttributes": { "shape": "S2a" } } }, "output": { "resultWrapper": "ModifyLoadBalancerAttributesResult", "type": "structure", "members": { "LoadBalancerName": {}, "LoadBalancerAttributes": { "shape": "S2a" } } } }, "RegisterInstancesWithLoadBalancer": { "input": { "type": "structure", "required": [ "LoadBalancerName", "Instances" ], "members": { "LoadBalancerName": {}, "Instances": { "shape": "S1p" } } }, "output": { "resultWrapper": "RegisterInstancesWithLoadBalancerResult", "type": "structure", "members": { "Instances": { "shape": "S1p" } } } }, "RemoveTags": { "input": { "type": "structure", "required": [ "LoadBalancerNames", "Tags" ], "members": { "LoadBalancerNames": { "shape": "S2" }, "Tags": { "type": "list", "member": { "type": "structure", "members": { "Key": {} } } } } }, "output": { "resultWrapper": "RemoveTagsResult", "type": "structure", "members": {} } }, "SetLoadBalancerListenerSSLCertificate": { "input": { "type": "structure", "required": [ "LoadBalancerName", "LoadBalancerPort", "SSLCertificateId" ], "members": { "LoadBalancerName": {}, "LoadBalancerPort": { "type": "integer" }, "SSLCertificateId": {} } }, "output": { "resultWrapper": "SetLoadBalancerListenerSSLCertificateResult", "type": "structure", "members": {} } }, "SetLoadBalancerPoliciesForBackendServer": { "input": { "type": "structure", "required": [ "LoadBalancerName", "InstancePort", "PolicyNames" ], "members": { "LoadBalancerName": {}, "InstancePort": { "type": "integer" }, "PolicyNames": { "shape": "S2s" } } }, "output": { "resultWrapper": "SetLoadBalancerPoliciesForBackendServerResult", "type": "structure", "members": {} } }, "SetLoadBalancerPoliciesOfListener": { "input": { "type": "structure", "required": [ "LoadBalancerName", "LoadBalancerPort", "PolicyNames" ], "members": { "LoadBalancerName": {}, "LoadBalancerPort": { "type": "integer" }, "PolicyNames": { "shape": "S2s" } } }, "output": { "resultWrapper": "SetLoadBalancerPoliciesOfListenerResult", "type": "structure", "members": {} } } }, "shapes": { "S2": { "type": "list", "member": {} }, "S4": { "type": "list", "member": { "type": "structure", "required": [ "Key" ], "members": { "Key": {}, "Value": {} } } }, "Sa": { "type": "list", "member": {} }, "Se": { "type": "list", "member": {} }, "Si": { "type": "structure", "required": [ "Target", "Interval", "Timeout", "UnhealthyThreshold", "HealthyThreshold" ], "members": { "Target": {}, "Interval": { "type": "integer" }, "Timeout": { "type": "integer" }, "UnhealthyThreshold": { "type": "integer" }, "HealthyThreshold": { "type": "integer" } } }, "Sx": { "type": "list", "member": { "shape": "Sy" } }, "Sy": { "type": "structure", "required": [ "Protocol", "LoadBalancerPort", "InstancePort" ], "members": { "Protocol": {}, "LoadBalancerPort": { "type": "integer" }, "InstanceProtocol": {}, "InstancePort": { "type": "integer" }, "SSLCertificateId": {} } }, "S13": { "type": "list", "member": {} }, "S1p": { "type": "list", "member": { "type": "structure", "members": { "InstanceId": {} } } }, "S2a": { "type": "structure", "members": { "CrossZoneLoadBalancing": { "type": "structure", "required": [ "Enabled" ], "members": { "Enabled": { "type": "boolean" } } }, "AccessLog": { "type": "structure", "required": [ "Enabled" ], "members": { "Enabled": { "type": "boolean" }, "S3BucketName": {}, "EmitInterval": { "type": "integer" }, "S3BucketPrefix": {} } }, "ConnectionDraining": { "type": "structure", "required": [ "Enabled" ], "members": { "Enabled": { "type": "boolean" }, "Timeout": { "type": "integer" } } }, "ConnectionSettings": { "type": "structure", "required": [ "IdleTimeout" ], "members": { "IdleTimeout": { "type": "integer" } } }, "AdditionalAttributes": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } } } }, "S2s": { "type": "list", "member": {} } } } },{}],62:[function(require,module,exports){ module.exports={ "pagination": { "DescribeInstanceHealth": { "result_key": "InstanceStates" }, "DescribeLoadBalancerPolicies": { "result_key": "PolicyDescriptions" }, "DescribeLoadBalancerPolicyTypes": { "result_key": "PolicyTypeDescriptions" }, "DescribeLoadBalancers": { "input_token": "Marker", "output_token": "NextMarker", "result_key": "LoadBalancerDescriptions" } } } },{}],63:[function(require,module,exports){ module.exports={ "version":2, "waiters":{ "InstanceDeregistered": { "delay": 15, "operation": "DescribeInstanceHealth", "maxAttempts": 40, "acceptors": [ { "expected": "OutOfService", "matcher": "pathAll", "state": "success", "argument": "InstanceStates[].State" }, { "matcher": "error", "expected": "InvalidInstance", "state": "success" } ] }, "AnyInstanceInService":{ "acceptors":[ { "argument":"InstanceStates[].State", "expected":"InService", "matcher":"pathAny", "state":"success" } ], "delay":15, "maxAttempts":40, "operation":"DescribeInstanceHealth" }, "InstanceInService":{ "acceptors":[ { "argument":"InstanceStates[].State", "expected":"InService", "matcher":"pathAll", "state":"success" }, { "matcher": "error", "expected": "InvalidInstance", "state": "retry" } ], "delay":15, "maxAttempts":40, "operation":"DescribeInstanceHealth" } } } },{}],64:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-12-01", "endpointPrefix": "elasticloadbalancing", "protocol": "query", "serviceAbbreviation": "Elastic Load Balancing v2", "serviceFullName": "Elastic Load Balancing", "signatureVersion": "v4", "uid": "elasticloadbalancingv2-2015-12-01", "xmlNamespace": "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/" }, "operations": { "AddTags": { "input": { "type": "structure", "required": [ "ResourceArns", "Tags" ], "members": { "ResourceArns": { "shape": "S2" }, "Tags": { "shape": "S4" } } }, "output": { "resultWrapper": "AddTagsResult", "type": "structure", "members": {} } }, "CreateListener": { "input": { "type": "structure", "required": [ "LoadBalancerArn", "Protocol", "Port", "DefaultActions" ], "members": { "LoadBalancerArn": {}, "Protocol": {}, "Port": { "type": "integer" }, "SslPolicy": {}, "Certificates": { "shape": "Se" }, "DefaultActions": { "shape": "Sh" } } }, "output": { "resultWrapper": "CreateListenerResult", "type": "structure", "members": { "Listeners": { "shape": "Sm" } } } }, "CreateLoadBalancer": { "input": { "type": "structure", "required": [ "Name", "Subnets" ], "members": { "Name": {}, "Subnets": { "shape": "Sr" }, "SecurityGroups": { "shape": "St" }, "Scheme": {}, "Tags": { "shape": "S4" }, "IpAddressType": {} } }, "output": { "resultWrapper": "CreateLoadBalancerResult", "type": "structure", "members": { "LoadBalancers": { "shape": "Sy" } } } }, "CreateRule": { "input": { "type": "structure", "required": [ "ListenerArn", "Conditions", "Priority", "Actions" ], "members": { "ListenerArn": {}, "Conditions": { "shape": "S1c" }, "Priority": { "type": "integer" }, "Actions": { "shape": "Sh" } } }, "output": { "resultWrapper": "CreateRuleResult", "type": "structure", "members": { "Rules": { "shape": "S1j" } } } }, "CreateTargetGroup": { "input": { "type": "structure", "required": [ "Name", "Protocol", "Port", "VpcId" ], "members": { "Name": {}, "Protocol": {}, "Port": { "type": "integer" }, "VpcId": {}, "HealthCheckProtocol": {}, "HealthCheckPort": {}, "HealthCheckPath": {}, "HealthCheckIntervalSeconds": { "type": "integer" }, "HealthCheckTimeoutSeconds": { "type": "integer" }, "HealthyThresholdCount": { "type": "integer" }, "UnhealthyThresholdCount": { "type": "integer" }, "Matcher": { "shape": "S1v" } } }, "output": { "resultWrapper": "CreateTargetGroupResult", "type": "structure", "members": { "TargetGroups": { "shape": "S1y" } } } }, "DeleteListener": { "input": { "type": "structure", "required": [ "ListenerArn" ], "members": { "ListenerArn": {} } }, "output": { "resultWrapper": "DeleteListenerResult", "type": "structure", "members": {} } }, "DeleteLoadBalancer": { "input": { "type": "structure", "required": [ "LoadBalancerArn" ], "members": { "LoadBalancerArn": {} } }, "output": { "resultWrapper": "DeleteLoadBalancerResult", "type": "structure", "members": {} } }, "DeleteRule": { "input": { "type": "structure", "required": [ "RuleArn" ], "members": { "RuleArn": {} } }, "output": { "resultWrapper": "DeleteRuleResult", "type": "structure", "members": {} } }, "DeleteTargetGroup": { "input": { "type": "structure", "required": [ "TargetGroupArn" ], "members": { "TargetGroupArn": {} } }, "output": { "resultWrapper": "DeleteTargetGroupResult", "type": "structure", "members": {} } }, "DeregisterTargets": { "input": { "type": "structure", "required": [ "TargetGroupArn", "Targets" ], "members": { "TargetGroupArn": {}, "Targets": { "shape": "S2a" } } }, "output": { "resultWrapper": "DeregisterTargetsResult", "type": "structure", "members": {} } }, "DescribeAccountLimits": { "input": { "type": "structure", "members": { "Marker": {}, "PageSize": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeAccountLimitsResult", "type": "structure", "members": { "Limits": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Max": {} } } }, "NextMarker": {} } } }, "DescribeListeners": { "input": { "type": "structure", "members": { "LoadBalancerArn": {}, "ListenerArns": { "type": "list", "member": {} }, "Marker": {}, "PageSize": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeListenersResult", "type": "structure", "members": { "Listeners": { "shape": "Sm" }, "NextMarker": {} } } }, "DescribeLoadBalancerAttributes": { "input": { "type": "structure", "required": [ "LoadBalancerArn" ], "members": { "LoadBalancerArn": {} } }, "output": { "resultWrapper": "DescribeLoadBalancerAttributesResult", "type": "structure", "members": { "Attributes": { "shape": "S2r" } } } }, "DescribeLoadBalancers": { "input": { "type": "structure", "members": { "LoadBalancerArns": { "shape": "S20" }, "Names": { "type": "list", "member": {} }, "Marker": {}, "PageSize": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeLoadBalancersResult", "type": "structure", "members": { "LoadBalancers": { "shape": "Sy" }, "NextMarker": {} } } }, "DescribeRules": { "input": { "type": "structure", "members": { "ListenerArn": {}, "RuleArns": { "type": "list", "member": {} }, "Marker": {}, "PageSize": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeRulesResult", "type": "structure", "members": { "Rules": { "shape": "S1j" }, "NextMarker": {} } } }, "DescribeSSLPolicies": { "input": { "type": "structure", "members": { "Names": { "type": "list", "member": {} }, "Marker": {}, "PageSize": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeSSLPoliciesResult", "type": "structure", "members": { "SslPolicies": { "type": "list", "member": { "type": "structure", "members": { "SslProtocols": { "type": "list", "member": {} }, "Ciphers": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Priority": { "type": "integer" } } } }, "Name": {} } } }, "NextMarker": {} } } }, "DescribeTags": { "input": { "type": "structure", "required": [ "ResourceArns" ], "members": { "ResourceArns": { "shape": "S2" } } }, "output": { "resultWrapper": "DescribeTagsResult", "type": "structure", "members": { "TagDescriptions": { "type": "list", "member": { "type": "structure", "members": { "ResourceArn": {}, "Tags": { "shape": "S4" } } } } } } }, "DescribeTargetGroupAttributes": { "input": { "type": "structure", "required": [ "TargetGroupArn" ], "members": { "TargetGroupArn": {} } }, "output": { "resultWrapper": "DescribeTargetGroupAttributesResult", "type": "structure", "members": { "Attributes": { "shape": "S3i" } } } }, "DescribeTargetGroups": { "input": { "type": "structure", "members": { "LoadBalancerArn": {}, "TargetGroupArns": { "type": "list", "member": {} }, "Names": { "type": "list", "member": {} }, "Marker": {}, "PageSize": { "type": "integer" } } }, "output": { "resultWrapper": "DescribeTargetGroupsResult", "type": "structure", "members": { "TargetGroups": { "shape": "S1y" }, "NextMarker": {} } } }, "DescribeTargetHealth": { "input": { "type": "structure", "required": [ "TargetGroupArn" ], "members": { "TargetGroupArn": {}, "Targets": { "shape": "S2a" } } }, "output": { "resultWrapper": "DescribeTargetHealthResult", "type": "structure", "members": { "TargetHealthDescriptions": { "type": "list", "member": { "type": "structure", "members": { "Target": { "shape": "S2b" }, "HealthCheckPort": {}, "TargetHealth": { "type": "structure", "members": { "State": {}, "Reason": {}, "Description": {} } } } } } } } }, "ModifyListener": { "input": { "type": "structure", "required": [ "ListenerArn" ], "members": { "ListenerArn": {}, "Port": { "type": "integer" }, "Protocol": {}, "SslPolicy": {}, "Certificates": { "shape": "Se" }, "DefaultActions": { "shape": "Sh" } } }, "output": { "resultWrapper": "ModifyListenerResult", "type": "structure", "members": { "Listeners": { "shape": "Sm" } } } }, "ModifyLoadBalancerAttributes": { "input": { "type": "structure", "required": [ "LoadBalancerArn", "Attributes" ], "members": { "LoadBalancerArn": {}, "Attributes": { "shape": "S2r" } } }, "output": { "resultWrapper": "ModifyLoadBalancerAttributesResult", "type": "structure", "members": { "Attributes": { "shape": "S2r" } } } }, "ModifyRule": { "input": { "type": "structure", "required": [ "RuleArn" ], "members": { "RuleArn": {}, "Conditions": { "shape": "S1c" }, "Actions": { "shape": "Sh" } } }, "output": { "resultWrapper": "ModifyRuleResult", "type": "structure", "members": { "Rules": { "shape": "S1j" } } } }, "ModifyTargetGroup": { "input": { "type": "structure", "required": [ "TargetGroupArn" ], "members": { "TargetGroupArn": {}, "HealthCheckProtocol": {}, "HealthCheckPort": {}, "HealthCheckPath": {}, "HealthCheckIntervalSeconds": { "type": "integer" }, "HealthCheckTimeoutSeconds": { "type": "integer" }, "HealthyThresholdCount": { "type": "integer" }, "UnhealthyThresholdCount": { "type": "integer" }, "Matcher": { "shape": "S1v" } } }, "output": { "resultWrapper": "ModifyTargetGroupResult", "type": "structure", "members": { "TargetGroups": { "shape": "S1y" } } } }, "ModifyTargetGroupAttributes": { "input": { "type": "structure", "required": [ "TargetGroupArn", "Attributes" ], "members": { "TargetGroupArn": {}, "Attributes": { "shape": "S3i" } } }, "output": { "resultWrapper": "ModifyTargetGroupAttributesResult", "type": "structure", "members": { "Attributes": { "shape": "S3i" } } } }, "RegisterTargets": { "input": { "type": "structure", "required": [ "TargetGroupArn", "Targets" ], "members": { "TargetGroupArn": {}, "Targets": { "shape": "S2a" } } }, "output": { "resultWrapper": "RegisterTargetsResult", "type": "structure", "members": {} } }, "RemoveTags": { "input": { "type": "structure", "required": [ "ResourceArns", "TagKeys" ], "members": { "ResourceArns": { "shape": "S2" }, "TagKeys": { "type": "list", "member": {} } } }, "output": { "resultWrapper": "RemoveTagsResult", "type": "structure", "members": {} } }, "SetIpAddressType": { "input": { "type": "structure", "required": [ "LoadBalancerArn", "IpAddressType" ], "members": { "LoadBalancerArn": {}, "IpAddressType": {} } }, "output": { "resultWrapper": "SetIpAddressTypeResult", "type": "structure", "members": { "IpAddressType": {} } } }, "SetRulePriorities": { "input": { "type": "structure", "required": [ "RulePriorities" ], "members": { "RulePriorities": { "type": "list", "member": { "type": "structure", "members": { "RuleArn": {}, "Priority": { "type": "integer" } } } } } }, "output": { "resultWrapper": "SetRulePrioritiesResult", "type": "structure", "members": { "Rules": { "shape": "S1j" } } } }, "SetSecurityGroups": { "input": { "type": "structure", "required": [ "LoadBalancerArn", "SecurityGroups" ], "members": { "LoadBalancerArn": {}, "SecurityGroups": { "shape": "St" } } }, "output": { "resultWrapper": "SetSecurityGroupsResult", "type": "structure", "members": { "SecurityGroupIds": { "shape": "St" } } } }, "SetSubnets": { "input": { "type": "structure", "required": [ "LoadBalancerArn", "Subnets" ], "members": { "LoadBalancerArn": {}, "Subnets": { "shape": "Sr" } } }, "output": { "resultWrapper": "SetSubnetsResult", "type": "structure", "members": { "AvailabilityZones": { "shape": "S18" } } } } }, "shapes": { "S2": { "type": "list", "member": {} }, "S4": { "type": "list", "member": { "type": "structure", "required": [ "Key" ], "members": { "Key": {}, "Value": {} } } }, "Se": { "type": "list", "member": { "type": "structure", "members": { "CertificateArn": {} } } }, "Sh": { "type": "list", "member": { "type": "structure", "required": [ "Type", "TargetGroupArn" ], "members": { "Type": {}, "TargetGroupArn": {} } } }, "Sm": { "type": "list", "member": { "type": "structure", "members": { "ListenerArn": {}, "LoadBalancerArn": {}, "Port": { "type": "integer" }, "Protocol": {}, "Certificates": { "shape": "Se" }, "SslPolicy": {}, "DefaultActions": { "shape": "Sh" } } } }, "Sr": { "type": "list", "member": {} }, "St": { "type": "list", "member": {} }, "Sy": { "type": "list", "member": { "type": "structure", "members": { "LoadBalancerArn": {}, "DNSName": {}, "CanonicalHostedZoneId": {}, "CreatedTime": { "type": "timestamp" }, "LoadBalancerName": {}, "Scheme": {}, "VpcId": {}, "State": { "type": "structure", "members": { "Code": {}, "Reason": {} } }, "Type": {}, "AvailabilityZones": { "shape": "S18" }, "SecurityGroups": { "shape": "St" }, "IpAddressType": {} } } }, "S18": { "type": "list", "member": { "type": "structure", "members": { "ZoneName": {}, "SubnetId": {} } } }, "S1c": { "type": "list", "member": { "type": "structure", "members": { "Field": {}, "Values": { "type": "list", "member": {} } } } }, "S1j": { "type": "list", "member": { "type": "structure", "members": { "RuleArn": {}, "Priority": {}, "Conditions": { "shape": "S1c" }, "Actions": { "shape": "Sh" }, "IsDefault": { "type": "boolean" } } } }, "S1v": { "type": "structure", "required": [ "HttpCode" ], "members": { "HttpCode": {} } }, "S1y": { "type": "list", "member": { "type": "structure", "members": { "TargetGroupArn": {}, "TargetGroupName": {}, "Protocol": {}, "Port": { "type": "integer" }, "VpcId": {}, "HealthCheckProtocol": {}, "HealthCheckPort": {}, "HealthCheckIntervalSeconds": { "type": "integer" }, "HealthCheckTimeoutSeconds": { "type": "integer" }, "HealthyThresholdCount": { "type": "integer" }, "UnhealthyThresholdCount": { "type": "integer" }, "HealthCheckPath": {}, "Matcher": { "shape": "S1v" }, "LoadBalancerArns": { "shape": "S20" } } } }, "S20": { "type": "list", "member": {} }, "S2a": { "type": "list", "member": { "shape": "S2b" } }, "S2b": { "type": "structure", "required": [ "Id" ], "members": { "Id": {}, "Port": { "type": "integer" } } }, "S2r": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } }, "S3i": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } } } } },{}],65:[function(require,module,exports){ module.exports={ "pagination": { "DescribeListeners": { "input_token": "Marker", "output_token": "NextMarker", "result_key": "Listeners" }, "DescribeLoadBalancers": { "input_token": "Marker", "output_token": "NextMarker", "result_key": "LoadBalancers" }, "DescribeTargetGroups": { "input_token": "Marker", "output_token": "NextMarker", "result_key": "TargetGroups" } } } },{}],66:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "LoadBalancerExists": { "delay": 15, "operation": "DescribeLoadBalancers", "maxAttempts": 40, "acceptors": [ { "matcher": "status", "expected": 200, "state": "success" }, { "matcher": "error", "expected": "LoadBalancerNotFound", "state": "retry" } ] }, "LoadBalancerAvailable": { "delay": 15, "operation": "DescribeLoadBalancers", "maxAttempts": 40, "acceptors": [ { "state": "success", "matcher": "pathAll", "argument": "LoadBalancers[].State.Code", "expected": "active" }, { "state": "retry", "matcher": "pathAny", "argument": "LoadBalancers[].State.Code", "expected": "provisioning" }, { "state": "retry", "matcher": "error", "expected": "LoadBalancerNotFound" } ] }, "LoadBalancersDeleted": { "delay": 15, "operation": "DescribeLoadBalancers", "maxAttempts": 40, "acceptors": [ { "state": "retry", "matcher": "pathAll", "argument": "LoadBalancers[].State.Code", "expected": "active" }, { "matcher": "error", "expected": "LoadBalancerNotFound", "state": "success" } ] } } } },{}],67:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2009-03-31", "endpointPrefix": "elasticmapreduce", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "Amazon EMR", "serviceFullName": "Amazon Elastic MapReduce", "signatureVersion": "v4", "targetPrefix": "ElasticMapReduce", "timestampFormat": "unixTimestamp", "uid": "elasticmapreduce-2009-03-31" }, "operations": { "AddInstanceFleet": { "input": { "type": "structure", "required": [ "ClusterId", "InstanceFleet" ], "members": { "ClusterId": {}, "InstanceFleet": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "ClusterId": {}, "InstanceFleetId": {} } } }, "AddInstanceGroups": { "input": { "type": "structure", "required": [ "InstanceGroups", "JobFlowId" ], "members": { "InstanceGroups": { "shape": "Sq" }, "JobFlowId": {} } }, "output": { "type": "structure", "members": { "JobFlowId": {}, "InstanceGroupIds": { "type": "list", "member": {} } } } }, "AddJobFlowSteps": { "input": { "type": "structure", "required": [ "JobFlowId", "Steps" ], "members": { "JobFlowId": {}, "Steps": { "shape": "S1b" } } }, "output": { "type": "structure", "members": { "StepIds": { "shape": "S1k" } } } }, "AddTags": { "input": { "type": "structure", "required": [ "ResourceId", "Tags" ], "members": { "ResourceId": {}, "Tags": { "shape": "S1n" } } }, "output": { "type": "structure", "members": {} } }, "CancelSteps": { "input": { "type": "structure", "members": { "ClusterId": {}, "StepIds": { "shape": "S1k" } } }, "output": { "type": "structure", "members": { "CancelStepsInfoList": { "type": "list", "member": { "type": "structure", "members": { "StepId": {}, "Status": {}, "Reason": {} } } } } } }, "CreateSecurityConfiguration": { "input": { "type": "structure", "required": [ "Name", "SecurityConfiguration" ], "members": { "Name": {}, "SecurityConfiguration": {} } }, "output": { "type": "structure", "required": [ "Name", "CreationDateTime" ], "members": { "Name": {}, "CreationDateTime": { "type": "timestamp" } } } }, "DeleteSecurityConfiguration": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } }, "output": { "type": "structure", "members": {} } }, "DescribeCluster": { "input": { "type": "structure", "required": [ "ClusterId" ], "members": { "ClusterId": {} } }, "output": { "type": "structure", "members": { "Cluster": { "type": "structure", "members": { "Id": {}, "Name": {}, "Status": { "shape": "S25" }, "Ec2InstanceAttributes": { "type": "structure", "members": { "Ec2KeyName": {}, "Ec2SubnetId": {}, "RequestedEc2SubnetIds": { "shape": "S2b" }, "Ec2AvailabilityZone": {}, "RequestedEc2AvailabilityZones": { "shape": "S2b" }, "IamInstanceProfile": {}, "EmrManagedMasterSecurityGroup": {}, "EmrManagedSlaveSecurityGroup": {}, "ServiceAccessSecurityGroup": {}, "AdditionalMasterSecurityGroups": { "shape": "S2c" }, "AdditionalSlaveSecurityGroups": { "shape": "S2c" } } }, "InstanceCollectionType": {}, "LogUri": {}, "RequestedAmiVersion": {}, "RunningAmiVersion": {}, "ReleaseLabel": {}, "AutoTerminate": { "type": "boolean" }, "TerminationProtected": { "type": "boolean" }, "VisibleToAllUsers": { "type": "boolean" }, "Applications": { "shape": "S2f" }, "Tags": { "shape": "S1n" }, "ServiceRole": {}, "NormalizedInstanceHours": { "type": "integer" }, "MasterPublicDnsName": {}, "Configurations": { "shape": "Sh" }, "SecurityConfiguration": {}, "AutoScalingRole": {}, "ScaleDownBehavior": {} } } } } }, "DescribeJobFlows": { "input": { "type": "structure", "members": { "CreatedAfter": { "type": "timestamp" }, "CreatedBefore": { "type": "timestamp" }, "JobFlowIds": { "shape": "S1i" }, "JobFlowStates": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "JobFlows": { "type": "list", "member": { "type": "structure", "required": [ "JobFlowId", "Name", "ExecutionStatusDetail", "Instances" ], "members": { "JobFlowId": {}, "Name": {}, "LogUri": {}, "AmiVersion": {}, "ExecutionStatusDetail": { "type": "structure", "required": [ "State", "CreationDateTime" ], "members": { "State": {}, "CreationDateTime": { "type": "timestamp" }, "StartDateTime": { "type": "timestamp" }, "ReadyDateTime": { "type": "timestamp" }, "EndDateTime": { "type": "timestamp" }, "LastStateChangeReason": {} } }, "Instances": { "type": "structure", "required": [ "MasterInstanceType", "SlaveInstanceType", "InstanceCount" ], "members": { "MasterInstanceType": {}, "MasterPublicDnsName": {}, "MasterInstanceId": {}, "SlaveInstanceType": {}, "InstanceCount": { "type": "integer" }, "InstanceGroups": { "type": "list", "member": { "type": "structure", "required": [ "Market", "InstanceRole", "InstanceType", "InstanceRequestCount", "InstanceRunningCount", "State", "CreationDateTime" ], "members": { "InstanceGroupId": {}, "Name": {}, "Market": {}, "InstanceRole": {}, "BidPrice": {}, "InstanceType": {}, "InstanceRequestCount": { "type": "integer" }, "InstanceRunningCount": { "type": "integer" }, "State": {}, "LastStateChangeReason": {}, "CreationDateTime": { "type": "timestamp" }, "StartDateTime": { "type": "timestamp" }, "ReadyDateTime": { "type": "timestamp" }, "EndDateTime": { "type": "timestamp" } } } }, "NormalizedInstanceHours": { "type": "integer" }, "Ec2KeyName": {}, "Ec2SubnetId": {}, "Placement": { "shape": "S2t" }, "KeepJobFlowAliveWhenNoSteps": { "type": "boolean" }, "TerminationProtected": { "type": "boolean" }, "HadoopVersion": {} } }, "Steps": { "type": "list", "member": { "type": "structure", "required": [ "StepConfig", "ExecutionStatusDetail" ], "members": { "StepConfig": { "shape": "S1c" }, "ExecutionStatusDetail": { "type": "structure", "required": [ "State", "CreationDateTime" ], "members": { "State": {}, "CreationDateTime": { "type": "timestamp" }, "StartDateTime": { "type": "timestamp" }, "EndDateTime": { "type": "timestamp" }, "LastStateChangeReason": {} } } } } }, "BootstrapActions": { "type": "list", "member": { "type": "structure", "members": { "BootstrapActionConfig": { "shape": "S30" } } } }, "SupportedProducts": { "shape": "S32" }, "VisibleToAllUsers": { "type": "boolean" }, "JobFlowRole": {}, "ServiceRole": {}, "AutoScalingRole": {}, "ScaleDownBehavior": {} } } } } }, "deprecated": true }, "DescribeSecurityConfiguration": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } }, "output": { "type": "structure", "members": { "Name": {}, "SecurityConfiguration": {}, "CreationDateTime": { "type": "timestamp" } } } }, "DescribeStep": { "input": { "type": "structure", "required": [ "ClusterId", "StepId" ], "members": { "ClusterId": {}, "StepId": {} } }, "output": { "type": "structure", "members": { "Step": { "type": "structure", "members": { "Id": {}, "Name": {}, "Config": { "shape": "S38" }, "ActionOnFailure": {}, "Status": { "shape": "S39" } } } } } }, "ListBootstrapActions": { "input": { "type": "structure", "required": [ "ClusterId" ], "members": { "ClusterId": {}, "Marker": {} } }, "output": { "type": "structure", "members": { "BootstrapActions": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "ScriptPath": {}, "Args": { "shape": "S2c" } } } }, "Marker": {} } } }, "ListClusters": { "input": { "type": "structure", "members": { "CreatedAfter": { "type": "timestamp" }, "CreatedBefore": { "type": "timestamp" }, "ClusterStates": { "type": "list", "member": {} }, "Marker": {} } }, "output": { "type": "structure", "members": { "Clusters": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Name": {}, "Status": { "shape": "S25" }, "NormalizedInstanceHours": { "type": "integer" } } } }, "Marker": {} } } }, "ListInstanceFleets": { "input": { "type": "structure", "required": [ "ClusterId" ], "members": { "ClusterId": {}, "Marker": {} } }, "output": { "type": "structure", "members": { "InstanceFleets": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Name": {}, "Status": { "type": "structure", "members": { "State": {}, "StateChangeReason": { "type": "structure", "members": { "Code": {}, "Message": {} } }, "Timeline": { "type": "structure", "members": { "CreationDateTime": { "type": "timestamp" }, "ReadyDateTime": { "type": "timestamp" }, "EndDateTime": { "type": "timestamp" } } } } }, "InstanceFleetType": {}, "TargetOnDemandCapacity": { "type": "integer" }, "TargetSpotCapacity": { "type": "integer" }, "ProvisionedOnDemandCapacity": { "type": "integer" }, "ProvisionedSpotCapacity": { "type": "integer" }, "InstanceTypeSpecifications": { "type": "list", "member": { "type": "structure", "members": { "InstanceType": {}, "WeightedCapacity": { "type": "integer" }, "BidPrice": {}, "BidPriceAsPercentageOfOnDemandPrice": { "type": "double" }, "Configurations": { "shape": "Sh" }, "EbsBlockDevices": { "shape": "S40" }, "EbsOptimized": { "type": "boolean" } } } }, "LaunchSpecifications": { "shape": "Sk" } } } }, "Marker": {} } } }, "ListInstanceGroups": { "input": { "type": "structure", "required": [ "ClusterId" ], "members": { "ClusterId": {}, "Marker": {} } }, "output": { "type": "structure", "members": { "InstanceGroups": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Name": {}, "Market": {}, "InstanceGroupType": {}, "BidPrice": {}, "InstanceType": {}, "RequestedInstanceCount": { "type": "integer" }, "RunningInstanceCount": { "type": "integer" }, "Status": { "type": "structure", "members": { "State": {}, "StateChangeReason": { "type": "structure", "members": { "Code": {}, "Message": {} } }, "Timeline": { "type": "structure", "members": { "CreationDateTime": { "type": "timestamp" }, "ReadyDateTime": { "type": "timestamp" }, "EndDateTime": { "type": "timestamp" } } } } }, "Configurations": { "shape": "Sh" }, "EbsBlockDevices": { "shape": "S40" }, "EbsOptimized": { "type": "boolean" }, "ShrinkPolicy": { "shape": "S4c" }, "AutoScalingPolicy": { "shape": "S4g" } } } }, "Marker": {} } } }, "ListInstances": { "input": { "type": "structure", "required": [ "ClusterId" ], "members": { "ClusterId": {}, "InstanceGroupId": {}, "InstanceGroupTypes": { "type": "list", "member": {} }, "InstanceFleetId": {}, "InstanceFleetType": {}, "InstanceStates": { "type": "list", "member": {} }, "Marker": {} } }, "output": { "type": "structure", "members": { "Instances": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Ec2InstanceId": {}, "PublicDnsName": {}, "PublicIpAddress": {}, "PrivateDnsName": {}, "PrivateIpAddress": {}, "Status": { "type": "structure", "members": { "State": {}, "StateChangeReason": { "type": "structure", "members": { "Code": {}, "Message": {} } }, "Timeline": { "type": "structure", "members": { "CreationDateTime": { "type": "timestamp" }, "ReadyDateTime": { "type": "timestamp" }, "EndDateTime": { "type": "timestamp" } } } } }, "InstanceGroupId": {}, "InstanceFleetId": {}, "Market": {}, "InstanceType": {}, "EbsVolumes": { "type": "list", "member": { "type": "structure", "members": { "Device": {}, "VolumeId": {} } } } } } }, "Marker": {} } } }, "ListSecurityConfigurations": { "input": { "type": "structure", "members": { "Marker": {} } }, "output": { "type": "structure", "members": { "SecurityConfigurations": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "CreationDateTime": { "type": "timestamp" } } } }, "Marker": {} } } }, "ListSteps": { "input": { "type": "structure", "required": [ "ClusterId" ], "members": { "ClusterId": {}, "StepStates": { "type": "list", "member": {} }, "StepIds": { "shape": "S1i" }, "Marker": {} } }, "output": { "type": "structure", "members": { "Steps": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Name": {}, "Config": { "shape": "S38" }, "ActionOnFailure": {}, "Status": { "shape": "S39" } } } }, "Marker": {} } } }, "ModifyInstanceFleet": { "input": { "type": "structure", "required": [ "ClusterId", "InstanceFleet" ], "members": { "ClusterId": {}, "InstanceFleet": { "type": "structure", "required": [ "InstanceFleetId" ], "members": { "InstanceFleetId": {}, "TargetOnDemandCapacity": { "type": "integer" }, "TargetSpotCapacity": { "type": "integer" } } } } } }, "ModifyInstanceGroups": { "input": { "type": "structure", "members": { "ClusterId": {}, "InstanceGroups": { "type": "list", "member": { "type": "structure", "required": [ "InstanceGroupId" ], "members": { "InstanceGroupId": {}, "InstanceCount": { "type": "integer" }, "EC2InstanceIdsToTerminate": { "type": "list", "member": {} }, "ShrinkPolicy": { "shape": "S4c" } } } } } } }, "PutAutoScalingPolicy": { "input": { "type": "structure", "required": [ "ClusterId", "InstanceGroupId", "AutoScalingPolicy" ], "members": { "ClusterId": {}, "InstanceGroupId": {}, "AutoScalingPolicy": { "shape": "Su" } } }, "output": { "type": "structure", "members": { "ClusterId": {}, "InstanceGroupId": {}, "AutoScalingPolicy": { "shape": "S4g" } } } }, "RemoveAutoScalingPolicy": { "input": { "type": "structure", "required": [ "ClusterId", "InstanceGroupId" ], "members": { "ClusterId": {}, "InstanceGroupId": {} } }, "output": { "type": "structure", "members": {} } }, "RemoveTags": { "input": { "type": "structure", "required": [ "ResourceId", "TagKeys" ], "members": { "ResourceId": {}, "TagKeys": { "shape": "S2c" } } }, "output": { "type": "structure", "members": {} } }, "RunJobFlow": { "input": { "type": "structure", "required": [ "Name", "Instances" ], "members": { "Name": {}, "LogUri": {}, "AdditionalInfo": {}, "AmiVersion": {}, "ReleaseLabel": {}, "Instances": { "type": "structure", "members": { "MasterInstanceType": {}, "SlaveInstanceType": {}, "InstanceCount": { "type": "integer" }, "InstanceGroups": { "shape": "Sq" }, "InstanceFleets": { "type": "list", "member": { "shape": "S3" } }, "Ec2KeyName": {}, "Placement": { "shape": "S2t" }, "KeepJobFlowAliveWhenNoSteps": { "type": "boolean" }, "TerminationProtected": { "type": "boolean" }, "HadoopVersion": {}, "Ec2SubnetId": {}, "Ec2SubnetIds": { "shape": "S2b" }, "EmrManagedMasterSecurityGroup": {}, "EmrManagedSlaveSecurityGroup": {}, "ServiceAccessSecurityGroup": {}, "AdditionalMasterSecurityGroups": { "shape": "S5m" }, "AdditionalSlaveSecurityGroups": { "shape": "S5m" } } }, "Steps": { "shape": "S1b" }, "BootstrapActions": { "type": "list", "member": { "shape": "S30" } }, "SupportedProducts": { "shape": "S32" }, "NewSupportedProducts": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Args": { "shape": "S1i" } } } }, "Applications": { "shape": "S2f" }, "Configurations": { "shape": "Sh" }, "VisibleToAllUsers": { "type": "boolean" }, "JobFlowRole": {}, "ServiceRole": {}, "Tags": { "shape": "S1n" }, "SecurityConfiguration": {}, "AutoScalingRole": {}, "ScaleDownBehavior": {} } }, "output": { "type": "structure", "members": { "JobFlowId": {} } } }, "SetTerminationProtection": { "input": { "type": "structure", "required": [ "JobFlowIds", "TerminationProtected" ], "members": { "JobFlowIds": { "shape": "S1i" }, "TerminationProtected": { "type": "boolean" } } } }, "SetVisibleToAllUsers": { "input": { "type": "structure", "required": [ "JobFlowIds", "VisibleToAllUsers" ], "members": { "JobFlowIds": { "shape": "S1i" }, "VisibleToAllUsers": { "type": "boolean" } } } }, "TerminateJobFlows": { "input": { "type": "structure", "required": [ "JobFlowIds" ], "members": { "JobFlowIds": { "shape": "S1i" } } } } }, "shapes": { "S3": { "type": "structure", "required": [ "InstanceFleetType" ], "members": { "Name": {}, "InstanceFleetType": {}, "TargetOnDemandCapacity": { "type": "integer" }, "TargetSpotCapacity": { "type": "integer" }, "InstanceTypeConfigs": { "type": "list", "member": { "type": "structure", "required": [ "InstanceType" ], "members": { "InstanceType": {}, "WeightedCapacity": { "type": "integer" }, "BidPrice": {}, "BidPriceAsPercentageOfOnDemandPrice": { "type": "double" }, "EbsConfiguration": { "shape": "Sa" }, "Configurations": { "shape": "Sh" } } } }, "LaunchSpecifications": { "shape": "Sk" } } }, "Sa": { "type": "structure", "members": { "EbsBlockDeviceConfigs": { "type": "list", "member": { "type": "structure", "required": [ "VolumeSpecification" ], "members": { "VolumeSpecification": { "shape": "Sd" }, "VolumesPerInstance": { "type": "integer" } } } }, "EbsOptimized": { "type": "boolean" } } }, "Sd": { "type": "structure", "required": [ "VolumeType", "SizeInGB" ], "members": { "VolumeType": {}, "Iops": { "type": "integer" }, "SizeInGB": { "type": "integer" } } }, "Sh": { "type": "list", "member": { "type": "structure", "members": { "Classification": {}, "Configurations": { "shape": "Sh" }, "Properties": { "shape": "Sj" } } } }, "Sj": { "type": "map", "key": {}, "value": {} }, "Sk": { "type": "structure", "required": [ "SpotSpecification" ], "members": { "SpotSpecification": { "type": "structure", "required": [ "TimeoutDurationMinutes", "TimeoutAction" ], "members": { "TimeoutDurationMinutes": { "type": "integer" }, "TimeoutAction": {}, "BlockDurationMinutes": { "type": "integer" } } } } }, "Sq": { "type": "list", "member": { "type": "structure", "required": [ "InstanceRole", "InstanceType", "InstanceCount" ], "members": { "Name": {}, "Market": {}, "InstanceRole": {}, "BidPrice": {}, "InstanceType": {}, "InstanceCount": { "type": "integer" }, "Configurations": { "shape": "Sh" }, "EbsConfiguration": { "shape": "Sa" }, "AutoScalingPolicy": { "shape": "Su" } } } }, "Su": { "type": "structure", "required": [ "Constraints", "Rules" ], "members": { "Constraints": { "shape": "Sv" }, "Rules": { "shape": "Sw" } } }, "Sv": { "type": "structure", "required": [ "MinCapacity", "MaxCapacity" ], "members": { "MinCapacity": { "type": "integer" }, "MaxCapacity": { "type": "integer" } } }, "Sw": { "type": "list", "member": { "type": "structure", "required": [ "Name", "Action", "Trigger" ], "members": { "Name": {}, "Description": {}, "Action": { "type": "structure", "required": [ "SimpleScalingPolicyConfiguration" ], "members": { "Market": {}, "SimpleScalingPolicyConfiguration": { "type": "structure", "required": [ "ScalingAdjustment" ], "members": { "AdjustmentType": {}, "ScalingAdjustment": { "type": "integer" }, "CoolDown": { "type": "integer" } } } } }, "Trigger": { "type": "structure", "required": [ "CloudWatchAlarmDefinition" ], "members": { "CloudWatchAlarmDefinition": { "type": "structure", "required": [ "ComparisonOperator", "MetricName", "Period", "Threshold" ], "members": { "ComparisonOperator": {}, "EvaluationPeriods": { "type": "integer" }, "MetricName": {}, "Namespace": {}, "Period": { "type": "integer" }, "Statistic": {}, "Threshold": { "type": "double" }, "Unit": {}, "Dimensions": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } } } } } } } } }, "S1b": { "type": "list", "member": { "shape": "S1c" } }, "S1c": { "type": "structure", "required": [ "Name", "HadoopJarStep" ], "members": { "Name": {}, "ActionOnFailure": {}, "HadoopJarStep": { "type": "structure", "required": [ "Jar" ], "members": { "Properties": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } }, "Jar": {}, "MainClass": {}, "Args": { "shape": "S1i" } } } } }, "S1i": { "type": "list", "member": {} }, "S1k": { "type": "list", "member": {} }, "S1n": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } }, "S25": { "type": "structure", "members": { "State": {}, "StateChangeReason": { "type": "structure", "members": { "Code": {}, "Message": {} } }, "Timeline": { "type": "structure", "members": { "CreationDateTime": { "type": "timestamp" }, "ReadyDateTime": { "type": "timestamp" }, "EndDateTime": { "type": "timestamp" } } } } }, "S2b": { "type": "list", "member": {} }, "S2c": { "type": "list", "member": {} }, "S2f": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Version": {}, "Args": { "shape": "S2c" }, "AdditionalInfo": { "shape": "Sj" } } } }, "S2t": { "type": "structure", "members": { "AvailabilityZone": {}, "AvailabilityZones": { "shape": "S2b" } } }, "S30": { "type": "structure", "required": [ "Name", "ScriptBootstrapAction" ], "members": { "Name": {}, "ScriptBootstrapAction": { "type": "structure", "required": [ "Path" ], "members": { "Path": {}, "Args": { "shape": "S1i" } } } } }, "S32": { "type": "list", "member": {} }, "S38": { "type": "structure", "members": { "Jar": {}, "Properties": { "shape": "Sj" }, "MainClass": {}, "Args": { "shape": "S2c" } } }, "S39": { "type": "structure", "members": { "State": {}, "StateChangeReason": { "type": "structure", "members": { "Code": {}, "Message": {} } }, "FailureDetails": { "type": "structure", "members": { "Reason": {}, "Message": {}, "LogFile": {} } }, "Timeline": { "type": "structure", "members": { "CreationDateTime": { "type": "timestamp" }, "StartDateTime": { "type": "timestamp" }, "EndDateTime": { "type": "timestamp" } } } } }, "S40": { "type": "list", "member": { "type": "structure", "members": { "VolumeSpecification": { "shape": "Sd" }, "Device": {} } } }, "S4c": { "type": "structure", "members": { "DecommissionTimeout": { "type": "integer" }, "InstanceResizePolicy": { "type": "structure", "members": { "InstancesToTerminate": { "shape": "S4e" }, "InstancesToProtect": { "shape": "S4e" }, "InstanceTerminationTimeout": { "type": "integer" } } } } }, "S4e": { "type": "list", "member": {} }, "S4g": { "type": "structure", "members": { "Status": { "type": "structure", "members": { "State": {}, "StateChangeReason": { "type": "structure", "members": { "Code": {}, "Message": {} } } } }, "Constraints": { "shape": "Sv" }, "Rules": { "shape": "Sw" } } }, "S5m": { "type": "list", "member": {} } } } },{}],68:[function(require,module,exports){ module.exports={ "pagination": { "DescribeJobFlows": { "result_key": "JobFlows" }, "ListBootstrapActions": { "input_token": "Marker", "output_token": "Marker", "result_key": "BootstrapActions" }, "ListClusters": { "input_token": "Marker", "output_token": "Marker", "result_key": "Clusters" }, "ListInstanceFleets": { "input_token": "Marker", "output_token": "Marker", "result_key": "InstanceFleets" }, "ListInstanceGroups": { "input_token": "Marker", "output_token": "Marker", "result_key": "InstanceGroups" }, "ListInstances": { "input_token": "Marker", "output_token": "Marker", "result_key": "Instances" }, "ListSteps": { "input_token": "Marker", "output_token": "Marker", "result_key": "Steps" } } } },{}],69:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "ClusterRunning": { "delay": 30, "operation": "DescribeCluster", "maxAttempts": 60, "acceptors": [ { "state": "success", "matcher": "path", "argument": "Cluster.Status.State", "expected": "RUNNING" }, { "state": "success", "matcher": "path", "argument": "Cluster.Status.State", "expected": "WAITING" }, { "state": "failure", "matcher": "path", "argument": "Cluster.Status.State", "expected": "TERMINATING" }, { "state": "failure", "matcher": "path", "argument": "Cluster.Status.State", "expected": "TERMINATED" }, { "state": "failure", "matcher": "path", "argument": "Cluster.Status.State", "expected": "TERMINATED_WITH_ERRORS" } ] }, "StepComplete": { "delay": 30, "operation": "DescribeStep", "maxAttempts": 60, "acceptors": [ { "state": "success", "matcher": "path", "argument": "Step.Status.State", "expected": "COMPLETED" }, { "state": "failure", "matcher": "path", "argument": "Step.Status.State", "expected": "FAILED" }, { "state": "failure", "matcher": "path", "argument": "Step.Status.State", "expected": "CANCELLED" } ] }, "ClusterTerminated": { "delay": 30, "operation": "DescribeCluster", "maxAttempts": 60, "acceptors": [ { "state": "success", "matcher": "path", "argument": "Cluster.Status.State", "expected": "TERMINATED" }, { "state": "failure", "matcher": "path", "argument": "Cluster.Status.State", "expected": "TERMINATED_WITH_ERRORS" } ] } } } },{}],70:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "uid": "elastictranscoder-2012-09-25", "apiVersion": "2012-09-25", "endpointPrefix": "elastictranscoder", "protocol": "rest-json", "serviceFullName": "Amazon Elastic Transcoder", "signatureVersion": "v4" }, "operations": { "CancelJob": { "http": { "method": "DELETE", "requestUri": "/2012-09-25/jobs/{Id}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "members": {} } }, "CreateJob": { "http": { "requestUri": "/2012-09-25/jobs", "responseCode": 201 }, "input": { "type": "structure", "required": [ "PipelineId" ], "members": { "PipelineId": {}, "Input": { "shape": "S5" }, "Inputs": { "shape": "St" }, "Output": { "shape": "Su" }, "Outputs": { "type": "list", "member": { "shape": "Su" } }, "OutputKeyPrefix": {}, "Playlists": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Format": {}, "OutputKeys": { "shape": "S1l" }, "HlsContentProtection": { "shape": "S1m" }, "PlayReadyDrm": { "shape": "S1q" } } } }, "UserMetadata": { "shape": "S1v" } } }, "output": { "type": "structure", "members": { "Job": { "shape": "S1y" } } } }, "CreatePipeline": { "http": { "requestUri": "/2012-09-25/pipelines", "responseCode": 201 }, "input": { "type": "structure", "required": [ "Name", "InputBucket", "Role" ], "members": { "Name": {}, "InputBucket": {}, "OutputBucket": {}, "Role": {}, "AwsKmsKeyArn": {}, "Notifications": { "shape": "S2a" }, "ContentConfig": { "shape": "S2c" }, "ThumbnailConfig": { "shape": "S2c" } } }, "output": { "type": "structure", "members": { "Pipeline": { "shape": "S2l" }, "Warnings": { "shape": "S2n" } } } }, "CreatePreset": { "http": { "requestUri": "/2012-09-25/presets", "responseCode": 201 }, "input": { "type": "structure", "required": [ "Name", "Container" ], "members": { "Name": {}, "Description": {}, "Container": {}, "Video": { "shape": "S2r" }, "Audio": { "shape": "S37" }, "Thumbnails": { "shape": "S3i" } } }, "output": { "type": "structure", "members": { "Preset": { "shape": "S3m" }, "Warning": {} } } }, "DeletePipeline": { "http": { "method": "DELETE", "requestUri": "/2012-09-25/pipelines/{Id}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "members": {} } }, "DeletePreset": { "http": { "method": "DELETE", "requestUri": "/2012-09-25/presets/{Id}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "members": {} } }, "ListJobsByPipeline": { "http": { "method": "GET", "requestUri": "/2012-09-25/jobsByPipeline/{PipelineId}" }, "input": { "type": "structure", "required": [ "PipelineId" ], "members": { "PipelineId": { "location": "uri", "locationName": "PipelineId" }, "Ascending": { "location": "querystring", "locationName": "Ascending" }, "PageToken": { "location": "querystring", "locationName": "PageToken" } } }, "output": { "type": "structure", "members": { "Jobs": { "shape": "S3v" }, "NextPageToken": {} } } }, "ListJobsByStatus": { "http": { "method": "GET", "requestUri": "/2012-09-25/jobsByStatus/{Status}" }, "input": { "type": "structure", "required": [ "Status" ], "members": { "Status": { "location": "uri", "locationName": "Status" }, "Ascending": { "location": "querystring", "locationName": "Ascending" }, "PageToken": { "location": "querystring", "locationName": "PageToken" } } }, "output": { "type": "structure", "members": { "Jobs": { "shape": "S3v" }, "NextPageToken": {} } } }, "ListPipelines": { "http": { "method": "GET", "requestUri": "/2012-09-25/pipelines" }, "input": { "type": "structure", "members": { "Ascending": { "location": "querystring", "locationName": "Ascending" }, "PageToken": { "location": "querystring", "locationName": "PageToken" } } }, "output": { "type": "structure", "members": { "Pipelines": { "type": "list", "member": { "shape": "S2l" } }, "NextPageToken": {} } } }, "ListPresets": { "http": { "method": "GET", "requestUri": "/2012-09-25/presets" }, "input": { "type": "structure", "members": { "Ascending": { "location": "querystring", "locationName": "Ascending" }, "PageToken": { "location": "querystring", "locationName": "PageToken" } } }, "output": { "type": "structure", "members": { "Presets": { "type": "list", "member": { "shape": "S3m" } }, "NextPageToken": {} } } }, "ReadJob": { "http": { "method": "GET", "requestUri": "/2012-09-25/jobs/{Id}" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "members": { "Job": { "shape": "S1y" } } } }, "ReadPipeline": { "http": { "method": "GET", "requestUri": "/2012-09-25/pipelines/{Id}" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "members": { "Pipeline": { "shape": "S2l" }, "Warnings": { "shape": "S2n" } } } }, "ReadPreset": { "http": { "method": "GET", "requestUri": "/2012-09-25/presets/{Id}" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "members": { "Preset": { "shape": "S3m" } } } }, "TestRole": { "http": { "requestUri": "/2012-09-25/roleTests", "responseCode": 200 }, "input": { "type": "structure", "required": [ "Role", "InputBucket", "OutputBucket", "Topics" ], "members": { "Role": {}, "InputBucket": {}, "OutputBucket": {}, "Topics": { "type": "list", "member": {} } }, "deprecated": true }, "output": { "type": "structure", "members": { "Success": {}, "Messages": { "type": "list", "member": {} } }, "deprecated": true }, "deprecated": true }, "UpdatePipeline": { "http": { "method": "PUT", "requestUri": "/2012-09-25/pipelines/{Id}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" }, "Name": {}, "InputBucket": {}, "Role": {}, "AwsKmsKeyArn": {}, "Notifications": { "shape": "S2a" }, "ContentConfig": { "shape": "S2c" }, "ThumbnailConfig": { "shape": "S2c" } } }, "output": { "type": "structure", "members": { "Pipeline": { "shape": "S2l" }, "Warnings": { "shape": "S2n" } } } }, "UpdatePipelineNotifications": { "http": { "requestUri": "/2012-09-25/pipelines/{Id}/notifications" }, "input": { "type": "structure", "required": [ "Id", "Notifications" ], "members": { "Id": { "location": "uri", "locationName": "Id" }, "Notifications": { "shape": "S2a" } } }, "output": { "type": "structure", "members": { "Pipeline": { "shape": "S2l" } } } }, "UpdatePipelineStatus": { "http": { "requestUri": "/2012-09-25/pipelines/{Id}/status" }, "input": { "type": "structure", "required": [ "Id", "Status" ], "members": { "Id": { "location": "uri", "locationName": "Id" }, "Status": {} } }, "output": { "type": "structure", "members": { "Pipeline": { "shape": "S2l" } } } } }, "shapes": { "S5": { "type": "structure", "members": { "Key": {}, "FrameRate": {}, "Resolution": {}, "AspectRatio": {}, "Interlaced": {}, "Container": {}, "Encryption": { "shape": "Sc" }, "TimeSpan": { "shape": "Sg" }, "InputCaptions": { "type": "structure", "members": { "MergePolicy": {}, "CaptionSources": { "shape": "Sk" } } }, "DetectedProperties": { "type": "structure", "members": { "Width": { "type": "integer" }, "Height": { "type": "integer" }, "FrameRate": {}, "FileSize": { "type": "long" }, "DurationMillis": { "type": "long" } } } } }, "Sc": { "type": "structure", "members": { "Mode": {}, "Key": {}, "KeyMd5": {}, "InitializationVector": {} } }, "Sg": { "type": "structure", "members": { "StartTime": {}, "Duration": {} } }, "Sk": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Language": {}, "TimeOffset": {}, "Label": {}, "Encryption": { "shape": "Sc" } } } }, "St": { "type": "list", "member": { "shape": "S5" } }, "Su": { "type": "structure", "members": { "Key": {}, "ThumbnailPattern": {}, "ThumbnailEncryption": { "shape": "Sc" }, "Rotate": {}, "PresetId": {}, "SegmentDuration": {}, "Watermarks": { "shape": "Sx" }, "AlbumArt": { "shape": "S11" }, "Composition": { "shape": "S19", "deprecated": true }, "Captions": { "shape": "S1b" }, "Encryption": { "shape": "Sc" } } }, "Sx": { "type": "list", "member": { "type": "structure", "members": { "PresetWatermarkId": {}, "InputKey": {}, "Encryption": { "shape": "Sc" } } } }, "S11": { "type": "structure", "members": { "MergePolicy": {}, "Artwork": { "type": "list", "member": { "type": "structure", "members": { "InputKey": {}, "MaxWidth": {}, "MaxHeight": {}, "SizingPolicy": {}, "PaddingPolicy": {}, "AlbumArtFormat": {}, "Encryption": { "shape": "Sc" } } } } } }, "S19": { "type": "list", "member": { "type": "structure", "members": { "TimeSpan": { "shape": "Sg" } }, "deprecated": true }, "deprecated": true }, "S1b": { "type": "structure", "members": { "MergePolicy": { "deprecated": true }, "CaptionSources": { "shape": "Sk", "deprecated": true }, "CaptionFormats": { "type": "list", "member": { "type": "structure", "members": { "Format": {}, "Pattern": {}, "Encryption": { "shape": "Sc" } } } } } }, "S1l": { "type": "list", "member": {} }, "S1m": { "type": "structure", "members": { "Method": {}, "Key": {}, "KeyMd5": {}, "InitializationVector": {}, "LicenseAcquisitionUrl": {}, "KeyStoragePolicy": {} } }, "S1q": { "type": "structure", "members": { "Format": {}, "Key": {}, "KeyMd5": {}, "KeyId": {}, "InitializationVector": {}, "LicenseAcquisitionUrl": {} } }, "S1v": { "type": "map", "key": {}, "value": {} }, "S1y": { "type": "structure", "members": { "Id": {}, "Arn": {}, "PipelineId": {}, "Input": { "shape": "S5" }, "Inputs": { "shape": "St" }, "Output": { "shape": "S1z" }, "Outputs": { "type": "list", "member": { "shape": "S1z" } }, "OutputKeyPrefix": {}, "Playlists": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Format": {}, "OutputKeys": { "shape": "S1l" }, "HlsContentProtection": { "shape": "S1m" }, "PlayReadyDrm": { "shape": "S1q" }, "Status": {}, "StatusDetail": {} } } }, "Status": {}, "UserMetadata": { "shape": "S1v" }, "Timing": { "type": "structure", "members": { "SubmitTimeMillis": { "type": "long" }, "StartTimeMillis": { "type": "long" }, "FinishTimeMillis": { "type": "long" } } } } }, "S1z": { "type": "structure", "members": { "Id": {}, "Key": {}, "ThumbnailPattern": {}, "ThumbnailEncryption": { "shape": "Sc" }, "Rotate": {}, "PresetId": {}, "SegmentDuration": {}, "Status": {}, "StatusDetail": {}, "Duration": { "type": "long" }, "Width": { "type": "integer" }, "Height": { "type": "integer" }, "FrameRate": {}, "FileSize": { "type": "long" }, "DurationMillis": { "type": "long" }, "Watermarks": { "shape": "Sx" }, "AlbumArt": { "shape": "S11" }, "Composition": { "shape": "S19", "deprecated": true }, "Captions": { "shape": "S1b" }, "Encryption": { "shape": "Sc" }, "AppliedColorSpaceConversion": {} } }, "S2a": { "type": "structure", "members": { "Progressing": {}, "Completed": {}, "Warning": {}, "Error": {} } }, "S2c": { "type": "structure", "members": { "Bucket": {}, "StorageClass": {}, "Permissions": { "type": "list", "member": { "type": "structure", "members": { "GranteeType": {}, "Grantee": {}, "Access": { "type": "list", "member": {} } } } } } }, "S2l": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Name": {}, "Status": {}, "InputBucket": {}, "OutputBucket": {}, "Role": {}, "AwsKmsKeyArn": {}, "Notifications": { "shape": "S2a" }, "ContentConfig": { "shape": "S2c" }, "ThumbnailConfig": { "shape": "S2c" } } }, "S2n": { "type": "list", "member": { "type": "structure", "members": { "Code": {}, "Message": {} } } }, "S2r": { "type": "structure", "members": { "Codec": {}, "CodecOptions": { "type": "map", "key": {}, "value": {} }, "KeyframesMaxDist": {}, "FixedGOP": {}, "BitRate": {}, "FrameRate": {}, "MaxFrameRate": {}, "Resolution": {}, "AspectRatio": {}, "MaxWidth": {}, "MaxHeight": {}, "DisplayAspectRatio": {}, "SizingPolicy": {}, "PaddingPolicy": {}, "Watermarks": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "MaxWidth": {}, "MaxHeight": {}, "SizingPolicy": {}, "HorizontalAlign": {}, "HorizontalOffset": {}, "VerticalAlign": {}, "VerticalOffset": {}, "Opacity": {}, "Target": {} } } } } }, "S37": { "type": "structure", "members": { "Codec": {}, "SampleRate": {}, "BitRate": {}, "Channels": {}, "AudioPackingMode": {}, "CodecOptions": { "type": "structure", "members": { "Profile": {}, "BitDepth": {}, "BitOrder": {}, "Signed": {} } } } }, "S3i": { "type": "structure", "members": { "Format": {}, "Interval": {}, "Resolution": {}, "AspectRatio": {}, "MaxWidth": {}, "MaxHeight": {}, "SizingPolicy": {}, "PaddingPolicy": {} } }, "S3m": { "type": "structure", "members": { "Id": {}, "Arn": {}, "Name": {}, "Description": {}, "Container": {}, "Audio": { "shape": "S37" }, "Video": { "shape": "S2r" }, "Thumbnails": { "shape": "S3i" }, "Type": {} } }, "S3v": { "type": "list", "member": { "shape": "S1y" } } } } },{}],71:[function(require,module,exports){ module.exports={ "pagination": { "ListJobsByPipeline": { "input_token": "PageToken", "output_token": "NextPageToken", "result_key": "Jobs" }, "ListJobsByStatus": { "input_token": "PageToken", "output_token": "NextPageToken", "result_key": "Jobs" }, "ListPipelines": { "input_token": "PageToken", "output_token": "NextPageToken", "result_key": "Pipelines" }, "ListPresets": { "input_token": "PageToken", "output_token": "NextPageToken", "result_key": "Presets" } } } },{}],72:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "JobComplete": { "delay": 30, "operation": "ReadJob", "maxAttempts": 120, "acceptors": [ { "expected": "Complete", "matcher": "path", "state": "success", "argument": "Job.Status" }, { "expected": "Canceled", "matcher": "path", "state": "failure", "argument": "Job.Status" }, { "expected": "Error", "matcher": "path", "state": "failure", "argument": "Job.Status" } ] } } } },{}],73:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "uid": "email-2010-12-01", "apiVersion": "2010-12-01", "endpointPrefix": "email", "protocol": "query", "serviceAbbreviation": "Amazon SES", "serviceFullName": "Amazon Simple Email Service", "signatureVersion": "v4", "signingName": "ses", "xmlNamespace": "http://ses.amazonaws.com/doc/2010-12-01/" }, "operations": { "CloneReceiptRuleSet": { "input": { "type": "structure", "required": [ "RuleSetName", "OriginalRuleSetName" ], "members": { "RuleSetName": {}, "OriginalRuleSetName": {} } }, "output": { "resultWrapper": "CloneReceiptRuleSetResult", "type": "structure", "members": {} } }, "CreateConfigurationSet": { "input": { "type": "structure", "required": [ "ConfigurationSet" ], "members": { "ConfigurationSet": { "shape": "S5" } } }, "output": { "resultWrapper": "CreateConfigurationSetResult", "type": "structure", "members": {} } }, "CreateConfigurationSetEventDestination": { "input": { "type": "structure", "required": [ "ConfigurationSetName", "EventDestination" ], "members": { "ConfigurationSetName": {}, "EventDestination": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateConfigurationSetEventDestinationResult", "type": "structure", "members": {} } }, "CreateReceiptFilter": { "input": { "type": "structure", "required": [ "Filter" ], "members": { "Filter": { "shape": "So" } } }, "output": { "resultWrapper": "CreateReceiptFilterResult", "type": "structure", "members": {} } }, "CreateReceiptRule": { "input": { "type": "structure", "required": [ "RuleSetName", "Rule" ], "members": { "RuleSetName": {}, "After": {}, "Rule": { "shape": "Sw" } } }, "output": { "resultWrapper": "CreateReceiptRuleResult", "type": "structure", "members": {} } }, "CreateReceiptRuleSet": { "input": { "type": "structure", "required": [ "RuleSetName" ], "members": { "RuleSetName": {} } }, "output": { "resultWrapper": "CreateReceiptRuleSetResult", "type": "structure", "members": {} } }, "DeleteConfigurationSet": { "input": { "type": "structure", "required": [ "ConfigurationSetName" ], "members": { "ConfigurationSetName": {} } }, "output": { "resultWrapper": "DeleteConfigurationSetResult", "type": "structure", "members": {} } }, "DeleteConfigurationSetEventDestination": { "input": { "type": "structure", "required": [ "ConfigurationSetName", "EventDestinationName" ], "members": { "ConfigurationSetName": {}, "EventDestinationName": {} } }, "output": { "resultWrapper": "DeleteConfigurationSetEventDestinationResult", "type": "structure", "members": {} } }, "DeleteIdentity": { "input": { "type": "structure", "required": [ "Identity" ], "members": { "Identity": {} } }, "output": { "resultWrapper": "DeleteIdentityResult", "type": "structure", "members": {} } }, "DeleteIdentityPolicy": { "input": { "type": "structure", "required": [ "Identity", "PolicyName" ], "members": { "Identity": {}, "PolicyName": {} } }, "output": { "resultWrapper": "DeleteIdentityPolicyResult", "type": "structure", "members": {} } }, "DeleteReceiptFilter": { "input": { "type": "structure", "required": [ "FilterName" ], "members": { "FilterName": {} } }, "output": { "resultWrapper": "DeleteReceiptFilterResult", "type": "structure", "members": {} } }, "DeleteReceiptRule": { "input": { "type": "structure", "required": [ "RuleSetName", "RuleName" ], "members": { "RuleSetName": {}, "RuleName": {} } }, "output": { "resultWrapper": "DeleteReceiptRuleResult", "type": "structure", "members": {} } }, "DeleteReceiptRuleSet": { "input": { "type": "structure", "required": [ "RuleSetName" ], "members": { "RuleSetName": {} } }, "output": { "resultWrapper": "DeleteReceiptRuleSetResult", "type": "structure", "members": {} } }, "DeleteVerifiedEmailAddress": { "input": { "type": "structure", "required": [ "EmailAddress" ], "members": { "EmailAddress": {} } } }, "DescribeActiveReceiptRuleSet": { "input": { "type": "structure", "members": {} }, "output": { "resultWrapper": "DescribeActiveReceiptRuleSetResult", "type": "structure", "members": { "Metadata": { "shape": "S26" }, "Rules": { "shape": "S28" } } } }, "DescribeConfigurationSet": { "input": { "type": "structure", "required": [ "ConfigurationSetName" ], "members": { "ConfigurationSetName": {}, "ConfigurationSetAttributeNames": { "type": "list", "member": {} } } }, "output": { "resultWrapper": "DescribeConfigurationSetResult", "type": "structure", "members": { "ConfigurationSet": { "shape": "S5" }, "EventDestinations": { "type": "list", "member": { "shape": "S9" } } } } }, "DescribeReceiptRule": { "input": { "type": "structure", "required": [ "RuleSetName", "RuleName" ], "members": { "RuleSetName": {}, "RuleName": {} } }, "output": { "resultWrapper": "DescribeReceiptRuleResult", "type": "structure", "members": { "Rule": { "shape": "Sw" } } } }, "DescribeReceiptRuleSet": { "input": { "type": "structure", "required": [ "RuleSetName" ], "members": { "RuleSetName": {} } }, "output": { "resultWrapper": "DescribeReceiptRuleSetResult", "type": "structure", "members": { "Metadata": { "shape": "S26" }, "Rules": { "shape": "S28" } } } }, "GetIdentityDkimAttributes": { "input": { "type": "structure", "required": [ "Identities" ], "members": { "Identities": { "shape": "S2j" } } }, "output": { "resultWrapper": "GetIdentityDkimAttributesResult", "type": "structure", "required": [ "DkimAttributes" ], "members": { "DkimAttributes": { "type": "map", "key": {}, "value": { "type": "structure", "required": [ "DkimEnabled", "DkimVerificationStatus" ], "members": { "DkimEnabled": { "type": "boolean" }, "DkimVerificationStatus": {}, "DkimTokens": { "shape": "S2o" } } } } } } }, "GetIdentityMailFromDomainAttributes": { "input": { "type": "structure", "required": [ "Identities" ], "members": { "Identities": { "shape": "S2j" } } }, "output": { "resultWrapper": "GetIdentityMailFromDomainAttributesResult", "type": "structure", "required": [ "MailFromDomainAttributes" ], "members": { "MailFromDomainAttributes": { "type": "map", "key": {}, "value": { "type": "structure", "required": [ "MailFromDomain", "MailFromDomainStatus", "BehaviorOnMXFailure" ], "members": { "MailFromDomain": {}, "MailFromDomainStatus": {}, "BehaviorOnMXFailure": {} } } } } } }, "GetIdentityNotificationAttributes": { "input": { "type": "structure", "required": [ "Identities" ], "members": { "Identities": { "shape": "S2j" } } }, "output": { "resultWrapper": "GetIdentityNotificationAttributesResult", "type": "structure", "required": [ "NotificationAttributes" ], "members": { "NotificationAttributes": { "type": "map", "key": {}, "value": { "type": "structure", "required": [ "BounceTopic", "ComplaintTopic", "DeliveryTopic", "ForwardingEnabled" ], "members": { "BounceTopic": {}, "ComplaintTopic": {}, "DeliveryTopic": {}, "ForwardingEnabled": { "type": "boolean" }, "HeadersInBounceNotificationsEnabled": { "type": "boolean" }, "HeadersInComplaintNotificationsEnabled": { "type": "boolean" }, "HeadersInDeliveryNotificationsEnabled": { "type": "boolean" } } } } } } }, "GetIdentityPolicies": { "input": { "type": "structure", "required": [ "Identity", "PolicyNames" ], "members": { "Identity": {}, "PolicyNames": { "shape": "S33" } } }, "output": { "resultWrapper": "GetIdentityPoliciesResult", "type": "structure", "required": [ "Policies" ], "members": { "Policies": { "type": "map", "key": {}, "value": {} } } } }, "GetIdentityVerificationAttributes": { "input": { "type": "structure", "required": [ "Identities" ], "members": { "Identities": { "shape": "S2j" } } }, "output": { "resultWrapper": "GetIdentityVerificationAttributesResult", "type": "structure", "required": [ "VerificationAttributes" ], "members": { "VerificationAttributes": { "type": "map", "key": {}, "value": { "type": "structure", "required": [ "VerificationStatus" ], "members": { "VerificationStatus": {}, "VerificationToken": {} } } } } } }, "GetSendQuota": { "output": { "resultWrapper": "GetSendQuotaResult", "type": "structure", "members": { "Max24HourSend": { "type": "double" }, "MaxSendRate": { "type": "double" }, "SentLast24Hours": { "type": "double" } } } }, "GetSendStatistics": { "output": { "resultWrapper": "GetSendStatisticsResult", "type": "structure", "members": { "SendDataPoints": { "type": "list", "member": { "type": "structure", "members": { "Timestamp": { "type": "timestamp" }, "DeliveryAttempts": { "type": "long" }, "Bounces": { "type": "long" }, "Complaints": { "type": "long" }, "Rejects": { "type": "long" } } } } } } }, "ListConfigurationSets": { "input": { "type": "structure", "members": { "NextToken": {}, "MaxItems": { "type": "integer" } } }, "output": { "resultWrapper": "ListConfigurationSetsResult", "type": "structure", "members": { "ConfigurationSets": { "type": "list", "member": { "shape": "S5" } }, "NextToken": {} } } }, "ListIdentities": { "input": { "type": "structure", "members": { "IdentityType": {}, "NextToken": {}, "MaxItems": { "type": "integer" } } }, "output": { "resultWrapper": "ListIdentitiesResult", "type": "structure", "required": [ "Identities" ], "members": { "Identities": { "shape": "S2j" }, "NextToken": {} } } }, "ListIdentityPolicies": { "input": { "type": "structure", "required": [ "Identity" ], "members": { "Identity": {} } }, "output": { "resultWrapper": "ListIdentityPoliciesResult", "type": "structure", "required": [ "PolicyNames" ], "members": { "PolicyNames": { "shape": "S33" } } } }, "ListReceiptFilters": { "input": { "type": "structure", "members": {} }, "output": { "resultWrapper": "ListReceiptFiltersResult", "type": "structure", "members": { "Filters": { "type": "list", "member": { "shape": "So" } } } } }, "ListReceiptRuleSets": { "input": { "type": "structure", "members": { "NextToken": {} } }, "output": { "resultWrapper": "ListReceiptRuleSetsResult", "type": "structure", "members": { "RuleSets": { "type": "list", "member": { "shape": "S26" } }, "NextToken": {} } } }, "ListVerifiedEmailAddresses": { "output": { "resultWrapper": "ListVerifiedEmailAddressesResult", "type": "structure", "members": { "VerifiedEmailAddresses": { "shape": "S40" } } } }, "PutIdentityPolicy": { "input": { "type": "structure", "required": [ "Identity", "PolicyName", "Policy" ], "members": { "Identity": {}, "PolicyName": {}, "Policy": {} } }, "output": { "resultWrapper": "PutIdentityPolicyResult", "type": "structure", "members": {} } }, "ReorderReceiptRuleSet": { "input": { "type": "structure", "required": [ "RuleSetName", "RuleNames" ], "members": { "RuleSetName": {}, "RuleNames": { "type": "list", "member": {} } } }, "output": { "resultWrapper": "ReorderReceiptRuleSetResult", "type": "structure", "members": {} } }, "SendBounce": { "input": { "type": "structure", "required": [ "OriginalMessageId", "BounceSender", "BouncedRecipientInfoList" ], "members": { "OriginalMessageId": {}, "BounceSender": {}, "Explanation": {}, "MessageDsn": { "type": "structure", "required": [ "ReportingMta" ], "members": { "ReportingMta": {}, "ArrivalDate": { "type": "timestamp" }, "ExtensionFields": { "shape": "S4c" } } }, "BouncedRecipientInfoList": { "type": "list", "member": { "type": "structure", "required": [ "Recipient" ], "members": { "Recipient": {}, "RecipientArn": {}, "BounceType": {}, "RecipientDsnFields": { "type": "structure", "required": [ "Action", "Status" ], "members": { "FinalRecipient": {}, "Action": {}, "RemoteMta": {}, "Status": {}, "DiagnosticCode": {}, "LastAttemptDate": { "type": "timestamp" }, "ExtensionFields": { "shape": "S4c" } } } } } }, "BounceSenderArn": {} } }, "output": { "resultWrapper": "SendBounceResult", "type": "structure", "members": { "MessageId": {} } } }, "SendEmail": { "input": { "type": "structure", "required": [ "Source", "Destination", "Message" ], "members": { "Source": {}, "Destination": { "type": "structure", "members": { "ToAddresses": { "shape": "S40" }, "CcAddresses": { "shape": "S40" }, "BccAddresses": { "shape": "S40" } } }, "Message": { "type": "structure", "required": [ "Subject", "Body" ], "members": { "Subject": { "shape": "S4t" }, "Body": { "type": "structure", "members": { "Text": { "shape": "S4t" }, "Html": { "shape": "S4t" } } } } }, "ReplyToAddresses": { "shape": "S40" }, "ReturnPath": {}, "SourceArn": {}, "ReturnPathArn": {}, "Tags": { "shape": "S4x" }, "ConfigurationSetName": {} } }, "output": { "resultWrapper": "SendEmailResult", "type": "structure", "required": [ "MessageId" ], "members": { "MessageId": {} } } }, "SendRawEmail": { "input": { "type": "structure", "required": [ "RawMessage" ], "members": { "Source": {}, "Destinations": { "shape": "S40" }, "RawMessage": { "type": "structure", "required": [ "Data" ], "members": { "Data": { "type": "blob" } } }, "FromArn": {}, "SourceArn": {}, "ReturnPathArn": {}, "Tags": { "shape": "S4x" }, "ConfigurationSetName": {} } }, "output": { "resultWrapper": "SendRawEmailResult", "type": "structure", "required": [ "MessageId" ], "members": { "MessageId": {} } } }, "SetActiveReceiptRuleSet": { "input": { "type": "structure", "members": { "RuleSetName": {} } }, "output": { "resultWrapper": "SetActiveReceiptRuleSetResult", "type": "structure", "members": {} } }, "SetIdentityDkimEnabled": { "input": { "type": "structure", "required": [ "Identity", "DkimEnabled" ], "members": { "Identity": {}, "DkimEnabled": { "type": "boolean" } } }, "output": { "resultWrapper": "SetIdentityDkimEnabledResult", "type": "structure", "members": {} } }, "SetIdentityFeedbackForwardingEnabled": { "input": { "type": "structure", "required": [ "Identity", "ForwardingEnabled" ], "members": { "Identity": {}, "ForwardingEnabled": { "type": "boolean" } } }, "output": { "resultWrapper": "SetIdentityFeedbackForwardingEnabledResult", "type": "structure", "members": {} } }, "SetIdentityHeadersInNotificationsEnabled": { "input": { "type": "structure", "required": [ "Identity", "NotificationType", "Enabled" ], "members": { "Identity": {}, "NotificationType": {}, "Enabled": { "type": "boolean" } } }, "output": { "resultWrapper": "SetIdentityHeadersInNotificationsEnabledResult", "type": "structure", "members": {} } }, "SetIdentityMailFromDomain": { "input": { "type": "structure", "required": [ "Identity" ], "members": { "Identity": {}, "MailFromDomain": {}, "BehaviorOnMXFailure": {} } }, "output": { "resultWrapper": "SetIdentityMailFromDomainResult", "type": "structure", "members": {} } }, "SetIdentityNotificationTopic": { "input": { "type": "structure", "required": [ "Identity", "NotificationType" ], "members": { "Identity": {}, "NotificationType": {}, "SnsTopic": {} } }, "output": { "resultWrapper": "SetIdentityNotificationTopicResult", "type": "structure", "members": {} } }, "SetReceiptRulePosition": { "input": { "type": "structure", "required": [ "RuleSetName", "RuleName" ], "members": { "RuleSetName": {}, "RuleName": {}, "After": {} } }, "output": { "resultWrapper": "SetReceiptRulePositionResult", "type": "structure", "members": {} } }, "UpdateConfigurationSetEventDestination": { "input": { "type": "structure", "required": [ "ConfigurationSetName", "EventDestination" ], "members": { "ConfigurationSetName": {}, "EventDestination": { "shape": "S9" } } }, "output": { "resultWrapper": "UpdateConfigurationSetEventDestinationResult", "type": "structure", "members": {} } }, "UpdateReceiptRule": { "input": { "type": "structure", "required": [ "RuleSetName", "Rule" ], "members": { "RuleSetName": {}, "Rule": { "shape": "Sw" } } }, "output": { "resultWrapper": "UpdateReceiptRuleResult", "type": "structure", "members": {} } }, "VerifyDomainDkim": { "input": { "type": "structure", "required": [ "Domain" ], "members": { "Domain": {} } }, "output": { "resultWrapper": "VerifyDomainDkimResult", "type": "structure", "required": [ "DkimTokens" ], "members": { "DkimTokens": { "shape": "S2o" } } } }, "VerifyDomainIdentity": { "input": { "type": "structure", "required": [ "Domain" ], "members": { "Domain": {} } }, "output": { "resultWrapper": "VerifyDomainIdentityResult", "type": "structure", "required": [ "VerificationToken" ], "members": { "VerificationToken": {} } } }, "VerifyEmailAddress": { "input": { "type": "structure", "required": [ "EmailAddress" ], "members": { "EmailAddress": {} } } }, "VerifyEmailIdentity": { "input": { "type": "structure", "required": [ "EmailAddress" ], "members": { "EmailAddress": {} } }, "output": { "resultWrapper": "VerifyEmailIdentityResult", "type": "structure", "members": {} } } }, "shapes": { "S5": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } }, "S9": { "type": "structure", "required": [ "Name", "MatchingEventTypes" ], "members": { "Name": {}, "Enabled": { "type": "boolean" }, "MatchingEventTypes": { "type": "list", "member": {} }, "KinesisFirehoseDestination": { "type": "structure", "required": [ "IAMRoleARN", "DeliveryStreamARN" ], "members": { "IAMRoleARN": {}, "DeliveryStreamARN": {} } }, "CloudWatchDestination": { "type": "structure", "required": [ "DimensionConfigurations" ], "members": { "DimensionConfigurations": { "type": "list", "member": { "type": "structure", "required": [ "DimensionName", "DimensionValueSource", "DefaultDimensionValue" ], "members": { "DimensionName": {}, "DimensionValueSource": {}, "DefaultDimensionValue": {} } } } } } } }, "So": { "type": "structure", "required": [ "Name", "IpFilter" ], "members": { "Name": {}, "IpFilter": { "type": "structure", "required": [ "Policy", "Cidr" ], "members": { "Policy": {}, "Cidr": {} } } } }, "Sw": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "Enabled": { "type": "boolean" }, "TlsPolicy": {}, "Recipients": { "type": "list", "member": {} }, "Actions": { "type": "list", "member": { "type": "structure", "members": { "S3Action": { "type": "structure", "required": [ "BucketName" ], "members": { "TopicArn": {}, "BucketName": {}, "ObjectKeyPrefix": {}, "KmsKeyArn": {} } }, "BounceAction": { "type": "structure", "required": [ "SmtpReplyCode", "Message", "Sender" ], "members": { "TopicArn": {}, "SmtpReplyCode": {}, "StatusCode": {}, "Message": {}, "Sender": {} } }, "WorkmailAction": { "type": "structure", "required": [ "OrganizationArn" ], "members": { "TopicArn": {}, "OrganizationArn": {} } }, "LambdaAction": { "type": "structure", "required": [ "FunctionArn" ], "members": { "TopicArn": {}, "FunctionArn": {}, "InvocationType": {} } }, "StopAction": { "type": "structure", "required": [ "Scope" ], "members": { "Scope": {}, "TopicArn": {} } }, "AddHeaderAction": { "type": "structure", "required": [ "HeaderName", "HeaderValue" ], "members": { "HeaderName": {}, "HeaderValue": {} } }, "SNSAction": { "type": "structure", "required": [ "TopicArn" ], "members": { "TopicArn": {}, "Encoding": {} } } } } }, "ScanEnabled": { "type": "boolean" } } }, "S26": { "type": "structure", "members": { "Name": {}, "CreatedTimestamp": { "type": "timestamp" } } }, "S28": { "type": "list", "member": { "shape": "Sw" } }, "S2j": { "type": "list", "member": {} }, "S2o": { "type": "list", "member": {} }, "S33": { "type": "list", "member": {} }, "S40": { "type": "list", "member": {} }, "S4c": { "type": "list", "member": { "type": "structure", "required": [ "Name", "Value" ], "members": { "Name": {}, "Value": {} } } }, "S4t": { "type": "structure", "required": [ "Data" ], "members": { "Data": {}, "Charset": {} } }, "S4x": { "type": "list", "member": { "type": "structure", "required": [ "Name", "Value" ], "members": { "Name": {}, "Value": {} } } } } } },{}],74:[function(require,module,exports){ module.exports={ "pagination": { "ListIdentities": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxItems", "result_key": "Identities" }, "ListVerifiedEmailAddresses": { "result_key": "VerifiedEmailAddresses" } } } },{}],75:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "IdentityExists": { "delay": 3, "operation": "GetIdentityVerificationAttributes", "maxAttempts": 20, "acceptors": [ { "expected": "Success", "matcher": "pathAll", "state": "success", "argument": "VerificationAttributes.*.VerificationStatus" } ] } } } },{}],76:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-10-07", "endpointPrefix": "events", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "Amazon CloudWatch Events", "signatureVersion": "v4", "targetPrefix": "AWSEvents", "uid": "events-2015-10-07" }, "operations": { "DeleteRule": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } } }, "DescribeRule": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } }, "output": { "type": "structure", "members": { "Name": {}, "Arn": {}, "EventPattern": {}, "ScheduleExpression": {}, "State": {}, "Description": {}, "RoleArn": {} } } }, "DisableRule": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } } }, "EnableRule": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } } }, "ListRuleNamesByTarget": { "input": { "type": "structure", "required": [ "TargetArn" ], "members": { "TargetArn": {}, "NextToken": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "RuleNames": { "type": "list", "member": {} }, "NextToken": {} } } }, "ListRules": { "input": { "type": "structure", "members": { "NamePrefix": {}, "NextToken": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Rules": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Arn": {}, "EventPattern": {}, "State": {}, "Description": {}, "ScheduleExpression": {}, "RoleArn": {} } } }, "NextToken": {} } } }, "ListTargetsByRule": { "input": { "type": "structure", "required": [ "Rule" ], "members": { "Rule": {}, "NextToken": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Targets": { "shape": "Sp" }, "NextToken": {} } } }, "PutEvents": { "input": { "type": "structure", "required": [ "Entries" ], "members": { "Entries": { "type": "list", "member": { "type": "structure", "members": { "Time": { "type": "timestamp" }, "Source": {}, "Resources": { "type": "list", "member": {} }, "DetailType": {}, "Detail": {} } } } } }, "output": { "type": "structure", "members": { "FailedEntryCount": { "type": "integer" }, "Entries": { "type": "list", "member": { "type": "structure", "members": { "EventId": {}, "ErrorCode": {}, "ErrorMessage": {} } } } } } }, "PutRule": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "ScheduleExpression": {}, "EventPattern": {}, "State": {}, "Description": {}, "RoleArn": {} } }, "output": { "type": "structure", "members": { "RuleArn": {} } } }, "PutTargets": { "input": { "type": "structure", "required": [ "Rule", "Targets" ], "members": { "Rule": {}, "Targets": { "shape": "Sp" } } }, "output": { "type": "structure", "members": { "FailedEntryCount": { "type": "integer" }, "FailedEntries": { "type": "list", "member": { "type": "structure", "members": { "TargetId": {}, "ErrorCode": {}, "ErrorMessage": {} } } } } } }, "RemoveTargets": { "input": { "type": "structure", "required": [ "Rule", "Ids" ], "members": { "Rule": {}, "Ids": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "FailedEntryCount": { "type": "integer" }, "FailedEntries": { "type": "list", "member": { "type": "structure", "members": { "TargetId": {}, "ErrorCode": {}, "ErrorMessage": {} } } } } } }, "TestEventPattern": { "input": { "type": "structure", "required": [ "EventPattern", "Event" ], "members": { "EventPattern": {}, "Event": {} } }, "output": { "type": "structure", "members": { "Result": { "type": "boolean" } } } } }, "shapes": { "Sp": { "type": "list", "member": { "type": "structure", "required": [ "Id", "Arn" ], "members": { "Id": {}, "Arn": {}, "RoleArn": {}, "Input": {}, "InputPath": {}, "InputTransformer": { "type": "structure", "required": [ "InputTemplate" ], "members": { "InputPathsMap": { "type": "map", "key": {}, "value": {} }, "InputTemplate": {} } }, "KinesisParameters": { "type": "structure", "required": [ "PartitionKeyPath" ], "members": { "PartitionKeyPath": {} } }, "RunCommandParameters": { "type": "structure", "required": [ "RunCommandTargets" ], "members": { "RunCommandTargets": { "type": "list", "member": { "type": "structure", "required": [ "Key", "Values" ], "members": { "Key": {}, "Values": { "type": "list", "member": {} } } } } } }, "EcsParameters": { "type": "structure", "required": [ "TaskDefinitionArn" ], "members": { "TaskDefinitionArn": {}, "TaskCount": { "type": "integer" } } } } } } } } },{}],77:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],78:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-08-04", "endpointPrefix": "firehose", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "Firehose", "serviceFullName": "Amazon Kinesis Firehose", "signatureVersion": "v4", "targetPrefix": "Firehose_20150804", "uid": "firehose-2015-08-04" }, "operations": { "CreateDeliveryStream": { "input": { "type": "structure", "required": [ "DeliveryStreamName" ], "members": { "DeliveryStreamName": {}, "S3DestinationConfiguration": { "shape": "S3", "deprecated": true }, "ExtendedS3DestinationConfiguration": { "type": "structure", "required": [ "RoleARN", "BucketARN" ], "members": { "RoleARN": {}, "BucketARN": {}, "Prefix": {}, "BufferingHints": { "shape": "S7" }, "CompressionFormat": {}, "EncryptionConfiguration": { "shape": "Sb" }, "CloudWatchLoggingOptions": { "shape": "Sf" }, "ProcessingConfiguration": { "shape": "Sk" }, "S3BackupMode": {}, "S3BackupConfiguration": { "shape": "S3" } } }, "RedshiftDestinationConfiguration": { "type": "structure", "required": [ "RoleARN", "ClusterJDBCURL", "CopyCommand", "Username", "Password", "S3Configuration" ], "members": { "RoleARN": {}, "ClusterJDBCURL": {}, "CopyCommand": { "shape": "Sv" }, "Username": { "shape": "Sz" }, "Password": { "shape": "S10" }, "RetryOptions": { "shape": "S11" }, "S3Configuration": { "shape": "S3" }, "ProcessingConfiguration": { "shape": "Sk" }, "S3BackupMode": {}, "S3BackupConfiguration": { "shape": "S3" }, "CloudWatchLoggingOptions": { "shape": "Sf" } } }, "ElasticsearchDestinationConfiguration": { "type": "structure", "required": [ "RoleARN", "DomainARN", "IndexName", "TypeName", "S3Configuration" ], "members": { "RoleARN": {}, "DomainARN": {}, "IndexName": {}, "TypeName": {}, "IndexRotationPeriod": {}, "BufferingHints": { "shape": "S19" }, "RetryOptions": { "shape": "S1c" }, "S3BackupMode": {}, "S3Configuration": { "shape": "S3" }, "ProcessingConfiguration": { "shape": "Sk" }, "CloudWatchLoggingOptions": { "shape": "Sf" } } } } }, "output": { "type": "structure", "members": { "DeliveryStreamARN": {} } } }, "DeleteDeliveryStream": { "input": { "type": "structure", "required": [ "DeliveryStreamName" ], "members": { "DeliveryStreamName": {} } }, "output": { "type": "structure", "members": {} } }, "DescribeDeliveryStream": { "input": { "type": "structure", "required": [ "DeliveryStreamName" ], "members": { "DeliveryStreamName": {}, "Limit": { "type": "integer" }, "ExclusiveStartDestinationId": {} } }, "output": { "type": "structure", "required": [ "DeliveryStreamDescription" ], "members": { "DeliveryStreamDescription": { "type": "structure", "required": [ "DeliveryStreamName", "DeliveryStreamARN", "DeliveryStreamStatus", "VersionId", "Destinations", "HasMoreDestinations" ], "members": { "DeliveryStreamName": {}, "DeliveryStreamARN": {}, "DeliveryStreamStatus": {}, "VersionId": {}, "CreateTimestamp": { "type": "timestamp" }, "LastUpdateTimestamp": { "type": "timestamp" }, "Destinations": { "type": "list", "member": { "type": "structure", "required": [ "DestinationId" ], "members": { "DestinationId": {}, "S3DestinationDescription": { "shape": "S1t" }, "ExtendedS3DestinationDescription": { "type": "structure", "required": [ "RoleARN", "BucketARN", "BufferingHints", "CompressionFormat", "EncryptionConfiguration" ], "members": { "RoleARN": {}, "BucketARN": {}, "Prefix": {}, "BufferingHints": { "shape": "S7" }, "CompressionFormat": {}, "EncryptionConfiguration": { "shape": "Sb" }, "CloudWatchLoggingOptions": { "shape": "Sf" }, "ProcessingConfiguration": { "shape": "Sk" }, "S3BackupMode": {}, "S3BackupDescription": { "shape": "S1t" } } }, "RedshiftDestinationDescription": { "type": "structure", "required": [ "RoleARN", "ClusterJDBCURL", "CopyCommand", "Username", "S3DestinationDescription" ], "members": { "RoleARN": {}, "ClusterJDBCURL": {}, "CopyCommand": { "shape": "Sv" }, "Username": { "shape": "Sz" }, "RetryOptions": { "shape": "S11" }, "S3DestinationDescription": { "shape": "S1t" }, "ProcessingConfiguration": { "shape": "Sk" }, "S3BackupMode": {}, "S3BackupDescription": { "shape": "S1t" }, "CloudWatchLoggingOptions": { "shape": "Sf" } } }, "ElasticsearchDestinationDescription": { "type": "structure", "members": { "RoleARN": {}, "DomainARN": {}, "IndexName": {}, "TypeName": {}, "IndexRotationPeriod": {}, "BufferingHints": { "shape": "S19" }, "RetryOptions": { "shape": "S1c" }, "S3BackupMode": {}, "S3DestinationDescription": { "shape": "S1t" }, "ProcessingConfiguration": { "shape": "Sk" }, "CloudWatchLoggingOptions": { "shape": "Sf" } } } } } }, "HasMoreDestinations": { "type": "boolean" } } } } } }, "ListDeliveryStreams": { "input": { "type": "structure", "members": { "Limit": { "type": "integer" }, "ExclusiveStartDeliveryStreamName": {} } }, "output": { "type": "structure", "required": [ "DeliveryStreamNames", "HasMoreDeliveryStreams" ], "members": { "DeliveryStreamNames": { "type": "list", "member": {} }, "HasMoreDeliveryStreams": { "type": "boolean" } } } }, "PutRecord": { "input": { "type": "structure", "required": [ "DeliveryStreamName", "Record" ], "members": { "DeliveryStreamName": {}, "Record": { "shape": "S22" } } }, "output": { "type": "structure", "required": [ "RecordId" ], "members": { "RecordId": {} } } }, "PutRecordBatch": { "input": { "type": "structure", "required": [ "DeliveryStreamName", "Records" ], "members": { "DeliveryStreamName": {}, "Records": { "type": "list", "member": { "shape": "S22" } } } }, "output": { "type": "structure", "required": [ "FailedPutCount", "RequestResponses" ], "members": { "FailedPutCount": { "type": "integer" }, "RequestResponses": { "type": "list", "member": { "type": "structure", "members": { "RecordId": {}, "ErrorCode": {}, "ErrorMessage": {} } } } } } }, "UpdateDestination": { "input": { "type": "structure", "required": [ "DeliveryStreamName", "CurrentDeliveryStreamVersionId", "DestinationId" ], "members": { "DeliveryStreamName": {}, "CurrentDeliveryStreamVersionId": {}, "DestinationId": {}, "S3DestinationUpdate": { "shape": "S2f", "deprecated": true }, "ExtendedS3DestinationUpdate": { "type": "structure", "members": { "RoleARN": {}, "BucketARN": {}, "Prefix": {}, "BufferingHints": { "shape": "S7" }, "CompressionFormat": {}, "EncryptionConfiguration": { "shape": "Sb" }, "CloudWatchLoggingOptions": { "shape": "Sf" }, "ProcessingConfiguration": { "shape": "Sk" }, "S3BackupMode": {}, "S3BackupUpdate": { "shape": "S2f" } } }, "RedshiftDestinationUpdate": { "type": "structure", "members": { "RoleARN": {}, "ClusterJDBCURL": {}, "CopyCommand": { "shape": "Sv" }, "Username": { "shape": "Sz" }, "Password": { "shape": "S10" }, "RetryOptions": { "shape": "S11" }, "S3Update": { "shape": "S2f" }, "ProcessingConfiguration": { "shape": "Sk" }, "S3BackupMode": {}, "S3BackupUpdate": { "shape": "S2f" }, "CloudWatchLoggingOptions": { "shape": "Sf" } } }, "ElasticsearchDestinationUpdate": { "type": "structure", "members": { "RoleARN": {}, "DomainARN": {}, "IndexName": {}, "TypeName": {}, "IndexRotationPeriod": {}, "BufferingHints": { "shape": "S19" }, "RetryOptions": { "shape": "S1c" }, "S3Update": { "shape": "S2f" }, "ProcessingConfiguration": { "shape": "Sk" }, "CloudWatchLoggingOptions": { "shape": "Sf" } } } } }, "output": { "type": "structure", "members": {} } } }, "shapes": { "S3": { "type": "structure", "required": [ "RoleARN", "BucketARN" ], "members": { "RoleARN": {}, "BucketARN": {}, "Prefix": {}, "BufferingHints": { "shape": "S7" }, "CompressionFormat": {}, "EncryptionConfiguration": { "shape": "Sb" }, "CloudWatchLoggingOptions": { "shape": "Sf" } } }, "S7": { "type": "structure", "members": { "SizeInMBs": { "type": "integer" }, "IntervalInSeconds": { "type": "integer" } } }, "Sb": { "type": "structure", "members": { "NoEncryptionConfig": {}, "KMSEncryptionConfig": { "type": "structure", "required": [ "AWSKMSKeyARN" ], "members": { "AWSKMSKeyARN": {} } } } }, "Sf": { "type": "structure", "members": { "Enabled": { "type": "boolean" }, "LogGroupName": {}, "LogStreamName": {} } }, "Sk": { "type": "structure", "members": { "Enabled": { "type": "boolean" }, "Processors": { "type": "list", "member": { "type": "structure", "required": [ "Type" ], "members": { "Type": {}, "Parameters": { "type": "list", "member": { "type": "structure", "required": [ "ParameterName", "ParameterValue" ], "members": { "ParameterName": {}, "ParameterValue": {} } } } } } } } }, "Sv": { "type": "structure", "required": [ "DataTableName" ], "members": { "DataTableName": {}, "DataTableColumns": {}, "CopyOptions": {} } }, "Sz": { "type": "string", "sensitive": true }, "S10": { "type": "string", "sensitive": true }, "S11": { "type": "structure", "members": { "DurationInSeconds": { "type": "integer" } } }, "S19": { "type": "structure", "members": { "IntervalInSeconds": { "type": "integer" }, "SizeInMBs": { "type": "integer" } } }, "S1c": { "type": "structure", "members": { "DurationInSeconds": { "type": "integer" } } }, "S1t": { "type": "structure", "required": [ "RoleARN", "BucketARN", "BufferingHints", "CompressionFormat", "EncryptionConfiguration" ], "members": { "RoleARN": {}, "BucketARN": {}, "Prefix": {}, "BufferingHints": { "shape": "S7" }, "CompressionFormat": {}, "EncryptionConfiguration": { "shape": "Sb" }, "CloudWatchLoggingOptions": { "shape": "Sf" } } }, "S22": { "type": "structure", "required": [ "Data" ], "members": { "Data": { "type": "blob" } } }, "S2f": { "type": "structure", "members": { "RoleARN": {}, "BucketARN": {}, "Prefix": {}, "BufferingHints": { "shape": "S7" }, "CompressionFormat": {}, "EncryptionConfiguration": { "shape": "Sb" }, "CloudWatchLoggingOptions": { "shape": "Sf" } } } } } },{}],79:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-10-01", "endpointPrefix": "gamelift", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "Amazon GameLift", "signatureVersion": "v4", "targetPrefix": "GameLift", "uid": "gamelift-2015-10-01" }, "operations": { "CreateAlias": { "input": { "type": "structure", "required": [ "Name", "RoutingStrategy" ], "members": { "Name": {}, "Description": {}, "RoutingStrategy": { "shape": "S4" } } }, "output": { "type": "structure", "members": { "Alias": { "shape": "S9" } } } }, "CreateBuild": { "input": { "type": "structure", "members": { "Name": {}, "Version": {}, "StorageLocation": { "shape": "Se" }, "OperatingSystem": {} } }, "output": { "type": "structure", "members": { "Build": { "shape": "Si" }, "UploadCredentials": { "shape": "Sm" }, "StorageLocation": { "shape": "Se" } } } }, "CreateFleet": { "input": { "type": "structure", "required": [ "Name", "BuildId", "EC2InstanceType" ], "members": { "Name": {}, "Description": {}, "BuildId": {}, "ServerLaunchPath": {}, "ServerLaunchParameters": {}, "LogPaths": { "shape": "So" }, "EC2InstanceType": {}, "EC2InboundPermissions": { "shape": "Sq" }, "NewGameSessionProtectionPolicy": {}, "RuntimeConfiguration": { "shape": "Sw" }, "ResourceCreationLimitPolicy": { "shape": "S12" }, "MetricGroups": { "shape": "S14" } } }, "output": { "type": "structure", "members": { "FleetAttributes": { "shape": "S17" } } } }, "CreateGameSession": { "input": { "type": "structure", "required": [ "MaximumPlayerSessionCount" ], "members": { "FleetId": {}, "AliasId": {}, "MaximumPlayerSessionCount": { "type": "integer" }, "Name": {}, "GameProperties": { "shape": "S1a" }, "CreatorId": {}, "GameSessionId": {}, "IdempotencyToken": {} } }, "output": { "type": "structure", "members": { "GameSession": { "shape": "S1g" } } } }, "CreateGameSessionQueue": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "TimeoutInSeconds": { "type": "integer" }, "PlayerLatencyPolicies": { "shape": "S1m" }, "Destinations": { "shape": "S1o" } } }, "output": { "type": "structure", "members": { "GameSessionQueue": { "shape": "S1r" } } } }, "CreatePlayerSession": { "input": { "type": "structure", "required": [ "GameSessionId", "PlayerId" ], "members": { "GameSessionId": {}, "PlayerId": {}, "PlayerData": {} } }, "output": { "type": "structure", "members": { "PlayerSession": { "shape": "S1v" } } } }, "CreatePlayerSessions": { "input": { "type": "structure", "required": [ "GameSessionId", "PlayerIds" ], "members": { "GameSessionId": {}, "PlayerIds": { "type": "list", "member": {} }, "PlayerDataMap": { "type": "map", "key": {}, "value": {} } } }, "output": { "type": "structure", "members": { "PlayerSessions": { "shape": "S22" } } } }, "DeleteAlias": { "input": { "type": "structure", "required": [ "AliasId" ], "members": { "AliasId": {} } } }, "DeleteBuild": { "input": { "type": "structure", "required": [ "BuildId" ], "members": { "BuildId": {} } } }, "DeleteFleet": { "input": { "type": "structure", "required": [ "FleetId" ], "members": { "FleetId": {} } } }, "DeleteGameSessionQueue": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } }, "output": { "type": "structure", "members": {} } }, "DeleteScalingPolicy": { "input": { "type": "structure", "required": [ "Name", "FleetId" ], "members": { "Name": {}, "FleetId": {} } } }, "DescribeAlias": { "input": { "type": "structure", "required": [ "AliasId" ], "members": { "AliasId": {} } }, "output": { "type": "structure", "members": { "Alias": { "shape": "S9" } } } }, "DescribeBuild": { "input": { "type": "structure", "required": [ "BuildId" ], "members": { "BuildId": {} } }, "output": { "type": "structure", "members": { "Build": { "shape": "Si" } } } }, "DescribeEC2InstanceLimits": { "input": { "type": "structure", "members": { "EC2InstanceType": {} } }, "output": { "type": "structure", "members": { "EC2InstanceLimits": { "type": "list", "member": { "type": "structure", "members": { "EC2InstanceType": {}, "CurrentInstances": { "type": "integer" }, "InstanceLimit": { "type": "integer" } } } } } } }, "DescribeFleetAttributes": { "input": { "type": "structure", "members": { "FleetIds": { "shape": "S2i" }, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "FleetAttributes": { "type": "list", "member": { "shape": "S17" } }, "NextToken": {} } } }, "DescribeFleetCapacity": { "input": { "type": "structure", "members": { "FleetIds": { "shape": "S2i" }, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "FleetCapacity": { "type": "list", "member": { "type": "structure", "members": { "FleetId": {}, "InstanceType": {}, "InstanceCounts": { "type": "structure", "members": { "DESIRED": { "type": "integer" }, "MINIMUM": { "type": "integer" }, "MAXIMUM": { "type": "integer" }, "PENDING": { "type": "integer" }, "ACTIVE": { "type": "integer" }, "IDLE": { "type": "integer" }, "TERMINATING": { "type": "integer" } } } } } }, "NextToken": {} } } }, "DescribeFleetEvents": { "input": { "type": "structure", "required": [ "FleetId" ], "members": { "FleetId": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Events": { "type": "list", "member": { "type": "structure", "members": { "EventId": {}, "ResourceId": {}, "EventCode": {}, "Message": {}, "EventTime": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DescribeFleetPortSettings": { "input": { "type": "structure", "required": [ "FleetId" ], "members": { "FleetId": {} } }, "output": { "type": "structure", "members": { "InboundPermissions": { "shape": "Sq" } } } }, "DescribeFleetUtilization": { "input": { "type": "structure", "members": { "FleetIds": { "shape": "S2i" }, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "FleetUtilization": { "type": "list", "member": { "type": "structure", "members": { "FleetId": {}, "ActiveServerProcessCount": { "type": "integer" }, "ActiveGameSessionCount": { "type": "integer" }, "CurrentPlayerSessionCount": { "type": "integer" }, "MaximumPlayerSessionCount": { "type": "integer" } } } }, "NextToken": {} } } }, "DescribeGameSessionDetails": { "input": { "type": "structure", "members": { "FleetId": {}, "GameSessionId": {}, "AliasId": {}, "StatusFilter": {}, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "GameSessionDetails": { "type": "list", "member": { "type": "structure", "members": { "GameSession": { "shape": "S1g" }, "ProtectionPolicy": {} } } }, "NextToken": {} } } }, "DescribeGameSessionPlacement": { "input": { "type": "structure", "required": [ "PlacementId" ], "members": { "PlacementId": {} } }, "output": { "type": "structure", "members": { "GameSessionPlacement": { "shape": "S37" } } } }, "DescribeGameSessionQueues": { "input": { "type": "structure", "members": { "Names": { "type": "list", "member": {} }, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "GameSessionQueues": { "type": "list", "member": { "shape": "S1r" } }, "NextToken": {} } } }, "DescribeGameSessions": { "input": { "type": "structure", "members": { "FleetId": {}, "GameSessionId": {}, "AliasId": {}, "StatusFilter": {}, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "GameSessions": { "shape": "S3k" }, "NextToken": {} } } }, "DescribeInstances": { "input": { "type": "structure", "required": [ "FleetId" ], "members": { "FleetId": {}, "InstanceId": {}, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Instances": { "type": "list", "member": { "type": "structure", "members": { "FleetId": {}, "InstanceId": {}, "IpAddress": {}, "OperatingSystem": {}, "Type": {}, "Status": {}, "CreationTime": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DescribePlayerSessions": { "input": { "type": "structure", "members": { "GameSessionId": {}, "PlayerId": {}, "PlayerSessionId": {}, "PlayerSessionStatusFilter": {}, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "PlayerSessions": { "shape": "S22" }, "NextToken": {} } } }, "DescribeRuntimeConfiguration": { "input": { "type": "structure", "required": [ "FleetId" ], "members": { "FleetId": {} } }, "output": { "type": "structure", "members": { "RuntimeConfiguration": { "shape": "Sw" } } } }, "DescribeScalingPolicies": { "input": { "type": "structure", "required": [ "FleetId" ], "members": { "FleetId": {}, "StatusFilter": {}, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "ScalingPolicies": { "type": "list", "member": { "type": "structure", "members": { "FleetId": {}, "Name": {}, "Status": {}, "ScalingAdjustment": { "type": "integer" }, "ScalingAdjustmentType": {}, "ComparisonOperator": {}, "Threshold": { "type": "double" }, "EvaluationPeriods": { "type": "integer" }, "MetricName": {} } } }, "NextToken": {} } } }, "GetGameSessionLogUrl": { "input": { "type": "structure", "required": [ "GameSessionId" ], "members": { "GameSessionId": {} } }, "output": { "type": "structure", "members": { "PreSignedUrl": {} } } }, "GetInstanceAccess": { "input": { "type": "structure", "required": [ "FleetId", "InstanceId" ], "members": { "FleetId": {}, "InstanceId": {} } }, "output": { "type": "structure", "members": { "InstanceAccess": { "type": "structure", "members": { "FleetId": {}, "InstanceId": {}, "IpAddress": {}, "OperatingSystem": {}, "Credentials": { "type": "structure", "members": { "UserName": {}, "Secret": {} }, "sensitive": true } } } } } }, "ListAliases": { "input": { "type": "structure", "members": { "RoutingStrategyType": {}, "Name": {}, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Aliases": { "type": "list", "member": { "shape": "S9" } }, "NextToken": {} } } }, "ListBuilds": { "input": { "type": "structure", "members": { "Status": {}, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Builds": { "type": "list", "member": { "shape": "Si" } }, "NextToken": {} } } }, "ListFleets": { "input": { "type": "structure", "members": { "BuildId": {}, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "FleetIds": { "shape": "S2i" }, "NextToken": {} } } }, "PutScalingPolicy": { "input": { "type": "structure", "required": [ "Name", "FleetId", "ScalingAdjustment", "ScalingAdjustmentType", "Threshold", "ComparisonOperator", "EvaluationPeriods", "MetricName" ], "members": { "Name": {}, "FleetId": {}, "ScalingAdjustment": { "type": "integer" }, "ScalingAdjustmentType": {}, "Threshold": { "type": "double" }, "ComparisonOperator": {}, "EvaluationPeriods": { "type": "integer" }, "MetricName": {} } }, "output": { "type": "structure", "members": { "Name": {} } } }, "RequestUploadCredentials": { "input": { "type": "structure", "required": [ "BuildId" ], "members": { "BuildId": {} } }, "output": { "type": "structure", "members": { "UploadCredentials": { "shape": "Sm" }, "StorageLocation": { "shape": "Se" } } } }, "ResolveAlias": { "input": { "type": "structure", "required": [ "AliasId" ], "members": { "AliasId": {} } }, "output": { "type": "structure", "members": { "FleetId": {} } } }, "SearchGameSessions": { "input": { "type": "structure", "members": { "FleetId": {}, "AliasId": {}, "FilterExpression": {}, "SortExpression": {}, "Limit": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "GameSessions": { "shape": "S3k" }, "NextToken": {} } } }, "StartGameSessionPlacement": { "input": { "type": "structure", "required": [ "PlacementId", "GameSessionQueueName", "MaximumPlayerSessionCount" ], "members": { "PlacementId": {}, "GameSessionQueueName": {}, "GameProperties": { "shape": "S1a" }, "MaximumPlayerSessionCount": { "type": "integer" }, "GameSessionName": {}, "PlayerLatencies": { "shape": "S39" }, "DesiredPlayerSessions": { "type": "list", "member": { "type": "structure", "members": { "PlayerId": {}, "PlayerData": {} } } } } }, "output": { "type": "structure", "members": { "GameSessionPlacement": { "shape": "S37" } } } }, "StopGameSessionPlacement": { "input": { "type": "structure", "required": [ "PlacementId" ], "members": { "PlacementId": {} } }, "output": { "type": "structure", "members": { "GameSessionPlacement": { "shape": "S37" } } } }, "UpdateAlias": { "input": { "type": "structure", "required": [ "AliasId" ], "members": { "AliasId": {}, "Name": {}, "Description": {}, "RoutingStrategy": { "shape": "S4" } } }, "output": { "type": "structure", "members": { "Alias": { "shape": "S9" } } } }, "UpdateBuild": { "input": { "type": "structure", "required": [ "BuildId" ], "members": { "BuildId": {}, "Name": {}, "Version": {} } }, "output": { "type": "structure", "members": { "Build": { "shape": "Si" } } } }, "UpdateFleetAttributes": { "input": { "type": "structure", "required": [ "FleetId" ], "members": { "FleetId": {}, "Name": {}, "Description": {}, "NewGameSessionProtectionPolicy": {}, "ResourceCreationLimitPolicy": { "shape": "S12" }, "MetricGroups": { "shape": "S14" } } }, "output": { "type": "structure", "members": { "FleetId": {} } } }, "UpdateFleetCapacity": { "input": { "type": "structure", "required": [ "FleetId" ], "members": { "FleetId": {}, "DesiredInstances": { "type": "integer" }, "MinSize": { "type": "integer" }, "MaxSize": { "type": "integer" } } }, "output": { "type": "structure", "members": { "FleetId": {} } } }, "UpdateFleetPortSettings": { "input": { "type": "structure", "required": [ "FleetId" ], "members": { "FleetId": {}, "InboundPermissionAuthorizations": { "shape": "Sq" }, "InboundPermissionRevocations": { "shape": "Sq" } } }, "output": { "type": "structure", "members": { "FleetId": {} } } }, "UpdateGameSession": { "input": { "type": "structure", "required": [ "GameSessionId" ], "members": { "GameSessionId": {}, "MaximumPlayerSessionCount": { "type": "integer" }, "Name": {}, "PlayerSessionCreationPolicy": {}, "ProtectionPolicy": {} } }, "output": { "type": "structure", "members": { "GameSession": { "shape": "S1g" } } } }, "UpdateGameSessionQueue": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "TimeoutInSeconds": { "type": "integer" }, "PlayerLatencyPolicies": { "shape": "S1m" }, "Destinations": { "shape": "S1o" } } }, "output": { "type": "structure", "members": { "GameSessionQueue": { "shape": "S1r" } } } }, "UpdateRuntimeConfiguration": { "input": { "type": "structure", "required": [ "FleetId", "RuntimeConfiguration" ], "members": { "FleetId": {}, "RuntimeConfiguration": { "shape": "Sw" } } }, "output": { "type": "structure", "members": { "RuntimeConfiguration": { "shape": "Sw" } } } } }, "shapes": { "S4": { "type": "structure", "members": { "Type": {}, "FleetId": {}, "Message": {} } }, "S9": { "type": "structure", "members": { "AliasId": {}, "Name": {}, "AliasArn": {}, "Description": {}, "RoutingStrategy": { "shape": "S4" }, "CreationTime": { "type": "timestamp" }, "LastUpdatedTime": { "type": "timestamp" } } }, "Se": { "type": "structure", "members": { "Bucket": {}, "Key": {}, "RoleArn": {} } }, "Si": { "type": "structure", "members": { "BuildId": {}, "Name": {}, "Version": {}, "Status": {}, "SizeOnDisk": { "type": "long" }, "OperatingSystem": {}, "CreationTime": { "type": "timestamp" } } }, "Sm": { "type": "structure", "members": { "AccessKeyId": {}, "SecretAccessKey": {}, "SessionToken": {} }, "sensitive": true }, "So": { "type": "list", "member": {} }, "Sq": { "type": "list", "member": { "type": "structure", "required": [ "FromPort", "ToPort", "IpRange", "Protocol" ], "members": { "FromPort": { "type": "integer" }, "ToPort": { "type": "integer" }, "IpRange": {}, "Protocol": {} } } }, "Sw": { "type": "structure", "members": { "ServerProcesses": { "type": "list", "member": { "type": "structure", "required": [ "LaunchPath", "ConcurrentExecutions" ], "members": { "LaunchPath": {}, "Parameters": {}, "ConcurrentExecutions": { "type": "integer" } } } }, "MaxConcurrentGameSessionActivations": { "type": "integer" }, "GameSessionActivationTimeoutSeconds": { "type": "integer" } } }, "S12": { "type": "structure", "members": { "NewGameSessionsPerCreator": { "type": "integer" }, "PolicyPeriodInMinutes": { "type": "integer" } } }, "S14": { "type": "list", "member": {} }, "S17": { "type": "structure", "members": { "FleetId": {}, "FleetArn": {}, "Description": {}, "Name": {}, "CreationTime": { "type": "timestamp" }, "TerminationTime": { "type": "timestamp" }, "Status": {}, "BuildId": {}, "ServerLaunchPath": {}, "ServerLaunchParameters": {}, "LogPaths": { "shape": "So" }, "NewGameSessionProtectionPolicy": {}, "OperatingSystem": {}, "ResourceCreationLimitPolicy": { "shape": "S12" }, "MetricGroups": { "shape": "S14" } } }, "S1a": { "type": "list", "member": { "type": "structure", "required": [ "Key", "Value" ], "members": { "Key": {}, "Value": {} } } }, "S1g": { "type": "structure", "members": { "GameSessionId": {}, "Name": {}, "FleetId": {}, "CreationTime": { "type": "timestamp" }, "TerminationTime": { "type": "timestamp" }, "CurrentPlayerSessionCount": { "type": "integer" }, "MaximumPlayerSessionCount": { "type": "integer" }, "Status": {}, "GameProperties": { "shape": "S1a" }, "IpAddress": {}, "Port": { "type": "integer" }, "PlayerSessionCreationPolicy": {}, "CreatorId": {} } }, "S1m": { "type": "list", "member": { "type": "structure", "members": { "MaximumIndividualPlayerLatencyMilliseconds": { "type": "integer" }, "PolicyDurationSeconds": { "type": "integer" } } } }, "S1o": { "type": "list", "member": { "type": "structure", "members": { "DestinationArn": {} } } }, "S1r": { "type": "structure", "members": { "Name": {}, "GameSessionQueueArn": {}, "TimeoutInSeconds": { "type": "integer" }, "PlayerLatencyPolicies": { "shape": "S1m" }, "Destinations": { "shape": "S1o" } } }, "S1v": { "type": "structure", "members": { "PlayerSessionId": {}, "PlayerId": {}, "GameSessionId": {}, "FleetId": {}, "CreationTime": { "type": "timestamp" }, "TerminationTime": { "type": "timestamp" }, "Status": {}, "IpAddress": {}, "Port": { "type": "integer" }, "PlayerData": {} } }, "S22": { "type": "list", "member": { "shape": "S1v" } }, "S2i": { "type": "list", "member": {} }, "S37": { "type": "structure", "members": { "PlacementId": {}, "GameSessionQueueName": {}, "Status": {}, "GameProperties": { "shape": "S1a" }, "MaximumPlayerSessionCount": { "type": "integer" }, "GameSessionName": {}, "GameSessionId": {}, "GameSessionArn": {}, "GameSessionRegion": {}, "PlayerLatencies": { "shape": "S39" }, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "IpAddress": {}, "Port": { "type": "integer" }, "PlacedPlayerSessions": { "type": "list", "member": { "type": "structure", "members": { "PlayerId": {}, "PlayerSessionId": {} } } } } }, "S39": { "type": "list", "member": { "type": "structure", "members": { "PlayerId": {}, "RegionIdentifier": {}, "LatencyInMilliseconds": { "type": "float" } } } }, "S3k": { "type": "list", "member": { "shape": "S1g" } } } } },{}],80:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],81:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2016-02-16", "endpointPrefix": "inspector", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "Amazon Inspector", "signatureVersion": "v4", "targetPrefix": "InspectorService", "uid": "inspector-2016-02-16" }, "operations": { "AddAttributesToFindings": { "input": { "type": "structure", "required": [ "findingArns", "attributes" ], "members": { "findingArns": { "shape": "S2" }, "attributes": { "shape": "S4" } } }, "output": { "type": "structure", "required": [ "failedItems" ], "members": { "failedItems": { "shape": "S9" } } } }, "CreateAssessmentTarget": { "input": { "type": "structure", "required": [ "assessmentTargetName", "resourceGroupArn" ], "members": { "assessmentTargetName": {}, "resourceGroupArn": {} } }, "output": { "type": "structure", "required": [ "assessmentTargetArn" ], "members": { "assessmentTargetArn": {} } } }, "CreateAssessmentTemplate": { "input": { "type": "structure", "required": [ "assessmentTargetArn", "assessmentTemplateName", "durationInSeconds", "rulesPackageArns" ], "members": { "assessmentTargetArn": {}, "assessmentTemplateName": {}, "durationInSeconds": { "type": "integer" }, "rulesPackageArns": { "shape": "Sj" }, "userAttributesForFindings": { "shape": "S4" } } }, "output": { "type": "structure", "required": [ "assessmentTemplateArn" ], "members": { "assessmentTemplateArn": {} } } }, "CreateResourceGroup": { "input": { "type": "structure", "required": [ "resourceGroupTags" ], "members": { "resourceGroupTags": { "shape": "Sm" } } }, "output": { "type": "structure", "required": [ "resourceGroupArn" ], "members": { "resourceGroupArn": {} } } }, "DeleteAssessmentRun": { "input": { "type": "structure", "required": [ "assessmentRunArn" ], "members": { "assessmentRunArn": {} } } }, "DeleteAssessmentTarget": { "input": { "type": "structure", "required": [ "assessmentTargetArn" ], "members": { "assessmentTargetArn": {} } } }, "DeleteAssessmentTemplate": { "input": { "type": "structure", "required": [ "assessmentTemplateArn" ], "members": { "assessmentTemplateArn": {} } } }, "DescribeAssessmentRuns": { "input": { "type": "structure", "required": [ "assessmentRunArns" ], "members": { "assessmentRunArns": { "shape": "Sv" } } }, "output": { "type": "structure", "required": [ "assessmentRuns", "failedItems" ], "members": { "assessmentRuns": { "type": "list", "member": { "type": "structure", "required": [ "arn", "name", "assessmentTemplateArn", "state", "durationInSeconds", "rulesPackageArns", "userAttributesForFindings", "createdAt", "stateChangedAt", "dataCollected", "stateChanges", "notifications", "findingCounts" ], "members": { "arn": {}, "name": {}, "assessmentTemplateArn": {}, "state": {}, "durationInSeconds": { "type": "integer" }, "rulesPackageArns": { "type": "list", "member": {} }, "userAttributesForFindings": { "shape": "S4" }, "createdAt": { "type": "timestamp" }, "startedAt": { "type": "timestamp" }, "completedAt": { "type": "timestamp" }, "stateChangedAt": { "type": "timestamp" }, "dataCollected": { "type": "boolean" }, "stateChanges": { "type": "list", "member": { "type": "structure", "required": [ "stateChangedAt", "state" ], "members": { "stateChangedAt": { "type": "timestamp" }, "state": {} } } }, "notifications": { "type": "list", "member": { "type": "structure", "required": [ "date", "event", "error" ], "members": { "date": { "type": "timestamp" }, "event": {}, "message": {}, "error": { "type": "boolean" }, "snsTopicArn": {}, "snsPublishStatusCode": {} } } }, "findingCounts": { "type": "map", "key": {}, "value": { "type": "integer" } } } } }, "failedItems": { "shape": "S9" } } } }, "DescribeAssessmentTargets": { "input": { "type": "structure", "required": [ "assessmentTargetArns" ], "members": { "assessmentTargetArns": { "shape": "Sv" } } }, "output": { "type": "structure", "required": [ "assessmentTargets", "failedItems" ], "members": { "assessmentTargets": { "type": "list", "member": { "type": "structure", "required": [ "arn", "name", "resourceGroupArn", "createdAt", "updatedAt" ], "members": { "arn": {}, "name": {}, "resourceGroupArn": {}, "createdAt": { "type": "timestamp" }, "updatedAt": { "type": "timestamp" } } } }, "failedItems": { "shape": "S9" } } } }, "DescribeAssessmentTemplates": { "input": { "type": "structure", "required": [ "assessmentTemplateArns" ], "members": { "assessmentTemplateArns": { "shape": "Sv" } } }, "output": { "type": "structure", "required": [ "assessmentTemplates", "failedItems" ], "members": { "assessmentTemplates": { "type": "list", "member": { "type": "structure", "required": [ "arn", "name", "assessmentTargetArn", "durationInSeconds", "rulesPackageArns", "userAttributesForFindings", "createdAt" ], "members": { "arn": {}, "name": {}, "assessmentTargetArn": {}, "durationInSeconds": { "type": "integer" }, "rulesPackageArns": { "shape": "Sj" }, "userAttributesForFindings": { "shape": "S4" }, "createdAt": { "type": "timestamp" } } } }, "failedItems": { "shape": "S9" } } } }, "DescribeCrossAccountAccessRole": { "output": { "type": "structure", "required": [ "roleArn", "valid", "registeredAt" ], "members": { "roleArn": {}, "valid": { "type": "boolean" }, "registeredAt": { "type": "timestamp" } } } }, "DescribeFindings": { "input": { "type": "structure", "required": [ "findingArns" ], "members": { "findingArns": { "shape": "Sv" }, "locale": {} } }, "output": { "type": "structure", "required": [ "findings", "failedItems" ], "members": { "findings": { "type": "list", "member": { "type": "structure", "required": [ "arn", "attributes", "userAttributes", "createdAt", "updatedAt" ], "members": { "arn": {}, "schemaVersion": { "type": "integer" }, "service": {}, "serviceAttributes": { "type": "structure", "required": [ "schemaVersion" ], "members": { "schemaVersion": { "type": "integer" }, "assessmentRunArn": {}, "rulesPackageArn": {} } }, "assetType": {}, "assetAttributes": { "type": "structure", "required": [ "schemaVersion" ], "members": { "schemaVersion": { "type": "integer" }, "agentId": {}, "autoScalingGroup": {}, "amiId": {}, "hostname": {}, "ipv4Addresses": { "type": "list", "member": {} } } }, "id": {}, "title": {}, "description": {}, "recommendation": {}, "severity": {}, "numericSeverity": { "type": "double" }, "confidence": { "type": "integer" }, "indicatorOfCompromise": { "type": "boolean" }, "attributes": { "shape": "S26" }, "userAttributes": { "shape": "S4" }, "createdAt": { "type": "timestamp" }, "updatedAt": { "type": "timestamp" } } } }, "failedItems": { "shape": "S9" } } } }, "DescribeResourceGroups": { "input": { "type": "structure", "required": [ "resourceGroupArns" ], "members": { "resourceGroupArns": { "shape": "Sv" } } }, "output": { "type": "structure", "required": [ "resourceGroups", "failedItems" ], "members": { "resourceGroups": { "type": "list", "member": { "type": "structure", "required": [ "arn", "tags", "createdAt" ], "members": { "arn": {}, "tags": { "shape": "Sm" }, "createdAt": { "type": "timestamp" } } } }, "failedItems": { "shape": "S9" } } } }, "DescribeRulesPackages": { "input": { "type": "structure", "required": [ "rulesPackageArns" ], "members": { "rulesPackageArns": { "shape": "Sv" }, "locale": {} } }, "output": { "type": "structure", "required": [ "rulesPackages", "failedItems" ], "members": { "rulesPackages": { "type": "list", "member": { "type": "structure", "required": [ "arn", "name", "version", "provider" ], "members": { "arn": {}, "name": {}, "version": {}, "provider": {}, "description": {} } } }, "failedItems": { "shape": "S9" } } } }, "GetAssessmentReport": { "input": { "type": "structure", "required": [ "assessmentRunArn", "reportFileFormat", "reportType" ], "members": { "assessmentRunArn": {}, "reportFileFormat": {}, "reportType": {} } }, "output": { "type": "structure", "required": [ "status" ], "members": { "status": {}, "url": {} } } }, "GetTelemetryMetadata": { "input": { "type": "structure", "required": [ "assessmentRunArn" ], "members": { "assessmentRunArn": {} } }, "output": { "type": "structure", "required": [ "telemetryMetadata" ], "members": { "telemetryMetadata": { "shape": "S2q" } } } }, "ListAssessmentRunAgents": { "input": { "type": "structure", "required": [ "assessmentRunArn" ], "members": { "assessmentRunArn": {}, "filter": { "type": "structure", "required": [ "agentHealths", "agentHealthCodes" ], "members": { "agentHealths": { "type": "list", "member": {} }, "agentHealthCodes": { "type": "list", "member": {} } } }, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "assessmentRunAgents" ], "members": { "assessmentRunAgents": { "type": "list", "member": { "type": "structure", "required": [ "agentId", "assessmentRunArn", "agentHealth", "agentHealthCode", "telemetryMetadata" ], "members": { "agentId": {}, "assessmentRunArn": {}, "agentHealth": {}, "agentHealthCode": {}, "agentHealthDetails": {}, "autoScalingGroup": {}, "telemetryMetadata": { "shape": "S2q" } } } }, "nextToken": {} } } }, "ListAssessmentRuns": { "input": { "type": "structure", "members": { "assessmentTemplateArns": { "shape": "S36" }, "filter": { "type": "structure", "members": { "namePattern": {}, "states": { "type": "list", "member": {} }, "durationRange": { "shape": "S3a" }, "rulesPackageArns": { "shape": "S3b" }, "startTimeRange": { "shape": "S3c" }, "completionTimeRange": { "shape": "S3c" }, "stateChangeTimeRange": { "shape": "S3c" } } }, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "assessmentRunArns" ], "members": { "assessmentRunArns": { "shape": "S3e" }, "nextToken": {} } } }, "ListAssessmentTargets": { "input": { "type": "structure", "members": { "filter": { "type": "structure", "members": { "assessmentTargetNamePattern": {} } }, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "assessmentTargetArns" ], "members": { "assessmentTargetArns": { "shape": "S3e" }, "nextToken": {} } } }, "ListAssessmentTemplates": { "input": { "type": "structure", "members": { "assessmentTargetArns": { "shape": "S36" }, "filter": { "type": "structure", "members": { "namePattern": {}, "durationRange": { "shape": "S3a" }, "rulesPackageArns": { "shape": "S3b" } } }, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "assessmentTemplateArns" ], "members": { "assessmentTemplateArns": { "shape": "S3e" }, "nextToken": {} } } }, "ListEventSubscriptions": { "input": { "type": "structure", "members": { "resourceArn": {}, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "subscriptions" ], "members": { "subscriptions": { "type": "list", "member": { "type": "structure", "required": [ "resourceArn", "topicArn", "eventSubscriptions" ], "members": { "resourceArn": {}, "topicArn": {}, "eventSubscriptions": { "type": "list", "member": { "type": "structure", "required": [ "event", "subscribedAt" ], "members": { "event": {}, "subscribedAt": { "type": "timestamp" } } } } } } }, "nextToken": {} } } }, "ListFindings": { "input": { "type": "structure", "members": { "assessmentRunArns": { "shape": "S36" }, "filter": { "type": "structure", "members": { "agentIds": { "type": "list", "member": {} }, "autoScalingGroups": { "type": "list", "member": {} }, "ruleNames": { "type": "list", "member": {} }, "severities": { "type": "list", "member": {} }, "rulesPackageArns": { "shape": "S3b" }, "attributes": { "shape": "S26" }, "userAttributes": { "shape": "S26" }, "creationTimeRange": { "shape": "S3c" } } }, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "findingArns" ], "members": { "findingArns": { "shape": "S3e" }, "nextToken": {} } } }, "ListRulesPackages": { "input": { "type": "structure", "members": { "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "rulesPackageArns" ], "members": { "rulesPackageArns": { "shape": "S3e" }, "nextToken": {} } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": {} } }, "output": { "type": "structure", "required": [ "tags" ], "members": { "tags": { "shape": "S44" } } } }, "PreviewAgents": { "input": { "type": "structure", "required": [ "previewAgentsArn" ], "members": { "previewAgentsArn": {}, "nextToken": {}, "maxResults": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "agentPreviews" ], "members": { "agentPreviews": { "type": "list", "member": { "type": "structure", "required": [ "agentId" ], "members": { "agentId": {}, "autoScalingGroup": {} } } }, "nextToken": {} } } }, "RegisterCrossAccountAccessRole": { "input": { "type": "structure", "required": [ "roleArn" ], "members": { "roleArn": {} } } }, "RemoveAttributesFromFindings": { "input": { "type": "structure", "required": [ "findingArns", "attributeKeys" ], "members": { "findingArns": { "shape": "S2" }, "attributeKeys": { "type": "list", "member": {} } } }, "output": { "type": "structure", "required": [ "failedItems" ], "members": { "failedItems": { "shape": "S9" } } } }, "SetTagsForResource": { "input": { "type": "structure", "required": [ "resourceArn" ], "members": { "resourceArn": {}, "tags": { "shape": "S44" } } } }, "StartAssessmentRun": { "input": { "type": "structure", "required": [ "assessmentTemplateArn" ], "members": { "assessmentTemplateArn": {}, "assessmentRunName": {} } }, "output": { "type": "structure", "required": [ "assessmentRunArn" ], "members": { "assessmentRunArn": {} } } }, "StopAssessmentRun": { "input": { "type": "structure", "required": [ "assessmentRunArn" ], "members": { "assessmentRunArn": {} } } }, "SubscribeToEvent": { "input": { "type": "structure", "required": [ "resourceArn", "event", "topicArn" ], "members": { "resourceArn": {}, "event": {}, "topicArn": {} } } }, "UnsubscribeFromEvent": { "input": { "type": "structure", "required": [ "resourceArn", "event", "topicArn" ], "members": { "resourceArn": {}, "event": {}, "topicArn": {} } } }, "UpdateAssessmentTarget": { "input": { "type": "structure", "required": [ "assessmentTargetArn", "assessmentTargetName", "resourceGroupArn" ], "members": { "assessmentTargetArn": {}, "assessmentTargetName": {}, "resourceGroupArn": {} } } } }, "shapes": { "S2": { "type": "list", "member": {} }, "S4": { "type": "list", "member": { "shape": "S5" } }, "S5": { "type": "structure", "required": [ "key" ], "members": { "key": {}, "value": {} } }, "S9": { "type": "map", "key": {}, "value": { "type": "structure", "required": [ "failureCode", "retryable" ], "members": { "failureCode": {}, "retryable": { "type": "boolean" } } } }, "Sj": { "type": "list", "member": {} }, "Sm": { "type": "list", "member": { "type": "structure", "required": [ "key" ], "members": { "key": {}, "value": {} } } }, "Sv": { "type": "list", "member": {} }, "S26": { "type": "list", "member": { "shape": "S5" } }, "S2q": { "type": "list", "member": { "type": "structure", "required": [ "messageType", "count" ], "members": { "messageType": {}, "count": { "type": "long" }, "dataSize": { "type": "long" } } } }, "S36": { "type": "list", "member": {} }, "S3a": { "type": "structure", "members": { "minSeconds": { "type": "integer" }, "maxSeconds": { "type": "integer" } } }, "S3b": { "type": "list", "member": {} }, "S3c": { "type": "structure", "members": { "beginDate": { "type": "timestamp" }, "endDate": { "type": "timestamp" } } }, "S3e": { "type": "list", "member": {} }, "S44": { "type": "list", "member": { "type": "structure", "required": [ "key" ], "members": { "key": {}, "value": {} } } } } } },{}],82:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],83:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-05-28", "endpointPrefix": "iot", "protocol": "rest-json", "serviceFullName": "AWS IoT", "signatureVersion": "v4", "signingName": "execute-api", "uid": "iot-2015-05-28" }, "operations": { "AcceptCertificateTransfer": { "http": { "method": "PATCH", "requestUri": "/accept-certificate-transfer/{certificateId}" }, "input": { "type": "structure", "required": [ "certificateId" ], "members": { "certificateId": { "location": "uri", "locationName": "certificateId" }, "setAsActive": { "location": "querystring", "locationName": "setAsActive", "type": "boolean" } } } }, "AttachPrincipalPolicy": { "http": { "method": "PUT", "requestUri": "/principal-policies/{policyName}" }, "input": { "type": "structure", "required": [ "policyName", "principal" ], "members": { "policyName": { "location": "uri", "locationName": "policyName" }, "principal": { "location": "header", "locationName": "x-amzn-iot-principal" } } } }, "AttachThingPrincipal": { "http": { "method": "PUT", "requestUri": "/things/{thingName}/principals" }, "input": { "type": "structure", "required": [ "thingName", "principal" ], "members": { "thingName": { "location": "uri", "locationName": "thingName" }, "principal": { "location": "header", "locationName": "x-amzn-principal" } } }, "output": { "type": "structure", "members": {} } }, "CancelCertificateTransfer": { "http": { "method": "PATCH", "requestUri": "/cancel-certificate-transfer/{certificateId}" }, "input": { "type": "structure", "required": [ "certificateId" ], "members": { "certificateId": { "location": "uri", "locationName": "certificateId" } } } }, "CreateCertificateFromCsr": { "http": { "requestUri": "/certificates" }, "input": { "type": "structure", "required": [ "certificateSigningRequest" ], "members": { "certificateSigningRequest": {}, "setAsActive": { "location": "querystring", "locationName": "setAsActive", "type": "boolean" } } }, "output": { "type": "structure", "members": { "certificateArn": {}, "certificateId": {}, "certificatePem": {} } } }, "CreateKeysAndCertificate": { "http": { "requestUri": "/keys-and-certificate" }, "input": { "type": "structure", "members": { "setAsActive": { "location": "querystring", "locationName": "setAsActive", "type": "boolean" } } }, "output": { "type": "structure", "members": { "certificateArn": {}, "certificateId": {}, "certificatePem": {}, "keyPair": { "type": "structure", "members": { "PublicKey": {}, "PrivateKey": { "type": "string", "sensitive": true } } } } } }, "CreatePolicy": { "http": { "requestUri": "/policies/{policyName}" }, "input": { "type": "structure", "required": [ "policyName", "policyDocument" ], "members": { "policyName": { "location": "uri", "locationName": "policyName" }, "policyDocument": {} } }, "output": { "type": "structure", "members": { "policyName": {}, "policyArn": {}, "policyDocument": {}, "policyVersionId": {} } } }, "CreatePolicyVersion": { "http": { "requestUri": "/policies/{policyName}/version" }, "input": { "type": "structure", "required": [ "policyName", "policyDocument" ], "members": { "policyName": { "location": "uri", "locationName": "policyName" }, "policyDocument": {}, "setAsDefault": { "location": "querystring", "locationName": "setAsDefault", "type": "boolean" } } }, "output": { "type": "structure", "members": { "policyArn": {}, "policyDocument": {}, "policyVersionId": {}, "isDefaultVersion": { "type": "boolean" } } } }, "CreateThing": { "http": { "requestUri": "/things/{thingName}" }, "input": { "type": "structure", "required": [ "thingName" ], "members": { "thingName": { "location": "uri", "locationName": "thingName" }, "thingTypeName": {}, "attributePayload": { "shape": "Sw" } } }, "output": { "type": "structure", "members": { "thingName": {}, "thingArn": {} } } }, "CreateThingType": { "http": { "requestUri": "/thing-types/{thingTypeName}" }, "input": { "type": "structure", "required": [ "thingTypeName" ], "members": { "thingTypeName": { "location": "uri", "locationName": "thingTypeName" }, "thingTypeProperties": { "shape": "S14" } } }, "output": { "type": "structure", "members": { "thingTypeName": {}, "thingTypeArn": {} } } }, "CreateTopicRule": { "http": { "requestUri": "/rules/{ruleName}" }, "input": { "type": "structure", "required": [ "ruleName", "topicRulePayload" ], "members": { "ruleName": { "location": "uri", "locationName": "ruleName" }, "topicRulePayload": { "shape": "S1b" } }, "payload": "topicRulePayload" } }, "DeleteCACertificate": { "http": { "method": "DELETE", "requestUri": "/cacertificate/{caCertificateId}" }, "input": { "type": "structure", "required": [ "certificateId" ], "members": { "certificateId": { "location": "uri", "locationName": "caCertificateId" } } }, "output": { "type": "structure", "members": {} } }, "DeleteCertificate": { "http": { "method": "DELETE", "requestUri": "/certificates/{certificateId}" }, "input": { "type": "structure", "required": [ "certificateId" ], "members": { "certificateId": { "location": "uri", "locationName": "certificateId" } } } }, "DeletePolicy": { "http": { "method": "DELETE", "requestUri": "/policies/{policyName}" }, "input": { "type": "structure", "required": [ "policyName" ], "members": { "policyName": { "location": "uri", "locationName": "policyName" } } } }, "DeletePolicyVersion": { "http": { "method": "DELETE", "requestUri": "/policies/{policyName}/version/{policyVersionId}" }, "input": { "type": "structure", "required": [ "policyName", "policyVersionId" ], "members": { "policyName": { "location": "uri", "locationName": "policyName" }, "policyVersionId": { "location": "uri", "locationName": "policyVersionId" } } } }, "DeleteRegistrationCode": { "http": { "method": "DELETE", "requestUri": "/registrationcode" }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": {} } }, "DeleteThing": { "http": { "method": "DELETE", "requestUri": "/things/{thingName}" }, "input": { "type": "structure", "required": [ "thingName" ], "members": { "thingName": { "location": "uri", "locationName": "thingName" }, "expectedVersion": { "location": "querystring", "locationName": "expectedVersion", "type": "long" } } }, "output": { "type": "structure", "members": {} } }, "DeleteThingType": { "http": { "method": "DELETE", "requestUri": "/thing-types/{thingTypeName}" }, "input": { "type": "structure", "required": [ "thingTypeName" ], "members": { "thingTypeName": { "location": "uri", "locationName": "thingTypeName" } } }, "output": { "type": "structure", "members": {} } }, "DeleteTopicRule": { "http": { "method": "DELETE", "requestUri": "/rules/{ruleName}" }, "input": { "type": "structure", "required": [ "ruleName" ], "members": { "ruleName": { "location": "uri", "locationName": "ruleName" } } } }, "DeprecateThingType": { "http": { "requestUri": "/thing-types/{thingTypeName}/deprecate" }, "input": { "type": "structure", "required": [ "thingTypeName" ], "members": { "thingTypeName": { "location": "uri", "locationName": "thingTypeName" }, "undoDeprecate": { "type": "boolean" } } }, "output": { "type": "structure", "members": {} } }, "DescribeCACertificate": { "http": { "method": "GET", "requestUri": "/cacertificate/{caCertificateId}" }, "input": { "type": "structure", "required": [ "certificateId" ], "members": { "certificateId": { "location": "uri", "locationName": "caCertificateId" } } }, "output": { "type": "structure", "members": { "certificateDescription": { "type": "structure", "members": { "certificateArn": {}, "certificateId": {}, "status": {}, "certificatePem": {}, "ownedBy": {}, "creationDate": { "type": "timestamp" }, "autoRegistrationStatus": {} } } } } }, "DescribeCertificate": { "http": { "method": "GET", "requestUri": "/certificates/{certificateId}" }, "input": { "type": "structure", "required": [ "certificateId" ], "members": { "certificateId": { "location": "uri", "locationName": "certificateId" } } }, "output": { "type": "structure", "members": { "certificateDescription": { "type": "structure", "members": { "certificateArn": {}, "certificateId": {}, "caCertificateId": {}, "status": {}, "certificatePem": {}, "ownedBy": {}, "previousOwnedBy": {}, "creationDate": { "type": "timestamp" }, "lastModifiedDate": { "type": "timestamp" }, "transferData": { "type": "structure", "members": { "transferMessage": {}, "rejectReason": {}, "transferDate": { "type": "timestamp" }, "acceptDate": { "type": "timestamp" }, "rejectDate": { "type": "timestamp" } } } } } } } }, "DescribeEndpoint": { "http": { "method": "GET", "requestUri": "/endpoint" }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "endpointAddress": {} } } }, "DescribeThing": { "http": { "method": "GET", "requestUri": "/things/{thingName}" }, "input": { "type": "structure", "required": [ "thingName" ], "members": { "thingName": { "location": "uri", "locationName": "thingName" } } }, "output": { "type": "structure", "members": { "defaultClientId": {}, "thingName": {}, "thingTypeName": {}, "attributes": { "shape": "Sx" }, "version": { "type": "long" } } } }, "DescribeThingType": { "http": { "method": "GET", "requestUri": "/thing-types/{thingTypeName}" }, "input": { "type": "structure", "required": [ "thingTypeName" ], "members": { "thingTypeName": { "location": "uri", "locationName": "thingTypeName" } } }, "output": { "type": "structure", "members": { "thingTypeName": {}, "thingTypeProperties": { "shape": "S14" }, "thingTypeMetadata": { "shape": "S3x" } } } }, "DetachPrincipalPolicy": { "http": { "method": "DELETE", "requestUri": "/principal-policies/{policyName}" }, "input": { "type": "structure", "required": [ "policyName", "principal" ], "members": { "policyName": { "location": "uri", "locationName": "policyName" }, "principal": { "location": "header", "locationName": "x-amzn-iot-principal" } } } }, "DetachThingPrincipal": { "http": { "method": "DELETE", "requestUri": "/things/{thingName}/principals" }, "input": { "type": "structure", "required": [ "thingName", "principal" ], "members": { "thingName": { "location": "uri", "locationName": "thingName" }, "principal": { "location": "header", "locationName": "x-amzn-principal" } } }, "output": { "type": "structure", "members": {} } }, "DisableTopicRule": { "http": { "requestUri": "/rules/{ruleName}/disable" }, "input": { "type": "structure", "required": [ "ruleName" ], "members": { "ruleName": { "location": "uri", "locationName": "ruleName" } } } }, "EnableTopicRule": { "http": { "requestUri": "/rules/{ruleName}/enable" }, "input": { "type": "structure", "required": [ "ruleName" ], "members": { "ruleName": { "location": "uri", "locationName": "ruleName" } } } }, "GetLoggingOptions": { "http": { "method": "GET", "requestUri": "/loggingOptions" }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "roleArn": {}, "logLevel": {} } } }, "GetPolicy": { "http": { "method": "GET", "requestUri": "/policies/{policyName}" }, "input": { "type": "structure", "required": [ "policyName" ], "members": { "policyName": { "location": "uri", "locationName": "policyName" } } }, "output": { "type": "structure", "members": { "policyName": {}, "policyArn": {}, "policyDocument": {}, "defaultVersionId": {} } } }, "GetPolicyVersion": { "http": { "method": "GET", "requestUri": "/policies/{policyName}/version/{policyVersionId}" }, "input": { "type": "structure", "required": [ "policyName", "policyVersionId" ], "members": { "policyName": { "location": "uri", "locationName": "policyName" }, "policyVersionId": { "location": "uri", "locationName": "policyVersionId" } } }, "output": { "type": "structure", "members": { "policyArn": {}, "policyName": {}, "policyDocument": {}, "policyVersionId": {}, "isDefaultVersion": { "type": "boolean" } } } }, "GetRegistrationCode": { "http": { "method": "GET", "requestUri": "/registrationcode" }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "registrationCode": {} } } }, "GetTopicRule": { "http": { "method": "GET", "requestUri": "/rules/{ruleName}" }, "input": { "type": "structure", "required": [ "ruleName" ], "members": { "ruleName": { "location": "uri", "locationName": "ruleName" } } }, "output": { "type": "structure", "members": { "ruleArn": {}, "rule": { "type": "structure", "members": { "ruleName": {}, "sql": {}, "description": {}, "createdAt": { "type": "timestamp" }, "actions": { "shape": "S1e" }, "ruleDisabled": { "type": "boolean" }, "awsIotSqlVersion": {} } } } } }, "ListCACertificates": { "http": { "method": "GET", "requestUri": "/cacertificates" }, "input": { "type": "structure", "members": { "pageSize": { "location": "querystring", "locationName": "pageSize", "type": "integer" }, "marker": { "location": "querystring", "locationName": "marker" }, "ascendingOrder": { "location": "querystring", "locationName": "isAscendingOrder", "type": "boolean" } } }, "output": { "type": "structure", "members": { "certificates": { "type": "list", "member": { "type": "structure", "members": { "certificateArn": {}, "certificateId": {}, "status": {}, "creationDate": { "type": "timestamp" } } } }, "nextMarker": {} } } }, "ListCertificates": { "http": { "method": "GET", "requestUri": "/certificates" }, "input": { "type": "structure", "members": { "pageSize": { "location": "querystring", "locationName": "pageSize", "type": "integer" }, "marker": { "location": "querystring", "locationName": "marker" }, "ascendingOrder": { "location": "querystring", "locationName": "isAscendingOrder", "type": "boolean" } } }, "output": { "type": "structure", "members": { "certificates": { "shape": "S4u" }, "nextMarker": {} } } }, "ListCertificatesByCA": { "http": { "method": "GET", "requestUri": "/certificates-by-ca/{caCertificateId}" }, "input": { "type": "structure", "required": [ "caCertificateId" ], "members": { "caCertificateId": { "location": "uri", "locationName": "caCertificateId" }, "pageSize": { "location": "querystring", "locationName": "pageSize", "type": "integer" }, "marker": { "location": "querystring", "locationName": "marker" }, "ascendingOrder": { "location": "querystring", "locationName": "isAscendingOrder", "type": "boolean" } } }, "output": { "type": "structure", "members": { "certificates": { "shape": "S4u" }, "nextMarker": {} } } }, "ListOutgoingCertificates": { "http": { "method": "GET", "requestUri": "/certificates-out-going" }, "input": { "type": "structure", "members": { "pageSize": { "location": "querystring", "locationName": "pageSize", "type": "integer" }, "marker": { "location": "querystring", "locationName": "marker" }, "ascendingOrder": { "location": "querystring", "locationName": "isAscendingOrder", "type": "boolean" } } }, "output": { "type": "structure", "members": { "outgoingCertificates": { "type": "list", "member": { "type": "structure", "members": { "certificateArn": {}, "certificateId": {}, "transferredTo": {}, "transferDate": { "type": "timestamp" }, "transferMessage": {}, "creationDate": { "type": "timestamp" } } } }, "nextMarker": {} } } }, "ListPolicies": { "http": { "method": "GET", "requestUri": "/policies" }, "input": { "type": "structure", "members": { "marker": { "location": "querystring", "locationName": "marker" }, "pageSize": { "location": "querystring", "locationName": "pageSize", "type": "integer" }, "ascendingOrder": { "location": "querystring", "locationName": "isAscendingOrder", "type": "boolean" } } }, "output": { "type": "structure", "members": { "policies": { "shape": "S54" }, "nextMarker": {} } } }, "ListPolicyPrincipals": { "http": { "method": "GET", "requestUri": "/policy-principals" }, "input": { "type": "structure", "required": [ "policyName" ], "members": { "policyName": { "location": "header", "locationName": "x-amzn-iot-policy" }, "marker": { "location": "querystring", "locationName": "marker" }, "pageSize": { "location": "querystring", "locationName": "pageSize", "type": "integer" }, "ascendingOrder": { "location": "querystring", "locationName": "isAscendingOrder", "type": "boolean" } } }, "output": { "type": "structure", "members": { "principals": { "shape": "S58" }, "nextMarker": {} } } }, "ListPolicyVersions": { "http": { "method": "GET", "requestUri": "/policies/{policyName}/version" }, "input": { "type": "structure", "required": [ "policyName" ], "members": { "policyName": { "location": "uri", "locationName": "policyName" } } }, "output": { "type": "structure", "members": { "policyVersions": { "type": "list", "member": { "type": "structure", "members": { "versionId": {}, "isDefaultVersion": { "type": "boolean" }, "createDate": { "type": "timestamp" } } } } } } }, "ListPrincipalPolicies": { "http": { "method": "GET", "requestUri": "/principal-policies" }, "input": { "type": "structure", "required": [ "principal" ], "members": { "principal": { "location": "header", "locationName": "x-amzn-iot-principal" }, "marker": { "location": "querystring", "locationName": "marker" }, "pageSize": { "location": "querystring", "locationName": "pageSize", "type": "integer" }, "ascendingOrder": { "location": "querystring", "locationName": "isAscendingOrder", "type": "boolean" } } }, "output": { "type": "structure", "members": { "policies": { "shape": "S54" }, "nextMarker": {} } } }, "ListPrincipalThings": { "http": { "method": "GET", "requestUri": "/principals/things" }, "input": { "type": "structure", "required": [ "principal" ], "members": { "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" }, "principal": { "location": "header", "locationName": "x-amzn-principal" } } }, "output": { "type": "structure", "members": { "things": { "type": "list", "member": {} }, "nextToken": {} } } }, "ListThingPrincipals": { "http": { "method": "GET", "requestUri": "/things/{thingName}/principals" }, "input": { "type": "structure", "required": [ "thingName" ], "members": { "thingName": { "location": "uri", "locationName": "thingName" } } }, "output": { "type": "structure", "members": { "principals": { "shape": "S58" } } } }, "ListThingTypes": { "http": { "method": "GET", "requestUri": "/thing-types" }, "input": { "type": "structure", "members": { "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" }, "thingTypeName": { "location": "querystring", "locationName": "thingTypeName" } } }, "output": { "type": "structure", "members": { "thingTypes": { "type": "list", "member": { "type": "structure", "members": { "thingTypeName": {}, "thingTypeProperties": { "shape": "S14" }, "thingTypeMetadata": { "shape": "S3x" } } } }, "nextToken": {} } } }, "ListThings": { "http": { "method": "GET", "requestUri": "/things" }, "input": { "type": "structure", "members": { "nextToken": { "location": "querystring", "locationName": "nextToken" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" }, "attributeName": { "location": "querystring", "locationName": "attributeName" }, "attributeValue": { "location": "querystring", "locationName": "attributeValue" }, "thingTypeName": { "location": "querystring", "locationName": "thingTypeName" } } }, "output": { "type": "structure", "members": { "things": { "type": "list", "member": { "type": "structure", "members": { "thingName": {}, "thingTypeName": {}, "attributes": { "shape": "Sx" }, "version": { "type": "long" } } } }, "nextToken": {} } } }, "ListTopicRules": { "http": { "method": "GET", "requestUri": "/rules" }, "input": { "type": "structure", "members": { "topic": { "location": "querystring", "locationName": "topic" }, "maxResults": { "location": "querystring", "locationName": "maxResults", "type": "integer" }, "nextToken": { "location": "querystring", "locationName": "nextToken" }, "ruleDisabled": { "location": "querystring", "locationName": "ruleDisabled", "type": "boolean" } } }, "output": { "type": "structure", "members": { "rules": { "type": "list", "member": { "type": "structure", "members": { "ruleArn": {}, "ruleName": {}, "topicPattern": {}, "createdAt": { "type": "timestamp" }, "ruleDisabled": { "type": "boolean" } } } }, "nextToken": {} } } }, "RegisterCACertificate": { "http": { "requestUri": "/cacertificate" }, "input": { "type": "structure", "required": [ "caCertificate", "verificationCertificate" ], "members": { "caCertificate": {}, "verificationCertificate": {}, "setAsActive": { "location": "querystring", "locationName": "setAsActive", "type": "boolean" }, "allowAutoRegistration": { "location": "querystring", "locationName": "allowAutoRegistration", "type": "boolean" } } }, "output": { "type": "structure", "members": { "certificateArn": {}, "certificateId": {} } } }, "RegisterCertificate": { "http": { "requestUri": "/certificate/register" }, "input": { "type": "structure", "required": [ "certificatePem" ], "members": { "certificatePem": {}, "caCertificatePem": {}, "setAsActive": { "deprecated": true, "location": "querystring", "locationName": "setAsActive", "type": "boolean" }, "status": {} } }, "output": { "type": "structure", "members": { "certificateArn": {}, "certificateId": {} } } }, "RejectCertificateTransfer": { "http": { "method": "PATCH", "requestUri": "/reject-certificate-transfer/{certificateId}" }, "input": { "type": "structure", "required": [ "certificateId" ], "members": { "certificateId": { "location": "uri", "locationName": "certificateId" }, "rejectReason": {} } } }, "ReplaceTopicRule": { "http": { "method": "PATCH", "requestUri": "/rules/{ruleName}" }, "input": { "type": "structure", "required": [ "ruleName", "topicRulePayload" ], "members": { "ruleName": { "location": "uri", "locationName": "ruleName" }, "topicRulePayload": { "shape": "S1b" } }, "payload": "topicRulePayload" } }, "SetDefaultPolicyVersion": { "http": { "method": "PATCH", "requestUri": "/policies/{policyName}/version/{policyVersionId}" }, "input": { "type": "structure", "required": [ "policyName", "policyVersionId" ], "members": { "policyName": { "location": "uri", "locationName": "policyName" }, "policyVersionId": { "location": "uri", "locationName": "policyVersionId" } } } }, "SetLoggingOptions": { "http": { "requestUri": "/loggingOptions" }, "input": { "type": "structure", "required": [ "loggingOptionsPayload" ], "members": { "loggingOptionsPayload": { "type": "structure", "required": [ "roleArn" ], "members": { "roleArn": {}, "logLevel": {} } } }, "payload": "loggingOptionsPayload" } }, "TransferCertificate": { "http": { "method": "PATCH", "requestUri": "/transfer-certificate/{certificateId}" }, "input": { "type": "structure", "required": [ "certificateId", "targetAwsAccount" ], "members": { "certificateId": { "location": "uri", "locationName": "certificateId" }, "targetAwsAccount": { "location": "querystring", "locationName": "targetAwsAccount" }, "transferMessage": {} } }, "output": { "type": "structure", "members": { "transferredCertificateArn": {} } } }, "UpdateCACertificate": { "http": { "method": "PUT", "requestUri": "/cacertificate/{caCertificateId}" }, "input": { "type": "structure", "required": [ "certificateId" ], "members": { "certificateId": { "location": "uri", "locationName": "caCertificateId" }, "newStatus": { "location": "querystring", "locationName": "newStatus" }, "newAutoRegistrationStatus": { "location": "querystring", "locationName": "newAutoRegistrationStatus" } } } }, "UpdateCertificate": { "http": { "method": "PUT", "requestUri": "/certificates/{certificateId}" }, "input": { "type": "structure", "required": [ "certificateId", "newStatus" ], "members": { "certificateId": { "location": "uri", "locationName": "certificateId" }, "newStatus": { "location": "querystring", "locationName": "newStatus" } } } }, "UpdateThing": { "http": { "method": "PATCH", "requestUri": "/things/{thingName}" }, "input": { "type": "structure", "required": [ "thingName" ], "members": { "thingName": { "location": "uri", "locationName": "thingName" }, "thingTypeName": {}, "attributePayload": { "shape": "Sw" }, "expectedVersion": { "type": "long" }, "removeThingType": { "type": "boolean" } } }, "output": { "type": "structure", "members": {} } } }, "shapes": { "Sw": { "type": "structure", "members": { "attributes": { "shape": "Sx" }, "merge": { "type": "boolean" } } }, "Sx": { "type": "map", "key": {}, "value": {} }, "S14": { "type": "structure", "members": { "thingTypeDescription": {}, "searchableAttributes": { "type": "list", "member": {} } } }, "S1b": { "type": "structure", "required": [ "sql", "actions" ], "members": { "sql": {}, "description": {}, "actions": { "shape": "S1e" }, "ruleDisabled": { "type": "boolean" }, "awsIotSqlVersion": {} } }, "S1e": { "type": "list", "member": { "type": "structure", "members": { "dynamoDB": { "type": "structure", "required": [ "tableName", "roleArn", "hashKeyField", "hashKeyValue" ], "members": { "tableName": {}, "roleArn": {}, "operation": {}, "hashKeyField": {}, "hashKeyValue": {}, "hashKeyType": {}, "rangeKeyField": {}, "rangeKeyValue": {}, "rangeKeyType": {}, "payloadField": {} } }, "dynamoDBv2": { "type": "structure", "members": { "roleArn": {}, "putItem": { "type": "structure", "required": [ "tableName" ], "members": { "tableName": {} } } } }, "lambda": { "type": "structure", "required": [ "functionArn" ], "members": { "functionArn": {} } }, "sns": { "type": "structure", "required": [ "targetArn", "roleArn" ], "members": { "targetArn": {}, "roleArn": {}, "messageFormat": {} } }, "sqs": { "type": "structure", "required": [ "roleArn", "queueUrl" ], "members": { "roleArn": {}, "queueUrl": {}, "useBase64": { "type": "boolean" } } }, "kinesis": { "type": "structure", "required": [ "roleArn", "streamName" ], "members": { "roleArn": {}, "streamName": {}, "partitionKey": {} } }, "republish": { "type": "structure", "required": [ "roleArn", "topic" ], "members": { "roleArn": {}, "topic": {} } }, "s3": { "type": "structure", "required": [ "roleArn", "bucketName", "key" ], "members": { "roleArn": {}, "bucketName": {}, "key": {}, "cannedAcl": {} } }, "firehose": { "type": "structure", "required": [ "roleArn", "deliveryStreamName" ], "members": { "roleArn": {}, "deliveryStreamName": {}, "separator": {} } }, "cloudwatchMetric": { "type": "structure", "required": [ "roleArn", "metricNamespace", "metricName", "metricValue", "metricUnit" ], "members": { "roleArn": {}, "metricNamespace": {}, "metricName": {}, "metricValue": {}, "metricUnit": {}, "metricTimestamp": {} } }, "cloudwatchAlarm": { "type": "structure", "required": [ "roleArn", "alarmName", "stateReason", "stateValue" ], "members": { "roleArn": {}, "alarmName": {}, "stateReason": {}, "stateValue": {} } }, "elasticsearch": { "type": "structure", "required": [ "roleArn", "endpoint", "index", "type", "id" ], "members": { "roleArn": {}, "endpoint": {}, "index": {}, "type": {}, "id": {} } }, "salesforce": { "type": "structure", "required": [ "token", "url" ], "members": { "token": {}, "url": {} } } } } }, "S3x": { "type": "structure", "members": { "deprecated": { "type": "boolean" }, "deprecationDate": { "type": "timestamp" }, "creationDate": { "type": "timestamp" } } }, "S4u": { "type": "list", "member": { "type": "structure", "members": { "certificateArn": {}, "certificateId": {}, "status": {}, "creationDate": { "type": "timestamp" } } } }, "S54": { "type": "list", "member": { "type": "structure", "members": { "policyName": {}, "policyArn": {} } } }, "S58": { "type": "list", "member": {} } } } },{}],84:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],85:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "uid": "iot-data-2015-05-28", "apiVersion": "2015-05-28", "endpointPrefix": "data.iot", "protocol": "rest-json", "serviceFullName": "AWS IoT Data Plane", "signatureVersion": "v4", "signingName": "iotdata" }, "operations": { "DeleteThingShadow": { "http": { "method": "DELETE", "requestUri": "/things/{thingName}/shadow" }, "input": { "type": "structure", "required": [ "thingName" ], "members": { "thingName": { "location": "uri", "locationName": "thingName" } } }, "output": { "type": "structure", "required": [ "payload" ], "members": { "payload": { "type": "blob" } }, "payload": "payload" } }, "GetThingShadow": { "http": { "method": "GET", "requestUri": "/things/{thingName}/shadow" }, "input": { "type": "structure", "required": [ "thingName" ], "members": { "thingName": { "location": "uri", "locationName": "thingName" } } }, "output": { "type": "structure", "members": { "payload": { "type": "blob" } }, "payload": "payload" } }, "Publish": { "http": { "requestUri": "/topics/{topic}" }, "input": { "type": "structure", "required": [ "topic" ], "members": { "topic": { "location": "uri", "locationName": "topic" }, "qos": { "location": "querystring", "locationName": "qos", "type": "integer" }, "payload": { "type": "blob" } }, "payload": "payload" } }, "UpdateThingShadow": { "http": { "requestUri": "/things/{thingName}/shadow" }, "input": { "type": "structure", "required": [ "thingName", "payload" ], "members": { "thingName": { "location": "uri", "locationName": "thingName" }, "payload": { "type": "blob" } }, "payload": "payload" }, "output": { "type": "structure", "members": { "payload": { "type": "blob" } }, "payload": "payload" } } }, "shapes": {} } },{}],86:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2013-12-02", "endpointPrefix": "kinesis", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "Kinesis", "serviceFullName": "Amazon Kinesis", "signatureVersion": "v4", "targetPrefix": "Kinesis_20131202", "uid": "kinesis-2013-12-02" }, "operations": { "AddTagsToStream": { "input": { "type": "structure", "required": [ "StreamName", "Tags" ], "members": { "StreamName": {}, "Tags": { "type": "map", "key": {}, "value": {} } } } }, "CreateStream": { "input": { "type": "structure", "required": [ "StreamName", "ShardCount" ], "members": { "StreamName": {}, "ShardCount": { "type": "integer" } } } }, "DecreaseStreamRetentionPeriod": { "input": { "type": "structure", "required": [ "StreamName", "RetentionPeriodHours" ], "members": { "StreamName": {}, "RetentionPeriodHours": { "type": "integer" } } } }, "DeleteStream": { "input": { "type": "structure", "required": [ "StreamName" ], "members": { "StreamName": {} } } }, "DescribeLimits": { "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "required": [ "ShardLimit", "OpenShardCount" ], "members": { "ShardLimit": { "type": "integer" }, "OpenShardCount": { "type": "integer" } } } }, "DescribeStream": { "input": { "type": "structure", "required": [ "StreamName" ], "members": { "StreamName": {}, "Limit": { "type": "integer" }, "ExclusiveStartShardId": {} } }, "output": { "type": "structure", "required": [ "StreamDescription" ], "members": { "StreamDescription": { "type": "structure", "required": [ "StreamName", "StreamARN", "StreamStatus", "Shards", "HasMoreShards", "RetentionPeriodHours", "StreamCreationTimestamp", "EnhancedMonitoring" ], "members": { "StreamName": {}, "StreamARN": {}, "StreamStatus": {}, "Shards": { "type": "list", "member": { "type": "structure", "required": [ "ShardId", "HashKeyRange", "SequenceNumberRange" ], "members": { "ShardId": {}, "ParentShardId": {}, "AdjacentParentShardId": {}, "HashKeyRange": { "type": "structure", "required": [ "StartingHashKey", "EndingHashKey" ], "members": { "StartingHashKey": {}, "EndingHashKey": {} } }, "SequenceNumberRange": { "type": "structure", "required": [ "StartingSequenceNumber" ], "members": { "StartingSequenceNumber": {}, "EndingSequenceNumber": {} } } } } }, "HasMoreShards": { "type": "boolean" }, "RetentionPeriodHours": { "type": "integer" }, "StreamCreationTimestamp": { "type": "timestamp" }, "EnhancedMonitoring": { "type": "list", "member": { "type": "structure", "members": { "ShardLevelMetrics": { "shape": "Su" } } } } } } } } }, "DisableEnhancedMonitoring": { "input": { "type": "structure", "required": [ "StreamName", "ShardLevelMetrics" ], "members": { "StreamName": {}, "ShardLevelMetrics": { "shape": "Su" } } }, "output": { "shape": "Sx" } }, "EnableEnhancedMonitoring": { "input": { "type": "structure", "required": [ "StreamName", "ShardLevelMetrics" ], "members": { "StreamName": {}, "ShardLevelMetrics": { "shape": "Su" } } }, "output": { "shape": "Sx" } }, "GetRecords": { "input": { "type": "structure", "required": [ "ShardIterator" ], "members": { "ShardIterator": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "Records" ], "members": { "Records": { "type": "list", "member": { "type": "structure", "required": [ "SequenceNumber", "Data", "PartitionKey" ], "members": { "SequenceNumber": {}, "ApproximateArrivalTimestamp": { "type": "timestamp" }, "Data": { "type": "blob" }, "PartitionKey": {} } } }, "NextShardIterator": {}, "MillisBehindLatest": { "type": "long" } } } }, "GetShardIterator": { "input": { "type": "structure", "required": [ "StreamName", "ShardId", "ShardIteratorType" ], "members": { "StreamName": {}, "ShardId": {}, "ShardIteratorType": {}, "StartingSequenceNumber": {}, "Timestamp": { "type": "timestamp" } } }, "output": { "type": "structure", "members": { "ShardIterator": {} } } }, "IncreaseStreamRetentionPeriod": { "input": { "type": "structure", "required": [ "StreamName", "RetentionPeriodHours" ], "members": { "StreamName": {}, "RetentionPeriodHours": { "type": "integer" } } } }, "ListStreams": { "input": { "type": "structure", "members": { "Limit": { "type": "integer" }, "ExclusiveStartStreamName": {} } }, "output": { "type": "structure", "required": [ "StreamNames", "HasMoreStreams" ], "members": { "StreamNames": { "type": "list", "member": {} }, "HasMoreStreams": { "type": "boolean" } } } }, "ListTagsForStream": { "input": { "type": "structure", "required": [ "StreamName" ], "members": { "StreamName": {}, "ExclusiveStartTagKey": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "Tags", "HasMoreTags" ], "members": { "Tags": { "type": "list", "member": { "type": "structure", "required": [ "Key" ], "members": { "Key": {}, "Value": {} } } }, "HasMoreTags": { "type": "boolean" } } } }, "MergeShards": { "input": { "type": "structure", "required": [ "StreamName", "ShardToMerge", "AdjacentShardToMerge" ], "members": { "StreamName": {}, "ShardToMerge": {}, "AdjacentShardToMerge": {} } } }, "PutRecord": { "input": { "type": "structure", "required": [ "StreamName", "Data", "PartitionKey" ], "members": { "StreamName": {}, "Data": { "type": "blob" }, "PartitionKey": {}, "ExplicitHashKey": {}, "SequenceNumberForOrdering": {} } }, "output": { "type": "structure", "required": [ "ShardId", "SequenceNumber" ], "members": { "ShardId": {}, "SequenceNumber": {} } } }, "PutRecords": { "input": { "type": "structure", "required": [ "Records", "StreamName" ], "members": { "Records": { "type": "list", "member": { "type": "structure", "required": [ "Data", "PartitionKey" ], "members": { "Data": { "type": "blob" }, "ExplicitHashKey": {}, "PartitionKey": {} } } }, "StreamName": {} } }, "output": { "type": "structure", "required": [ "Records" ], "members": { "FailedRecordCount": { "type": "integer" }, "Records": { "type": "list", "member": { "type": "structure", "members": { "SequenceNumber": {}, "ShardId": {}, "ErrorCode": {}, "ErrorMessage": {} } } } } } }, "RemoveTagsFromStream": { "input": { "type": "structure", "required": [ "StreamName", "TagKeys" ], "members": { "StreamName": {}, "TagKeys": { "type": "list", "member": {} } } } }, "SplitShard": { "input": { "type": "structure", "required": [ "StreamName", "ShardToSplit", "NewStartingHashKey" ], "members": { "StreamName": {}, "ShardToSplit": {}, "NewStartingHashKey": {} } } }, "UpdateShardCount": { "input": { "type": "structure", "required": [ "StreamName", "TargetShardCount", "ScalingType" ], "members": { "StreamName": {}, "TargetShardCount": { "type": "integer" }, "ScalingType": {} } }, "output": { "type": "structure", "members": { "StreamName": {}, "CurrentShardCount": { "type": "integer" }, "TargetShardCount": { "type": "integer" } } } } }, "shapes": { "Su": { "type": "list", "member": {} }, "Sx": { "type": "structure", "members": { "StreamName": {}, "CurrentShardLevelMetrics": { "shape": "Su" }, "DesiredShardLevelMetrics": { "shape": "Su" } } } } } },{}],87:[function(require,module,exports){ module.exports={ "pagination": { "DescribeStream": { "input_token": "ExclusiveStartShardId", "limit_key": "Limit", "more_results": "StreamDescription.HasMoreShards", "output_token": "StreamDescription.Shards[-1].ShardId", "result_key": "StreamDescription.Shards" }, "ListStreams": { "input_token": "ExclusiveStartStreamName", "limit_key": "Limit", "more_results": "HasMoreStreams", "output_token": "StreamNames[-1]", "result_key": "StreamNames" } } } },{}],88:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "StreamExists": { "delay": 10, "operation": "DescribeStream", "maxAttempts": 18, "acceptors": [ { "expected": "ACTIVE", "matcher": "path", "state": "success", "argument": "StreamDescription.StreamStatus" } ] }, "StreamNotExists": { "delay": 10, "operation": "DescribeStream", "maxAttempts": 18, "acceptors": [ { "expected": "ResourceNotFoundException", "matcher": "error", "state": "success" } ] } } } },{}],89:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2014-11-01", "endpointPrefix": "kms", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "KMS", "serviceFullName": "AWS Key Management Service", "signatureVersion": "v4", "targetPrefix": "TrentService", "uid": "kms-2014-11-01" }, "operations": { "CancelKeyDeletion": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {} } }, "output": { "type": "structure", "members": { "KeyId": {} } } }, "CreateAlias": { "input": { "type": "structure", "required": [ "AliasName", "TargetKeyId" ], "members": { "AliasName": {}, "TargetKeyId": {} } } }, "CreateGrant": { "input": { "type": "structure", "required": [ "KeyId", "GranteePrincipal" ], "members": { "KeyId": {}, "GranteePrincipal": {}, "RetiringPrincipal": {}, "Operations": { "shape": "S8" }, "Constraints": { "shape": "Sa" }, "GrantTokens": { "shape": "Se" }, "Name": {} } }, "output": { "type": "structure", "members": { "GrantToken": {}, "GrantId": {} } } }, "CreateKey": { "input": { "type": "structure", "members": { "Policy": {}, "Description": {}, "KeyUsage": {}, "Origin": {}, "BypassPolicyLockoutSafetyCheck": { "type": "boolean" }, "Tags": { "shape": "Sp" } } }, "output": { "type": "structure", "members": { "KeyMetadata": { "shape": "Su" } } } }, "Decrypt": { "input": { "type": "structure", "required": [ "CiphertextBlob" ], "members": { "CiphertextBlob": { "type": "blob" }, "EncryptionContext": { "shape": "Sb" }, "GrantTokens": { "shape": "Se" } } }, "output": { "type": "structure", "members": { "KeyId": {}, "Plaintext": { "shape": "S13" } } } }, "DeleteAlias": { "input": { "type": "structure", "required": [ "AliasName" ], "members": { "AliasName": {} } } }, "DeleteImportedKeyMaterial": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {} } } }, "DescribeKey": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {}, "GrantTokens": { "shape": "Se" } } }, "output": { "type": "structure", "members": { "KeyMetadata": { "shape": "Su" } } } }, "DisableKey": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {} } } }, "DisableKeyRotation": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {} } } }, "EnableKey": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {} } } }, "EnableKeyRotation": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {} } } }, "Encrypt": { "input": { "type": "structure", "required": [ "KeyId", "Plaintext" ], "members": { "KeyId": {}, "Plaintext": { "shape": "S13" }, "EncryptionContext": { "shape": "Sb" }, "GrantTokens": { "shape": "Se" } } }, "output": { "type": "structure", "members": { "CiphertextBlob": { "type": "blob" }, "KeyId": {} } } }, "GenerateDataKey": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {}, "EncryptionContext": { "shape": "Sb" }, "NumberOfBytes": { "type": "integer" }, "KeySpec": {}, "GrantTokens": { "shape": "Se" } } }, "output": { "type": "structure", "members": { "CiphertextBlob": { "type": "blob" }, "Plaintext": { "shape": "S13" }, "KeyId": {} } } }, "GenerateDataKeyWithoutPlaintext": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {}, "EncryptionContext": { "shape": "Sb" }, "KeySpec": {}, "NumberOfBytes": { "type": "integer" }, "GrantTokens": { "shape": "Se" } } }, "output": { "type": "structure", "members": { "CiphertextBlob": { "type": "blob" }, "KeyId": {} } } }, "GenerateRandom": { "input": { "type": "structure", "members": { "NumberOfBytes": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Plaintext": { "shape": "S13" } } } }, "GetKeyPolicy": { "input": { "type": "structure", "required": [ "KeyId", "PolicyName" ], "members": { "KeyId": {}, "PolicyName": {} } }, "output": { "type": "structure", "members": { "Policy": {} } } }, "GetKeyRotationStatus": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {} } }, "output": { "type": "structure", "members": { "KeyRotationEnabled": { "type": "boolean" } } } }, "GetParametersForImport": { "input": { "type": "structure", "required": [ "KeyId", "WrappingAlgorithm", "WrappingKeySpec" ], "members": { "KeyId": {}, "WrappingAlgorithm": {}, "WrappingKeySpec": {} } }, "output": { "type": "structure", "members": { "KeyId": {}, "ImportToken": { "type": "blob" }, "PublicKey": { "shape": "S13" }, "ParametersValidTo": { "type": "timestamp" } } } }, "ImportKeyMaterial": { "input": { "type": "structure", "required": [ "KeyId", "ImportToken", "EncryptedKeyMaterial" ], "members": { "KeyId": {}, "ImportToken": { "type": "blob" }, "EncryptedKeyMaterial": { "type": "blob" }, "ValidTo": { "type": "timestamp" }, "ExpirationModel": {} } }, "output": { "type": "structure", "members": {} } }, "ListAliases": { "input": { "type": "structure", "members": { "Limit": { "type": "integer" }, "Marker": {} } }, "output": { "type": "structure", "members": { "Aliases": { "type": "list", "member": { "type": "structure", "members": { "AliasName": {}, "AliasArn": {}, "TargetKeyId": {} } } }, "NextMarker": {}, "Truncated": { "type": "boolean" } } } }, "ListGrants": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "Limit": { "type": "integer" }, "Marker": {}, "KeyId": {} } }, "output": { "shape": "S24" } }, "ListKeyPolicies": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {}, "Limit": { "type": "integer" }, "Marker": {} } }, "output": { "type": "structure", "members": { "PolicyNames": { "type": "list", "member": {} }, "NextMarker": {}, "Truncated": { "type": "boolean" } } } }, "ListKeys": { "input": { "type": "structure", "members": { "Limit": { "type": "integer" }, "Marker": {} } }, "output": { "type": "structure", "members": { "Keys": { "type": "list", "member": { "type": "structure", "members": { "KeyId": {}, "KeyArn": {} } } }, "NextMarker": {}, "Truncated": { "type": "boolean" } } } }, "ListResourceTags": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {}, "Limit": { "type": "integer" }, "Marker": {} } }, "output": { "type": "structure", "members": { "Tags": { "shape": "Sp" }, "NextMarker": {}, "Truncated": { "type": "boolean" } } } }, "ListRetirableGrants": { "input": { "type": "structure", "required": [ "RetiringPrincipal" ], "members": { "Limit": { "type": "integer" }, "Marker": {}, "RetiringPrincipal": {} } }, "output": { "shape": "S24" } }, "PutKeyPolicy": { "input": { "type": "structure", "required": [ "KeyId", "PolicyName", "Policy" ], "members": { "KeyId": {}, "PolicyName": {}, "Policy": {}, "BypassPolicyLockoutSafetyCheck": { "type": "boolean" } } } }, "ReEncrypt": { "input": { "type": "structure", "required": [ "CiphertextBlob", "DestinationKeyId" ], "members": { "CiphertextBlob": { "type": "blob" }, "SourceEncryptionContext": { "shape": "Sb" }, "DestinationKeyId": {}, "DestinationEncryptionContext": { "shape": "Sb" }, "GrantTokens": { "shape": "Se" } } }, "output": { "type": "structure", "members": { "CiphertextBlob": { "type": "blob" }, "SourceKeyId": {}, "KeyId": {} } } }, "RetireGrant": { "input": { "type": "structure", "members": { "GrantToken": {}, "KeyId": {}, "GrantId": {} } } }, "RevokeGrant": { "input": { "type": "structure", "required": [ "KeyId", "GrantId" ], "members": { "KeyId": {}, "GrantId": {} } } }, "ScheduleKeyDeletion": { "input": { "type": "structure", "required": [ "KeyId" ], "members": { "KeyId": {}, "PendingWindowInDays": { "type": "integer" } } }, "output": { "type": "structure", "members": { "KeyId": {}, "DeletionDate": { "type": "timestamp" } } } }, "TagResource": { "input": { "type": "structure", "required": [ "KeyId", "Tags" ], "members": { "KeyId": {}, "Tags": { "shape": "Sp" } } } }, "UntagResource": { "input": { "type": "structure", "required": [ "KeyId", "TagKeys" ], "members": { "KeyId": {}, "TagKeys": { "type": "list", "member": {} } } } }, "UpdateAlias": { "input": { "type": "structure", "required": [ "AliasName", "TargetKeyId" ], "members": { "AliasName": {}, "TargetKeyId": {} } } }, "UpdateKeyDescription": { "input": { "type": "structure", "required": [ "KeyId", "Description" ], "members": { "KeyId": {}, "Description": {} } } } }, "shapes": { "S8": { "type": "list", "member": {} }, "Sa": { "type": "structure", "members": { "EncryptionContextSubset": { "shape": "Sb" }, "EncryptionContextEquals": { "shape": "Sb" } } }, "Sb": { "type": "map", "key": {}, "value": {} }, "Se": { "type": "list", "member": {} }, "Sp": { "type": "list", "member": { "type": "structure", "required": [ "TagKey", "TagValue" ], "members": { "TagKey": {}, "TagValue": {} } } }, "Su": { "type": "structure", "required": [ "KeyId" ], "members": { "AWSAccountId": {}, "KeyId": {}, "Arn": {}, "CreationDate": { "type": "timestamp" }, "Enabled": { "type": "boolean" }, "Description": {}, "KeyUsage": {}, "KeyState": {}, "DeletionDate": { "type": "timestamp" }, "ValidTo": { "type": "timestamp" }, "Origin": {}, "ExpirationModel": {} } }, "S13": { "type": "blob", "sensitive": true }, "S24": { "type": "structure", "members": { "Grants": { "type": "list", "member": { "type": "structure", "members": { "KeyId": {}, "GrantId": {}, "Name": {}, "CreationDate": { "type": "timestamp" }, "GranteePrincipal": {}, "RetiringPrincipal": {}, "IssuingAccount": {}, "Operations": { "shape": "S8" }, "Constraints": { "shape": "Sa" } } } }, "NextMarker": {}, "Truncated": { "type": "boolean" } } } } } },{}],90:[function(require,module,exports){ module.exports={ "pagination": { "ListAliases": { "input_token": "Marker", "limit_key": "Limit", "more_results": "Truncated", "output_token": "NextMarker", "result_key": "Aliases" }, "ListGrants": { "input_token": "Marker", "limit_key": "Limit", "more_results": "Truncated", "output_token": "NextMarker", "result_key": "Grants" }, "ListKeyPolicies": { "input_token": "Marker", "limit_key": "Limit", "more_results": "Truncated", "output_token": "NextMarker", "result_key": "PolicyNames" }, "ListKeys": { "input_token": "Marker", "limit_key": "Limit", "more_results": "Truncated", "output_token": "NextMarker", "result_key": "Keys" } } } },{}],91:[function(require,module,exports){ module.exports={ "metadata": { "apiVersion": "2014-11-11", "endpointPrefix": "lambda", "serviceFullName": "AWS Lambda", "signatureVersion": "v4", "protocol": "rest-json" }, "operations": { "AddEventSource": { "http": { "requestUri": "/2014-11-13/event-source-mappings/" }, "input": { "type": "structure", "required": [ "EventSource", "FunctionName", "Role" ], "members": { "EventSource": {}, "FunctionName": {}, "Role": {}, "BatchSize": { "type": "integer" }, "Parameters": { "shape": "S6" } } }, "output": { "shape": "S7" } }, "DeleteFunction": { "http": { "method": "DELETE", "requestUri": "/2014-11-13/functions/{FunctionName}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" } } } }, "GetEventSource": { "http": { "method": "GET", "requestUri": "/2014-11-13/event-source-mappings/{UUID}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "UUID" ], "members": { "UUID": { "location": "uri", "locationName": "UUID" } } }, "output": { "shape": "S7" } }, "GetFunction": { "http": { "method": "GET", "requestUri": "/2014-11-13/functions/{FunctionName}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" } } }, "output": { "type": "structure", "members": { "Configuration": { "shape": "Se" }, "Code": { "type": "structure", "members": { "RepositoryType": {}, "Location": {} } } } } }, "GetFunctionConfiguration": { "http": { "method": "GET", "requestUri": "/2014-11-13/functions/{FunctionName}/configuration", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" } } }, "output": { "shape": "Se" } }, "InvokeAsync": { "http": { "requestUri": "/2014-11-13/functions/{FunctionName}/invoke-async/", "responseCode": 202 }, "input": { "type": "structure", "required": [ "FunctionName", "InvokeArgs" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "InvokeArgs": { "shape": "Sq" } }, "payload": "InvokeArgs" }, "output": { "type": "structure", "members": { "Status": { "location": "statusCode", "type": "integer" } } } }, "ListEventSources": { "http": { "method": "GET", "requestUri": "/2014-11-13/event-source-mappings/", "responseCode": 200 }, "input": { "type": "structure", "members": { "EventSourceArn": { "location": "querystring", "locationName": "EventSource" }, "FunctionName": { "location": "querystring", "locationName": "FunctionName" }, "Marker": { "location": "querystring", "locationName": "Marker" }, "MaxItems": { "location": "querystring", "locationName": "MaxItems", "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "EventSources": { "type": "list", "member": { "shape": "S7" } } } } }, "ListFunctions": { "http": { "method": "GET", "requestUri": "/2014-11-13/functions/", "responseCode": 200 }, "input": { "type": "structure", "members": { "Marker": { "location": "querystring", "locationName": "Marker" }, "MaxItems": { "location": "querystring", "locationName": "MaxItems", "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "Functions": { "type": "list", "member": { "shape": "Se" } } } } }, "RemoveEventSource": { "http": { "method": "DELETE", "requestUri": "/2014-11-13/event-source-mappings/{UUID}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "UUID" ], "members": { "UUID": { "location": "uri", "locationName": "UUID" } } } }, "UpdateFunctionConfiguration": { "http": { "method": "PUT", "requestUri": "/2014-11-13/functions/{FunctionName}/configuration", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Role": { "location": "querystring", "locationName": "Role" }, "Handler": { "location": "querystring", "locationName": "Handler" }, "Description": { "location": "querystring", "locationName": "Description" }, "Timeout": { "location": "querystring", "locationName": "Timeout", "type": "integer" }, "MemorySize": { "location": "querystring", "locationName": "MemorySize", "type": "integer" } } }, "output": { "shape": "Se" } }, "UploadFunction": { "http": { "method": "PUT", "requestUri": "/2014-11-13/functions/{FunctionName}", "responseCode": 201 }, "input": { "type": "structure", "required": [ "FunctionName", "FunctionZip", "Runtime", "Role", "Handler", "Mode" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "FunctionZip": { "shape": "Sq" }, "Runtime": { "location": "querystring", "locationName": "Runtime" }, "Role": { "location": "querystring", "locationName": "Role" }, "Handler": { "location": "querystring", "locationName": "Handler" }, "Mode": { "location": "querystring", "locationName": "Mode" }, "Description": { "location": "querystring", "locationName": "Description" }, "Timeout": { "location": "querystring", "locationName": "Timeout", "type": "integer" }, "MemorySize": { "location": "querystring", "locationName": "MemorySize", "type": "integer" } }, "payload": "FunctionZip" }, "output": { "shape": "Se" } } }, "shapes": { "S6": { "type": "map", "key": {}, "value": {} }, "S7": { "type": "structure", "members": { "UUID": {}, "BatchSize": { "type": "integer" }, "EventSource": {}, "FunctionName": {}, "Parameters": { "shape": "S6" }, "Role": {}, "LastModified": { "type": "timestamp" }, "IsActive": { "type": "boolean" }, "Status": {} } }, "Se": { "type": "structure", "members": { "FunctionName": {}, "FunctionARN": {}, "ConfigurationId": {}, "Runtime": {}, "Role": {}, "Handler": {}, "Mode": {}, "CodeSize": { "type": "long" }, "Description": {}, "Timeout": { "type": "integer" }, "MemorySize": { "type": "integer" }, "LastModified": { "type": "timestamp" } } }, "Sq": { "type": "blob", "streaming": true } } } },{}],92:[function(require,module,exports){ module.exports={ "pagination": { "ListEventSources": { "input_token": "Marker", "output_token": "NextMarker", "limit_key": "MaxItems", "result_key": "EventSources" }, "ListFunctions": { "input_token": "Marker", "output_token": "NextMarker", "limit_key": "MaxItems", "result_key": "Functions" } } } },{}],93:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-03-31", "endpointPrefix": "lambda", "protocol": "rest-json", "serviceFullName": "AWS Lambda", "signatureVersion": "v4", "uid": "lambda-2015-03-31" }, "operations": { "AddPermission": { "http": { "requestUri": "/2015-03-31/functions/{FunctionName}/policy", "responseCode": 201 }, "input": { "type": "structure", "required": [ "FunctionName", "StatementId", "Action", "Principal" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "StatementId": {}, "Action": {}, "Principal": {}, "SourceArn": {}, "SourceAccount": {}, "EventSourceToken": {}, "Qualifier": { "location": "querystring", "locationName": "Qualifier" } } }, "output": { "type": "structure", "members": { "Statement": {} } } }, "CreateAlias": { "http": { "requestUri": "/2015-03-31/functions/{FunctionName}/aliases", "responseCode": 201 }, "input": { "type": "structure", "required": [ "FunctionName", "Name", "FunctionVersion" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Name": {}, "FunctionVersion": {}, "Description": {} } }, "output": { "shape": "Sg" } }, "CreateEventSourceMapping": { "http": { "requestUri": "/2015-03-31/event-source-mappings/", "responseCode": 202 }, "input": { "type": "structure", "required": [ "EventSourceArn", "FunctionName", "StartingPosition" ], "members": { "EventSourceArn": {}, "FunctionName": {}, "Enabled": { "type": "boolean" }, "BatchSize": { "type": "integer" }, "StartingPosition": {}, "StartingPositionTimestamp": { "type": "timestamp" } } }, "output": { "shape": "Sn" } }, "CreateFunction": { "http": { "requestUri": "/2015-03-31/functions", "responseCode": 201 }, "input": { "type": "structure", "required": [ "FunctionName", "Runtime", "Role", "Handler", "Code" ], "members": { "FunctionName": {}, "Runtime": {}, "Role": {}, "Handler": {}, "Code": { "type": "structure", "members": { "ZipFile": { "shape": "St" }, "S3Bucket": {}, "S3Key": {}, "S3ObjectVersion": {} } }, "Description": {}, "Timeout": { "type": "integer" }, "MemorySize": { "type": "integer" }, "Publish": { "type": "boolean" }, "VpcConfig": { "shape": "S10" }, "DeadLetterConfig": { "shape": "S15" }, "Environment": { "shape": "S17" }, "KMSKeyArn": {}, "TracingConfig": { "shape": "S1c" }, "Tags": { "shape": "S1e" } } }, "output": { "shape": "S1h" } }, "DeleteAlias": { "http": { "method": "DELETE", "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "FunctionName", "Name" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Name": { "location": "uri", "locationName": "Name" } } } }, "DeleteEventSourceMapping": { "http": { "method": "DELETE", "requestUri": "/2015-03-31/event-source-mappings/{UUID}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "UUID" ], "members": { "UUID": { "location": "uri", "locationName": "UUID" } } }, "output": { "shape": "Sn" } }, "DeleteFunction": { "http": { "method": "DELETE", "requestUri": "/2015-03-31/functions/{FunctionName}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Qualifier": { "location": "querystring", "locationName": "Qualifier" } } } }, "GetAccountSettings": { "http": { "method": "GET", "requestUri": "/2016-08-19/account-settings/", "responseCode": 200 }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "AccountLimit": { "type": "structure", "members": { "TotalCodeSize": { "type": "long" }, "CodeSizeUnzipped": { "type": "long" }, "CodeSizeZipped": { "type": "long" }, "ConcurrentExecutions": { "type": "integer" } } }, "AccountUsage": { "type": "structure", "members": { "TotalCodeSize": { "type": "long" }, "FunctionCount": { "type": "long" } } } } } }, "GetAlias": { "http": { "method": "GET", "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName", "Name" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Name": { "location": "uri", "locationName": "Name" } } }, "output": { "shape": "Sg" } }, "GetEventSourceMapping": { "http": { "method": "GET", "requestUri": "/2015-03-31/event-source-mappings/{UUID}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "UUID" ], "members": { "UUID": { "location": "uri", "locationName": "UUID" } } }, "output": { "shape": "Sn" } }, "GetFunction": { "http": { "method": "GET", "requestUri": "/2015-03-31/functions/{FunctionName}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Qualifier": { "location": "querystring", "locationName": "Qualifier" } } }, "output": { "type": "structure", "members": { "Configuration": { "shape": "S1h" }, "Code": { "type": "structure", "members": { "RepositoryType": {}, "Location": {} } }, "Tags": { "shape": "S1e" } } } }, "GetFunctionConfiguration": { "http": { "method": "GET", "requestUri": "/2015-03-31/functions/{FunctionName}/configuration", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Qualifier": { "location": "querystring", "locationName": "Qualifier" } } }, "output": { "shape": "S1h" } }, "GetPolicy": { "http": { "method": "GET", "requestUri": "/2015-03-31/functions/{FunctionName}/policy", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Qualifier": { "location": "querystring", "locationName": "Qualifier" } } }, "output": { "type": "structure", "members": { "Policy": {} } } }, "Invoke": { "http": { "requestUri": "/2015-03-31/functions/{FunctionName}/invocations" }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "InvocationType": { "location": "header", "locationName": "X-Amz-Invocation-Type" }, "LogType": { "location": "header", "locationName": "X-Amz-Log-Type" }, "ClientContext": { "location": "header", "locationName": "X-Amz-Client-Context" }, "Payload": { "shape": "St" }, "Qualifier": { "location": "querystring", "locationName": "Qualifier" } }, "payload": "Payload" }, "output": { "type": "structure", "members": { "StatusCode": { "location": "statusCode", "type": "integer" }, "FunctionError": { "location": "header", "locationName": "X-Amz-Function-Error" }, "LogResult": { "location": "header", "locationName": "X-Amz-Log-Result" }, "Payload": { "shape": "St" } }, "payload": "Payload" } }, "InvokeAsync": { "http": { "requestUri": "/2014-11-13/functions/{FunctionName}/invoke-async/", "responseCode": 202 }, "input": { "type": "structure", "required": [ "FunctionName", "InvokeArgs" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "InvokeArgs": { "type": "blob", "streaming": true } }, "deprecated": true, "payload": "InvokeArgs" }, "output": { "type": "structure", "members": { "Status": { "location": "statusCode", "type": "integer" } }, "deprecated": true }, "deprecated": true }, "ListAliases": { "http": { "method": "GET", "requestUri": "/2015-03-31/functions/{FunctionName}/aliases", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "FunctionVersion": { "location": "querystring", "locationName": "FunctionVersion" }, "Marker": { "location": "querystring", "locationName": "Marker" }, "MaxItems": { "location": "querystring", "locationName": "MaxItems", "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "Aliases": { "type": "list", "member": { "shape": "Sg" } } } } }, "ListEventSourceMappings": { "http": { "method": "GET", "requestUri": "/2015-03-31/event-source-mappings/", "responseCode": 200 }, "input": { "type": "structure", "members": { "EventSourceArn": { "location": "querystring", "locationName": "EventSourceArn" }, "FunctionName": { "location": "querystring", "locationName": "FunctionName" }, "Marker": { "location": "querystring", "locationName": "Marker" }, "MaxItems": { "location": "querystring", "locationName": "MaxItems", "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "EventSourceMappings": { "type": "list", "member": { "shape": "Sn" } } } } }, "ListFunctions": { "http": { "method": "GET", "requestUri": "/2015-03-31/functions/", "responseCode": 200 }, "input": { "type": "structure", "members": { "Marker": { "location": "querystring", "locationName": "Marker" }, "MaxItems": { "location": "querystring", "locationName": "MaxItems", "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "Functions": { "shape": "S2n" } } } }, "ListTags": { "http": { "method": "GET", "requestUri": "/2017-03-31/tags/{ARN}" }, "input": { "type": "structure", "required": [ "Resource" ], "members": { "Resource": { "location": "uri", "locationName": "ARN" } } }, "output": { "type": "structure", "members": { "Tags": { "shape": "S1e" } } } }, "ListVersionsByFunction": { "http": { "method": "GET", "requestUri": "/2015-03-31/functions/{FunctionName}/versions", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Marker": { "location": "querystring", "locationName": "Marker" }, "MaxItems": { "location": "querystring", "locationName": "MaxItems", "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "Versions": { "shape": "S2n" } } } }, "PublishVersion": { "http": { "requestUri": "/2015-03-31/functions/{FunctionName}/versions", "responseCode": 201 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "CodeSha256": {}, "Description": {} } }, "output": { "shape": "S1h" } }, "RemovePermission": { "http": { "method": "DELETE", "requestUri": "/2015-03-31/functions/{FunctionName}/policy/{StatementId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "FunctionName", "StatementId" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "StatementId": { "location": "uri", "locationName": "StatementId" }, "Qualifier": { "location": "querystring", "locationName": "Qualifier" } } } }, "TagResource": { "http": { "requestUri": "/2017-03-31/tags/{ARN}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Resource", "Tags" ], "members": { "Resource": { "location": "uri", "locationName": "ARN" }, "Tags": { "shape": "S1e" } } } }, "UntagResource": { "http": { "method": "DELETE", "requestUri": "/2017-03-31/tags/{ARN}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "Resource", "TagKeys" ], "members": { "Resource": { "location": "uri", "locationName": "ARN" }, "TagKeys": { "location": "querystring", "locationName": "tagKeys", "type": "list", "member": {} } } } }, "UpdateAlias": { "http": { "method": "PUT", "requestUri": "/2015-03-31/functions/{FunctionName}/aliases/{Name}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName", "Name" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Name": { "location": "uri", "locationName": "Name" }, "FunctionVersion": {}, "Description": {} } }, "output": { "shape": "Sg" } }, "UpdateEventSourceMapping": { "http": { "method": "PUT", "requestUri": "/2015-03-31/event-source-mappings/{UUID}", "responseCode": 202 }, "input": { "type": "structure", "required": [ "UUID" ], "members": { "UUID": { "location": "uri", "locationName": "UUID" }, "FunctionName": {}, "Enabled": { "type": "boolean" }, "BatchSize": { "type": "integer" } } }, "output": { "shape": "Sn" } }, "UpdateFunctionCode": { "http": { "method": "PUT", "requestUri": "/2015-03-31/functions/{FunctionName}/code", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "ZipFile": { "shape": "St" }, "S3Bucket": {}, "S3Key": {}, "S3ObjectVersion": {}, "Publish": { "type": "boolean" }, "DryRun": { "type": "boolean" } } }, "output": { "shape": "S1h" } }, "UpdateFunctionConfiguration": { "http": { "method": "PUT", "requestUri": "/2015-03-31/functions/{FunctionName}/configuration", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FunctionName" ], "members": { "FunctionName": { "location": "uri", "locationName": "FunctionName" }, "Role": {}, "Handler": {}, "Description": {}, "Timeout": { "type": "integer" }, "MemorySize": { "type": "integer" }, "VpcConfig": { "shape": "S10" }, "Environment": { "shape": "S17" }, "Runtime": {}, "DeadLetterConfig": { "shape": "S15" }, "KMSKeyArn": {}, "TracingConfig": { "shape": "S1c" } } }, "output": { "shape": "S1h" } } }, "shapes": { "Sg": { "type": "structure", "members": { "AliasArn": {}, "Name": {}, "FunctionVersion": {}, "Description": {} } }, "Sn": { "type": "structure", "members": { "UUID": {}, "BatchSize": { "type": "integer" }, "EventSourceArn": {}, "FunctionArn": {}, "LastModified": { "type": "timestamp" }, "LastProcessingResult": {}, "State": {}, "StateTransitionReason": {} } }, "St": { "type": "blob", "sensitive": true }, "S10": { "type": "structure", "members": { "SubnetIds": { "shape": "S11" }, "SecurityGroupIds": { "shape": "S13" } } }, "S11": { "type": "list", "member": {} }, "S13": { "type": "list", "member": {} }, "S15": { "type": "structure", "members": { "TargetArn": {} } }, "S17": { "type": "structure", "members": { "Variables": { "shape": "S18" } } }, "S18": { "type": "map", "key": { "type": "string", "sensitive": true }, "value": { "type": "string", "sensitive": true }, "sensitive": true }, "S1c": { "type": "structure", "members": { "Mode": {} } }, "S1e": { "type": "map", "key": {}, "value": {} }, "S1h": { "type": "structure", "members": { "FunctionName": {}, "FunctionArn": {}, "Runtime": {}, "Role": {}, "Handler": {}, "CodeSize": { "type": "long" }, "Description": {}, "Timeout": { "type": "integer" }, "MemorySize": { "type": "integer" }, "LastModified": {}, "CodeSha256": {}, "Version": {}, "VpcConfig": { "type": "structure", "members": { "SubnetIds": { "shape": "S11" }, "SecurityGroupIds": { "shape": "S13" }, "VpcId": {} } }, "DeadLetterConfig": { "shape": "S15" }, "Environment": { "type": "structure", "members": { "Variables": { "shape": "S18" }, "Error": { "type": "structure", "members": { "ErrorCode": {}, "Message": { "type": "string", "sensitive": true } } } } }, "KMSKeyArn": {}, "TracingConfig": { "type": "structure", "members": { "Mode": {} } } } }, "S2n": { "type": "list", "member": { "shape": "S1h" } } } } },{}],94:[function(require,module,exports){ module.exports={ "pagination": { "ListEventSourceMappings": { "input_token": "Marker", "limit_key": "MaxItems", "output_token": "NextMarker", "result_key": "EventSourceMappings" }, "ListFunctions": { "input_token": "Marker", "limit_key": "MaxItems", "output_token": "NextMarker", "result_key": "Functions" } } } },{}],95:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2014-03-28", "endpointPrefix": "logs", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "Amazon CloudWatch Logs", "signatureVersion": "v4", "targetPrefix": "Logs_20140328", "uid": "logs-2014-03-28" }, "operations": { "CancelExportTask": { "input": { "type": "structure", "required": [ "taskId" ], "members": { "taskId": {} } } }, "CreateExportTask": { "input": { "type": "structure", "required": [ "logGroupName", "from", "to", "destination" ], "members": { "taskName": {}, "logGroupName": {}, "logStreamNamePrefix": {}, "from": { "type": "long" }, "to": { "type": "long" }, "destination": {}, "destinationPrefix": {} } }, "output": { "type": "structure", "members": { "taskId": {} } } }, "CreateLogGroup": { "input": { "type": "structure", "required": [ "logGroupName" ], "members": { "logGroupName": {}, "tags": { "shape": "Sc" } } } }, "CreateLogStream": { "input": { "type": "structure", "required": [ "logGroupName", "logStreamName" ], "members": { "logGroupName": {}, "logStreamName": {} } } }, "DeleteDestination": { "input": { "type": "structure", "required": [ "destinationName" ], "members": { "destinationName": {} } } }, "DeleteLogGroup": { "input": { "type": "structure", "required": [ "logGroupName" ], "members": { "logGroupName": {} } } }, "DeleteLogStream": { "input": { "type": "structure", "required": [ "logGroupName", "logStreamName" ], "members": { "logGroupName": {}, "logStreamName": {} } } }, "DeleteMetricFilter": { "input": { "type": "structure", "required": [ "logGroupName", "filterName" ], "members": { "logGroupName": {}, "filterName": {} } } }, "DeleteRetentionPolicy": { "input": { "type": "structure", "required": [ "logGroupName" ], "members": { "logGroupName": {} } } }, "DeleteSubscriptionFilter": { "input": { "type": "structure", "required": [ "logGroupName", "filterName" ], "members": { "logGroupName": {}, "filterName": {} } } }, "DescribeDestinations": { "input": { "type": "structure", "members": { "DestinationNamePrefix": {}, "nextToken": {}, "limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "destinations": { "type": "list", "member": { "shape": "St" } }, "nextToken": {} } } }, "DescribeExportTasks": { "input": { "type": "structure", "members": { "taskId": {}, "statusCode": {}, "nextToken": {}, "limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "exportTasks": { "type": "list", "member": { "type": "structure", "members": { "taskId": {}, "taskName": {}, "logGroupName": {}, "from": { "type": "long" }, "to": { "type": "long" }, "destination": {}, "destinationPrefix": {}, "status": { "type": "structure", "members": { "code": {}, "message": {} } }, "executionInfo": { "type": "structure", "members": { "creationTime": { "type": "long" }, "completionTime": { "type": "long" } } } } } }, "nextToken": {} } } }, "DescribeLogGroups": { "input": { "type": "structure", "members": { "logGroupNamePrefix": {}, "nextToken": {}, "limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "logGroups": { "type": "list", "member": { "type": "structure", "members": { "logGroupName": {}, "creationTime": { "type": "long" }, "retentionInDays": { "type": "integer" }, "metricFilterCount": { "type": "integer" }, "arn": {}, "storedBytes": { "type": "long" } } } }, "nextToken": {} } } }, "DescribeLogStreams": { "input": { "type": "structure", "required": [ "logGroupName" ], "members": { "logGroupName": {}, "logStreamNamePrefix": {}, "orderBy": {}, "descending": { "type": "boolean" }, "nextToken": {}, "limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "logStreams": { "type": "list", "member": { "type": "structure", "members": { "logStreamName": {}, "creationTime": { "type": "long" }, "firstEventTimestamp": { "type": "long" }, "lastEventTimestamp": { "type": "long" }, "lastIngestionTime": { "type": "long" }, "uploadSequenceToken": {}, "arn": {}, "storedBytes": { "type": "long" } } } }, "nextToken": {} } } }, "DescribeMetricFilters": { "input": { "type": "structure", "members": { "logGroupName": {}, "filterNamePrefix": {}, "nextToken": {}, "limit": { "type": "integer" }, "metricName": {}, "metricNamespace": {} } }, "output": { "type": "structure", "members": { "metricFilters": { "type": "list", "member": { "type": "structure", "members": { "filterName": {}, "filterPattern": {}, "metricTransformations": { "shape": "S1r" }, "creationTime": { "type": "long" }, "logGroupName": {} } } }, "nextToken": {} } } }, "DescribeSubscriptionFilters": { "input": { "type": "structure", "required": [ "logGroupName" ], "members": { "logGroupName": {}, "filterNamePrefix": {}, "nextToken": {}, "limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "subscriptionFilters": { "type": "list", "member": { "type": "structure", "members": { "filterName": {}, "logGroupName": {}, "filterPattern": {}, "destinationArn": {}, "roleArn": {}, "distribution": {}, "creationTime": { "type": "long" } } } }, "nextToken": {} } } }, "FilterLogEvents": { "input": { "type": "structure", "required": [ "logGroupName" ], "members": { "logGroupName": {}, "logStreamNames": { "type": "list", "member": {} }, "startTime": { "type": "long" }, "endTime": { "type": "long" }, "filterPattern": {}, "nextToken": {}, "limit": { "type": "integer" }, "interleaved": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "events": { "type": "list", "member": { "type": "structure", "members": { "logStreamName": {}, "timestamp": { "type": "long" }, "message": {}, "ingestionTime": { "type": "long" }, "eventId": {} } } }, "searchedLogStreams": { "type": "list", "member": { "type": "structure", "members": { "logStreamName": {}, "searchedCompletely": { "type": "boolean" } } } }, "nextToken": {} } } }, "GetLogEvents": { "input": { "type": "structure", "required": [ "logGroupName", "logStreamName" ], "members": { "logGroupName": {}, "logStreamName": {}, "startTime": { "type": "long" }, "endTime": { "type": "long" }, "nextToken": {}, "limit": { "type": "integer" }, "startFromHead": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "events": { "type": "list", "member": { "type": "structure", "members": { "timestamp": { "type": "long" }, "message": {}, "ingestionTime": { "type": "long" } } } }, "nextForwardToken": {}, "nextBackwardToken": {} } } }, "ListTagsLogGroup": { "input": { "type": "structure", "required": [ "logGroupName" ], "members": { "logGroupName": {} } }, "output": { "type": "structure", "members": { "tags": { "shape": "Sc" } } } }, "PutDestination": { "input": { "type": "structure", "required": [ "destinationName", "targetArn", "roleArn" ], "members": { "destinationName": {}, "targetArn": {}, "roleArn": {} } }, "output": { "type": "structure", "members": { "destination": { "shape": "St" } } } }, "PutDestinationPolicy": { "input": { "type": "structure", "required": [ "destinationName", "accessPolicy" ], "members": { "destinationName": {}, "accessPolicy": {} } } }, "PutLogEvents": { "input": { "type": "structure", "required": [ "logGroupName", "logStreamName", "logEvents" ], "members": { "logGroupName": {}, "logStreamName": {}, "logEvents": { "type": "list", "member": { "type": "structure", "required": [ "timestamp", "message" ], "members": { "timestamp": { "type": "long" }, "message": {} } } }, "sequenceToken": {} } }, "output": { "type": "structure", "members": { "nextSequenceToken": {}, "rejectedLogEventsInfo": { "type": "structure", "members": { "tooNewLogEventStartIndex": { "type": "integer" }, "tooOldLogEventEndIndex": { "type": "integer" }, "expiredLogEventEndIndex": { "type": "integer" } } } } } }, "PutMetricFilter": { "input": { "type": "structure", "required": [ "logGroupName", "filterName", "filterPattern", "metricTransformations" ], "members": { "logGroupName": {}, "filterName": {}, "filterPattern": {}, "metricTransformations": { "shape": "S1r" } } } }, "PutRetentionPolicy": { "input": { "type": "structure", "required": [ "logGroupName", "retentionInDays" ], "members": { "logGroupName": {}, "retentionInDays": { "type": "integer" } } } }, "PutSubscriptionFilter": { "input": { "type": "structure", "required": [ "logGroupName", "filterName", "filterPattern", "destinationArn" ], "members": { "logGroupName": {}, "filterName": {}, "filterPattern": {}, "destinationArn": {}, "roleArn": {}, "distribution": {} } } }, "TagLogGroup": { "input": { "type": "structure", "required": [ "logGroupName", "tags" ], "members": { "logGroupName": {}, "tags": { "shape": "Sc" } } } }, "TestMetricFilter": { "input": { "type": "structure", "required": [ "filterPattern", "logEventMessages" ], "members": { "filterPattern": {}, "logEventMessages": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "matches": { "type": "list", "member": { "type": "structure", "members": { "eventNumber": { "type": "long" }, "eventMessage": {}, "extractedValues": { "type": "map", "key": {}, "value": {} } } } } } } }, "UntagLogGroup": { "input": { "type": "structure", "required": [ "logGroupName", "tags" ], "members": { "logGroupName": {}, "tags": { "type": "list", "member": {} } } } } }, "shapes": { "Sc": { "type": "map", "key": {}, "value": {} }, "St": { "type": "structure", "members": { "destinationName": {}, "targetArn": {}, "roleArn": {}, "accessPolicy": {}, "arn": {}, "creationTime": { "type": "long" } } }, "S1r": { "type": "list", "member": { "type": "structure", "required": [ "metricName", "metricNamespace", "metricValue" ], "members": { "metricName": {}, "metricNamespace": {}, "metricValue": {}, "defaultValue": { "type": "double" } } } } } } },{}],96:[function(require,module,exports){ module.exports={ "pagination": { "DescribeDestinations": { "input_token": "nextToken", "limit_key": "limit", "output_token": "nextToken", "result_key": "destinations" }, "DescribeLogGroups": { "input_token": "nextToken", "limit_key": "limit", "output_token": "nextToken", "result_key": "logGroups" }, "DescribeLogStreams": { "input_token": "nextToken", "limit_key": "limit", "output_token": "nextToken", "result_key": "logStreams" }, "DescribeMetricFilters": { "input_token": "nextToken", "limit_key": "limit", "output_token": "nextToken", "result_key": "metricFilters" }, "DescribeSubscriptionFilters": { "input_token": "nextToken", "limit_key": "limit", "output_token": "nextToken", "result_key": "subscriptionFilters" }, "FilterLogEvents": { "input_token": "nextToken", "limit_key": "limit", "output_token": "nextToken", "result_key": [ "events", "searchedLogStreams" ] }, "GetLogEvents": { "input_token": "nextToken", "limit_key": "limit", "output_token": "nextForwardToken", "result_key": "events" } } } },{}],97:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "uid": "machinelearning-2014-12-12", "apiVersion": "2014-12-12", "endpointPrefix": "machinelearning", "jsonVersion": "1.1", "serviceFullName": "Amazon Machine Learning", "signatureVersion": "v4", "targetPrefix": "AmazonML_20141212", "protocol": "json" }, "operations": { "AddTags": { "input": { "type": "structure", "required": [ "Tags", "ResourceId", "ResourceType" ], "members": { "Tags": { "shape": "S2" }, "ResourceId": {}, "ResourceType": {} } }, "output": { "type": "structure", "members": { "ResourceId": {}, "ResourceType": {} } } }, "CreateBatchPrediction": { "input": { "type": "structure", "required": [ "BatchPredictionId", "MLModelId", "BatchPredictionDataSourceId", "OutputUri" ], "members": { "BatchPredictionId": {}, "BatchPredictionName": {}, "MLModelId": {}, "BatchPredictionDataSourceId": {}, "OutputUri": {} } }, "output": { "type": "structure", "members": { "BatchPredictionId": {} } } }, "CreateDataSourceFromRDS": { "input": { "type": "structure", "required": [ "DataSourceId", "RDSData", "RoleARN" ], "members": { "DataSourceId": {}, "DataSourceName": {}, "RDSData": { "type": "structure", "required": [ "DatabaseInformation", "SelectSqlQuery", "DatabaseCredentials", "S3StagingLocation", "ResourceRole", "ServiceRole", "SubnetId", "SecurityGroupIds" ], "members": { "DatabaseInformation": { "shape": "Sf" }, "SelectSqlQuery": {}, "DatabaseCredentials": { "type": "structure", "required": [ "Username", "Password" ], "members": { "Username": {}, "Password": {} } }, "S3StagingLocation": {}, "DataRearrangement": {}, "DataSchema": {}, "DataSchemaUri": {}, "ResourceRole": {}, "ServiceRole": {}, "SubnetId": {}, "SecurityGroupIds": { "type": "list", "member": {} } } }, "RoleARN": {}, "ComputeStatistics": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "DataSourceId": {} } } }, "CreateDataSourceFromRedshift": { "input": { "type": "structure", "required": [ "DataSourceId", "DataSpec", "RoleARN" ], "members": { "DataSourceId": {}, "DataSourceName": {}, "DataSpec": { "type": "structure", "required": [ "DatabaseInformation", "SelectSqlQuery", "DatabaseCredentials", "S3StagingLocation" ], "members": { "DatabaseInformation": { "shape": "Sy" }, "SelectSqlQuery": {}, "DatabaseCredentials": { "type": "structure", "required": [ "Username", "Password" ], "members": { "Username": {}, "Password": {} } }, "S3StagingLocation": {}, "DataRearrangement": {}, "DataSchema": {}, "DataSchemaUri": {} } }, "RoleARN": {}, "ComputeStatistics": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "DataSourceId": {} } } }, "CreateDataSourceFromS3": { "input": { "type": "structure", "required": [ "DataSourceId", "DataSpec" ], "members": { "DataSourceId": {}, "DataSourceName": {}, "DataSpec": { "type": "structure", "required": [ "DataLocationS3" ], "members": { "DataLocationS3": {}, "DataRearrangement": {}, "DataSchema": {}, "DataSchemaLocationS3": {} } }, "ComputeStatistics": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "DataSourceId": {} } } }, "CreateEvaluation": { "input": { "type": "structure", "required": [ "EvaluationId", "MLModelId", "EvaluationDataSourceId" ], "members": { "EvaluationId": {}, "EvaluationName": {}, "MLModelId": {}, "EvaluationDataSourceId": {} } }, "output": { "type": "structure", "members": { "EvaluationId": {} } } }, "CreateMLModel": { "input": { "type": "structure", "required": [ "MLModelId", "MLModelType", "TrainingDataSourceId" ], "members": { "MLModelId": {}, "MLModelName": {}, "MLModelType": {}, "Parameters": { "shape": "S1d" }, "TrainingDataSourceId": {}, "Recipe": {}, "RecipeUri": {} } }, "output": { "type": "structure", "members": { "MLModelId": {} } } }, "CreateRealtimeEndpoint": { "input": { "type": "structure", "required": [ "MLModelId" ], "members": { "MLModelId": {} } }, "output": { "type": "structure", "members": { "MLModelId": {}, "RealtimeEndpointInfo": { "shape": "S1j" } } } }, "DeleteBatchPrediction": { "input": { "type": "structure", "required": [ "BatchPredictionId" ], "members": { "BatchPredictionId": {} } }, "output": { "type": "structure", "members": { "BatchPredictionId": {} } } }, "DeleteDataSource": { "input": { "type": "structure", "required": [ "DataSourceId" ], "members": { "DataSourceId": {} } }, "output": { "type": "structure", "members": { "DataSourceId": {} } } }, "DeleteEvaluation": { "input": { "type": "structure", "required": [ "EvaluationId" ], "members": { "EvaluationId": {} } }, "output": { "type": "structure", "members": { "EvaluationId": {} } } }, "DeleteMLModel": { "input": { "type": "structure", "required": [ "MLModelId" ], "members": { "MLModelId": {} } }, "output": { "type": "structure", "members": { "MLModelId": {} } } }, "DeleteRealtimeEndpoint": { "input": { "type": "structure", "required": [ "MLModelId" ], "members": { "MLModelId": {} } }, "output": { "type": "structure", "members": { "MLModelId": {}, "RealtimeEndpointInfo": { "shape": "S1j" } } } }, "DeleteTags": { "input": { "type": "structure", "required": [ "TagKeys", "ResourceId", "ResourceType" ], "members": { "TagKeys": { "type": "list", "member": {} }, "ResourceId": {}, "ResourceType": {} } }, "output": { "type": "structure", "members": { "ResourceId": {}, "ResourceType": {} } } }, "DescribeBatchPredictions": { "input": { "type": "structure", "members": { "FilterVariable": {}, "EQ": {}, "GT": {}, "LT": {}, "GE": {}, "LE": {}, "NE": {}, "Prefix": {}, "SortOrder": {}, "NextToken": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Results": { "type": "list", "member": { "type": "structure", "members": { "BatchPredictionId": {}, "MLModelId": {}, "BatchPredictionDataSourceId": {}, "InputDataLocationS3": {}, "CreatedByIamUser": {}, "CreatedAt": { "type": "timestamp" }, "LastUpdatedAt": { "type": "timestamp" }, "Name": {}, "Status": {}, "OutputUri": {}, "Message": {}, "ComputeTime": { "type": "long" }, "FinishedAt": { "type": "timestamp" }, "StartedAt": { "type": "timestamp" }, "TotalRecordCount": { "type": "long" }, "InvalidRecordCount": { "type": "long" } } } }, "NextToken": {} } } }, "DescribeDataSources": { "input": { "type": "structure", "members": { "FilterVariable": {}, "EQ": {}, "GT": {}, "LT": {}, "GE": {}, "LE": {}, "NE": {}, "Prefix": {}, "SortOrder": {}, "NextToken": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Results": { "type": "list", "member": { "type": "structure", "members": { "DataSourceId": {}, "DataLocationS3": {}, "DataRearrangement": {}, "CreatedByIamUser": {}, "CreatedAt": { "type": "timestamp" }, "LastUpdatedAt": { "type": "timestamp" }, "DataSizeInBytes": { "type": "long" }, "NumberOfFiles": { "type": "long" }, "Name": {}, "Status": {}, "Message": {}, "RedshiftMetadata": { "shape": "S2i" }, "RDSMetadata": { "shape": "S2j" }, "RoleARN": {}, "ComputeStatistics": { "type": "boolean" }, "ComputeTime": { "type": "long" }, "FinishedAt": { "type": "timestamp" }, "StartedAt": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DescribeEvaluations": { "input": { "type": "structure", "members": { "FilterVariable": {}, "EQ": {}, "GT": {}, "LT": {}, "GE": {}, "LE": {}, "NE": {}, "Prefix": {}, "SortOrder": {}, "NextToken": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Results": { "type": "list", "member": { "type": "structure", "members": { "EvaluationId": {}, "MLModelId": {}, "EvaluationDataSourceId": {}, "InputDataLocationS3": {}, "CreatedByIamUser": {}, "CreatedAt": { "type": "timestamp" }, "LastUpdatedAt": { "type": "timestamp" }, "Name": {}, "Status": {}, "PerformanceMetrics": { "shape": "S2q" }, "Message": {}, "ComputeTime": { "type": "long" }, "FinishedAt": { "type": "timestamp" }, "StartedAt": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DescribeMLModels": { "input": { "type": "structure", "members": { "FilterVariable": {}, "EQ": {}, "GT": {}, "LT": {}, "GE": {}, "LE": {}, "NE": {}, "Prefix": {}, "SortOrder": {}, "NextToken": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Results": { "type": "list", "member": { "type": "structure", "members": { "MLModelId": {}, "TrainingDataSourceId": {}, "CreatedByIamUser": {}, "CreatedAt": { "type": "timestamp" }, "LastUpdatedAt": { "type": "timestamp" }, "Name": {}, "Status": {}, "SizeInBytes": { "type": "long" }, "EndpointInfo": { "shape": "S1j" }, "TrainingParameters": { "shape": "S1d" }, "InputDataLocationS3": {}, "Algorithm": {}, "MLModelType": {}, "ScoreThreshold": { "type": "float" }, "ScoreThresholdLastUpdatedAt": { "type": "timestamp" }, "Message": {}, "ComputeTime": { "type": "long" }, "FinishedAt": { "type": "timestamp" }, "StartedAt": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DescribeTags": { "input": { "type": "structure", "required": [ "ResourceId", "ResourceType" ], "members": { "ResourceId": {}, "ResourceType": {} } }, "output": { "type": "structure", "members": { "ResourceId": {}, "ResourceType": {}, "Tags": { "shape": "S2" } } } }, "GetBatchPrediction": { "input": { "type": "structure", "required": [ "BatchPredictionId" ], "members": { "BatchPredictionId": {} } }, "output": { "type": "structure", "members": { "BatchPredictionId": {}, "MLModelId": {}, "BatchPredictionDataSourceId": {}, "InputDataLocationS3": {}, "CreatedByIamUser": {}, "CreatedAt": { "type": "timestamp" }, "LastUpdatedAt": { "type": "timestamp" }, "Name": {}, "Status": {}, "OutputUri": {}, "LogUri": {}, "Message": {}, "ComputeTime": { "type": "long" }, "FinishedAt": { "type": "timestamp" }, "StartedAt": { "type": "timestamp" }, "TotalRecordCount": { "type": "long" }, "InvalidRecordCount": { "type": "long" } } } }, "GetDataSource": { "input": { "type": "structure", "required": [ "DataSourceId" ], "members": { "DataSourceId": {}, "Verbose": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "DataSourceId": {}, "DataLocationS3": {}, "DataRearrangement": {}, "CreatedByIamUser": {}, "CreatedAt": { "type": "timestamp" }, "LastUpdatedAt": { "type": "timestamp" }, "DataSizeInBytes": { "type": "long" }, "NumberOfFiles": { "type": "long" }, "Name": {}, "Status": {}, "LogUri": {}, "Message": {}, "RedshiftMetadata": { "shape": "S2i" }, "RDSMetadata": { "shape": "S2j" }, "RoleARN": {}, "ComputeStatistics": { "type": "boolean" }, "ComputeTime": { "type": "long" }, "FinishedAt": { "type": "timestamp" }, "StartedAt": { "type": "timestamp" }, "DataSourceSchema": {} } } }, "GetEvaluation": { "input": { "type": "structure", "required": [ "EvaluationId" ], "members": { "EvaluationId": {} } }, "output": { "type": "structure", "members": { "EvaluationId": {}, "MLModelId": {}, "EvaluationDataSourceId": {}, "InputDataLocationS3": {}, "CreatedByIamUser": {}, "CreatedAt": { "type": "timestamp" }, "LastUpdatedAt": { "type": "timestamp" }, "Name": {}, "Status": {}, "PerformanceMetrics": { "shape": "S2q" }, "LogUri": {}, "Message": {}, "ComputeTime": { "type": "long" }, "FinishedAt": { "type": "timestamp" }, "StartedAt": { "type": "timestamp" } } } }, "GetMLModel": { "input": { "type": "structure", "required": [ "MLModelId" ], "members": { "MLModelId": {}, "Verbose": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "MLModelId": {}, "TrainingDataSourceId": {}, "CreatedByIamUser": {}, "CreatedAt": { "type": "timestamp" }, "LastUpdatedAt": { "type": "timestamp" }, "Name": {}, "Status": {}, "SizeInBytes": { "type": "long" }, "EndpointInfo": { "shape": "S1j" }, "TrainingParameters": { "shape": "S1d" }, "InputDataLocationS3": {}, "MLModelType": {}, "ScoreThreshold": { "type": "float" }, "ScoreThresholdLastUpdatedAt": { "type": "timestamp" }, "LogUri": {}, "Message": {}, "ComputeTime": { "type": "long" }, "FinishedAt": { "type": "timestamp" }, "StartedAt": { "type": "timestamp" }, "Recipe": {}, "Schema": {} } } }, "Predict": { "input": { "type": "structure", "required": [ "MLModelId", "Record", "PredictEndpoint" ], "members": { "MLModelId": {}, "Record": { "type": "map", "key": {}, "value": {} }, "PredictEndpoint": {} } }, "output": { "type": "structure", "members": { "Prediction": { "type": "structure", "members": { "predictedLabel": {}, "predictedValue": { "type": "float" }, "predictedScores": { "type": "map", "key": {}, "value": { "type": "float" } }, "details": { "type": "map", "key": {}, "value": {} } } } } } }, "UpdateBatchPrediction": { "input": { "type": "structure", "required": [ "BatchPredictionId", "BatchPredictionName" ], "members": { "BatchPredictionId": {}, "BatchPredictionName": {} } }, "output": { "type": "structure", "members": { "BatchPredictionId": {} } } }, "UpdateDataSource": { "input": { "type": "structure", "required": [ "DataSourceId", "DataSourceName" ], "members": { "DataSourceId": {}, "DataSourceName": {} } }, "output": { "type": "structure", "members": { "DataSourceId": {} } } }, "UpdateEvaluation": { "input": { "type": "structure", "required": [ "EvaluationId", "EvaluationName" ], "members": { "EvaluationId": {}, "EvaluationName": {} } }, "output": { "type": "structure", "members": { "EvaluationId": {} } } }, "UpdateMLModel": { "input": { "type": "structure", "required": [ "MLModelId" ], "members": { "MLModelId": {}, "MLModelName": {}, "ScoreThreshold": { "type": "float" } } }, "output": { "type": "structure", "members": { "MLModelId": {} } } } }, "shapes": { "S2": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } }, "Sf": { "type": "structure", "required": [ "InstanceIdentifier", "DatabaseName" ], "members": { "InstanceIdentifier": {}, "DatabaseName": {} } }, "Sy": { "type": "structure", "required": [ "DatabaseName", "ClusterIdentifier" ], "members": { "DatabaseName": {}, "ClusterIdentifier": {} } }, "S1d": { "type": "map", "key": {}, "value": {} }, "S1j": { "type": "structure", "members": { "PeakRequestsPerSecond": { "type": "integer" }, "CreatedAt": { "type": "timestamp" }, "EndpointUrl": {}, "EndpointStatus": {} } }, "S2i": { "type": "structure", "members": { "RedshiftDatabase": { "shape": "Sy" }, "DatabaseUserName": {}, "SelectSqlQuery": {} } }, "S2j": { "type": "structure", "members": { "Database": { "shape": "Sf" }, "DatabaseUserName": {}, "SelectSqlQuery": {}, "ResourceRole": {}, "ServiceRole": {}, "DataPipelineId": {} } }, "S2q": { "type": "structure", "members": { "Properties": { "type": "map", "key": {}, "value": {} } } } }, "examples": {} } },{}],98:[function(require,module,exports){ module.exports={ "pagination": { "DescribeBatchPredictions": { "limit_key": "Limit", "output_token": "NextToken", "input_token": "NextToken", "result_key": "Results" }, "DescribeDataSources": { "limit_key": "Limit", "output_token": "NextToken", "input_token": "NextToken", "result_key": "Results" }, "DescribeEvaluations": { "limit_key": "Limit", "output_token": "NextToken", "input_token": "NextToken", "result_key": "Results" }, "DescribeMLModels": { "limit_key": "Limit", "output_token": "NextToken", "input_token": "NextToken", "result_key": "Results" } } } },{}],99:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "DataSourceAvailable": { "delay": 30, "operation": "DescribeDataSources", "maxAttempts": 60, "acceptors": [ { "expected": "COMPLETED", "matcher": "pathAll", "state": "success", "argument": "Results[].Status" }, { "expected": "FAILED", "matcher": "pathAny", "state": "failure", "argument": "Results[].Status" } ] }, "MLModelAvailable": { "delay": 30, "operation": "DescribeMLModels", "maxAttempts": 60, "acceptors": [ { "expected": "COMPLETED", "matcher": "pathAll", "state": "success", "argument": "Results[].Status" }, { "expected": "FAILED", "matcher": "pathAny", "state": "failure", "argument": "Results[].Status" } ] }, "EvaluationAvailable": { "delay": 30, "operation": "DescribeEvaluations", "maxAttempts": 60, "acceptors": [ { "expected": "COMPLETED", "matcher": "pathAll", "state": "success", "argument": "Results[].Status" }, { "expected": "FAILED", "matcher": "pathAny", "state": "failure", "argument": "Results[].Status" } ] }, "BatchPredictionAvailable": { "delay": 30, "operation": "DescribeBatchPredictions", "maxAttempts": 60, "acceptors": [ { "expected": "COMPLETED", "matcher": "pathAll", "state": "success", "argument": "Results[].Status" }, { "expected": "FAILED", "matcher": "pathAny", "state": "failure", "argument": "Results[].Status" } ] } } } },{}],100:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-07-01", "endpointPrefix": "marketplacecommerceanalytics", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "AWS Marketplace Commerce Analytics", "signatureVersion": "v4", "signingName": "marketplacecommerceanalytics", "targetPrefix": "MarketplaceCommerceAnalytics20150701", "uid": "marketplacecommerceanalytics-2015-07-01" }, "operations": { "GenerateDataSet": { "input": { "type": "structure", "required": [ "dataSetType", "dataSetPublicationDate", "roleNameArn", "destinationS3BucketName", "snsTopicArn" ], "members": { "dataSetType": {}, "dataSetPublicationDate": { "type": "timestamp" }, "roleNameArn": {}, "destinationS3BucketName": {}, "destinationS3Prefix": {}, "snsTopicArn": {}, "customerDefinedValues": { "shape": "S8" } } }, "output": { "type": "structure", "members": { "dataSetRequestId": {} } } }, "StartSupportDataExport": { "input": { "type": "structure", "required": [ "dataSetType", "fromDate", "roleNameArn", "destinationS3BucketName", "snsTopicArn" ], "members": { "dataSetType": {}, "fromDate": { "type": "timestamp" }, "roleNameArn": {}, "destinationS3BucketName": {}, "destinationS3Prefix": {}, "snsTopicArn": {}, "customerDefinedValues": { "shape": "S8" } } }, "output": { "type": "structure", "members": { "dataSetRequestId": {} } } } }, "shapes": { "S8": { "type": "map", "key": {}, "value": {} } } } },{}],101:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],102:[function(require,module,exports){ module.exports={ "acm": { "name": "ACM", "cors": true }, "apigateway": { "name": "APIGateway", "cors": true }, "applicationautoscaling": { "prefix": "application-autoscaling", "name": "ApplicationAutoScaling", "cors": true }, "appstream": { "name": "AppStream" }, "autoscaling": { "name": "AutoScaling", "cors": true }, "batch": { "name": "Batch" }, "budgets": { "name": "Budgets" }, "clouddirectory": { "name": "CloudDirectory" }, "cloudformation": { "name": "CloudFormation", "cors": true }, "cloudfront": { "name": "CloudFront", "versions": [ "2013-05-12*", "2013-11-11*", "2014-05-31*", "2014-10-21*", "2014-11-06*", "2015-04-17*", "2015-07-27*", "2015-09-17*", "2016-01-13*", "2016-01-28*", "2016-08-01*", "2016-08-20*", "2016-09-07*", "2016-09-29*", "2016-11-25*" ], "cors": true }, "cloudhsm": { "name": "CloudHSM", "cors": true }, "cloudsearch": { "name": "CloudSearch" }, "cloudsearchdomain": { "name": "CloudSearchDomain" }, "cloudtrail": { "name": "CloudTrail", "cors": true }, "cloudwatch": { "prefix": "monitoring", "name": "CloudWatch", "cors": true }, "cloudwatchevents": { "prefix": "events", "name": "CloudWatchEvents", "versions": [ "2014-02-03*" ], "cors": true }, "cloudwatchlogs": { "prefix": "logs", "name": "CloudWatchLogs", "cors": true }, "codebuild": { "name": "CodeBuild" }, "codecommit": { "name": "CodeCommit", "cors": true }, "codedeploy": { "name": "CodeDeploy", "cors": true }, "codepipeline": { "name": "CodePipeline", "cors": true }, "cognitoidentity": { "prefix": "cognito-identity", "name": "CognitoIdentity", "cors": true }, "cognitoidentityserviceprovider": { "prefix": "cognito-idp", "name": "CognitoIdentityServiceProvider", "cors": true }, "cognitosync": { "prefix": "cognito-sync", "name": "CognitoSync", "cors": true }, "configservice": { "prefix": "config", "name": "ConfigService", "cors": true }, "cur": { "name": "CUR", "cors": true }, "datapipeline": { "name": "DataPipeline" }, "devicefarm": { "name": "DeviceFarm", "cors": true }, "directconnect": { "name": "DirectConnect", "cors": true }, "directoryservice": { "prefix": "ds", "name": "DirectoryService" }, "discovery": { "name": "Discovery" }, "dms": { "name": "DMS" }, "dynamodb": { "name": "DynamoDB", "cors": true }, "dynamodbstreams": { "prefix": "streams.dynamodb", "name": "DynamoDBStreams", "cors": true }, "ec2": { "name": "EC2", "versions": [ "2013-06-15*", "2013-10-15*", "2014-02-01*", "2014-05-01*", "2014-06-15*", "2014-09-01*", "2014-10-01*", "2015-03-01*", "2015-04-15*", "2015-10-01*", "2016-04-01*", "2016-09-15*" ], "cors": true }, "ecr": { "name": "ECR", "cors": true }, "ecs": { "name": "ECS", "cors": true }, "efs": { "prefix": "elasticfilesystem", "name": "EFS", "cors": true }, "elasticache": { "name": "ElastiCache", "versions": [ "2012-11-15*", "2014-03-24*", "2014-07-15*", "2014-09-30*" ], "cors": true }, "elasticbeanstalk": { "name": "ElasticBeanstalk", "cors": true }, "elb": { "prefix": "elasticloadbalancing", "name": "ELB", "cors": true }, "elbv2": { "prefix": "elasticloadbalancingv2", "name": "ELBv2", "cors": true }, "emr": { "prefix": "elasticmapreduce", "name": "EMR", "cors": true }, "es": { "name": "ES" }, "elastictranscoder": { "name": "ElasticTranscoder", "cors": true }, "firehose": { "name": "Firehose", "cors": true }, "gamelift": { "name": "GameLift", "cors": true }, "glacier": { "name": "Glacier" }, "health": { "name": "Health" }, "iam": { "name": "IAM" }, "importexport": { "name": "ImportExport" }, "inspector": { "name": "Inspector", "versions": [ "2015-08-18*" ], "cors": true }, "iot": { "name": "Iot", "cors": true }, "iotdata": { "prefix": "iot-data", "name": "IotData", "cors": true }, "kinesis": { "name": "Kinesis", "cors": true }, "kinesisanalytics": { "name": "KinesisAnalytics" }, "kms": { "name": "KMS", "cors": true }, "lambda": { "name": "Lambda", "cors": true }, "lexruntime": { "prefix": "runtime.lex", "name": "LexRuntime", "cors": true }, "lightsail": { "name": "Lightsail" }, "machinelearning": { "name": "MachineLearning", "cors": true }, "marketplacecommerceanalytics": { "name": "MarketplaceCommerceAnalytics", "cors": true }, "marketplacemetering": { "prefix": "meteringmarketplace", "name": "MarketplaceMetering" }, "mturk": { "prefix": "mturk-requester", "name": "MTurk", "cors": true }, "mobileanalytics": { "name": "MobileAnalytics", "cors": true }, "opsworks": { "name": "OpsWorks", "cors": true }, "opsworkscm": { "name": "OpsWorksCM" }, "organizations": { "name": "Organizations" }, "pinpoint": { "name": "Pinpoint" }, "polly": { "name": "Polly", "cors": true }, "rds": { "name": "RDS", "versions": [ "2014-09-01*" ], "cors": true }, "redshift": { "name": "Redshift", "cors": true }, "rekognition": { "name": "Rekognition", "cors": true }, "resourcegroupstaggingapi": { "name": "ResourceGroupsTaggingAPI" }, "route53": { "name": "Route53", "cors": true }, "route53domains": { "name": "Route53Domains", "cors": true }, "s3": { "name": "S3", "dualstackAvailable": true, "cors": true }, "servicecatalog": { "name": "ServiceCatalog", "cors": true }, "ses": { "prefix": "email", "name": "SES", "cors": true }, "shield": { "name": "Shield" }, "simpledb": { "prefix": "sdb", "name": "SimpleDB" }, "sms": { "name": "SMS" }, "snowball": { "name": "Snowball" }, "sns": { "name": "SNS", "cors": true }, "sqs": { "name": "SQS", "cors": true }, "ssm": { "name": "SSM", "cors": true }, "storagegateway": { "name": "StorageGateway", "cors": true }, "stepfunctions": { "prefix": "states", "name": "StepFunctions" }, "sts": { "name": "STS", "cors": true }, "support": { "name": "Support" }, "swf": { "name": "SWF" }, "xray": { "name": "XRay" }, "waf": { "name": "WAF", "cors": true }, "wafregional": { "prefix": "waf-regional", "name": "WAFRegional" }, "workdocs": { "name": "WorkDocs", "cors": true }, "workspaces": { "name": "WorkSpaces" }, "codestar": { "name": "CodeStar" }, "lexmodelbuildingservice": { "prefix": "lex-models", "name": "LexModelBuildingService" }, "marketplaceentitlementservice": { "prefix": "entitlement.marketplace", "name": "MarketplaceEntitlementService" }, "athena": { "name": "Athena" }, "greengrass": { "name": "Greengrass" }, "dax": { "name": "DAX" } } },{}],103:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2014-06-05", "endpointPrefix": "mobileanalytics", "serviceFullName": "Amazon Mobile Analytics", "signatureVersion": "v4", "protocol": "rest-json" }, "operations": { "PutEvents": { "http": { "requestUri": "/2014-06-05/events", "responseCode": 202 }, "input": { "type": "structure", "required": [ "events", "clientContext" ], "members": { "events": { "type": "list", "member": { "type": "structure", "required": [ "eventType", "timestamp" ], "members": { "eventType": {}, "timestamp": {}, "session": { "type": "structure", "members": { "id": {}, "duration": { "type": "long" }, "startTimestamp": {}, "stopTimestamp": {} } }, "version": {}, "attributes": { "type": "map", "key": {}, "value": {} }, "metrics": { "type": "map", "key": {}, "value": { "type": "double" } } } } }, "clientContext": { "location": "header", "locationName": "x-amz-Client-Context" }, "clientContextEncoding": { "location": "header", "locationName": "x-amz-Client-Context-Encoding" } } } } }, "shapes": {} } },{}],104:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2010-08-01", "endpointPrefix": "monitoring", "protocol": "query", "serviceAbbreviation": "CloudWatch", "serviceFullName": "Amazon CloudWatch", "signatureVersion": "v4", "uid": "monitoring-2010-08-01", "xmlNamespace": "http://monitoring.amazonaws.com/doc/2010-08-01/" }, "operations": { "DeleteAlarms": { "input": { "type": "structure", "required": [ "AlarmNames" ], "members": { "AlarmNames": { "shape": "S2" } } } }, "DescribeAlarmHistory": { "input": { "type": "structure", "members": { "AlarmName": {}, "HistoryItemType": {}, "StartDate": { "type": "timestamp" }, "EndDate": { "type": "timestamp" }, "MaxRecords": { "type": "integer" }, "NextToken": {} } }, "output": { "resultWrapper": "DescribeAlarmHistoryResult", "type": "structure", "members": { "AlarmHistoryItems": { "type": "list", "member": { "type": "structure", "members": { "AlarmName": {}, "Timestamp": { "type": "timestamp" }, "HistoryItemType": {}, "HistorySummary": {}, "HistoryData": {} } } }, "NextToken": {} } } }, "DescribeAlarms": { "input": { "type": "structure", "members": { "AlarmNames": { "shape": "S2" }, "AlarmNamePrefix": {}, "StateValue": {}, "ActionPrefix": {}, "MaxRecords": { "type": "integer" }, "NextToken": {} } }, "output": { "resultWrapper": "DescribeAlarmsResult", "type": "structure", "members": { "MetricAlarms": { "shape": "Sj" }, "NextToken": {} } } }, "DescribeAlarmsForMetric": { "input": { "type": "structure", "required": [ "MetricName", "Namespace" ], "members": { "MetricName": {}, "Namespace": {}, "Statistic": {}, "ExtendedStatistic": {}, "Dimensions": { "shape": "Sw" }, "Period": { "type": "integer" }, "Unit": {} } }, "output": { "resultWrapper": "DescribeAlarmsForMetricResult", "type": "structure", "members": { "MetricAlarms": { "shape": "Sj" } } } }, "DisableAlarmActions": { "input": { "type": "structure", "required": [ "AlarmNames" ], "members": { "AlarmNames": { "shape": "S2" } } } }, "EnableAlarmActions": { "input": { "type": "structure", "required": [ "AlarmNames" ], "members": { "AlarmNames": { "shape": "S2" } } } }, "GetMetricStatistics": { "input": { "type": "structure", "required": [ "Namespace", "MetricName", "StartTime", "EndTime", "Period" ], "members": { "Namespace": {}, "MetricName": {}, "Dimensions": { "shape": "Sw" }, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Period": { "type": "integer" }, "Statistics": { "type": "list", "member": {} }, "ExtendedStatistics": { "type": "list", "member": {} }, "Unit": {} } }, "output": { "resultWrapper": "GetMetricStatisticsResult", "type": "structure", "members": { "Label": {}, "Datapoints": { "type": "list", "member": { "type": "structure", "members": { "Timestamp": { "type": "timestamp" }, "SampleCount": { "type": "double" }, "Average": { "type": "double" }, "Sum": { "type": "double" }, "Minimum": { "type": "double" }, "Maximum": { "type": "double" }, "Unit": {}, "ExtendedStatistics": { "type": "map", "key": {}, "value": { "type": "double" } } }, "xmlOrder": [ "Timestamp", "SampleCount", "Average", "Sum", "Minimum", "Maximum", "Unit", "ExtendedStatistics" ] } } } } }, "ListMetrics": { "input": { "type": "structure", "members": { "Namespace": {}, "MetricName": {}, "Dimensions": { "type": "list", "member": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "Value": {} } } }, "NextToken": {} } }, "output": { "resultWrapper": "ListMetricsResult", "type": "structure", "members": { "Metrics": { "type": "list", "member": { "type": "structure", "members": { "Namespace": {}, "MetricName": {}, "Dimensions": { "shape": "Sw" } }, "xmlOrder": [ "Namespace", "MetricName", "Dimensions" ] } }, "NextToken": {} }, "xmlOrder": [ "Metrics", "NextToken" ] } }, "PutMetricAlarm": { "input": { "type": "structure", "required": [ "AlarmName", "MetricName", "Namespace", "Period", "EvaluationPeriods", "Threshold", "ComparisonOperator" ], "members": { "AlarmName": {}, "AlarmDescription": {}, "ActionsEnabled": { "type": "boolean" }, "OKActions": { "shape": "So" }, "AlarmActions": { "shape": "So" }, "InsufficientDataActions": { "shape": "So" }, "MetricName": {}, "Namespace": {}, "Statistic": {}, "ExtendedStatistic": {}, "Dimensions": { "shape": "Sw" }, "Period": { "type": "integer" }, "Unit": {}, "EvaluationPeriods": { "type": "integer" }, "Threshold": { "type": "double" }, "ComparisonOperator": {}, "TreatMissingData": {}, "EvaluateLowSampleCountPercentile": {} } } }, "PutMetricData": { "input": { "type": "structure", "required": [ "Namespace", "MetricData" ], "members": { "Namespace": {}, "MetricData": { "type": "list", "member": { "type": "structure", "required": [ "MetricName" ], "members": { "MetricName": {}, "Dimensions": { "shape": "Sw" }, "Timestamp": { "type": "timestamp" }, "Value": { "type": "double" }, "StatisticValues": { "type": "structure", "required": [ "SampleCount", "Sum", "Minimum", "Maximum" ], "members": { "SampleCount": { "type": "double" }, "Sum": { "type": "double" }, "Minimum": { "type": "double" }, "Maximum": { "type": "double" } } }, "Unit": {} } } } } } }, "SetAlarmState": { "input": { "type": "structure", "required": [ "AlarmName", "StateValue", "StateReason" ], "members": { "AlarmName": {}, "StateValue": {}, "StateReason": {}, "StateReasonData": {} } } } }, "shapes": { "S2": { "type": "list", "member": {} }, "Sj": { "type": "list", "member": { "type": "structure", "members": { "AlarmName": {}, "AlarmArn": {}, "AlarmDescription": {}, "AlarmConfigurationUpdatedTimestamp": { "type": "timestamp" }, "ActionsEnabled": { "type": "boolean" }, "OKActions": { "shape": "So" }, "AlarmActions": { "shape": "So" }, "InsufficientDataActions": { "shape": "So" }, "StateValue": {}, "StateReason": {}, "StateReasonData": {}, "StateUpdatedTimestamp": { "type": "timestamp" }, "MetricName": {}, "Namespace": {}, "Statistic": {}, "ExtendedStatistic": {}, "Dimensions": { "shape": "Sw" }, "Period": { "type": "integer" }, "Unit": {}, "EvaluationPeriods": { "type": "integer" }, "Threshold": { "type": "double" }, "ComparisonOperator": {}, "TreatMissingData": {}, "EvaluateLowSampleCountPercentile": {} }, "xmlOrder": [ "AlarmName", "AlarmArn", "AlarmDescription", "AlarmConfigurationUpdatedTimestamp", "ActionsEnabled", "OKActions", "AlarmActions", "InsufficientDataActions", "StateValue", "StateReason", "StateReasonData", "StateUpdatedTimestamp", "MetricName", "Namespace", "Statistic", "Dimensions", "Period", "Unit", "EvaluationPeriods", "Threshold", "ComparisonOperator", "ExtendedStatistic", "TreatMissingData", "EvaluateLowSampleCountPercentile" ] } }, "So": { "type": "list", "member": {} }, "Sw": { "type": "list", "member": { "type": "structure", "required": [ "Name", "Value" ], "members": { "Name": {}, "Value": {} }, "xmlOrder": [ "Name", "Value" ] } } } } },{}],105:[function(require,module,exports){ module.exports={ "pagination": { "DescribeAlarmHistory": { "input_token": "NextToken", "limit_key": "MaxRecords", "output_token": "NextToken", "result_key": "AlarmHistoryItems" }, "DescribeAlarms": { "input_token": "NextToken", "limit_key": "MaxRecords", "output_token": "NextToken", "result_key": "MetricAlarms" }, "DescribeAlarmsForMetric": { "result_key": "MetricAlarms" }, "ListMetrics": { "input_token": "NextToken", "output_token": "NextToken", "result_key": "Metrics" } } } },{}],106:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "AlarmExists": { "delay": 5, "maxAttempts": 40, "operation": "DescribeAlarms", "acceptors": [ { "matcher": "path", "expected": true, "argument": "length(MetricAlarms[]) > `0`", "state": "success" } ] } } } },{}],107:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2017-01-17", "endpointPrefix": "mturk-requester", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "Amazon MTurk", "serviceFullName": "Amazon Mechanical Turk", "signatureVersion": "v4", "targetPrefix": "MTurkRequesterServiceV20170117", "uid": "mturk-requester-2017-01-17" }, "operations": { "AcceptQualificationRequest": { "input": { "type": "structure", "required": [ "QualificationRequestId" ], "members": { "QualificationRequestId": {}, "IntegerValue": { "type": "integer" } } }, "output": { "type": "structure", "members": {} } }, "ApproveAssignment": { "input": { "type": "structure", "required": [ "AssignmentId" ], "members": { "AssignmentId": {}, "RequesterFeedback": {}, "OverrideRejection": { "type": "boolean" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "AssociateQualificationWithWorker": { "input": { "type": "structure", "required": [ "QualificationTypeId", "WorkerId" ], "members": { "QualificationTypeId": {}, "WorkerId": {}, "IntegerValue": { "type": "integer" }, "SendNotification": { "type": "boolean" } } }, "output": { "type": "structure", "members": {} } }, "CreateAdditionalAssignmentsForHIT": { "input": { "type": "structure", "required": [ "HITId" ], "members": { "HITId": {}, "NumberOfAdditionalAssignments": { "type": "integer" }, "UniqueRequestToken": {} } }, "output": { "type": "structure", "members": {} } }, "CreateHIT": { "input": { "type": "structure", "required": [ "LifetimeInSeconds", "AssignmentDurationInSeconds", "Reward", "Title", "Description" ], "members": { "MaxAssignments": { "type": "integer" }, "AutoApprovalDelayInSeconds": { "type": "long" }, "LifetimeInSeconds": { "type": "long" }, "AssignmentDurationInSeconds": { "type": "long" }, "Reward": {}, "Title": {}, "Keywords": {}, "Description": {}, "Question": {}, "RequesterAnnotation": {}, "QualificationRequirements": { "shape": "Si" }, "UniqueRequestToken": {}, "AssignmentReviewPolicy": { "shape": "Sp" }, "HITReviewPolicy": { "shape": "Sp" }, "HITLayoutId": {}, "HITLayoutParameters": { "shape": "Sv" } } }, "output": { "type": "structure", "members": { "HIT": { "shape": "Sy" } } } }, "CreateHITType": { "input": { "type": "structure", "required": [ "AssignmentDurationInSeconds", "Reward", "Title", "Description" ], "members": { "AutoApprovalDelayInSeconds": { "type": "long" }, "AssignmentDurationInSeconds": { "type": "long" }, "Reward": {}, "Title": {}, "Keywords": {}, "Description": {}, "QualificationRequirements": { "shape": "Si" } } }, "output": { "type": "structure", "members": { "HITTypeId": {} } }, "idempotent": true }, "CreateHITWithHITType": { "input": { "type": "structure", "required": [ "HITTypeId", "LifetimeInSeconds" ], "members": { "HITTypeId": {}, "MaxAssignments": { "type": "integer" }, "LifetimeInSeconds": { "type": "long" }, "Question": {}, "RequesterAnnotation": {}, "UniqueRequestToken": {}, "AssignmentReviewPolicy": { "shape": "Sp" }, "HITReviewPolicy": { "shape": "Sp" }, "HITLayoutId": {}, "HITLayoutParameters": { "shape": "Sv" } } }, "output": { "type": "structure", "members": { "HIT": { "shape": "Sy" } } } }, "CreateQualificationType": { "input": { "type": "structure", "required": [ "Name", "Description", "QualificationTypeStatus" ], "members": { "Name": {}, "Keywords": {}, "Description": {}, "QualificationTypeStatus": {}, "RetryDelayInSeconds": { "type": "long" }, "Test": {}, "AnswerKey": {}, "TestDurationInSeconds": { "type": "long" }, "AutoGranted": { "type": "boolean" }, "AutoGrantedValue": { "type": "integer" } } }, "output": { "type": "structure", "members": { "QualificationType": { "shape": "S19" } } } }, "CreateWorkerBlock": { "input": { "type": "structure", "required": [ "WorkerId", "Reason" ], "members": { "WorkerId": {}, "Reason": {} } }, "output": { "type": "structure", "members": {} } }, "DeleteHIT": { "input": { "type": "structure", "required": [ "HITId" ], "members": { "HITId": {} } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "DeleteQualificationType": { "input": { "type": "structure", "required": [ "QualificationTypeId" ], "members": { "QualificationTypeId": {} } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "DeleteWorkerBlock": { "input": { "type": "structure", "required": [ "WorkerId" ], "members": { "WorkerId": {}, "Reason": {} } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "DisassociateQualificationFromWorker": { "input": { "type": "structure", "required": [ "WorkerId", "QualificationTypeId" ], "members": { "WorkerId": {}, "QualificationTypeId": {}, "Reason": {} } }, "output": { "type": "structure", "members": {} } }, "GetAccountBalance": { "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "AvailableBalance": {}, "OnHoldBalance": {} } }, "idempotent": true }, "GetAssignment": { "input": { "type": "structure", "required": [ "AssignmentId" ], "members": { "AssignmentId": {} } }, "output": { "type": "structure", "members": { "Assignment": { "shape": "S1o" }, "HIT": { "shape": "Sy" } } }, "idempotent": true }, "GetFileUploadURL": { "input": { "type": "structure", "required": [ "AssignmentId", "QuestionIdentifier" ], "members": { "AssignmentId": {}, "QuestionIdentifier": {} } }, "output": { "type": "structure", "members": { "FileUploadURL": {} } }, "idempotent": true }, "GetHIT": { "input": { "type": "structure", "required": [ "HITId" ], "members": { "HITId": {} } }, "output": { "type": "structure", "members": { "HIT": { "shape": "Sy" } } }, "idempotent": true }, "GetQualificationScore": { "input": { "type": "structure", "required": [ "QualificationTypeId", "WorkerId" ], "members": { "QualificationTypeId": {}, "WorkerId": {} } }, "output": { "type": "structure", "members": { "Qualification": { "shape": "S1w" } } }, "idempotent": true }, "GetQualificationType": { "input": { "type": "structure", "required": [ "QualificationTypeId" ], "members": { "QualificationTypeId": {} } }, "output": { "type": "structure", "members": { "QualificationType": { "shape": "S19" } } }, "idempotent": true }, "ListAssignmentsForHIT": { "input": { "type": "structure", "required": [ "HITId" ], "members": { "HITId": {}, "NextToken": {}, "MaxResults": { "type": "integer" }, "AssignmentStatuses": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "NextToken": {}, "NumResults": { "type": "integer" }, "Assignments": { "type": "list", "member": { "shape": "S1o" } } } }, "idempotent": true }, "ListBonusPayments": { "input": { "type": "structure", "members": { "HITId": {}, "AssignmentId": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NumResults": { "type": "integer" }, "NextToken": {}, "BonusPayments": { "type": "list", "member": { "type": "structure", "members": { "WorkerId": {}, "BonusAmount": {}, "AssignmentId": {}, "Reason": {}, "GrantTime": { "type": "timestamp" } } } } } }, "idempotent": true }, "ListHITs": { "input": { "type": "structure", "members": { "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextToken": {}, "NumResults": { "type": "integer" }, "HITs": { "shape": "S2c" } } }, "idempotent": true }, "ListHITsForQualificationType": { "input": { "type": "structure", "required": [ "QualificationTypeId" ], "members": { "QualificationTypeId": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextToken": {}, "NumResults": { "type": "integer" }, "HITs": { "shape": "S2c" } } }, "idempotent": true }, "ListQualificationRequests": { "input": { "type": "structure", "members": { "QualificationTypeId": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NumResults": { "type": "integer" }, "NextToken": {}, "QualificationRequests": { "type": "list", "member": { "type": "structure", "members": { "QualificationRequestId": {}, "QualificationTypeId": {}, "WorkerId": {}, "Test": {}, "Answer": {}, "SubmitTime": { "type": "timestamp" } } } } } }, "idempotent": true }, "ListQualificationTypes": { "input": { "type": "structure", "required": [ "MustBeRequestable" ], "members": { "Query": {}, "MustBeRequestable": { "type": "boolean" }, "MustBeOwnedByCaller": { "type": "boolean" }, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NumResults": { "type": "integer" }, "NextToken": {}, "QualificationTypes": { "type": "list", "member": { "shape": "S19" } } } }, "idempotent": true }, "ListReviewPolicyResultsForHIT": { "input": { "type": "structure", "required": [ "HITId" ], "members": { "HITId": {}, "PolicyLevels": { "type": "list", "member": {} }, "RetrieveActions": { "type": "boolean" }, "RetrieveResults": { "type": "boolean" }, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "HITId": {}, "AssignmentReviewPolicy": { "shape": "Sp" }, "HITReviewPolicy": { "shape": "Sp" }, "AssignmentReviewReport": { "shape": "S2q" }, "HITReviewReport": { "shape": "S2q" }, "NextToken": {} } }, "idempotent": true }, "ListReviewableHITs": { "input": { "type": "structure", "members": { "HITTypeId": {}, "Status": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextToken": {}, "NumResults": { "type": "integer" }, "HITs": { "shape": "S2c" } } }, "idempotent": true }, "ListWorkerBlocks": { "input": { "type": "structure", "members": { "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextToken": {}, "NumResults": { "type": "integer" }, "WorkerBlocks": { "type": "list", "member": { "type": "structure", "members": { "WorkerId": {}, "Reason": {} } } } } }, "idempotent": true }, "ListWorkersWithQualificationType": { "input": { "type": "structure", "required": [ "QualificationTypeId" ], "members": { "QualificationTypeId": {}, "Status": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextToken": {}, "NumResults": { "type": "integer" }, "Qualifications": { "type": "list", "member": { "shape": "S1w" } } } }, "idempotent": true }, "NotifyWorkers": { "input": { "type": "structure", "required": [ "Subject", "MessageText", "WorkerIds" ], "members": { "Subject": {}, "MessageText": {}, "WorkerIds": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "NotifyWorkersFailureStatuses": { "type": "list", "member": { "type": "structure", "members": { "NotifyWorkersFailureCode": {}, "NotifyWorkersFailureMessage": {}, "WorkerId": {} } } } } } }, "RejectAssignment": { "input": { "type": "structure", "required": [ "AssignmentId" ], "members": { "AssignmentId": {}, "RequesterFeedback": {} } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "RejectQualificationRequest": { "input": { "type": "structure", "required": [ "QualificationRequestId" ], "members": { "QualificationRequestId": {}, "Reason": {} } }, "output": { "type": "structure", "members": {} } }, "SendBonus": { "input": { "type": "structure", "required": [ "WorkerId", "BonusAmount", "AssignmentId" ], "members": { "WorkerId": {}, "BonusAmount": {}, "AssignmentId": {}, "Reason": {}, "UniqueRequestToken": {} } }, "output": { "type": "structure", "members": {} } }, "SendTestEventNotification": { "input": { "type": "structure", "required": [ "Notification", "TestEventType" ], "members": { "Notification": { "shape": "S3j" }, "TestEventType": {} } }, "output": { "type": "structure", "members": {} } }, "UpdateExpirationForHIT": { "input": { "type": "structure", "required": [ "HITId" ], "members": { "HITId": {}, "ExpireAt": { "type": "timestamp" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "UpdateHITReviewStatus": { "input": { "type": "structure", "required": [ "HITId" ], "members": { "HITId": {}, "Revert": { "type": "boolean" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "UpdateHITTypeOfHIT": { "input": { "type": "structure", "required": [ "HITId", "HITTypeId" ], "members": { "HITId": {}, "HITTypeId": {} } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "UpdateNotificationSettings": { "input": { "type": "structure", "required": [ "HITTypeId" ], "members": { "HITTypeId": {}, "Notification": { "shape": "S3j" }, "Active": { "type": "boolean" } } }, "output": { "type": "structure", "members": {} }, "idempotent": true }, "UpdateQualificationType": { "input": { "type": "structure", "required": [ "QualificationTypeId" ], "members": { "QualificationTypeId": {}, "Description": {}, "QualificationTypeStatus": {}, "Test": {}, "AnswerKey": {}, "TestDurationInSeconds": { "type": "long" }, "RetryDelayInSeconds": { "type": "long" }, "AutoGranted": { "type": "boolean" }, "AutoGrantedValue": { "type": "integer" } } }, "output": { "type": "structure", "members": { "QualificationType": { "shape": "S19" } } } } }, "shapes": { "Si": { "type": "list", "member": { "type": "structure", "required": [ "QualificationTypeId", "Comparator" ], "members": { "QualificationTypeId": {}, "Comparator": {}, "IntegerValues": { "type": "list", "member": { "type": "integer" } }, "LocaleValues": { "type": "list", "member": { "shape": "Sn" } }, "RequiredToPreview": { "type": "boolean" } } } }, "Sn": { "type": "structure", "required": [ "Country" ], "members": { "Country": {}, "Subdivision": {} } }, "Sp": { "type": "structure", "members": { "PolicyName": {}, "Parameters": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Values": { "shape": "Ss" }, "MapEntries": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Values": { "shape": "Ss" } } } } } } } } }, "Ss": { "type": "list", "member": {} }, "Sv": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Value": {} } } }, "Sy": { "type": "structure", "members": { "HITId": {}, "HITTypeId": {}, "HITGroupId": {}, "HITLayoutId": {}, "CreationTime": { "type": "timestamp" }, "Title": {}, "Description": {}, "Question": {}, "Keywords": {}, "HITStatus": {}, "MaxAssignments": { "type": "integer" }, "Reward": {}, "AutoApprovalDelayInSeconds": { "type": "long" }, "Expiration": { "type": "timestamp" }, "AssignmentDurationInSeconds": { "type": "long" }, "RequesterAnnotation": {}, "QualificationRequirements": { "shape": "Si" }, "HITReviewStatus": {}, "NumberOfAssignmentsPending": { "type": "integer" }, "NumberOfAssignmentsAvailable": { "type": "integer" }, "NumberOfAssignmentsCompleted": { "type": "integer" } } }, "S19": { "type": "structure", "members": { "QualificationTypeId": {}, "CreationTime": { "type": "timestamp" }, "Name": {}, "Description": {}, "Keywords": {}, "QualificationTypeStatus": {}, "Test": {}, "TestDurationInSeconds": { "type": "long" }, "AnswerKey": {}, "RetryDelayInSeconds": { "type": "long" }, "IsRequestable": { "type": "boolean" }, "AutoGranted": { "type": "boolean" }, "AutoGrantedValue": { "type": "integer" } } }, "S1o": { "type": "structure", "members": { "AssignmentId": {}, "WorkerId": {}, "HITId": {}, "AssignmentStatus": {}, "AutoApprovalTime": { "type": "timestamp" }, "AcceptTime": { "type": "timestamp" }, "SubmitTime": { "type": "timestamp" }, "ApprovalTime": { "type": "timestamp" }, "RejectionTime": { "type": "timestamp" }, "Deadline": { "type": "timestamp" }, "Answer": {}, "RequesterFeedback": {} } }, "S1w": { "type": "structure", "members": { "QualificationTypeId": {}, "WorkerId": {}, "GrantTime": { "type": "timestamp" }, "IntegerValue": { "type": "integer" }, "LocaleValue": { "shape": "Sn" }, "Status": {} } }, "S2c": { "type": "list", "member": { "shape": "Sy" } }, "S2q": { "type": "structure", "members": { "ReviewResults": { "type": "list", "member": { "type": "structure", "members": { "ActionId": {}, "SubjectId": {}, "SubjectType": {}, "QuestionId": {}, "Key": {}, "Value": {} } } }, "ReviewActions": { "type": "list", "member": { "type": "structure", "members": { "ActionId": {}, "ActionName": {}, "TargetId": {}, "TargetType": {}, "Status": {}, "CompleteTime": { "type": "timestamp" }, "Result": {}, "ErrorCode": {} } } } } }, "S3j": { "type": "structure", "required": [ "Destination", "Transport" ], "members": { "Destination": {}, "Transport": {}, "Version": {}, "EventTypes": { "type": "list", "member": {} } } } } } },{}],108:[function(require,module,exports){ module.exports={ "pagination": { "ListAssignmentsForHIT": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListBonusPayments": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListHITs": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListHITsForQualificationType": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListQualificationRequests": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListQualificationTypes": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListReviewPolicyResultsForHIT": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListReviewableHITs": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListWorkerBlocks": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" }, "ListWorkersWithQualificationType": { "input_token": "NextToken", "output_token": "NextToken", "limit_key": "MaxResults" } } } },{}],109:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2013-02-18", "endpointPrefix": "opsworks", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "AWS OpsWorks", "signatureVersion": "v4", "targetPrefix": "OpsWorks_20130218", "uid": "opsworks-2013-02-18" }, "operations": { "AssignInstance": { "input": { "type": "structure", "required": [ "InstanceId", "LayerIds" ], "members": { "InstanceId": {}, "LayerIds": { "shape": "S3" } } } }, "AssignVolume": { "input": { "type": "structure", "required": [ "VolumeId" ], "members": { "VolumeId": {}, "InstanceId": {} } } }, "AssociateElasticIp": { "input": { "type": "structure", "required": [ "ElasticIp" ], "members": { "ElasticIp": {}, "InstanceId": {} } } }, "AttachElasticLoadBalancer": { "input": { "type": "structure", "required": [ "ElasticLoadBalancerName", "LayerId" ], "members": { "ElasticLoadBalancerName": {}, "LayerId": {} } } }, "CloneStack": { "input": { "type": "structure", "required": [ "SourceStackId", "ServiceRoleArn" ], "members": { "SourceStackId": {}, "Name": {}, "Region": {}, "VpcId": {}, "Attributes": { "shape": "S8" }, "ServiceRoleArn": {}, "DefaultInstanceProfileArn": {}, "DefaultOs": {}, "HostnameTheme": {}, "DefaultAvailabilityZone": {}, "DefaultSubnetId": {}, "CustomJson": {}, "ConfigurationManager": { "shape": "Sa" }, "ChefConfiguration": { "shape": "Sb" }, "UseCustomCookbooks": { "type": "boolean" }, "UseOpsworksSecurityGroups": { "type": "boolean" }, "CustomCookbooksSource": { "shape": "Sd" }, "DefaultSshKeyName": {}, "ClonePermissions": { "type": "boolean" }, "CloneAppIds": { "shape": "S3" }, "DefaultRootDeviceType": {}, "AgentVersion": {} } }, "output": { "type": "structure", "members": { "StackId": {} } } }, "CreateApp": { "input": { "type": "structure", "required": [ "StackId", "Name", "Type" ], "members": { "StackId": {}, "Shortname": {}, "Name": {}, "Description": {}, "DataSources": { "shape": "Si" }, "Type": {}, "AppSource": { "shape": "Sd" }, "Domains": { "shape": "S3" }, "EnableSsl": { "type": "boolean" }, "SslConfiguration": { "shape": "Sl" }, "Attributes": { "shape": "Sm" }, "Environment": { "shape": "So" } } }, "output": { "type": "structure", "members": { "AppId": {} } } }, "CreateDeployment": { "input": { "type": "structure", "required": [ "StackId", "Command" ], "members": { "StackId": {}, "AppId": {}, "InstanceIds": { "shape": "S3" }, "LayerIds": { "shape": "S3" }, "Command": { "shape": "Ss" }, "Comment": {}, "CustomJson": {} } }, "output": { "type": "structure", "members": { "DeploymentId": {} } } }, "CreateInstance": { "input": { "type": "structure", "required": [ "StackId", "LayerIds", "InstanceType" ], "members": { "StackId": {}, "LayerIds": { "shape": "S3" }, "InstanceType": {}, "AutoScalingType": {}, "Hostname": {}, "Os": {}, "AmiId": {}, "SshKeyName": {}, "AvailabilityZone": {}, "VirtualizationType": {}, "SubnetId": {}, "Architecture": {}, "RootDeviceType": {}, "BlockDeviceMappings": { "shape": "Sz" }, "InstallUpdatesOnBoot": { "type": "boolean" }, "EbsOptimized": { "type": "boolean" }, "AgentVersion": {}, "Tenancy": {} } }, "output": { "type": "structure", "members": { "InstanceId": {} } } }, "CreateLayer": { "input": { "type": "structure", "required": [ "StackId", "Type", "Name", "Shortname" ], "members": { "StackId": {}, "Type": {}, "Name": {}, "Shortname": {}, "Attributes": { "shape": "S17" }, "CloudWatchLogsConfiguration": { "shape": "S19" }, "CustomInstanceProfileArn": {}, "CustomJson": {}, "CustomSecurityGroupIds": { "shape": "S3" }, "Packages": { "shape": "S3" }, "VolumeConfigurations": { "shape": "S1f" }, "EnableAutoHealing": { "type": "boolean" }, "AutoAssignElasticIps": { "type": "boolean" }, "AutoAssignPublicIps": { "type": "boolean" }, "CustomRecipes": { "shape": "S1h" }, "InstallUpdatesOnBoot": { "type": "boolean" }, "UseEbsOptimizedInstances": { "type": "boolean" }, "LifecycleEventConfiguration": { "shape": "S1i" } } }, "output": { "type": "structure", "members": { "LayerId": {} } } }, "CreateStack": { "input": { "type": "structure", "required": [ "Name", "Region", "ServiceRoleArn", "DefaultInstanceProfileArn" ], "members": { "Name": {}, "Region": {}, "VpcId": {}, "Attributes": { "shape": "S8" }, "ServiceRoleArn": {}, "DefaultInstanceProfileArn": {}, "DefaultOs": {}, "HostnameTheme": {}, "DefaultAvailabilityZone": {}, "DefaultSubnetId": {}, "CustomJson": {}, "ConfigurationManager": { "shape": "Sa" }, "ChefConfiguration": { "shape": "Sb" }, "UseCustomCookbooks": { "type": "boolean" }, "UseOpsworksSecurityGroups": { "type": "boolean" }, "CustomCookbooksSource": { "shape": "Sd" }, "DefaultSshKeyName": {}, "DefaultRootDeviceType": {}, "AgentVersion": {} } }, "output": { "type": "structure", "members": { "StackId": {} } } }, "CreateUserProfile": { "input": { "type": "structure", "required": [ "IamUserArn" ], "members": { "IamUserArn": {}, "SshUsername": {}, "SshPublicKey": {}, "AllowSelfManagement": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "IamUserArn": {} } } }, "DeleteApp": { "input": { "type": "structure", "required": [ "AppId" ], "members": { "AppId": {} } } }, "DeleteInstance": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {}, "DeleteElasticIp": { "type": "boolean" }, "DeleteVolumes": { "type": "boolean" } } } }, "DeleteLayer": { "input": { "type": "structure", "required": [ "LayerId" ], "members": { "LayerId": {} } } }, "DeleteStack": { "input": { "type": "structure", "required": [ "StackId" ], "members": { "StackId": {} } } }, "DeleteUserProfile": { "input": { "type": "structure", "required": [ "IamUserArn" ], "members": { "IamUserArn": {} } } }, "DeregisterEcsCluster": { "input": { "type": "structure", "required": [ "EcsClusterArn" ], "members": { "EcsClusterArn": {} } } }, "DeregisterElasticIp": { "input": { "type": "structure", "required": [ "ElasticIp" ], "members": { "ElasticIp": {} } } }, "DeregisterInstance": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {} } } }, "DeregisterRdsDbInstance": { "input": { "type": "structure", "required": [ "RdsDbInstanceArn" ], "members": { "RdsDbInstanceArn": {} } } }, "DeregisterVolume": { "input": { "type": "structure", "required": [ "VolumeId" ], "members": { "VolumeId": {} } } }, "DescribeAgentVersions": { "input": { "type": "structure", "members": { "StackId": {}, "ConfigurationManager": { "shape": "Sa" } } }, "output": { "type": "structure", "members": { "AgentVersions": { "type": "list", "member": { "type": "structure", "members": { "Version": {}, "ConfigurationManager": { "shape": "Sa" } } } } } } }, "DescribeApps": { "input": { "type": "structure", "members": { "StackId": {}, "AppIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "Apps": { "type": "list", "member": { "type": "structure", "members": { "AppId": {}, "StackId": {}, "Shortname": {}, "Name": {}, "Description": {}, "DataSources": { "shape": "Si" }, "Type": {}, "AppSource": { "shape": "Sd" }, "Domains": { "shape": "S3" }, "EnableSsl": { "type": "boolean" }, "SslConfiguration": { "shape": "Sl" }, "Attributes": { "shape": "Sm" }, "CreatedAt": {}, "Environment": { "shape": "So" } } } } } } }, "DescribeCommands": { "input": { "type": "structure", "members": { "DeploymentId": {}, "InstanceId": {}, "CommandIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "Commands": { "type": "list", "member": { "type": "structure", "members": { "CommandId": {}, "InstanceId": {}, "DeploymentId": {}, "CreatedAt": {}, "AcknowledgedAt": {}, "CompletedAt": {}, "Status": {}, "ExitCode": { "type": "integer" }, "LogUrl": {}, "Type": {} } } } } } }, "DescribeDeployments": { "input": { "type": "structure", "members": { "StackId": {}, "AppId": {}, "DeploymentIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "Deployments": { "type": "list", "member": { "type": "structure", "members": { "DeploymentId": {}, "StackId": {}, "AppId": {}, "CreatedAt": {}, "CompletedAt": {}, "Duration": { "type": "integer" }, "IamUserArn": {}, "Comment": {}, "Command": { "shape": "Ss" }, "Status": {}, "CustomJson": {}, "InstanceIds": { "shape": "S3" } } } } } } }, "DescribeEcsClusters": { "input": { "type": "structure", "members": { "EcsClusterArns": { "shape": "S3" }, "StackId": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "EcsClusters": { "type": "list", "member": { "type": "structure", "members": { "EcsClusterArn": {}, "EcsClusterName": {}, "StackId": {}, "RegisteredAt": {} } } }, "NextToken": {} } } }, "DescribeElasticIps": { "input": { "type": "structure", "members": { "InstanceId": {}, "StackId": {}, "Ips": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "ElasticIps": { "type": "list", "member": { "type": "structure", "members": { "Ip": {}, "Name": {}, "Domain": {}, "Region": {}, "InstanceId": {} } } } } } }, "DescribeElasticLoadBalancers": { "input": { "type": "structure", "members": { "StackId": {}, "LayerIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "ElasticLoadBalancers": { "type": "list", "member": { "type": "structure", "members": { "ElasticLoadBalancerName": {}, "Region": {}, "DnsName": {}, "StackId": {}, "LayerId": {}, "VpcId": {}, "AvailabilityZones": { "shape": "S3" }, "SubnetIds": { "shape": "S3" }, "Ec2InstanceIds": { "shape": "S3" } } } } } } }, "DescribeInstances": { "input": { "type": "structure", "members": { "StackId": {}, "LayerId": {}, "InstanceIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "Instances": { "type": "list", "member": { "type": "structure", "members": { "AgentVersion": {}, "AmiId": {}, "Architecture": {}, "Arn": {}, "AutoScalingType": {}, "AvailabilityZone": {}, "BlockDeviceMappings": { "shape": "Sz" }, "CreatedAt": {}, "EbsOptimized": { "type": "boolean" }, "Ec2InstanceId": {}, "EcsClusterArn": {}, "EcsContainerInstanceArn": {}, "ElasticIp": {}, "Hostname": {}, "InfrastructureClass": {}, "InstallUpdatesOnBoot": { "type": "boolean" }, "InstanceId": {}, "InstanceProfileArn": {}, "InstanceType": {}, "LastServiceErrorId": {}, "LayerIds": { "shape": "S3" }, "Os": {}, "Platform": {}, "PrivateDns": {}, "PrivateIp": {}, "PublicDns": {}, "PublicIp": {}, "RegisteredBy": {}, "ReportedAgentVersion": {}, "ReportedOs": { "type": "structure", "members": { "Family": {}, "Name": {}, "Version": {} } }, "RootDeviceType": {}, "RootDeviceVolumeId": {}, "SecurityGroupIds": { "shape": "S3" }, "SshHostDsaKeyFingerprint": {}, "SshHostRsaKeyFingerprint": {}, "SshKeyName": {}, "StackId": {}, "Status": {}, "SubnetId": {}, "Tenancy": {}, "VirtualizationType": {} } } } } } }, "DescribeLayers": { "input": { "type": "structure", "members": { "StackId": {}, "LayerIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "Layers": { "type": "list", "member": { "type": "structure", "members": { "Arn": {}, "StackId": {}, "LayerId": {}, "Type": {}, "Name": {}, "Shortname": {}, "Attributes": { "shape": "S17" }, "CloudWatchLogsConfiguration": { "shape": "S19" }, "CustomInstanceProfileArn": {}, "CustomJson": {}, "CustomSecurityGroupIds": { "shape": "S3" }, "DefaultSecurityGroupNames": { "shape": "S3" }, "Packages": { "shape": "S3" }, "VolumeConfigurations": { "shape": "S1f" }, "EnableAutoHealing": { "type": "boolean" }, "AutoAssignElasticIps": { "type": "boolean" }, "AutoAssignPublicIps": { "type": "boolean" }, "DefaultRecipes": { "shape": "S1h" }, "CustomRecipes": { "shape": "S1h" }, "CreatedAt": {}, "InstallUpdatesOnBoot": { "type": "boolean" }, "UseEbsOptimizedInstances": { "type": "boolean" }, "LifecycleEventConfiguration": { "shape": "S1i" } } } } } } }, "DescribeLoadBasedAutoScaling": { "input": { "type": "structure", "required": [ "LayerIds" ], "members": { "LayerIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "LoadBasedAutoScalingConfigurations": { "type": "list", "member": { "type": "structure", "members": { "LayerId": {}, "Enable": { "type": "boolean" }, "UpScaling": { "shape": "S36" }, "DownScaling": { "shape": "S36" } } } } } } }, "DescribeMyUserProfile": { "output": { "type": "structure", "members": { "UserProfile": { "type": "structure", "members": { "IamUserArn": {}, "Name": {}, "SshUsername": {}, "SshPublicKey": {} } } } } }, "DescribePermissions": { "input": { "type": "structure", "members": { "IamUserArn": {}, "StackId": {} } }, "output": { "type": "structure", "members": { "Permissions": { "type": "list", "member": { "type": "structure", "members": { "StackId": {}, "IamUserArn": {}, "AllowSsh": { "type": "boolean" }, "AllowSudo": { "type": "boolean" }, "Level": {} } } } } } }, "DescribeRaidArrays": { "input": { "type": "structure", "members": { "InstanceId": {}, "StackId": {}, "RaidArrayIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "RaidArrays": { "type": "list", "member": { "type": "structure", "members": { "RaidArrayId": {}, "InstanceId": {}, "Name": {}, "RaidLevel": { "type": "integer" }, "NumberOfDisks": { "type": "integer" }, "Size": { "type": "integer" }, "Device": {}, "MountPoint": {}, "AvailabilityZone": {}, "CreatedAt": {}, "StackId": {}, "VolumeType": {}, "Iops": { "type": "integer" } } } } } } }, "DescribeRdsDbInstances": { "input": { "type": "structure", "required": [ "StackId" ], "members": { "StackId": {}, "RdsDbInstanceArns": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "RdsDbInstances": { "type": "list", "member": { "type": "structure", "members": { "RdsDbInstanceArn": {}, "DbInstanceIdentifier": {}, "DbUser": {}, "DbPassword": {}, "Region": {}, "Address": {}, "Engine": {}, "StackId": {}, "MissingOnRds": { "type": "boolean" } } } } } } }, "DescribeServiceErrors": { "input": { "type": "structure", "members": { "StackId": {}, "InstanceId": {}, "ServiceErrorIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "ServiceErrors": { "type": "list", "member": { "type": "structure", "members": { "ServiceErrorId": {}, "StackId": {}, "InstanceId": {}, "Type": {}, "Message": {}, "CreatedAt": {} } } } } } }, "DescribeStackProvisioningParameters": { "input": { "type": "structure", "required": [ "StackId" ], "members": { "StackId": {} } }, "output": { "type": "structure", "members": { "AgentInstallerUrl": {}, "Parameters": { "type": "map", "key": {}, "value": {} } } } }, "DescribeStackSummary": { "input": { "type": "structure", "required": [ "StackId" ], "members": { "StackId": {} } }, "output": { "type": "structure", "members": { "StackSummary": { "type": "structure", "members": { "StackId": {}, "Name": {}, "Arn": {}, "LayersCount": { "type": "integer" }, "AppsCount": { "type": "integer" }, "InstancesCount": { "type": "structure", "members": { "Assigning": { "type": "integer" }, "Booting": { "type": "integer" }, "ConnectionLost": { "type": "integer" }, "Deregistering": { "type": "integer" }, "Online": { "type": "integer" }, "Pending": { "type": "integer" }, "Rebooting": { "type": "integer" }, "Registered": { "type": "integer" }, "Registering": { "type": "integer" }, "Requested": { "type": "integer" }, "RunningSetup": { "type": "integer" }, "SetupFailed": { "type": "integer" }, "ShuttingDown": { "type": "integer" }, "StartFailed": { "type": "integer" }, "Stopped": { "type": "integer" }, "Stopping": { "type": "integer" }, "Terminated": { "type": "integer" }, "Terminating": { "type": "integer" }, "Unassigning": { "type": "integer" } } } } } } } }, "DescribeStacks": { "input": { "type": "structure", "members": { "StackIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "Stacks": { "type": "list", "member": { "type": "structure", "members": { "StackId": {}, "Name": {}, "Arn": {}, "Region": {}, "VpcId": {}, "Attributes": { "shape": "S8" }, "ServiceRoleArn": {}, "DefaultInstanceProfileArn": {}, "DefaultOs": {}, "HostnameTheme": {}, "DefaultAvailabilityZone": {}, "DefaultSubnetId": {}, "CustomJson": {}, "ConfigurationManager": { "shape": "Sa" }, "ChefConfiguration": { "shape": "Sb" }, "UseCustomCookbooks": { "type": "boolean" }, "UseOpsworksSecurityGroups": { "type": "boolean" }, "CustomCookbooksSource": { "shape": "Sd" }, "DefaultSshKeyName": {}, "CreatedAt": {}, "DefaultRootDeviceType": {}, "AgentVersion": {} } } } } } }, "DescribeTimeBasedAutoScaling": { "input": { "type": "structure", "required": [ "InstanceIds" ], "members": { "InstanceIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "TimeBasedAutoScalingConfigurations": { "type": "list", "member": { "type": "structure", "members": { "InstanceId": {}, "AutoScalingSchedule": { "shape": "S46" } } } } } } }, "DescribeUserProfiles": { "input": { "type": "structure", "members": { "IamUserArns": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "UserProfiles": { "type": "list", "member": { "type": "structure", "members": { "IamUserArn": {}, "Name": {}, "SshUsername": {}, "SshPublicKey": {}, "AllowSelfManagement": { "type": "boolean" } } } } } } }, "DescribeVolumes": { "input": { "type": "structure", "members": { "InstanceId": {}, "StackId": {}, "RaidArrayId": {}, "VolumeIds": { "shape": "S3" } } }, "output": { "type": "structure", "members": { "Volumes": { "type": "list", "member": { "type": "structure", "members": { "VolumeId": {}, "Ec2VolumeId": {}, "Name": {}, "RaidArrayId": {}, "InstanceId": {}, "Status": {}, "Size": { "type": "integer" }, "Device": {}, "MountPoint": {}, "Region": {}, "AvailabilityZone": {}, "VolumeType": {}, "Iops": { "type": "integer" } } } } } } }, "DetachElasticLoadBalancer": { "input": { "type": "structure", "required": [ "ElasticLoadBalancerName", "LayerId" ], "members": { "ElasticLoadBalancerName": {}, "LayerId": {} } } }, "DisassociateElasticIp": { "input": { "type": "structure", "required": [ "ElasticIp" ], "members": { "ElasticIp": {} } } }, "GetHostnameSuggestion": { "input": { "type": "structure", "required": [ "LayerId" ], "members": { "LayerId": {} } }, "output": { "type": "structure", "members": { "LayerId": {}, "Hostname": {} } } }, "GrantAccess": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {}, "ValidForInMinutes": { "type": "integer" } } }, "output": { "type": "structure", "members": { "TemporaryCredential": { "type": "structure", "members": { "Username": {}, "Password": {}, "ValidForInMinutes": { "type": "integer" }, "InstanceId": {} } } } } }, "ListTags": { "input": { "type": "structure", "required": [ "ResourceArn" ], "members": { "ResourceArn": {}, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Tags": { "shape": "S4v" }, "NextToken": {} } } }, "RebootInstance": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {} } } }, "RegisterEcsCluster": { "input": { "type": "structure", "required": [ "EcsClusterArn", "StackId" ], "members": { "EcsClusterArn": {}, "StackId": {} } }, "output": { "type": "structure", "members": { "EcsClusterArn": {} } } }, "RegisterElasticIp": { "input": { "type": "structure", "required": [ "ElasticIp", "StackId" ], "members": { "ElasticIp": {}, "StackId": {} } }, "output": { "type": "structure", "members": { "ElasticIp": {} } } }, "RegisterInstance": { "input": { "type": "structure", "required": [ "StackId" ], "members": { "StackId": {}, "Hostname": {}, "PublicIp": {}, "PrivateIp": {}, "RsaPublicKey": {}, "RsaPublicKeyFingerprint": {}, "InstanceIdentity": { "type": "structure", "members": { "Document": {}, "Signature": {} } } } }, "output": { "type": "structure", "members": { "InstanceId": {} } } }, "RegisterRdsDbInstance": { "input": { "type": "structure", "required": [ "StackId", "RdsDbInstanceArn", "DbUser", "DbPassword" ], "members": { "StackId": {}, "RdsDbInstanceArn": {}, "DbUser": {}, "DbPassword": {} } } }, "RegisterVolume": { "input": { "type": "structure", "required": [ "StackId" ], "members": { "Ec2VolumeId": {}, "StackId": {} } }, "output": { "type": "structure", "members": { "VolumeId": {} } } }, "SetLoadBasedAutoScaling": { "input": { "type": "structure", "required": [ "LayerId" ], "members": { "LayerId": {}, "Enable": { "type": "boolean" }, "UpScaling": { "shape": "S36" }, "DownScaling": { "shape": "S36" } } } }, "SetPermission": { "input": { "type": "structure", "required": [ "StackId", "IamUserArn" ], "members": { "StackId": {}, "IamUserArn": {}, "AllowSsh": { "type": "boolean" }, "AllowSudo": { "type": "boolean" }, "Level": {} } } }, "SetTimeBasedAutoScaling": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {}, "AutoScalingSchedule": { "shape": "S46" } } } }, "StartInstance": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {} } } }, "StartStack": { "input": { "type": "structure", "required": [ "StackId" ], "members": { "StackId": {} } } }, "StopInstance": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {} } } }, "StopStack": { "input": { "type": "structure", "required": [ "StackId" ], "members": { "StackId": {} } } }, "TagResource": { "input": { "type": "structure", "required": [ "ResourceArn", "Tags" ], "members": { "ResourceArn": {}, "Tags": { "shape": "S4v" } } } }, "UnassignInstance": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {} } } }, "UnassignVolume": { "input": { "type": "structure", "required": [ "VolumeId" ], "members": { "VolumeId": {} } } }, "UntagResource": { "input": { "type": "structure", "required": [ "ResourceArn", "TagKeys" ], "members": { "ResourceArn": {}, "TagKeys": { "type": "list", "member": {} } } } }, "UpdateApp": { "input": { "type": "structure", "required": [ "AppId" ], "members": { "AppId": {}, "Name": {}, "Description": {}, "DataSources": { "shape": "Si" }, "Type": {}, "AppSource": { "shape": "Sd" }, "Domains": { "shape": "S3" }, "EnableSsl": { "type": "boolean" }, "SslConfiguration": { "shape": "Sl" }, "Attributes": { "shape": "Sm" }, "Environment": { "shape": "So" } } } }, "UpdateElasticIp": { "input": { "type": "structure", "required": [ "ElasticIp" ], "members": { "ElasticIp": {}, "Name": {} } } }, "UpdateInstance": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {}, "LayerIds": { "shape": "S3" }, "InstanceType": {}, "AutoScalingType": {}, "Hostname": {}, "Os": {}, "AmiId": {}, "SshKeyName": {}, "Architecture": {}, "InstallUpdatesOnBoot": { "type": "boolean" }, "EbsOptimized": { "type": "boolean" }, "AgentVersion": {} } } }, "UpdateLayer": { "input": { "type": "structure", "required": [ "LayerId" ], "members": { "LayerId": {}, "Name": {}, "Shortname": {}, "Attributes": { "shape": "S17" }, "CloudWatchLogsConfiguration": { "shape": "S19" }, "CustomInstanceProfileArn": {}, "CustomJson": {}, "CustomSecurityGroupIds": { "shape": "S3" }, "Packages": { "shape": "S3" }, "VolumeConfigurations": { "shape": "S1f" }, "EnableAutoHealing": { "type": "boolean" }, "AutoAssignElasticIps": { "type": "boolean" }, "AutoAssignPublicIps": { "type": "boolean" }, "CustomRecipes": { "shape": "S1h" }, "InstallUpdatesOnBoot": { "type": "boolean" }, "UseEbsOptimizedInstances": { "type": "boolean" }, "LifecycleEventConfiguration": { "shape": "S1i" } } } }, "UpdateMyUserProfile": { "input": { "type": "structure", "members": { "SshPublicKey": {} } } }, "UpdateRdsDbInstance": { "input": { "type": "structure", "required": [ "RdsDbInstanceArn" ], "members": { "RdsDbInstanceArn": {}, "DbUser": {}, "DbPassword": {} } } }, "UpdateStack": { "input": { "type": "structure", "required": [ "StackId" ], "members": { "StackId": {}, "Name": {}, "Attributes": { "shape": "S8" }, "ServiceRoleArn": {}, "DefaultInstanceProfileArn": {}, "DefaultOs": {}, "HostnameTheme": {}, "DefaultAvailabilityZone": {}, "DefaultSubnetId": {}, "CustomJson": {}, "ConfigurationManager": { "shape": "Sa" }, "ChefConfiguration": { "shape": "Sb" }, "UseCustomCookbooks": { "type": "boolean" }, "CustomCookbooksSource": { "shape": "Sd" }, "DefaultSshKeyName": {}, "DefaultRootDeviceType": {}, "UseOpsworksSecurityGroups": { "type": "boolean" }, "AgentVersion": {} } } }, "UpdateUserProfile": { "input": { "type": "structure", "required": [ "IamUserArn" ], "members": { "IamUserArn": {}, "SshUsername": {}, "SshPublicKey": {}, "AllowSelfManagement": { "type": "boolean" } } } }, "UpdateVolume": { "input": { "type": "structure", "required": [ "VolumeId" ], "members": { "VolumeId": {}, "Name": {}, "MountPoint": {} } } } }, "shapes": { "S3": { "type": "list", "member": {} }, "S8": { "type": "map", "key": {}, "value": {} }, "Sa": { "type": "structure", "members": { "Name": {}, "Version": {} } }, "Sb": { "type": "structure", "members": { "ManageBerkshelf": { "type": "boolean" }, "BerkshelfVersion": {} } }, "Sd": { "type": "structure", "members": { "Type": {}, "Url": {}, "Username": {}, "Password": {}, "SshKey": {}, "Revision": {} } }, "Si": { "type": "list", "member": { "type": "structure", "members": { "Type": {}, "Arn": {}, "DatabaseName": {} } } }, "Sl": { "type": "structure", "required": [ "Certificate", "PrivateKey" ], "members": { "Certificate": {}, "PrivateKey": {}, "Chain": {} } }, "Sm": { "type": "map", "key": {}, "value": {} }, "So": { "type": "list", "member": { "type": "structure", "required": [ "Key", "Value" ], "members": { "Key": {}, "Value": {}, "Secure": { "type": "boolean" } } } }, "Ss": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "Args": { "type": "map", "key": {}, "value": { "shape": "S3" } } } }, "Sz": { "type": "list", "member": { "type": "structure", "members": { "DeviceName": {}, "NoDevice": {}, "VirtualName": {}, "Ebs": { "type": "structure", "members": { "SnapshotId": {}, "Iops": { "type": "integer" }, "VolumeSize": { "type": "integer" }, "VolumeType": {}, "DeleteOnTermination": { "type": "boolean" } } } } } }, "S17": { "type": "map", "key": {}, "value": {} }, "S19": { "type": "structure", "members": { "Enabled": { "type": "boolean" }, "LogStreams": { "type": "list", "member": { "type": "structure", "members": { "LogGroupName": {}, "DatetimeFormat": {}, "TimeZone": {}, "File": {}, "FileFingerprintLines": {}, "MultiLineStartPattern": {}, "InitialPosition": {}, "Encoding": {}, "BufferDuration": { "type": "integer" }, "BatchCount": { "type": "integer" }, "BatchSize": { "type": "integer" } } } } } }, "S1f": { "type": "list", "member": { "type": "structure", "required": [ "MountPoint", "NumberOfDisks", "Size" ], "members": { "MountPoint": {}, "RaidLevel": { "type": "integer" }, "NumberOfDisks": { "type": "integer" }, "Size": { "type": "integer" }, "VolumeType": {}, "Iops": { "type": "integer" } } } }, "S1h": { "type": "structure", "members": { "Setup": { "shape": "S3" }, "Configure": { "shape": "S3" }, "Deploy": { "shape": "S3" }, "Undeploy": { "shape": "S3" }, "Shutdown": { "shape": "S3" } } }, "S1i": { "type": "structure", "members": { "Shutdown": { "type": "structure", "members": { "ExecutionTimeout": { "type": "integer" }, "DelayUntilElbConnectionsDrained": { "type": "boolean" } } } } }, "S36": { "type": "structure", "members": { "InstanceCount": { "type": "integer" }, "ThresholdsWaitTime": { "type": "integer" }, "IgnoreMetricsTime": { "type": "integer" }, "CpuThreshold": { "type": "double" }, "MemoryThreshold": { "type": "double" }, "LoadThreshold": { "type": "double" }, "Alarms": { "shape": "S3" } } }, "S46": { "type": "structure", "members": { "Monday": { "shape": "S47" }, "Tuesday": { "shape": "S47" }, "Wednesday": { "shape": "S47" }, "Thursday": { "shape": "S47" }, "Friday": { "shape": "S47" }, "Saturday": { "shape": "S47" }, "Sunday": { "shape": "S47" } } }, "S47": { "type": "map", "key": {}, "value": {} }, "S4v": { "type": "map", "key": {}, "value": {} } } } },{}],110:[function(require,module,exports){ module.exports={ "pagination": { "DescribeApps": { "result_key": "Apps" }, "DescribeCommands": { "result_key": "Commands" }, "DescribeDeployments": { "result_key": "Deployments" }, "DescribeEcsClusters": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken", "result_key": "EcsClusters" }, "DescribeElasticIps": { "result_key": "ElasticIps" }, "DescribeElasticLoadBalancers": { "result_key": "ElasticLoadBalancers" }, "DescribeInstances": { "result_key": "Instances" }, "DescribeLayers": { "result_key": "Layers" }, "DescribeLoadBasedAutoScaling": { "result_key": "LoadBasedAutoScalingConfigurations" }, "DescribePermissions": { "result_key": "Permissions" }, "DescribeRaidArrays": { "result_key": "RaidArrays" }, "DescribeServiceErrors": { "result_key": "ServiceErrors" }, "DescribeStacks": { "result_key": "Stacks" }, "DescribeTimeBasedAutoScaling": { "result_key": "TimeBasedAutoScalingConfigurations" }, "DescribeUserProfiles": { "result_key": "UserProfiles" }, "DescribeVolumes": { "result_key": "Volumes" } } } },{}],111:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "AppExists": { "delay": 1, "operation": "DescribeApps", "maxAttempts": 40, "acceptors": [ { "expected": 200, "matcher": "status", "state": "success" }, { "matcher": "status", "expected": 400, "state": "failure" } ] }, "DeploymentSuccessful": { "delay": 15, "operation": "DescribeDeployments", "maxAttempts": 40, "description": "Wait until a deployment has completed successfully", "acceptors": [ { "expected": "successful", "matcher": "pathAll", "state": "success", "argument": "Deployments[].Status" }, { "expected": "failed", "matcher": "pathAny", "state": "failure", "argument": "Deployments[].Status" } ] }, "InstanceOnline": { "delay": 15, "operation": "DescribeInstances", "maxAttempts": 40, "description": "Wait until OpsWorks instance is online.", "acceptors": [ { "expected": "online", "matcher": "pathAll", "state": "success", "argument": "Instances[].Status" }, { "expected": "setup_failed", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "shutting_down", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "start_failed", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "stopped", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "stopping", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "terminating", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "terminated", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "stop_failed", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" } ] }, "InstanceRegistered": { "delay": 15, "operation": "DescribeInstances", "maxAttempts": 40, "description": "Wait until OpsWorks instance is registered.", "acceptors": [ { "expected": "registered", "matcher": "pathAll", "state": "success", "argument": "Instances[].Status" }, { "expected": "setup_failed", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "shutting_down", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "stopped", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "stopping", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "terminating", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "terminated", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "stop_failed", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" } ] }, "InstanceStopped": { "delay": 15, "operation": "DescribeInstances", "maxAttempts": 40, "description": "Wait until OpsWorks instance is stopped.", "acceptors": [ { "expected": "stopped", "matcher": "pathAll", "state": "success", "argument": "Instances[].Status" }, { "expected": "booting", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "online", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "pending", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "rebooting", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "requested", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "running_setup", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "setup_failed", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "start_failed", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "stop_failed", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" } ] }, "InstanceTerminated": { "delay": 15, "operation": "DescribeInstances", "maxAttempts": 40, "description": "Wait until OpsWorks instance is terminated.", "acceptors": [ { "expected": "terminated", "matcher": "pathAll", "state": "success", "argument": "Instances[].Status" }, { "expected": "ResourceNotFoundException", "matcher": "error", "state": "success" }, { "expected": "booting", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "online", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "pending", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "rebooting", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "requested", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "running_setup", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "setup_failed", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" }, { "expected": "start_failed", "matcher": "pathAny", "state": "failure", "argument": "Instances[].Status" } ] } } } },{}],112:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2016-06-10", "endpointPrefix": "polly", "protocol": "rest-json", "serviceFullName": "Amazon Polly", "signatureVersion": "v4", "uid": "polly-2016-06-10" }, "operations": { "DeleteLexicon": { "http": { "method": "DELETE", "requestUri": "/v1/lexicons/{LexiconName}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "S2", "location": "uri", "locationName": "LexiconName" } } }, "output": { "type": "structure", "members": {} } }, "DescribeVoices": { "http": { "method": "GET", "requestUri": "/v1/voices", "responseCode": 200 }, "input": { "type": "structure", "members": { "LanguageCode": { "location": "querystring", "locationName": "LanguageCode" }, "NextToken": { "location": "querystring", "locationName": "NextToken" } } }, "output": { "type": "structure", "members": { "Voices": { "type": "list", "member": { "type": "structure", "members": { "Gender": {}, "Id": {}, "LanguageCode": {}, "LanguageName": {}, "Name": {} } } }, "NextToken": {} } } }, "GetLexicon": { "http": { "method": "GET", "requestUri": "/v1/lexicons/{LexiconName}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": { "shape": "S2", "location": "uri", "locationName": "LexiconName" } } }, "output": { "type": "structure", "members": { "Lexicon": { "type": "structure", "members": { "Content": {}, "Name": { "shape": "S2" } } }, "LexiconAttributes": { "shape": "Si" } } } }, "ListLexicons": { "http": { "method": "GET", "requestUri": "/v1/lexicons", "responseCode": 200 }, "input": { "type": "structure", "members": { "NextToken": { "location": "querystring", "locationName": "NextToken" } } }, "output": { "type": "structure", "members": { "Lexicons": { "type": "list", "member": { "type": "structure", "members": { "Name": { "shape": "S2" }, "Attributes": { "shape": "Si" } } } }, "NextToken": {} } } }, "PutLexicon": { "http": { "method": "PUT", "requestUri": "/v1/lexicons/{LexiconName}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "Name", "Content" ], "members": { "Name": { "shape": "S2", "location": "uri", "locationName": "LexiconName" }, "Content": {} } }, "output": { "type": "structure", "members": {} } }, "SynthesizeSpeech": { "http": { "requestUri": "/v1/speech", "responseCode": 200 }, "input": { "type": "structure", "required": [ "OutputFormat", "Text", "VoiceId" ], "members": { "LexiconNames": { "type": "list", "member": { "shape": "S2" } }, "OutputFormat": {}, "SampleRate": {}, "SpeechMarkTypes": { "type": "list", "member": {} }, "Text": {}, "TextType": {}, "VoiceId": {} } }, "output": { "type": "structure", "members": { "AudioStream": { "type": "blob", "streaming": true }, "ContentType": { "location": "header", "locationName": "Content-Type" }, "RequestCharacters": { "location": "header", "locationName": "x-amzn-RequestCharacters", "type": "integer" } }, "payload": "AudioStream" } } }, "shapes": { "S2": { "type": "string", "sensitive": true }, "Si": { "type": "structure", "members": { "Alphabet": {}, "LanguageCode": {}, "LastModified": { "type": "timestamp" }, "LexiconArn": {}, "LexemesCount": { "type": "integer" }, "Size": { "type": "integer" } } } } } },{}],113:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],114:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2013-01-10", "endpointPrefix": "rds", "protocol": "query", "serviceAbbreviation": "Amazon RDS", "serviceFullName": "Amazon Relational Database Service", "signatureVersion": "v4", "uid": "rds-2013-01-10", "xmlNamespace": "http://rds.amazonaws.com/doc/2013-01-10/" }, "operations": { "AddSourceIdentifierToSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SourceIdentifier" ], "members": { "SubscriptionName": {}, "SourceIdentifier": {} } }, "output": { "resultWrapper": "AddSourceIdentifierToSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "AddTagsToResource": { "input": { "type": "structure", "required": [ "ResourceName", "Tags" ], "members": { "ResourceName": {}, "Tags": { "shape": "S9" } } } }, "AuthorizeDBSecurityGroupIngress": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } }, "CopyDBSnapshot": { "input": { "type": "structure", "required": [ "SourceDBSnapshotIdentifier", "TargetDBSnapshotIdentifier" ], "members": { "SourceDBSnapshotIdentifier": {}, "TargetDBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "CopyDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sk" } } } }, "CreateDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "AllocatedStorage", "DBInstanceClass", "Engine", "MasterUsername", "MasterUserPassword" ], "members": { "DBName": {}, "DBInstanceIdentifier": {}, "AllocatedStorage": { "type": "integer" }, "DBInstanceClass": {}, "Engine": {}, "MasterUsername": {}, "MasterUserPassword": {}, "DBSecurityGroups": { "shape": "Sp" }, "VpcSecurityGroupIds": { "shape": "Sq" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "PreferredMaintenanceWindow": {}, "DBParameterGroupName": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {}, "Port": { "type": "integer" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "CharacterSetName": {}, "PubliclyAccessible": { "type": "boolean" } } }, "output": { "resultWrapper": "CreateDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "CreateDBInstanceReadReplica": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "SourceDBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "SourceDBInstanceIdentifier": {}, "DBInstanceClass": {}, "AvailabilityZone": {}, "Port": { "type": "integer" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "Iops": { "type": "integer" }, "OptionGroupName": {}, "PubliclyAccessible": { "type": "boolean" } } }, "output": { "resultWrapper": "CreateDBInstanceReadReplicaResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "CreateDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName", "DBParameterGroupFamily", "Description" ], "members": { "DBParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {} } }, "output": { "resultWrapper": "CreateDBParameterGroupResult", "type": "structure", "members": { "DBParameterGroup": { "shape": "S1c" } } } }, "CreateDBSecurityGroup": { "input": { "type": "structure", "required": [ "DBSecurityGroupName", "DBSecurityGroupDescription" ], "members": { "DBSecurityGroupName": {}, "DBSecurityGroupDescription": {} } }, "output": { "resultWrapper": "CreateDBSecurityGroupResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } }, "CreateDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier", "DBInstanceIdentifier" ], "members": { "DBSnapshotIdentifier": {}, "DBInstanceIdentifier": {} } }, "output": { "resultWrapper": "CreateDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sk" } } } }, "CreateDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName", "DBSubnetGroupDescription", "SubnetIds" ], "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "SubnetIds": { "shape": "S1i" } } }, "output": { "resultWrapper": "CreateDBSubnetGroupResult", "type": "structure", "members": { "DBSubnetGroup": { "shape": "S11" } } } }, "CreateEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SnsTopicArn" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "EventCategories": { "shape": "S6" }, "SourceIds": { "shape": "S5" }, "Enabled": { "type": "boolean" } } }, "output": { "resultWrapper": "CreateEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "CreateOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName", "EngineName", "MajorEngineVersion", "OptionGroupDescription" ], "members": { "OptionGroupName": {}, "EngineName": {}, "MajorEngineVersion": {}, "OptionGroupDescription": {} } }, "output": { "resultWrapper": "CreateOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "S1o" } } } }, "DeleteDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "SkipFinalSnapshot": { "type": "boolean" }, "FinalDBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "DeleteDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {} } } }, "DeleteDBSecurityGroup": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {} } } }, "DeleteDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier" ], "members": { "DBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sk" } } } }, "DeleteDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName" ], "members": { "DBSubnetGroupName": {} } } }, "DeleteEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {} } }, "output": { "resultWrapper": "DeleteEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "DeleteOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName" ], "members": { "OptionGroupName": {} } } }, "DescribeDBEngineVersions": { "input": { "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBParameterGroupFamily": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "DefaultOnly": { "type": "boolean" }, "ListSupportedCharacterSets": { "type": "boolean" } } }, "output": { "resultWrapper": "DescribeDBEngineVersionsResult", "type": "structure", "members": { "Marker": {}, "DBEngineVersions": { "type": "list", "member": { "locationName": "DBEngineVersion", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBParameterGroupFamily": {}, "DBEngineDescription": {}, "DBEngineVersionDescription": {}, "DefaultCharacterSet": { "shape": "S25" }, "SupportedCharacterSets": { "type": "list", "member": { "shape": "S25", "locationName": "CharacterSet" } } } } } } } }, "DescribeDBInstances": { "input": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBInstancesResult", "type": "structure", "members": { "Marker": {}, "DBInstances": { "type": "list", "member": { "shape": "St", "locationName": "DBInstance" } } } } }, "DescribeDBParameterGroups": { "input": { "type": "structure", "members": { "DBParameterGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBParameterGroupsResult", "type": "structure", "members": { "Marker": {}, "DBParameterGroups": { "type": "list", "member": { "shape": "S1c", "locationName": "DBParameterGroup" } } } } }, "DescribeDBParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {}, "Source": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBParametersResult", "type": "structure", "members": { "Parameters": { "shape": "S2f" }, "Marker": {} } } }, "DescribeDBSecurityGroups": { "input": { "type": "structure", "members": { "DBSecurityGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSecurityGroupsResult", "type": "structure", "members": { "Marker": {}, "DBSecurityGroups": { "type": "list", "member": { "shape": "Sd", "locationName": "DBSecurityGroup" } } } } }, "DescribeDBSnapshots": { "input": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {}, "SnapshotType": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSnapshotsResult", "type": "structure", "members": { "Marker": {}, "DBSnapshots": { "type": "list", "member": { "shape": "Sk", "locationName": "DBSnapshot" } } } } }, "DescribeDBSubnetGroups": { "input": { "type": "structure", "members": { "DBSubnetGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSubnetGroupsResult", "type": "structure", "members": { "Marker": {}, "DBSubnetGroups": { "type": "list", "member": { "shape": "S11", "locationName": "DBSubnetGroup" } } } } }, "DescribeEngineDefaultParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupFamily" ], "members": { "DBParameterGroupFamily": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEngineDefaultParametersResult", "type": "structure", "members": { "EngineDefaults": { "type": "structure", "members": { "DBParameterGroupFamily": {}, "Marker": {}, "Parameters": { "shape": "S2f" } }, "wrapper": true } } } }, "DescribeEventCategories": { "input": { "type": "structure", "members": { "SourceType": {} } }, "output": { "resultWrapper": "DescribeEventCategoriesResult", "type": "structure", "members": { "EventCategoriesMapList": { "type": "list", "member": { "locationName": "EventCategoriesMap", "type": "structure", "members": { "SourceType": {}, "EventCategories": { "shape": "S6" } }, "wrapper": true } } } } }, "DescribeEventSubscriptions": { "input": { "type": "structure", "members": { "SubscriptionName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventSubscriptionsResult", "type": "structure", "members": { "Marker": {}, "EventSubscriptionsList": { "type": "list", "member": { "shape": "S4", "locationName": "EventSubscription" } } } } }, "DescribeEvents": { "input": { "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "EventCategories": { "shape": "S6" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventsResult", "type": "structure", "members": { "Marker": {}, "Events": { "type": "list", "member": { "locationName": "Event", "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "Message": {}, "EventCategories": { "shape": "S6" }, "Date": { "type": "timestamp" } } } } } } }, "DescribeOptionGroupOptions": { "input": { "type": "structure", "required": [ "EngineName" ], "members": { "EngineName": {}, "MajorEngineVersion": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOptionGroupOptionsResult", "type": "structure", "members": { "OptionGroupOptions": { "type": "list", "member": { "locationName": "OptionGroupOption", "type": "structure", "members": { "Name": {}, "Description": {}, "EngineName": {}, "MajorEngineVersion": {}, "MinimumRequiredMinorEngineVersion": {}, "PortRequired": { "type": "boolean" }, "DefaultPort": { "type": "integer" }, "OptionsDependedOn": { "type": "list", "member": { "locationName": "OptionName" } } } } }, "Marker": {} } } }, "DescribeOptionGroups": { "input": { "type": "structure", "members": { "OptionGroupName": {}, "Marker": {}, "MaxRecords": { "type": "integer" }, "EngineName": {}, "MajorEngineVersion": {} } }, "output": { "resultWrapper": "DescribeOptionGroupsResult", "type": "structure", "members": { "OptionGroupsList": { "type": "list", "member": { "shape": "S1o", "locationName": "OptionGroup" } }, "Marker": {} } } }, "DescribeOrderableDBInstanceOptions": { "input": { "type": "structure", "required": [ "Engine" ], "members": { "Engine": {}, "EngineVersion": {}, "DBInstanceClass": {}, "LicenseModel": {}, "Vpc": { "type": "boolean" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", "type": "structure", "members": { "OrderableDBInstanceOptions": { "type": "list", "member": { "locationName": "OrderableDBInstanceOption", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBInstanceClass": {}, "LicenseModel": {}, "AvailabilityZones": { "type": "list", "member": { "shape": "S14", "locationName": "AvailabilityZone" } }, "MultiAZCapable": { "type": "boolean" }, "ReadReplicaCapable": { "type": "boolean" }, "Vpc": { "type": "boolean" } }, "wrapper": true } }, "Marker": {} } } }, "DescribeReservedDBInstances": { "input": { "type": "structure", "members": { "ReservedDBInstanceId": {}, "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedDBInstancesResult", "type": "structure", "members": { "Marker": {}, "ReservedDBInstances": { "type": "list", "member": { "shape": "S3m", "locationName": "ReservedDBInstance" } } } } }, "DescribeReservedDBInstancesOfferings": { "input": { "type": "structure", "members": { "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", "type": "structure", "members": { "Marker": {}, "ReservedDBInstancesOfferings": { "type": "list", "member": { "locationName": "ReservedDBInstancesOffering", "type": "structure", "members": { "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "RecurringCharges": { "shape": "S3o" } }, "wrapper": true } } } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "ResourceName" ], "members": { "ResourceName": {} } }, "output": { "resultWrapper": "ListTagsForResourceResult", "type": "structure", "members": { "TagList": { "shape": "S9" } } } }, "ModifyDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "AllocatedStorage": { "type": "integer" }, "DBInstanceClass": {}, "DBSecurityGroups": { "shape": "Sp" }, "VpcSecurityGroupIds": { "shape": "Sq" }, "ApplyImmediately": { "type": "boolean" }, "MasterUserPassword": {}, "DBParameterGroupName": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {}, "PreferredMaintenanceWindow": {}, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AllowMajorVersionUpgrade": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "Iops": { "type": "integer" }, "OptionGroupName": {}, "NewDBInstanceIdentifier": {} } }, "output": { "resultWrapper": "ModifyDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "ModifyDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName", "Parameters" ], "members": { "DBParameterGroupName": {}, "Parameters": { "shape": "S2f" } } }, "output": { "shape": "S3z", "resultWrapper": "ModifyDBParameterGroupResult" } }, "ModifyDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName", "SubnetIds" ], "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "SubnetIds": { "shape": "S1i" } } }, "output": { "resultWrapper": "ModifyDBSubnetGroupResult", "type": "structure", "members": { "DBSubnetGroup": { "shape": "S11" } } } }, "ModifyEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "EventCategories": { "shape": "S6" }, "Enabled": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "ModifyOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName" ], "members": { "OptionGroupName": {}, "OptionsToInclude": { "type": "list", "member": { "locationName": "OptionConfiguration", "type": "structure", "required": [ "OptionName" ], "members": { "OptionName": {}, "Port": { "type": "integer" }, "DBSecurityGroupMemberships": { "shape": "Sp" }, "VpcSecurityGroupMemberships": { "shape": "Sq" } } } }, "OptionsToRemove": { "type": "list", "member": {} }, "ApplyImmediately": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "S1o" } } } }, "PromoteReadReplica": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {} } }, "output": { "resultWrapper": "PromoteReadReplicaResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "PurchaseReservedDBInstancesOffering": { "input": { "type": "structure", "required": [ "ReservedDBInstancesOfferingId" ], "members": { "ReservedDBInstancesOfferingId": {}, "ReservedDBInstanceId": {}, "DBInstanceCount": { "type": "integer" } } }, "output": { "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", "type": "structure", "members": { "ReservedDBInstance": { "shape": "S3m" } } } }, "RebootDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "ForceFailover": { "type": "boolean" } } }, "output": { "resultWrapper": "RebootDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "RemoveSourceIdentifierFromSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SourceIdentifier" ], "members": { "SubscriptionName": {}, "SourceIdentifier": {} } }, "output": { "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "RemoveTagsFromResource": { "input": { "type": "structure", "required": [ "ResourceName", "TagKeys" ], "members": { "ResourceName": {}, "TagKeys": { "type": "list", "member": {} } } } }, "ResetDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {}, "ResetAllParameters": { "type": "boolean" }, "Parameters": { "shape": "S2f" } } }, "output": { "shape": "S3z", "resultWrapper": "ResetDBParameterGroupResult" } }, "RestoreDBInstanceFromDBSnapshot": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "DBSnapshotIdentifier" ], "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {}, "DBInstanceClass": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "MultiAZ": { "type": "boolean" }, "PubliclyAccessible": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "DBName": {}, "Engine": {}, "Iops": { "type": "integer" }, "OptionGroupName": {} } }, "output": { "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "RestoreDBInstanceToPointInTime": { "input": { "type": "structure", "required": [ "SourceDBInstanceIdentifier", "TargetDBInstanceIdentifier" ], "members": { "SourceDBInstanceIdentifier": {}, "TargetDBInstanceIdentifier": {}, "RestoreTime": { "type": "timestamp" }, "UseLatestRestorableTime": { "type": "boolean" }, "DBInstanceClass": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "MultiAZ": { "type": "boolean" }, "PubliclyAccessible": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "DBName": {}, "Engine": {}, "Iops": { "type": "integer" }, "OptionGroupName": {} } }, "output": { "resultWrapper": "RestoreDBInstanceToPointInTimeResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "RevokeDBSecurityGroupIngress": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "RevokeDBSecurityGroupIngressResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } } }, "shapes": { "S4": { "type": "structure", "members": { "Id": {}, "CustomerAwsId": {}, "CustSubscriptionId": {}, "SnsTopicArn": {}, "Status": {}, "SubscriptionCreationTime": {}, "SourceType": {}, "SourceIdsList": { "shape": "S5" }, "EventCategoriesList": { "shape": "S6" }, "Enabled": { "type": "boolean" } }, "wrapper": true }, "S5": { "type": "list", "member": { "locationName": "SourceId" } }, "S6": { "type": "list", "member": { "locationName": "EventCategory" } }, "S9": { "type": "list", "member": { "locationName": "Tag", "type": "structure", "members": { "Key": {}, "Value": {} } } }, "Sd": { "type": "structure", "members": { "OwnerId": {}, "DBSecurityGroupName": {}, "DBSecurityGroupDescription": {}, "VpcId": {}, "EC2SecurityGroups": { "type": "list", "member": { "locationName": "EC2SecurityGroup", "type": "structure", "members": { "Status": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } } }, "IPRanges": { "type": "list", "member": { "locationName": "IPRange", "type": "structure", "members": { "Status": {}, "CIDRIP": {} } } } }, "wrapper": true }, "Sk": { "type": "structure", "members": { "DBSnapshotIdentifier": {}, "DBInstanceIdentifier": {}, "SnapshotCreateTime": { "type": "timestamp" }, "Engine": {}, "AllocatedStorage": { "type": "integer" }, "Status": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "VpcId": {}, "InstanceCreateTime": { "type": "timestamp" }, "MasterUsername": {}, "EngineVersion": {}, "LicenseModel": {}, "SnapshotType": {}, "Iops": { "type": "integer" } }, "wrapper": true }, "Sp": { "type": "list", "member": { "locationName": "DBSecurityGroupName" } }, "Sq": { "type": "list", "member": { "locationName": "VpcSecurityGroupId" } }, "St": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "DBInstanceClass": {}, "Engine": {}, "DBInstanceStatus": {}, "MasterUsername": {}, "DBName": {}, "Endpoint": { "type": "structure", "members": { "Address": {}, "Port": { "type": "integer" } } }, "AllocatedStorage": { "type": "integer" }, "InstanceCreateTime": { "type": "timestamp" }, "PreferredBackupWindow": {}, "BackupRetentionPeriod": { "type": "integer" }, "DBSecurityGroups": { "shape": "Sv" }, "VpcSecurityGroups": { "shape": "Sx" }, "DBParameterGroups": { "type": "list", "member": { "locationName": "DBParameterGroup", "type": "structure", "members": { "DBParameterGroupName": {}, "ParameterApplyStatus": {} } } }, "AvailabilityZone": {}, "DBSubnetGroup": { "shape": "S11" }, "PreferredMaintenanceWindow": {}, "PendingModifiedValues": { "type": "structure", "members": { "DBInstanceClass": {}, "AllocatedStorage": { "type": "integer" }, "MasterUserPassword": {}, "Port": { "type": "integer" }, "BackupRetentionPeriod": { "type": "integer" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "Iops": { "type": "integer" }, "DBInstanceIdentifier": {} } }, "LatestRestorableTime": { "type": "timestamp" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "ReadReplicaSourceDBInstanceIdentifier": {}, "ReadReplicaDBInstanceIdentifiers": { "type": "list", "member": { "locationName": "ReadReplicaDBInstanceIdentifier" } }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupMembership": { "type": "structure", "members": { "OptionGroupName": {}, "Status": {} } }, "CharacterSetName": {}, "SecondaryAvailabilityZone": {}, "PubliclyAccessible": { "type": "boolean" } }, "wrapper": true }, "Sv": { "type": "list", "member": { "locationName": "DBSecurityGroup", "type": "structure", "members": { "DBSecurityGroupName": {}, "Status": {} } } }, "Sx": { "type": "list", "member": { "locationName": "VpcSecurityGroupMembership", "type": "structure", "members": { "VpcSecurityGroupId": {}, "Status": {} } } }, "S11": { "type": "structure", "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "VpcId": {}, "SubnetGroupStatus": {}, "Subnets": { "type": "list", "member": { "locationName": "Subnet", "type": "structure", "members": { "SubnetIdentifier": {}, "SubnetAvailabilityZone": { "shape": "S14" }, "SubnetStatus": {} } } } }, "wrapper": true }, "S14": { "type": "structure", "members": { "Name": {}, "ProvisionedIopsCapable": { "type": "boolean" } }, "wrapper": true }, "S1c": { "type": "structure", "members": { "DBParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {} }, "wrapper": true }, "S1i": { "type": "list", "member": { "locationName": "SubnetIdentifier" } }, "S1o": { "type": "structure", "members": { "OptionGroupName": {}, "OptionGroupDescription": {}, "EngineName": {}, "MajorEngineVersion": {}, "Options": { "type": "list", "member": { "locationName": "Option", "type": "structure", "members": { "OptionName": {}, "OptionDescription": {}, "Port": { "type": "integer" }, "DBSecurityGroupMemberships": { "shape": "Sv" }, "VpcSecurityGroupMemberships": { "shape": "Sx" } } } }, "AllowsVpcAndNonVpcInstanceMemberships": { "type": "boolean" }, "VpcId": {} }, "wrapper": true }, "S25": { "type": "structure", "members": { "CharacterSetName": {}, "CharacterSetDescription": {} } }, "S2f": { "type": "list", "member": { "locationName": "Parameter", "type": "structure", "members": { "ParameterName": {}, "ParameterValue": {}, "Description": {}, "Source": {}, "ApplyType": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "MinimumEngineVersion": {}, "ApplyMethod": {} } } }, "S3m": { "type": "structure", "members": { "ReservedDBInstanceId": {}, "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "StartTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "DBInstanceCount": { "type": "integer" }, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "State": {}, "RecurringCharges": { "shape": "S3o" } }, "wrapper": true }, "S3o": { "type": "list", "member": { "locationName": "RecurringCharge", "type": "structure", "members": { "RecurringChargeAmount": { "type": "double" }, "RecurringChargeFrequency": {} }, "wrapper": true } }, "S3z": { "type": "structure", "members": { "DBParameterGroupName": {} } } } } },{}],115:[function(require,module,exports){ module.exports={ "pagination": { "DescribeDBEngineVersions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBEngineVersions" }, "DescribeDBInstances": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBInstances" }, "DescribeDBParameterGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBParameterGroups" }, "DescribeDBParameters": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Parameters" }, "DescribeDBSecurityGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBSecurityGroups" }, "DescribeDBSnapshots": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBSnapshots" }, "DescribeDBSubnetGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBSubnetGroups" }, "DescribeEngineDefaultParameters": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "EngineDefaults.Marker", "result_key": "EngineDefaults.Parameters" }, "DescribeEventSubscriptions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "EventSubscriptionsList" }, "DescribeEvents": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Events" }, "DescribeOptionGroupOptions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "OptionGroupOptions" }, "DescribeOptionGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "OptionGroupsList" }, "DescribeOrderableDBInstanceOptions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "OrderableDBInstanceOptions" }, "DescribeReservedDBInstances": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ReservedDBInstances" }, "DescribeReservedDBInstancesOfferings": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ReservedDBInstancesOfferings" }, "ListTagsForResource": { "result_key": "TagList" } } } },{}],116:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2013-02-12", "endpointPrefix": "rds", "protocol": "query", "serviceAbbreviation": "Amazon RDS", "serviceFullName": "Amazon Relational Database Service", "signatureVersion": "v4", "uid": "rds-2013-02-12", "xmlNamespace": "http://rds.amazonaws.com/doc/2013-02-12/" }, "operations": { "AddSourceIdentifierToSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SourceIdentifier" ], "members": { "SubscriptionName": {}, "SourceIdentifier": {} } }, "output": { "resultWrapper": "AddSourceIdentifierToSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "AddTagsToResource": { "input": { "type": "structure", "required": [ "ResourceName", "Tags" ], "members": { "ResourceName": {}, "Tags": { "shape": "S9" } } } }, "AuthorizeDBSecurityGroupIngress": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } }, "CopyDBSnapshot": { "input": { "type": "structure", "required": [ "SourceDBSnapshotIdentifier", "TargetDBSnapshotIdentifier" ], "members": { "SourceDBSnapshotIdentifier": {}, "TargetDBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "CopyDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sk" } } } }, "CreateDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "AllocatedStorage", "DBInstanceClass", "Engine", "MasterUsername", "MasterUserPassword" ], "members": { "DBName": {}, "DBInstanceIdentifier": {}, "AllocatedStorage": { "type": "integer" }, "DBInstanceClass": {}, "Engine": {}, "MasterUsername": {}, "MasterUserPassword": {}, "DBSecurityGroups": { "shape": "Sp" }, "VpcSecurityGroupIds": { "shape": "Sq" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "PreferredMaintenanceWindow": {}, "DBParameterGroupName": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {}, "Port": { "type": "integer" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "CharacterSetName": {}, "PubliclyAccessible": { "type": "boolean" } } }, "output": { "resultWrapper": "CreateDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "CreateDBInstanceReadReplica": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "SourceDBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "SourceDBInstanceIdentifier": {}, "DBInstanceClass": {}, "AvailabilityZone": {}, "Port": { "type": "integer" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "Iops": { "type": "integer" }, "OptionGroupName": {}, "PubliclyAccessible": { "type": "boolean" } } }, "output": { "resultWrapper": "CreateDBInstanceReadReplicaResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "CreateDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName", "DBParameterGroupFamily", "Description" ], "members": { "DBParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {} } }, "output": { "resultWrapper": "CreateDBParameterGroupResult", "type": "structure", "members": { "DBParameterGroup": { "shape": "S1d" } } } }, "CreateDBSecurityGroup": { "input": { "type": "structure", "required": [ "DBSecurityGroupName", "DBSecurityGroupDescription" ], "members": { "DBSecurityGroupName": {}, "DBSecurityGroupDescription": {} } }, "output": { "resultWrapper": "CreateDBSecurityGroupResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } }, "CreateDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier", "DBInstanceIdentifier" ], "members": { "DBSnapshotIdentifier": {}, "DBInstanceIdentifier": {} } }, "output": { "resultWrapper": "CreateDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sk" } } } }, "CreateDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName", "DBSubnetGroupDescription", "SubnetIds" ], "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "SubnetIds": { "shape": "S1j" } } }, "output": { "resultWrapper": "CreateDBSubnetGroupResult", "type": "structure", "members": { "DBSubnetGroup": { "shape": "S11" } } } }, "CreateEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SnsTopicArn" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "EventCategories": { "shape": "S6" }, "SourceIds": { "shape": "S5" }, "Enabled": { "type": "boolean" } } }, "output": { "resultWrapper": "CreateEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "CreateOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName", "EngineName", "MajorEngineVersion", "OptionGroupDescription" ], "members": { "OptionGroupName": {}, "EngineName": {}, "MajorEngineVersion": {}, "OptionGroupDescription": {} } }, "output": { "resultWrapper": "CreateOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "S1p" } } } }, "DeleteDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "SkipFinalSnapshot": { "type": "boolean" }, "FinalDBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "DeleteDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {} } } }, "DeleteDBSecurityGroup": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {} } } }, "DeleteDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier" ], "members": { "DBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sk" } } } }, "DeleteDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName" ], "members": { "DBSubnetGroupName": {} } } }, "DeleteEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {} } }, "output": { "resultWrapper": "DeleteEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "DeleteOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName" ], "members": { "OptionGroupName": {} } } }, "DescribeDBEngineVersions": { "input": { "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBParameterGroupFamily": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "DefaultOnly": { "type": "boolean" }, "ListSupportedCharacterSets": { "type": "boolean" } } }, "output": { "resultWrapper": "DescribeDBEngineVersionsResult", "type": "structure", "members": { "Marker": {}, "DBEngineVersions": { "type": "list", "member": { "locationName": "DBEngineVersion", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBParameterGroupFamily": {}, "DBEngineDescription": {}, "DBEngineVersionDescription": {}, "DefaultCharacterSet": { "shape": "S28" }, "SupportedCharacterSets": { "type": "list", "member": { "shape": "S28", "locationName": "CharacterSet" } } } } } } } }, "DescribeDBInstances": { "input": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBInstancesResult", "type": "structure", "members": { "Marker": {}, "DBInstances": { "type": "list", "member": { "shape": "St", "locationName": "DBInstance" } } } } }, "DescribeDBLogFiles": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "FilenameContains": {}, "FileLastWritten": { "type": "long" }, "FileSize": { "type": "long" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBLogFilesResult", "type": "structure", "members": { "DescribeDBLogFiles": { "type": "list", "member": { "locationName": "DescribeDBLogFilesDetails", "type": "structure", "members": { "LogFileName": {}, "LastWritten": { "type": "long" }, "Size": { "type": "long" } } } }, "Marker": {} } } }, "DescribeDBParameterGroups": { "input": { "type": "structure", "members": { "DBParameterGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBParameterGroupsResult", "type": "structure", "members": { "Marker": {}, "DBParameterGroups": { "type": "list", "member": { "shape": "S1d", "locationName": "DBParameterGroup" } } } } }, "DescribeDBParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {}, "Source": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBParametersResult", "type": "structure", "members": { "Parameters": { "shape": "S2n" }, "Marker": {} } } }, "DescribeDBSecurityGroups": { "input": { "type": "structure", "members": { "DBSecurityGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSecurityGroupsResult", "type": "structure", "members": { "Marker": {}, "DBSecurityGroups": { "type": "list", "member": { "shape": "Sd", "locationName": "DBSecurityGroup" } } } } }, "DescribeDBSnapshots": { "input": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {}, "SnapshotType": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSnapshotsResult", "type": "structure", "members": { "Marker": {}, "DBSnapshots": { "type": "list", "member": { "shape": "Sk", "locationName": "DBSnapshot" } } } } }, "DescribeDBSubnetGroups": { "input": { "type": "structure", "members": { "DBSubnetGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSubnetGroupsResult", "type": "structure", "members": { "Marker": {}, "DBSubnetGroups": { "type": "list", "member": { "shape": "S11", "locationName": "DBSubnetGroup" } } } } }, "DescribeEngineDefaultParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupFamily" ], "members": { "DBParameterGroupFamily": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEngineDefaultParametersResult", "type": "structure", "members": { "EngineDefaults": { "type": "structure", "members": { "DBParameterGroupFamily": {}, "Marker": {}, "Parameters": { "shape": "S2n" } }, "wrapper": true } } } }, "DescribeEventCategories": { "input": { "type": "structure", "members": { "SourceType": {} } }, "output": { "resultWrapper": "DescribeEventCategoriesResult", "type": "structure", "members": { "EventCategoriesMapList": { "type": "list", "member": { "locationName": "EventCategoriesMap", "type": "structure", "members": { "SourceType": {}, "EventCategories": { "shape": "S6" } }, "wrapper": true } } } } }, "DescribeEventSubscriptions": { "input": { "type": "structure", "members": { "SubscriptionName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventSubscriptionsResult", "type": "structure", "members": { "Marker": {}, "EventSubscriptionsList": { "type": "list", "member": { "shape": "S4", "locationName": "EventSubscription" } } } } }, "DescribeEvents": { "input": { "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "EventCategories": { "shape": "S6" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventsResult", "type": "structure", "members": { "Marker": {}, "Events": { "type": "list", "member": { "locationName": "Event", "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "Message": {}, "EventCategories": { "shape": "S6" }, "Date": { "type": "timestamp" } } } } } } }, "DescribeOptionGroupOptions": { "input": { "type": "structure", "required": [ "EngineName" ], "members": { "EngineName": {}, "MajorEngineVersion": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOptionGroupOptionsResult", "type": "structure", "members": { "OptionGroupOptions": { "type": "list", "member": { "locationName": "OptionGroupOption", "type": "structure", "members": { "Name": {}, "Description": {}, "EngineName": {}, "MajorEngineVersion": {}, "MinimumRequiredMinorEngineVersion": {}, "PortRequired": { "type": "boolean" }, "DefaultPort": { "type": "integer" }, "OptionsDependedOn": { "type": "list", "member": { "locationName": "OptionName" } }, "Persistent": { "type": "boolean" }, "OptionGroupOptionSettings": { "type": "list", "member": { "locationName": "OptionGroupOptionSetting", "type": "structure", "members": { "SettingName": {}, "SettingDescription": {}, "DefaultValue": {}, "ApplyType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" } } } } } } }, "Marker": {} } } }, "DescribeOptionGroups": { "input": { "type": "structure", "members": { "OptionGroupName": {}, "Marker": {}, "MaxRecords": { "type": "integer" }, "EngineName": {}, "MajorEngineVersion": {} } }, "output": { "resultWrapper": "DescribeOptionGroupsResult", "type": "structure", "members": { "OptionGroupsList": { "type": "list", "member": { "shape": "S1p", "locationName": "OptionGroup" } }, "Marker": {} } } }, "DescribeOrderableDBInstanceOptions": { "input": { "type": "structure", "required": [ "Engine" ], "members": { "Engine": {}, "EngineVersion": {}, "DBInstanceClass": {}, "LicenseModel": {}, "Vpc": { "type": "boolean" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", "type": "structure", "members": { "OrderableDBInstanceOptions": { "type": "list", "member": { "locationName": "OrderableDBInstanceOption", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBInstanceClass": {}, "LicenseModel": {}, "AvailabilityZones": { "type": "list", "member": { "shape": "S14", "locationName": "AvailabilityZone" } }, "MultiAZCapable": { "type": "boolean" }, "ReadReplicaCapable": { "type": "boolean" }, "Vpc": { "type": "boolean" } }, "wrapper": true } }, "Marker": {} } } }, "DescribeReservedDBInstances": { "input": { "type": "structure", "members": { "ReservedDBInstanceId": {}, "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedDBInstancesResult", "type": "structure", "members": { "Marker": {}, "ReservedDBInstances": { "type": "list", "member": { "shape": "S3w", "locationName": "ReservedDBInstance" } } } } }, "DescribeReservedDBInstancesOfferings": { "input": { "type": "structure", "members": { "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", "type": "structure", "members": { "Marker": {}, "ReservedDBInstancesOfferings": { "type": "list", "member": { "locationName": "ReservedDBInstancesOffering", "type": "structure", "members": { "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "RecurringCharges": { "shape": "S3y" } }, "wrapper": true } } } } }, "DownloadDBLogFilePortion": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "LogFileName" ], "members": { "DBInstanceIdentifier": {}, "LogFileName": {}, "Marker": {}, "NumberOfLines": { "type": "integer" } } }, "output": { "resultWrapper": "DownloadDBLogFilePortionResult", "type": "structure", "members": { "LogFileData": {}, "Marker": {}, "AdditionalDataPending": { "type": "boolean" } } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "ResourceName" ], "members": { "ResourceName": {} } }, "output": { "resultWrapper": "ListTagsForResourceResult", "type": "structure", "members": { "TagList": { "shape": "S9" } } } }, "ModifyDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "AllocatedStorage": { "type": "integer" }, "DBInstanceClass": {}, "DBSecurityGroups": { "shape": "Sp" }, "VpcSecurityGroupIds": { "shape": "Sq" }, "ApplyImmediately": { "type": "boolean" }, "MasterUserPassword": {}, "DBParameterGroupName": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {}, "PreferredMaintenanceWindow": {}, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AllowMajorVersionUpgrade": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "Iops": { "type": "integer" }, "OptionGroupName": {}, "NewDBInstanceIdentifier": {} } }, "output": { "resultWrapper": "ModifyDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "ModifyDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName", "Parameters" ], "members": { "DBParameterGroupName": {}, "Parameters": { "shape": "S2n" } } }, "output": { "shape": "S4b", "resultWrapper": "ModifyDBParameterGroupResult" } }, "ModifyDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName", "SubnetIds" ], "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "SubnetIds": { "shape": "S1j" } } }, "output": { "resultWrapper": "ModifyDBSubnetGroupResult", "type": "structure", "members": { "DBSubnetGroup": { "shape": "S11" } } } }, "ModifyEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "EventCategories": { "shape": "S6" }, "Enabled": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "ModifyOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName" ], "members": { "OptionGroupName": {}, "OptionsToInclude": { "type": "list", "member": { "locationName": "OptionConfiguration", "type": "structure", "required": [ "OptionName" ], "members": { "OptionName": {}, "Port": { "type": "integer" }, "DBSecurityGroupMemberships": { "shape": "Sp" }, "VpcSecurityGroupMemberships": { "shape": "Sq" }, "OptionSettings": { "type": "list", "member": { "shape": "S1t", "locationName": "OptionSetting" } } } } }, "OptionsToRemove": { "type": "list", "member": {} }, "ApplyImmediately": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "S1p" } } } }, "PromoteReadReplica": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {} } }, "output": { "resultWrapper": "PromoteReadReplicaResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "PurchaseReservedDBInstancesOffering": { "input": { "type": "structure", "required": [ "ReservedDBInstancesOfferingId" ], "members": { "ReservedDBInstancesOfferingId": {}, "ReservedDBInstanceId": {}, "DBInstanceCount": { "type": "integer" } } }, "output": { "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", "type": "structure", "members": { "ReservedDBInstance": { "shape": "S3w" } } } }, "RebootDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "ForceFailover": { "type": "boolean" } } }, "output": { "resultWrapper": "RebootDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "RemoveSourceIdentifierFromSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SourceIdentifier" ], "members": { "SubscriptionName": {}, "SourceIdentifier": {} } }, "output": { "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "RemoveTagsFromResource": { "input": { "type": "structure", "required": [ "ResourceName", "TagKeys" ], "members": { "ResourceName": {}, "TagKeys": { "type": "list", "member": {} } } } }, "ResetDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {}, "ResetAllParameters": { "type": "boolean" }, "Parameters": { "shape": "S2n" } } }, "output": { "shape": "S4b", "resultWrapper": "ResetDBParameterGroupResult" } }, "RestoreDBInstanceFromDBSnapshot": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "DBSnapshotIdentifier" ], "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {}, "DBInstanceClass": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "MultiAZ": { "type": "boolean" }, "PubliclyAccessible": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "DBName": {}, "Engine": {}, "Iops": { "type": "integer" }, "OptionGroupName": {} } }, "output": { "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "RestoreDBInstanceToPointInTime": { "input": { "type": "structure", "required": [ "SourceDBInstanceIdentifier", "TargetDBInstanceIdentifier" ], "members": { "SourceDBInstanceIdentifier": {}, "TargetDBInstanceIdentifier": {}, "RestoreTime": { "type": "timestamp" }, "UseLatestRestorableTime": { "type": "boolean" }, "DBInstanceClass": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "MultiAZ": { "type": "boolean" }, "PubliclyAccessible": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "DBName": {}, "Engine": {}, "Iops": { "type": "integer" }, "OptionGroupName": {} } }, "output": { "resultWrapper": "RestoreDBInstanceToPointInTimeResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "RevokeDBSecurityGroupIngress": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "RevokeDBSecurityGroupIngressResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } } }, "shapes": { "S4": { "type": "structure", "members": { "CustomerAwsId": {}, "CustSubscriptionId": {}, "SnsTopicArn": {}, "Status": {}, "SubscriptionCreationTime": {}, "SourceType": {}, "SourceIdsList": { "shape": "S5" }, "EventCategoriesList": { "shape": "S6" }, "Enabled": { "type": "boolean" } }, "wrapper": true }, "S5": { "type": "list", "member": { "locationName": "SourceId" } }, "S6": { "type": "list", "member": { "locationName": "EventCategory" } }, "S9": { "type": "list", "member": { "locationName": "Tag", "type": "structure", "members": { "Key": {}, "Value": {} } } }, "Sd": { "type": "structure", "members": { "OwnerId": {}, "DBSecurityGroupName": {}, "DBSecurityGroupDescription": {}, "VpcId": {}, "EC2SecurityGroups": { "type": "list", "member": { "locationName": "EC2SecurityGroup", "type": "structure", "members": { "Status": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } } }, "IPRanges": { "type": "list", "member": { "locationName": "IPRange", "type": "structure", "members": { "Status": {}, "CIDRIP": {} } } } }, "wrapper": true }, "Sk": { "type": "structure", "members": { "DBSnapshotIdentifier": {}, "DBInstanceIdentifier": {}, "SnapshotCreateTime": { "type": "timestamp" }, "Engine": {}, "AllocatedStorage": { "type": "integer" }, "Status": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "VpcId": {}, "InstanceCreateTime": { "type": "timestamp" }, "MasterUsername": {}, "EngineVersion": {}, "LicenseModel": {}, "SnapshotType": {}, "Iops": { "type": "integer" }, "OptionGroupName": {} }, "wrapper": true }, "Sp": { "type": "list", "member": { "locationName": "DBSecurityGroupName" } }, "Sq": { "type": "list", "member": { "locationName": "VpcSecurityGroupId" } }, "St": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "DBInstanceClass": {}, "Engine": {}, "DBInstanceStatus": {}, "MasterUsername": {}, "DBName": {}, "Endpoint": { "type": "structure", "members": { "Address": {}, "Port": { "type": "integer" } } }, "AllocatedStorage": { "type": "integer" }, "InstanceCreateTime": { "type": "timestamp" }, "PreferredBackupWindow": {}, "BackupRetentionPeriod": { "type": "integer" }, "DBSecurityGroups": { "shape": "Sv" }, "VpcSecurityGroups": { "shape": "Sx" }, "DBParameterGroups": { "type": "list", "member": { "locationName": "DBParameterGroup", "type": "structure", "members": { "DBParameterGroupName": {}, "ParameterApplyStatus": {} } } }, "AvailabilityZone": {}, "DBSubnetGroup": { "shape": "S11" }, "PreferredMaintenanceWindow": {}, "PendingModifiedValues": { "type": "structure", "members": { "DBInstanceClass": {}, "AllocatedStorage": { "type": "integer" }, "MasterUserPassword": {}, "Port": { "type": "integer" }, "BackupRetentionPeriod": { "type": "integer" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "Iops": { "type": "integer" }, "DBInstanceIdentifier": {} } }, "LatestRestorableTime": { "type": "timestamp" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "ReadReplicaSourceDBInstanceIdentifier": {}, "ReadReplicaDBInstanceIdentifiers": { "type": "list", "member": { "locationName": "ReadReplicaDBInstanceIdentifier" } }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupMemberships": { "type": "list", "member": { "locationName": "OptionGroupMembership", "type": "structure", "members": { "OptionGroupName": {}, "Status": {} } } }, "CharacterSetName": {}, "SecondaryAvailabilityZone": {}, "PubliclyAccessible": { "type": "boolean" } }, "wrapper": true }, "Sv": { "type": "list", "member": { "locationName": "DBSecurityGroup", "type": "structure", "members": { "DBSecurityGroupName": {}, "Status": {} } } }, "Sx": { "type": "list", "member": { "locationName": "VpcSecurityGroupMembership", "type": "structure", "members": { "VpcSecurityGroupId": {}, "Status": {} } } }, "S11": { "type": "structure", "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "VpcId": {}, "SubnetGroupStatus": {}, "Subnets": { "type": "list", "member": { "locationName": "Subnet", "type": "structure", "members": { "SubnetIdentifier": {}, "SubnetAvailabilityZone": { "shape": "S14" }, "SubnetStatus": {} } } } }, "wrapper": true }, "S14": { "type": "structure", "members": { "Name": {}, "ProvisionedIopsCapable": { "type": "boolean" } }, "wrapper": true }, "S1d": { "type": "structure", "members": { "DBParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {} }, "wrapper": true }, "S1j": { "type": "list", "member": { "locationName": "SubnetIdentifier" } }, "S1p": { "type": "structure", "members": { "OptionGroupName": {}, "OptionGroupDescription": {}, "EngineName": {}, "MajorEngineVersion": {}, "Options": { "type": "list", "member": { "locationName": "Option", "type": "structure", "members": { "OptionName": {}, "OptionDescription": {}, "Persistent": { "type": "boolean" }, "Port": { "type": "integer" }, "OptionSettings": { "type": "list", "member": { "shape": "S1t", "locationName": "OptionSetting" } }, "DBSecurityGroupMemberships": { "shape": "Sv" }, "VpcSecurityGroupMemberships": { "shape": "Sx" } } } }, "AllowsVpcAndNonVpcInstanceMemberships": { "type": "boolean" }, "VpcId": {} }, "wrapper": true }, "S1t": { "type": "structure", "members": { "Name": {}, "Value": {}, "DefaultValue": {}, "Description": {}, "ApplyType": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "IsCollection": { "type": "boolean" } } }, "S28": { "type": "structure", "members": { "CharacterSetName": {}, "CharacterSetDescription": {} } }, "S2n": { "type": "list", "member": { "locationName": "Parameter", "type": "structure", "members": { "ParameterName": {}, "ParameterValue": {}, "Description": {}, "Source": {}, "ApplyType": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "MinimumEngineVersion": {}, "ApplyMethod": {} } } }, "S3w": { "type": "structure", "members": { "ReservedDBInstanceId": {}, "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "StartTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "DBInstanceCount": { "type": "integer" }, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "State": {}, "RecurringCharges": { "shape": "S3y" } }, "wrapper": true }, "S3y": { "type": "list", "member": { "locationName": "RecurringCharge", "type": "structure", "members": { "RecurringChargeAmount": { "type": "double" }, "RecurringChargeFrequency": {} }, "wrapper": true } }, "S4b": { "type": "structure", "members": { "DBParameterGroupName": {} } } } } },{}],117:[function(require,module,exports){ module.exports={ "pagination": { "DescribeDBEngineVersions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBEngineVersions" }, "DescribeDBInstances": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBInstances" }, "DescribeDBLogFiles": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DescribeDBLogFiles" }, "DescribeDBParameterGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBParameterGroups" }, "DescribeDBParameters": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Parameters" }, "DescribeDBSecurityGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBSecurityGroups" }, "DescribeDBSnapshots": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBSnapshots" }, "DescribeDBSubnetGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "DBSubnetGroups" }, "DescribeEngineDefaultParameters": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "EngineDefaults.Marker", "result_key": "EngineDefaults.Parameters" }, "DescribeEventSubscriptions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "EventSubscriptionsList" }, "DescribeEvents": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Events" }, "DescribeOptionGroupOptions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "OptionGroupOptions" }, "DescribeOptionGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "OptionGroupsList" }, "DescribeOrderableDBInstanceOptions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "OrderableDBInstanceOptions" }, "DescribeReservedDBInstances": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ReservedDBInstances" }, "DescribeReservedDBInstancesOfferings": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ReservedDBInstancesOfferings" }, "DownloadDBLogFilePortion": { "input_token": "Marker", "limit_key": "NumberOfLines", "more_results": "AdditionalDataPending", "output_token": "Marker", "result_key": "LogFileData" }, "ListTagsForResource": { "result_key": "TagList" } } } },{}],118:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2013-09-09", "endpointPrefix": "rds", "protocol": "query", "serviceAbbreviation": "Amazon RDS", "serviceFullName": "Amazon Relational Database Service", "signatureVersion": "v4", "uid": "rds-2013-09-09", "xmlNamespace": "http://rds.amazonaws.com/doc/2013-09-09/" }, "operations": { "AddSourceIdentifierToSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SourceIdentifier" ], "members": { "SubscriptionName": {}, "SourceIdentifier": {} } }, "output": { "resultWrapper": "AddSourceIdentifierToSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "AddTagsToResource": { "input": { "type": "structure", "required": [ "ResourceName", "Tags" ], "members": { "ResourceName": {}, "Tags": { "shape": "S9" } } } }, "AuthorizeDBSecurityGroupIngress": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } }, "CopyDBSnapshot": { "input": { "type": "structure", "required": [ "SourceDBSnapshotIdentifier", "TargetDBSnapshotIdentifier" ], "members": { "SourceDBSnapshotIdentifier": {}, "TargetDBSnapshotIdentifier": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CopyDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sk" } } } }, "CreateDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "AllocatedStorage", "DBInstanceClass", "Engine", "MasterUsername", "MasterUserPassword" ], "members": { "DBName": {}, "DBInstanceIdentifier": {}, "AllocatedStorage": { "type": "integer" }, "DBInstanceClass": {}, "Engine": {}, "MasterUsername": {}, "MasterUserPassword": {}, "DBSecurityGroups": { "shape": "Sp" }, "VpcSecurityGroupIds": { "shape": "Sq" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "PreferredMaintenanceWindow": {}, "DBParameterGroupName": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {}, "Port": { "type": "integer" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "CharacterSetName": {}, "PubliclyAccessible": { "type": "boolean" }, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "CreateDBInstanceReadReplica": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "SourceDBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "SourceDBInstanceIdentifier": {}, "DBInstanceClass": {}, "AvailabilityZone": {}, "Port": { "type": "integer" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "Iops": { "type": "integer" }, "OptionGroupName": {}, "PubliclyAccessible": { "type": "boolean" }, "Tags": { "shape": "S9" }, "DBSubnetGroupName": {} } }, "output": { "resultWrapper": "CreateDBInstanceReadReplicaResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "CreateDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName", "DBParameterGroupFamily", "Description" ], "members": { "DBParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateDBParameterGroupResult", "type": "structure", "members": { "DBParameterGroup": { "shape": "S1f" } } } }, "CreateDBSecurityGroup": { "input": { "type": "structure", "required": [ "DBSecurityGroupName", "DBSecurityGroupDescription" ], "members": { "DBSecurityGroupName": {}, "DBSecurityGroupDescription": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateDBSecurityGroupResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } }, "CreateDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier", "DBInstanceIdentifier" ], "members": { "DBSnapshotIdentifier": {}, "DBInstanceIdentifier": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sk" } } } }, "CreateDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName", "DBSubnetGroupDescription", "SubnetIds" ], "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "SubnetIds": { "shape": "S1l" }, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateDBSubnetGroupResult", "type": "structure", "members": { "DBSubnetGroup": { "shape": "S11" } } } }, "CreateEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SnsTopicArn" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "EventCategories": { "shape": "S6" }, "SourceIds": { "shape": "S5" }, "Enabled": { "type": "boolean" }, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "CreateOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName", "EngineName", "MajorEngineVersion", "OptionGroupDescription" ], "members": { "OptionGroupName": {}, "EngineName": {}, "MajorEngineVersion": {}, "OptionGroupDescription": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "S1r" } } } }, "DeleteDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "SkipFinalSnapshot": { "type": "boolean" }, "FinalDBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "DeleteDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {} } } }, "DeleteDBSecurityGroup": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {} } } }, "DeleteDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier" ], "members": { "DBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sk" } } } }, "DeleteDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName" ], "members": { "DBSubnetGroupName": {} } } }, "DeleteEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {} } }, "output": { "resultWrapper": "DeleteEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "DeleteOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName" ], "members": { "OptionGroupName": {} } } }, "DescribeDBEngineVersions": { "input": { "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBParameterGroupFamily": {}, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {}, "DefaultOnly": { "type": "boolean" }, "ListSupportedCharacterSets": { "type": "boolean" } } }, "output": { "resultWrapper": "DescribeDBEngineVersionsResult", "type": "structure", "members": { "Marker": {}, "DBEngineVersions": { "type": "list", "member": { "locationName": "DBEngineVersion", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBParameterGroupFamily": {}, "DBEngineDescription": {}, "DBEngineVersionDescription": {}, "DefaultCharacterSet": { "shape": "S2d" }, "SupportedCharacterSets": { "type": "list", "member": { "shape": "S2d", "locationName": "CharacterSet" } } } } } } } }, "DescribeDBInstances": { "input": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBInstancesResult", "type": "structure", "members": { "Marker": {}, "DBInstances": { "type": "list", "member": { "shape": "St", "locationName": "DBInstance" } } } } }, "DescribeDBLogFiles": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "FilenameContains": {}, "FileLastWritten": { "type": "long" }, "FileSize": { "type": "long" }, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBLogFilesResult", "type": "structure", "members": { "DescribeDBLogFiles": { "type": "list", "member": { "locationName": "DescribeDBLogFilesDetails", "type": "structure", "members": { "LogFileName": {}, "LastWritten": { "type": "long" }, "Size": { "type": "long" } } } }, "Marker": {} } } }, "DescribeDBParameterGroups": { "input": { "type": "structure", "members": { "DBParameterGroupName": {}, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBParameterGroupsResult", "type": "structure", "members": { "Marker": {}, "DBParameterGroups": { "type": "list", "member": { "shape": "S1f", "locationName": "DBParameterGroup" } } } } }, "DescribeDBParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {}, "Source": {}, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBParametersResult", "type": "structure", "members": { "Parameters": { "shape": "S2s" }, "Marker": {} } } }, "DescribeDBSecurityGroups": { "input": { "type": "structure", "members": { "DBSecurityGroupName": {}, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSecurityGroupsResult", "type": "structure", "members": { "Marker": {}, "DBSecurityGroups": { "type": "list", "member": { "shape": "Sd", "locationName": "DBSecurityGroup" } } } } }, "DescribeDBSnapshots": { "input": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {}, "SnapshotType": {}, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSnapshotsResult", "type": "structure", "members": { "Marker": {}, "DBSnapshots": { "type": "list", "member": { "shape": "Sk", "locationName": "DBSnapshot" } } } } }, "DescribeDBSubnetGroups": { "input": { "type": "structure", "members": { "DBSubnetGroupName": {}, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSubnetGroupsResult", "type": "structure", "members": { "Marker": {}, "DBSubnetGroups": { "type": "list", "member": { "shape": "S11", "locationName": "DBSubnetGroup" } } } } }, "DescribeEngineDefaultParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupFamily" ], "members": { "DBParameterGroupFamily": {}, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEngineDefaultParametersResult", "type": "structure", "members": { "EngineDefaults": { "type": "structure", "members": { "DBParameterGroupFamily": {}, "Marker": {}, "Parameters": { "shape": "S2s" } }, "wrapper": true } } } }, "DescribeEventCategories": { "input": { "type": "structure", "members": { "SourceType": {}, "Filters": { "shape": "S27" } } }, "output": { "resultWrapper": "DescribeEventCategoriesResult", "type": "structure", "members": { "EventCategoriesMapList": { "type": "list", "member": { "locationName": "EventCategoriesMap", "type": "structure", "members": { "SourceType": {}, "EventCategories": { "shape": "S6" } }, "wrapper": true } } } } }, "DescribeEventSubscriptions": { "input": { "type": "structure", "members": { "SubscriptionName": {}, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventSubscriptionsResult", "type": "structure", "members": { "Marker": {}, "EventSubscriptionsList": { "type": "list", "member": { "shape": "S4", "locationName": "EventSubscription" } } } } }, "DescribeEvents": { "input": { "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "EventCategories": { "shape": "S6" }, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventsResult", "type": "structure", "members": { "Marker": {}, "Events": { "type": "list", "member": { "locationName": "Event", "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "Message": {}, "EventCategories": { "shape": "S6" }, "Date": { "type": "timestamp" } } } } } } }, "DescribeOptionGroupOptions": { "input": { "type": "structure", "required": [ "EngineName" ], "members": { "EngineName": {}, "MajorEngineVersion": {}, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOptionGroupOptionsResult", "type": "structure", "members": { "OptionGroupOptions": { "type": "list", "member": { "locationName": "OptionGroupOption", "type": "structure", "members": { "Name": {}, "Description": {}, "EngineName": {}, "MajorEngineVersion": {}, "MinimumRequiredMinorEngineVersion": {}, "PortRequired": { "type": "boolean" }, "DefaultPort": { "type": "integer" }, "OptionsDependedOn": { "type": "list", "member": { "locationName": "OptionName" } }, "Persistent": { "type": "boolean" }, "Permanent": { "type": "boolean" }, "OptionGroupOptionSettings": { "type": "list", "member": { "locationName": "OptionGroupOptionSetting", "type": "structure", "members": { "SettingName": {}, "SettingDescription": {}, "DefaultValue": {}, "ApplyType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" } } } } } } }, "Marker": {} } } }, "DescribeOptionGroups": { "input": { "type": "structure", "members": { "OptionGroupName": {}, "Filters": { "shape": "S27" }, "Marker": {}, "MaxRecords": { "type": "integer" }, "EngineName": {}, "MajorEngineVersion": {} } }, "output": { "resultWrapper": "DescribeOptionGroupsResult", "type": "structure", "members": { "OptionGroupsList": { "type": "list", "member": { "shape": "S1r", "locationName": "OptionGroup" } }, "Marker": {} } } }, "DescribeOrderableDBInstanceOptions": { "input": { "type": "structure", "required": [ "Engine" ], "members": { "Engine": {}, "EngineVersion": {}, "DBInstanceClass": {}, "LicenseModel": {}, "Vpc": { "type": "boolean" }, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", "type": "structure", "members": { "OrderableDBInstanceOptions": { "type": "list", "member": { "locationName": "OrderableDBInstanceOption", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBInstanceClass": {}, "LicenseModel": {}, "AvailabilityZones": { "type": "list", "member": { "shape": "S14", "locationName": "AvailabilityZone" } }, "MultiAZCapable": { "type": "boolean" }, "ReadReplicaCapable": { "type": "boolean" }, "Vpc": { "type": "boolean" } }, "wrapper": true } }, "Marker": {} } } }, "DescribeReservedDBInstances": { "input": { "type": "structure", "members": { "ReservedDBInstanceId": {}, "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedDBInstancesResult", "type": "structure", "members": { "Marker": {}, "ReservedDBInstances": { "type": "list", "member": { "shape": "S41", "locationName": "ReservedDBInstance" } } } } }, "DescribeReservedDBInstancesOfferings": { "input": { "type": "structure", "members": { "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "Filters": { "shape": "S27" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", "type": "structure", "members": { "Marker": {}, "ReservedDBInstancesOfferings": { "type": "list", "member": { "locationName": "ReservedDBInstancesOffering", "type": "structure", "members": { "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "RecurringCharges": { "shape": "S43" } }, "wrapper": true } } } } }, "DownloadDBLogFilePortion": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "LogFileName" ], "members": { "DBInstanceIdentifier": {}, "LogFileName": {}, "Marker": {}, "NumberOfLines": { "type": "integer" } } }, "output": { "resultWrapper": "DownloadDBLogFilePortionResult", "type": "structure", "members": { "LogFileData": {}, "Marker": {}, "AdditionalDataPending": { "type": "boolean" } } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "ResourceName" ], "members": { "ResourceName": {}, "Filters": { "shape": "S27" } } }, "output": { "resultWrapper": "ListTagsForResourceResult", "type": "structure", "members": { "TagList": { "shape": "S9" } } } }, "ModifyDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "AllocatedStorage": { "type": "integer" }, "DBInstanceClass": {}, "DBSecurityGroups": { "shape": "Sp" }, "VpcSecurityGroupIds": { "shape": "Sq" }, "ApplyImmediately": { "type": "boolean" }, "MasterUserPassword": {}, "DBParameterGroupName": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {}, "PreferredMaintenanceWindow": {}, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AllowMajorVersionUpgrade": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "Iops": { "type": "integer" }, "OptionGroupName": {}, "NewDBInstanceIdentifier": {} } }, "output": { "resultWrapper": "ModifyDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "ModifyDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName", "Parameters" ], "members": { "DBParameterGroupName": {}, "Parameters": { "shape": "S2s" } } }, "output": { "shape": "S4g", "resultWrapper": "ModifyDBParameterGroupResult" } }, "ModifyDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName", "SubnetIds" ], "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "SubnetIds": { "shape": "S1l" } } }, "output": { "resultWrapper": "ModifyDBSubnetGroupResult", "type": "structure", "members": { "DBSubnetGroup": { "shape": "S11" } } } }, "ModifyEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "EventCategories": { "shape": "S6" }, "Enabled": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "ModifyOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName" ], "members": { "OptionGroupName": {}, "OptionsToInclude": { "type": "list", "member": { "locationName": "OptionConfiguration", "type": "structure", "required": [ "OptionName" ], "members": { "OptionName": {}, "Port": { "type": "integer" }, "DBSecurityGroupMemberships": { "shape": "Sp" }, "VpcSecurityGroupMemberships": { "shape": "Sq" }, "OptionSettings": { "type": "list", "member": { "shape": "S1v", "locationName": "OptionSetting" } } } } }, "OptionsToRemove": { "type": "list", "member": {} }, "ApplyImmediately": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "S1r" } } } }, "PromoteReadReplica": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {} } }, "output": { "resultWrapper": "PromoteReadReplicaResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "PurchaseReservedDBInstancesOffering": { "input": { "type": "structure", "required": [ "ReservedDBInstancesOfferingId" ], "members": { "ReservedDBInstancesOfferingId": {}, "ReservedDBInstanceId": {}, "DBInstanceCount": { "type": "integer" }, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", "type": "structure", "members": { "ReservedDBInstance": { "shape": "S41" } } } }, "RebootDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "ForceFailover": { "type": "boolean" } } }, "output": { "resultWrapper": "RebootDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "RemoveSourceIdentifierFromSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SourceIdentifier" ], "members": { "SubscriptionName": {}, "SourceIdentifier": {} } }, "output": { "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "RemoveTagsFromResource": { "input": { "type": "structure", "required": [ "ResourceName", "TagKeys" ], "members": { "ResourceName": {}, "TagKeys": { "type": "list", "member": {} } } } }, "ResetDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {}, "ResetAllParameters": { "type": "boolean" }, "Parameters": { "shape": "S2s" } } }, "output": { "shape": "S4g", "resultWrapper": "ResetDBParameterGroupResult" } }, "RestoreDBInstanceFromDBSnapshot": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "DBSnapshotIdentifier" ], "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {}, "DBInstanceClass": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "MultiAZ": { "type": "boolean" }, "PubliclyAccessible": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "DBName": {}, "Engine": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "RestoreDBInstanceToPointInTime": { "input": { "type": "structure", "required": [ "SourceDBInstanceIdentifier", "TargetDBInstanceIdentifier" ], "members": { "SourceDBInstanceIdentifier": {}, "TargetDBInstanceIdentifier": {}, "RestoreTime": { "type": "timestamp" }, "UseLatestRestorableTime": { "type": "boolean" }, "DBInstanceClass": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "MultiAZ": { "type": "boolean" }, "PubliclyAccessible": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "DBName": {}, "Engine": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "RestoreDBInstanceToPointInTimeResult", "type": "structure", "members": { "DBInstance": { "shape": "St" } } } }, "RevokeDBSecurityGroupIngress": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "RevokeDBSecurityGroupIngressResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } } }, "shapes": { "S4": { "type": "structure", "members": { "CustomerAwsId": {}, "CustSubscriptionId": {}, "SnsTopicArn": {}, "Status": {}, "SubscriptionCreationTime": {}, "SourceType": {}, "SourceIdsList": { "shape": "S5" }, "EventCategoriesList": { "shape": "S6" }, "Enabled": { "type": "boolean" } }, "wrapper": true }, "S5": { "type": "list", "member": { "locationName": "SourceId" } }, "S6": { "type": "list", "member": { "locationName": "EventCategory" } }, "S9": { "type": "list", "member": { "locationName": "Tag", "type": "structure", "members": { "Key": {}, "Value": {} } } }, "Sd": { "type": "structure", "members": { "OwnerId": {}, "DBSecurityGroupName": {}, "DBSecurityGroupDescription": {}, "VpcId": {}, "EC2SecurityGroups": { "type": "list", "member": { "locationName": "EC2SecurityGroup", "type": "structure", "members": { "Status": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } } }, "IPRanges": { "type": "list", "member": { "locationName": "IPRange", "type": "structure", "members": { "Status": {}, "CIDRIP": {} } } } }, "wrapper": true }, "Sk": { "type": "structure", "members": { "DBSnapshotIdentifier": {}, "DBInstanceIdentifier": {}, "SnapshotCreateTime": { "type": "timestamp" }, "Engine": {}, "AllocatedStorage": { "type": "integer" }, "Status": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "VpcId": {}, "InstanceCreateTime": { "type": "timestamp" }, "MasterUsername": {}, "EngineVersion": {}, "LicenseModel": {}, "SnapshotType": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "PercentProgress": { "type": "integer" }, "SourceRegion": {} }, "wrapper": true }, "Sp": { "type": "list", "member": { "locationName": "DBSecurityGroupName" } }, "Sq": { "type": "list", "member": { "locationName": "VpcSecurityGroupId" } }, "St": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "DBInstanceClass": {}, "Engine": {}, "DBInstanceStatus": {}, "MasterUsername": {}, "DBName": {}, "Endpoint": { "type": "structure", "members": { "Address": {}, "Port": { "type": "integer" } } }, "AllocatedStorage": { "type": "integer" }, "InstanceCreateTime": { "type": "timestamp" }, "PreferredBackupWindow": {}, "BackupRetentionPeriod": { "type": "integer" }, "DBSecurityGroups": { "shape": "Sv" }, "VpcSecurityGroups": { "shape": "Sx" }, "DBParameterGroups": { "type": "list", "member": { "locationName": "DBParameterGroup", "type": "structure", "members": { "DBParameterGroupName": {}, "ParameterApplyStatus": {} } } }, "AvailabilityZone": {}, "DBSubnetGroup": { "shape": "S11" }, "PreferredMaintenanceWindow": {}, "PendingModifiedValues": { "type": "structure", "members": { "DBInstanceClass": {}, "AllocatedStorage": { "type": "integer" }, "MasterUserPassword": {}, "Port": { "type": "integer" }, "BackupRetentionPeriod": { "type": "integer" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "Iops": { "type": "integer" }, "DBInstanceIdentifier": {} } }, "LatestRestorableTime": { "type": "timestamp" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "ReadReplicaSourceDBInstanceIdentifier": {}, "ReadReplicaDBInstanceIdentifiers": { "type": "list", "member": { "locationName": "ReadReplicaDBInstanceIdentifier" } }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupMemberships": { "type": "list", "member": { "locationName": "OptionGroupMembership", "type": "structure", "members": { "OptionGroupName": {}, "Status": {} } } }, "CharacterSetName": {}, "SecondaryAvailabilityZone": {}, "PubliclyAccessible": { "type": "boolean" }, "StatusInfos": { "type": "list", "member": { "locationName": "DBInstanceStatusInfo", "type": "structure", "members": { "StatusType": {}, "Normal": { "type": "boolean" }, "Status": {}, "Message": {} } } } }, "wrapper": true }, "Sv": { "type": "list", "member": { "locationName": "DBSecurityGroup", "type": "structure", "members": { "DBSecurityGroupName": {}, "Status": {} } } }, "Sx": { "type": "list", "member": { "locationName": "VpcSecurityGroupMembership", "type": "structure", "members": { "VpcSecurityGroupId": {}, "Status": {} } } }, "S11": { "type": "structure", "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "VpcId": {}, "SubnetGroupStatus": {}, "Subnets": { "type": "list", "member": { "locationName": "Subnet", "type": "structure", "members": { "SubnetIdentifier": {}, "SubnetAvailabilityZone": { "shape": "S14" }, "SubnetStatus": {} } } } }, "wrapper": true }, "S14": { "type": "structure", "members": { "Name": {}, "ProvisionedIopsCapable": { "type": "boolean" } }, "wrapper": true }, "S1f": { "type": "structure", "members": { "DBParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {} }, "wrapper": true }, "S1l": { "type": "list", "member": { "locationName": "SubnetIdentifier" } }, "S1r": { "type": "structure", "members": { "OptionGroupName": {}, "OptionGroupDescription": {}, "EngineName": {}, "MajorEngineVersion": {}, "Options": { "type": "list", "member": { "locationName": "Option", "type": "structure", "members": { "OptionName": {}, "OptionDescription": {}, "Persistent": { "type": "boolean" }, "Permanent": { "type": "boolean" }, "Port": { "type": "integer" }, "OptionSettings": { "type": "list", "member": { "shape": "S1v", "locationName": "OptionSetting" } }, "DBSecurityGroupMemberships": { "shape": "Sv" }, "VpcSecurityGroupMemberships": { "shape": "Sx" } } } }, "AllowsVpcAndNonVpcInstanceMemberships": { "type": "boolean" }, "VpcId": {} }, "wrapper": true }, "S1v": { "type": "structure", "members": { "Name": {}, "Value": {}, "DefaultValue": {}, "Description": {}, "ApplyType": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "IsCollection": { "type": "boolean" } } }, "S27": { "type": "list", "member": { "locationName": "Filter", "type": "structure", "required": [ "Name", "Values" ], "members": { "Name": {}, "Values": { "type": "list", "member": { "locationName": "Value" } } } } }, "S2d": { "type": "structure", "members": { "CharacterSetName": {}, "CharacterSetDescription": {} } }, "S2s": { "type": "list", "member": { "locationName": "Parameter", "type": "structure", "members": { "ParameterName": {}, "ParameterValue": {}, "Description": {}, "Source": {}, "ApplyType": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "MinimumEngineVersion": {}, "ApplyMethod": {} } } }, "S41": { "type": "structure", "members": { "ReservedDBInstanceId": {}, "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "StartTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "DBInstanceCount": { "type": "integer" }, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "State": {}, "RecurringCharges": { "shape": "S43" } }, "wrapper": true }, "S43": { "type": "list", "member": { "locationName": "RecurringCharge", "type": "structure", "members": { "RecurringChargeAmount": { "type": "double" }, "RecurringChargeFrequency": {} }, "wrapper": true } }, "S4g": { "type": "structure", "members": { "DBParameterGroupName": {} } } } } },{}],119:[function(require,module,exports){ arguments[4][117][0].apply(exports,arguments) },{"dup":117}],120:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "DBInstanceAvailable": { "delay": 30, "operation": "DescribeDBInstances", "maxAttempts": 60, "acceptors": [ { "expected": "available", "matcher": "pathAll", "state": "success", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "deleted", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "deleting", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "failed", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "incompatible-restore", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "incompatible-parameters", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "incompatible-parameters", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "incompatible-restore", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" } ] }, "DBInstanceDeleted": { "delay": 30, "operation": "DescribeDBInstances", "maxAttempts": 60, "acceptors": [ { "expected": "deleted", "matcher": "pathAll", "state": "success", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "creating", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "modifying", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "rebooting", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "resetting-master-credentials", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" } ] } } } },{}],121:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2014-09-01", "endpointPrefix": "rds", "protocol": "query", "serviceAbbreviation": "Amazon RDS", "serviceFullName": "Amazon Relational Database Service", "signatureVersion": "v4", "uid": "rds-2014-09-01", "xmlNamespace": "http://rds.amazonaws.com/doc/2014-09-01/" }, "operations": { "AddSourceIdentifierToSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SourceIdentifier" ], "members": { "SubscriptionName": {}, "SourceIdentifier": {} } }, "output": { "resultWrapper": "AddSourceIdentifierToSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "AddTagsToResource": { "input": { "type": "structure", "required": [ "ResourceName", "Tags" ], "members": { "ResourceName": {}, "Tags": { "shape": "S9" } } } }, "AuthorizeDBSecurityGroupIngress": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } }, "CopyDBParameterGroup": { "input": { "type": "structure", "required": [ "SourceDBParameterGroupIdentifier", "TargetDBParameterGroupIdentifier", "TargetDBParameterGroupDescription" ], "members": { "SourceDBParameterGroupIdentifier": {}, "TargetDBParameterGroupIdentifier": {}, "TargetDBParameterGroupDescription": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CopyDBParameterGroupResult", "type": "structure", "members": { "DBParameterGroup": { "shape": "Sk" } } } }, "CopyDBSnapshot": { "input": { "type": "structure", "required": [ "SourceDBSnapshotIdentifier", "TargetDBSnapshotIdentifier" ], "members": { "SourceDBSnapshotIdentifier": {}, "TargetDBSnapshotIdentifier": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CopyDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sn" } } } }, "CopyOptionGroup": { "input": { "type": "structure", "required": [ "SourceOptionGroupIdentifier", "TargetOptionGroupIdentifier", "TargetOptionGroupDescription" ], "members": { "SourceOptionGroupIdentifier": {}, "TargetOptionGroupIdentifier": {}, "TargetOptionGroupDescription": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CopyOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "St" } } } }, "CreateDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "AllocatedStorage", "DBInstanceClass", "Engine", "MasterUsername", "MasterUserPassword" ], "members": { "DBName": {}, "DBInstanceIdentifier": {}, "AllocatedStorage": { "type": "integer" }, "DBInstanceClass": {}, "Engine": {}, "MasterUsername": {}, "MasterUserPassword": {}, "DBSecurityGroups": { "shape": "S13" }, "VpcSecurityGroupIds": { "shape": "S14" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "PreferredMaintenanceWindow": {}, "DBParameterGroupName": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {}, "Port": { "type": "integer" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "CharacterSetName": {}, "PubliclyAccessible": { "type": "boolean" }, "Tags": { "shape": "S9" }, "StorageType": {}, "TdeCredentialArn": {}, "TdeCredentialPassword": {} } }, "output": { "resultWrapper": "CreateDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "S17" } } } }, "CreateDBInstanceReadReplica": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "SourceDBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "SourceDBInstanceIdentifier": {}, "DBInstanceClass": {}, "AvailabilityZone": {}, "Port": { "type": "integer" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "Iops": { "type": "integer" }, "OptionGroupName": {}, "PubliclyAccessible": { "type": "boolean" }, "Tags": { "shape": "S9" }, "DBSubnetGroupName": {}, "StorageType": {} } }, "output": { "resultWrapper": "CreateDBInstanceReadReplicaResult", "type": "structure", "members": { "DBInstance": { "shape": "S17" } } } }, "CreateDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName", "DBParameterGroupFamily", "Description" ], "members": { "DBParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateDBParameterGroupResult", "type": "structure", "members": { "DBParameterGroup": { "shape": "Sk" } } } }, "CreateDBSecurityGroup": { "input": { "type": "structure", "required": [ "DBSecurityGroupName", "DBSecurityGroupDescription" ], "members": { "DBSecurityGroupName": {}, "DBSecurityGroupDescription": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateDBSecurityGroupResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } }, "CreateDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier", "DBInstanceIdentifier" ], "members": { "DBSnapshotIdentifier": {}, "DBInstanceIdentifier": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sn" } } } }, "CreateDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName", "DBSubnetGroupDescription", "SubnetIds" ], "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "SubnetIds": { "shape": "S1u" }, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateDBSubnetGroupResult", "type": "structure", "members": { "DBSubnetGroup": { "shape": "S1b" } } } }, "CreateEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SnsTopicArn" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "EventCategories": { "shape": "S6" }, "SourceIds": { "shape": "S5" }, "Enabled": { "type": "boolean" }, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "CreateOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName", "EngineName", "MajorEngineVersion", "OptionGroupDescription" ], "members": { "OptionGroupName": {}, "EngineName": {}, "MajorEngineVersion": {}, "OptionGroupDescription": {}, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "CreateOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "St" } } } }, "DeleteDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "SkipFinalSnapshot": { "type": "boolean" }, "FinalDBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "S17" } } } }, "DeleteDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {} } } }, "DeleteDBSecurityGroup": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {} } } }, "DeleteDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier" ], "members": { "DBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "Sn" } } } }, "DeleteDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName" ], "members": { "DBSubnetGroupName": {} } } }, "DeleteEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {} } }, "output": { "resultWrapper": "DeleteEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "DeleteOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName" ], "members": { "OptionGroupName": {} } } }, "DescribeDBEngineVersions": { "input": { "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBParameterGroupFamily": {}, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {}, "DefaultOnly": { "type": "boolean" }, "ListSupportedCharacterSets": { "type": "boolean" } } }, "output": { "resultWrapper": "DescribeDBEngineVersionsResult", "type": "structure", "members": { "Marker": {}, "DBEngineVersions": { "type": "list", "member": { "locationName": "DBEngineVersion", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBParameterGroupFamily": {}, "DBEngineDescription": {}, "DBEngineVersionDescription": {}, "DefaultCharacterSet": { "shape": "S2h" }, "SupportedCharacterSets": { "type": "list", "member": { "shape": "S2h", "locationName": "CharacterSet" } } } } } } } }, "DescribeDBInstances": { "input": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBInstancesResult", "type": "structure", "members": { "Marker": {}, "DBInstances": { "type": "list", "member": { "shape": "S17", "locationName": "DBInstance" } } } } }, "DescribeDBLogFiles": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "FilenameContains": {}, "FileLastWritten": { "type": "long" }, "FileSize": { "type": "long" }, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBLogFilesResult", "type": "structure", "members": { "DescribeDBLogFiles": { "type": "list", "member": { "locationName": "DescribeDBLogFilesDetails", "type": "structure", "members": { "LogFileName": {}, "LastWritten": { "type": "long" }, "Size": { "type": "long" } } } }, "Marker": {} } } }, "DescribeDBParameterGroups": { "input": { "type": "structure", "members": { "DBParameterGroupName": {}, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBParameterGroupsResult", "type": "structure", "members": { "Marker": {}, "DBParameterGroups": { "type": "list", "member": { "shape": "Sk", "locationName": "DBParameterGroup" } } } } }, "DescribeDBParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {}, "Source": {}, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBParametersResult", "type": "structure", "members": { "Parameters": { "shape": "S2w" }, "Marker": {} } } }, "DescribeDBSecurityGroups": { "input": { "type": "structure", "members": { "DBSecurityGroupName": {}, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSecurityGroupsResult", "type": "structure", "members": { "Marker": {}, "DBSecurityGroups": { "type": "list", "member": { "shape": "Sd", "locationName": "DBSecurityGroup" } } } } }, "DescribeDBSnapshots": { "input": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {}, "SnapshotType": {}, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSnapshotsResult", "type": "structure", "members": { "Marker": {}, "DBSnapshots": { "type": "list", "member": { "shape": "Sn", "locationName": "DBSnapshot" } } } } }, "DescribeDBSubnetGroups": { "input": { "type": "structure", "members": { "DBSubnetGroupName": {}, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSubnetGroupsResult", "type": "structure", "members": { "Marker": {}, "DBSubnetGroups": { "type": "list", "member": { "shape": "S1b", "locationName": "DBSubnetGroup" } } } } }, "DescribeEngineDefaultParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupFamily" ], "members": { "DBParameterGroupFamily": {}, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEngineDefaultParametersResult", "type": "structure", "members": { "EngineDefaults": { "type": "structure", "members": { "DBParameterGroupFamily": {}, "Marker": {}, "Parameters": { "shape": "S2w" } }, "wrapper": true } } } }, "DescribeEventCategories": { "input": { "type": "structure", "members": { "SourceType": {}, "Filters": { "shape": "S2b" } } }, "output": { "resultWrapper": "DescribeEventCategoriesResult", "type": "structure", "members": { "EventCategoriesMapList": { "type": "list", "member": { "locationName": "EventCategoriesMap", "type": "structure", "members": { "SourceType": {}, "EventCategories": { "shape": "S6" } }, "wrapper": true } } } } }, "DescribeEventSubscriptions": { "input": { "type": "structure", "members": { "SubscriptionName": {}, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventSubscriptionsResult", "type": "structure", "members": { "Marker": {}, "EventSubscriptionsList": { "type": "list", "member": { "shape": "S4", "locationName": "EventSubscription" } } } } }, "DescribeEvents": { "input": { "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "EventCategories": { "shape": "S6" }, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventsResult", "type": "structure", "members": { "Marker": {}, "Events": { "type": "list", "member": { "locationName": "Event", "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "Message": {}, "EventCategories": { "shape": "S6" }, "Date": { "type": "timestamp" } } } } } } }, "DescribeOptionGroupOptions": { "input": { "type": "structure", "required": [ "EngineName" ], "members": { "EngineName": {}, "MajorEngineVersion": {}, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOptionGroupOptionsResult", "type": "structure", "members": { "OptionGroupOptions": { "type": "list", "member": { "locationName": "OptionGroupOption", "type": "structure", "members": { "Name": {}, "Description": {}, "EngineName": {}, "MajorEngineVersion": {}, "MinimumRequiredMinorEngineVersion": {}, "PortRequired": { "type": "boolean" }, "DefaultPort": { "type": "integer" }, "OptionsDependedOn": { "type": "list", "member": { "locationName": "OptionName" } }, "Persistent": { "type": "boolean" }, "Permanent": { "type": "boolean" }, "OptionGroupOptionSettings": { "type": "list", "member": { "locationName": "OptionGroupOptionSetting", "type": "structure", "members": { "SettingName": {}, "SettingDescription": {}, "DefaultValue": {}, "ApplyType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" } } } } } } }, "Marker": {} } } }, "DescribeOptionGroups": { "input": { "type": "structure", "members": { "OptionGroupName": {}, "Filters": { "shape": "S2b" }, "Marker": {}, "MaxRecords": { "type": "integer" }, "EngineName": {}, "MajorEngineVersion": {} } }, "output": { "resultWrapper": "DescribeOptionGroupsResult", "type": "structure", "members": { "OptionGroupsList": { "type": "list", "member": { "shape": "St", "locationName": "OptionGroup" } }, "Marker": {} } } }, "DescribeOrderableDBInstanceOptions": { "input": { "type": "structure", "required": [ "Engine" ], "members": { "Engine": {}, "EngineVersion": {}, "DBInstanceClass": {}, "LicenseModel": {}, "Vpc": { "type": "boolean" }, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", "type": "structure", "members": { "OrderableDBInstanceOptions": { "type": "list", "member": { "locationName": "OrderableDBInstanceOption", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBInstanceClass": {}, "LicenseModel": {}, "AvailabilityZones": { "type": "list", "member": { "shape": "S1e", "locationName": "AvailabilityZone" } }, "MultiAZCapable": { "type": "boolean" }, "ReadReplicaCapable": { "type": "boolean" }, "Vpc": { "type": "boolean" }, "StorageType": {}, "SupportsIops": { "type": "boolean" } }, "wrapper": true } }, "Marker": {} } } }, "DescribeReservedDBInstances": { "input": { "type": "structure", "members": { "ReservedDBInstanceId": {}, "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedDBInstancesResult", "type": "structure", "members": { "Marker": {}, "ReservedDBInstances": { "type": "list", "member": { "shape": "S45", "locationName": "ReservedDBInstance" } } } } }, "DescribeReservedDBInstancesOfferings": { "input": { "type": "structure", "members": { "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "Filters": { "shape": "S2b" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", "type": "structure", "members": { "Marker": {}, "ReservedDBInstancesOfferings": { "type": "list", "member": { "locationName": "ReservedDBInstancesOffering", "type": "structure", "members": { "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "RecurringCharges": { "shape": "S47" } }, "wrapper": true } } } } }, "DownloadDBLogFilePortion": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "LogFileName" ], "members": { "DBInstanceIdentifier": {}, "LogFileName": {}, "Marker": {}, "NumberOfLines": { "type": "integer" } } }, "output": { "resultWrapper": "DownloadDBLogFilePortionResult", "type": "structure", "members": { "LogFileData": {}, "Marker": {}, "AdditionalDataPending": { "type": "boolean" } } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "ResourceName" ], "members": { "ResourceName": {}, "Filters": { "shape": "S2b" } } }, "output": { "resultWrapper": "ListTagsForResourceResult", "type": "structure", "members": { "TagList": { "shape": "S9" } } } }, "ModifyDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "AllocatedStorage": { "type": "integer" }, "DBInstanceClass": {}, "DBSecurityGroups": { "shape": "S13" }, "VpcSecurityGroupIds": { "shape": "S14" }, "ApplyImmediately": { "type": "boolean" }, "MasterUserPassword": {}, "DBParameterGroupName": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {}, "PreferredMaintenanceWindow": {}, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AllowMajorVersionUpgrade": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "Iops": { "type": "integer" }, "OptionGroupName": {}, "NewDBInstanceIdentifier": {}, "StorageType": {}, "TdeCredentialArn": {}, "TdeCredentialPassword": {} } }, "output": { "resultWrapper": "ModifyDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "S17" } } } }, "ModifyDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName", "Parameters" ], "members": { "DBParameterGroupName": {}, "Parameters": { "shape": "S2w" } } }, "output": { "shape": "S4k", "resultWrapper": "ModifyDBParameterGroupResult" } }, "ModifyDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName", "SubnetIds" ], "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "SubnetIds": { "shape": "S1u" } } }, "output": { "resultWrapper": "ModifyDBSubnetGroupResult", "type": "structure", "members": { "DBSubnetGroup": { "shape": "S1b" } } } }, "ModifyEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "EventCategories": { "shape": "S6" }, "Enabled": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "ModifyOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName" ], "members": { "OptionGroupName": {}, "OptionsToInclude": { "type": "list", "member": { "locationName": "OptionConfiguration", "type": "structure", "required": [ "OptionName" ], "members": { "OptionName": {}, "Port": { "type": "integer" }, "DBSecurityGroupMemberships": { "shape": "S13" }, "VpcSecurityGroupMemberships": { "shape": "S14" }, "OptionSettings": { "type": "list", "member": { "shape": "Sx", "locationName": "OptionSetting" } } } } }, "OptionsToRemove": { "type": "list", "member": {} }, "ApplyImmediately": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "St" } } } }, "PromoteReadReplica": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {} } }, "output": { "resultWrapper": "PromoteReadReplicaResult", "type": "structure", "members": { "DBInstance": { "shape": "S17" } } } }, "PurchaseReservedDBInstancesOffering": { "input": { "type": "structure", "required": [ "ReservedDBInstancesOfferingId" ], "members": { "ReservedDBInstancesOfferingId": {}, "ReservedDBInstanceId": {}, "DBInstanceCount": { "type": "integer" }, "Tags": { "shape": "S9" } } }, "output": { "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", "type": "structure", "members": { "ReservedDBInstance": { "shape": "S45" } } } }, "RebootDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "ForceFailover": { "type": "boolean" } } }, "output": { "resultWrapper": "RebootDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "S17" } } } }, "RemoveSourceIdentifierFromSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SourceIdentifier" ], "members": { "SubscriptionName": {}, "SourceIdentifier": {} } }, "output": { "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S4" } } } }, "RemoveTagsFromResource": { "input": { "type": "structure", "required": [ "ResourceName", "TagKeys" ], "members": { "ResourceName": {}, "TagKeys": { "type": "list", "member": {} } } } }, "ResetDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {}, "ResetAllParameters": { "type": "boolean" }, "Parameters": { "shape": "S2w" } } }, "output": { "shape": "S4k", "resultWrapper": "ResetDBParameterGroupResult" } }, "RestoreDBInstanceFromDBSnapshot": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "DBSnapshotIdentifier" ], "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {}, "DBInstanceClass": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "MultiAZ": { "type": "boolean" }, "PubliclyAccessible": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "DBName": {}, "Engine": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "Tags": { "shape": "S9" }, "StorageType": {}, "TdeCredentialArn": {}, "TdeCredentialPassword": {} } }, "output": { "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", "type": "structure", "members": { "DBInstance": { "shape": "S17" } } } }, "RestoreDBInstanceToPointInTime": { "input": { "type": "structure", "required": [ "SourceDBInstanceIdentifier", "TargetDBInstanceIdentifier" ], "members": { "SourceDBInstanceIdentifier": {}, "TargetDBInstanceIdentifier": {}, "RestoreTime": { "type": "timestamp" }, "UseLatestRestorableTime": { "type": "boolean" }, "DBInstanceClass": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "MultiAZ": { "type": "boolean" }, "PubliclyAccessible": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "DBName": {}, "Engine": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "Tags": { "shape": "S9" }, "StorageType": {}, "TdeCredentialArn": {}, "TdeCredentialPassword": {} } }, "output": { "resultWrapper": "RestoreDBInstanceToPointInTimeResult", "type": "structure", "members": { "DBInstance": { "shape": "S17" } } } }, "RevokeDBSecurityGroupIngress": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "RevokeDBSecurityGroupIngressResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sd" } } } } }, "shapes": { "S4": { "type": "structure", "members": { "CustomerAwsId": {}, "CustSubscriptionId": {}, "SnsTopicArn": {}, "Status": {}, "SubscriptionCreationTime": {}, "SourceType": {}, "SourceIdsList": { "shape": "S5" }, "EventCategoriesList": { "shape": "S6" }, "Enabled": { "type": "boolean" } }, "wrapper": true }, "S5": { "type": "list", "member": { "locationName": "SourceId" } }, "S6": { "type": "list", "member": { "locationName": "EventCategory" } }, "S9": { "type": "list", "member": { "locationName": "Tag", "type": "structure", "members": { "Key": {}, "Value": {} } } }, "Sd": { "type": "structure", "members": { "OwnerId": {}, "DBSecurityGroupName": {}, "DBSecurityGroupDescription": {}, "VpcId": {}, "EC2SecurityGroups": { "type": "list", "member": { "locationName": "EC2SecurityGroup", "type": "structure", "members": { "Status": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } } }, "IPRanges": { "type": "list", "member": { "locationName": "IPRange", "type": "structure", "members": { "Status": {}, "CIDRIP": {} } } } }, "wrapper": true }, "Sk": { "type": "structure", "members": { "DBParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {} }, "wrapper": true }, "Sn": { "type": "structure", "members": { "DBSnapshotIdentifier": {}, "DBInstanceIdentifier": {}, "SnapshotCreateTime": { "type": "timestamp" }, "Engine": {}, "AllocatedStorage": { "type": "integer" }, "Status": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "VpcId": {}, "InstanceCreateTime": { "type": "timestamp" }, "MasterUsername": {}, "EngineVersion": {}, "LicenseModel": {}, "SnapshotType": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "PercentProgress": { "type": "integer" }, "SourceRegion": {}, "StorageType": {}, "TdeCredentialArn": {} }, "wrapper": true }, "St": { "type": "structure", "members": { "OptionGroupName": {}, "OptionGroupDescription": {}, "EngineName": {}, "MajorEngineVersion": {}, "Options": { "type": "list", "member": { "locationName": "Option", "type": "structure", "members": { "OptionName": {}, "OptionDescription": {}, "Persistent": { "type": "boolean" }, "Permanent": { "type": "boolean" }, "Port": { "type": "integer" }, "OptionSettings": { "type": "list", "member": { "shape": "Sx", "locationName": "OptionSetting" } }, "DBSecurityGroupMemberships": { "shape": "Sy" }, "VpcSecurityGroupMemberships": { "shape": "S10" } } } }, "AllowsVpcAndNonVpcInstanceMemberships": { "type": "boolean" }, "VpcId": {} }, "wrapper": true }, "Sx": { "type": "structure", "members": { "Name": {}, "Value": {}, "DefaultValue": {}, "Description": {}, "ApplyType": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "IsCollection": { "type": "boolean" } } }, "Sy": { "type": "list", "member": { "locationName": "DBSecurityGroup", "type": "structure", "members": { "DBSecurityGroupName": {}, "Status": {} } } }, "S10": { "type": "list", "member": { "locationName": "VpcSecurityGroupMembership", "type": "structure", "members": { "VpcSecurityGroupId": {}, "Status": {} } } }, "S13": { "type": "list", "member": { "locationName": "DBSecurityGroupName" } }, "S14": { "type": "list", "member": { "locationName": "VpcSecurityGroupId" } }, "S17": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "DBInstanceClass": {}, "Engine": {}, "DBInstanceStatus": {}, "MasterUsername": {}, "DBName": {}, "Endpoint": { "type": "structure", "members": { "Address": {}, "Port": { "type": "integer" } } }, "AllocatedStorage": { "type": "integer" }, "InstanceCreateTime": { "type": "timestamp" }, "PreferredBackupWindow": {}, "BackupRetentionPeriod": { "type": "integer" }, "DBSecurityGroups": { "shape": "Sy" }, "VpcSecurityGroups": { "shape": "S10" }, "DBParameterGroups": { "type": "list", "member": { "locationName": "DBParameterGroup", "type": "structure", "members": { "DBParameterGroupName": {}, "ParameterApplyStatus": {} } } }, "AvailabilityZone": {}, "DBSubnetGroup": { "shape": "S1b" }, "PreferredMaintenanceWindow": {}, "PendingModifiedValues": { "type": "structure", "members": { "DBInstanceClass": {}, "AllocatedStorage": { "type": "integer" }, "MasterUserPassword": {}, "Port": { "type": "integer" }, "BackupRetentionPeriod": { "type": "integer" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "Iops": { "type": "integer" }, "DBInstanceIdentifier": {}, "StorageType": {} } }, "LatestRestorableTime": { "type": "timestamp" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "ReadReplicaSourceDBInstanceIdentifier": {}, "ReadReplicaDBInstanceIdentifiers": { "type": "list", "member": { "locationName": "ReadReplicaDBInstanceIdentifier" } }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupMemberships": { "type": "list", "member": { "locationName": "OptionGroupMembership", "type": "structure", "members": { "OptionGroupName": {}, "Status": {} } } }, "CharacterSetName": {}, "SecondaryAvailabilityZone": {}, "PubliclyAccessible": { "type": "boolean" }, "StatusInfos": { "type": "list", "member": { "locationName": "DBInstanceStatusInfo", "type": "structure", "members": { "StatusType": {}, "Normal": { "type": "boolean" }, "Status": {}, "Message": {} } } }, "StorageType": {}, "TdeCredentialArn": {} }, "wrapper": true }, "S1b": { "type": "structure", "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "VpcId": {}, "SubnetGroupStatus": {}, "Subnets": { "type": "list", "member": { "locationName": "Subnet", "type": "structure", "members": { "SubnetIdentifier": {}, "SubnetAvailabilityZone": { "shape": "S1e" }, "SubnetStatus": {} } } } }, "wrapper": true }, "S1e": { "type": "structure", "members": { "Name": {} }, "wrapper": true }, "S1u": { "type": "list", "member": { "locationName": "SubnetIdentifier" } }, "S2b": { "type": "list", "member": { "locationName": "Filter", "type": "structure", "required": [ "Name", "Values" ], "members": { "Name": {}, "Values": { "type": "list", "member": { "locationName": "Value" } } } } }, "S2h": { "type": "structure", "members": { "CharacterSetName": {}, "CharacterSetDescription": {} } }, "S2w": { "type": "list", "member": { "locationName": "Parameter", "type": "structure", "members": { "ParameterName": {}, "ParameterValue": {}, "Description": {}, "Source": {}, "ApplyType": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "MinimumEngineVersion": {}, "ApplyMethod": {} } } }, "S45": { "type": "structure", "members": { "ReservedDBInstanceId": {}, "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "StartTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "DBInstanceCount": { "type": "integer" }, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "State": {}, "RecurringCharges": { "shape": "S47" } }, "wrapper": true }, "S47": { "type": "list", "member": { "locationName": "RecurringCharge", "type": "structure", "members": { "RecurringChargeAmount": { "type": "double" }, "RecurringChargeFrequency": {} }, "wrapper": true } }, "S4k": { "type": "structure", "members": { "DBParameterGroupName": {} } } } } },{}],122:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],123:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2014-10-31", "endpointPrefix": "rds", "protocol": "query", "serviceAbbreviation": "Amazon RDS", "serviceFullName": "Amazon Relational Database Service", "signatureVersion": "v4", "uid": "rds-2014-10-31", "xmlNamespace": "http://rds.amazonaws.com/doc/2014-10-31/" }, "operations": { "AddRoleToDBCluster": { "input": { "type": "structure", "required": [ "DBClusterIdentifier", "RoleArn" ], "members": { "DBClusterIdentifier": {}, "RoleArn": {} } } }, "AddSourceIdentifierToSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SourceIdentifier" ], "members": { "SubscriptionName": {}, "SourceIdentifier": {} } }, "output": { "resultWrapper": "AddSourceIdentifierToSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S5" } } } }, "AddTagsToResource": { "input": { "type": "structure", "required": [ "ResourceName", "Tags" ], "members": { "ResourceName": {}, "Tags": { "shape": "Sa" } } } }, "ApplyPendingMaintenanceAction": { "input": { "type": "structure", "required": [ "ResourceIdentifier", "ApplyAction", "OptInType" ], "members": { "ResourceIdentifier": {}, "ApplyAction": {}, "OptInType": {} } }, "output": { "resultWrapper": "ApplyPendingMaintenanceActionResult", "type": "structure", "members": { "ResourcePendingMaintenanceActions": { "shape": "Se" } } } }, "AuthorizeDBSecurityGroupIngress": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "AuthorizeDBSecurityGroupIngressResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sk" } } } }, "CopyDBClusterParameterGroup": { "input": { "type": "structure", "required": [ "SourceDBClusterParameterGroupIdentifier", "TargetDBClusterParameterGroupIdentifier", "TargetDBClusterParameterGroupDescription" ], "members": { "SourceDBClusterParameterGroupIdentifier": {}, "TargetDBClusterParameterGroupIdentifier": {}, "TargetDBClusterParameterGroupDescription": {}, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CopyDBClusterParameterGroupResult", "type": "structure", "members": { "DBClusterParameterGroup": { "shape": "Sr" } } } }, "CopyDBClusterSnapshot": { "input": { "type": "structure", "required": [ "SourceDBClusterSnapshotIdentifier", "TargetDBClusterSnapshotIdentifier" ], "members": { "SourceDBClusterSnapshotIdentifier": {}, "TargetDBClusterSnapshotIdentifier": {}, "KmsKeyId": {}, "PreSignedUrl": {}, "CopyTags": { "type": "boolean" }, "Tags": { "shape": "Sa" }, "SourceRegion": {} } }, "output": { "resultWrapper": "CopyDBClusterSnapshotResult", "type": "structure", "members": { "DBClusterSnapshot": { "shape": "Sv" } } } }, "CopyDBParameterGroup": { "input": { "type": "structure", "required": [ "SourceDBParameterGroupIdentifier", "TargetDBParameterGroupIdentifier", "TargetDBParameterGroupDescription" ], "members": { "SourceDBParameterGroupIdentifier": {}, "TargetDBParameterGroupIdentifier": {}, "TargetDBParameterGroupDescription": {}, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CopyDBParameterGroupResult", "type": "structure", "members": { "DBParameterGroup": { "shape": "S10" } } } }, "CopyDBSnapshot": { "input": { "type": "structure", "required": [ "SourceDBSnapshotIdentifier", "TargetDBSnapshotIdentifier" ], "members": { "SourceDBSnapshotIdentifier": {}, "TargetDBSnapshotIdentifier": {}, "KmsKeyId": {}, "Tags": { "shape": "Sa" }, "CopyTags": { "type": "boolean" }, "PreSignedUrl": {}, "OptionGroupName": {}, "SourceRegion": {} } }, "output": { "resultWrapper": "CopyDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "S13" } } } }, "CopyOptionGroup": { "input": { "type": "structure", "required": [ "SourceOptionGroupIdentifier", "TargetOptionGroupIdentifier", "TargetOptionGroupDescription" ], "members": { "SourceOptionGroupIdentifier": {}, "TargetOptionGroupIdentifier": {}, "TargetOptionGroupDescription": {}, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CopyOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "S17" } } } }, "CreateDBCluster": { "input": { "type": "structure", "required": [ "DBClusterIdentifier", "Engine" ], "members": { "AvailabilityZones": { "shape": "Sw" }, "BackupRetentionPeriod": { "type": "integer" }, "CharacterSetName": {}, "DatabaseName": {}, "DBClusterIdentifier": {}, "DBClusterParameterGroupName": {}, "VpcSecurityGroupIds": { "shape": "S1h" }, "DBSubnetGroupName": {}, "Engine": {}, "EngineVersion": {}, "Port": { "type": "integer" }, "MasterUsername": {}, "MasterUserPassword": {}, "OptionGroupName": {}, "PreferredBackupWindow": {}, "PreferredMaintenanceWindow": {}, "ReplicationSourceIdentifier": {}, "Tags": { "shape": "Sa" }, "StorageEncrypted": { "type": "boolean" }, "KmsKeyId": {}, "PreSignedUrl": {}, "EnableIAMDatabaseAuthentication": { "type": "boolean" }, "SourceRegion": {} } }, "output": { "resultWrapper": "CreateDBClusterResult", "type": "structure", "members": { "DBCluster": { "shape": "S1j" } } } }, "CreateDBClusterParameterGroup": { "input": { "type": "structure", "required": [ "DBClusterParameterGroupName", "DBParameterGroupFamily", "Description" ], "members": { "DBClusterParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {}, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CreateDBClusterParameterGroupResult", "type": "structure", "members": { "DBClusterParameterGroup": { "shape": "Sr" } } } }, "CreateDBClusterSnapshot": { "input": { "type": "structure", "required": [ "DBClusterSnapshotIdentifier", "DBClusterIdentifier" ], "members": { "DBClusterSnapshotIdentifier": {}, "DBClusterIdentifier": {}, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CreateDBClusterSnapshotResult", "type": "structure", "members": { "DBClusterSnapshot": { "shape": "Sv" } } } }, "CreateDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "DBInstanceClass", "Engine" ], "members": { "DBName": {}, "DBInstanceIdentifier": {}, "AllocatedStorage": { "type": "integer" }, "DBInstanceClass": {}, "Engine": {}, "MasterUsername": {}, "MasterUserPassword": {}, "DBSecurityGroups": { "shape": "S1w" }, "VpcSecurityGroupIds": { "shape": "S1h" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "PreferredMaintenanceWindow": {}, "DBParameterGroupName": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {}, "Port": { "type": "integer" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "CharacterSetName": {}, "PubliclyAccessible": { "type": "boolean" }, "Tags": { "shape": "Sa" }, "DBClusterIdentifier": {}, "StorageType": {}, "TdeCredentialArn": {}, "TdeCredentialPassword": {}, "StorageEncrypted": { "type": "boolean" }, "KmsKeyId": {}, "Domain": {}, "CopyTagsToSnapshot": { "type": "boolean" }, "MonitoringInterval": { "type": "integer" }, "MonitoringRoleArn": {}, "DomainIAMRoleName": {}, "PromotionTier": { "type": "integer" }, "Timezone": {}, "EnableIAMDatabaseAuthentication": { "type": "boolean" } } }, "output": { "resultWrapper": "CreateDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "S1y" } } } }, "CreateDBInstanceReadReplica": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "SourceDBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "SourceDBInstanceIdentifier": {}, "DBInstanceClass": {}, "AvailabilityZone": {}, "Port": { "type": "integer" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "Iops": { "type": "integer" }, "OptionGroupName": {}, "PubliclyAccessible": { "type": "boolean" }, "Tags": { "shape": "Sa" }, "DBSubnetGroupName": {}, "StorageType": {}, "CopyTagsToSnapshot": { "type": "boolean" }, "MonitoringInterval": { "type": "integer" }, "MonitoringRoleArn": {}, "KmsKeyId": {}, "PreSignedUrl": {}, "EnableIAMDatabaseAuthentication": { "type": "boolean" }, "SourceRegion": {} } }, "output": { "resultWrapper": "CreateDBInstanceReadReplicaResult", "type": "structure", "members": { "DBInstance": { "shape": "S1y" } } } }, "CreateDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName", "DBParameterGroupFamily", "Description" ], "members": { "DBParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {}, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CreateDBParameterGroupResult", "type": "structure", "members": { "DBParameterGroup": { "shape": "S10" } } } }, "CreateDBSecurityGroup": { "input": { "type": "structure", "required": [ "DBSecurityGroupName", "DBSecurityGroupDescription" ], "members": { "DBSecurityGroupName": {}, "DBSecurityGroupDescription": {}, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CreateDBSecurityGroupResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sk" } } } }, "CreateDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier", "DBInstanceIdentifier" ], "members": { "DBSnapshotIdentifier": {}, "DBInstanceIdentifier": {}, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CreateDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "S13" } } } }, "CreateDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName", "DBSubnetGroupDescription", "SubnetIds" ], "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "SubnetIds": { "shape": "S2o" }, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CreateDBSubnetGroupResult", "type": "structure", "members": { "DBSubnetGroup": { "shape": "S22" } } } }, "CreateEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SnsTopicArn" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "EventCategories": { "shape": "S7" }, "SourceIds": { "shape": "S6" }, "Enabled": { "type": "boolean" }, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CreateEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S5" } } } }, "CreateOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName", "EngineName", "MajorEngineVersion", "OptionGroupDescription" ], "members": { "OptionGroupName": {}, "EngineName": {}, "MajorEngineVersion": {}, "OptionGroupDescription": {}, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "CreateOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "S17" } } } }, "DeleteDBCluster": { "input": { "type": "structure", "required": [ "DBClusterIdentifier" ], "members": { "DBClusterIdentifier": {}, "SkipFinalSnapshot": { "type": "boolean" }, "FinalDBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBClusterResult", "type": "structure", "members": { "DBCluster": { "shape": "S1j" } } } }, "DeleteDBClusterParameterGroup": { "input": { "type": "structure", "required": [ "DBClusterParameterGroupName" ], "members": { "DBClusterParameterGroupName": {} } } }, "DeleteDBClusterSnapshot": { "input": { "type": "structure", "required": [ "DBClusterSnapshotIdentifier" ], "members": { "DBClusterSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBClusterSnapshotResult", "type": "structure", "members": { "DBClusterSnapshot": { "shape": "Sv" } } } }, "DeleteDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "SkipFinalSnapshot": { "type": "boolean" }, "FinalDBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "S1y" } } } }, "DeleteDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {} } } }, "DeleteDBSecurityGroup": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {} } } }, "DeleteDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier" ], "members": { "DBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "S13" } } } }, "DeleteDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName" ], "members": { "DBSubnetGroupName": {} } } }, "DeleteEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {} } }, "output": { "resultWrapper": "DeleteEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S5" } } } }, "DeleteOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName" ], "members": { "OptionGroupName": {} } } }, "DescribeAccountAttributes": { "input": { "type": "structure", "members": {} }, "output": { "resultWrapper": "DescribeAccountAttributesResult", "type": "structure", "members": { "AccountQuotas": { "type": "list", "member": { "locationName": "AccountQuota", "type": "structure", "members": { "AccountQuotaName": {}, "Used": { "type": "long" }, "Max": { "type": "long" } }, "wrapper": true } } } } }, "DescribeCertificates": { "input": { "type": "structure", "members": { "CertificateIdentifier": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeCertificatesResult", "type": "structure", "members": { "Certificates": { "type": "list", "member": { "locationName": "Certificate", "type": "structure", "members": { "CertificateIdentifier": {}, "CertificateType": {}, "Thumbprint": {}, "ValidFrom": { "type": "timestamp" }, "ValidTill": { "type": "timestamp" }, "CertificateArn": {} }, "wrapper": true } }, "Marker": {} } } }, "DescribeDBClusterParameterGroups": { "input": { "type": "structure", "members": { "DBClusterParameterGroupName": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBClusterParameterGroupsResult", "type": "structure", "members": { "Marker": {}, "DBClusterParameterGroups": { "type": "list", "member": { "shape": "Sr", "locationName": "DBClusterParameterGroup" } } } } }, "DescribeDBClusterParameters": { "input": { "type": "structure", "required": [ "DBClusterParameterGroupName" ], "members": { "DBClusterParameterGroupName": {}, "Source": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBClusterParametersResult", "type": "structure", "members": { "Parameters": { "shape": "S3q" }, "Marker": {} } } }, "DescribeDBClusterSnapshotAttributes": { "input": { "type": "structure", "required": [ "DBClusterSnapshotIdentifier" ], "members": { "DBClusterSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DescribeDBClusterSnapshotAttributesResult", "type": "structure", "members": { "DBClusterSnapshotAttributesResult": { "shape": "S3v" } } } }, "DescribeDBClusterSnapshots": { "input": { "type": "structure", "members": { "DBClusterIdentifier": {}, "DBClusterSnapshotIdentifier": {}, "SnapshotType": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {}, "IncludeShared": { "type": "boolean" }, "IncludePublic": { "type": "boolean" } } }, "output": { "resultWrapper": "DescribeDBClusterSnapshotsResult", "type": "structure", "members": { "Marker": {}, "DBClusterSnapshots": { "type": "list", "member": { "shape": "Sv", "locationName": "DBClusterSnapshot" } } } } }, "DescribeDBClusters": { "input": { "type": "structure", "members": { "DBClusterIdentifier": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBClustersResult", "type": "structure", "members": { "Marker": {}, "DBClusters": { "type": "list", "member": { "shape": "S1j", "locationName": "DBCluster" } } } } }, "DescribeDBEngineVersions": { "input": { "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBParameterGroupFamily": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {}, "DefaultOnly": { "type": "boolean" }, "ListSupportedCharacterSets": { "type": "boolean" }, "ListSupportedTimezones": { "type": "boolean" } } }, "output": { "resultWrapper": "DescribeDBEngineVersionsResult", "type": "structure", "members": { "Marker": {}, "DBEngineVersions": { "type": "list", "member": { "locationName": "DBEngineVersion", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBParameterGroupFamily": {}, "DBEngineDescription": {}, "DBEngineVersionDescription": {}, "DefaultCharacterSet": { "shape": "S49" }, "SupportedCharacterSets": { "type": "list", "member": { "shape": "S49", "locationName": "CharacterSet" } }, "ValidUpgradeTarget": { "type": "list", "member": { "locationName": "UpgradeTarget", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "Description": {}, "AutoUpgrade": { "type": "boolean" }, "IsMajorVersionUpgrade": { "type": "boolean" } } } }, "SupportedTimezones": { "type": "list", "member": { "locationName": "Timezone", "type": "structure", "members": { "TimezoneName": {} } } } } } } } } }, "DescribeDBInstances": { "input": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBInstancesResult", "type": "structure", "members": { "Marker": {}, "DBInstances": { "type": "list", "member": { "shape": "S1y", "locationName": "DBInstance" } } } } }, "DescribeDBLogFiles": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "FilenameContains": {}, "FileLastWritten": { "type": "long" }, "FileSize": { "type": "long" }, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBLogFilesResult", "type": "structure", "members": { "DescribeDBLogFiles": { "type": "list", "member": { "locationName": "DescribeDBLogFilesDetails", "type": "structure", "members": { "LogFileName": {}, "LastWritten": { "type": "long" }, "Size": { "type": "long" } } } }, "Marker": {} } } }, "DescribeDBParameterGroups": { "input": { "type": "structure", "members": { "DBParameterGroupName": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBParameterGroupsResult", "type": "structure", "members": { "Marker": {}, "DBParameterGroups": { "type": "list", "member": { "shape": "S10", "locationName": "DBParameterGroup" } } } } }, "DescribeDBParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {}, "Source": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBParametersResult", "type": "structure", "members": { "Parameters": { "shape": "S3q" }, "Marker": {} } } }, "DescribeDBSecurityGroups": { "input": { "type": "structure", "members": { "DBSecurityGroupName": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSecurityGroupsResult", "type": "structure", "members": { "Marker": {}, "DBSecurityGroups": { "type": "list", "member": { "shape": "Sk", "locationName": "DBSecurityGroup" } } } } }, "DescribeDBSnapshotAttributes": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier" ], "members": { "DBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DescribeDBSnapshotAttributesResult", "type": "structure", "members": { "DBSnapshotAttributesResult": { "shape": "S4w" } } } }, "DescribeDBSnapshots": { "input": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {}, "SnapshotType": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {}, "IncludeShared": { "type": "boolean" }, "IncludePublic": { "type": "boolean" } } }, "output": { "resultWrapper": "DescribeDBSnapshotsResult", "type": "structure", "members": { "Marker": {}, "DBSnapshots": { "type": "list", "member": { "shape": "S13", "locationName": "DBSnapshot" } } } } }, "DescribeDBSubnetGroups": { "input": { "type": "structure", "members": { "DBSubnetGroupName": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDBSubnetGroupsResult", "type": "structure", "members": { "Marker": {}, "DBSubnetGroups": { "type": "list", "member": { "shape": "S22", "locationName": "DBSubnetGroup" } } } } }, "DescribeEngineDefaultClusterParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupFamily" ], "members": { "DBParameterGroupFamily": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEngineDefaultClusterParametersResult", "type": "structure", "members": { "EngineDefaults": { "shape": "S57" } } } }, "DescribeEngineDefaultParameters": { "input": { "type": "structure", "required": [ "DBParameterGroupFamily" ], "members": { "DBParameterGroupFamily": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEngineDefaultParametersResult", "type": "structure", "members": { "EngineDefaults": { "shape": "S57" } } } }, "DescribeEventCategories": { "input": { "type": "structure", "members": { "SourceType": {}, "Filters": { "shape": "S3f" } } }, "output": { "resultWrapper": "DescribeEventCategoriesResult", "type": "structure", "members": { "EventCategoriesMapList": { "type": "list", "member": { "locationName": "EventCategoriesMap", "type": "structure", "members": { "SourceType": {}, "EventCategories": { "shape": "S7" } }, "wrapper": true } } } } }, "DescribeEventSubscriptions": { "input": { "type": "structure", "members": { "SubscriptionName": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventSubscriptionsResult", "type": "structure", "members": { "Marker": {}, "EventSubscriptionsList": { "type": "list", "member": { "shape": "S5", "locationName": "EventSubscription" } } } } }, "DescribeEvents": { "input": { "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "EventCategories": { "shape": "S7" }, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventsResult", "type": "structure", "members": { "Marker": {}, "Events": { "type": "list", "member": { "locationName": "Event", "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "Message": {}, "EventCategories": { "shape": "S7" }, "Date": { "type": "timestamp" }, "SourceArn": {} } } } } } }, "DescribeOptionGroupOptions": { "input": { "type": "structure", "required": [ "EngineName" ], "members": { "EngineName": {}, "MajorEngineVersion": {}, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOptionGroupOptionsResult", "type": "structure", "members": { "OptionGroupOptions": { "type": "list", "member": { "locationName": "OptionGroupOption", "type": "structure", "members": { "Name": {}, "Description": {}, "EngineName": {}, "MajorEngineVersion": {}, "MinimumRequiredMinorEngineVersion": {}, "PortRequired": { "type": "boolean" }, "DefaultPort": { "type": "integer" }, "OptionsDependedOn": { "type": "list", "member": { "locationName": "OptionName" } }, "OptionsConflictsWith": { "type": "list", "member": { "locationName": "OptionConflictName" } }, "Persistent": { "type": "boolean" }, "Permanent": { "type": "boolean" }, "OptionGroupOptionSettings": { "type": "list", "member": { "locationName": "OptionGroupOptionSetting", "type": "structure", "members": { "SettingName": {}, "SettingDescription": {}, "DefaultValue": {}, "ApplyType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" } } } }, "OptionGroupOptionVersions": { "type": "list", "member": { "locationName": "OptionVersion", "type": "structure", "members": { "Version": {}, "IsDefault": { "type": "boolean" } } } } } } }, "Marker": {} } } }, "DescribeOptionGroups": { "input": { "type": "structure", "members": { "OptionGroupName": {}, "Filters": { "shape": "S3f" }, "Marker": {}, "MaxRecords": { "type": "integer" }, "EngineName": {}, "MajorEngineVersion": {} } }, "output": { "resultWrapper": "DescribeOptionGroupsResult", "type": "structure", "members": { "OptionGroupsList": { "type": "list", "member": { "shape": "S17", "locationName": "OptionGroup" } }, "Marker": {} } } }, "DescribeOrderableDBInstanceOptions": { "input": { "type": "structure", "required": [ "Engine" ], "members": { "Engine": {}, "EngineVersion": {}, "DBInstanceClass": {}, "LicenseModel": {}, "Vpc": { "type": "boolean" }, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOrderableDBInstanceOptionsResult", "type": "structure", "members": { "OrderableDBInstanceOptions": { "type": "list", "member": { "locationName": "OrderableDBInstanceOption", "type": "structure", "members": { "Engine": {}, "EngineVersion": {}, "DBInstanceClass": {}, "LicenseModel": {}, "AvailabilityZones": { "type": "list", "member": { "shape": "S25", "locationName": "AvailabilityZone" } }, "MultiAZCapable": { "type": "boolean" }, "ReadReplicaCapable": { "type": "boolean" }, "Vpc": { "type": "boolean" }, "SupportsStorageEncryption": { "type": "boolean" }, "StorageType": {}, "SupportsIops": { "type": "boolean" }, "SupportsEnhancedMonitoring": { "type": "boolean" }, "SupportsIAMDatabaseAuthentication": { "type": "boolean" } }, "wrapper": true } }, "Marker": {} } } }, "DescribePendingMaintenanceActions": { "input": { "type": "structure", "members": { "ResourceIdentifier": {}, "Filters": { "shape": "S3f" }, "Marker": {}, "MaxRecords": { "type": "integer" } } }, "output": { "resultWrapper": "DescribePendingMaintenanceActionsResult", "type": "structure", "members": { "PendingMaintenanceActions": { "type": "list", "member": { "shape": "Se", "locationName": "ResourcePendingMaintenanceActions" } }, "Marker": {} } } }, "DescribeReservedDBInstances": { "input": { "type": "structure", "members": { "ReservedDBInstanceId": {}, "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedDBInstancesResult", "type": "structure", "members": { "Marker": {}, "ReservedDBInstances": { "type": "list", "member": { "shape": "S6a", "locationName": "ReservedDBInstance" } } } } }, "DescribeReservedDBInstancesOfferings": { "input": { "type": "structure", "members": { "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "Filters": { "shape": "S3f" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedDBInstancesOfferingsResult", "type": "structure", "members": { "Marker": {}, "ReservedDBInstancesOfferings": { "type": "list", "member": { "locationName": "ReservedDBInstancesOffering", "type": "structure", "members": { "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "RecurringCharges": { "shape": "S6c" } }, "wrapper": true } } } } }, "DescribeSourceRegions": { "input": { "type": "structure", "members": { "RegionName": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "Filters": { "shape": "S3f" } } }, "output": { "resultWrapper": "DescribeSourceRegionsResult", "type": "structure", "members": { "Marker": {}, "SourceRegions": { "type": "list", "member": { "locationName": "SourceRegion", "type": "structure", "members": { "RegionName": {}, "Endpoint": {}, "Status": {} } } } } } }, "DownloadDBLogFilePortion": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "LogFileName" ], "members": { "DBInstanceIdentifier": {}, "LogFileName": {}, "Marker": {}, "NumberOfLines": { "type": "integer" } } }, "output": { "resultWrapper": "DownloadDBLogFilePortionResult", "type": "structure", "members": { "LogFileData": {}, "Marker": {}, "AdditionalDataPending": { "type": "boolean" } } } }, "FailoverDBCluster": { "input": { "type": "structure", "members": { "DBClusterIdentifier": {}, "TargetDBInstanceIdentifier": {} } }, "output": { "resultWrapper": "FailoverDBClusterResult", "type": "structure", "members": { "DBCluster": { "shape": "S1j" } } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "ResourceName" ], "members": { "ResourceName": {}, "Filters": { "shape": "S3f" } } }, "output": { "resultWrapper": "ListTagsForResourceResult", "type": "structure", "members": { "TagList": { "shape": "Sa" } } } }, "ModifyDBCluster": { "input": { "type": "structure", "required": [ "DBClusterIdentifier" ], "members": { "DBClusterIdentifier": {}, "NewDBClusterIdentifier": {}, "ApplyImmediately": { "type": "boolean" }, "BackupRetentionPeriod": { "type": "integer" }, "DBClusterParameterGroupName": {}, "VpcSecurityGroupIds": { "shape": "S1h" }, "Port": { "type": "integer" }, "MasterUserPassword": {}, "OptionGroupName": {}, "PreferredBackupWindow": {}, "PreferredMaintenanceWindow": {}, "EnableIAMDatabaseAuthentication": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyDBClusterResult", "type": "structure", "members": { "DBCluster": { "shape": "S1j" } } } }, "ModifyDBClusterParameterGroup": { "input": { "type": "structure", "required": [ "DBClusterParameterGroupName", "Parameters" ], "members": { "DBClusterParameterGroupName": {}, "Parameters": { "shape": "S3q" } } }, "output": { "shape": "S6v", "resultWrapper": "ModifyDBClusterParameterGroupResult" } }, "ModifyDBClusterSnapshotAttribute": { "input": { "type": "structure", "required": [ "DBClusterSnapshotIdentifier", "AttributeName" ], "members": { "DBClusterSnapshotIdentifier": {}, "AttributeName": {}, "ValuesToAdd": { "shape": "S3y" }, "ValuesToRemove": { "shape": "S3y" } } }, "output": { "resultWrapper": "ModifyDBClusterSnapshotAttributeResult", "type": "structure", "members": { "DBClusterSnapshotAttributesResult": { "shape": "S3v" } } } }, "ModifyDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "AllocatedStorage": { "type": "integer" }, "DBInstanceClass": {}, "DBSubnetGroupName": {}, "DBSecurityGroups": { "shape": "S1w" }, "VpcSecurityGroupIds": { "shape": "S1h" }, "ApplyImmediately": { "type": "boolean" }, "MasterUserPassword": {}, "DBParameterGroupName": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {}, "PreferredMaintenanceWindow": {}, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AllowMajorVersionUpgrade": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "NewDBInstanceIdentifier": {}, "StorageType": {}, "TdeCredentialArn": {}, "TdeCredentialPassword": {}, "CACertificateIdentifier": {}, "Domain": {}, "CopyTagsToSnapshot": { "type": "boolean" }, "MonitoringInterval": { "type": "integer" }, "DBPortNumber": { "type": "integer" }, "PubliclyAccessible": { "type": "boolean" }, "MonitoringRoleArn": {}, "DomainIAMRoleName": {}, "PromotionTier": { "type": "integer" }, "EnableIAMDatabaseAuthentication": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "S1y" } } } }, "ModifyDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName", "Parameters" ], "members": { "DBParameterGroupName": {}, "Parameters": { "shape": "S3q" } } }, "output": { "shape": "S71", "resultWrapper": "ModifyDBParameterGroupResult" } }, "ModifyDBSnapshot": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier" ], "members": { "DBSnapshotIdentifier": {}, "EngineVersion": {} } }, "output": { "resultWrapper": "ModifyDBSnapshotResult", "type": "structure", "members": { "DBSnapshot": { "shape": "S13" } } } }, "ModifyDBSnapshotAttribute": { "input": { "type": "structure", "required": [ "DBSnapshotIdentifier", "AttributeName" ], "members": { "DBSnapshotIdentifier": {}, "AttributeName": {}, "ValuesToAdd": { "shape": "S3y" }, "ValuesToRemove": { "shape": "S3y" } } }, "output": { "resultWrapper": "ModifyDBSnapshotAttributeResult", "type": "structure", "members": { "DBSnapshotAttributesResult": { "shape": "S4w" } } } }, "ModifyDBSubnetGroup": { "input": { "type": "structure", "required": [ "DBSubnetGroupName", "SubnetIds" ], "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "SubnetIds": { "shape": "S2o" } } }, "output": { "resultWrapper": "ModifyDBSubnetGroupResult", "type": "structure", "members": { "DBSubnetGroup": { "shape": "S22" } } } }, "ModifyEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "EventCategories": { "shape": "S7" }, "Enabled": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S5" } } } }, "ModifyOptionGroup": { "input": { "type": "structure", "required": [ "OptionGroupName" ], "members": { "OptionGroupName": {}, "OptionsToInclude": { "type": "list", "member": { "locationName": "OptionConfiguration", "type": "structure", "required": [ "OptionName" ], "members": { "OptionName": {}, "Port": { "type": "integer" }, "OptionVersion": {}, "DBSecurityGroupMemberships": { "shape": "S1w" }, "VpcSecurityGroupMemberships": { "shape": "S1h" }, "OptionSettings": { "type": "list", "member": { "shape": "S1b", "locationName": "OptionSetting" } } } } }, "OptionsToRemove": { "type": "list", "member": {} }, "ApplyImmediately": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyOptionGroupResult", "type": "structure", "members": { "OptionGroup": { "shape": "S17" } } } }, "PromoteReadReplica": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "BackupRetentionPeriod": { "type": "integer" }, "PreferredBackupWindow": {} } }, "output": { "resultWrapper": "PromoteReadReplicaResult", "type": "structure", "members": { "DBInstance": { "shape": "S1y" } } } }, "PromoteReadReplicaDBCluster": { "input": { "type": "structure", "required": [ "DBClusterIdentifier" ], "members": { "DBClusterIdentifier": {} } }, "output": { "resultWrapper": "PromoteReadReplicaDBClusterResult", "type": "structure", "members": { "DBCluster": { "shape": "S1j" } } } }, "PurchaseReservedDBInstancesOffering": { "input": { "type": "structure", "required": [ "ReservedDBInstancesOfferingId" ], "members": { "ReservedDBInstancesOfferingId": {}, "ReservedDBInstanceId": {}, "DBInstanceCount": { "type": "integer" }, "Tags": { "shape": "Sa" } } }, "output": { "resultWrapper": "PurchaseReservedDBInstancesOfferingResult", "type": "structure", "members": { "ReservedDBInstance": { "shape": "S6a" } } } }, "RebootDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "ForceFailover": { "type": "boolean" } } }, "output": { "resultWrapper": "RebootDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "S1y" } } } }, "RemoveRoleFromDBCluster": { "input": { "type": "structure", "required": [ "DBClusterIdentifier", "RoleArn" ], "members": { "DBClusterIdentifier": {}, "RoleArn": {} } } }, "RemoveSourceIdentifierFromSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SourceIdentifier" ], "members": { "SubscriptionName": {}, "SourceIdentifier": {} } }, "output": { "resultWrapper": "RemoveSourceIdentifierFromSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S5" } } } }, "RemoveTagsFromResource": { "input": { "type": "structure", "required": [ "ResourceName", "TagKeys" ], "members": { "ResourceName": {}, "TagKeys": { "type": "list", "member": {} } } } }, "ResetDBClusterParameterGroup": { "input": { "type": "structure", "required": [ "DBClusterParameterGroupName" ], "members": { "DBClusterParameterGroupName": {}, "ResetAllParameters": { "type": "boolean" }, "Parameters": { "shape": "S3q" } } }, "output": { "shape": "S6v", "resultWrapper": "ResetDBClusterParameterGroupResult" } }, "ResetDBParameterGroup": { "input": { "type": "structure", "required": [ "DBParameterGroupName" ], "members": { "DBParameterGroupName": {}, "ResetAllParameters": { "type": "boolean" }, "Parameters": { "shape": "S3q" } } }, "output": { "shape": "S71", "resultWrapper": "ResetDBParameterGroupResult" } }, "RestoreDBClusterFromS3": { "input": { "type": "structure", "required": [ "DBClusterIdentifier", "Engine", "MasterUsername", "MasterUserPassword", "SourceEngine", "SourceEngineVersion", "S3BucketName", "S3IngestionRoleArn" ], "members": { "AvailabilityZones": { "shape": "Sw" }, "BackupRetentionPeriod": { "type": "integer" }, "CharacterSetName": {}, "DatabaseName": {}, "DBClusterIdentifier": {}, "DBClusterParameterGroupName": {}, "VpcSecurityGroupIds": { "shape": "S1h" }, "DBSubnetGroupName": {}, "Engine": {}, "EngineVersion": {}, "Port": { "type": "integer" }, "MasterUsername": {}, "MasterUserPassword": {}, "OptionGroupName": {}, "PreferredBackupWindow": {}, "PreferredMaintenanceWindow": {}, "Tags": { "shape": "Sa" }, "StorageEncrypted": { "type": "boolean" }, "KmsKeyId": {}, "EnableIAMDatabaseAuthentication": { "type": "boolean" }, "SourceEngine": {}, "SourceEngineVersion": {}, "S3BucketName": {}, "S3Prefix": {}, "S3IngestionRoleArn": {} } }, "output": { "resultWrapper": "RestoreDBClusterFromS3Result", "type": "structure", "members": { "DBCluster": { "shape": "S1j" } } } }, "RestoreDBClusterFromSnapshot": { "input": { "type": "structure", "required": [ "DBClusterIdentifier", "SnapshotIdentifier", "Engine" ], "members": { "AvailabilityZones": { "shape": "Sw" }, "DBClusterIdentifier": {}, "SnapshotIdentifier": {}, "Engine": {}, "EngineVersion": {}, "Port": { "type": "integer" }, "DBSubnetGroupName": {}, "DatabaseName": {}, "OptionGroupName": {}, "VpcSecurityGroupIds": { "shape": "S1h" }, "Tags": { "shape": "Sa" }, "KmsKeyId": {}, "EnableIAMDatabaseAuthentication": { "type": "boolean" } } }, "output": { "resultWrapper": "RestoreDBClusterFromSnapshotResult", "type": "structure", "members": { "DBCluster": { "shape": "S1j" } } } }, "RestoreDBClusterToPointInTime": { "input": { "type": "structure", "required": [ "DBClusterIdentifier", "SourceDBClusterIdentifier" ], "members": { "DBClusterIdentifier": {}, "RestoreType": {}, "SourceDBClusterIdentifier": {}, "RestoreToTime": { "type": "timestamp" }, "UseLatestRestorableTime": { "type": "boolean" }, "Port": { "type": "integer" }, "DBSubnetGroupName": {}, "OptionGroupName": {}, "VpcSecurityGroupIds": { "shape": "S1h" }, "Tags": { "shape": "Sa" }, "KmsKeyId": {}, "EnableIAMDatabaseAuthentication": { "type": "boolean" } } }, "output": { "resultWrapper": "RestoreDBClusterToPointInTimeResult", "type": "structure", "members": { "DBCluster": { "shape": "S1j" } } } }, "RestoreDBInstanceFromDBSnapshot": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier", "DBSnapshotIdentifier" ], "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {}, "DBInstanceClass": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "MultiAZ": { "type": "boolean" }, "PubliclyAccessible": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "DBName": {}, "Engine": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "Tags": { "shape": "Sa" }, "StorageType": {}, "TdeCredentialArn": {}, "TdeCredentialPassword": {}, "Domain": {}, "CopyTagsToSnapshot": { "type": "boolean" }, "DomainIAMRoleName": {}, "EnableIAMDatabaseAuthentication": { "type": "boolean" } } }, "output": { "resultWrapper": "RestoreDBInstanceFromDBSnapshotResult", "type": "structure", "members": { "DBInstance": { "shape": "S1y" } } } }, "RestoreDBInstanceToPointInTime": { "input": { "type": "structure", "required": [ "SourceDBInstanceIdentifier", "TargetDBInstanceIdentifier" ], "members": { "SourceDBInstanceIdentifier": {}, "TargetDBInstanceIdentifier": {}, "RestoreTime": { "type": "timestamp" }, "UseLatestRestorableTime": { "type": "boolean" }, "DBInstanceClass": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "DBSubnetGroupName": {}, "MultiAZ": { "type": "boolean" }, "PubliclyAccessible": { "type": "boolean" }, "AutoMinorVersionUpgrade": { "type": "boolean" }, "LicenseModel": {}, "DBName": {}, "Engine": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "CopyTagsToSnapshot": { "type": "boolean" }, "Tags": { "shape": "Sa" }, "StorageType": {}, "TdeCredentialArn": {}, "TdeCredentialPassword": {}, "Domain": {}, "DomainIAMRoleName": {}, "EnableIAMDatabaseAuthentication": { "type": "boolean" } } }, "output": { "resultWrapper": "RestoreDBInstanceToPointInTimeResult", "type": "structure", "members": { "DBInstance": { "shape": "S1y" } } } }, "RevokeDBSecurityGroupIngress": { "input": { "type": "structure", "required": [ "DBSecurityGroupName" ], "members": { "DBSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "RevokeDBSecurityGroupIngressResult", "type": "structure", "members": { "DBSecurityGroup": { "shape": "Sk" } } } }, "StartDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {} } }, "output": { "resultWrapper": "StartDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "S1y" } } } }, "StopDBInstance": { "input": { "type": "structure", "required": [ "DBInstanceIdentifier" ], "members": { "DBInstanceIdentifier": {}, "DBSnapshotIdentifier": {} } }, "output": { "resultWrapper": "StopDBInstanceResult", "type": "structure", "members": { "DBInstance": { "shape": "S1y" } } } } }, "shapes": { "S5": { "type": "structure", "members": { "CustomerAwsId": {}, "CustSubscriptionId": {}, "SnsTopicArn": {}, "Status": {}, "SubscriptionCreationTime": {}, "SourceType": {}, "SourceIdsList": { "shape": "S6" }, "EventCategoriesList": { "shape": "S7" }, "Enabled": { "type": "boolean" }, "EventSubscriptionArn": {} }, "wrapper": true }, "S6": { "type": "list", "member": { "locationName": "SourceId" } }, "S7": { "type": "list", "member": { "locationName": "EventCategory" } }, "Sa": { "type": "list", "member": { "locationName": "Tag", "type": "structure", "members": { "Key": {}, "Value": {} } } }, "Se": { "type": "structure", "members": { "ResourceIdentifier": {}, "PendingMaintenanceActionDetails": { "type": "list", "member": { "locationName": "PendingMaintenanceAction", "type": "structure", "members": { "Action": {}, "AutoAppliedAfterDate": { "type": "timestamp" }, "ForcedApplyDate": { "type": "timestamp" }, "OptInStatus": {}, "CurrentApplyDate": { "type": "timestamp" }, "Description": {} } } } }, "wrapper": true }, "Sk": { "type": "structure", "members": { "OwnerId": {}, "DBSecurityGroupName": {}, "DBSecurityGroupDescription": {}, "VpcId": {}, "EC2SecurityGroups": { "type": "list", "member": { "locationName": "EC2SecurityGroup", "type": "structure", "members": { "Status": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupId": {}, "EC2SecurityGroupOwnerId": {} } } }, "IPRanges": { "type": "list", "member": { "locationName": "IPRange", "type": "structure", "members": { "Status": {}, "CIDRIP": {} } } }, "DBSecurityGroupArn": {} }, "wrapper": true }, "Sr": { "type": "structure", "members": { "DBClusterParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {}, "DBClusterParameterGroupArn": {} }, "wrapper": true }, "Sv": { "type": "structure", "members": { "AvailabilityZones": { "shape": "Sw" }, "DBClusterSnapshotIdentifier": {}, "DBClusterIdentifier": {}, "SnapshotCreateTime": { "type": "timestamp" }, "Engine": {}, "AllocatedStorage": { "type": "integer" }, "Status": {}, "Port": { "type": "integer" }, "VpcId": {}, "ClusterCreateTime": { "type": "timestamp" }, "MasterUsername": {}, "EngineVersion": {}, "LicenseModel": {}, "SnapshotType": {}, "PercentProgress": { "type": "integer" }, "StorageEncrypted": { "type": "boolean" }, "KmsKeyId": {}, "DBClusterSnapshotArn": {}, "SourceDBClusterSnapshotArn": {}, "IAMDatabaseAuthenticationEnabled": { "type": "boolean" } }, "wrapper": true }, "Sw": { "type": "list", "member": { "locationName": "AvailabilityZone" } }, "S10": { "type": "structure", "members": { "DBParameterGroupName": {}, "DBParameterGroupFamily": {}, "Description": {}, "DBParameterGroupArn": {} }, "wrapper": true }, "S13": { "type": "structure", "members": { "DBSnapshotIdentifier": {}, "DBInstanceIdentifier": {}, "SnapshotCreateTime": { "type": "timestamp" }, "Engine": {}, "AllocatedStorage": { "type": "integer" }, "Status": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "VpcId": {}, "InstanceCreateTime": { "type": "timestamp" }, "MasterUsername": {}, "EngineVersion": {}, "LicenseModel": {}, "SnapshotType": {}, "Iops": { "type": "integer" }, "OptionGroupName": {}, "PercentProgress": { "type": "integer" }, "SourceRegion": {}, "SourceDBSnapshotIdentifier": {}, "StorageType": {}, "TdeCredentialArn": {}, "Encrypted": { "type": "boolean" }, "KmsKeyId": {}, "DBSnapshotArn": {}, "Timezone": {}, "IAMDatabaseAuthenticationEnabled": { "type": "boolean" } }, "wrapper": true }, "S17": { "type": "structure", "members": { "OptionGroupName": {}, "OptionGroupDescription": {}, "EngineName": {}, "MajorEngineVersion": {}, "Options": { "type": "list", "member": { "locationName": "Option", "type": "structure", "members": { "OptionName": {}, "OptionDescription": {}, "Persistent": { "type": "boolean" }, "Permanent": { "type": "boolean" }, "Port": { "type": "integer" }, "OptionVersion": {}, "OptionSettings": { "type": "list", "member": { "shape": "S1b", "locationName": "OptionSetting" } }, "DBSecurityGroupMemberships": { "shape": "S1c" }, "VpcSecurityGroupMemberships": { "shape": "S1e" } } } }, "AllowsVpcAndNonVpcInstanceMemberships": { "type": "boolean" }, "VpcId": {}, "OptionGroupArn": {} }, "wrapper": true }, "S1b": { "type": "structure", "members": { "Name": {}, "Value": {}, "DefaultValue": {}, "Description": {}, "ApplyType": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "IsCollection": { "type": "boolean" } } }, "S1c": { "type": "list", "member": { "locationName": "DBSecurityGroup", "type": "structure", "members": { "DBSecurityGroupName": {}, "Status": {} } } }, "S1e": { "type": "list", "member": { "locationName": "VpcSecurityGroupMembership", "type": "structure", "members": { "VpcSecurityGroupId": {}, "Status": {} } } }, "S1h": { "type": "list", "member": { "locationName": "VpcSecurityGroupId" } }, "S1j": { "type": "structure", "members": { "AllocatedStorage": { "type": "integer" }, "AvailabilityZones": { "shape": "Sw" }, "BackupRetentionPeriod": { "type": "integer" }, "CharacterSetName": {}, "DatabaseName": {}, "DBClusterIdentifier": {}, "DBClusterParameterGroup": {}, "DBSubnetGroup": {}, "Status": {}, "PercentProgress": {}, "EarliestRestorableTime": { "type": "timestamp" }, "Endpoint": {}, "ReaderEndpoint": {}, "MultiAZ": { "type": "boolean" }, "Engine": {}, "EngineVersion": {}, "LatestRestorableTime": { "type": "timestamp" }, "Port": { "type": "integer" }, "MasterUsername": {}, "DBClusterOptionGroupMemberships": { "type": "list", "member": { "locationName": "DBClusterOptionGroup", "type": "structure", "members": { "DBClusterOptionGroupName": {}, "Status": {} } } }, "PreferredBackupWindow": {}, "PreferredMaintenanceWindow": {}, "ReplicationSourceIdentifier": {}, "ReadReplicaIdentifiers": { "type": "list", "member": { "locationName": "ReadReplicaIdentifier" } }, "DBClusterMembers": { "type": "list", "member": { "locationName": "DBClusterMember", "type": "structure", "members": { "DBInstanceIdentifier": {}, "IsClusterWriter": { "type": "boolean" }, "DBClusterParameterGroupStatus": {}, "PromotionTier": { "type": "integer" } }, "wrapper": true } }, "VpcSecurityGroups": { "shape": "S1e" }, "HostedZoneId": {}, "StorageEncrypted": { "type": "boolean" }, "KmsKeyId": {}, "DbClusterResourceId": {}, "DBClusterArn": {}, "AssociatedRoles": { "type": "list", "member": { "locationName": "DBClusterRole", "type": "structure", "members": { "RoleArn": {}, "Status": {} } } }, "IAMDatabaseAuthenticationEnabled": { "type": "boolean" }, "CloneGroupId": {}, "ClusterCreateTime": { "type": "timestamp" } }, "wrapper": true }, "S1w": { "type": "list", "member": { "locationName": "DBSecurityGroupName" } }, "S1y": { "type": "structure", "members": { "DBInstanceIdentifier": {}, "DBInstanceClass": {}, "Engine": {}, "DBInstanceStatus": {}, "MasterUsername": {}, "DBName": {}, "Endpoint": { "type": "structure", "members": { "Address": {}, "Port": { "type": "integer" }, "HostedZoneId": {} } }, "AllocatedStorage": { "type": "integer" }, "InstanceCreateTime": { "type": "timestamp" }, "PreferredBackupWindow": {}, "BackupRetentionPeriod": { "type": "integer" }, "DBSecurityGroups": { "shape": "S1c" }, "VpcSecurityGroups": { "shape": "S1e" }, "DBParameterGroups": { "type": "list", "member": { "locationName": "DBParameterGroup", "type": "structure", "members": { "DBParameterGroupName": {}, "ParameterApplyStatus": {} } } }, "AvailabilityZone": {}, "DBSubnetGroup": { "shape": "S22" }, "PreferredMaintenanceWindow": {}, "PendingModifiedValues": { "type": "structure", "members": { "DBInstanceClass": {}, "AllocatedStorage": { "type": "integer" }, "MasterUserPassword": {}, "Port": { "type": "integer" }, "BackupRetentionPeriod": { "type": "integer" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "LicenseModel": {}, "Iops": { "type": "integer" }, "DBInstanceIdentifier": {}, "StorageType": {}, "CACertificateIdentifier": {}, "DBSubnetGroupName": {} } }, "LatestRestorableTime": { "type": "timestamp" }, "MultiAZ": { "type": "boolean" }, "EngineVersion": {}, "AutoMinorVersionUpgrade": { "type": "boolean" }, "ReadReplicaSourceDBInstanceIdentifier": {}, "ReadReplicaDBInstanceIdentifiers": { "type": "list", "member": { "locationName": "ReadReplicaDBInstanceIdentifier" } }, "ReadReplicaDBClusterIdentifiers": { "type": "list", "member": { "locationName": "ReadReplicaDBClusterIdentifier" } }, "LicenseModel": {}, "Iops": { "type": "integer" }, "OptionGroupMemberships": { "type": "list", "member": { "locationName": "OptionGroupMembership", "type": "structure", "members": { "OptionGroupName": {}, "Status": {} } } }, "CharacterSetName": {}, "SecondaryAvailabilityZone": {}, "PubliclyAccessible": { "type": "boolean" }, "StatusInfos": { "type": "list", "member": { "locationName": "DBInstanceStatusInfo", "type": "structure", "members": { "StatusType": {}, "Normal": { "type": "boolean" }, "Status": {}, "Message": {} } } }, "StorageType": {}, "TdeCredentialArn": {}, "DbInstancePort": { "type": "integer" }, "DBClusterIdentifier": {}, "StorageEncrypted": { "type": "boolean" }, "KmsKeyId": {}, "DbiResourceId": {}, "CACertificateIdentifier": {}, "DomainMemberships": { "type": "list", "member": { "locationName": "DomainMembership", "type": "structure", "members": { "Domain": {}, "Status": {}, "FQDN": {}, "IAMRoleName": {} } } }, "CopyTagsToSnapshot": { "type": "boolean" }, "MonitoringInterval": { "type": "integer" }, "EnhancedMonitoringResourceArn": {}, "MonitoringRoleArn": {}, "PromotionTier": { "type": "integer" }, "DBInstanceArn": {}, "Timezone": {}, "IAMDatabaseAuthenticationEnabled": { "type": "boolean" } }, "wrapper": true }, "S22": { "type": "structure", "members": { "DBSubnetGroupName": {}, "DBSubnetGroupDescription": {}, "VpcId": {}, "SubnetGroupStatus": {}, "Subnets": { "type": "list", "member": { "locationName": "Subnet", "type": "structure", "members": { "SubnetIdentifier": {}, "SubnetAvailabilityZone": { "shape": "S25" }, "SubnetStatus": {} } } }, "DBSubnetGroupArn": {} }, "wrapper": true }, "S25": { "type": "structure", "members": { "Name": {} }, "wrapper": true }, "S2o": { "type": "list", "member": { "locationName": "SubnetIdentifier" } }, "S3f": { "type": "list", "member": { "locationName": "Filter", "type": "structure", "required": [ "Name", "Values" ], "members": { "Name": {}, "Values": { "type": "list", "member": { "locationName": "Value" } } } } }, "S3q": { "type": "list", "member": { "locationName": "Parameter", "type": "structure", "members": { "ParameterName": {}, "ParameterValue": {}, "Description": {}, "Source": {}, "ApplyType": {}, "DataType": {}, "AllowedValues": {}, "IsModifiable": { "type": "boolean" }, "MinimumEngineVersion": {}, "ApplyMethod": {} } } }, "S3v": { "type": "structure", "members": { "DBClusterSnapshotIdentifier": {}, "DBClusterSnapshotAttributes": { "type": "list", "member": { "locationName": "DBClusterSnapshotAttribute", "type": "structure", "members": { "AttributeName": {}, "AttributeValues": { "shape": "S3y" } } } } }, "wrapper": true }, "S3y": { "type": "list", "member": { "locationName": "AttributeValue" } }, "S49": { "type": "structure", "members": { "CharacterSetName": {}, "CharacterSetDescription": {} } }, "S4w": { "type": "structure", "members": { "DBSnapshotIdentifier": {}, "DBSnapshotAttributes": { "type": "list", "member": { "locationName": "DBSnapshotAttribute", "type": "structure", "members": { "AttributeName": {}, "AttributeValues": { "shape": "S3y" } }, "wrapper": true } } }, "wrapper": true }, "S57": { "type": "structure", "members": { "DBParameterGroupFamily": {}, "Marker": {}, "Parameters": { "shape": "S3q" } }, "wrapper": true }, "S6a": { "type": "structure", "members": { "ReservedDBInstanceId": {}, "ReservedDBInstancesOfferingId": {}, "DBInstanceClass": {}, "StartTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "DBInstanceCount": { "type": "integer" }, "ProductDescription": {}, "OfferingType": {}, "MultiAZ": { "type": "boolean" }, "State": {}, "RecurringCharges": { "shape": "S6c" }, "ReservedDBInstanceArn": {} }, "wrapper": true }, "S6c": { "type": "list", "member": { "locationName": "RecurringCharge", "type": "structure", "members": { "RecurringChargeAmount": { "type": "double" }, "RecurringChargeFrequency": {} }, "wrapper": true } }, "S6v": { "type": "structure", "members": { "DBClusterParameterGroupName": {} } }, "S71": { "type": "structure", "members": { "DBParameterGroupName": {} } } } } },{}],124:[function(require,module,exports){ arguments[4][117][0].apply(exports,arguments) },{"dup":117}],125:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "DBInstanceAvailable": { "delay": 30, "operation": "DescribeDBInstances", "maxAttempts": 60, "acceptors": [ { "expected": "available", "matcher": "pathAll", "state": "success", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "deleted", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "deleting", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "failed", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "incompatible-restore", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "incompatible-parameters", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" } ] }, "DBInstanceDeleted": { "delay": 30, "operation": "DescribeDBInstances", "maxAttempts": 60, "acceptors": [ { "expected": "deleted", "matcher": "pathAll", "state": "success", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "DBInstanceNotFound", "matcher": "error", "state": "success" }, { "expected": "creating", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "modifying", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "rebooting", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" }, { "expected": "resetting-master-credentials", "matcher": "pathAny", "state": "failure", "argument": "DBInstances[].DBInstanceStatus" } ] } } } },{}],126:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2012-12-01", "endpointPrefix": "redshift", "protocol": "query", "serviceFullName": "Amazon Redshift", "signatureVersion": "v4", "uid": "redshift-2012-12-01", "xmlNamespace": "http://redshift.amazonaws.com/doc/2012-12-01/" }, "operations": { "AuthorizeClusterSecurityGroupIngress": { "input": { "type": "structure", "required": [ "ClusterSecurityGroupName" ], "members": { "ClusterSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "AuthorizeClusterSecurityGroupIngressResult", "type": "structure", "members": { "ClusterSecurityGroup": { "shape": "S4" } } } }, "AuthorizeSnapshotAccess": { "input": { "type": "structure", "required": [ "SnapshotIdentifier", "AccountWithRestoreAccess" ], "members": { "SnapshotIdentifier": {}, "SnapshotClusterIdentifier": {}, "AccountWithRestoreAccess": {} } }, "output": { "resultWrapper": "AuthorizeSnapshotAccessResult", "type": "structure", "members": { "Snapshot": { "shape": "Sd" } } } }, "CopyClusterSnapshot": { "input": { "type": "structure", "required": [ "SourceSnapshotIdentifier", "TargetSnapshotIdentifier" ], "members": { "SourceSnapshotIdentifier": {}, "SourceSnapshotClusterIdentifier": {}, "TargetSnapshotIdentifier": {} } }, "output": { "resultWrapper": "CopyClusterSnapshotResult", "type": "structure", "members": { "Snapshot": { "shape": "Sd" } } } }, "CreateCluster": { "input": { "type": "structure", "required": [ "ClusterIdentifier", "NodeType", "MasterUsername", "MasterUserPassword" ], "members": { "DBName": {}, "ClusterIdentifier": {}, "ClusterType": {}, "NodeType": {}, "MasterUsername": {}, "MasterUserPassword": {}, "ClusterSecurityGroups": { "shape": "Sp" }, "VpcSecurityGroupIds": { "shape": "Sq" }, "ClusterSubnetGroupName": {}, "AvailabilityZone": {}, "PreferredMaintenanceWindow": {}, "ClusterParameterGroupName": {}, "AutomatedSnapshotRetentionPeriod": { "type": "integer" }, "Port": { "type": "integer" }, "ClusterVersion": {}, "AllowVersionUpgrade": { "type": "boolean" }, "NumberOfNodes": { "type": "integer" }, "PubliclyAccessible": { "type": "boolean" }, "Encrypted": { "type": "boolean" }, "HsmClientCertificateIdentifier": {}, "HsmConfigurationIdentifier": {}, "ElasticIp": {}, "Tags": { "shape": "S7" }, "KmsKeyId": {}, "EnhancedVpcRouting": { "type": "boolean" }, "AdditionalInfo": {}, "IamRoles": { "shape": "St" } } }, "output": { "resultWrapper": "CreateClusterResult", "type": "structure", "members": { "Cluster": { "shape": "Sv" } } } }, "CreateClusterParameterGroup": { "input": { "type": "structure", "required": [ "ParameterGroupName", "ParameterGroupFamily", "Description" ], "members": { "ParameterGroupName": {}, "ParameterGroupFamily": {}, "Description": {}, "Tags": { "shape": "S7" } } }, "output": { "resultWrapper": "CreateClusterParameterGroupResult", "type": "structure", "members": { "ClusterParameterGroup": { "shape": "S1g" } } } }, "CreateClusterSecurityGroup": { "input": { "type": "structure", "required": [ "ClusterSecurityGroupName", "Description" ], "members": { "ClusterSecurityGroupName": {}, "Description": {}, "Tags": { "shape": "S7" } } }, "output": { "resultWrapper": "CreateClusterSecurityGroupResult", "type": "structure", "members": { "ClusterSecurityGroup": { "shape": "S4" } } } }, "CreateClusterSnapshot": { "input": { "type": "structure", "required": [ "SnapshotIdentifier", "ClusterIdentifier" ], "members": { "SnapshotIdentifier": {}, "ClusterIdentifier": {}, "Tags": { "shape": "S7" } } }, "output": { "resultWrapper": "CreateClusterSnapshotResult", "type": "structure", "members": { "Snapshot": { "shape": "Sd" } } } }, "CreateClusterSubnetGroup": { "input": { "type": "structure", "required": [ "ClusterSubnetGroupName", "Description", "SubnetIds" ], "members": { "ClusterSubnetGroupName": {}, "Description": {}, "SubnetIds": { "shape": "S1m" }, "Tags": { "shape": "S7" } } }, "output": { "resultWrapper": "CreateClusterSubnetGroupResult", "type": "structure", "members": { "ClusterSubnetGroup": { "shape": "S1o" } } } }, "CreateEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName", "SnsTopicArn" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "SourceIds": { "shape": "S1t" }, "EventCategories": { "shape": "S1u" }, "Severity": {}, "Enabled": { "type": "boolean" }, "Tags": { "shape": "S7" } } }, "output": { "resultWrapper": "CreateEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S1w" } } } }, "CreateHsmClientCertificate": { "input": { "type": "structure", "required": [ "HsmClientCertificateIdentifier" ], "members": { "HsmClientCertificateIdentifier": {}, "Tags": { "shape": "S7" } } }, "output": { "resultWrapper": "CreateHsmClientCertificateResult", "type": "structure", "members": { "HsmClientCertificate": { "shape": "S1z" } } } }, "CreateHsmConfiguration": { "input": { "type": "structure", "required": [ "HsmConfigurationIdentifier", "Description", "HsmIpAddress", "HsmPartitionName", "HsmPartitionPassword", "HsmServerPublicCertificate" ], "members": { "HsmConfigurationIdentifier": {}, "Description": {}, "HsmIpAddress": {}, "HsmPartitionName": {}, "HsmPartitionPassword": {}, "HsmServerPublicCertificate": {}, "Tags": { "shape": "S7" } } }, "output": { "resultWrapper": "CreateHsmConfigurationResult", "type": "structure", "members": { "HsmConfiguration": { "shape": "S22" } } } }, "CreateSnapshotCopyGrant": { "input": { "type": "structure", "required": [ "SnapshotCopyGrantName" ], "members": { "SnapshotCopyGrantName": {}, "KmsKeyId": {}, "Tags": { "shape": "S7" } } }, "output": { "resultWrapper": "CreateSnapshotCopyGrantResult", "type": "structure", "members": { "SnapshotCopyGrant": { "shape": "S25" } } } }, "CreateTags": { "input": { "type": "structure", "required": [ "ResourceName", "Tags" ], "members": { "ResourceName": {}, "Tags": { "shape": "S7" } } } }, "DeleteCluster": { "input": { "type": "structure", "required": [ "ClusterIdentifier" ], "members": { "ClusterIdentifier": {}, "SkipFinalClusterSnapshot": { "type": "boolean" }, "FinalClusterSnapshotIdentifier": {} } }, "output": { "resultWrapper": "DeleteClusterResult", "type": "structure", "members": { "Cluster": { "shape": "Sv" } } } }, "DeleteClusterParameterGroup": { "input": { "type": "structure", "required": [ "ParameterGroupName" ], "members": { "ParameterGroupName": {} } } }, "DeleteClusterSecurityGroup": { "input": { "type": "structure", "required": [ "ClusterSecurityGroupName" ], "members": { "ClusterSecurityGroupName": {} } } }, "DeleteClusterSnapshot": { "input": { "type": "structure", "required": [ "SnapshotIdentifier" ], "members": { "SnapshotIdentifier": {}, "SnapshotClusterIdentifier": {} } }, "output": { "resultWrapper": "DeleteClusterSnapshotResult", "type": "structure", "members": { "Snapshot": { "shape": "Sd" } } } }, "DeleteClusterSubnetGroup": { "input": { "type": "structure", "required": [ "ClusterSubnetGroupName" ], "members": { "ClusterSubnetGroupName": {} } } }, "DeleteEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {} } } }, "DeleteHsmClientCertificate": { "input": { "type": "structure", "required": [ "HsmClientCertificateIdentifier" ], "members": { "HsmClientCertificateIdentifier": {} } } }, "DeleteHsmConfiguration": { "input": { "type": "structure", "required": [ "HsmConfigurationIdentifier" ], "members": { "HsmConfigurationIdentifier": {} } } }, "DeleteSnapshotCopyGrant": { "input": { "type": "structure", "required": [ "SnapshotCopyGrantName" ], "members": { "SnapshotCopyGrantName": {} } } }, "DeleteTags": { "input": { "type": "structure", "required": [ "ResourceName", "TagKeys" ], "members": { "ResourceName": {}, "TagKeys": { "shape": "S2j" } } } }, "DescribeClusterParameterGroups": { "input": { "type": "structure", "members": { "ParameterGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "TagKeys": { "shape": "S2j" }, "TagValues": { "shape": "S2l" } } }, "output": { "resultWrapper": "DescribeClusterParameterGroupsResult", "type": "structure", "members": { "Marker": {}, "ParameterGroups": { "type": "list", "member": { "shape": "S1g", "locationName": "ClusterParameterGroup" } } } } }, "DescribeClusterParameters": { "input": { "type": "structure", "required": [ "ParameterGroupName" ], "members": { "ParameterGroupName": {}, "Source": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeClusterParametersResult", "type": "structure", "members": { "Parameters": { "shape": "S2q" }, "Marker": {} } } }, "DescribeClusterSecurityGroups": { "input": { "type": "structure", "members": { "ClusterSecurityGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "TagKeys": { "shape": "S2j" }, "TagValues": { "shape": "S2l" } } }, "output": { "resultWrapper": "DescribeClusterSecurityGroupsResult", "type": "structure", "members": { "Marker": {}, "ClusterSecurityGroups": { "type": "list", "member": { "shape": "S4", "locationName": "ClusterSecurityGroup" } } } } }, "DescribeClusterSnapshots": { "input": { "type": "structure", "members": { "ClusterIdentifier": {}, "SnapshotIdentifier": {}, "SnapshotType": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "MaxRecords": { "type": "integer" }, "Marker": {}, "OwnerAccount": {}, "TagKeys": { "shape": "S2j" }, "TagValues": { "shape": "S2l" } } }, "output": { "resultWrapper": "DescribeClusterSnapshotsResult", "type": "structure", "members": { "Marker": {}, "Snapshots": { "type": "list", "member": { "shape": "Sd", "locationName": "Snapshot" } } } } }, "DescribeClusterSubnetGroups": { "input": { "type": "structure", "members": { "ClusterSubnetGroupName": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "TagKeys": { "shape": "S2j" }, "TagValues": { "shape": "S2l" } } }, "output": { "resultWrapper": "DescribeClusterSubnetGroupsResult", "type": "structure", "members": { "Marker": {}, "ClusterSubnetGroups": { "type": "list", "member": { "shape": "S1o", "locationName": "ClusterSubnetGroup" } } } } }, "DescribeClusterVersions": { "input": { "type": "structure", "members": { "ClusterVersion": {}, "ClusterParameterGroupFamily": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeClusterVersionsResult", "type": "structure", "members": { "Marker": {}, "ClusterVersions": { "type": "list", "member": { "locationName": "ClusterVersion", "type": "structure", "members": { "ClusterVersion": {}, "ClusterParameterGroupFamily": {}, "Description": {} } } } } } }, "DescribeClusters": { "input": { "type": "structure", "members": { "ClusterIdentifier": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "TagKeys": { "shape": "S2j" }, "TagValues": { "shape": "S2l" } } }, "output": { "resultWrapper": "DescribeClustersResult", "type": "structure", "members": { "Marker": {}, "Clusters": { "type": "list", "member": { "shape": "Sv", "locationName": "Cluster" } } } } }, "DescribeDefaultClusterParameters": { "input": { "type": "structure", "required": [ "ParameterGroupFamily" ], "members": { "ParameterGroupFamily": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeDefaultClusterParametersResult", "type": "structure", "members": { "DefaultClusterParameters": { "type": "structure", "members": { "ParameterGroupFamily": {}, "Marker": {}, "Parameters": { "shape": "S2q" } }, "wrapper": true } } } }, "DescribeEventCategories": { "input": { "type": "structure", "members": { "SourceType": {} } }, "output": { "resultWrapper": "DescribeEventCategoriesResult", "type": "structure", "members": { "EventCategoriesMapList": { "type": "list", "member": { "locationName": "EventCategoriesMap", "type": "structure", "members": { "SourceType": {}, "Events": { "type": "list", "member": { "locationName": "EventInfoMap", "type": "structure", "members": { "EventId": {}, "EventCategories": { "shape": "S1u" }, "EventDescription": {}, "Severity": {} }, "wrapper": true } } }, "wrapper": true } } } } }, "DescribeEventSubscriptions": { "input": { "type": "structure", "members": { "SubscriptionName": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventSubscriptionsResult", "type": "structure", "members": { "Marker": {}, "EventSubscriptionsList": { "type": "list", "member": { "shape": "S1w", "locationName": "EventSubscription" } } } } }, "DescribeEvents": { "input": { "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeEventsResult", "type": "structure", "members": { "Marker": {}, "Events": { "type": "list", "member": { "locationName": "Event", "type": "structure", "members": { "SourceIdentifier": {}, "SourceType": {}, "Message": {}, "EventCategories": { "shape": "S1u" }, "Severity": {}, "Date": { "type": "timestamp" }, "EventId": {} } } } } } }, "DescribeHsmClientCertificates": { "input": { "type": "structure", "members": { "HsmClientCertificateIdentifier": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "TagKeys": { "shape": "S2j" }, "TagValues": { "shape": "S2l" } } }, "output": { "resultWrapper": "DescribeHsmClientCertificatesResult", "type": "structure", "members": { "Marker": {}, "HsmClientCertificates": { "type": "list", "member": { "shape": "S1z", "locationName": "HsmClientCertificate" } } } } }, "DescribeHsmConfigurations": { "input": { "type": "structure", "members": { "HsmConfigurationIdentifier": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "TagKeys": { "shape": "S2j" }, "TagValues": { "shape": "S2l" } } }, "output": { "resultWrapper": "DescribeHsmConfigurationsResult", "type": "structure", "members": { "Marker": {}, "HsmConfigurations": { "type": "list", "member": { "shape": "S22", "locationName": "HsmConfiguration" } } } } }, "DescribeLoggingStatus": { "input": { "type": "structure", "required": [ "ClusterIdentifier" ], "members": { "ClusterIdentifier": {} } }, "output": { "shape": "S3x", "resultWrapper": "DescribeLoggingStatusResult" } }, "DescribeOrderableClusterOptions": { "input": { "type": "structure", "members": { "ClusterVersion": {}, "NodeType": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeOrderableClusterOptionsResult", "type": "structure", "members": { "OrderableClusterOptions": { "type": "list", "member": { "locationName": "OrderableClusterOption", "type": "structure", "members": { "ClusterVersion": {}, "ClusterType": {}, "NodeType": {}, "AvailabilityZones": { "type": "list", "member": { "shape": "S1r", "locationName": "AvailabilityZone" } } }, "wrapper": true } }, "Marker": {} } } }, "DescribeReservedNodeOfferings": { "input": { "type": "structure", "members": { "ReservedNodeOfferingId": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedNodeOfferingsResult", "type": "structure", "members": { "Marker": {}, "ReservedNodeOfferings": { "type": "list", "member": { "locationName": "ReservedNodeOffering", "type": "structure", "members": { "ReservedNodeOfferingId": {}, "NodeType": {}, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "OfferingType": {}, "RecurringCharges": { "shape": "S47" } }, "wrapper": true } } } } }, "DescribeReservedNodes": { "input": { "type": "structure", "members": { "ReservedNodeId": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeReservedNodesResult", "type": "structure", "members": { "Marker": {}, "ReservedNodes": { "type": "list", "member": { "shape": "S4c", "locationName": "ReservedNode" } } } } }, "DescribeResize": { "input": { "type": "structure", "required": [ "ClusterIdentifier" ], "members": { "ClusterIdentifier": {} } }, "output": { "resultWrapper": "DescribeResizeResult", "type": "structure", "members": { "TargetNodeType": {}, "TargetNumberOfNodes": { "type": "integer" }, "TargetClusterType": {}, "Status": {}, "ImportTablesCompleted": { "type": "list", "member": {} }, "ImportTablesInProgress": { "type": "list", "member": {} }, "ImportTablesNotStarted": { "type": "list", "member": {} }, "AvgResizeRateInMegaBytesPerSecond": { "type": "double" }, "TotalResizeDataInMegaBytes": { "type": "long" }, "ProgressInMegaBytes": { "type": "long" }, "ElapsedTimeInSeconds": { "type": "long" }, "EstimatedTimeToCompletionInSeconds": { "type": "long" } } } }, "DescribeSnapshotCopyGrants": { "input": { "type": "structure", "members": { "SnapshotCopyGrantName": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "TagKeys": { "shape": "S2j" }, "TagValues": { "shape": "S2l" } } }, "output": { "resultWrapper": "DescribeSnapshotCopyGrantsResult", "type": "structure", "members": { "Marker": {}, "SnapshotCopyGrants": { "type": "list", "member": { "shape": "S25", "locationName": "SnapshotCopyGrant" } } } } }, "DescribeTableRestoreStatus": { "input": { "type": "structure", "members": { "ClusterIdentifier": {}, "TableRestoreRequestId": {}, "MaxRecords": { "type": "integer" }, "Marker": {} } }, "output": { "resultWrapper": "DescribeTableRestoreStatusResult", "type": "structure", "members": { "TableRestoreStatusDetails": { "type": "list", "member": { "shape": "S4q", "locationName": "TableRestoreStatus" } }, "Marker": {} } } }, "DescribeTags": { "input": { "type": "structure", "members": { "ResourceName": {}, "ResourceType": {}, "MaxRecords": { "type": "integer" }, "Marker": {}, "TagKeys": { "shape": "S2j" }, "TagValues": { "shape": "S2l" } } }, "output": { "resultWrapper": "DescribeTagsResult", "type": "structure", "members": { "TaggedResources": { "type": "list", "member": { "locationName": "TaggedResource", "type": "structure", "members": { "Tag": { "shape": "S8" }, "ResourceName": {}, "ResourceType": {} } } }, "Marker": {} } } }, "DisableLogging": { "input": { "type": "structure", "required": [ "ClusterIdentifier" ], "members": { "ClusterIdentifier": {} } }, "output": { "shape": "S3x", "resultWrapper": "DisableLoggingResult" } }, "DisableSnapshotCopy": { "input": { "type": "structure", "required": [ "ClusterIdentifier" ], "members": { "ClusterIdentifier": {} } }, "output": { "resultWrapper": "DisableSnapshotCopyResult", "type": "structure", "members": { "Cluster": { "shape": "Sv" } } } }, "EnableLogging": { "input": { "type": "structure", "required": [ "ClusterIdentifier", "BucketName" ], "members": { "ClusterIdentifier": {}, "BucketName": {}, "S3KeyPrefix": {} } }, "output": { "shape": "S3x", "resultWrapper": "EnableLoggingResult" } }, "EnableSnapshotCopy": { "input": { "type": "structure", "required": [ "ClusterIdentifier", "DestinationRegion" ], "members": { "ClusterIdentifier": {}, "DestinationRegion": {}, "RetentionPeriod": { "type": "integer" }, "SnapshotCopyGrantName": {} } }, "output": { "resultWrapper": "EnableSnapshotCopyResult", "type": "structure", "members": { "Cluster": { "shape": "Sv" } } } }, "GetClusterCredentials": { "input": { "type": "structure", "required": [ "DbUser", "ClusterIdentifier" ], "members": { "DbUser": {}, "DbName": {}, "ClusterIdentifier": {}, "DurationSeconds": { "type": "integer" }, "AutoCreate": { "type": "boolean" }, "DbGroups": { "type": "list", "member": { "locationName": "DbGroup" } } } }, "output": { "resultWrapper": "GetClusterCredentialsResult", "type": "structure", "members": { "DbUser": {}, "DbPassword": { "type": "string", "sensitive": true }, "Expiration": { "type": "timestamp" } } } }, "ModifyCluster": { "input": { "type": "structure", "required": [ "ClusterIdentifier" ], "members": { "ClusterIdentifier": {}, "ClusterType": {}, "NodeType": {}, "NumberOfNodes": { "type": "integer" }, "ClusterSecurityGroups": { "shape": "Sp" }, "VpcSecurityGroupIds": { "shape": "Sq" }, "MasterUserPassword": {}, "ClusterParameterGroupName": {}, "AutomatedSnapshotRetentionPeriod": { "type": "integer" }, "PreferredMaintenanceWindow": {}, "ClusterVersion": {}, "AllowVersionUpgrade": { "type": "boolean" }, "HsmClientCertificateIdentifier": {}, "HsmConfigurationIdentifier": {}, "NewClusterIdentifier": {}, "PubliclyAccessible": { "type": "boolean" }, "ElasticIp": {}, "EnhancedVpcRouting": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyClusterResult", "type": "structure", "members": { "Cluster": { "shape": "Sv" } } } }, "ModifyClusterIamRoles": { "input": { "type": "structure", "required": [ "ClusterIdentifier" ], "members": { "ClusterIdentifier": {}, "AddIamRoles": { "shape": "St" }, "RemoveIamRoles": { "shape": "St" } } }, "output": { "resultWrapper": "ModifyClusterIamRolesResult", "type": "structure", "members": { "Cluster": { "shape": "Sv" } } } }, "ModifyClusterParameterGroup": { "input": { "type": "structure", "required": [ "ParameterGroupName", "Parameters" ], "members": { "ParameterGroupName": {}, "Parameters": { "shape": "S2q" } } }, "output": { "shape": "S5b", "resultWrapper": "ModifyClusterParameterGroupResult" } }, "ModifyClusterSubnetGroup": { "input": { "type": "structure", "required": [ "ClusterSubnetGroupName", "SubnetIds" ], "members": { "ClusterSubnetGroupName": {}, "Description": {}, "SubnetIds": { "shape": "S1m" } } }, "output": { "resultWrapper": "ModifyClusterSubnetGroupResult", "type": "structure", "members": { "ClusterSubnetGroup": { "shape": "S1o" } } } }, "ModifyEventSubscription": { "input": { "type": "structure", "required": [ "SubscriptionName" ], "members": { "SubscriptionName": {}, "SnsTopicArn": {}, "SourceType": {}, "SourceIds": { "shape": "S1t" }, "EventCategories": { "shape": "S1u" }, "Severity": {}, "Enabled": { "type": "boolean" } } }, "output": { "resultWrapper": "ModifyEventSubscriptionResult", "type": "structure", "members": { "EventSubscription": { "shape": "S1w" } } } }, "ModifySnapshotCopyRetentionPeriod": { "input": { "type": "structure", "required": [ "ClusterIdentifier", "RetentionPeriod" ], "members": { "ClusterIdentifier": {}, "RetentionPeriod": { "type": "integer" } } }, "output": { "resultWrapper": "ModifySnapshotCopyRetentionPeriodResult", "type": "structure", "members": { "Cluster": { "shape": "Sv" } } } }, "PurchaseReservedNodeOffering": { "input": { "type": "structure", "required": [ "ReservedNodeOfferingId" ], "members": { "ReservedNodeOfferingId": {}, "NodeCount": { "type": "integer" } } }, "output": { "resultWrapper": "PurchaseReservedNodeOfferingResult", "type": "structure", "members": { "ReservedNode": { "shape": "S4c" } } } }, "RebootCluster": { "input": { "type": "structure", "required": [ "ClusterIdentifier" ], "members": { "ClusterIdentifier": {} } }, "output": { "resultWrapper": "RebootClusterResult", "type": "structure", "members": { "Cluster": { "shape": "Sv" } } } }, "ResetClusterParameterGroup": { "input": { "type": "structure", "required": [ "ParameterGroupName" ], "members": { "ParameterGroupName": {}, "ResetAllParameters": { "type": "boolean" }, "Parameters": { "shape": "S2q" } } }, "output": { "shape": "S5b", "resultWrapper": "ResetClusterParameterGroupResult" } }, "RestoreFromClusterSnapshot": { "input": { "type": "structure", "required": [ "ClusterIdentifier", "SnapshotIdentifier" ], "members": { "ClusterIdentifier": {}, "SnapshotIdentifier": {}, "SnapshotClusterIdentifier": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "AllowVersionUpgrade": { "type": "boolean" }, "ClusterSubnetGroupName": {}, "PubliclyAccessible": { "type": "boolean" }, "OwnerAccount": {}, "HsmClientCertificateIdentifier": {}, "HsmConfigurationIdentifier": {}, "ElasticIp": {}, "ClusterParameterGroupName": {}, "ClusterSecurityGroups": { "shape": "Sp" }, "VpcSecurityGroupIds": { "shape": "Sq" }, "PreferredMaintenanceWindow": {}, "AutomatedSnapshotRetentionPeriod": { "type": "integer" }, "KmsKeyId": {}, "NodeType": {}, "EnhancedVpcRouting": { "type": "boolean" }, "AdditionalInfo": {}, "IamRoles": { "shape": "St" } } }, "output": { "resultWrapper": "RestoreFromClusterSnapshotResult", "type": "structure", "members": { "Cluster": { "shape": "Sv" } } } }, "RestoreTableFromClusterSnapshot": { "input": { "type": "structure", "required": [ "ClusterIdentifier", "SnapshotIdentifier", "SourceDatabaseName", "SourceTableName", "NewTableName" ], "members": { "ClusterIdentifier": {}, "SnapshotIdentifier": {}, "SourceDatabaseName": {}, "SourceSchemaName": {}, "SourceTableName": {}, "TargetDatabaseName": {}, "TargetSchemaName": {}, "NewTableName": {} } }, "output": { "resultWrapper": "RestoreTableFromClusterSnapshotResult", "type": "structure", "members": { "TableRestoreStatus": { "shape": "S4q" } } } }, "RevokeClusterSecurityGroupIngress": { "input": { "type": "structure", "required": [ "ClusterSecurityGroupName" ], "members": { "ClusterSecurityGroupName": {}, "CIDRIP": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupOwnerId": {} } }, "output": { "resultWrapper": "RevokeClusterSecurityGroupIngressResult", "type": "structure", "members": { "ClusterSecurityGroup": { "shape": "S4" } } } }, "RevokeSnapshotAccess": { "input": { "type": "structure", "required": [ "SnapshotIdentifier", "AccountWithRestoreAccess" ], "members": { "SnapshotIdentifier": {}, "SnapshotClusterIdentifier": {}, "AccountWithRestoreAccess": {} } }, "output": { "resultWrapper": "RevokeSnapshotAccessResult", "type": "structure", "members": { "Snapshot": { "shape": "Sd" } } } }, "RotateEncryptionKey": { "input": { "type": "structure", "required": [ "ClusterIdentifier" ], "members": { "ClusterIdentifier": {} } }, "output": { "resultWrapper": "RotateEncryptionKeyResult", "type": "structure", "members": { "Cluster": { "shape": "Sv" } } } } }, "shapes": { "S4": { "type": "structure", "members": { "ClusterSecurityGroupName": {}, "Description": {}, "EC2SecurityGroups": { "type": "list", "member": { "locationName": "EC2SecurityGroup", "type": "structure", "members": { "Status": {}, "EC2SecurityGroupName": {}, "EC2SecurityGroupOwnerId": {}, "Tags": { "shape": "S7" } } } }, "IPRanges": { "type": "list", "member": { "locationName": "IPRange", "type": "structure", "members": { "Status": {}, "CIDRIP": {}, "Tags": { "shape": "S7" } } } }, "Tags": { "shape": "S7" } }, "wrapper": true }, "S7": { "type": "list", "member": { "shape": "S8", "locationName": "Tag" } }, "S8": { "type": "structure", "members": { "Key": {}, "Value": {} } }, "Sd": { "type": "structure", "members": { "SnapshotIdentifier": {}, "ClusterIdentifier": {}, "SnapshotCreateTime": { "type": "timestamp" }, "Status": {}, "Port": { "type": "integer" }, "AvailabilityZone": {}, "ClusterCreateTime": { "type": "timestamp" }, "MasterUsername": {}, "ClusterVersion": {}, "SnapshotType": {}, "NodeType": {}, "NumberOfNodes": { "type": "integer" }, "DBName": {}, "VpcId": {}, "Encrypted": { "type": "boolean" }, "KmsKeyId": {}, "EncryptedWithHSM": { "type": "boolean" }, "AccountsWithRestoreAccess": { "type": "list", "member": { "locationName": "AccountWithRestoreAccess", "type": "structure", "members": { "AccountId": {}, "AccountAlias": {} } } }, "OwnerAccount": {}, "TotalBackupSizeInMegaBytes": { "type": "double" }, "ActualIncrementalBackupSizeInMegaBytes": { "type": "double" }, "BackupProgressInMegaBytes": { "type": "double" }, "CurrentBackupRateInMegaBytesPerSecond": { "type": "double" }, "EstimatedSecondsToCompletion": { "type": "long" }, "ElapsedTimeInSeconds": { "type": "long" }, "SourceRegion": {}, "Tags": { "shape": "S7" }, "RestorableNodeTypes": { "type": "list", "member": { "locationName": "NodeType" } }, "EnhancedVpcRouting": { "type": "boolean" } }, "wrapper": true }, "Sp": { "type": "list", "member": { "locationName": "ClusterSecurityGroupName" } }, "Sq": { "type": "list", "member": { "locationName": "VpcSecurityGroupId" } }, "St": { "type": "list", "member": { "locationName": "IamRoleArn" } }, "Sv": { "type": "structure", "members": { "ClusterIdentifier": {}, "NodeType": {}, "ClusterStatus": {}, "ModifyStatus": {}, "MasterUsername": {}, "DBName": {}, "Endpoint": { "type": "structure", "members": { "Address": {}, "Port": { "type": "integer" } } }, "ClusterCreateTime": { "type": "timestamp" }, "AutomatedSnapshotRetentionPeriod": { "type": "integer" }, "ClusterSecurityGroups": { "type": "list", "member": { "locationName": "ClusterSecurityGroup", "type": "structure", "members": { "ClusterSecurityGroupName": {}, "Status": {} } } }, "VpcSecurityGroups": { "type": "list", "member": { "locationName": "VpcSecurityGroup", "type": "structure", "members": { "VpcSecurityGroupId": {}, "Status": {} } } }, "ClusterParameterGroups": { "type": "list", "member": { "locationName": "ClusterParameterGroup", "type": "structure", "members": { "ParameterGroupName": {}, "ParameterApplyStatus": {}, "ClusterParameterStatusList": { "type": "list", "member": { "type": "structure", "members": { "ParameterName": {}, "ParameterApplyStatus": {}, "ParameterApplyErrorDescription": {} } } } } } }, "ClusterSubnetGroupName": {}, "VpcId": {}, "AvailabilityZone": {}, "PreferredMaintenanceWindow": {}, "PendingModifiedValues": { "type": "structure", "members": { "MasterUserPassword": {}, "NodeType": {}, "NumberOfNodes": { "type": "integer" }, "ClusterType": {}, "ClusterVersion": {}, "AutomatedSnapshotRetentionPeriod": { "type": "integer" }, "ClusterIdentifier": {}, "PubliclyAccessible": { "type": "boolean" }, "EnhancedVpcRouting": { "type": "boolean" } } }, "ClusterVersion": {}, "AllowVersionUpgrade": { "type": "boolean" }, "NumberOfNodes": { "type": "integer" }, "PubliclyAccessible": { "type": "boolean" }, "Encrypted": { "type": "boolean" }, "RestoreStatus": { "type": "structure", "members": { "Status": {}, "CurrentRestoreRateInMegaBytesPerSecond": { "type": "double" }, "SnapshotSizeInMegaBytes": { "type": "long" }, "ProgressInMegaBytes": { "type": "long" }, "ElapsedTimeInSeconds": { "type": "long" }, "EstimatedTimeToCompletionInSeconds": { "type": "long" } } }, "HsmStatus": { "type": "structure", "members": { "HsmClientCertificateIdentifier": {}, "HsmConfigurationIdentifier": {}, "Status": {} } }, "ClusterSnapshotCopyStatus": { "type": "structure", "members": { "DestinationRegion": {}, "RetentionPeriod": { "type": "long" }, "SnapshotCopyGrantName": {} } }, "ClusterPublicKey": {}, "ClusterNodes": { "type": "list", "member": { "type": "structure", "members": { "NodeRole": {}, "PrivateIPAddress": {}, "PublicIPAddress": {} } } }, "ElasticIpStatus": { "type": "structure", "members": { "ElasticIp": {}, "Status": {} } }, "ClusterRevisionNumber": {}, "Tags": { "shape": "S7" }, "KmsKeyId": {}, "EnhancedVpcRouting": { "type": "boolean" }, "IamRoles": { "type": "list", "member": { "locationName": "ClusterIamRole", "type": "structure", "members": { "IamRoleArn": {}, "ApplyStatus": {} } } } }, "wrapper": true }, "S1g": { "type": "structure", "members": { "ParameterGroupName": {}, "ParameterGroupFamily": {}, "Description": {}, "Tags": { "shape": "S7" } }, "wrapper": true }, "S1m": { "type": "list", "member": { "locationName": "SubnetIdentifier" } }, "S1o": { "type": "structure", "members": { "ClusterSubnetGroupName": {}, "Description": {}, "VpcId": {}, "SubnetGroupStatus": {}, "Subnets": { "type": "list", "member": { "locationName": "Subnet", "type": "structure", "members": { "SubnetIdentifier": {}, "SubnetAvailabilityZone": { "shape": "S1r" }, "SubnetStatus": {} } } }, "Tags": { "shape": "S7" } }, "wrapper": true }, "S1r": { "type": "structure", "members": { "Name": {} }, "wrapper": true }, "S1t": { "type": "list", "member": { "locationName": "SourceId" } }, "S1u": { "type": "list", "member": { "locationName": "EventCategory" } }, "S1w": { "type": "structure", "members": { "CustomerAwsId": {}, "CustSubscriptionId": {}, "SnsTopicArn": {}, "Status": {}, "SubscriptionCreationTime": { "type": "timestamp" }, "SourceType": {}, "SourceIdsList": { "shape": "S1t" }, "EventCategoriesList": { "shape": "S1u" }, "Severity": {}, "Enabled": { "type": "boolean" }, "Tags": { "shape": "S7" } }, "wrapper": true }, "S1z": { "type": "structure", "members": { "HsmClientCertificateIdentifier": {}, "HsmClientCertificatePublicKey": {}, "Tags": { "shape": "S7" } }, "wrapper": true }, "S22": { "type": "structure", "members": { "HsmConfigurationIdentifier": {}, "Description": {}, "HsmIpAddress": {}, "HsmPartitionName": {}, "Tags": { "shape": "S7" } }, "wrapper": true }, "S25": { "type": "structure", "members": { "SnapshotCopyGrantName": {}, "KmsKeyId": {}, "Tags": { "shape": "S7" } }, "wrapper": true }, "S2j": { "type": "list", "member": { "locationName": "TagKey" } }, "S2l": { "type": "list", "member": { "locationName": "TagValue" } }, "S2q": { "type": "list", "member": { "locationName": "Parameter", "type": "structure", "members": { "ParameterName": {}, "ParameterValue": {}, "Description": {}, "Source": {}, "DataType": {}, "AllowedValues": {}, "ApplyType": {}, "IsModifiable": { "type": "boolean" }, "MinimumEngineVersion": {} } } }, "S3x": { "type": "structure", "members": { "LoggingEnabled": { "type": "boolean" }, "BucketName": {}, "S3KeyPrefix": {}, "LastSuccessfulDeliveryTime": { "type": "timestamp" }, "LastFailureTime": { "type": "timestamp" }, "LastFailureMessage": {} } }, "S47": { "type": "list", "member": { "locationName": "RecurringCharge", "type": "structure", "members": { "RecurringChargeAmount": { "type": "double" }, "RecurringChargeFrequency": {} }, "wrapper": true } }, "S4c": { "type": "structure", "members": { "ReservedNodeId": {}, "ReservedNodeOfferingId": {}, "NodeType": {}, "StartTime": { "type": "timestamp" }, "Duration": { "type": "integer" }, "FixedPrice": { "type": "double" }, "UsagePrice": { "type": "double" }, "CurrencyCode": {}, "NodeCount": { "type": "integer" }, "State": {}, "OfferingType": {}, "RecurringCharges": { "shape": "S47" } }, "wrapper": true }, "S4q": { "type": "structure", "members": { "TableRestoreRequestId": {}, "Status": {}, "Message": {}, "RequestTime": { "type": "timestamp" }, "ProgressInMegaBytes": { "type": "long" }, "TotalDataInMegaBytes": { "type": "long" }, "ClusterIdentifier": {}, "SnapshotIdentifier": {}, "SourceDatabaseName": {}, "SourceSchemaName": {}, "SourceTableName": {}, "TargetDatabaseName": {}, "TargetSchemaName": {}, "NewTableName": {} }, "wrapper": true }, "S5b": { "type": "structure", "members": { "ParameterGroupName": {}, "ParameterGroupStatus": {} } } } } },{}],127:[function(require,module,exports){ module.exports={ "pagination": { "DescribeClusterParameterGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ParameterGroups" }, "DescribeClusterParameters": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Parameters" }, "DescribeClusterSecurityGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ClusterSecurityGroups" }, "DescribeClusterSnapshots": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Snapshots" }, "DescribeClusterSubnetGroups": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ClusterSubnetGroups" }, "DescribeClusterVersions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ClusterVersions" }, "DescribeClusters": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Clusters" }, "DescribeDefaultClusterParameters": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "DefaultClusterParameters.Marker", "result_key": "DefaultClusterParameters.Parameters" }, "DescribeEventSubscriptions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "EventSubscriptionsList" }, "DescribeEvents": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "Events" }, "DescribeHsmClientCertificates": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "HsmClientCertificates" }, "DescribeHsmConfigurations": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "HsmConfigurations" }, "DescribeOrderableClusterOptions": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "OrderableClusterOptions" }, "DescribeReservedNodeOfferings": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ReservedNodeOfferings" }, "DescribeReservedNodes": { "input_token": "Marker", "limit_key": "MaxRecords", "output_token": "Marker", "result_key": "ReservedNodes" } } } },{}],128:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "ClusterAvailable": { "delay": 60, "operation": "DescribeClusters", "maxAttempts": 30, "acceptors": [ { "expected": "available", "matcher": "pathAll", "state": "success", "argument": "Clusters[].ClusterStatus" }, { "expected": "deleting", "matcher": "pathAny", "state": "failure", "argument": "Clusters[].ClusterStatus" }, { "expected": "ClusterNotFound", "matcher": "error", "state": "retry" } ] }, "ClusterDeleted": { "delay": 60, "operation": "DescribeClusters", "maxAttempts": 30, "acceptors": [ { "expected": "ClusterNotFound", "matcher": "error", "state": "success" }, { "expected": "creating", "matcher": "pathAny", "state": "failure", "argument": "Clusters[].ClusterStatus" }, { "expected": "modifying", "matcher": "pathAny", "state": "failure", "argument": "Clusters[].ClusterStatus" } ] }, "ClusterRestored": { "operation": "DescribeClusters", "maxAttempts": 30, "delay": 60, "acceptors": [ { "state": "success", "matcher": "pathAll", "argument": "Clusters[].RestoreStatus.Status", "expected": "completed" }, { "state": "failure", "matcher": "pathAny", "argument": "Clusters[].ClusterStatus", "expected": "deleting" } ] }, "SnapshotAvailable": { "delay": 15, "operation": "DescribeClusterSnapshots", "maxAttempts": 20, "acceptors": [ { "expected": "available", "matcher": "pathAll", "state": "success", "argument": "Snapshots[].Status" }, { "expected": "failed", "matcher": "pathAny", "state": "failure", "argument": "Snapshots[].Status" }, { "expected": "deleted", "matcher": "pathAny", "state": "failure", "argument": "Snapshots[].Status" } ] } } } },{}],129:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2016-06-27", "endpointPrefix": "rekognition", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "Amazon Rekognition", "signatureVersion": "v4", "targetPrefix": "RekognitionService", "uid": "rekognition-2016-06-27" }, "operations": { "CompareFaces": { "input": { "type": "structure", "required": [ "SourceImage", "TargetImage" ], "members": { "SourceImage": { "shape": "S2" }, "TargetImage": { "shape": "S2" }, "SimilarityThreshold": { "type": "float" } } }, "output": { "type": "structure", "members": { "SourceImageFace": { "type": "structure", "members": { "BoundingBox": { "shape": "Sb" }, "Confidence": { "type": "float" } } }, "FaceMatches": { "type": "list", "member": { "type": "structure", "members": { "Similarity": { "type": "float" }, "Face": { "shape": "Sf" } } } }, "UnmatchedFaces": { "type": "list", "member": { "shape": "Sf" } }, "SourceImageOrientationCorrection": {}, "TargetImageOrientationCorrection": {} } } }, "CreateCollection": { "input": { "type": "structure", "required": [ "CollectionId" ], "members": { "CollectionId": {} } }, "output": { "type": "structure", "members": { "StatusCode": { "type": "integer" }, "CollectionArn": {} } } }, "DeleteCollection": { "input": { "type": "structure", "required": [ "CollectionId" ], "members": { "CollectionId": {} } }, "output": { "type": "structure", "members": { "StatusCode": { "type": "integer" } } } }, "DeleteFaces": { "input": { "type": "structure", "required": [ "CollectionId", "FaceIds" ], "members": { "CollectionId": {}, "FaceIds": { "shape": "Sw" } } }, "output": { "type": "structure", "members": { "DeletedFaces": { "shape": "Sw" } } } }, "DetectFaces": { "input": { "type": "structure", "required": [ "Image" ], "members": { "Image": { "shape": "S2" }, "Attributes": { "shape": "S10" } } }, "output": { "type": "structure", "members": { "FaceDetails": { "type": "list", "member": { "shape": "S14" } }, "OrientationCorrection": {} } } }, "DetectLabels": { "input": { "type": "structure", "required": [ "Image" ], "members": { "Image": { "shape": "S2" }, "MaxLabels": { "type": "integer" }, "MinConfidence": { "type": "float" } } }, "output": { "type": "structure", "members": { "Labels": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Confidence": { "type": "float" } } } }, "OrientationCorrection": {} } } }, "DetectModerationLabels": { "input": { "type": "structure", "required": [ "Image" ], "members": { "Image": { "shape": "S2" }, "MinConfidence": { "type": "float" } } }, "output": { "type": "structure", "members": { "ModerationLabels": { "type": "list", "member": { "type": "structure", "members": { "Confidence": { "type": "float" }, "Name": {}, "ParentName": {} } } } } } }, "GetCelebrityInfo": { "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": {} } }, "output": { "type": "structure", "members": { "Urls": { "shape": "S1u" }, "Name": {} } } }, "IndexFaces": { "input": { "type": "structure", "required": [ "CollectionId", "Image" ], "members": { "CollectionId": {}, "Image": { "shape": "S2" }, "ExternalImageId": {}, "DetectionAttributes": { "shape": "S10" } } }, "output": { "type": "structure", "members": { "FaceRecords": { "type": "list", "member": { "type": "structure", "members": { "Face": { "shape": "S21" }, "FaceDetail": { "shape": "S14" } } } }, "OrientationCorrection": {} } } }, "ListCollections": { "input": { "type": "structure", "members": { "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "CollectionIds": { "type": "list", "member": {} }, "NextToken": {} } } }, "ListFaces": { "input": { "type": "structure", "required": [ "CollectionId" ], "members": { "CollectionId": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Faces": { "type": "list", "member": { "shape": "S21" } }, "NextToken": {} } } }, "RecognizeCelebrities": { "input": { "type": "structure", "required": [ "Image" ], "members": { "Image": { "shape": "S2" } } }, "output": { "type": "structure", "members": { "CelebrityFaces": { "type": "list", "member": { "type": "structure", "members": { "Urls": { "shape": "S1u" }, "Name": {}, "Id": {}, "Face": { "shape": "Sf" }, "MatchConfidence": { "type": "float" } } } }, "UnrecognizedFaces": { "type": "list", "member": { "shape": "Sf" } }, "OrientationCorrection": {} } } }, "SearchFaces": { "input": { "type": "structure", "required": [ "CollectionId", "FaceId" ], "members": { "CollectionId": {}, "FaceId": {}, "MaxFaces": { "type": "integer" }, "FaceMatchThreshold": { "type": "float" } } }, "output": { "type": "structure", "members": { "SearchedFaceId": {}, "FaceMatches": { "shape": "S2j" } } } }, "SearchFacesByImage": { "input": { "type": "structure", "required": [ "CollectionId", "Image" ], "members": { "CollectionId": {}, "Image": { "shape": "S2" }, "MaxFaces": { "type": "integer" }, "FaceMatchThreshold": { "type": "float" } } }, "output": { "type": "structure", "members": { "SearchedFaceBoundingBox": { "shape": "Sb" }, "SearchedFaceConfidence": { "type": "float" }, "FaceMatches": { "shape": "S2j" } } } } }, "shapes": { "S2": { "type": "structure", "members": { "Bytes": { "type": "blob" }, "S3Object": { "type": "structure", "members": { "Bucket": {}, "Name": {}, "Version": {} } } } }, "Sb": { "type": "structure", "members": { "Width": { "type": "float" }, "Height": { "type": "float" }, "Left": { "type": "float" }, "Top": { "type": "float" } } }, "Sf": { "type": "structure", "members": { "BoundingBox": { "shape": "Sb" }, "Confidence": { "type": "float" }, "Landmarks": { "shape": "Sg" }, "Pose": { "shape": "Sj" }, "Quality": { "shape": "Sl" } } }, "Sg": { "type": "list", "member": { "type": "structure", "members": { "Type": {}, "X": { "type": "float" }, "Y": { "type": "float" } } } }, "Sj": { "type": "structure", "members": { "Roll": { "type": "float" }, "Yaw": { "type": "float" }, "Pitch": { "type": "float" } } }, "Sl": { "type": "structure", "members": { "Brightness": { "type": "float" }, "Sharpness": { "type": "float" } } }, "Sw": { "type": "list", "member": {} }, "S10": { "type": "list", "member": {} }, "S14": { "type": "structure", "members": { "BoundingBox": { "shape": "Sb" }, "AgeRange": { "type": "structure", "members": { "Low": { "type": "integer" }, "High": { "type": "integer" } } }, "Smile": { "type": "structure", "members": { "Value": { "type": "boolean" }, "Confidence": { "type": "float" } } }, "Eyeglasses": { "type": "structure", "members": { "Value": { "type": "boolean" }, "Confidence": { "type": "float" } } }, "Sunglasses": { "type": "structure", "members": { "Value": { "type": "boolean" }, "Confidence": { "type": "float" } } }, "Gender": { "type": "structure", "members": { "Value": {}, "Confidence": { "type": "float" } } }, "Beard": { "type": "structure", "members": { "Value": { "type": "boolean" }, "Confidence": { "type": "float" } } }, "Mustache": { "type": "structure", "members": { "Value": { "type": "boolean" }, "Confidence": { "type": "float" } } }, "EyesOpen": { "type": "structure", "members": { "Value": { "type": "boolean" }, "Confidence": { "type": "float" } } }, "MouthOpen": { "type": "structure", "members": { "Value": { "type": "boolean" }, "Confidence": { "type": "float" } } }, "Emotions": { "type": "list", "member": { "type": "structure", "members": { "Type": {}, "Confidence": { "type": "float" } } } }, "Landmarks": { "shape": "Sg" }, "Pose": { "shape": "Sj" }, "Quality": { "shape": "Sl" }, "Confidence": { "type": "float" } } }, "S1u": { "type": "list", "member": {} }, "S21": { "type": "structure", "members": { "FaceId": {}, "BoundingBox": { "shape": "Sb" }, "ImageId": {}, "ExternalImageId": {}, "Confidence": { "type": "float" } } }, "S2j": { "type": "list", "member": { "type": "structure", "members": { "Similarity": { "type": "float" }, "Face": { "shape": "S21" } } } } } } },{}],130:[function(require,module,exports){ module.exports={ "pagination": { "ListCollections": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken", "result_key": "CollectionIds" }, "ListFaces": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken", "result_key": "Faces" } } } },{}],131:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2013-04-01", "endpointPrefix": "route53", "globalEndpoint": "route53.amazonaws.com", "protocol": "rest-xml", "serviceAbbreviation": "Route 53", "serviceFullName": "Amazon Route 53", "signatureVersion": "v4", "uid": "route53-2013-04-01" }, "operations": { "AssociateVPCWithHostedZone": { "http": { "requestUri": "/2013-04-01/hostedzone/{Id}/associatevpc" }, "input": { "locationName": "AssociateVPCWithHostedZoneRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "HostedZoneId", "VPC" ], "members": { "HostedZoneId": { "location": "uri", "locationName": "Id" }, "VPC": { "shape": "S3" }, "Comment": {} } }, "output": { "type": "structure", "required": [ "ChangeInfo" ], "members": { "ChangeInfo": { "shape": "S8" } } } }, "ChangeResourceRecordSets": { "http": { "requestUri": "/2013-04-01/hostedzone/{Id}/rrset/" }, "input": { "locationName": "ChangeResourceRecordSetsRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "HostedZoneId", "ChangeBatch" ], "members": { "HostedZoneId": { "location": "uri", "locationName": "Id" }, "ChangeBatch": { "type": "structure", "required": [ "Changes" ], "members": { "Comment": {}, "Changes": { "type": "list", "member": { "locationName": "Change", "type": "structure", "required": [ "Action", "ResourceRecordSet" ], "members": { "Action": {}, "ResourceRecordSet": { "shape": "Sh" } } } } } } } }, "output": { "type": "structure", "required": [ "ChangeInfo" ], "members": { "ChangeInfo": { "shape": "S8" } } } }, "ChangeTagsForResource": { "http": { "requestUri": "/2013-04-01/tags/{ResourceType}/{ResourceId}" }, "input": { "locationName": "ChangeTagsForResourceRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "ResourceType", "ResourceId" ], "members": { "ResourceType": { "location": "uri", "locationName": "ResourceType" }, "ResourceId": { "location": "uri", "locationName": "ResourceId" }, "AddTags": { "shape": "S15" }, "RemoveTagKeys": { "type": "list", "member": { "locationName": "Key" } } } }, "output": { "type": "structure", "members": {} } }, "CreateHealthCheck": { "http": { "requestUri": "/2013-04-01/healthcheck", "responseCode": 201 }, "input": { "locationName": "CreateHealthCheckRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "CallerReference", "HealthCheckConfig" ], "members": { "CallerReference": {}, "HealthCheckConfig": { "shape": "S1d" } } }, "output": { "type": "structure", "required": [ "HealthCheck", "Location" ], "members": { "HealthCheck": { "shape": "S1y" }, "Location": { "location": "header", "locationName": "Location" } } } }, "CreateHostedZone": { "http": { "requestUri": "/2013-04-01/hostedzone", "responseCode": 201 }, "input": { "locationName": "CreateHostedZoneRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "Name", "CallerReference" ], "members": { "Name": {}, "VPC": { "shape": "S3" }, "CallerReference": {}, "HostedZoneConfig": { "shape": "S2e" }, "DelegationSetId": {} } }, "output": { "type": "structure", "required": [ "HostedZone", "ChangeInfo", "DelegationSet", "Location" ], "members": { "HostedZone": { "shape": "S2h" }, "ChangeInfo": { "shape": "S8" }, "DelegationSet": { "shape": "S2j" }, "VPC": { "shape": "S3" }, "Location": { "location": "header", "locationName": "Location" } } } }, "CreateReusableDelegationSet": { "http": { "requestUri": "/2013-04-01/delegationset", "responseCode": 201 }, "input": { "locationName": "CreateReusableDelegationSetRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "CallerReference" ], "members": { "CallerReference": {}, "HostedZoneId": {} } }, "output": { "type": "structure", "required": [ "DelegationSet", "Location" ], "members": { "DelegationSet": { "shape": "S2j" }, "Location": { "location": "header", "locationName": "Location" } } } }, "CreateTrafficPolicy": { "http": { "requestUri": "/2013-04-01/trafficpolicy", "responseCode": 201 }, "input": { "locationName": "CreateTrafficPolicyRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "Name", "Document" ], "members": { "Name": {}, "Document": {}, "Comment": {} } }, "output": { "type": "structure", "required": [ "TrafficPolicy", "Location" ], "members": { "TrafficPolicy": { "shape": "S2s" }, "Location": { "location": "header", "locationName": "Location" } } } }, "CreateTrafficPolicyInstance": { "http": { "requestUri": "/2013-04-01/trafficpolicyinstance", "responseCode": 201 }, "input": { "locationName": "CreateTrafficPolicyInstanceRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "HostedZoneId", "Name", "TTL", "TrafficPolicyId", "TrafficPolicyVersion" ], "members": { "HostedZoneId": {}, "Name": {}, "TTL": { "type": "long" }, "TrafficPolicyId": {}, "TrafficPolicyVersion": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "TrafficPolicyInstance", "Location" ], "members": { "TrafficPolicyInstance": { "shape": "S2x" }, "Location": { "location": "header", "locationName": "Location" } } } }, "CreateTrafficPolicyVersion": { "http": { "requestUri": "/2013-04-01/trafficpolicy/{Id}", "responseCode": 201 }, "input": { "locationName": "CreateTrafficPolicyVersionRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "Id", "Document" ], "members": { "Id": { "location": "uri", "locationName": "Id" }, "Document": {}, "Comment": {} } }, "output": { "type": "structure", "required": [ "TrafficPolicy", "Location" ], "members": { "TrafficPolicy": { "shape": "S2s" }, "Location": { "location": "header", "locationName": "Location" } } } }, "CreateVPCAssociationAuthorization": { "http": { "requestUri": "/2013-04-01/hostedzone/{Id}/authorizevpcassociation" }, "input": { "locationName": "CreateVPCAssociationAuthorizationRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "HostedZoneId", "VPC" ], "members": { "HostedZoneId": { "location": "uri", "locationName": "Id" }, "VPC": { "shape": "S3" } } }, "output": { "type": "structure", "required": [ "HostedZoneId", "VPC" ], "members": { "HostedZoneId": {}, "VPC": { "shape": "S3" } } } }, "DeleteHealthCheck": { "http": { "method": "DELETE", "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" }, "input": { "type": "structure", "required": [ "HealthCheckId" ], "members": { "HealthCheckId": { "location": "uri", "locationName": "HealthCheckId" } } }, "output": { "type": "structure", "members": {} } }, "DeleteHostedZone": { "http": { "method": "DELETE", "requestUri": "/2013-04-01/hostedzone/{Id}" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "required": [ "ChangeInfo" ], "members": { "ChangeInfo": { "shape": "S8" } } } }, "DeleteReusableDelegationSet": { "http": { "method": "DELETE", "requestUri": "/2013-04-01/delegationset/{Id}" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "members": {} } }, "DeleteTrafficPolicy": { "http": { "method": "DELETE", "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" }, "input": { "type": "structure", "required": [ "Id", "Version" ], "members": { "Id": { "location": "uri", "locationName": "Id" }, "Version": { "location": "uri", "locationName": "Version", "type": "integer" } } }, "output": { "type": "structure", "members": {} } }, "DeleteTrafficPolicyInstance": { "http": { "method": "DELETE", "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "members": {} } }, "DeleteVPCAssociationAuthorization": { "http": { "requestUri": "/2013-04-01/hostedzone/{Id}/deauthorizevpcassociation" }, "input": { "locationName": "DeleteVPCAssociationAuthorizationRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "HostedZoneId", "VPC" ], "members": { "HostedZoneId": { "location": "uri", "locationName": "Id" }, "VPC": { "shape": "S3" } } }, "output": { "type": "structure", "members": {} } }, "DisassociateVPCFromHostedZone": { "http": { "requestUri": "/2013-04-01/hostedzone/{Id}/disassociatevpc" }, "input": { "locationName": "DisassociateVPCFromHostedZoneRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "HostedZoneId", "VPC" ], "members": { "HostedZoneId": { "location": "uri", "locationName": "Id" }, "VPC": { "shape": "S3" }, "Comment": {} } }, "output": { "type": "structure", "required": [ "ChangeInfo" ], "members": { "ChangeInfo": { "shape": "S8" } } } }, "GetChange": { "http": { "method": "GET", "requestUri": "/2013-04-01/change/{Id}" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "required": [ "ChangeInfo" ], "members": { "ChangeInfo": { "shape": "S8" } } } }, "GetCheckerIpRanges": { "http": { "method": "GET", "requestUri": "/2013-04-01/checkeripranges" }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "required": [ "CheckerIpRanges" ], "members": { "CheckerIpRanges": { "type": "list", "member": {} } } } }, "GetGeoLocation": { "http": { "method": "GET", "requestUri": "/2013-04-01/geolocation" }, "input": { "type": "structure", "members": { "ContinentCode": { "location": "querystring", "locationName": "continentcode" }, "CountryCode": { "location": "querystring", "locationName": "countrycode" }, "SubdivisionCode": { "location": "querystring", "locationName": "subdivisioncode" } } }, "output": { "type": "structure", "required": [ "GeoLocationDetails" ], "members": { "GeoLocationDetails": { "shape": "S3r" } } } }, "GetHealthCheck": { "http": { "method": "GET", "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" }, "input": { "type": "structure", "required": [ "HealthCheckId" ], "members": { "HealthCheckId": { "location": "uri", "locationName": "HealthCheckId" } } }, "output": { "type": "structure", "required": [ "HealthCheck" ], "members": { "HealthCheck": { "shape": "S1y" } } } }, "GetHealthCheckCount": { "http": { "method": "GET", "requestUri": "/2013-04-01/healthcheckcount" }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "required": [ "HealthCheckCount" ], "members": { "HealthCheckCount": { "type": "long" } } } }, "GetHealthCheckLastFailureReason": { "http": { "method": "GET", "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason" }, "input": { "type": "structure", "required": [ "HealthCheckId" ], "members": { "HealthCheckId": { "location": "uri", "locationName": "HealthCheckId" } } }, "output": { "type": "structure", "required": [ "HealthCheckObservations" ], "members": { "HealthCheckObservations": { "shape": "S42" } } } }, "GetHealthCheckStatus": { "http": { "method": "GET", "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}/status" }, "input": { "type": "structure", "required": [ "HealthCheckId" ], "members": { "HealthCheckId": { "location": "uri", "locationName": "HealthCheckId" } } }, "output": { "type": "structure", "required": [ "HealthCheckObservations" ], "members": { "HealthCheckObservations": { "shape": "S42" } } } }, "GetHostedZone": { "http": { "method": "GET", "requestUri": "/2013-04-01/hostedzone/{Id}" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "required": [ "HostedZone" ], "members": { "HostedZone": { "shape": "S2h" }, "DelegationSet": { "shape": "S2j" }, "VPCs": { "shape": "S4a" } } } }, "GetHostedZoneCount": { "http": { "method": "GET", "requestUri": "/2013-04-01/hostedzonecount" }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "required": [ "HostedZoneCount" ], "members": { "HostedZoneCount": { "type": "long" } } } }, "GetReusableDelegationSet": { "http": { "method": "GET", "requestUri": "/2013-04-01/delegationset/{Id}" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "required": [ "DelegationSet" ], "members": { "DelegationSet": { "shape": "S2j" } } } }, "GetTrafficPolicy": { "http": { "method": "GET", "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" }, "input": { "type": "structure", "required": [ "Id", "Version" ], "members": { "Id": { "location": "uri", "locationName": "Id" }, "Version": { "location": "uri", "locationName": "Version", "type": "integer" } } }, "output": { "type": "structure", "required": [ "TrafficPolicy" ], "members": { "TrafficPolicy": { "shape": "S2s" } } } }, "GetTrafficPolicyInstance": { "http": { "method": "GET", "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" } } }, "output": { "type": "structure", "required": [ "TrafficPolicyInstance" ], "members": { "TrafficPolicyInstance": { "shape": "S2x" } } } }, "GetTrafficPolicyInstanceCount": { "http": { "method": "GET", "requestUri": "/2013-04-01/trafficpolicyinstancecount" }, "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "required": [ "TrafficPolicyInstanceCount" ], "members": { "TrafficPolicyInstanceCount": { "type": "integer" } } } }, "ListGeoLocations": { "http": { "method": "GET", "requestUri": "/2013-04-01/geolocations" }, "input": { "type": "structure", "members": { "StartContinentCode": { "location": "querystring", "locationName": "startcontinentcode" }, "StartCountryCode": { "location": "querystring", "locationName": "startcountrycode" }, "StartSubdivisionCode": { "location": "querystring", "locationName": "startsubdivisioncode" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" } } }, "output": { "type": "structure", "required": [ "GeoLocationDetailsList", "IsTruncated", "MaxItems" ], "members": { "GeoLocationDetailsList": { "type": "list", "member": { "shape": "S3r", "locationName": "GeoLocationDetails" } }, "IsTruncated": { "type": "boolean" }, "NextContinentCode": {}, "NextCountryCode": {}, "NextSubdivisionCode": {}, "MaxItems": {} } } }, "ListHealthChecks": { "http": { "method": "GET", "requestUri": "/2013-04-01/healthcheck" }, "input": { "type": "structure", "members": { "Marker": { "location": "querystring", "locationName": "marker" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" } } }, "output": { "type": "structure", "required": [ "HealthChecks", "Marker", "IsTruncated", "MaxItems" ], "members": { "HealthChecks": { "type": "list", "member": { "shape": "S1y", "locationName": "HealthCheck" } }, "Marker": {}, "IsTruncated": { "type": "boolean" }, "NextMarker": {}, "MaxItems": {} } } }, "ListHostedZones": { "http": { "method": "GET", "requestUri": "/2013-04-01/hostedzone" }, "input": { "type": "structure", "members": { "Marker": { "location": "querystring", "locationName": "marker" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" }, "DelegationSetId": { "location": "querystring", "locationName": "delegationsetid" } } }, "output": { "type": "structure", "required": [ "HostedZones", "Marker", "IsTruncated", "MaxItems" ], "members": { "HostedZones": { "shape": "S4y" }, "Marker": {}, "IsTruncated": { "type": "boolean" }, "NextMarker": {}, "MaxItems": {} } } }, "ListHostedZonesByName": { "http": { "method": "GET", "requestUri": "/2013-04-01/hostedzonesbyname" }, "input": { "type": "structure", "members": { "DNSName": { "location": "querystring", "locationName": "dnsname" }, "HostedZoneId": { "location": "querystring", "locationName": "hostedzoneid" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" } } }, "output": { "type": "structure", "required": [ "HostedZones", "IsTruncated", "MaxItems" ], "members": { "HostedZones": { "shape": "S4y" }, "DNSName": {}, "HostedZoneId": {}, "IsTruncated": { "type": "boolean" }, "NextDNSName": {}, "NextHostedZoneId": {}, "MaxItems": {} } } }, "ListResourceRecordSets": { "http": { "method": "GET", "requestUri": "/2013-04-01/hostedzone/{Id}/rrset" }, "input": { "type": "structure", "required": [ "HostedZoneId" ], "members": { "HostedZoneId": { "location": "uri", "locationName": "Id" }, "StartRecordName": { "location": "querystring", "locationName": "name" }, "StartRecordType": { "location": "querystring", "locationName": "type" }, "StartRecordIdentifier": { "location": "querystring", "locationName": "identifier" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" } } }, "output": { "type": "structure", "required": [ "ResourceRecordSets", "IsTruncated", "MaxItems" ], "members": { "ResourceRecordSets": { "type": "list", "member": { "shape": "Sh", "locationName": "ResourceRecordSet" } }, "IsTruncated": { "type": "boolean" }, "NextRecordName": {}, "NextRecordType": {}, "NextRecordIdentifier": {}, "MaxItems": {} } } }, "ListReusableDelegationSets": { "http": { "method": "GET", "requestUri": "/2013-04-01/delegationset" }, "input": { "type": "structure", "members": { "Marker": { "location": "querystring", "locationName": "marker" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" } } }, "output": { "type": "structure", "required": [ "DelegationSets", "Marker", "IsTruncated", "MaxItems" ], "members": { "DelegationSets": { "type": "list", "member": { "shape": "S2j", "locationName": "DelegationSet" } }, "Marker": {}, "IsTruncated": { "type": "boolean" }, "NextMarker": {}, "MaxItems": {} } } }, "ListTagsForResource": { "http": { "method": "GET", "requestUri": "/2013-04-01/tags/{ResourceType}/{ResourceId}" }, "input": { "type": "structure", "required": [ "ResourceType", "ResourceId" ], "members": { "ResourceType": { "location": "uri", "locationName": "ResourceType" }, "ResourceId": { "location": "uri", "locationName": "ResourceId" } } }, "output": { "type": "structure", "required": [ "ResourceTagSet" ], "members": { "ResourceTagSet": { "shape": "S59" } } } }, "ListTagsForResources": { "http": { "requestUri": "/2013-04-01/tags/{ResourceType}" }, "input": { "locationName": "ListTagsForResourcesRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "ResourceType", "ResourceIds" ], "members": { "ResourceType": { "location": "uri", "locationName": "ResourceType" }, "ResourceIds": { "type": "list", "member": { "locationName": "ResourceId" } } } }, "output": { "type": "structure", "required": [ "ResourceTagSets" ], "members": { "ResourceTagSets": { "type": "list", "member": { "shape": "S59", "locationName": "ResourceTagSet" } } } } }, "ListTrafficPolicies": { "http": { "method": "GET", "requestUri": "/2013-04-01/trafficpolicies" }, "input": { "type": "structure", "members": { "TrafficPolicyIdMarker": { "location": "querystring", "locationName": "trafficpolicyid" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" } } }, "output": { "type": "structure", "required": [ "TrafficPolicySummaries", "IsTruncated", "TrafficPolicyIdMarker", "MaxItems" ], "members": { "TrafficPolicySummaries": { "type": "list", "member": { "locationName": "TrafficPolicySummary", "type": "structure", "required": [ "Id", "Name", "Type", "LatestVersion", "TrafficPolicyCount" ], "members": { "Id": {}, "Name": {}, "Type": {}, "LatestVersion": { "type": "integer" }, "TrafficPolicyCount": { "type": "integer" } } } }, "IsTruncated": { "type": "boolean" }, "TrafficPolicyIdMarker": {}, "MaxItems": {} } } }, "ListTrafficPolicyInstances": { "http": { "method": "GET", "requestUri": "/2013-04-01/trafficpolicyinstances" }, "input": { "type": "structure", "members": { "HostedZoneIdMarker": { "location": "querystring", "locationName": "hostedzoneid" }, "TrafficPolicyInstanceNameMarker": { "location": "querystring", "locationName": "trafficpolicyinstancename" }, "TrafficPolicyInstanceTypeMarker": { "location": "querystring", "locationName": "trafficpolicyinstancetype" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" } } }, "output": { "type": "structure", "required": [ "TrafficPolicyInstances", "IsTruncated", "MaxItems" ], "members": { "TrafficPolicyInstances": { "shape": "S5k" }, "HostedZoneIdMarker": {}, "TrafficPolicyInstanceNameMarker": {}, "TrafficPolicyInstanceTypeMarker": {}, "IsTruncated": { "type": "boolean" }, "MaxItems": {} } } }, "ListTrafficPolicyInstancesByHostedZone": { "http": { "method": "GET", "requestUri": "/2013-04-01/trafficpolicyinstances/hostedzone" }, "input": { "type": "structure", "required": [ "HostedZoneId" ], "members": { "HostedZoneId": { "location": "querystring", "locationName": "id" }, "TrafficPolicyInstanceNameMarker": { "location": "querystring", "locationName": "trafficpolicyinstancename" }, "TrafficPolicyInstanceTypeMarker": { "location": "querystring", "locationName": "trafficpolicyinstancetype" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" } } }, "output": { "type": "structure", "required": [ "TrafficPolicyInstances", "IsTruncated", "MaxItems" ], "members": { "TrafficPolicyInstances": { "shape": "S5k" }, "TrafficPolicyInstanceNameMarker": {}, "TrafficPolicyInstanceTypeMarker": {}, "IsTruncated": { "type": "boolean" }, "MaxItems": {} } } }, "ListTrafficPolicyInstancesByPolicy": { "http": { "method": "GET", "requestUri": "/2013-04-01/trafficpolicyinstances/trafficpolicy" }, "input": { "type": "structure", "required": [ "TrafficPolicyId", "TrafficPolicyVersion" ], "members": { "TrafficPolicyId": { "location": "querystring", "locationName": "id" }, "TrafficPolicyVersion": { "location": "querystring", "locationName": "version", "type": "integer" }, "HostedZoneIdMarker": { "location": "querystring", "locationName": "hostedzoneid" }, "TrafficPolicyInstanceNameMarker": { "location": "querystring", "locationName": "trafficpolicyinstancename" }, "TrafficPolicyInstanceTypeMarker": { "location": "querystring", "locationName": "trafficpolicyinstancetype" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" } } }, "output": { "type": "structure", "required": [ "TrafficPolicyInstances", "IsTruncated", "MaxItems" ], "members": { "TrafficPolicyInstances": { "shape": "S5k" }, "HostedZoneIdMarker": {}, "TrafficPolicyInstanceNameMarker": {}, "TrafficPolicyInstanceTypeMarker": {}, "IsTruncated": { "type": "boolean" }, "MaxItems": {} } } }, "ListTrafficPolicyVersions": { "http": { "method": "GET", "requestUri": "/2013-04-01/trafficpolicies/{Id}/versions" }, "input": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" }, "TrafficPolicyVersionMarker": { "location": "querystring", "locationName": "trafficpolicyversion" }, "MaxItems": { "location": "querystring", "locationName": "maxitems" } } }, "output": { "type": "structure", "required": [ "TrafficPolicies", "IsTruncated", "TrafficPolicyVersionMarker", "MaxItems" ], "members": { "TrafficPolicies": { "type": "list", "member": { "shape": "S2s", "locationName": "TrafficPolicy" } }, "IsTruncated": { "type": "boolean" }, "TrafficPolicyVersionMarker": {}, "MaxItems": {} } } }, "ListVPCAssociationAuthorizations": { "http": { "method": "GET", "requestUri": "/2013-04-01/hostedzone/{Id}/authorizevpcassociation" }, "input": { "type": "structure", "required": [ "HostedZoneId" ], "members": { "HostedZoneId": { "location": "uri", "locationName": "Id" }, "NextToken": { "location": "querystring", "locationName": "nexttoken" }, "MaxResults": { "location": "querystring", "locationName": "maxresults" } } }, "output": { "type": "structure", "required": [ "HostedZoneId", "VPCs" ], "members": { "HostedZoneId": {}, "NextToken": {}, "VPCs": { "shape": "S4a" } } } }, "TestDNSAnswer": { "http": { "method": "GET", "requestUri": "/2013-04-01/testdnsanswer" }, "input": { "type": "structure", "required": [ "HostedZoneId", "RecordName", "RecordType" ], "members": { "HostedZoneId": { "location": "querystring", "locationName": "hostedzoneid" }, "RecordName": { "location": "querystring", "locationName": "recordname" }, "RecordType": { "location": "querystring", "locationName": "recordtype" }, "ResolverIP": { "location": "querystring", "locationName": "resolverip" }, "EDNS0ClientSubnetIP": { "location": "querystring", "locationName": "edns0clientsubnetip" }, "EDNS0ClientSubnetMask": { "location": "querystring", "locationName": "edns0clientsubnetmask" } } }, "output": { "type": "structure", "required": [ "Nameserver", "RecordName", "RecordType", "RecordData", "ResponseCode", "Protocol" ], "members": { "Nameserver": {}, "RecordName": {}, "RecordType": {}, "RecordData": { "type": "list", "member": { "locationName": "RecordDataEntry" } }, "ResponseCode": {}, "Protocol": {} } } }, "UpdateHealthCheck": { "http": { "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" }, "input": { "locationName": "UpdateHealthCheckRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "HealthCheckId" ], "members": { "HealthCheckId": { "location": "uri", "locationName": "HealthCheckId" }, "HealthCheckVersion": { "type": "long" }, "IPAddress": {}, "Port": { "type": "integer" }, "ResourcePath": {}, "FullyQualifiedDomainName": {}, "SearchString": {}, "FailureThreshold": { "type": "integer" }, "Inverted": { "type": "boolean" }, "HealthThreshold": { "type": "integer" }, "ChildHealthChecks": { "shape": "S1p" }, "EnableSNI": { "type": "boolean" }, "Regions": { "shape": "S1r" }, "AlarmIdentifier": { "shape": "S1t" }, "InsufficientDataHealthStatus": {} } }, "output": { "type": "structure", "required": [ "HealthCheck" ], "members": { "HealthCheck": { "shape": "S1y" } } } }, "UpdateHostedZoneComment": { "http": { "requestUri": "/2013-04-01/hostedzone/{Id}" }, "input": { "locationName": "UpdateHostedZoneCommentRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "Id" ], "members": { "Id": { "location": "uri", "locationName": "Id" }, "Comment": {} } }, "output": { "type": "structure", "required": [ "HostedZone" ], "members": { "HostedZone": { "shape": "S2h" } } } }, "UpdateTrafficPolicyComment": { "http": { "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" }, "input": { "locationName": "UpdateTrafficPolicyCommentRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "Id", "Version", "Comment" ], "members": { "Id": { "location": "uri", "locationName": "Id" }, "Version": { "location": "uri", "locationName": "Version", "type": "integer" }, "Comment": {} } }, "output": { "type": "structure", "required": [ "TrafficPolicy" ], "members": { "TrafficPolicy": { "shape": "S2s" } } } }, "UpdateTrafficPolicyInstance": { "http": { "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" }, "input": { "locationName": "UpdateTrafficPolicyInstanceRequest", "xmlNamespace": { "uri": "https://route53.amazonaws.com/doc/2013-04-01/" }, "type": "structure", "required": [ "Id", "TTL", "TrafficPolicyId", "TrafficPolicyVersion" ], "members": { "Id": { "location": "uri", "locationName": "Id" }, "TTL": { "type": "long" }, "TrafficPolicyId": {}, "TrafficPolicyVersion": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "TrafficPolicyInstance" ], "members": { "TrafficPolicyInstance": { "shape": "S2x" } } } } }, "shapes": { "S3": { "type": "structure", "members": { "VPCRegion": {}, "VPCId": {} } }, "S8": { "type": "structure", "required": [ "Id", "Status", "SubmittedAt" ], "members": { "Id": {}, "Status": {}, "SubmittedAt": { "type": "timestamp" }, "Comment": {} } }, "Sh": { "type": "structure", "required": [ "Name", "Type" ], "members": { "Name": {}, "Type": {}, "SetIdentifier": {}, "Weight": { "type": "long" }, "Region": {}, "GeoLocation": { "type": "structure", "members": { "ContinentCode": {}, "CountryCode": {}, "SubdivisionCode": {} } }, "Failover": {}, "MultiValueAnswer": { "type": "boolean" }, "TTL": { "type": "long" }, "ResourceRecords": { "type": "list", "member": { "locationName": "ResourceRecord", "type": "structure", "required": [ "Value" ], "members": { "Value": {} } } }, "AliasTarget": { "type": "structure", "required": [ "HostedZoneId", "DNSName", "EvaluateTargetHealth" ], "members": { "HostedZoneId": {}, "DNSName": {}, "EvaluateTargetHealth": { "type": "boolean" } } }, "HealthCheckId": {}, "TrafficPolicyInstanceId": {} } }, "S15": { "type": "list", "member": { "locationName": "Tag", "type": "structure", "members": { "Key": {}, "Value": {} } } }, "S1d": { "type": "structure", "required": [ "Type" ], "members": { "IPAddress": {}, "Port": { "type": "integer" }, "Type": {}, "ResourcePath": {}, "FullyQualifiedDomainName": {}, "SearchString": {}, "RequestInterval": { "type": "integer" }, "FailureThreshold": { "type": "integer" }, "MeasureLatency": { "type": "boolean" }, "Inverted": { "type": "boolean" }, "HealthThreshold": { "type": "integer" }, "ChildHealthChecks": { "shape": "S1p" }, "EnableSNI": { "type": "boolean" }, "Regions": { "shape": "S1r" }, "AlarmIdentifier": { "shape": "S1t" }, "InsufficientDataHealthStatus": {} } }, "S1p": { "type": "list", "member": { "locationName": "ChildHealthCheck" } }, "S1r": { "type": "list", "member": { "locationName": "Region" } }, "S1t": { "type": "structure", "required": [ "Region", "Name" ], "members": { "Region": {}, "Name": {} } }, "S1y": { "type": "structure", "required": [ "Id", "CallerReference", "HealthCheckConfig", "HealthCheckVersion" ], "members": { "Id": {}, "CallerReference": {}, "HealthCheckConfig": { "shape": "S1d" }, "HealthCheckVersion": { "type": "long" }, "CloudWatchAlarmConfiguration": { "type": "structure", "required": [ "EvaluationPeriods", "Threshold", "ComparisonOperator", "Period", "MetricName", "Namespace", "Statistic" ], "members": { "EvaluationPeriods": { "type": "integer" }, "Threshold": { "type": "double" }, "ComparisonOperator": {}, "Period": { "type": "integer" }, "MetricName": {}, "Namespace": {}, "Statistic": {}, "Dimensions": { "type": "list", "member": { "locationName": "Dimension", "type": "structure", "required": [ "Name", "Value" ], "members": { "Name": {}, "Value": {} } } } } } } }, "S2e": { "type": "structure", "members": { "Comment": {}, "PrivateZone": { "type": "boolean" } } }, "S2h": { "type": "structure", "required": [ "Id", "Name", "CallerReference" ], "members": { "Id": {}, "Name": {}, "CallerReference": {}, "Config": { "shape": "S2e" }, "ResourceRecordSetCount": { "type": "long" } } }, "S2j": { "type": "structure", "required": [ "NameServers" ], "members": { "Id": {}, "CallerReference": {}, "NameServers": { "type": "list", "member": { "locationName": "NameServer" } } } }, "S2s": { "type": "structure", "required": [ "Id", "Version", "Name", "Type", "Document" ], "members": { "Id": {}, "Version": { "type": "integer" }, "Name": {}, "Type": {}, "Document": {}, "Comment": {} } }, "S2x": { "type": "structure", "required": [ "Id", "HostedZoneId", "Name", "TTL", "State", "Message", "TrafficPolicyId", "TrafficPolicyVersion", "TrafficPolicyType" ], "members": { "Id": {}, "HostedZoneId": {}, "Name": {}, "TTL": { "type": "long" }, "State": {}, "Message": {}, "TrafficPolicyId": {}, "TrafficPolicyVersion": { "type": "integer" }, "TrafficPolicyType": {} } }, "S3r": { "type": "structure", "members": { "ContinentCode": {}, "ContinentName": {}, "CountryCode": {}, "CountryName": {}, "SubdivisionCode": {}, "SubdivisionName": {} } }, "S42": { "type": "list", "member": { "locationName": "HealthCheckObservation", "type": "structure", "members": { "Region": {}, "IPAddress": {}, "StatusReport": { "type": "structure", "members": { "Status": {}, "CheckedTime": { "type": "timestamp" } } } } } }, "S4a": { "type": "list", "member": { "shape": "S3", "locationName": "VPC" } }, "S4y": { "type": "list", "member": { "shape": "S2h", "locationName": "HostedZone" } }, "S59": { "type": "structure", "members": { "ResourceType": {}, "ResourceId": {}, "Tags": { "shape": "S15" } } }, "S5k": { "type": "list", "member": { "shape": "S2x", "locationName": "TrafficPolicyInstance" } } } } },{}],132:[function(require,module,exports){ module.exports={ "pagination": { "ListHealthChecks": { "input_token": "Marker", "limit_key": "MaxItems", "more_results": "IsTruncated", "output_token": "NextMarker", "result_key": "HealthChecks" }, "ListHostedZones": { "input_token": "Marker", "limit_key": "MaxItems", "more_results": "IsTruncated", "output_token": "NextMarker", "result_key": "HostedZones" }, "ListResourceRecordSets": { "input_token": [ "StartRecordName", "StartRecordType", "StartRecordIdentifier" ], "limit_key": "MaxItems", "more_results": "IsTruncated", "output_token": [ "NextRecordName", "NextRecordType", "NextRecordIdentifier" ], "result_key": "ResourceRecordSets" } } } },{}],133:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "ResourceRecordSetsChanged": { "delay": 30, "maxAttempts": 60, "operation": "GetChange", "acceptors": [ { "matcher": "path", "expected": "INSYNC", "argument": "ChangeInfo.Status", "state": "success" } ] } } } },{}],134:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2014-05-15", "endpointPrefix": "route53domains", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "Amazon Route 53 Domains", "signatureVersion": "v4", "targetPrefix": "Route53Domains_v20140515", "uid": "route53domains-2014-05-15" }, "operations": { "CheckDomainAvailability": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {}, "IdnLangCode": {} } }, "output": { "type": "structure", "required": [ "Availability" ], "members": { "Availability": {} } } }, "DeleteTagsForDomain": { "input": { "type": "structure", "required": [ "DomainName", "TagsToDelete" ], "members": { "DomainName": {}, "TagsToDelete": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": {} } }, "DisableDomainAutoRenew": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {} } }, "output": { "type": "structure", "members": {} } }, "DisableDomainTransferLock": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {} } }, "output": { "type": "structure", "required": [ "OperationId" ], "members": { "OperationId": {} } } }, "EnableDomainAutoRenew": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {} } }, "output": { "type": "structure", "members": {} } }, "EnableDomainTransferLock": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {} } }, "output": { "type": "structure", "required": [ "OperationId" ], "members": { "OperationId": {} } } }, "GetContactReachabilityStatus": { "input": { "type": "structure", "members": { "domainName": {} } }, "output": { "type": "structure", "members": { "domainName": {}, "status": {} } } }, "GetDomainDetail": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {} } }, "output": { "type": "structure", "required": [ "DomainName", "Nameservers", "AdminContact", "RegistrantContact", "TechContact" ], "members": { "DomainName": {}, "Nameservers": { "shape": "So" }, "AutoRenew": { "type": "boolean" }, "AdminContact": { "shape": "Su" }, "RegistrantContact": { "shape": "Su" }, "TechContact": { "shape": "Su" }, "AdminPrivacy": { "type": "boolean" }, "RegistrantPrivacy": { "type": "boolean" }, "TechPrivacy": { "type": "boolean" }, "RegistrarName": {}, "WhoIsServer": {}, "RegistrarUrl": {}, "AbuseContactEmail": {}, "AbuseContactPhone": {}, "RegistryDomainId": {}, "CreationDate": { "type": "timestamp" }, "UpdatedDate": { "type": "timestamp" }, "ExpirationDate": { "type": "timestamp" }, "Reseller": {}, "DnsSec": {}, "StatusList": { "type": "list", "member": {} } } } }, "GetDomainSuggestions": { "input": { "type": "structure", "required": [ "DomainName", "SuggestionCount", "OnlyAvailable" ], "members": { "DomainName": {}, "SuggestionCount": { "type": "integer" }, "OnlyAvailable": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "SuggestionsList": { "type": "list", "member": { "type": "structure", "members": { "DomainName": {}, "Availability": {} } } } } } }, "GetOperationDetail": { "input": { "type": "structure", "required": [ "OperationId" ], "members": { "OperationId": {} } }, "output": { "type": "structure", "members": { "OperationId": {}, "Status": {}, "Message": {}, "DomainName": {}, "Type": {}, "SubmittedDate": { "type": "timestamp" } } } }, "ListDomains": { "input": { "type": "structure", "members": { "Marker": {}, "MaxItems": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "Domains" ], "members": { "Domains": { "type": "list", "member": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {}, "AutoRenew": { "type": "boolean" }, "TransferLock": { "type": "boolean" }, "Expiry": { "type": "timestamp" } } } }, "NextPageMarker": {} } } }, "ListOperations": { "input": { "type": "structure", "members": { "Marker": {}, "MaxItems": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "Operations" ], "members": { "Operations": { "type": "list", "member": { "type": "structure", "required": [ "OperationId", "Status", "Type", "SubmittedDate" ], "members": { "OperationId": {}, "Status": {}, "Type": {}, "SubmittedDate": { "type": "timestamp" } } } }, "NextPageMarker": {} } } }, "ListTagsForDomain": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {} } }, "output": { "type": "structure", "required": [ "TagList" ], "members": { "TagList": { "shape": "S24" } } } }, "RegisterDomain": { "input": { "type": "structure", "required": [ "DomainName", "DurationInYears", "AdminContact", "RegistrantContact", "TechContact" ], "members": { "DomainName": {}, "IdnLangCode": {}, "DurationInYears": { "type": "integer" }, "AutoRenew": { "type": "boolean" }, "AdminContact": { "shape": "Su" }, "RegistrantContact": { "shape": "Su" }, "TechContact": { "shape": "Su" }, "PrivacyProtectAdminContact": { "type": "boolean" }, "PrivacyProtectRegistrantContact": { "type": "boolean" }, "PrivacyProtectTechContact": { "type": "boolean" } } }, "output": { "type": "structure", "required": [ "OperationId" ], "members": { "OperationId": {} } } }, "RenewDomain": { "input": { "type": "structure", "required": [ "DomainName", "CurrentExpiryYear" ], "members": { "DomainName": {}, "DurationInYears": { "type": "integer" }, "CurrentExpiryYear": { "type": "integer" } } }, "output": { "type": "structure", "required": [ "OperationId" ], "members": { "OperationId": {} } } }, "ResendContactReachabilityEmail": { "input": { "type": "structure", "members": { "domainName": {} } }, "output": { "type": "structure", "members": { "domainName": {}, "emailAddress": {}, "isAlreadyVerified": { "type": "boolean" } } } }, "RetrieveDomainAuthCode": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {} } }, "output": { "type": "structure", "required": [ "AuthCode" ], "members": { "AuthCode": { "shape": "S2h" } } } }, "TransferDomain": { "input": { "type": "structure", "required": [ "DomainName", "DurationInYears", "AdminContact", "RegistrantContact", "TechContact" ], "members": { "DomainName": {}, "IdnLangCode": {}, "DurationInYears": { "type": "integer" }, "Nameservers": { "shape": "So" }, "AuthCode": { "shape": "S2h" }, "AutoRenew": { "type": "boolean" }, "AdminContact": { "shape": "Su" }, "RegistrantContact": { "shape": "Su" }, "TechContact": { "shape": "Su" }, "PrivacyProtectAdminContact": { "type": "boolean" }, "PrivacyProtectRegistrantContact": { "type": "boolean" }, "PrivacyProtectTechContact": { "type": "boolean" } } }, "output": { "type": "structure", "required": [ "OperationId" ], "members": { "OperationId": {} } } }, "UpdateDomainContact": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {}, "AdminContact": { "shape": "Su" }, "RegistrantContact": { "shape": "Su" }, "TechContact": { "shape": "Su" } } }, "output": { "type": "structure", "required": [ "OperationId" ], "members": { "OperationId": {} } } }, "UpdateDomainContactPrivacy": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {}, "AdminPrivacy": { "type": "boolean" }, "RegistrantPrivacy": { "type": "boolean" }, "TechPrivacy": { "type": "boolean" } } }, "output": { "type": "structure", "required": [ "OperationId" ], "members": { "OperationId": {} } } }, "UpdateDomainNameservers": { "input": { "type": "structure", "required": [ "DomainName", "Nameservers" ], "members": { "DomainName": {}, "FIAuthKey": {}, "Nameservers": { "shape": "So" } } }, "output": { "type": "structure", "required": [ "OperationId" ], "members": { "OperationId": {} } } }, "UpdateTagsForDomain": { "input": { "type": "structure", "required": [ "DomainName" ], "members": { "DomainName": {}, "TagsToUpdate": { "shape": "S24" } } }, "output": { "type": "structure", "members": {} } }, "ViewBilling": { "input": { "type": "structure", "members": { "Start": { "type": "timestamp" }, "End": { "type": "timestamp" }, "Marker": {}, "MaxItems": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextPageMarker": {}, "BillingRecords": { "type": "list", "member": { "type": "structure", "members": { "DomainName": {}, "Operation": {}, "InvoiceId": {}, "BillDate": { "type": "timestamp" }, "Price": { "type": "double" } } } } } } } }, "shapes": { "So": { "type": "list", "member": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "GlueIps": { "type": "list", "member": {} } } } }, "Su": { "type": "structure", "members": { "FirstName": {}, "LastName": {}, "ContactType": {}, "OrganizationName": {}, "AddressLine1": {}, "AddressLine2": {}, "City": {}, "State": {}, "CountryCode": {}, "ZipCode": {}, "PhoneNumber": {}, "Email": {}, "Fax": {}, "ExtraParams": { "type": "list", "member": { "type": "structure", "required": [ "Name", "Value" ], "members": { "Name": {}, "Value": {} } } } }, "sensitive": true }, "S24": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } }, "S2h": { "type": "string", "sensitive": true } } } },{}],135:[function(require,module,exports){ module.exports={ "pagination": { "ListDomains": { "input_token": "Marker", "limit_key": "MaxItems", "output_token": "NextPageMarker", "result_key": "Domains" }, "ListOperations": { "input_token": "Marker", "limit_key": "MaxItems", "output_token": "NextPageMarker", "result_key": "Operations" } } } },{}],136:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2016-11-28", "endpointPrefix": "runtime.lex", "jsonVersion": "1.1", "protocol": "rest-json", "serviceFullName": "Amazon Lex Runtime Service", "signatureVersion": "v4", "signingName": "lex", "uid": "runtime.lex-2016-11-28" }, "operations": { "PostContent": { "http": { "requestUri": "/bot/{botName}/alias/{botAlias}/user/{userId}/content" }, "input": { "type": "structure", "required": [ "botName", "botAlias", "userId", "contentType", "inputStream" ], "members": { "botName": { "location": "uri", "locationName": "botName" }, "botAlias": { "location": "uri", "locationName": "botAlias" }, "userId": { "location": "uri", "locationName": "userId" }, "sessionAttributes": { "jsonvalue": true, "location": "header", "locationName": "x-amz-lex-session-attributes" }, "contentType": { "location": "header", "locationName": "Content-Type" }, "accept": { "location": "header", "locationName": "Accept" }, "inputStream": { "shape": "S8" } }, "payload": "inputStream" }, "output": { "type": "structure", "members": { "contentType": { "location": "header", "locationName": "Content-Type" }, "intentName": { "location": "header", "locationName": "x-amz-lex-intent-name" }, "slots": { "jsonvalue": true, "location": "header", "locationName": "x-amz-lex-slots" }, "sessionAttributes": { "jsonvalue": true, "location": "header", "locationName": "x-amz-lex-session-attributes" }, "message": { "location": "header", "locationName": "x-amz-lex-message" }, "dialogState": { "location": "header", "locationName": "x-amz-lex-dialog-state" }, "slotToElicit": { "location": "header", "locationName": "x-amz-lex-slot-to-elicit" }, "inputTranscript": { "location": "header", "locationName": "x-amz-lex-input-transcript" }, "audioStream": { "shape": "S8" } }, "payload": "audioStream" }, "authtype": "v4-unsigned-body" }, "PostText": { "http": { "requestUri": "/bot/{botName}/alias/{botAlias}/user/{userId}/text" }, "input": { "type": "structure", "required": [ "botName", "botAlias", "userId", "inputText" ], "members": { "botName": { "location": "uri", "locationName": "botName" }, "botAlias": { "location": "uri", "locationName": "botAlias" }, "userId": { "location": "uri", "locationName": "userId" }, "sessionAttributes": { "shape": "Se" }, "inputText": {} } }, "output": { "type": "structure", "members": { "intentName": {}, "slots": { "shape": "Se" }, "sessionAttributes": { "shape": "Se" }, "message": {}, "dialogState": {}, "slotToElicit": {}, "responseCard": { "type": "structure", "members": { "version": {}, "contentType": {}, "genericAttachments": { "type": "list", "member": { "type": "structure", "members": { "title": {}, "subTitle": {}, "attachmentLinkUrl": {}, "imageUrl": {}, "buttons": { "type": "list", "member": { "type": "structure", "required": [ "text", "value" ], "members": { "text": {}, "value": {} } } } } } } } } } } } }, "shapes": { "S8": { "type": "blob", "streaming": true }, "Se": { "type": "map", "key": {}, "value": {} } } } },{}],137:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],138:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2006-03-01", "checksumFormat": "md5", "endpointPrefix": "s3", "globalEndpoint": "s3.amazonaws.com", "protocol": "rest-xml", "serviceAbbreviation": "Amazon S3", "serviceFullName": "Amazon Simple Storage Service", "signatureVersion": "s3", "timestampFormat": "rfc822", "uid": "s3-2006-03-01" }, "operations": { "AbortMultipartUpload": { "http": { "method": "DELETE", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "Key", "UploadId" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "UploadId": { "location": "querystring", "locationName": "uploadId" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "CompleteMultipartUpload": { "http": { "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "Key", "UploadId" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "MultipartUpload": { "locationName": "CompleteMultipartUpload", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "members": { "Parts": { "locationName": "Part", "type": "list", "member": { "type": "structure", "members": { "ETag": {}, "PartNumber": { "type": "integer" } } }, "flattened": true } } }, "UploadId": { "location": "querystring", "locationName": "uploadId" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } }, "payload": "MultipartUpload" }, "output": { "type": "structure", "members": { "Location": {}, "Bucket": {}, "Key": {}, "Expiration": { "location": "header", "locationName": "x-amz-expiration" }, "ETag": {}, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "CopyObject": { "http": { "method": "PUT", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "CopySource", "Key" ], "members": { "ACL": { "location": "header", "locationName": "x-amz-acl" }, "Bucket": { "location": "uri", "locationName": "Bucket" }, "CacheControl": { "location": "header", "locationName": "Cache-Control" }, "ContentDisposition": { "location": "header", "locationName": "Content-Disposition" }, "ContentEncoding": { "location": "header", "locationName": "Content-Encoding" }, "ContentLanguage": { "location": "header", "locationName": "Content-Language" }, "ContentType": { "location": "header", "locationName": "Content-Type" }, "CopySource": { "location": "header", "locationName": "x-amz-copy-source" }, "CopySourceIfMatch": { "location": "header", "locationName": "x-amz-copy-source-if-match" }, "CopySourceIfModifiedSince": { "location": "header", "locationName": "x-amz-copy-source-if-modified-since", "type": "timestamp" }, "CopySourceIfNoneMatch": { "location": "header", "locationName": "x-amz-copy-source-if-none-match" }, "CopySourceIfUnmodifiedSince": { "location": "header", "locationName": "x-amz-copy-source-if-unmodified-since", "type": "timestamp" }, "Expires": { "location": "header", "locationName": "Expires", "type": "timestamp" }, "GrantFullControl": { "location": "header", "locationName": "x-amz-grant-full-control" }, "GrantRead": { "location": "header", "locationName": "x-amz-grant-read" }, "GrantReadACP": { "location": "header", "locationName": "x-amz-grant-read-acp" }, "GrantWriteACP": { "location": "header", "locationName": "x-amz-grant-write-acp" }, "Key": { "location": "uri", "locationName": "Key" }, "Metadata": { "shape": "S11", "location": "headers", "locationName": "x-amz-meta-" }, "MetadataDirective": { "location": "header", "locationName": "x-amz-metadata-directive" }, "TaggingDirective": { "location": "header", "locationName": "x-amz-tagging-directive" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "StorageClass": { "location": "header", "locationName": "x-amz-storage-class" }, "WebsiteRedirectLocation": { "location": "header", "locationName": "x-amz-website-redirect-location" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKey": { "shape": "S19", "location": "header", "locationName": "x-amz-server-side-encryption-customer-key" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "CopySourceSSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm" }, "CopySourceSSECustomerKey": { "shape": "S1c", "location": "header", "locationName": "x-amz-copy-source-server-side-encryption-customer-key" }, "CopySourceSSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" }, "Tagging": { "location": "header", "locationName": "x-amz-tagging" } } }, "output": { "type": "structure", "members": { "CopyObjectResult": { "type": "structure", "members": { "ETag": {}, "LastModified": { "type": "timestamp" } } }, "Expiration": { "location": "header", "locationName": "x-amz-expiration" }, "CopySourceVersionId": { "location": "header", "locationName": "x-amz-copy-source-version-id" }, "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } }, "payload": "CopyObjectResult" }, "alias": "PutObjectCopy" }, "CreateBucket": { "http": { "method": "PUT", "requestUri": "/{Bucket}" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "ACL": { "location": "header", "locationName": "x-amz-acl" }, "Bucket": { "location": "uri", "locationName": "Bucket" }, "CreateBucketConfiguration": { "locationName": "CreateBucketConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "members": { "LocationConstraint": {} } }, "GrantFullControl": { "location": "header", "locationName": "x-amz-grant-full-control" }, "GrantRead": { "location": "header", "locationName": "x-amz-grant-read" }, "GrantReadACP": { "location": "header", "locationName": "x-amz-grant-read-acp" }, "GrantWrite": { "location": "header", "locationName": "x-amz-grant-write" }, "GrantWriteACP": { "location": "header", "locationName": "x-amz-grant-write-acp" } }, "payload": "CreateBucketConfiguration" }, "output": { "type": "structure", "members": { "Location": { "location": "header", "locationName": "Location" } } }, "alias": "PutBucket" }, "CreateMultipartUpload": { "http": { "requestUri": "/{Bucket}/{Key+}?uploads" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "ACL": { "location": "header", "locationName": "x-amz-acl" }, "Bucket": { "location": "uri", "locationName": "Bucket" }, "CacheControl": { "location": "header", "locationName": "Cache-Control" }, "ContentDisposition": { "location": "header", "locationName": "Content-Disposition" }, "ContentEncoding": { "location": "header", "locationName": "Content-Encoding" }, "ContentLanguage": { "location": "header", "locationName": "Content-Language" }, "ContentType": { "location": "header", "locationName": "Content-Type" }, "Expires": { "location": "header", "locationName": "Expires", "type": "timestamp" }, "GrantFullControl": { "location": "header", "locationName": "x-amz-grant-full-control" }, "GrantRead": { "location": "header", "locationName": "x-amz-grant-read" }, "GrantReadACP": { "location": "header", "locationName": "x-amz-grant-read-acp" }, "GrantWriteACP": { "location": "header", "locationName": "x-amz-grant-write-acp" }, "Key": { "location": "uri", "locationName": "Key" }, "Metadata": { "shape": "S11", "location": "headers", "locationName": "x-amz-meta-" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "StorageClass": { "location": "header", "locationName": "x-amz-storage-class" }, "WebsiteRedirectLocation": { "location": "header", "locationName": "x-amz-website-redirect-location" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKey": { "shape": "S19", "location": "header", "locationName": "x-amz-server-side-encryption-customer-key" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "AbortDate": { "location": "header", "locationName": "x-amz-abort-date", "type": "timestamp" }, "AbortRuleId": { "location": "header", "locationName": "x-amz-abort-rule-id" }, "Bucket": { "locationName": "Bucket" }, "Key": {}, "UploadId": {}, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } }, "alias": "InitiateMultipartUpload" }, "DeleteBucket": { "http": { "method": "DELETE", "requestUri": "/{Bucket}" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketAnalyticsConfiguration": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?analytics" }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } } }, "DeleteBucketCors": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?cors" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketInventoryConfiguration": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?inventory" }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } } }, "DeleteBucketLifecycle": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?lifecycle" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketMetricsConfiguration": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?metrics" }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } } }, "DeleteBucketPolicy": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?policy" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketReplication": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?replication" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketTagging": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?tagging" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteBucketWebsite": { "http": { "method": "DELETE", "requestUri": "/{Bucket}?website" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "DeleteObject": { "http": { "method": "DELETE", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "MFA": { "location": "header", "locationName": "x-amz-mfa" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "DeleteMarker": { "location": "header", "locationName": "x-amz-delete-marker", "type": "boolean" }, "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "DeleteObjectTagging": { "http": { "method": "DELETE", "requestUri": "/{Bucket}/{Key+}?tagging" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "VersionId": { "location": "querystring", "locationName": "versionId" } } }, "output": { "type": "structure", "members": { "VersionId": { "location": "header", "locationName": "x-amz-version-id" } } } }, "DeleteObjects": { "http": { "requestUri": "/{Bucket}?delete" }, "input": { "type": "structure", "required": [ "Bucket", "Delete" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Delete": { "locationName": "Delete", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "required": [ "Objects" ], "members": { "Objects": { "locationName": "Object", "type": "list", "member": { "type": "structure", "required": [ "Key" ], "members": { "Key": {}, "VersionId": {} } }, "flattened": true }, "Quiet": { "type": "boolean" } } }, "MFA": { "location": "header", "locationName": "x-amz-mfa" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } }, "payload": "Delete" }, "output": { "type": "structure", "members": { "Deleted": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "VersionId": {}, "DeleteMarker": { "type": "boolean" }, "DeleteMarkerVersionId": {} } }, "flattened": true }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" }, "Errors": { "locationName": "Error", "type": "list", "member": { "type": "structure", "members": { "Key": {}, "VersionId": {}, "Code": {}, "Message": {} } }, "flattened": true } } }, "alias": "DeleteMultipleObjects" }, "GetBucketAccelerateConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?accelerate" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Status": {} } } }, "GetBucketAcl": { "http": { "method": "GET", "requestUri": "/{Bucket}?acl" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Owner": { "shape": "S2u" }, "Grants": { "shape": "S2x", "locationName": "AccessControlList" } } } }, "GetBucketAnalyticsConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?analytics" }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } }, "output": { "type": "structure", "members": { "AnalyticsConfiguration": { "shape": "S36" } }, "payload": "AnalyticsConfiguration" } }, "GetBucketCors": { "http": { "method": "GET", "requestUri": "/{Bucket}?cors" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "CORSRules": { "shape": "S3m", "locationName": "CORSRule" } } } }, "GetBucketInventoryConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?inventory" }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } }, "output": { "type": "structure", "members": { "InventoryConfiguration": { "shape": "S3z" } }, "payload": "InventoryConfiguration" } }, "GetBucketLifecycle": { "http": { "method": "GET", "requestUri": "/{Bucket}?lifecycle" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Rules": { "shape": "S4c", "locationName": "Rule" } } }, "deprecated": true }, "GetBucketLifecycleConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?lifecycle" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Rules": { "shape": "S4r", "locationName": "Rule" } } } }, "GetBucketLocation": { "http": { "method": "GET", "requestUri": "/{Bucket}?location" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "LocationConstraint": {} } } }, "GetBucketLogging": { "http": { "method": "GET", "requestUri": "/{Bucket}?logging" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "LoggingEnabled": { "shape": "S51" } } } }, "GetBucketMetricsConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?metrics" }, "input": { "type": "structure", "required": [ "Bucket", "Id" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" } } }, "output": { "type": "structure", "members": { "MetricsConfiguration": { "shape": "S59" } }, "payload": "MetricsConfiguration" } }, "GetBucketNotification": { "http": { "method": "GET", "requestUri": "/{Bucket}?notification" }, "input": { "shape": "S5c" }, "output": { "shape": "S5d" }, "deprecated": true }, "GetBucketNotificationConfiguration": { "http": { "method": "GET", "requestUri": "/{Bucket}?notification" }, "input": { "shape": "S5c" }, "output": { "shape": "S5o" } }, "GetBucketPolicy": { "http": { "method": "GET", "requestUri": "/{Bucket}?policy" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Policy": {} }, "payload": "Policy" } }, "GetBucketReplication": { "http": { "method": "GET", "requestUri": "/{Bucket}?replication" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "ReplicationConfiguration": { "shape": "S67" } }, "payload": "ReplicationConfiguration" } }, "GetBucketRequestPayment": { "http": { "method": "GET", "requestUri": "/{Bucket}?requestPayment" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Payer": {} } } }, "GetBucketTagging": { "http": { "method": "GET", "requestUri": "/{Bucket}?tagging" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "required": [ "TagSet" ], "members": { "TagSet": { "shape": "S3c" } } } }, "GetBucketVersioning": { "http": { "method": "GET", "requestUri": "/{Bucket}?versioning" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "Status": {}, "MFADelete": { "locationName": "MfaDelete" } } } }, "GetBucketWebsite": { "http": { "method": "GET", "requestUri": "/{Bucket}?website" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "output": { "type": "structure", "members": { "RedirectAllRequestsTo": { "shape": "S6o" }, "IndexDocument": { "shape": "S6r" }, "ErrorDocument": { "shape": "S6t" }, "RoutingRules": { "shape": "S6u" } } } }, "GetObject": { "http": { "method": "GET", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "IfMatch": { "location": "header", "locationName": "If-Match" }, "IfModifiedSince": { "location": "header", "locationName": "If-Modified-Since", "type": "timestamp" }, "IfNoneMatch": { "location": "header", "locationName": "If-None-Match" }, "IfUnmodifiedSince": { "location": "header", "locationName": "If-Unmodified-Since", "type": "timestamp" }, "Key": { "location": "uri", "locationName": "Key" }, "Range": { "location": "header", "locationName": "Range" }, "ResponseCacheControl": { "location": "querystring", "locationName": "response-cache-control" }, "ResponseContentDisposition": { "location": "querystring", "locationName": "response-content-disposition" }, "ResponseContentEncoding": { "location": "querystring", "locationName": "response-content-encoding" }, "ResponseContentLanguage": { "location": "querystring", "locationName": "response-content-language" }, "ResponseContentType": { "location": "querystring", "locationName": "response-content-type" }, "ResponseExpires": { "location": "querystring", "locationName": "response-expires", "type": "timestamp" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKey": { "shape": "S19", "location": "header", "locationName": "x-amz-server-side-encryption-customer-key" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" }, "PartNumber": { "location": "querystring", "locationName": "partNumber", "type": "integer" } } }, "output": { "type": "structure", "members": { "Body": { "streaming": true, "type": "blob" }, "DeleteMarker": { "location": "header", "locationName": "x-amz-delete-marker", "type": "boolean" }, "AcceptRanges": { "location": "header", "locationName": "accept-ranges" }, "Expiration": { "location": "header", "locationName": "x-amz-expiration" }, "Restore": { "location": "header", "locationName": "x-amz-restore" }, "LastModified": { "location": "header", "locationName": "Last-Modified", "type": "timestamp" }, "ContentLength": { "location": "header", "locationName": "Content-Length", "type": "long" }, "ETag": { "location": "header", "locationName": "ETag" }, "MissingMeta": { "location": "header", "locationName": "x-amz-missing-meta", "type": "integer" }, "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "CacheControl": { "location": "header", "locationName": "Cache-Control" }, "ContentDisposition": { "location": "header", "locationName": "Content-Disposition" }, "ContentEncoding": { "location": "header", "locationName": "Content-Encoding" }, "ContentLanguage": { "location": "header", "locationName": "Content-Language" }, "ContentRange": { "location": "header", "locationName": "Content-Range" }, "ContentType": { "location": "header", "locationName": "Content-Type" }, "Expires": { "location": "header", "locationName": "Expires", "type": "timestamp" }, "WebsiteRedirectLocation": { "location": "header", "locationName": "x-amz-website-redirect-location" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "Metadata": { "shape": "S11", "location": "headers", "locationName": "x-amz-meta-" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "StorageClass": { "location": "header", "locationName": "x-amz-storage-class" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" }, "ReplicationStatus": { "location": "header", "locationName": "x-amz-replication-status" }, "PartsCount": { "location": "header", "locationName": "x-amz-mp-parts-count", "type": "integer" }, "TagCount": { "location": "header", "locationName": "x-amz-tagging-count", "type": "integer" } }, "payload": "Body" } }, "GetObjectAcl": { "http": { "method": "GET", "requestUri": "/{Bucket}/{Key+}?acl" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "Owner": { "shape": "S2u" }, "Grants": { "shape": "S2x", "locationName": "AccessControlList" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "GetObjectTagging": { "http": { "method": "GET", "requestUri": "/{Bucket}/{Key+}?tagging" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "VersionId": { "location": "querystring", "locationName": "versionId" } } }, "output": { "type": "structure", "required": [ "TagSet" ], "members": { "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "TagSet": { "shape": "S3c" } } } }, "GetObjectTorrent": { "http": { "method": "GET", "requestUri": "/{Bucket}/{Key+}?torrent" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "Body": { "streaming": true, "type": "blob" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } }, "payload": "Body" } }, "HeadBucket": { "http": { "method": "HEAD", "requestUri": "/{Bucket}" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } } }, "HeadObject": { "http": { "method": "HEAD", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "IfMatch": { "location": "header", "locationName": "If-Match" }, "IfModifiedSince": { "location": "header", "locationName": "If-Modified-Since", "type": "timestamp" }, "IfNoneMatch": { "location": "header", "locationName": "If-None-Match" }, "IfUnmodifiedSince": { "location": "header", "locationName": "If-Unmodified-Since", "type": "timestamp" }, "Key": { "location": "uri", "locationName": "Key" }, "Range": { "location": "header", "locationName": "Range" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKey": { "shape": "S19", "location": "header", "locationName": "x-amz-server-side-encryption-customer-key" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" }, "PartNumber": { "location": "querystring", "locationName": "partNumber", "type": "integer" } } }, "output": { "type": "structure", "members": { "DeleteMarker": { "location": "header", "locationName": "x-amz-delete-marker", "type": "boolean" }, "AcceptRanges": { "location": "header", "locationName": "accept-ranges" }, "Expiration": { "location": "header", "locationName": "x-amz-expiration" }, "Restore": { "location": "header", "locationName": "x-amz-restore" }, "LastModified": { "location": "header", "locationName": "Last-Modified", "type": "timestamp" }, "ContentLength": { "location": "header", "locationName": "Content-Length", "type": "long" }, "ETag": { "location": "header", "locationName": "ETag" }, "MissingMeta": { "location": "header", "locationName": "x-amz-missing-meta", "type": "integer" }, "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "CacheControl": { "location": "header", "locationName": "Cache-Control" }, "ContentDisposition": { "location": "header", "locationName": "Content-Disposition" }, "ContentEncoding": { "location": "header", "locationName": "Content-Encoding" }, "ContentLanguage": { "location": "header", "locationName": "Content-Language" }, "ContentType": { "location": "header", "locationName": "Content-Type" }, "Expires": { "location": "header", "locationName": "Expires", "type": "timestamp" }, "WebsiteRedirectLocation": { "location": "header", "locationName": "x-amz-website-redirect-location" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "Metadata": { "shape": "S11", "location": "headers", "locationName": "x-amz-meta-" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "StorageClass": { "location": "header", "locationName": "x-amz-storage-class" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" }, "ReplicationStatus": { "location": "header", "locationName": "x-amz-replication-status" }, "PartsCount": { "location": "header", "locationName": "x-amz-mp-parts-count", "type": "integer" } } } }, "ListBucketAnalyticsConfigurations": { "http": { "method": "GET", "requestUri": "/{Bucket}?analytics" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContinuationToken": { "location": "querystring", "locationName": "continuation-token" } } }, "output": { "type": "structure", "members": { "IsTruncated": { "type": "boolean" }, "ContinuationToken": {}, "NextContinuationToken": {}, "AnalyticsConfigurationList": { "locationName": "AnalyticsConfiguration", "type": "list", "member": { "shape": "S36" }, "flattened": true } } } }, "ListBucketInventoryConfigurations": { "http": { "method": "GET", "requestUri": "/{Bucket}?inventory" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContinuationToken": { "location": "querystring", "locationName": "continuation-token" } } }, "output": { "type": "structure", "members": { "ContinuationToken": {}, "InventoryConfigurationList": { "locationName": "InventoryConfiguration", "type": "list", "member": { "shape": "S3z" }, "flattened": true }, "IsTruncated": { "type": "boolean" }, "NextContinuationToken": {} } } }, "ListBucketMetricsConfigurations": { "http": { "method": "GET", "requestUri": "/{Bucket}?metrics" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContinuationToken": { "location": "querystring", "locationName": "continuation-token" } } }, "output": { "type": "structure", "members": { "IsTruncated": { "type": "boolean" }, "ContinuationToken": {}, "NextContinuationToken": {}, "MetricsConfigurationList": { "locationName": "MetricsConfiguration", "type": "list", "member": { "shape": "S59" }, "flattened": true } } } }, "ListBuckets": { "http": { "method": "GET" }, "output": { "type": "structure", "members": { "Buckets": { "type": "list", "member": { "locationName": "Bucket", "type": "structure", "members": { "Name": {}, "CreationDate": { "type": "timestamp" } } } }, "Owner": { "shape": "S2u" } } }, "alias": "GetService" }, "ListMultipartUploads": { "http": { "method": "GET", "requestUri": "/{Bucket}?uploads" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Delimiter": { "location": "querystring", "locationName": "delimiter" }, "EncodingType": { "location": "querystring", "locationName": "encoding-type" }, "KeyMarker": { "location": "querystring", "locationName": "key-marker" }, "MaxUploads": { "location": "querystring", "locationName": "max-uploads", "type": "integer" }, "Prefix": { "location": "querystring", "locationName": "prefix" }, "UploadIdMarker": { "location": "querystring", "locationName": "upload-id-marker" } } }, "output": { "type": "structure", "members": { "Bucket": {}, "KeyMarker": {}, "UploadIdMarker": {}, "NextKeyMarker": {}, "Prefix": {}, "Delimiter": {}, "NextUploadIdMarker": {}, "MaxUploads": { "type": "integer" }, "IsTruncated": { "type": "boolean" }, "Uploads": { "locationName": "Upload", "type": "list", "member": { "type": "structure", "members": { "UploadId": {}, "Key": {}, "Initiated": { "type": "timestamp" }, "StorageClass": {}, "Owner": { "shape": "S2u" }, "Initiator": { "shape": "S8q" } } }, "flattened": true }, "CommonPrefixes": { "shape": "S8r" }, "EncodingType": {} } } }, "ListObjectVersions": { "http": { "method": "GET", "requestUri": "/{Bucket}?versions" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Delimiter": { "location": "querystring", "locationName": "delimiter" }, "EncodingType": { "location": "querystring", "locationName": "encoding-type" }, "KeyMarker": { "location": "querystring", "locationName": "key-marker" }, "MaxKeys": { "location": "querystring", "locationName": "max-keys", "type": "integer" }, "Prefix": { "location": "querystring", "locationName": "prefix" }, "VersionIdMarker": { "location": "querystring", "locationName": "version-id-marker" } } }, "output": { "type": "structure", "members": { "IsTruncated": { "type": "boolean" }, "KeyMarker": {}, "VersionIdMarker": {}, "NextKeyMarker": {}, "NextVersionIdMarker": {}, "Versions": { "locationName": "Version", "type": "list", "member": { "type": "structure", "members": { "ETag": {}, "Size": { "type": "integer" }, "StorageClass": {}, "Key": {}, "VersionId": {}, "IsLatest": { "type": "boolean" }, "LastModified": { "type": "timestamp" }, "Owner": { "shape": "S2u" } } }, "flattened": true }, "DeleteMarkers": { "locationName": "DeleteMarker", "type": "list", "member": { "type": "structure", "members": { "Owner": { "shape": "S2u" }, "Key": {}, "VersionId": {}, "IsLatest": { "type": "boolean" }, "LastModified": { "type": "timestamp" } } }, "flattened": true }, "Name": {}, "Prefix": {}, "Delimiter": {}, "MaxKeys": { "type": "integer" }, "CommonPrefixes": { "shape": "S8r" }, "EncodingType": {} } }, "alias": "GetBucketObjectVersions" }, "ListObjects": { "http": { "method": "GET", "requestUri": "/{Bucket}" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Delimiter": { "location": "querystring", "locationName": "delimiter" }, "EncodingType": { "location": "querystring", "locationName": "encoding-type" }, "Marker": { "location": "querystring", "locationName": "marker" }, "MaxKeys": { "location": "querystring", "locationName": "max-keys", "type": "integer" }, "Prefix": { "location": "querystring", "locationName": "prefix" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "IsTruncated": { "type": "boolean" }, "Marker": {}, "NextMarker": {}, "Contents": { "shape": "S99" }, "Name": {}, "Prefix": {}, "Delimiter": {}, "MaxKeys": { "type": "integer" }, "CommonPrefixes": { "shape": "S8r" }, "EncodingType": {} } }, "alias": "GetBucket" }, "ListObjectsV2": { "http": { "method": "GET", "requestUri": "/{Bucket}?list-type=2" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Delimiter": { "location": "querystring", "locationName": "delimiter" }, "EncodingType": { "location": "querystring", "locationName": "encoding-type" }, "MaxKeys": { "location": "querystring", "locationName": "max-keys", "type": "integer" }, "Prefix": { "location": "querystring", "locationName": "prefix" }, "ContinuationToken": { "location": "querystring", "locationName": "continuation-token" }, "FetchOwner": { "location": "querystring", "locationName": "fetch-owner", "type": "boolean" }, "StartAfter": { "location": "querystring", "locationName": "start-after" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "IsTruncated": { "type": "boolean" }, "Contents": { "shape": "S99" }, "Name": {}, "Prefix": {}, "Delimiter": {}, "MaxKeys": { "type": "integer" }, "CommonPrefixes": { "shape": "S8r" }, "EncodingType": {}, "KeyCount": { "type": "integer" }, "ContinuationToken": {}, "NextContinuationToken": {}, "StartAfter": {} } } }, "ListParts": { "http": { "method": "GET", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "Key", "UploadId" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "MaxParts": { "location": "querystring", "locationName": "max-parts", "type": "integer" }, "PartNumberMarker": { "location": "querystring", "locationName": "part-number-marker", "type": "integer" }, "UploadId": { "location": "querystring", "locationName": "uploadId" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "AbortDate": { "location": "header", "locationName": "x-amz-abort-date", "type": "timestamp" }, "AbortRuleId": { "location": "header", "locationName": "x-amz-abort-rule-id" }, "Bucket": {}, "Key": {}, "UploadId": {}, "PartNumberMarker": { "type": "integer" }, "NextPartNumberMarker": { "type": "integer" }, "MaxParts": { "type": "integer" }, "IsTruncated": { "type": "boolean" }, "Parts": { "locationName": "Part", "type": "list", "member": { "type": "structure", "members": { "PartNumber": { "type": "integer" }, "LastModified": { "type": "timestamp" }, "ETag": {}, "Size": { "type": "integer" } } }, "flattened": true }, "Initiator": { "shape": "S8q" }, "Owner": { "shape": "S2u" }, "StorageClass": {}, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "PutBucketAccelerateConfiguration": { "http": { "method": "PUT", "requestUri": "/{Bucket}?accelerate" }, "input": { "type": "structure", "required": [ "Bucket", "AccelerateConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "AccelerateConfiguration": { "locationName": "AccelerateConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "members": { "Status": {} } } }, "payload": "AccelerateConfiguration" } }, "PutBucketAcl": { "http": { "method": "PUT", "requestUri": "/{Bucket}?acl" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "ACL": { "location": "header", "locationName": "x-amz-acl" }, "AccessControlPolicy": { "shape": "S9r", "locationName": "AccessControlPolicy", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" } }, "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "GrantFullControl": { "location": "header", "locationName": "x-amz-grant-full-control" }, "GrantRead": { "location": "header", "locationName": "x-amz-grant-read" }, "GrantReadACP": { "location": "header", "locationName": "x-amz-grant-read-acp" }, "GrantWrite": { "location": "header", "locationName": "x-amz-grant-write" }, "GrantWriteACP": { "location": "header", "locationName": "x-amz-grant-write-acp" } }, "payload": "AccessControlPolicy" } }, "PutBucketAnalyticsConfiguration": { "http": { "method": "PUT", "requestUri": "/{Bucket}?analytics" }, "input": { "type": "structure", "required": [ "Bucket", "Id", "AnalyticsConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" }, "AnalyticsConfiguration": { "shape": "S36", "locationName": "AnalyticsConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" } } }, "payload": "AnalyticsConfiguration" } }, "PutBucketCors": { "http": { "method": "PUT", "requestUri": "/{Bucket}?cors" }, "input": { "type": "structure", "required": [ "Bucket", "CORSConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "CORSConfiguration": { "locationName": "CORSConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "required": [ "CORSRules" ], "members": { "CORSRules": { "shape": "S3m", "locationName": "CORSRule" } } }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" } }, "payload": "CORSConfiguration" } }, "PutBucketInventoryConfiguration": { "http": { "method": "PUT", "requestUri": "/{Bucket}?inventory" }, "input": { "type": "structure", "required": [ "Bucket", "Id", "InventoryConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" }, "InventoryConfiguration": { "shape": "S3z", "locationName": "InventoryConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" } } }, "payload": "InventoryConfiguration" } }, "PutBucketLifecycle": { "http": { "method": "PUT", "requestUri": "/{Bucket}?lifecycle" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "LifecycleConfiguration": { "locationName": "LifecycleConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "required": [ "Rules" ], "members": { "Rules": { "shape": "S4c", "locationName": "Rule" } } } }, "payload": "LifecycleConfiguration" }, "deprecated": true }, "PutBucketLifecycleConfiguration": { "http": { "method": "PUT", "requestUri": "/{Bucket}?lifecycle" }, "input": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "LifecycleConfiguration": { "locationName": "LifecycleConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "required": [ "Rules" ], "members": { "Rules": { "shape": "S4r", "locationName": "Rule" } } } }, "payload": "LifecycleConfiguration" } }, "PutBucketLogging": { "http": { "method": "PUT", "requestUri": "/{Bucket}?logging" }, "input": { "type": "structure", "required": [ "Bucket", "BucketLoggingStatus" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "BucketLoggingStatus": { "locationName": "BucketLoggingStatus", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "members": { "LoggingEnabled": { "shape": "S51" } } }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" } }, "payload": "BucketLoggingStatus" } }, "PutBucketMetricsConfiguration": { "http": { "method": "PUT", "requestUri": "/{Bucket}?metrics" }, "input": { "type": "structure", "required": [ "Bucket", "Id", "MetricsConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Id": { "location": "querystring", "locationName": "id" }, "MetricsConfiguration": { "shape": "S59", "locationName": "MetricsConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" } } }, "payload": "MetricsConfiguration" } }, "PutBucketNotification": { "http": { "method": "PUT", "requestUri": "/{Bucket}?notification" }, "input": { "type": "structure", "required": [ "Bucket", "NotificationConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "NotificationConfiguration": { "shape": "S5d", "locationName": "NotificationConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" } } }, "payload": "NotificationConfiguration" }, "deprecated": true }, "PutBucketNotificationConfiguration": { "http": { "method": "PUT", "requestUri": "/{Bucket}?notification" }, "input": { "type": "structure", "required": [ "Bucket", "NotificationConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "NotificationConfiguration": { "shape": "S5o", "locationName": "NotificationConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" } } }, "payload": "NotificationConfiguration" } }, "PutBucketPolicy": { "http": { "method": "PUT", "requestUri": "/{Bucket}?policy" }, "input": { "type": "structure", "required": [ "Bucket", "Policy" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "Policy": {} }, "payload": "Policy" } }, "PutBucketReplication": { "http": { "method": "PUT", "requestUri": "/{Bucket}?replication" }, "input": { "type": "structure", "required": [ "Bucket", "ReplicationConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "ReplicationConfiguration": { "shape": "S67", "locationName": "ReplicationConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" } } }, "payload": "ReplicationConfiguration" } }, "PutBucketRequestPayment": { "http": { "method": "PUT", "requestUri": "/{Bucket}?requestPayment" }, "input": { "type": "structure", "required": [ "Bucket", "RequestPaymentConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "RequestPaymentConfiguration": { "locationName": "RequestPaymentConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "required": [ "Payer" ], "members": { "Payer": {} } } }, "payload": "RequestPaymentConfiguration" } }, "PutBucketTagging": { "http": { "method": "PUT", "requestUri": "/{Bucket}?tagging" }, "input": { "type": "structure", "required": [ "Bucket", "Tagging" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "Tagging": { "shape": "Sab", "locationName": "Tagging", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" } } }, "payload": "Tagging" } }, "PutBucketVersioning": { "http": { "method": "PUT", "requestUri": "/{Bucket}?versioning" }, "input": { "type": "structure", "required": [ "Bucket", "VersioningConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "MFA": { "location": "header", "locationName": "x-amz-mfa" }, "VersioningConfiguration": { "locationName": "VersioningConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "members": { "MFADelete": { "locationName": "MfaDelete" }, "Status": {} } } }, "payload": "VersioningConfiguration" } }, "PutBucketWebsite": { "http": { "method": "PUT", "requestUri": "/{Bucket}?website" }, "input": { "type": "structure", "required": [ "Bucket", "WebsiteConfiguration" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "WebsiteConfiguration": { "locationName": "WebsiteConfiguration", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "members": { "ErrorDocument": { "shape": "S6t" }, "IndexDocument": { "shape": "S6r" }, "RedirectAllRequestsTo": { "shape": "S6o" }, "RoutingRules": { "shape": "S6u" } } } }, "payload": "WebsiteConfiguration" } }, "PutObject": { "http": { "method": "PUT", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "ACL": { "location": "header", "locationName": "x-amz-acl" }, "Body": { "streaming": true, "type": "blob" }, "Bucket": { "location": "uri", "locationName": "Bucket" }, "CacheControl": { "location": "header", "locationName": "Cache-Control" }, "ContentDisposition": { "location": "header", "locationName": "Content-Disposition" }, "ContentEncoding": { "location": "header", "locationName": "Content-Encoding" }, "ContentLanguage": { "location": "header", "locationName": "Content-Language" }, "ContentLength": { "location": "header", "locationName": "Content-Length", "type": "long" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "ContentType": { "location": "header", "locationName": "Content-Type" }, "Expires": { "location": "header", "locationName": "Expires", "type": "timestamp" }, "GrantFullControl": { "location": "header", "locationName": "x-amz-grant-full-control" }, "GrantRead": { "location": "header", "locationName": "x-amz-grant-read" }, "GrantReadACP": { "location": "header", "locationName": "x-amz-grant-read-acp" }, "GrantWriteACP": { "location": "header", "locationName": "x-amz-grant-write-acp" }, "Key": { "location": "uri", "locationName": "Key" }, "Metadata": { "shape": "S11", "location": "headers", "locationName": "x-amz-meta-" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "StorageClass": { "location": "header", "locationName": "x-amz-storage-class" }, "WebsiteRedirectLocation": { "location": "header", "locationName": "x-amz-website-redirect-location" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKey": { "shape": "S19", "location": "header", "locationName": "x-amz-server-side-encryption-customer-key" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" }, "Tagging": { "location": "header", "locationName": "x-amz-tagging" } }, "payload": "Body" }, "output": { "type": "structure", "members": { "Expiration": { "location": "header", "locationName": "x-amz-expiration" }, "ETag": { "location": "header", "locationName": "ETag" }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "VersionId": { "location": "header", "locationName": "x-amz-version-id" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "PutObjectAcl": { "http": { "method": "PUT", "requestUri": "/{Bucket}/{Key+}?acl" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "ACL": { "location": "header", "locationName": "x-amz-acl" }, "AccessControlPolicy": { "shape": "S9r", "locationName": "AccessControlPolicy", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" } }, "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "GrantFullControl": { "location": "header", "locationName": "x-amz-grant-full-control" }, "GrantRead": { "location": "header", "locationName": "x-amz-grant-read" }, "GrantReadACP": { "location": "header", "locationName": "x-amz-grant-read-acp" }, "GrantWrite": { "location": "header", "locationName": "x-amz-grant-write" }, "GrantWriteACP": { "location": "header", "locationName": "x-amz-grant-write-acp" }, "Key": { "location": "uri", "locationName": "Key" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" }, "VersionId": { "location": "querystring", "locationName": "versionId" } }, "payload": "AccessControlPolicy" }, "output": { "type": "structure", "members": { "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "PutObjectTagging": { "http": { "method": "PUT", "requestUri": "/{Bucket}/{Key+}?tagging" }, "input": { "type": "structure", "required": [ "Bucket", "Key", "Tagging" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "Tagging": { "shape": "Sab", "locationName": "Tagging", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" } } }, "payload": "Tagging" }, "output": { "type": "structure", "members": { "VersionId": { "location": "header", "locationName": "x-amz-version-id" } } } }, "RestoreObject": { "http": { "requestUri": "/{Bucket}/{Key+}?restore" }, "input": { "type": "structure", "required": [ "Bucket", "Key" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "Key": { "location": "uri", "locationName": "Key" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "RestoreRequest": { "locationName": "RestoreRequest", "xmlNamespace": { "uri": "http://s3.amazonaws.com/doc/2006-03-01/" }, "type": "structure", "required": [ "Days" ], "members": { "Days": { "type": "integer" }, "GlacierJobParameters": { "type": "structure", "required": [ "Tier" ], "members": { "Tier": {} } } } }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } }, "payload": "RestoreRequest" }, "output": { "type": "structure", "members": { "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } }, "alias": "PostObjectRestore" }, "UploadPart": { "http": { "method": "PUT", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "Key", "PartNumber", "UploadId" ], "members": { "Body": { "streaming": true, "type": "blob" }, "Bucket": { "location": "uri", "locationName": "Bucket" }, "ContentLength": { "location": "header", "locationName": "Content-Length", "type": "long" }, "ContentMD5": { "location": "header", "locationName": "Content-MD5" }, "Key": { "location": "uri", "locationName": "Key" }, "PartNumber": { "location": "querystring", "locationName": "partNumber", "type": "integer" }, "UploadId": { "location": "querystring", "locationName": "uploadId" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKey": { "shape": "S19", "location": "header", "locationName": "x-amz-server-side-encryption-customer-key" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } }, "payload": "Body" }, "output": { "type": "structure", "members": { "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "ETag": { "location": "header", "locationName": "ETag" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } } } }, "UploadPartCopy": { "http": { "method": "PUT", "requestUri": "/{Bucket}/{Key+}" }, "input": { "type": "structure", "required": [ "Bucket", "CopySource", "Key", "PartNumber", "UploadId" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" }, "CopySource": { "location": "header", "locationName": "x-amz-copy-source" }, "CopySourceIfMatch": { "location": "header", "locationName": "x-amz-copy-source-if-match" }, "CopySourceIfModifiedSince": { "location": "header", "locationName": "x-amz-copy-source-if-modified-since", "type": "timestamp" }, "CopySourceIfNoneMatch": { "location": "header", "locationName": "x-amz-copy-source-if-none-match" }, "CopySourceIfUnmodifiedSince": { "location": "header", "locationName": "x-amz-copy-source-if-unmodified-since", "type": "timestamp" }, "CopySourceRange": { "location": "header", "locationName": "x-amz-copy-source-range" }, "Key": { "location": "uri", "locationName": "Key" }, "PartNumber": { "location": "querystring", "locationName": "partNumber", "type": "integer" }, "UploadId": { "location": "querystring", "locationName": "uploadId" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKey": { "shape": "S19", "location": "header", "locationName": "x-amz-server-side-encryption-customer-key" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "CopySourceSSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-copy-source-server-side-encryption-customer-algorithm" }, "CopySourceSSECustomerKey": { "shape": "S1c", "location": "header", "locationName": "x-amz-copy-source-server-side-encryption-customer-key" }, "CopySourceSSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-copy-source-server-side-encryption-customer-key-MD5" }, "RequestPayer": { "location": "header", "locationName": "x-amz-request-payer" } } }, "output": { "type": "structure", "members": { "CopySourceVersionId": { "location": "header", "locationName": "x-amz-copy-source-version-id" }, "CopyPartResult": { "type": "structure", "members": { "ETag": {}, "LastModified": { "type": "timestamp" } } }, "ServerSideEncryption": { "location": "header", "locationName": "x-amz-server-side-encryption" }, "SSECustomerAlgorithm": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-algorithm" }, "SSECustomerKeyMD5": { "location": "header", "locationName": "x-amz-server-side-encryption-customer-key-MD5" }, "SSEKMSKeyId": { "shape": "Sj", "location": "header", "locationName": "x-amz-server-side-encryption-aws-kms-key-id" }, "RequestCharged": { "location": "header", "locationName": "x-amz-request-charged" } }, "payload": "CopyPartResult" } } }, "shapes": { "Sj": { "type": "string", "sensitive": true }, "S11": { "type": "map", "key": {}, "value": {} }, "S19": { "type": "blob", "sensitive": true }, "S1c": { "type": "blob", "sensitive": true }, "S2u": { "type": "structure", "members": { "DisplayName": {}, "ID": {} } }, "S2x": { "type": "list", "member": { "locationName": "Grant", "type": "structure", "members": { "Grantee": { "shape": "S2z" }, "Permission": {} } } }, "S2z": { "type": "structure", "required": [ "Type" ], "members": { "DisplayName": {}, "EmailAddress": {}, "ID": {}, "Type": { "locationName": "xsi:type", "xmlAttribute": true }, "URI": {} }, "xmlNamespace": { "prefix": "xsi", "uri": "http://www.w3.org/2001/XMLSchema-instance" } }, "S36": { "type": "structure", "required": [ "Id", "StorageClassAnalysis" ], "members": { "Id": {}, "Filter": { "type": "structure", "members": { "Prefix": {}, "Tag": { "shape": "S39" }, "And": { "type": "structure", "members": { "Prefix": {}, "Tags": { "shape": "S3c", "flattened": true, "locationName": "Tag" } } } } }, "StorageClassAnalysis": { "type": "structure", "members": { "DataExport": { "type": "structure", "required": [ "OutputSchemaVersion", "Destination" ], "members": { "OutputSchemaVersion": {}, "Destination": { "type": "structure", "required": [ "S3BucketDestination" ], "members": { "S3BucketDestination": { "type": "structure", "required": [ "Format", "Bucket" ], "members": { "Format": {}, "BucketAccountId": {}, "Bucket": {}, "Prefix": {} } } } } } } } } } }, "S39": { "type": "structure", "required": [ "Key", "Value" ], "members": { "Key": {}, "Value": {} } }, "S3c": { "type": "list", "member": { "shape": "S39", "locationName": "Tag" } }, "S3m": { "type": "list", "member": { "type": "structure", "required": [ "AllowedMethods", "AllowedOrigins" ], "members": { "AllowedHeaders": { "locationName": "AllowedHeader", "type": "list", "member": {}, "flattened": true }, "AllowedMethods": { "locationName": "AllowedMethod", "type": "list", "member": {}, "flattened": true }, "AllowedOrigins": { "locationName": "AllowedOrigin", "type": "list", "member": {}, "flattened": true }, "ExposeHeaders": { "locationName": "ExposeHeader", "type": "list", "member": {}, "flattened": true }, "MaxAgeSeconds": { "type": "integer" } } }, "flattened": true }, "S3z": { "type": "structure", "required": [ "Destination", "IsEnabled", "Id", "IncludedObjectVersions", "Schedule" ], "members": { "Destination": { "type": "structure", "required": [ "S3BucketDestination" ], "members": { "S3BucketDestination": { "type": "structure", "required": [ "Bucket", "Format" ], "members": { "AccountId": {}, "Bucket": {}, "Format": {}, "Prefix": {} } } } }, "IsEnabled": { "type": "boolean" }, "Filter": { "type": "structure", "required": [ "Prefix" ], "members": { "Prefix": {} } }, "Id": {}, "IncludedObjectVersions": {}, "OptionalFields": { "type": "list", "member": { "locationName": "Field" } }, "Schedule": { "type": "structure", "required": [ "Frequency" ], "members": { "Frequency": {} } } } }, "S4c": { "type": "list", "member": { "type": "structure", "required": [ "Prefix", "Status" ], "members": { "Expiration": { "shape": "S4e" }, "ID": {}, "Prefix": {}, "Status": {}, "Transition": { "shape": "S4j" }, "NoncurrentVersionTransition": { "shape": "S4l" }, "NoncurrentVersionExpiration": { "shape": "S4m" }, "AbortIncompleteMultipartUpload": { "shape": "S4n" } } }, "flattened": true }, "S4e": { "type": "structure", "members": { "Date": { "shape": "S4f" }, "Days": { "type": "integer" }, "ExpiredObjectDeleteMarker": { "type": "boolean" } } }, "S4f": { "type": "timestamp", "timestampFormat": "iso8601" }, "S4j": { "type": "structure", "members": { "Date": { "shape": "S4f" }, "Days": { "type": "integer" }, "StorageClass": {} } }, "S4l": { "type": "structure", "members": { "NoncurrentDays": { "type": "integer" }, "StorageClass": {} } }, "S4m": { "type": "structure", "members": { "NoncurrentDays": { "type": "integer" } } }, "S4n": { "type": "structure", "members": { "DaysAfterInitiation": { "type": "integer" } } }, "S4r": { "type": "list", "member": { "type": "structure", "required": [ "Status" ], "members": { "Expiration": { "shape": "S4e" }, "ID": {}, "Prefix": { "deprecated": true }, "Filter": { "type": "structure", "members": { "Prefix": {}, "Tag": { "shape": "S39" }, "And": { "type": "structure", "members": { "Prefix": {}, "Tags": { "shape": "S3c", "flattened": true, "locationName": "Tag" } } } } }, "Status": {}, "Transitions": { "locationName": "Transition", "type": "list", "member": { "shape": "S4j" }, "flattened": true }, "NoncurrentVersionTransitions": { "locationName": "NoncurrentVersionTransition", "type": "list", "member": { "shape": "S4l" }, "flattened": true }, "NoncurrentVersionExpiration": { "shape": "S4m" }, "AbortIncompleteMultipartUpload": { "shape": "S4n" } } }, "flattened": true }, "S51": { "type": "structure", "members": { "TargetBucket": {}, "TargetGrants": { "type": "list", "member": { "locationName": "Grant", "type": "structure", "members": { "Grantee": { "shape": "S2z" }, "Permission": {} } } }, "TargetPrefix": {} } }, "S59": { "type": "structure", "required": [ "Id" ], "members": { "Id": {}, "Filter": { "type": "structure", "members": { "Prefix": {}, "Tag": { "shape": "S39" }, "And": { "type": "structure", "members": { "Prefix": {}, "Tags": { "shape": "S3c", "flattened": true, "locationName": "Tag" } } } } } } }, "S5c": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": { "location": "uri", "locationName": "Bucket" } } }, "S5d": { "type": "structure", "members": { "TopicConfiguration": { "type": "structure", "members": { "Id": {}, "Events": { "shape": "S5g", "locationName": "Event" }, "Event": { "deprecated": true }, "Topic": {} } }, "QueueConfiguration": { "type": "structure", "members": { "Id": {}, "Event": { "deprecated": true }, "Events": { "shape": "S5g", "locationName": "Event" }, "Queue": {} } }, "CloudFunctionConfiguration": { "type": "structure", "members": { "Id": {}, "Event": { "deprecated": true }, "Events": { "shape": "S5g", "locationName": "Event" }, "CloudFunction": {}, "InvocationRole": {} } } } }, "S5g": { "type": "list", "member": {}, "flattened": true }, "S5o": { "type": "structure", "members": { "TopicConfigurations": { "locationName": "TopicConfiguration", "type": "list", "member": { "type": "structure", "required": [ "TopicArn", "Events" ], "members": { "Id": {}, "TopicArn": { "locationName": "Topic" }, "Events": { "shape": "S5g", "locationName": "Event" }, "Filter": { "shape": "S5r" } } }, "flattened": true }, "QueueConfigurations": { "locationName": "QueueConfiguration", "type": "list", "member": { "type": "structure", "required": [ "QueueArn", "Events" ], "members": { "Id": {}, "QueueArn": { "locationName": "Queue" }, "Events": { "shape": "S5g", "locationName": "Event" }, "Filter": { "shape": "S5r" } } }, "flattened": true }, "LambdaFunctionConfigurations": { "locationName": "CloudFunctionConfiguration", "type": "list", "member": { "type": "structure", "required": [ "LambdaFunctionArn", "Events" ], "members": { "Id": {}, "LambdaFunctionArn": { "locationName": "CloudFunction" }, "Events": { "shape": "S5g", "locationName": "Event" }, "Filter": { "shape": "S5r" } } }, "flattened": true } } }, "S5r": { "type": "structure", "members": { "Key": { "locationName": "S3Key", "type": "structure", "members": { "FilterRules": { "locationName": "FilterRule", "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Value": {} } }, "flattened": true } } } } }, "S67": { "type": "structure", "required": [ "Role", "Rules" ], "members": { "Role": {}, "Rules": { "locationName": "Rule", "type": "list", "member": { "type": "structure", "required": [ "Prefix", "Status", "Destination" ], "members": { "ID": {}, "Prefix": {}, "Status": {}, "Destination": { "type": "structure", "required": [ "Bucket" ], "members": { "Bucket": {}, "StorageClass": {} } } } }, "flattened": true } } }, "S6o": { "type": "structure", "required": [ "HostName" ], "members": { "HostName": {}, "Protocol": {} } }, "S6r": { "type": "structure", "required": [ "Suffix" ], "members": { "Suffix": {} } }, "S6t": { "type": "structure", "required": [ "Key" ], "members": { "Key": {} } }, "S6u": { "type": "list", "member": { "locationName": "RoutingRule", "type": "structure", "required": [ "Redirect" ], "members": { "Condition": { "type": "structure", "members": { "HttpErrorCodeReturnedEquals": {}, "KeyPrefixEquals": {} } }, "Redirect": { "type": "structure", "members": { "HostName": {}, "HttpRedirectCode": {}, "Protocol": {}, "ReplaceKeyPrefixWith": {}, "ReplaceKeyWith": {} } } } } }, "S8q": { "type": "structure", "members": { "ID": {}, "DisplayName": {} } }, "S8r": { "type": "list", "member": { "type": "structure", "members": { "Prefix": {} } }, "flattened": true }, "S99": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "LastModified": { "type": "timestamp" }, "ETag": {}, "Size": { "type": "integer" }, "StorageClass": {}, "Owner": { "shape": "S2u" } } }, "flattened": true }, "S9r": { "type": "structure", "members": { "Grants": { "shape": "S2x", "locationName": "AccessControlList" }, "Owner": { "shape": "S2u" } } }, "Sab": { "type": "structure", "required": [ "TagSet" ], "members": { "TagSet": { "shape": "S3c" } } } } } },{}],139:[function(require,module,exports){ module.exports={ "pagination": { "ListBuckets": { "result_key": "Buckets" }, "ListMultipartUploads": { "input_token": [ "KeyMarker", "UploadIdMarker" ], "limit_key": "MaxUploads", "more_results": "IsTruncated", "output_token": [ "NextKeyMarker", "NextUploadIdMarker" ], "result_key": [ "Uploads", "CommonPrefixes" ] }, "ListObjectVersions": { "input_token": [ "KeyMarker", "VersionIdMarker" ], "limit_key": "MaxKeys", "more_results": "IsTruncated", "output_token": [ "NextKeyMarker", "NextVersionIdMarker" ], "result_key": [ "Versions", "DeleteMarkers", "CommonPrefixes" ] }, "ListObjects": { "input_token": "Marker", "limit_key": "MaxKeys", "more_results": "IsTruncated", "output_token": "NextMarker || Contents[-1].Key", "result_key": [ "Contents", "CommonPrefixes" ] }, "ListObjectsV2": { "input_token": "ContinuationToken", "limit_key": "MaxKeys", "output_token": "NextContinuationToken", "result_key": [ "Contents", "CommonPrefixes" ] }, "ListParts": { "input_token": "PartNumberMarker", "limit_key": "MaxParts", "more_results": "IsTruncated", "output_token": "NextPartNumberMarker", "result_key": "Parts" } } } },{}],140:[function(require,module,exports){ module.exports={ "version": 2, "waiters": { "BucketExists": { "delay": 5, "operation": "HeadBucket", "maxAttempts": 20, "acceptors": [ { "expected": 200, "matcher": "status", "state": "success" }, { "expected": 301, "matcher": "status", "state": "success" }, { "expected": 403, "matcher": "status", "state": "success" }, { "expected": 404, "matcher": "status", "state": "retry" } ] }, "BucketNotExists": { "delay": 5, "operation": "HeadBucket", "maxAttempts": 20, "acceptors": [ { "expected": 404, "matcher": "status", "state": "success" } ] }, "ObjectExists": { "delay": 5, "operation": "HeadObject", "maxAttempts": 20, "acceptors": [ { "expected": 200, "matcher": "status", "state": "success" }, { "expected": 404, "matcher": "status", "state": "retry" } ] }, "ObjectNotExists": { "delay": 5, "operation": "HeadObject", "maxAttempts": 20, "acceptors": [ { "expected": 404, "matcher": "status", "state": "success" } ] } } } },{}],141:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-12-10", "endpointPrefix": "servicecatalog", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "AWS Service Catalog", "signatureVersion": "v4", "targetPrefix": "AWS242ServiceCatalogService", "uid": "servicecatalog-2015-12-10" }, "operations": { "AcceptPortfolioShare": { "input": { "type": "structure", "required": [ "PortfolioId" ], "members": { "AcceptLanguage": {}, "PortfolioId": {} } }, "output": { "type": "structure", "members": {} } }, "AssociatePrincipalWithPortfolio": { "input": { "type": "structure", "required": [ "PortfolioId", "PrincipalARN", "PrincipalType" ], "members": { "AcceptLanguage": {}, "PortfolioId": {}, "PrincipalARN": {}, "PrincipalType": {} } }, "output": { "type": "structure", "members": {} } }, "AssociateProductWithPortfolio": { "input": { "type": "structure", "required": [ "ProductId", "PortfolioId" ], "members": { "AcceptLanguage": {}, "ProductId": {}, "PortfolioId": {}, "SourcePortfolioId": {} } }, "output": { "type": "structure", "members": {} } }, "CreateConstraint": { "input": { "type": "structure", "required": [ "PortfolioId", "ProductId", "Parameters", "Type", "IdempotencyToken" ], "members": { "AcceptLanguage": {}, "PortfolioId": {}, "ProductId": {}, "Parameters": {}, "Type": {}, "Description": {}, "IdempotencyToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "members": { "ConstraintDetail": { "shape": "Sh" }, "ConstraintParameters": {}, "Status": {} } } }, "CreatePortfolio": { "input": { "type": "structure", "required": [ "DisplayName", "ProviderName", "IdempotencyToken" ], "members": { "AcceptLanguage": {}, "DisplayName": {}, "Description": {}, "ProviderName": {}, "Tags": { "shape": "So" }, "IdempotencyToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "members": { "PortfolioDetail": { "shape": "St" }, "Tags": { "shape": "Sw" } } } }, "CreatePortfolioShare": { "input": { "type": "structure", "required": [ "PortfolioId", "AccountId" ], "members": { "AcceptLanguage": {}, "PortfolioId": {}, "AccountId": {} } }, "output": { "type": "structure", "members": {} } }, "CreateProduct": { "input": { "type": "structure", "required": [ "Name", "Owner", "ProductType", "ProvisioningArtifactParameters", "IdempotencyToken" ], "members": { "AcceptLanguage": {}, "Name": {}, "Owner": {}, "Description": {}, "Distributor": {}, "SupportDescription": {}, "SupportEmail": {}, "SupportUrl": {}, "ProductType": {}, "Tags": { "shape": "So" }, "ProvisioningArtifactParameters": { "shape": "S17" }, "IdempotencyToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "members": { "ProductViewDetail": { "shape": "S1f" }, "ProvisioningArtifactDetail": { "shape": "S1k" }, "Tags": { "shape": "Sw" } } } }, "CreateProvisioningArtifact": { "input": { "type": "structure", "required": [ "ProductId", "Parameters", "IdempotencyToken" ], "members": { "AcceptLanguage": {}, "ProductId": {}, "Parameters": { "shape": "S17" }, "IdempotencyToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "members": { "ProvisioningArtifactDetail": { "shape": "S1k" }, "Info": { "shape": "S1a" }, "Status": {} } } }, "DeleteConstraint": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {} } }, "output": { "type": "structure", "members": {} } }, "DeletePortfolio": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {} } }, "output": { "type": "structure", "members": {} } }, "DeletePortfolioShare": { "input": { "type": "structure", "required": [ "PortfolioId", "AccountId" ], "members": { "AcceptLanguage": {}, "PortfolioId": {}, "AccountId": {} } }, "output": { "type": "structure", "members": {} } }, "DeleteProduct": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {} } }, "output": { "type": "structure", "members": {} } }, "DeleteProvisioningArtifact": { "input": { "type": "structure", "required": [ "ProductId", "ProvisioningArtifactId" ], "members": { "AcceptLanguage": {}, "ProductId": {}, "ProvisioningArtifactId": {} } }, "output": { "type": "structure", "members": {} } }, "DescribeConstraint": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {} } }, "output": { "type": "structure", "members": { "ConstraintDetail": { "shape": "Sh" }, "ConstraintParameters": {}, "Status": {} } } }, "DescribePortfolio": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {} } }, "output": { "type": "structure", "members": { "PortfolioDetail": { "shape": "St" }, "Tags": { "shape": "Sw" } } } }, "DescribeProduct": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {} } }, "output": { "type": "structure", "members": { "ProductViewSummary": { "shape": "S1g" }, "ProvisioningArtifacts": { "shape": "S23" } } } }, "DescribeProductAsAdmin": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {} } }, "output": { "type": "structure", "members": { "ProductViewDetail": { "shape": "S1f" }, "ProvisioningArtifactSummaries": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Name": {}, "Description": {}, "CreatedTime": { "type": "timestamp" }, "ProvisioningArtifactMetadata": { "shape": "S1a" } } } }, "Tags": { "shape": "Sw" } } } }, "DescribeProductView": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {} } }, "output": { "type": "structure", "members": { "ProductViewSummary": { "shape": "S1g" }, "ProvisioningArtifacts": { "shape": "S23" } } } }, "DescribeProvisionedProduct": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {} } }, "output": { "type": "structure", "members": { "ProvisionedProductDetail": { "shape": "S2e" } } } }, "DescribeProvisioningArtifact": { "input": { "type": "structure", "required": [ "ProvisioningArtifactId", "ProductId" ], "members": { "AcceptLanguage": {}, "ProvisioningArtifactId": {}, "ProductId": {}, "Verbose": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "ProvisioningArtifactDetail": { "shape": "S1k" }, "Info": { "shape": "S1a" }, "Status": {} } } }, "DescribeProvisioningParameters": { "input": { "type": "structure", "required": [ "ProductId", "ProvisioningArtifactId" ], "members": { "AcceptLanguage": {}, "ProductId": {}, "ProvisioningArtifactId": {}, "PathId": {} } }, "output": { "type": "structure", "members": { "ProvisioningArtifactParameters": { "type": "list", "member": { "type": "structure", "members": { "ParameterKey": {}, "DefaultValue": {}, "ParameterType": {}, "IsNoEcho": { "type": "boolean" }, "Description": {}, "ParameterConstraints": { "type": "structure", "members": { "AllowedValues": { "type": "list", "member": {} } } } } } }, "ConstraintSummaries": { "shape": "S30" }, "UsageInstructions": { "type": "list", "member": { "type": "structure", "members": { "Type": {}, "Value": {} } } } } } }, "DescribeRecord": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {}, "PageToken": {}, "PageSize": { "type": "integer" } } }, "output": { "type": "structure", "members": { "RecordDetail": { "shape": "S3a" }, "RecordOutputs": { "type": "list", "member": { "type": "structure", "members": { "OutputKey": {}, "OutputValue": {}, "Description": {} } } }, "NextPageToken": {} } } }, "DisassociatePrincipalFromPortfolio": { "input": { "type": "structure", "required": [ "PortfolioId", "PrincipalARN" ], "members": { "AcceptLanguage": {}, "PortfolioId": {}, "PrincipalARN": {} } }, "output": { "type": "structure", "members": {} } }, "DisassociateProductFromPortfolio": { "input": { "type": "structure", "required": [ "ProductId", "PortfolioId" ], "members": { "AcceptLanguage": {}, "ProductId": {}, "PortfolioId": {} } }, "output": { "type": "structure", "members": {} } }, "ListAcceptedPortfolioShares": { "input": { "type": "structure", "members": { "AcceptLanguage": {}, "PageToken": {}, "PageSize": { "type": "integer" } } }, "output": { "type": "structure", "members": { "PortfolioDetails": { "shape": "S3x" }, "NextPageToken": {} } } }, "ListConstraintsForPortfolio": { "input": { "type": "structure", "required": [ "PortfolioId" ], "members": { "AcceptLanguage": {}, "PortfolioId": {}, "ProductId": {}, "PageSize": { "type": "integer" }, "PageToken": {} } }, "output": { "type": "structure", "members": { "ConstraintDetails": { "type": "list", "member": { "shape": "Sh" } }, "NextPageToken": {} } } }, "ListLaunchPaths": { "input": { "type": "structure", "required": [ "ProductId" ], "members": { "AcceptLanguage": {}, "ProductId": {}, "PageSize": { "type": "integer" }, "PageToken": {} } }, "output": { "type": "structure", "members": { "LaunchPathSummaries": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "ConstraintSummaries": { "shape": "S30" }, "Tags": { "shape": "Sw" }, "Name": {} } } }, "NextPageToken": {} } } }, "ListPortfolioAccess": { "input": { "type": "structure", "required": [ "PortfolioId" ], "members": { "AcceptLanguage": {}, "PortfolioId": {} } }, "output": { "type": "structure", "members": { "AccountIds": { "type": "list", "member": {} }, "NextPageToken": {} } } }, "ListPortfolios": { "input": { "type": "structure", "members": { "AcceptLanguage": {}, "PageToken": {}, "PageSize": { "type": "integer" } } }, "output": { "type": "structure", "members": { "PortfolioDetails": { "shape": "S3x" }, "NextPageToken": {} } } }, "ListPortfoliosForProduct": { "input": { "type": "structure", "required": [ "ProductId" ], "members": { "AcceptLanguage": {}, "ProductId": {}, "PageToken": {}, "PageSize": { "type": "integer" } } }, "output": { "type": "structure", "members": { "PortfolioDetails": { "shape": "S3x" }, "NextPageToken": {} } } }, "ListPrincipalsForPortfolio": { "input": { "type": "structure", "required": [ "PortfolioId" ], "members": { "AcceptLanguage": {}, "PortfolioId": {}, "PageSize": { "type": "integer" }, "PageToken": {} } }, "output": { "type": "structure", "members": { "Principals": { "type": "list", "member": { "type": "structure", "members": { "PrincipalARN": {}, "PrincipalType": {} } } }, "NextPageToken": {} } } }, "ListProvisioningArtifacts": { "input": { "type": "structure", "required": [ "ProductId" ], "members": { "AcceptLanguage": {}, "ProductId": {} } }, "output": { "type": "structure", "members": { "ProvisioningArtifactDetails": { "type": "list", "member": { "shape": "S1k" } }, "NextPageToken": {} } } }, "ListRecordHistory": { "input": { "type": "structure", "members": { "AcceptLanguage": {}, "AccessLevelFilter": { "shape": "S4l" }, "SearchFilter": { "type": "structure", "members": { "Key": {}, "Value": {} } }, "PageSize": { "type": "integer" }, "PageToken": {} } }, "output": { "type": "structure", "members": { "RecordDetails": { "type": "list", "member": { "shape": "S3a" } }, "NextPageToken": {} } } }, "ProvisionProduct": { "input": { "type": "structure", "required": [ "ProductId", "ProvisioningArtifactId", "ProvisionedProductName", "ProvisionToken" ], "members": { "AcceptLanguage": {}, "ProductId": {}, "ProvisioningArtifactId": {}, "PathId": {}, "ProvisionedProductName": {}, "ProvisioningParameters": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } }, "Tags": { "shape": "Sw" }, "NotificationArns": { "type": "list", "member": {} }, "ProvisionToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "members": { "RecordDetail": { "shape": "S3a" } } } }, "RejectPortfolioShare": { "input": { "type": "structure", "required": [ "PortfolioId" ], "members": { "AcceptLanguage": {}, "PortfolioId": {} } }, "output": { "type": "structure", "members": {} } }, "ScanProvisionedProducts": { "input": { "type": "structure", "members": { "AcceptLanguage": {}, "AccessLevelFilter": { "shape": "S4l" }, "PageSize": { "type": "integer" }, "PageToken": {} } }, "output": { "type": "structure", "members": { "ProvisionedProducts": { "type": "list", "member": { "shape": "S2e" } }, "NextPageToken": {} } } }, "SearchProducts": { "input": { "type": "structure", "members": { "AcceptLanguage": {}, "Filters": { "shape": "S56" }, "PageSize": { "type": "integer" }, "SortBy": {}, "SortOrder": {}, "PageToken": {} } }, "output": { "type": "structure", "members": { "ProductViewSummaries": { "type": "list", "member": { "shape": "S1g" } }, "ProductViewAggregations": { "type": "map", "key": {}, "value": { "type": "list", "member": { "type": "structure", "members": { "Value": {}, "ApproximateCount": { "type": "integer" } } } } }, "NextPageToken": {} } } }, "SearchProductsAsAdmin": { "input": { "type": "structure", "members": { "AcceptLanguage": {}, "PortfolioId": {}, "Filters": { "shape": "S56" }, "SortBy": {}, "SortOrder": {}, "PageToken": {}, "PageSize": { "type": "integer" }, "ProductSource": {} } }, "output": { "type": "structure", "members": { "ProductViewDetails": { "type": "list", "member": { "shape": "S1f" } }, "NextPageToken": {} } } }, "TerminateProvisionedProduct": { "input": { "type": "structure", "required": [ "TerminateToken" ], "members": { "ProvisionedProductName": {}, "ProvisionedProductId": {}, "TerminateToken": { "idempotencyToken": true }, "IgnoreErrors": { "type": "boolean" }, "AcceptLanguage": {} } }, "output": { "type": "structure", "members": { "RecordDetail": { "shape": "S3a" } } } }, "UpdateConstraint": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {}, "Description": {} } }, "output": { "type": "structure", "members": { "ConstraintDetail": { "shape": "Sh" }, "ConstraintParameters": {}, "Status": {} } } }, "UpdatePortfolio": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {}, "DisplayName": {}, "Description": {}, "ProviderName": {}, "AddTags": { "shape": "So" }, "RemoveTags": { "shape": "S5u" } } }, "output": { "type": "structure", "members": { "PortfolioDetail": { "shape": "St" }, "Tags": { "shape": "Sw" } } } }, "UpdateProduct": { "input": { "type": "structure", "required": [ "Id" ], "members": { "AcceptLanguage": {}, "Id": {}, "Name": {}, "Owner": {}, "Description": {}, "Distributor": {}, "SupportDescription": {}, "SupportEmail": {}, "SupportUrl": {}, "AddTags": { "shape": "So" }, "RemoveTags": { "shape": "S5u" } } }, "output": { "type": "structure", "members": { "ProductViewDetail": { "shape": "S1f" }, "Tags": { "shape": "Sw" } } } }, "UpdateProvisionedProduct": { "input": { "type": "structure", "required": [ "UpdateToken" ], "members": { "AcceptLanguage": {}, "ProvisionedProductName": {}, "ProvisionedProductId": {}, "ProductId": {}, "ProvisioningArtifactId": {}, "PathId": {}, "ProvisioningParameters": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {}, "UsePreviousValue": { "type": "boolean" } } } }, "UpdateToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "members": { "RecordDetail": { "shape": "S3a" } } } }, "UpdateProvisioningArtifact": { "input": { "type": "structure", "required": [ "ProductId", "ProvisioningArtifactId" ], "members": { "AcceptLanguage": {}, "ProductId": {}, "ProvisioningArtifactId": {}, "Name": {}, "Description": {} } }, "output": { "type": "structure", "members": { "ProvisioningArtifactDetail": { "shape": "S1k" }, "Info": { "shape": "S1a" }, "Status": {} } } } }, "shapes": { "Sh": { "type": "structure", "members": { "ConstraintId": {}, "Type": {}, "Description": {}, "Owner": {} } }, "So": { "type": "list", "member": { "shape": "Sp" } }, "Sp": { "type": "structure", "required": [ "Key", "Value" ], "members": { "Key": {}, "Value": {} } }, "St": { "type": "structure", "members": { "Id": {}, "ARN": {}, "DisplayName": {}, "Description": {}, "CreatedTime": { "type": "timestamp" }, "ProviderName": {} } }, "Sw": { "type": "list", "member": { "shape": "Sp" } }, "S17": { "type": "structure", "required": [ "Info" ], "members": { "Name": {}, "Description": {}, "Info": { "shape": "S1a" }, "Type": {} } }, "S1a": { "type": "map", "key": {}, "value": {} }, "S1f": { "type": "structure", "members": { "ProductViewSummary": { "shape": "S1g" }, "Status": {}, "ProductARN": {}, "CreatedTime": { "type": "timestamp" } } }, "S1g": { "type": "structure", "members": { "Id": {}, "ProductId": {}, "Name": {}, "Owner": {}, "ShortDescription": {}, "Type": {}, "Distributor": {}, "HasDefaultPath": { "type": "boolean" }, "SupportEmail": {}, "SupportDescription": {}, "SupportUrl": {} } }, "S1k": { "type": "structure", "members": { "Id": {}, "Name": {}, "Description": {}, "Type": {}, "CreatedTime": { "type": "timestamp" } } }, "S23": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Name": {}, "Description": {}, "CreatedTime": { "type": "timestamp" } } } }, "S2e": { "type": "structure", "members": { "Name": {}, "Arn": {}, "Type": {}, "Id": {}, "Status": {}, "StatusMessage": {}, "CreatedTime": { "type": "timestamp" }, "IdempotencyToken": {}, "LastRecordId": {} } }, "S30": { "type": "list", "member": { "type": "structure", "members": { "Type": {}, "Description": {} } } }, "S3a": { "type": "structure", "members": { "RecordId": {}, "ProvisionedProductName": {}, "Status": {}, "CreatedTime": { "type": "timestamp" }, "UpdatedTime": { "type": "timestamp" }, "ProvisionedProductType": {}, "RecordType": {}, "ProvisionedProductId": {}, "ProductId": {}, "ProvisioningArtifactId": {}, "PathId": {}, "RecordErrors": { "type": "list", "member": { "type": "structure", "members": { "Code": {}, "Description": {} } } }, "RecordTags": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Value": {} } } } } }, "S3x": { "type": "list", "member": { "shape": "St" } }, "S4l": { "type": "structure", "members": { "Key": {}, "Value": {} } }, "S56": { "type": "map", "key": {}, "value": { "type": "list", "member": {} } }, "S5u": { "type": "list", "member": {} } } } },{}],142:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],143:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "uid": "sns-2010-03-31", "apiVersion": "2010-03-31", "endpointPrefix": "sns", "protocol": "query", "serviceAbbreviation": "Amazon SNS", "serviceFullName": "Amazon Simple Notification Service", "signatureVersion": "v4", "xmlNamespace": "http://sns.amazonaws.com/doc/2010-03-31/" }, "operations": { "AddPermission": { "input": { "type": "structure", "required": [ "TopicArn", "Label", "AWSAccountId", "ActionName" ], "members": { "TopicArn": {}, "Label": {}, "AWSAccountId": { "type": "list", "member": {} }, "ActionName": { "type": "list", "member": {} } } } }, "CheckIfPhoneNumberIsOptedOut": { "input": { "type": "structure", "required": [ "phoneNumber" ], "members": { "phoneNumber": {} } }, "output": { "resultWrapper": "CheckIfPhoneNumberIsOptedOutResult", "type": "structure", "members": { "isOptedOut": { "type": "boolean" } } } }, "ConfirmSubscription": { "input": { "type": "structure", "required": [ "TopicArn", "Token" ], "members": { "TopicArn": {}, "Token": {}, "AuthenticateOnUnsubscribe": {} } }, "output": { "resultWrapper": "ConfirmSubscriptionResult", "type": "structure", "members": { "SubscriptionArn": {} } } }, "CreatePlatformApplication": { "input": { "type": "structure", "required": [ "Name", "Platform", "Attributes" ], "members": { "Name": {}, "Platform": {}, "Attributes": { "shape": "Sj" } } }, "output": { "resultWrapper": "CreatePlatformApplicationResult", "type": "structure", "members": { "PlatformApplicationArn": {} } } }, "CreatePlatformEndpoint": { "input": { "type": "structure", "required": [ "PlatformApplicationArn", "Token" ], "members": { "PlatformApplicationArn": {}, "Token": {}, "CustomUserData": {}, "Attributes": { "shape": "Sj" } } }, "output": { "resultWrapper": "CreatePlatformEndpointResult", "type": "structure", "members": { "EndpointArn": {} } } }, "CreateTopic": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } }, "output": { "resultWrapper": "CreateTopicResult", "type": "structure", "members": { "TopicArn": {} } } }, "DeleteEndpoint": { "input": { "type": "structure", "required": [ "EndpointArn" ], "members": { "EndpointArn": {} } } }, "DeletePlatformApplication": { "input": { "type": "structure", "required": [ "PlatformApplicationArn" ], "members": { "PlatformApplicationArn": {} } } }, "DeleteTopic": { "input": { "type": "structure", "required": [ "TopicArn" ], "members": { "TopicArn": {} } } }, "GetEndpointAttributes": { "input": { "type": "structure", "required": [ "EndpointArn" ], "members": { "EndpointArn": {} } }, "output": { "resultWrapper": "GetEndpointAttributesResult", "type": "structure", "members": { "Attributes": { "shape": "Sj" } } } }, "GetPlatformApplicationAttributes": { "input": { "type": "structure", "required": [ "PlatformApplicationArn" ], "members": { "PlatformApplicationArn": {} } }, "output": { "resultWrapper": "GetPlatformApplicationAttributesResult", "type": "structure", "members": { "Attributes": { "shape": "Sj" } } } }, "GetSMSAttributes": { "input": { "type": "structure", "members": { "attributes": { "type": "list", "member": {} } } }, "output": { "resultWrapper": "GetSMSAttributesResult", "type": "structure", "members": { "attributes": { "shape": "Sj" } } } }, "GetSubscriptionAttributes": { "input": { "type": "structure", "required": [ "SubscriptionArn" ], "members": { "SubscriptionArn": {} } }, "output": { "resultWrapper": "GetSubscriptionAttributesResult", "type": "structure", "members": { "Attributes": { "type": "map", "key": {}, "value": {} } } } }, "GetTopicAttributes": { "input": { "type": "structure", "required": [ "TopicArn" ], "members": { "TopicArn": {} } }, "output": { "resultWrapper": "GetTopicAttributesResult", "type": "structure", "members": { "Attributes": { "type": "map", "key": {}, "value": {} } } } }, "ListEndpointsByPlatformApplication": { "input": { "type": "structure", "required": [ "PlatformApplicationArn" ], "members": { "PlatformApplicationArn": {}, "NextToken": {} } }, "output": { "resultWrapper": "ListEndpointsByPlatformApplicationResult", "type": "structure", "members": { "Endpoints": { "type": "list", "member": { "type": "structure", "members": { "EndpointArn": {}, "Attributes": { "shape": "Sj" } } } }, "NextToken": {} } } }, "ListPhoneNumbersOptedOut": { "input": { "type": "structure", "members": { "nextToken": {} } }, "output": { "resultWrapper": "ListPhoneNumbersOptedOutResult", "type": "structure", "members": { "phoneNumbers": { "type": "list", "member": {} }, "nextToken": {} } } }, "ListPlatformApplications": { "input": { "type": "structure", "members": { "NextToken": {} } }, "output": { "resultWrapper": "ListPlatformApplicationsResult", "type": "structure", "members": { "PlatformApplications": { "type": "list", "member": { "type": "structure", "members": { "PlatformApplicationArn": {}, "Attributes": { "shape": "Sj" } } } }, "NextToken": {} } } }, "ListSubscriptions": { "input": { "type": "structure", "members": { "NextToken": {} } }, "output": { "resultWrapper": "ListSubscriptionsResult", "type": "structure", "members": { "Subscriptions": { "shape": "S1n" }, "NextToken": {} } } }, "ListSubscriptionsByTopic": { "input": { "type": "structure", "required": [ "TopicArn" ], "members": { "TopicArn": {}, "NextToken": {} } }, "output": { "resultWrapper": "ListSubscriptionsByTopicResult", "type": "structure", "members": { "Subscriptions": { "shape": "S1n" }, "NextToken": {} } } }, "ListTopics": { "input": { "type": "structure", "members": { "NextToken": {} } }, "output": { "resultWrapper": "ListTopicsResult", "type": "structure", "members": { "Topics": { "type": "list", "member": { "type": "structure", "members": { "TopicArn": {} } } }, "NextToken": {} } } }, "OptInPhoneNumber": { "input": { "type": "structure", "required": [ "phoneNumber" ], "members": { "phoneNumber": {} } }, "output": { "resultWrapper": "OptInPhoneNumberResult", "type": "structure", "members": {} } }, "Publish": { "input": { "type": "structure", "required": [ "Message" ], "members": { "TopicArn": {}, "TargetArn": {}, "PhoneNumber": {}, "Message": {}, "Subject": {}, "MessageStructure": {}, "MessageAttributes": { "type": "map", "key": { "locationName": "Name" }, "value": { "locationName": "Value", "type": "structure", "required": [ "DataType" ], "members": { "DataType": {}, "StringValue": {}, "BinaryValue": { "type": "blob" } } } } } }, "output": { "resultWrapper": "PublishResult", "type": "structure", "members": { "MessageId": {} } } }, "RemovePermission": { "input": { "type": "structure", "required": [ "TopicArn", "Label" ], "members": { "TopicArn": {}, "Label": {} } } }, "SetEndpointAttributes": { "input": { "type": "structure", "required": [ "EndpointArn", "Attributes" ], "members": { "EndpointArn": {}, "Attributes": { "shape": "Sj" } } } }, "SetPlatformApplicationAttributes": { "input": { "type": "structure", "required": [ "PlatformApplicationArn", "Attributes" ], "members": { "PlatformApplicationArn": {}, "Attributes": { "shape": "Sj" } } } }, "SetSMSAttributes": { "input": { "type": "structure", "required": [ "attributes" ], "members": { "attributes": { "shape": "Sj" } } }, "output": { "resultWrapper": "SetSMSAttributesResult", "type": "structure", "members": {} } }, "SetSubscriptionAttributes": { "input": { "type": "structure", "required": [ "SubscriptionArn", "AttributeName" ], "members": { "SubscriptionArn": {}, "AttributeName": {}, "AttributeValue": {} } } }, "SetTopicAttributes": { "input": { "type": "structure", "required": [ "TopicArn", "AttributeName" ], "members": { "TopicArn": {}, "AttributeName": {}, "AttributeValue": {} } } }, "Subscribe": { "input": { "type": "structure", "required": [ "TopicArn", "Protocol" ], "members": { "TopicArn": {}, "Protocol": {}, "Endpoint": {} } }, "output": { "resultWrapper": "SubscribeResult", "type": "structure", "members": { "SubscriptionArn": {} } } }, "Unsubscribe": { "input": { "type": "structure", "required": [ "SubscriptionArn" ], "members": { "SubscriptionArn": {} } } } }, "shapes": { "Sj": { "type": "map", "key": {}, "value": {} }, "S1n": { "type": "list", "member": { "type": "structure", "members": { "SubscriptionArn": {}, "Owner": {}, "Protocol": {}, "Endpoint": {}, "TopicArn": {} } } } } } },{}],144:[function(require,module,exports){ module.exports={ "pagination": { "ListEndpointsByPlatformApplication": { "input_token": "NextToken", "output_token": "NextToken", "result_key": "Endpoints" }, "ListPlatformApplications": { "input_token": "NextToken", "output_token": "NextToken", "result_key": "PlatformApplications" }, "ListSubscriptions": { "input_token": "NextToken", "output_token": "NextToken", "result_key": "Subscriptions" }, "ListSubscriptionsByTopic": { "input_token": "NextToken", "output_token": "NextToken", "result_key": "Subscriptions" }, "ListTopics": { "input_token": "NextToken", "output_token": "NextToken", "result_key": "Topics" } } } },{}],145:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2012-11-05", "endpointPrefix": "sqs", "protocol": "query", "serviceAbbreviation": "Amazon SQS", "serviceFullName": "Amazon Simple Queue Service", "signatureVersion": "v4", "uid": "sqs-2012-11-05", "xmlNamespace": "http://queue.amazonaws.com/doc/2012-11-05/" }, "operations": { "AddPermission": { "input": { "type": "structure", "required": [ "QueueUrl", "Label", "AWSAccountIds", "Actions" ], "members": { "QueueUrl": {}, "Label": {}, "AWSAccountIds": { "type": "list", "member": { "locationName": "AWSAccountId" }, "flattened": true }, "Actions": { "type": "list", "member": { "locationName": "ActionName" }, "flattened": true } } } }, "ChangeMessageVisibility": { "input": { "type": "structure", "required": [ "QueueUrl", "ReceiptHandle", "VisibilityTimeout" ], "members": { "QueueUrl": {}, "ReceiptHandle": {}, "VisibilityTimeout": { "type": "integer" } } } }, "ChangeMessageVisibilityBatch": { "input": { "type": "structure", "required": [ "QueueUrl", "Entries" ], "members": { "QueueUrl": {}, "Entries": { "type": "list", "member": { "locationName": "ChangeMessageVisibilityBatchRequestEntry", "type": "structure", "required": [ "Id", "ReceiptHandle" ], "members": { "Id": {}, "ReceiptHandle": {}, "VisibilityTimeout": { "type": "integer" } } }, "flattened": true } } }, "output": { "resultWrapper": "ChangeMessageVisibilityBatchResult", "type": "structure", "required": [ "Successful", "Failed" ], "members": { "Successful": { "type": "list", "member": { "locationName": "ChangeMessageVisibilityBatchResultEntry", "type": "structure", "required": [ "Id" ], "members": { "Id": {} } }, "flattened": true }, "Failed": { "shape": "Sd" } } } }, "CreateQueue": { "input": { "type": "structure", "required": [ "QueueName" ], "members": { "QueueName": {}, "Attributes": { "shape": "Sh", "locationName": "Attribute" } } }, "output": { "resultWrapper": "CreateQueueResult", "type": "structure", "members": { "QueueUrl": {} } } }, "DeleteMessage": { "input": { "type": "structure", "required": [ "QueueUrl", "ReceiptHandle" ], "members": { "QueueUrl": {}, "ReceiptHandle": {} } } }, "DeleteMessageBatch": { "input": { "type": "structure", "required": [ "QueueUrl", "Entries" ], "members": { "QueueUrl": {}, "Entries": { "type": "list", "member": { "locationName": "DeleteMessageBatchRequestEntry", "type": "structure", "required": [ "Id", "ReceiptHandle" ], "members": { "Id": {}, "ReceiptHandle": {} } }, "flattened": true } } }, "output": { "resultWrapper": "DeleteMessageBatchResult", "type": "structure", "required": [ "Successful", "Failed" ], "members": { "Successful": { "type": "list", "member": { "locationName": "DeleteMessageBatchResultEntry", "type": "structure", "required": [ "Id" ], "members": { "Id": {} } }, "flattened": true }, "Failed": { "shape": "Sd" } } } }, "DeleteQueue": { "input": { "type": "structure", "required": [ "QueueUrl" ], "members": { "QueueUrl": {} } } }, "GetQueueAttributes": { "input": { "type": "structure", "required": [ "QueueUrl" ], "members": { "QueueUrl": {}, "AttributeNames": { "shape": "St" } } }, "output": { "resultWrapper": "GetQueueAttributesResult", "type": "structure", "members": { "Attributes": { "shape": "Sh", "locationName": "Attribute" } } } }, "GetQueueUrl": { "input": { "type": "structure", "required": [ "QueueName" ], "members": { "QueueName": {}, "QueueOwnerAWSAccountId": {} } }, "output": { "resultWrapper": "GetQueueUrlResult", "type": "structure", "members": { "QueueUrl": {} } } }, "ListDeadLetterSourceQueues": { "input": { "type": "structure", "required": [ "QueueUrl" ], "members": { "QueueUrl": {} } }, "output": { "resultWrapper": "ListDeadLetterSourceQueuesResult", "type": "structure", "required": [ "queueUrls" ], "members": { "queueUrls": { "shape": "Sz" } } } }, "ListQueues": { "input": { "type": "structure", "members": { "QueueNamePrefix": {} } }, "output": { "resultWrapper": "ListQueuesResult", "type": "structure", "members": { "QueueUrls": { "shape": "Sz" } } } }, "PurgeQueue": { "input": { "type": "structure", "required": [ "QueueUrl" ], "members": { "QueueUrl": {} } } }, "ReceiveMessage": { "input": { "type": "structure", "required": [ "QueueUrl" ], "members": { "QueueUrl": {}, "AttributeNames": { "shape": "St" }, "MessageAttributeNames": { "type": "list", "member": { "locationName": "MessageAttributeName" }, "flattened": true }, "MaxNumberOfMessages": { "type": "integer" }, "VisibilityTimeout": { "type": "integer" }, "WaitTimeSeconds": { "type": "integer" }, "ReceiveRequestAttemptId": {} } }, "output": { "resultWrapper": "ReceiveMessageResult", "type": "structure", "members": { "Messages": { "type": "list", "member": { "locationName": "Message", "type": "structure", "members": { "MessageId": {}, "ReceiptHandle": {}, "MD5OfBody": {}, "Body": {}, "Attributes": { "locationName": "Attribute", "type": "map", "key": { "locationName": "Name" }, "value": { "locationName": "Value" }, "flattened": true }, "MD5OfMessageAttributes": {}, "MessageAttributes": { "shape": "S1b", "locationName": "MessageAttribute" } } }, "flattened": true } } } }, "RemovePermission": { "input": { "type": "structure", "required": [ "QueueUrl", "Label" ], "members": { "QueueUrl": {}, "Label": {} } } }, "SendMessage": { "input": { "type": "structure", "required": [ "QueueUrl", "MessageBody" ], "members": { "QueueUrl": {}, "MessageBody": {}, "DelaySeconds": { "type": "integer" }, "MessageAttributes": { "shape": "S1b", "locationName": "MessageAttribute" }, "MessageDeduplicationId": {}, "MessageGroupId": {} } }, "output": { "resultWrapper": "SendMessageResult", "type": "structure", "members": { "MD5OfMessageBody": {}, "MD5OfMessageAttributes": {}, "MessageId": {}, "SequenceNumber": {} } } }, "SendMessageBatch": { "input": { "type": "structure", "required": [ "QueueUrl", "Entries" ], "members": { "QueueUrl": {}, "Entries": { "type": "list", "member": { "locationName": "SendMessageBatchRequestEntry", "type": "structure", "required": [ "Id", "MessageBody" ], "members": { "Id": {}, "MessageBody": {}, "DelaySeconds": { "type": "integer" }, "MessageAttributes": { "shape": "S1b", "locationName": "MessageAttribute" }, "MessageDeduplicationId": {}, "MessageGroupId": {} } }, "flattened": true } } }, "output": { "resultWrapper": "SendMessageBatchResult", "type": "structure", "required": [ "Successful", "Failed" ], "members": { "Successful": { "type": "list", "member": { "locationName": "SendMessageBatchResultEntry", "type": "structure", "required": [ "Id", "MessageId", "MD5OfMessageBody" ], "members": { "Id": {}, "MessageId": {}, "MD5OfMessageBody": {}, "MD5OfMessageAttributes": {}, "SequenceNumber": {} } }, "flattened": true }, "Failed": { "shape": "Sd" } } } }, "SetQueueAttributes": { "input": { "type": "structure", "required": [ "QueueUrl", "Attributes" ], "members": { "QueueUrl": {}, "Attributes": { "shape": "Sh", "locationName": "Attribute" } } } } }, "shapes": { "Sd": { "type": "list", "member": { "locationName": "BatchResultErrorEntry", "type": "structure", "required": [ "Id", "SenderFault", "Code" ], "members": { "Id": {}, "SenderFault": { "type": "boolean" }, "Code": {}, "Message": {} } }, "flattened": true }, "Sh": { "type": "map", "key": { "locationName": "Name" }, "value": { "locationName": "Value" }, "flattened": true, "locationName": "Attribute" }, "St": { "type": "list", "member": { "locationName": "AttributeName" }, "flattened": true }, "Sz": { "type": "list", "member": { "locationName": "QueueUrl" }, "flattened": true }, "S1b": { "type": "map", "key": { "locationName": "Name" }, "value": { "locationName": "Value", "type": "structure", "required": [ "DataType" ], "members": { "StringValue": {}, "BinaryValue": { "type": "blob" }, "StringListValues": { "flattened": true, "locationName": "StringListValue", "type": "list", "member": { "locationName": "StringListValue" } }, "BinaryListValues": { "flattened": true, "locationName": "BinaryListValue", "type": "list", "member": { "locationName": "BinaryListValue", "type": "blob" } }, "DataType": {} } }, "flattened": true } } } },{}],146:[function(require,module,exports){ module.exports={ "pagination": { "ListQueues": { "result_key": "QueueUrls" } } } },{}],147:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2014-11-06", "endpointPrefix": "ssm", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "Amazon SSM", "serviceFullName": "Amazon Simple Systems Manager (SSM)", "signatureVersion": "v4", "targetPrefix": "AmazonSSM", "uid": "ssm-2014-11-06" }, "operations": { "AddTagsToResource": { "input": { "type": "structure", "required": [ "ResourceType", "ResourceId", "Tags" ], "members": { "ResourceType": {}, "ResourceId": {}, "Tags": { "shape": "S4" } } }, "output": { "type": "structure", "members": {} } }, "CancelCommand": { "input": { "type": "structure", "required": [ "CommandId" ], "members": { "CommandId": {}, "InstanceIds": { "shape": "Sb" } } }, "output": { "type": "structure", "members": {} } }, "CreateActivation": { "input": { "type": "structure", "required": [ "IamRole" ], "members": { "Description": {}, "DefaultInstanceName": {}, "IamRole": {}, "RegistrationLimit": { "type": "integer" }, "ExpirationDate": { "type": "timestamp" } } }, "output": { "type": "structure", "members": { "ActivationId": {}, "ActivationCode": {} } } }, "CreateAssociation": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "DocumentVersion": {}, "InstanceId": {}, "Parameters": { "shape": "Sq" }, "Targets": { "shape": "Su" }, "ScheduleExpression": {}, "OutputLocation": { "shape": "S10" } } }, "output": { "type": "structure", "members": { "AssociationDescription": { "shape": "S16" } } } }, "CreateAssociationBatch": { "input": { "type": "structure", "required": [ "Entries" ], "members": { "Entries": { "type": "list", "member": { "shape": "S1j", "locationName": "entries" } } } }, "output": { "type": "structure", "members": { "Successful": { "type": "list", "member": { "shape": "S16", "locationName": "AssociationDescription" } }, "Failed": { "type": "list", "member": { "locationName": "FailedCreateAssociationEntry", "type": "structure", "members": { "Entry": { "shape": "S1j" }, "Message": {}, "Fault": {} } } } } } }, "CreateDocument": { "input": { "type": "structure", "required": [ "Content", "Name" ], "members": { "Content": {}, "Name": {}, "DocumentType": {} } }, "output": { "type": "structure", "members": { "DocumentDescription": { "shape": "S1u" } } } }, "CreateMaintenanceWindow": { "input": { "type": "structure", "required": [ "Name", "Schedule", "Duration", "Cutoff", "AllowUnassociatedTargets" ], "members": { "Name": {}, "Schedule": {}, "Duration": { "type": "integer" }, "Cutoff": { "type": "integer" }, "AllowUnassociatedTargets": { "type": "boolean" }, "ClientToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "members": { "WindowId": {} } } }, "CreatePatchBaseline": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "GlobalFilters": { "shape": "S2m" }, "ApprovalRules": { "shape": "S2s" }, "ApprovedPatches": { "shape": "S2w" }, "RejectedPatches": { "shape": "S2w" }, "Description": {}, "ClientToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "members": { "BaselineId": {} } } }, "DeleteActivation": { "input": { "type": "structure", "required": [ "ActivationId" ], "members": { "ActivationId": {} } }, "output": { "type": "structure", "members": {} } }, "DeleteAssociation": { "input": { "type": "structure", "members": { "Name": {}, "InstanceId": {}, "AssociationId": {} } }, "output": { "type": "structure", "members": {} } }, "DeleteDocument": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } }, "output": { "type": "structure", "members": {} } }, "DeleteMaintenanceWindow": { "input": { "type": "structure", "required": [ "WindowId" ], "members": { "WindowId": {} } }, "output": { "type": "structure", "members": { "WindowId": {} } } }, "DeleteParameter": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {} } }, "output": { "type": "structure", "members": {} } }, "DeleteParameters": { "input": { "type": "structure", "required": [ "Names" ], "members": { "Names": { "shape": "S3d" } } }, "output": { "type": "structure", "members": { "DeletedParameters": { "shape": "S3d" }, "InvalidParameters": { "shape": "S3d" } } } }, "DeletePatchBaseline": { "input": { "type": "structure", "required": [ "BaselineId" ], "members": { "BaselineId": {} } }, "output": { "type": "structure", "members": { "BaselineId": {} } } }, "DeregisterManagedInstance": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {} } }, "output": { "type": "structure", "members": {} } }, "DeregisterPatchBaselineForPatchGroup": { "input": { "type": "structure", "required": [ "BaselineId", "PatchGroup" ], "members": { "BaselineId": {}, "PatchGroup": {} } }, "output": { "type": "structure", "members": { "BaselineId": {}, "PatchGroup": {} } } }, "DeregisterTargetFromMaintenanceWindow": { "input": { "type": "structure", "required": [ "WindowId", "WindowTargetId" ], "members": { "WindowId": {}, "WindowTargetId": {} } }, "output": { "type": "structure", "members": { "WindowId": {}, "WindowTargetId": {} } } }, "DeregisterTaskFromMaintenanceWindow": { "input": { "type": "structure", "required": [ "WindowId", "WindowTaskId" ], "members": { "WindowId": {}, "WindowTaskId": {} } }, "output": { "type": "structure", "members": { "WindowId": {}, "WindowTaskId": {} } } }, "DescribeActivations": { "input": { "type": "structure", "members": { "Filters": { "type": "list", "member": { "type": "structure", "members": { "FilterKey": {}, "FilterValues": { "type": "list", "member": {} } } } }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "ActivationList": { "type": "list", "member": { "type": "structure", "members": { "ActivationId": {}, "Description": {}, "DefaultInstanceName": {}, "IamRole": {}, "RegistrationLimit": { "type": "integer" }, "RegistrationsCount": { "type": "integer" }, "ExpirationDate": { "type": "timestamp" }, "Expired": { "type": "boolean" }, "CreatedDate": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DescribeAssociation": { "input": { "type": "structure", "members": { "Name": {}, "InstanceId": {}, "AssociationId": {} } }, "output": { "type": "structure", "members": { "AssociationDescription": { "shape": "S16" } } } }, "DescribeAutomationExecutions": { "input": { "type": "structure", "members": { "Filters": { "type": "list", "member": { "type": "structure", "required": [ "Key", "Values" ], "members": { "Key": {}, "Values": { "type": "list", "member": {} } } } }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "AutomationExecutionMetadataList": { "type": "list", "member": { "type": "structure", "members": { "AutomationExecutionId": {}, "DocumentName": {}, "DocumentVersion": {}, "AutomationExecutionStatus": {}, "ExecutionStartTime": { "type": "timestamp" }, "ExecutionEndTime": { "type": "timestamp" }, "ExecutedBy": {}, "LogFile": {}, "Outputs": { "shape": "S4k" } } } }, "NextToken": {} } } }, "DescribeAvailablePatches": { "input": { "type": "structure", "members": { "Filters": { "shape": "S4p" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Patches": { "type": "list", "member": { "shape": "S4x" } }, "NextToken": {} } } }, "DescribeDocument": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "DocumentVersion": {} } }, "output": { "type": "structure", "members": { "Document": { "shape": "S1u" } } } }, "DescribeDocumentPermission": { "input": { "type": "structure", "required": [ "Name", "PermissionType" ], "members": { "Name": {}, "PermissionType": {} } }, "output": { "type": "structure", "members": { "AccountIds": { "shape": "S5e" } } } }, "DescribeEffectiveInstanceAssociations": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {}, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Associations": { "type": "list", "member": { "type": "structure", "members": { "AssociationId": {}, "InstanceId": {}, "Content": {} } } }, "NextToken": {} } } }, "DescribeEffectivePatchesForPatchBaseline": { "input": { "type": "structure", "required": [ "BaselineId" ], "members": { "BaselineId": {}, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "EffectivePatches": { "type": "list", "member": { "type": "structure", "members": { "Patch": { "shape": "S4x" }, "PatchStatus": { "type": "structure", "members": { "DeploymentStatus": {}, "ApprovalDate": { "type": "timestamp" } } } } } }, "NextToken": {} } } }, "DescribeInstanceAssociationsStatus": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {}, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "InstanceAssociationStatusInfos": { "type": "list", "member": { "type": "structure", "members": { "AssociationId": {}, "Name": {}, "DocumentVersion": {}, "InstanceId": {}, "ExecutionDate": { "type": "timestamp" }, "Status": {}, "DetailedStatus": {}, "ExecutionSummary": {}, "ErrorCode": {}, "OutputUrl": { "type": "structure", "members": { "S3OutputUrl": { "type": "structure", "members": { "OutputUrl": {} } } } } } } }, "NextToken": {} } } }, "DescribeInstanceInformation": { "input": { "type": "structure", "members": { "InstanceInformationFilterList": { "type": "list", "member": { "locationName": "InstanceInformationFilter", "type": "structure", "required": [ "key", "valueSet" ], "members": { "key": {}, "valueSet": { "shape": "S64" } } } }, "Filters": { "type": "list", "member": { "locationName": "InstanceInformationStringFilter", "type": "structure", "required": [ "Key", "Values" ], "members": { "Key": {}, "Values": { "shape": "S64" } } } }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "InstanceInformationList": { "type": "list", "member": { "locationName": "InstanceInformation", "type": "structure", "members": { "InstanceId": {}, "PingStatus": {}, "LastPingDateTime": { "type": "timestamp" }, "AgentVersion": {}, "IsLatestVersion": { "type": "boolean" }, "PlatformType": {}, "PlatformName": {}, "PlatformVersion": {}, "ActivationId": {}, "IamRole": {}, "RegistrationDate": { "type": "timestamp" }, "ResourceType": {}, "Name": {}, "IPAddress": {}, "ComputerName": {}, "AssociationStatus": {}, "LastAssociationExecutionDate": { "type": "timestamp" }, "LastSuccessfulAssociationExecutionDate": { "type": "timestamp" }, "AssociationOverview": { "type": "structure", "members": { "DetailedStatus": {}, "InstanceAssociationStatusAggregatedCount": { "type": "map", "key": {}, "value": { "type": "integer" } } } } } } }, "NextToken": {} } } }, "DescribeInstancePatchStates": { "input": { "type": "structure", "required": [ "InstanceIds" ], "members": { "InstanceIds": { "shape": "Sb" }, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "InstancePatchStates": { "type": "list", "member": { "shape": "S6o" } }, "NextToken": {} } } }, "DescribeInstancePatchStatesForPatchGroup": { "input": { "type": "structure", "required": [ "PatchGroup" ], "members": { "PatchGroup": {}, "Filters": { "type": "list", "member": { "type": "structure", "required": [ "Key", "Values", "Type" ], "members": { "Key": {}, "Values": { "type": "list", "member": {} }, "Type": {} } } }, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "InstancePatchStates": { "type": "list", "member": { "shape": "S6o" } }, "NextToken": {} } } }, "DescribeInstancePatches": { "input": { "type": "structure", "required": [ "InstanceId" ], "members": { "InstanceId": {}, "Filters": { "shape": "S4p" }, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Patches": { "type": "list", "member": { "type": "structure", "required": [ "Title", "KBId", "Classification", "Severity", "State", "InstalledTime" ], "members": { "Title": {}, "KBId": {}, "Classification": {}, "Severity": {}, "State": {}, "InstalledTime": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DescribeMaintenanceWindowExecutionTaskInvocations": { "input": { "type": "structure", "required": [ "WindowExecutionId", "TaskId" ], "members": { "WindowExecutionId": {}, "TaskId": {}, "Filters": { "shape": "S7i" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "WindowExecutionTaskInvocationIdentities": { "type": "list", "member": { "type": "structure", "members": { "WindowExecutionId": {}, "TaskExecutionId": {}, "InvocationId": {}, "ExecutionId": {}, "Parameters": { "type": "string", "sensitive": true }, "Status": {}, "StatusDetails": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "OwnerInformation": { "shape": "S6q" }, "WindowTargetId": {} } } }, "NextToken": {} } } }, "DescribeMaintenanceWindowExecutionTasks": { "input": { "type": "structure", "required": [ "WindowExecutionId" ], "members": { "WindowExecutionId": {}, "Filters": { "shape": "S7i" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "WindowExecutionTaskIdentities": { "type": "list", "member": { "type": "structure", "members": { "WindowExecutionId": {}, "TaskExecutionId": {}, "Status": {}, "StatusDetails": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" }, "TaskArn": {}, "TaskType": {} } } }, "NextToken": {} } } }, "DescribeMaintenanceWindowExecutions": { "input": { "type": "structure", "required": [ "WindowId" ], "members": { "WindowId": {}, "Filters": { "shape": "S7i" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "WindowExecutions": { "type": "list", "member": { "type": "structure", "members": { "WindowId": {}, "WindowExecutionId": {}, "Status": {}, "StatusDetails": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" } } } }, "NextToken": {} } } }, "DescribeMaintenanceWindowTargets": { "input": { "type": "structure", "required": [ "WindowId" ], "members": { "WindowId": {}, "Filters": { "shape": "S7i" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Targets": { "type": "list", "member": { "type": "structure", "members": { "WindowId": {}, "WindowTargetId": {}, "ResourceType": {}, "Targets": { "shape": "Su" }, "OwnerInformation": { "shape": "S6q" } } } }, "NextToken": {} } } }, "DescribeMaintenanceWindowTasks": { "input": { "type": "structure", "required": [ "WindowId" ], "members": { "WindowId": {}, "Filters": { "shape": "S7i" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Tasks": { "type": "list", "member": { "type": "structure", "members": { "WindowId": {}, "WindowTaskId": {}, "TaskArn": {}, "Type": {}, "Targets": { "shape": "Su" }, "TaskParameters": { "shape": "S8g" }, "Priority": { "type": "integer" }, "LoggingInfo": { "shape": "S8m" }, "ServiceRoleArn": {}, "MaxConcurrency": {}, "MaxErrors": {} } } }, "NextToken": {} } } }, "DescribeMaintenanceWindows": { "input": { "type": "structure", "members": { "Filters": { "shape": "S7i" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "WindowIdentities": { "type": "list", "member": { "type": "structure", "members": { "WindowId": {}, "Name": {}, "Enabled": { "type": "boolean" }, "Duration": { "type": "integer" }, "Cutoff": { "type": "integer" } } } }, "NextToken": {} } } }, "DescribeParameters": { "input": { "type": "structure", "members": { "Filters": { "type": "list", "member": { "type": "structure", "required": [ "Key", "Values" ], "members": { "Key": {}, "Values": { "type": "list", "member": {} } } } }, "ParameterFilters": { "shape": "S91" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Parameters": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Type": {}, "KeyId": {}, "LastModifiedDate": { "type": "timestamp" }, "LastModifiedUser": {}, "Description": {}, "AllowedPattern": {} } } }, "NextToken": {} } } }, "DescribePatchBaselines": { "input": { "type": "structure", "members": { "Filters": { "shape": "S4p" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "BaselineIdentities": { "type": "list", "member": { "shape": "S9h" } }, "NextToken": {} } } }, "DescribePatchGroupState": { "input": { "type": "structure", "required": [ "PatchGroup" ], "members": { "PatchGroup": {} } }, "output": { "type": "structure", "members": { "Instances": { "type": "integer" }, "InstancesWithInstalledPatches": { "type": "integer" }, "InstancesWithInstalledOtherPatches": { "type": "integer" }, "InstancesWithMissingPatches": { "type": "integer" }, "InstancesWithFailedPatches": { "type": "integer" }, "InstancesWithNotApplicablePatches": { "type": "integer" } } } }, "DescribePatchGroups": { "input": { "type": "structure", "members": { "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Mappings": { "type": "list", "member": { "type": "structure", "members": { "PatchGroup": {}, "BaselineIdentity": { "shape": "S9h" } } } }, "NextToken": {} } } }, "GetAutomationExecution": { "input": { "type": "structure", "required": [ "AutomationExecutionId" ], "members": { "AutomationExecutionId": {} } }, "output": { "type": "structure", "members": { "AutomationExecution": { "type": "structure", "members": { "AutomationExecutionId": {}, "DocumentName": {}, "DocumentVersion": {}, "ExecutionStartTime": { "type": "timestamp" }, "ExecutionEndTime": { "type": "timestamp" }, "AutomationExecutionStatus": {}, "StepExecutions": { "type": "list", "member": { "type": "structure", "members": { "StepName": {}, "Action": {}, "ExecutionStartTime": { "type": "timestamp" }, "ExecutionEndTime": { "type": "timestamp" }, "StepStatus": {}, "ResponseCode": {}, "Inputs": { "type": "map", "key": {}, "value": {} }, "Outputs": { "shape": "S4k" }, "Response": {}, "FailureMessage": {}, "FailureDetails": { "type": "structure", "members": { "FailureStage": {}, "FailureType": {}, "Details": { "shape": "S4k" } } } } } }, "Parameters": { "shape": "S4k" }, "Outputs": { "shape": "S4k" }, "FailureMessage": {} } } } } }, "GetCommandInvocation": { "input": { "type": "structure", "required": [ "CommandId", "InstanceId" ], "members": { "CommandId": {}, "InstanceId": {}, "PluginName": {} } }, "output": { "type": "structure", "members": { "CommandId": {}, "InstanceId": {}, "Comment": {}, "DocumentName": {}, "PluginName": {}, "ResponseCode": { "type": "integer" }, "ExecutionStartDateTime": {}, "ExecutionElapsedTime": {}, "ExecutionEndDateTime": {}, "Status": {}, "StatusDetails": {}, "StandardOutputContent": {}, "StandardOutputUrl": {}, "StandardErrorContent": {}, "StandardErrorUrl": {} } } }, "GetDefaultPatchBaseline": { "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "BaselineId": {} } } }, "GetDeployablePatchSnapshotForInstance": { "input": { "type": "structure", "required": [ "InstanceId", "SnapshotId" ], "members": { "InstanceId": {}, "SnapshotId": {} } }, "output": { "type": "structure", "members": { "InstanceId": {}, "SnapshotId": {}, "SnapshotDownloadUrl": {} } } }, "GetDocument": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "DocumentVersion": {} } }, "output": { "type": "structure", "members": { "Name": {}, "DocumentVersion": {}, "Content": {}, "DocumentType": {} } } }, "GetInventory": { "input": { "type": "structure", "members": { "Filters": { "shape": "Sag" }, "ResultAttributes": { "type": "list", "member": { "locationName": "ResultAttribute", "type": "structure", "required": [ "TypeName" ], "members": { "TypeName": {} } } }, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Entities": { "type": "list", "member": { "locationName": "Entity", "type": "structure", "members": { "Id": {}, "Data": { "type": "map", "key": {}, "value": { "type": "structure", "required": [ "TypeName", "SchemaVersion", "Content" ], "members": { "TypeName": {}, "SchemaVersion": {}, "CaptureTime": {}, "ContentHash": {}, "Content": { "shape": "Saz" } } } } } } }, "NextToken": {} } } }, "GetInventorySchema": { "input": { "type": "structure", "members": { "TypeName": {}, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Schemas": { "type": "list", "member": { "type": "structure", "required": [ "TypeName", "Attributes" ], "members": { "TypeName": {}, "Version": {}, "Attributes": { "type": "list", "member": { "locationName": "Attribute", "type": "structure", "required": [ "Name", "DataType" ], "members": { "Name": {}, "DataType": {} } } } } } }, "NextToken": {} } } }, "GetMaintenanceWindow": { "input": { "type": "structure", "required": [ "WindowId" ], "members": { "WindowId": {} } }, "output": { "type": "structure", "members": { "WindowId": {}, "Name": {}, "Schedule": {}, "Duration": { "type": "integer" }, "Cutoff": { "type": "integer" }, "AllowUnassociatedTargets": { "type": "boolean" }, "Enabled": { "type": "boolean" }, "CreatedDate": { "type": "timestamp" }, "ModifiedDate": { "type": "timestamp" } } } }, "GetMaintenanceWindowExecution": { "input": { "type": "structure", "required": [ "WindowExecutionId" ], "members": { "WindowExecutionId": {} } }, "output": { "type": "structure", "members": { "WindowExecutionId": {}, "TaskIds": { "type": "list", "member": {} }, "Status": {}, "StatusDetails": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" } } } }, "GetMaintenanceWindowExecutionTask": { "input": { "type": "structure", "required": [ "WindowExecutionId", "TaskId" ], "members": { "WindowExecutionId": {}, "TaskId": {} } }, "output": { "type": "structure", "members": { "WindowExecutionId": {}, "TaskExecutionId": {}, "TaskArn": {}, "ServiceRole": {}, "Type": {}, "TaskParameters": { "type": "list", "member": { "shape": "S8g" }, "sensitive": true }, "Priority": { "type": "integer" }, "MaxConcurrency": {}, "MaxErrors": {}, "Status": {}, "StatusDetails": {}, "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" } } } }, "GetParameter": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "WithDecryption": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "Parameter": { "shape": "Sbn" } } } }, "GetParameterHistory": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "WithDecryption": { "type": "boolean" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Parameters": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Type": {}, "KeyId": {}, "LastModifiedDate": { "type": "timestamp" }, "LastModifiedUser": {}, "Description": {}, "Value": {}, "AllowedPattern": {} } } }, "NextToken": {} } } }, "GetParameters": { "input": { "type": "structure", "required": [ "Names" ], "members": { "Names": { "shape": "S3d" }, "WithDecryption": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "Parameters": { "shape": "Sbv" }, "InvalidParameters": { "shape": "S3d" } } } }, "GetParametersByPath": { "input": { "type": "structure", "required": [ "Path" ], "members": { "Path": {}, "Recursive": { "type": "boolean" }, "ParameterFilters": { "shape": "S91" }, "WithDecryption": { "type": "boolean" }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Parameters": { "shape": "Sbv" }, "NextToken": {} } } }, "GetPatchBaseline": { "input": { "type": "structure", "required": [ "BaselineId" ], "members": { "BaselineId": {} } }, "output": { "type": "structure", "members": { "BaselineId": {}, "Name": {}, "GlobalFilters": { "shape": "S2m" }, "ApprovalRules": { "shape": "S2s" }, "ApprovedPatches": { "shape": "S2w" }, "RejectedPatches": { "shape": "S2w" }, "PatchGroups": { "type": "list", "member": {} }, "CreatedDate": { "type": "timestamp" }, "ModifiedDate": { "type": "timestamp" }, "Description": {} } } }, "GetPatchBaselineForPatchGroup": { "input": { "type": "structure", "required": [ "PatchGroup" ], "members": { "PatchGroup": {} } }, "output": { "type": "structure", "members": { "BaselineId": {}, "PatchGroup": {} } } }, "ListAssociations": { "input": { "type": "structure", "members": { "AssociationFilterList": { "type": "list", "member": { "locationName": "AssociationFilter", "type": "structure", "required": [ "key", "value" ], "members": { "key": {}, "value": {} } } }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "Associations": { "type": "list", "member": { "locationName": "Association", "type": "structure", "members": { "Name": {}, "InstanceId": {}, "AssociationId": {}, "DocumentVersion": {}, "Targets": { "shape": "Su" }, "LastExecutionDate": { "type": "timestamp" }, "Overview": { "shape": "S1c" }, "ScheduleExpression": {} } } }, "NextToken": {} } } }, "ListCommandInvocations": { "input": { "type": "structure", "members": { "CommandId": {}, "InstanceId": {}, "MaxResults": { "type": "integer" }, "NextToken": {}, "Filters": { "shape": "Sce" }, "Details": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "CommandInvocations": { "type": "list", "member": { "type": "structure", "members": { "CommandId": {}, "InstanceId": {}, "InstanceName": {}, "Comment": {}, "DocumentName": {}, "RequestedDateTime": { "type": "timestamp" }, "Status": {}, "StatusDetails": {}, "TraceOutput": {}, "StandardOutputUrl": {}, "StandardErrorUrl": {}, "CommandPlugins": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Status": {}, "StatusDetails": {}, "ResponseCode": { "type": "integer" }, "ResponseStartDateTime": { "type": "timestamp" }, "ResponseFinishDateTime": { "type": "timestamp" }, "Output": {}, "StandardOutputUrl": {}, "StandardErrorUrl": {}, "OutputS3Region": {}, "OutputS3BucketName": {}, "OutputS3KeyPrefix": {} } } }, "ServiceRole": {}, "NotificationConfig": { "shape": "Scr" } } } }, "NextToken": {} } } }, "ListCommands": { "input": { "type": "structure", "members": { "CommandId": {}, "InstanceId": {}, "MaxResults": { "type": "integer" }, "NextToken": {}, "Filters": { "shape": "Sce" } } }, "output": { "type": "structure", "members": { "Commands": { "type": "list", "member": { "shape": "Scz" } }, "NextToken": {} } } }, "ListDocumentVersions": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "DocumentVersions": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "DocumentVersion": {}, "CreatedDate": { "type": "timestamp" }, "IsDefaultVersion": { "type": "boolean" } } } }, "NextToken": {} } } }, "ListDocuments": { "input": { "type": "structure", "members": { "DocumentFilterList": { "type": "list", "member": { "locationName": "DocumentFilter", "type": "structure", "required": [ "key", "value" ], "members": { "key": {}, "value": {} } } }, "MaxResults": { "type": "integer" }, "NextToken": {} } }, "output": { "type": "structure", "members": { "DocumentIdentifiers": { "type": "list", "member": { "locationName": "DocumentIdentifier", "type": "structure", "members": { "Name": {}, "Owner": {}, "PlatformTypes": { "shape": "S28" }, "DocumentVersion": {}, "DocumentType": {}, "SchemaVersion": {} } } }, "NextToken": {} } } }, "ListInventoryEntries": { "input": { "type": "structure", "required": [ "InstanceId", "TypeName" ], "members": { "InstanceId": {}, "TypeName": {}, "Filters": { "shape": "Sag" }, "NextToken": {}, "MaxResults": { "type": "integer" } } }, "output": { "type": "structure", "members": { "TypeName": {}, "InstanceId": {}, "SchemaVersion": {}, "CaptureTime": {}, "Entries": { "shape": "Saz" }, "NextToken": {} } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "ResourceType", "ResourceId" ], "members": { "ResourceType": {}, "ResourceId": {} } }, "output": { "type": "structure", "members": { "TagList": { "shape": "S4" } } } }, "ModifyDocumentPermission": { "input": { "type": "structure", "required": [ "Name", "PermissionType" ], "members": { "Name": {}, "PermissionType": {}, "AccountIdsToAdd": { "shape": "S5e" }, "AccountIdsToRemove": { "shape": "S5e" } } }, "output": { "type": "structure", "members": {} } }, "PutInventory": { "input": { "type": "structure", "required": [ "InstanceId", "Items" ], "members": { "InstanceId": {}, "Items": { "type": "list", "member": { "locationName": "Item", "type": "structure", "required": [ "TypeName", "SchemaVersion", "CaptureTime" ], "members": { "TypeName": {}, "SchemaVersion": {}, "CaptureTime": {}, "ContentHash": {}, "Content": { "shape": "Saz" } } } } } }, "output": { "type": "structure", "members": {} } }, "PutParameter": { "input": { "type": "structure", "required": [ "Name", "Value", "Type" ], "members": { "Name": {}, "Description": {}, "Value": {}, "Type": {}, "KeyId": {}, "Overwrite": { "type": "boolean" }, "AllowedPattern": {} } }, "output": { "type": "structure", "members": {} } }, "RegisterDefaultPatchBaseline": { "input": { "type": "structure", "required": [ "BaselineId" ], "members": { "BaselineId": {} } }, "output": { "type": "structure", "members": { "BaselineId": {} } } }, "RegisterPatchBaselineForPatchGroup": { "input": { "type": "structure", "required": [ "BaselineId", "PatchGroup" ], "members": { "BaselineId": {}, "PatchGroup": {} } }, "output": { "type": "structure", "members": { "BaselineId": {}, "PatchGroup": {} } } }, "RegisterTargetWithMaintenanceWindow": { "input": { "type": "structure", "required": [ "WindowId", "ResourceType", "Targets" ], "members": { "WindowId": {}, "ResourceType": {}, "Targets": { "shape": "Su" }, "OwnerInformation": { "shape": "S6q" }, "ClientToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "members": { "WindowTargetId": {} } } }, "RegisterTaskWithMaintenanceWindow": { "input": { "type": "structure", "required": [ "WindowId", "Targets", "TaskArn", "ServiceRoleArn", "TaskType", "MaxConcurrency", "MaxErrors" ], "members": { "WindowId": {}, "Targets": { "shape": "Su" }, "TaskArn": {}, "ServiceRoleArn": {}, "TaskType": {}, "TaskParameters": { "shape": "S8g" }, "Priority": { "type": "integer" }, "MaxConcurrency": {}, "MaxErrors": {}, "LoggingInfo": { "shape": "S8m" }, "ClientToken": { "idempotencyToken": true } } }, "output": { "type": "structure", "members": { "WindowTaskId": {} } } }, "RemoveTagsFromResource": { "input": { "type": "structure", "required": [ "ResourceType", "ResourceId", "TagKeys" ], "members": { "ResourceType": {}, "ResourceId": {}, "TagKeys": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": {} } }, "SendCommand": { "input": { "type": "structure", "required": [ "DocumentName" ], "members": { "InstanceIds": { "shape": "Sb" }, "Targets": { "shape": "Su" }, "DocumentName": {}, "DocumentHash": {}, "DocumentHashType": {}, "TimeoutSeconds": { "type": "integer" }, "Comment": {}, "Parameters": { "shape": "Sq" }, "OutputS3Region": {}, "OutputS3BucketName": {}, "OutputS3KeyPrefix": {}, "MaxConcurrency": {}, "MaxErrors": {}, "ServiceRoleArn": {}, "NotificationConfig": { "shape": "Scr" } } }, "output": { "type": "structure", "members": { "Command": { "shape": "Scz" } } } }, "StartAutomationExecution": { "input": { "type": "structure", "required": [ "DocumentName" ], "members": { "DocumentName": {}, "DocumentVersion": {}, "Parameters": { "shape": "S4k" } } }, "output": { "type": "structure", "members": { "AutomationExecutionId": {} } } }, "StopAutomationExecution": { "input": { "type": "structure", "required": [ "AutomationExecutionId" ], "members": { "AutomationExecutionId": {} } }, "output": { "type": "structure", "members": {} } }, "UpdateAssociation": { "input": { "type": "structure", "required": [ "AssociationId" ], "members": { "AssociationId": {}, "Parameters": { "shape": "Sq" }, "DocumentVersion": {}, "ScheduleExpression": {}, "OutputLocation": { "shape": "S10" }, "Name": {}, "Targets": { "shape": "Su" } } }, "output": { "type": "structure", "members": { "AssociationDescription": { "shape": "S16" } } } }, "UpdateAssociationStatus": { "input": { "type": "structure", "required": [ "Name", "InstanceId", "AssociationStatus" ], "members": { "Name": {}, "InstanceId": {}, "AssociationStatus": { "shape": "S18" } } }, "output": { "type": "structure", "members": { "AssociationDescription": { "shape": "S16" } } } }, "UpdateDocument": { "input": { "type": "structure", "required": [ "Content", "Name" ], "members": { "Content": {}, "Name": {}, "DocumentVersion": {} } }, "output": { "type": "structure", "members": { "DocumentDescription": { "shape": "S1u" } } } }, "UpdateDocumentDefaultVersion": { "input": { "type": "structure", "required": [ "Name", "DocumentVersion" ], "members": { "Name": {}, "DocumentVersion": {} } }, "output": { "type": "structure", "members": { "Description": { "type": "structure", "members": { "Name": {}, "DefaultVersion": {} } } } } }, "UpdateMaintenanceWindow": { "input": { "type": "structure", "required": [ "WindowId" ], "members": { "WindowId": {}, "Name": {}, "Schedule": {}, "Duration": { "type": "integer" }, "Cutoff": { "type": "integer" }, "AllowUnassociatedTargets": { "type": "boolean" }, "Enabled": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "WindowId": {}, "Name": {}, "Schedule": {}, "Duration": { "type": "integer" }, "Cutoff": { "type": "integer" }, "AllowUnassociatedTargets": { "type": "boolean" }, "Enabled": { "type": "boolean" } } } }, "UpdateManagedInstanceRole": { "input": { "type": "structure", "required": [ "InstanceId", "IamRole" ], "members": { "InstanceId": {}, "IamRole": {} } }, "output": { "type": "structure", "members": {} } }, "UpdatePatchBaseline": { "input": { "type": "structure", "required": [ "BaselineId" ], "members": { "BaselineId": {}, "Name": {}, "GlobalFilters": { "shape": "S2m" }, "ApprovalRules": { "shape": "S2s" }, "ApprovedPatches": { "shape": "S2w" }, "RejectedPatches": { "shape": "S2w" }, "Description": {} } }, "output": { "type": "structure", "members": { "BaselineId": {}, "Name": {}, "GlobalFilters": { "shape": "S2m" }, "ApprovalRules": { "shape": "S2s" }, "ApprovedPatches": { "shape": "S2w" }, "RejectedPatches": { "shape": "S2w" }, "CreatedDate": { "type": "timestamp" }, "ModifiedDate": { "type": "timestamp" }, "Description": {} } } } }, "shapes": { "S4": { "type": "list", "member": { "type": "structure", "required": [ "Key", "Value" ], "members": { "Key": {}, "Value": {} } } }, "Sb": { "type": "list", "member": {} }, "Sq": { "type": "map", "key": {}, "value": { "type": "list", "member": {} } }, "Su": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Values": { "type": "list", "member": {} } } } }, "S10": { "type": "structure", "members": { "S3Location": { "type": "structure", "members": { "OutputS3Region": {}, "OutputS3BucketName": {}, "OutputS3KeyPrefix": {} } } } }, "S16": { "type": "structure", "members": { "Name": {}, "InstanceId": {}, "Date": { "type": "timestamp" }, "LastUpdateAssociationDate": { "type": "timestamp" }, "Status": { "shape": "S18" }, "Overview": { "shape": "S1c" }, "DocumentVersion": {}, "Parameters": { "shape": "Sq" }, "AssociationId": {}, "Targets": { "shape": "Su" }, "ScheduleExpression": {}, "OutputLocation": { "shape": "S10" }, "LastExecutionDate": { "type": "timestamp" }, "LastSuccessfulExecutionDate": { "type": "timestamp" } } }, "S18": { "type": "structure", "required": [ "Date", "Name", "Message" ], "members": { "Date": { "type": "timestamp" }, "Name": {}, "Message": {}, "AdditionalInfo": {} } }, "S1c": { "type": "structure", "members": { "Status": {}, "DetailedStatus": {}, "AssociationStatusAggregatedCount": { "type": "map", "key": {}, "value": { "type": "integer" } } } }, "S1j": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "InstanceId": {}, "Parameters": { "shape": "Sq" }, "DocumentVersion": {}, "Targets": { "shape": "Su" }, "ScheduleExpression": {}, "OutputLocation": { "shape": "S10" } } }, "S1u": { "type": "structure", "members": { "Sha1": {}, "Hash": {}, "HashType": {}, "Name": {}, "Owner": {}, "CreatedDate": { "type": "timestamp" }, "Status": {}, "DocumentVersion": {}, "Description": {}, "Parameters": { "type": "list", "member": { "locationName": "DocumentParameter", "type": "structure", "members": { "Name": {}, "Type": {}, "Description": {}, "DefaultValue": {} } } }, "PlatformTypes": { "shape": "S28" }, "DocumentType": {}, "SchemaVersion": {}, "LatestVersion": {}, "DefaultVersion": {} } }, "S28": { "type": "list", "member": { "locationName": "PlatformType" } }, "S2m": { "type": "structure", "required": [ "PatchFilters" ], "members": { "PatchFilters": { "type": "list", "member": { "type": "structure", "required": [ "Key", "Values" ], "members": { "Key": {}, "Values": { "type": "list", "member": {} } } } } } }, "S2s": { "type": "structure", "required": [ "PatchRules" ], "members": { "PatchRules": { "type": "list", "member": { "type": "structure", "required": [ "PatchFilterGroup", "ApproveAfterDays" ], "members": { "PatchFilterGroup": { "shape": "S2m" }, "ApproveAfterDays": { "type": "integer" } } } } } }, "S2w": { "type": "list", "member": {} }, "S3d": { "type": "list", "member": {} }, "S4k": { "type": "map", "key": {}, "value": { "type": "list", "member": {} } }, "S4p": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Values": { "type": "list", "member": {} } } } }, "S4x": { "type": "structure", "members": { "Id": {}, "ReleaseDate": { "type": "timestamp" }, "Title": {}, "Description": {}, "ContentUrl": {}, "Vendor": {}, "ProductFamily": {}, "Product": {}, "Classification": {}, "MsrcSeverity": {}, "KbNumber": {}, "MsrcNumber": {}, "Language": {} } }, "S5e": { "type": "list", "member": { "locationName": "AccountId" } }, "S64": { "type": "list", "member": { "locationName": "InstanceInformationFilterValue" } }, "S6o": { "type": "structure", "required": [ "InstanceId", "PatchGroup", "BaselineId", "OperationStartTime", "OperationEndTime", "Operation" ], "members": { "InstanceId": {}, "PatchGroup": {}, "BaselineId": {}, "SnapshotId": {}, "OwnerInformation": { "shape": "S6q" }, "InstalledCount": { "type": "integer" }, "InstalledOtherCount": { "type": "integer" }, "MissingCount": { "type": "integer" }, "FailedCount": { "type": "integer" }, "NotApplicableCount": { "type": "integer" }, "OperationStartTime": { "type": "timestamp" }, "OperationEndTime": { "type": "timestamp" }, "Operation": {} } }, "S6q": { "type": "string", "sensitive": true }, "S7i": { "type": "list", "member": { "type": "structure", "members": { "Key": {}, "Values": { "type": "list", "member": {} } } } }, "S8g": { "type": "map", "key": {}, "value": { "type": "structure", "members": { "Values": { "type": "list", "member": { "type": "string", "sensitive": true }, "sensitive": true } }, "sensitive": true }, "sensitive": true }, "S8m": { "type": "structure", "required": [ "S3BucketName", "S3Region" ], "members": { "S3BucketName": {}, "S3KeyPrefix": {}, "S3Region": {} } }, "S91": { "type": "list", "member": { "type": "structure", "required": [ "Key" ], "members": { "Key": {}, "Option": {}, "Values": { "type": "list", "member": {} } } } }, "S9h": { "type": "structure", "members": { "BaselineId": {}, "BaselineName": {}, "BaselineDescription": {}, "DefaultBaseline": { "type": "boolean" } } }, "Sag": { "type": "list", "member": { "locationName": "InventoryFilter", "type": "structure", "required": [ "Key", "Values" ], "members": { "Key": {}, "Values": { "type": "list", "member": { "locationName": "FilterValue" } }, "Type": {} } } }, "Saz": { "type": "list", "member": { "type": "map", "key": {}, "value": {} } }, "Sbn": { "type": "structure", "members": { "Name": {}, "Type": {}, "Value": {} } }, "Sbv": { "type": "list", "member": { "shape": "Sbn" } }, "Sce": { "type": "list", "member": { "type": "structure", "required": [ "key", "value" ], "members": { "key": {}, "value": {} } } }, "Scr": { "type": "structure", "members": { "NotificationArn": {}, "NotificationEvents": { "type": "list", "member": {} }, "NotificationType": {} } }, "Scz": { "type": "structure", "members": { "CommandId": {}, "DocumentName": {}, "Comment": {}, "ExpiresAfter": { "type": "timestamp" }, "Parameters": { "shape": "Sq" }, "InstanceIds": { "shape": "Sb" }, "Targets": { "shape": "Su" }, "RequestedDateTime": { "type": "timestamp" }, "Status": {}, "StatusDetails": {}, "OutputS3Region": {}, "OutputS3BucketName": {}, "OutputS3KeyPrefix": {}, "MaxConcurrency": {}, "MaxErrors": {}, "TargetCount": { "type": "integer" }, "CompletedCount": { "type": "integer" }, "ErrorCount": { "type": "integer" }, "ServiceRole": {}, "NotificationConfig": { "shape": "Scr" } } } } } },{}],148:[function(require,module,exports){ module.exports={ "pagination": { "DescribeActivations": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken", "result_key": "ActivationList" }, "DescribeInstanceInformation": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken", "result_key": "InstanceInformationList" }, "DescribeParameters": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken" }, "GetParameterHistory": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken" }, "GetParametersByPath": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken" }, "ListAssociations": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken", "result_key": "Associations" }, "ListCommandInvocations": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken", "result_key": "CommandInvocations" }, "ListCommands": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken", "result_key": "Commands" }, "ListDocuments": { "input_token": "NextToken", "limit_key": "MaxResults", "output_token": "NextToken", "result_key": "DocumentIdentifiers" } } } },{}],149:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2013-06-30", "endpointPrefix": "storagegateway", "jsonVersion": "1.1", "protocol": "json", "serviceFullName": "AWS Storage Gateway", "signatureVersion": "v4", "targetPrefix": "StorageGateway_20130630", "uid": "storagegateway-2013-06-30" }, "operations": { "ActivateGateway": { "input": { "type": "structure", "required": [ "ActivationKey", "GatewayName", "GatewayTimezone", "GatewayRegion" ], "members": { "ActivationKey": {}, "GatewayName": {}, "GatewayTimezone": {}, "GatewayRegion": {}, "GatewayType": {}, "TapeDriveType": {}, "MediumChangerType": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "AddCache": { "input": { "type": "structure", "required": [ "GatewayARN", "DiskIds" ], "members": { "GatewayARN": {}, "DiskIds": { "shape": "Sc" } } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "AddTagsToResource": { "input": { "type": "structure", "required": [ "ResourceARN", "Tags" ], "members": { "ResourceARN": {}, "Tags": { "shape": "Sh" } } }, "output": { "type": "structure", "members": { "ResourceARN": {} } } }, "AddUploadBuffer": { "input": { "type": "structure", "required": [ "GatewayARN", "DiskIds" ], "members": { "GatewayARN": {}, "DiskIds": { "shape": "Sc" } } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "AddWorkingStorage": { "input": { "type": "structure", "required": [ "GatewayARN", "DiskIds" ], "members": { "GatewayARN": {}, "DiskIds": { "shape": "Sc" } } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "CancelArchival": { "input": { "type": "structure", "required": [ "GatewayARN", "TapeARN" ], "members": { "GatewayARN": {}, "TapeARN": {} } }, "output": { "type": "structure", "members": { "TapeARN": {} } } }, "CancelRetrieval": { "input": { "type": "structure", "required": [ "GatewayARN", "TapeARN" ], "members": { "GatewayARN": {}, "TapeARN": {} } }, "output": { "type": "structure", "members": { "TapeARN": {} } } }, "CreateCachediSCSIVolume": { "input": { "type": "structure", "required": [ "GatewayARN", "VolumeSizeInBytes", "TargetName", "NetworkInterfaceId", "ClientToken" ], "members": { "GatewayARN": {}, "VolumeSizeInBytes": { "type": "long" }, "SnapshotId": {}, "TargetName": {}, "SourceVolumeARN": {}, "NetworkInterfaceId": {}, "ClientToken": {} } }, "output": { "type": "structure", "members": { "VolumeARN": {}, "TargetARN": {} } } }, "CreateNFSFileShare": { "input": { "type": "structure", "required": [ "ClientToken", "GatewayARN", "Role", "LocationARN" ], "members": { "ClientToken": {}, "NFSFileShareDefaults": { "shape": "S15" }, "GatewayARN": {}, "KMSEncrypted": { "type": "boolean" }, "KMSKey": {}, "Role": {}, "LocationARN": {}, "DefaultStorageClass": {}, "ClientList": { "shape": "S1d" }, "Squash": {}, "ReadOnly": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "FileShareARN": {} } } }, "CreateSnapshot": { "input": { "type": "structure", "required": [ "VolumeARN", "SnapshotDescription" ], "members": { "VolumeARN": {}, "SnapshotDescription": {} } }, "output": { "type": "structure", "members": { "VolumeARN": {}, "SnapshotId": {} } } }, "CreateSnapshotFromVolumeRecoveryPoint": { "input": { "type": "structure", "required": [ "VolumeARN", "SnapshotDescription" ], "members": { "VolumeARN": {}, "SnapshotDescription": {} } }, "output": { "type": "structure", "members": { "SnapshotId": {}, "VolumeARN": {}, "VolumeRecoveryPointTime": {} } } }, "CreateStorediSCSIVolume": { "input": { "type": "structure", "required": [ "GatewayARN", "DiskId", "PreserveExistingData", "TargetName", "NetworkInterfaceId" ], "members": { "GatewayARN": {}, "DiskId": {}, "SnapshotId": {}, "PreserveExistingData": { "type": "boolean" }, "TargetName": {}, "NetworkInterfaceId": {} } }, "output": { "type": "structure", "members": { "VolumeARN": {}, "VolumeSizeInBytes": { "type": "long" }, "TargetARN": {} } } }, "CreateTapeWithBarcode": { "input": { "type": "structure", "required": [ "GatewayARN", "TapeSizeInBytes", "TapeBarcode" ], "members": { "GatewayARN": {}, "TapeSizeInBytes": { "type": "long" }, "TapeBarcode": {} } }, "output": { "type": "structure", "members": { "TapeARN": {} } } }, "CreateTapes": { "input": { "type": "structure", "required": [ "GatewayARN", "TapeSizeInBytes", "ClientToken", "NumTapesToCreate", "TapeBarcodePrefix" ], "members": { "GatewayARN": {}, "TapeSizeInBytes": { "type": "long" }, "ClientToken": {}, "NumTapesToCreate": { "type": "integer" }, "TapeBarcodePrefix": {} } }, "output": { "type": "structure", "members": { "TapeARNs": { "shape": "S1z" } } } }, "DeleteBandwidthRateLimit": { "input": { "type": "structure", "required": [ "GatewayARN", "BandwidthType" ], "members": { "GatewayARN": {}, "BandwidthType": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "DeleteChapCredentials": { "input": { "type": "structure", "required": [ "TargetARN", "InitiatorName" ], "members": { "TargetARN": {}, "InitiatorName": {} } }, "output": { "type": "structure", "members": { "TargetARN": {}, "InitiatorName": {} } } }, "DeleteFileShare": { "input": { "type": "structure", "required": [ "FileShareARN" ], "members": { "FileShareARN": {} } }, "output": { "type": "structure", "members": { "FileShareARN": {} } } }, "DeleteGateway": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "DeleteSnapshotSchedule": { "input": { "type": "structure", "required": [ "VolumeARN" ], "members": { "VolumeARN": {} } }, "output": { "type": "structure", "members": { "VolumeARN": {} } } }, "DeleteTape": { "input": { "type": "structure", "required": [ "GatewayARN", "TapeARN" ], "members": { "GatewayARN": {}, "TapeARN": {} } }, "output": { "type": "structure", "members": { "TapeARN": {} } } }, "DeleteTapeArchive": { "input": { "type": "structure", "required": [ "TapeARN" ], "members": { "TapeARN": {} } }, "output": { "type": "structure", "members": { "TapeARN": {} } } }, "DeleteVolume": { "input": { "type": "structure", "required": [ "VolumeARN" ], "members": { "VolumeARN": {} } }, "output": { "type": "structure", "members": { "VolumeARN": {} } } }, "DescribeBandwidthRateLimit": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "AverageUploadRateLimitInBitsPerSec": { "type": "long" }, "AverageDownloadRateLimitInBitsPerSec": { "type": "long" } } } }, "DescribeCache": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "DiskIds": { "shape": "Sc" }, "CacheAllocatedInBytes": { "type": "long" }, "CacheUsedPercentage": { "type": "double" }, "CacheDirtyPercentage": { "type": "double" }, "CacheHitPercentage": { "type": "double" }, "CacheMissPercentage": { "type": "double" } } } }, "DescribeCachediSCSIVolumes": { "input": { "type": "structure", "required": [ "VolumeARNs" ], "members": { "VolumeARNs": { "shape": "S2q" } } }, "output": { "type": "structure", "members": { "CachediSCSIVolumes": { "type": "list", "member": { "type": "structure", "members": { "VolumeARN": {}, "VolumeId": {}, "VolumeType": {}, "VolumeStatus": {}, "VolumeSizeInBytes": { "type": "long" }, "VolumeProgress": { "type": "double" }, "SourceSnapshotId": {}, "VolumeiSCSIAttributes": { "shape": "S2y" }, "CreatedDate": { "type": "timestamp" } } } } } } }, "DescribeChapCredentials": { "input": { "type": "structure", "required": [ "TargetARN" ], "members": { "TargetARN": {} } }, "output": { "type": "structure", "members": { "ChapCredentials": { "type": "list", "member": { "type": "structure", "members": { "TargetARN": {}, "SecretToAuthenticateInitiator": {}, "InitiatorName": {}, "SecretToAuthenticateTarget": {} } } } } } }, "DescribeGatewayInformation": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "GatewayId": {}, "GatewayName": {}, "GatewayTimezone": {}, "GatewayState": {}, "GatewayNetworkInterfaces": { "type": "list", "member": { "type": "structure", "members": { "Ipv4Address": {}, "MacAddress": {}, "Ipv6Address": {} } } }, "GatewayType": {}, "NextUpdateAvailabilityDate": {}, "LastSoftwareUpdate": {} } } }, "DescribeMaintenanceStartTime": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "HourOfDay": { "type": "integer" }, "MinuteOfHour": { "type": "integer" }, "DayOfWeek": { "type": "integer" }, "Timezone": {} } } }, "DescribeNFSFileShares": { "input": { "type": "structure", "required": [ "FileShareARNList" ], "members": { "FileShareARNList": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "NFSFileShareInfoList": { "type": "list", "member": { "type": "structure", "members": { "NFSFileShareDefaults": { "shape": "S15" }, "FileShareARN": {}, "FileShareId": {}, "FileShareStatus": {}, "GatewayARN": {}, "KMSEncrypted": { "type": "boolean" }, "KMSKey": {}, "Path": {}, "Role": {}, "LocationARN": {}, "DefaultStorageClass": {}, "ClientList": { "shape": "S1d" }, "Squash": {}, "ReadOnly": { "type": "boolean" } } } } } } }, "DescribeSnapshotSchedule": { "input": { "type": "structure", "required": [ "VolumeARN" ], "members": { "VolumeARN": {} } }, "output": { "type": "structure", "members": { "VolumeARN": {}, "StartAt": { "type": "integer" }, "RecurrenceInHours": { "type": "integer" }, "Description": {}, "Timezone": {} } } }, "DescribeStorediSCSIVolumes": { "input": { "type": "structure", "required": [ "VolumeARNs" ], "members": { "VolumeARNs": { "shape": "S2q" } } }, "output": { "type": "structure", "members": { "StorediSCSIVolumes": { "type": "list", "member": { "type": "structure", "members": { "VolumeARN": {}, "VolumeId": {}, "VolumeType": {}, "VolumeStatus": {}, "VolumeSizeInBytes": { "type": "long" }, "VolumeProgress": { "type": "double" }, "VolumeDiskId": {}, "SourceSnapshotId": {}, "PreservedExistingData": { "type": "boolean" }, "VolumeiSCSIAttributes": { "shape": "S2y" }, "CreatedDate": { "type": "timestamp" } } } } } } }, "DescribeTapeArchives": { "input": { "type": "structure", "members": { "TapeARNs": { "shape": "S1z" }, "Marker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "TapeArchives": { "type": "list", "member": { "type": "structure", "members": { "TapeARN": {}, "TapeBarcode": {}, "TapeCreatedDate": { "type": "timestamp" }, "TapeSizeInBytes": { "type": "long" }, "CompletionTime": { "type": "timestamp" }, "RetrievedTo": {}, "TapeStatus": {}, "TapeUsedInBytes": { "type": "long" } } } }, "Marker": {} } } }, "DescribeTapeRecoveryPoints": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {}, "Marker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "TapeRecoveryPointInfos": { "type": "list", "member": { "type": "structure", "members": { "TapeARN": {}, "TapeRecoveryPointTime": { "type": "timestamp" }, "TapeSizeInBytes": { "type": "long" }, "TapeStatus": {} } } }, "Marker": {} } } }, "DescribeTapes": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {}, "TapeARNs": { "shape": "S1z" }, "Marker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Tapes": { "type": "list", "member": { "type": "structure", "members": { "TapeARN": {}, "TapeBarcode": {}, "TapeCreatedDate": { "type": "timestamp" }, "TapeSizeInBytes": { "type": "long" }, "TapeStatus": {}, "VTLDevice": {}, "Progress": { "type": "double" }, "TapeUsedInBytes": { "type": "long" } } } }, "Marker": {} } } }, "DescribeUploadBuffer": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "DiskIds": { "shape": "Sc" }, "UploadBufferUsedInBytes": { "type": "long" }, "UploadBufferAllocatedInBytes": { "type": "long" } } } }, "DescribeVTLDevices": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {}, "VTLDeviceARNs": { "type": "list", "member": {} }, "Marker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "VTLDevices": { "type": "list", "member": { "type": "structure", "members": { "VTLDeviceARN": {}, "VTLDeviceType": {}, "VTLDeviceVendor": {}, "VTLDeviceProductIdentifier": {}, "DeviceiSCSIAttributes": { "type": "structure", "members": { "TargetARN": {}, "NetworkInterfaceId": {}, "NetworkInterfacePort": { "type": "integer" }, "ChapEnabled": { "type": "boolean" } } } } } }, "Marker": {} } } }, "DescribeWorkingStorage": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "DiskIds": { "shape": "Sc" }, "WorkingStorageUsedInBytes": { "type": "long" }, "WorkingStorageAllocatedInBytes": { "type": "long" } } } }, "DisableGateway": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "ListFileShares": { "input": { "type": "structure", "members": { "GatewayARN": {}, "Limit": { "type": "integer" }, "Marker": {} } }, "output": { "type": "structure", "members": { "Marker": {}, "NextMarker": {}, "FileShareInfoList": { "type": "list", "member": { "type": "structure", "members": { "FileShareARN": {}, "FileShareId": {}, "FileShareStatus": {}, "GatewayARN": {} } } } } } }, "ListGateways": { "input": { "type": "structure", "members": { "Marker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Gateways": { "type": "list", "member": { "type": "structure", "members": { "GatewayId": {}, "GatewayARN": {}, "GatewayType": {}, "GatewayOperationalState": {}, "GatewayName": {} } } }, "Marker": {} } } }, "ListLocalDisks": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "Disks": { "type": "list", "member": { "type": "structure", "members": { "DiskId": {}, "DiskPath": {}, "DiskNode": {}, "DiskStatus": {}, "DiskSizeInBytes": { "type": "long" }, "DiskAllocationType": {}, "DiskAllocationResource": {} } } } } } }, "ListTagsForResource": { "input": { "type": "structure", "required": [ "ResourceARN" ], "members": { "ResourceARN": {}, "Marker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "ResourceARN": {}, "Marker": {}, "Tags": { "shape": "Sh" } } } }, "ListTapes": { "input": { "type": "structure", "members": { "TapeARNs": { "shape": "S1z" }, "Marker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "TapeInfos": { "type": "list", "member": { "type": "structure", "members": { "TapeARN": {}, "TapeBarcode": {}, "TapeSizeInBytes": { "type": "long" }, "TapeStatus": {}, "GatewayARN": {} } } }, "Marker": {} } } }, "ListVolumeInitiators": { "input": { "type": "structure", "required": [ "VolumeARN" ], "members": { "VolumeARN": {} } }, "output": { "type": "structure", "members": { "Initiators": { "type": "list", "member": {} } } } }, "ListVolumeRecoveryPoints": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "VolumeRecoveryPointInfos": { "type": "list", "member": { "type": "structure", "members": { "VolumeARN": {}, "VolumeSizeInBytes": { "type": "long" }, "VolumeUsageInBytes": { "type": "long" }, "VolumeRecoveryPointTime": {} } } } } } }, "ListVolumes": { "input": { "type": "structure", "members": { "GatewayARN": {}, "Marker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "Marker": {}, "VolumeInfos": { "type": "list", "member": { "type": "structure", "members": { "VolumeARN": {}, "VolumeId": {}, "GatewayARN": {}, "GatewayId": {}, "VolumeType": {}, "VolumeSizeInBytes": { "type": "long" } } } } } } }, "RefreshCache": { "input": { "type": "structure", "required": [ "FileShareARN" ], "members": { "FileShareARN": {} } }, "output": { "type": "structure", "members": { "FileShareARN": {} } } }, "RemoveTagsFromResource": { "input": { "type": "structure", "required": [ "ResourceARN", "TagKeys" ], "members": { "ResourceARN": {}, "TagKeys": { "type": "list", "member": {} } } }, "output": { "type": "structure", "members": { "ResourceARN": {} } } }, "ResetCache": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "RetrieveTapeArchive": { "input": { "type": "structure", "required": [ "TapeARN", "GatewayARN" ], "members": { "TapeARN": {}, "GatewayARN": {} } }, "output": { "type": "structure", "members": { "TapeARN": {} } } }, "RetrieveTapeRecoveryPoint": { "input": { "type": "structure", "required": [ "TapeARN", "GatewayARN" ], "members": { "TapeARN": {}, "GatewayARN": {} } }, "output": { "type": "structure", "members": { "TapeARN": {} } } }, "SetLocalConsolePassword": { "input": { "type": "structure", "required": [ "GatewayARN", "LocalConsolePassword" ], "members": { "GatewayARN": {}, "LocalConsolePassword": { "type": "string", "sensitive": true } } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "ShutdownGateway": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "StartGateway": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "UpdateBandwidthRateLimit": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {}, "AverageUploadRateLimitInBitsPerSec": { "type": "long" }, "AverageDownloadRateLimitInBitsPerSec": { "type": "long" } } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "UpdateChapCredentials": { "input": { "type": "structure", "required": [ "TargetARN", "SecretToAuthenticateInitiator", "InitiatorName" ], "members": { "TargetARN": {}, "SecretToAuthenticateInitiator": {}, "InitiatorName": {}, "SecretToAuthenticateTarget": {} } }, "output": { "type": "structure", "members": { "TargetARN": {}, "InitiatorName": {} } } }, "UpdateGatewayInformation": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {}, "GatewayName": {}, "GatewayTimezone": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {}, "GatewayName": {} } } }, "UpdateGatewaySoftwareNow": { "input": { "type": "structure", "required": [ "GatewayARN" ], "members": { "GatewayARN": {} } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "UpdateMaintenanceStartTime": { "input": { "type": "structure", "required": [ "GatewayARN", "HourOfDay", "MinuteOfHour", "DayOfWeek" ], "members": { "GatewayARN": {}, "HourOfDay": { "type": "integer" }, "MinuteOfHour": { "type": "integer" }, "DayOfWeek": { "type": "integer" } } }, "output": { "type": "structure", "members": { "GatewayARN": {} } } }, "UpdateNFSFileShare": { "input": { "type": "structure", "required": [ "FileShareARN" ], "members": { "FileShareARN": {}, "KMSEncrypted": { "type": "boolean" }, "KMSKey": {}, "NFSFileShareDefaults": { "shape": "S15" }, "DefaultStorageClass": {}, "ClientList": { "shape": "S1d" }, "Squash": {}, "ReadOnly": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "FileShareARN": {} } } }, "UpdateSnapshotSchedule": { "input": { "type": "structure", "required": [ "VolumeARN", "StartAt", "RecurrenceInHours" ], "members": { "VolumeARN": {}, "StartAt": { "type": "integer" }, "RecurrenceInHours": { "type": "integer" }, "Description": {} } }, "output": { "type": "structure", "members": { "VolumeARN": {} } } }, "UpdateVTLDeviceType": { "input": { "type": "structure", "required": [ "VTLDeviceARN", "DeviceType" ], "members": { "VTLDeviceARN": {}, "DeviceType": {} } }, "output": { "type": "structure", "members": { "VTLDeviceARN": {} } } } }, "shapes": { "Sc": { "type": "list", "member": {} }, "Sh": { "type": "list", "member": { "type": "structure", "required": [ "Key", "Value" ], "members": { "Key": {}, "Value": {} } } }, "S15": { "type": "structure", "members": { "FileMode": {}, "DirectoryMode": {}, "GroupId": { "type": "long" }, "OwnerId": { "type": "long" } } }, "S1d": { "type": "list", "member": {} }, "S1z": { "type": "list", "member": {} }, "S2q": { "type": "list", "member": {} }, "S2y": { "type": "structure", "members": { "TargetARN": {}, "NetworkInterfaceId": {}, "NetworkInterfacePort": { "type": "integer" }, "LunNumber": { "type": "integer" }, "ChapEnabled": { "type": "boolean" } } } } } },{}],150:[function(require,module,exports){ module.exports={ "pagination": { "DescribeCachediSCSIVolumes": { "result_key": "CachediSCSIVolumes" }, "DescribeStorediSCSIVolumes": { "result_key": "StorediSCSIVolumes" }, "DescribeTapeArchives": { "input_token": "Marker", "limit_key": "Limit", "output_token": "Marker", "result_key": "TapeArchives" }, "DescribeTapeRecoveryPoints": { "input_token": "Marker", "limit_key": "Limit", "output_token": "Marker", "result_key": "TapeRecoveryPointInfos" }, "DescribeTapes": { "input_token": "Marker", "limit_key": "Limit", "output_token": "Marker", "result_key": "Tapes" }, "DescribeVTLDevices": { "input_token": "Marker", "limit_key": "Limit", "output_token": "Marker", "result_key": "VTLDevices" }, "ListGateways": { "input_token": "Marker", "limit_key": "Limit", "output_token": "Marker", "result_key": "Gateways" }, "ListLocalDisks": { "result_key": "Disks" }, "ListVolumeRecoveryPoints": { "result_key": "VolumeRecoveryPointInfos" }, "ListVolumes": { "input_token": "Marker", "limit_key": "Limit", "output_token": "Marker", "result_key": "VolumeInfos" } } } },{}],151:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2012-08-10", "endpointPrefix": "streams.dynamodb", "jsonVersion": "1.0", "protocol": "json", "serviceFullName": "Amazon DynamoDB Streams", "signatureVersion": "v4", "signingName": "dynamodb", "targetPrefix": "DynamoDBStreams_20120810", "uid": "streams-dynamodb-2012-08-10" }, "operations": { "DescribeStream": { "input": { "type": "structure", "required": [ "StreamArn" ], "members": { "StreamArn": {}, "Limit": { "type": "integer" }, "ExclusiveStartShardId": {} } }, "output": { "type": "structure", "members": { "StreamDescription": { "type": "structure", "members": { "StreamArn": {}, "StreamLabel": {}, "StreamStatus": {}, "StreamViewType": {}, "CreationRequestDateTime": { "type": "timestamp" }, "TableName": {}, "KeySchema": { "type": "list", "member": { "type": "structure", "required": [ "AttributeName", "KeyType" ], "members": { "AttributeName": {}, "KeyType": {} } } }, "Shards": { "type": "list", "member": { "type": "structure", "members": { "ShardId": {}, "SequenceNumberRange": { "type": "structure", "members": { "StartingSequenceNumber": {}, "EndingSequenceNumber": {} } }, "ParentShardId": {} } } }, "LastEvaluatedShardId": {} } } } } }, "GetRecords": { "input": { "type": "structure", "required": [ "ShardIterator" ], "members": { "ShardIterator": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "Records": { "type": "list", "member": { "type": "structure", "members": { "eventID": {}, "eventName": {}, "eventVersion": {}, "eventSource": {}, "awsRegion": {}, "dynamodb": { "type": "structure", "members": { "ApproximateCreationDateTime": { "type": "timestamp" }, "Keys": { "shape": "Sr" }, "NewImage": { "shape": "Sr" }, "OldImage": { "shape": "Sr" }, "SequenceNumber": {}, "SizeBytes": { "type": "long" }, "StreamViewType": {} } }, "userIdentity": { "type": "structure", "members": { "PrincipalId": {}, "Type": {} } } } } }, "NextShardIterator": {} } } }, "GetShardIterator": { "input": { "type": "structure", "required": [ "StreamArn", "ShardId", "ShardIteratorType" ], "members": { "StreamArn": {}, "ShardId": {}, "ShardIteratorType": {}, "SequenceNumber": {} } }, "output": { "type": "structure", "members": { "ShardIterator": {} } } }, "ListStreams": { "input": { "type": "structure", "members": { "TableName": {}, "Limit": { "type": "integer" }, "ExclusiveStartStreamArn": {} } }, "output": { "type": "structure", "members": { "Streams": { "type": "list", "member": { "type": "structure", "members": { "StreamArn": {}, "TableName": {}, "StreamLabel": {} } } }, "LastEvaluatedStreamArn": {} } } } }, "shapes": { "Sr": { "type": "map", "key": {}, "value": { "shape": "St" } }, "St": { "type": "structure", "members": { "S": {}, "N": {}, "B": { "type": "blob" }, "SS": { "type": "list", "member": {} }, "NS": { "type": "list", "member": {} }, "BS": { "type": "list", "member": { "type": "blob" } }, "M": { "type": "map", "key": {}, "value": { "shape": "St" } }, "L": { "type": "list", "member": { "shape": "St" } }, "NULL": { "type": "boolean" }, "BOOL": { "type": "boolean" } } } } } },{}],152:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],153:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2011-06-15", "endpointPrefix": "sts", "globalEndpoint": "sts.amazonaws.com", "protocol": "query", "serviceAbbreviation": "AWS STS", "serviceFullName": "AWS Security Token Service", "signatureVersion": "v4", "uid": "sts-2011-06-15", "xmlNamespace": "https://sts.amazonaws.com/doc/2011-06-15/" }, "operations": { "AssumeRole": { "input": { "type": "structure", "required": [ "RoleArn", "RoleSessionName" ], "members": { "RoleArn": {}, "RoleSessionName": {}, "Policy": {}, "DurationSeconds": { "type": "integer" }, "ExternalId": {}, "SerialNumber": {}, "TokenCode": {} } }, "output": { "resultWrapper": "AssumeRoleResult", "type": "structure", "members": { "Credentials": { "shape": "Sa" }, "AssumedRoleUser": { "shape": "Sf" }, "PackedPolicySize": { "type": "integer" } } } }, "AssumeRoleWithSAML": { "input": { "type": "structure", "required": [ "RoleArn", "PrincipalArn", "SAMLAssertion" ], "members": { "RoleArn": {}, "PrincipalArn": {}, "SAMLAssertion": {}, "Policy": {}, "DurationSeconds": { "type": "integer" } } }, "output": { "resultWrapper": "AssumeRoleWithSAMLResult", "type": "structure", "members": { "Credentials": { "shape": "Sa" }, "AssumedRoleUser": { "shape": "Sf" }, "PackedPolicySize": { "type": "integer" }, "Subject": {}, "SubjectType": {}, "Issuer": {}, "Audience": {}, "NameQualifier": {} } } }, "AssumeRoleWithWebIdentity": { "input": { "type": "structure", "required": [ "RoleArn", "RoleSessionName", "WebIdentityToken" ], "members": { "RoleArn": {}, "RoleSessionName": {}, "WebIdentityToken": {}, "ProviderId": {}, "Policy": {}, "DurationSeconds": { "type": "integer" } } }, "output": { "resultWrapper": "AssumeRoleWithWebIdentityResult", "type": "structure", "members": { "Credentials": { "shape": "Sa" }, "SubjectFromWebIdentityToken": {}, "AssumedRoleUser": { "shape": "Sf" }, "PackedPolicySize": { "type": "integer" }, "Provider": {}, "Audience": {} } } }, "DecodeAuthorizationMessage": { "input": { "type": "structure", "required": [ "EncodedMessage" ], "members": { "EncodedMessage": {} } }, "output": { "resultWrapper": "DecodeAuthorizationMessageResult", "type": "structure", "members": { "DecodedMessage": {} } } }, "GetCallerIdentity": { "input": { "type": "structure", "members": {} }, "output": { "resultWrapper": "GetCallerIdentityResult", "type": "structure", "members": { "UserId": {}, "Account": {}, "Arn": {} } } }, "GetFederationToken": { "input": { "type": "structure", "required": [ "Name" ], "members": { "Name": {}, "Policy": {}, "DurationSeconds": { "type": "integer" } } }, "output": { "resultWrapper": "GetFederationTokenResult", "type": "structure", "members": { "Credentials": { "shape": "Sa" }, "FederatedUser": { "type": "structure", "required": [ "FederatedUserId", "Arn" ], "members": { "FederatedUserId": {}, "Arn": {} } }, "PackedPolicySize": { "type": "integer" } } } }, "GetSessionToken": { "input": { "type": "structure", "members": { "DurationSeconds": { "type": "integer" }, "SerialNumber": {}, "TokenCode": {} } }, "output": { "resultWrapper": "GetSessionTokenResult", "type": "structure", "members": { "Credentials": { "shape": "Sa" } } } } }, "shapes": { "Sa": { "type": "structure", "required": [ "AccessKeyId", "SecretAccessKey", "SessionToken", "Expiration" ], "members": { "AccessKeyId": {}, "SecretAccessKey": {}, "SessionToken": {}, "Expiration": { "type": "timestamp" } } }, "Sf": { "type": "structure", "required": [ "AssumedRoleId", "Arn" ], "members": { "AssumedRoleId": {}, "Arn": {} } } } } },{}],154:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],155:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2015-08-24", "endpointPrefix": "waf", "jsonVersion": "1.1", "protocol": "json", "serviceAbbreviation": "WAF", "serviceFullName": "AWS WAF", "signatureVersion": "v4", "targetPrefix": "AWSWAF_20150824", "uid": "waf-2015-08-24" }, "operations": { "CreateByteMatchSet": { "input": { "type": "structure", "required": [ "Name", "ChangeToken" ], "members": { "Name": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "ByteMatchSet": { "shape": "S5" }, "ChangeToken": {} } } }, "CreateIPSet": { "input": { "type": "structure", "required": [ "Name", "ChangeToken" ], "members": { "Name": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "IPSet": { "shape": "Sh" }, "ChangeToken": {} } } }, "CreateRateBasedRule": { "input": { "type": "structure", "required": [ "Name", "MetricName", "RateKey", "RateLimit", "ChangeToken" ], "members": { "Name": {}, "MetricName": {}, "RateKey": {}, "RateLimit": { "type": "long" }, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "Rule": { "shape": "Sr" }, "ChangeToken": {} } } }, "CreateRule": { "input": { "type": "structure", "required": [ "Name", "MetricName", "ChangeToken" ], "members": { "Name": {}, "MetricName": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "Rule": { "shape": "Sy" }, "ChangeToken": {} } } }, "CreateSizeConstraintSet": { "input": { "type": "structure", "required": [ "Name", "ChangeToken" ], "members": { "Name": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "SizeConstraintSet": { "shape": "S11" }, "ChangeToken": {} } } }, "CreateSqlInjectionMatchSet": { "input": { "type": "structure", "required": [ "Name", "ChangeToken" ], "members": { "Name": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "SqlInjectionMatchSet": { "shape": "S18" }, "ChangeToken": {} } } }, "CreateWebACL": { "input": { "type": "structure", "required": [ "Name", "MetricName", "DefaultAction", "ChangeToken" ], "members": { "Name": {}, "MetricName": {}, "DefaultAction": { "shape": "S1c" }, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "WebACL": { "shape": "S1f" }, "ChangeToken": {} } } }, "CreateXssMatchSet": { "input": { "type": "structure", "required": [ "Name", "ChangeToken" ], "members": { "Name": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "XssMatchSet": { "shape": "S1m" }, "ChangeToken": {} } } }, "DeleteByteMatchSet": { "input": { "type": "structure", "required": [ "ByteMatchSetId", "ChangeToken" ], "members": { "ByteMatchSetId": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "DeleteIPSet": { "input": { "type": "structure", "required": [ "IPSetId", "ChangeToken" ], "members": { "IPSetId": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "DeleteRateBasedRule": { "input": { "type": "structure", "required": [ "RuleId", "ChangeToken" ], "members": { "RuleId": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "DeleteRule": { "input": { "type": "structure", "required": [ "RuleId", "ChangeToken" ], "members": { "RuleId": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "DeleteSizeConstraintSet": { "input": { "type": "structure", "required": [ "SizeConstraintSetId", "ChangeToken" ], "members": { "SizeConstraintSetId": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "DeleteSqlInjectionMatchSet": { "input": { "type": "structure", "required": [ "SqlInjectionMatchSetId", "ChangeToken" ], "members": { "SqlInjectionMatchSetId": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "DeleteWebACL": { "input": { "type": "structure", "required": [ "WebACLId", "ChangeToken" ], "members": { "WebACLId": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "DeleteXssMatchSet": { "input": { "type": "structure", "required": [ "XssMatchSetId", "ChangeToken" ], "members": { "XssMatchSetId": {}, "ChangeToken": {} } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "GetByteMatchSet": { "input": { "type": "structure", "required": [ "ByteMatchSetId" ], "members": { "ByteMatchSetId": {} } }, "output": { "type": "structure", "members": { "ByteMatchSet": { "shape": "S5" } } } }, "GetChangeToken": { "input": { "type": "structure", "members": {} }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "GetChangeTokenStatus": { "input": { "type": "structure", "required": [ "ChangeToken" ], "members": { "ChangeToken": {} } }, "output": { "type": "structure", "members": { "ChangeTokenStatus": {} } } }, "GetIPSet": { "input": { "type": "structure", "required": [ "IPSetId" ], "members": { "IPSetId": {} } }, "output": { "type": "structure", "members": { "IPSet": { "shape": "Sh" } } } }, "GetRateBasedRule": { "input": { "type": "structure", "required": [ "RuleId" ], "members": { "RuleId": {} } }, "output": { "type": "structure", "members": { "Rule": { "shape": "Sr" } } } }, "GetRateBasedRuleManagedKeys": { "input": { "type": "structure", "required": [ "RuleId" ], "members": { "RuleId": {}, "NextMarker": {} } }, "output": { "type": "structure", "members": { "ManagedKeys": { "type": "list", "member": {} }, "NextMarker": {} } } }, "GetRule": { "input": { "type": "structure", "required": [ "RuleId" ], "members": { "RuleId": {} } }, "output": { "type": "structure", "members": { "Rule": { "shape": "Sy" } } } }, "GetSampledRequests": { "input": { "type": "structure", "required": [ "WebAclId", "RuleId", "TimeWindow", "MaxItems" ], "members": { "WebAclId": {}, "RuleId": {}, "TimeWindow": { "shape": "S2o" }, "MaxItems": { "type": "long" } } }, "output": { "type": "structure", "members": { "SampledRequests": { "type": "list", "member": { "type": "structure", "required": [ "Request", "Weight" ], "members": { "Request": { "type": "structure", "members": { "ClientIP": {}, "Country": {}, "URI": {}, "Method": {}, "HTTPVersion": {}, "Headers": { "type": "list", "member": { "type": "structure", "members": { "Name": {}, "Value": {} } } } } }, "Weight": { "type": "long" }, "Timestamp": { "type": "timestamp" }, "Action": {} } } }, "PopulationSize": { "type": "long" }, "TimeWindow": { "shape": "S2o" } } } }, "GetSizeConstraintSet": { "input": { "type": "structure", "required": [ "SizeConstraintSetId" ], "members": { "SizeConstraintSetId": {} } }, "output": { "type": "structure", "members": { "SizeConstraintSet": { "shape": "S11" } } } }, "GetSqlInjectionMatchSet": { "input": { "type": "structure", "required": [ "SqlInjectionMatchSetId" ], "members": { "SqlInjectionMatchSetId": {} } }, "output": { "type": "structure", "members": { "SqlInjectionMatchSet": { "shape": "S18" } } } }, "GetWebACL": { "input": { "type": "structure", "required": [ "WebACLId" ], "members": { "WebACLId": {} } }, "output": { "type": "structure", "members": { "WebACL": { "shape": "S1f" } } } }, "GetXssMatchSet": { "input": { "type": "structure", "required": [ "XssMatchSetId" ], "members": { "XssMatchSetId": {} } }, "output": { "type": "structure", "members": { "XssMatchSet": { "shape": "S1m" } } } }, "ListByteMatchSets": { "input": { "type": "structure", "members": { "NextMarker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "ByteMatchSets": { "type": "list", "member": { "type": "structure", "required": [ "ByteMatchSetId", "Name" ], "members": { "ByteMatchSetId": {}, "Name": {} } } } } } }, "ListIPSets": { "input": { "type": "structure", "members": { "NextMarker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "IPSets": { "type": "list", "member": { "type": "structure", "required": [ "IPSetId", "Name" ], "members": { "IPSetId": {}, "Name": {} } } } } } }, "ListRateBasedRules": { "input": { "type": "structure", "members": { "NextMarker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "Rules": { "shape": "S3q" } } } }, "ListRules": { "input": { "type": "structure", "members": { "NextMarker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "Rules": { "shape": "S3q" } } } }, "ListSizeConstraintSets": { "input": { "type": "structure", "members": { "NextMarker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "SizeConstraintSets": { "type": "list", "member": { "type": "structure", "required": [ "SizeConstraintSetId", "Name" ], "members": { "SizeConstraintSetId": {}, "Name": {} } } } } } }, "ListSqlInjectionMatchSets": { "input": { "type": "structure", "members": { "NextMarker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "SqlInjectionMatchSets": { "type": "list", "member": { "type": "structure", "required": [ "SqlInjectionMatchSetId", "Name" ], "members": { "SqlInjectionMatchSetId": {}, "Name": {} } } } } } }, "ListWebACLs": { "input": { "type": "structure", "members": { "NextMarker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "WebACLs": { "type": "list", "member": { "type": "structure", "required": [ "WebACLId", "Name" ], "members": { "WebACLId": {}, "Name": {} } } } } } }, "ListXssMatchSets": { "input": { "type": "structure", "members": { "NextMarker": {}, "Limit": { "type": "integer" } } }, "output": { "type": "structure", "members": { "NextMarker": {}, "XssMatchSets": { "type": "list", "member": { "type": "structure", "required": [ "XssMatchSetId", "Name" ], "members": { "XssMatchSetId": {}, "Name": {} } } } } } }, "UpdateByteMatchSet": { "input": { "type": "structure", "required": [ "ByteMatchSetId", "ChangeToken", "Updates" ], "members": { "ByteMatchSetId": {}, "ChangeToken": {}, "Updates": { "type": "list", "member": { "type": "structure", "required": [ "Action", "ByteMatchTuple" ], "members": { "Action": {}, "ByteMatchTuple": { "shape": "S8" } } } } } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "UpdateIPSet": { "input": { "type": "structure", "required": [ "IPSetId", "ChangeToken", "Updates" ], "members": { "IPSetId": {}, "ChangeToken": {}, "Updates": { "type": "list", "member": { "type": "structure", "required": [ "Action", "IPSetDescriptor" ], "members": { "Action": {}, "IPSetDescriptor": { "shape": "Sj" } } } } } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "UpdateRateBasedRule": { "input": { "type": "structure", "required": [ "RuleId", "ChangeToken", "Updates", "RateLimit" ], "members": { "RuleId": {}, "ChangeToken": {}, "Updates": { "shape": "S4k" }, "RateLimit": { "type": "long" } } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "UpdateRule": { "input": { "type": "structure", "required": [ "RuleId", "ChangeToken", "Updates" ], "members": { "RuleId": {}, "ChangeToken": {}, "Updates": { "shape": "S4k" } } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "UpdateSizeConstraintSet": { "input": { "type": "structure", "required": [ "SizeConstraintSetId", "ChangeToken", "Updates" ], "members": { "SizeConstraintSetId": {}, "ChangeToken": {}, "Updates": { "type": "list", "member": { "type": "structure", "required": [ "Action", "SizeConstraint" ], "members": { "Action": {}, "SizeConstraint": { "shape": "S13" } } } } } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "UpdateSqlInjectionMatchSet": { "input": { "type": "structure", "required": [ "SqlInjectionMatchSetId", "ChangeToken", "Updates" ], "members": { "SqlInjectionMatchSetId": {}, "ChangeToken": {}, "Updates": { "type": "list", "member": { "type": "structure", "required": [ "Action", "SqlInjectionMatchTuple" ], "members": { "Action": {}, "SqlInjectionMatchTuple": { "shape": "S1a" } } } } } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "UpdateWebACL": { "input": { "type": "structure", "required": [ "WebACLId", "ChangeToken" ], "members": { "WebACLId": {}, "ChangeToken": {}, "Updates": { "type": "list", "member": { "type": "structure", "required": [ "Action", "ActivatedRule" ], "members": { "Action": {}, "ActivatedRule": { "shape": "S1h" } } } }, "DefaultAction": { "shape": "S1c" } } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } }, "UpdateXssMatchSet": { "input": { "type": "structure", "required": [ "XssMatchSetId", "ChangeToken", "Updates" ], "members": { "XssMatchSetId": {}, "ChangeToken": {}, "Updates": { "type": "list", "member": { "type": "structure", "required": [ "Action", "XssMatchTuple" ], "members": { "Action": {}, "XssMatchTuple": { "shape": "S1o" } } } } } }, "output": { "type": "structure", "members": { "ChangeToken": {} } } } }, "shapes": { "S5": { "type": "structure", "required": [ "ByteMatchSetId", "ByteMatchTuples" ], "members": { "ByteMatchSetId": {}, "Name": {}, "ByteMatchTuples": { "type": "list", "member": { "shape": "S8" } } } }, "S8": { "type": "structure", "required": [ "FieldToMatch", "TargetString", "TextTransformation", "PositionalConstraint" ], "members": { "FieldToMatch": { "shape": "S9" }, "TargetString": { "type": "blob" }, "TextTransformation": {}, "PositionalConstraint": {} } }, "S9": { "type": "structure", "required": [ "Type" ], "members": { "Type": {}, "Data": {} } }, "Sh": { "type": "structure", "required": [ "IPSetId", "IPSetDescriptors" ], "members": { "IPSetId": {}, "Name": {}, "IPSetDescriptors": { "type": "list", "member": { "shape": "Sj" } } } }, "Sj": { "type": "structure", "required": [ "Type", "Value" ], "members": { "Type": {}, "Value": {} } }, "Sr": { "type": "structure", "required": [ "RuleId", "MatchPredicates", "RateKey", "RateLimit" ], "members": { "RuleId": {}, "Name": {}, "MetricName": {}, "MatchPredicates": { "shape": "Ss" }, "RateKey": {}, "RateLimit": { "type": "long" } } }, "Ss": { "type": "list", "member": { "shape": "St" } }, "St": { "type": "structure", "required": [ "Negated", "Type", "DataId" ], "members": { "Negated": { "type": "boolean" }, "Type": {}, "DataId": {} } }, "Sy": { "type": "structure", "required": [ "RuleId", "Predicates" ], "members": { "RuleId": {}, "Name": {}, "MetricName": {}, "Predicates": { "shape": "Ss" } } }, "S11": { "type": "structure", "required": [ "SizeConstraintSetId", "SizeConstraints" ], "members": { "SizeConstraintSetId": {}, "Name": {}, "SizeConstraints": { "type": "list", "member": { "shape": "S13" } } } }, "S13": { "type": "structure", "required": [ "FieldToMatch", "TextTransformation", "ComparisonOperator", "Size" ], "members": { "FieldToMatch": { "shape": "S9" }, "TextTransformation": {}, "ComparisonOperator": {}, "Size": { "type": "long" } } }, "S18": { "type": "structure", "required": [ "SqlInjectionMatchSetId", "SqlInjectionMatchTuples" ], "members": { "SqlInjectionMatchSetId": {}, "Name": {}, "SqlInjectionMatchTuples": { "type": "list", "member": { "shape": "S1a" } } } }, "S1a": { "type": "structure", "required": [ "FieldToMatch", "TextTransformation" ], "members": { "FieldToMatch": { "shape": "S9" }, "TextTransformation": {} } }, "S1c": { "type": "structure", "required": [ "Type" ], "members": { "Type": {} } }, "S1f": { "type": "structure", "required": [ "WebACLId", "DefaultAction", "Rules" ], "members": { "WebACLId": {}, "Name": {}, "MetricName": {}, "DefaultAction": { "shape": "S1c" }, "Rules": { "type": "list", "member": { "shape": "S1h" } } } }, "S1h": { "type": "structure", "required": [ "Priority", "RuleId", "Action" ], "members": { "Priority": { "type": "integer" }, "RuleId": {}, "Action": { "shape": "S1c" }, "Type": {} } }, "S1m": { "type": "structure", "required": [ "XssMatchSetId", "XssMatchTuples" ], "members": { "XssMatchSetId": {}, "Name": {}, "XssMatchTuples": { "type": "list", "member": { "shape": "S1o" } } } }, "S1o": { "type": "structure", "required": [ "FieldToMatch", "TextTransformation" ], "members": { "FieldToMatch": { "shape": "S9" }, "TextTransformation": {} } }, "S2o": { "type": "structure", "required": [ "StartTime", "EndTime" ], "members": { "StartTime": { "type": "timestamp" }, "EndTime": { "type": "timestamp" } } }, "S3q": { "type": "list", "member": { "type": "structure", "required": [ "RuleId", "Name" ], "members": { "RuleId": {}, "Name": {} } } }, "S4k": { "type": "list", "member": { "type": "structure", "required": [ "Action", "Predicate" ], "members": { "Action": {}, "Predicate": { "shape": "St" } } } } } } },{}],156:[function(require,module,exports){ arguments[4][27][0].apply(exports,arguments) },{"dup":27}],157:[function(require,module,exports){ module.exports={ "version": "2.0", "metadata": { "apiVersion": "2016-05-01", "endpointPrefix": "workdocs", "jsonVersion": "1.1", "protocol": "rest-json", "serviceFullName": "Amazon WorkDocs", "signatureVersion": "v4", "uid": "workdocs-2016-05-01" }, "operations": { "AbortDocumentVersionUpload": { "http": { "method": "DELETE", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "DocumentId", "VersionId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" }, "VersionId": { "location": "uri", "locationName": "VersionId" } } } }, "ActivateUser": { "http": { "requestUri": "/api/v1/users/{UserId}/activation", "responseCode": 200 }, "input": { "type": "structure", "required": [ "UserId" ], "members": { "UserId": { "location": "uri", "locationName": "UserId" }, "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" } } }, "output": { "type": "structure", "members": { "User": { "shape": "S8" } } } }, "AddResourcePermissions": { "http": { "requestUri": "/api/v1/resources/{ResourceId}/permissions", "responseCode": 201 }, "input": { "type": "structure", "required": [ "ResourceId", "Principals" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "ResourceId": { "location": "uri", "locationName": "ResourceId" }, "Principals": { "type": "list", "member": { "type": "structure", "required": [ "Id", "Type", "Role" ], "members": { "Id": {}, "Type": {}, "Role": {} } } } } }, "output": { "type": "structure", "members": { "ShareResults": { "type": "list", "member": { "type": "structure", "members": { "PrincipalId": {}, "Role": {}, "Status": {}, "ShareId": {}, "StatusMessage": { "type": "string", "sensitive": true } } } } } } }, "CreateComment": { "http": { "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment", "responseCode": 201 }, "input": { "type": "structure", "required": [ "DocumentId", "VersionId", "Text" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" }, "VersionId": { "location": "uri", "locationName": "VersionId" }, "ParentId": {}, "ThreadId": {}, "Text": { "shape": "Sy" }, "Visibility": {}, "NotifyCollaborators": { "type": "boolean" } } }, "output": { "type": "structure", "members": { "Comment": { "shape": "S12" } } } }, "CreateCustomMetadata": { "http": { "method": "PUT", "requestUri": "/api/v1/resources/{ResourceId}/customMetadata", "responseCode": 200 }, "input": { "type": "structure", "required": [ "ResourceId", "CustomMetadata" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "ResourceId": { "location": "uri", "locationName": "ResourceId" }, "VersionId": { "location": "querystring", "locationName": "versionid" }, "CustomMetadata": { "shape": "S15" } } }, "output": { "type": "structure", "members": {} } }, "CreateFolder": { "http": { "requestUri": "/api/v1/folders", "responseCode": 201 }, "input": { "type": "structure", "required": [ "ParentFolderId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "Name": {}, "ParentFolderId": {} } }, "output": { "type": "structure", "members": { "Metadata": { "shape": "S1c" } } } }, "CreateLabels": { "http": { "method": "PUT", "requestUri": "/api/v1/resources/{ResourceId}/labels", "responseCode": 200 }, "input": { "type": "structure", "required": [ "ResourceId", "Labels" ], "members": { "ResourceId": { "location": "uri", "locationName": "ResourceId" }, "Labels": { "shape": "S1f" }, "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" } } }, "output": { "type": "structure", "members": {} } }, "CreateNotificationSubscription": { "http": { "requestUri": "/api/v1/organizations/{OrganizationId}/subscriptions", "responseCode": 200 }, "input": { "type": "structure", "required": [ "OrganizationId", "Endpoint", "Protocol", "SubscriptionType" ], "members": { "OrganizationId": { "location": "uri", "locationName": "OrganizationId" }, "Endpoint": {}, "Protocol": {}, "SubscriptionType": {} } }, "output": { "type": "structure", "members": { "Subscription": { "shape": "S1o" } } } }, "CreateUser": { "http": { "requestUri": "/api/v1/users", "responseCode": 201 }, "input": { "type": "structure", "required": [ "Username", "GivenName", "Surname", "Password" ], "members": { "OrganizationId": {}, "Username": {}, "EmailAddress": {}, "GivenName": {}, "Surname": {}, "Password": { "type": "string", "sensitive": true }, "TimeZoneId": {}, "StorageRule": { "shape": "Sj" }, "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" } } }, "output": { "type": "structure", "members": { "User": { "shape": "S8" } } } }, "DeactivateUser": { "http": { "method": "DELETE", "requestUri": "/api/v1/users/{UserId}/activation", "responseCode": 204 }, "input": { "type": "structure", "required": [ "UserId" ], "members": { "UserId": { "location": "uri", "locationName": "UserId" }, "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" } } } }, "DeleteComment": { "http": { "method": "DELETE", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comment/{CommentId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "DocumentId", "VersionId", "CommentId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" }, "VersionId": { "location": "uri", "locationName": "VersionId" }, "CommentId": { "location": "uri", "locationName": "CommentId" } } } }, "DeleteCustomMetadata": { "http": { "method": "DELETE", "requestUri": "/api/v1/resources/{ResourceId}/customMetadata", "responseCode": 200 }, "input": { "type": "structure", "required": [ "ResourceId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "ResourceId": { "location": "uri", "locationName": "ResourceId" }, "VersionId": { "location": "querystring", "locationName": "versionId" }, "Keys": { "location": "querystring", "locationName": "keys", "type": "list", "member": {} }, "DeleteAll": { "location": "querystring", "locationName": "deleteAll", "type": "boolean" } } }, "output": { "type": "structure", "members": {} } }, "DeleteDocument": { "http": { "method": "DELETE", "requestUri": "/api/v1/documents/{DocumentId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" } } } }, "DeleteFolder": { "http": { "method": "DELETE", "requestUri": "/api/v1/folders/{FolderId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "FolderId": { "location": "uri", "locationName": "FolderId" } } } }, "DeleteFolderContents": { "http": { "method": "DELETE", "requestUri": "/api/v1/folders/{FolderId}/contents", "responseCode": 204 }, "input": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "FolderId": { "location": "uri", "locationName": "FolderId" } } } }, "DeleteLabels": { "http": { "method": "DELETE", "requestUri": "/api/v1/resources/{ResourceId}/labels", "responseCode": 200 }, "input": { "type": "structure", "required": [ "ResourceId" ], "members": { "ResourceId": { "location": "uri", "locationName": "ResourceId" }, "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "Labels": { "shape": "S1f", "location": "querystring", "locationName": "labels" }, "DeleteAll": { "location": "querystring", "locationName": "deleteAll", "type": "boolean" } } }, "output": { "type": "structure", "members": {} } }, "DeleteNotificationSubscription": { "http": { "method": "DELETE", "requestUri": "/api/v1/organizations/{OrganizationId}/subscriptions/{SubscriptionId}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "SubscriptionId", "OrganizationId" ], "members": { "SubscriptionId": { "location": "uri", "locationName": "SubscriptionId" }, "OrganizationId": { "location": "uri", "locationName": "OrganizationId" } } } }, "DeleteUser": { "http": { "method": "DELETE", "requestUri": "/api/v1/users/{UserId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "UserId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "UserId": { "location": "uri", "locationName": "UserId" } } } }, "DescribeActivities": { "http": { "method": "GET", "requestUri": "/api/v1/activities", "responseCode": 200 }, "input": { "type": "structure", "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "StartTime": { "location": "querystring", "locationName": "startTime", "type": "timestamp" }, "EndTime": { "location": "querystring", "locationName": "endTime", "type": "timestamp" }, "OrganizationId": { "location": "querystring", "locationName": "organizationId" }, "UserId": { "location": "querystring", "locationName": "userId" }, "Limit": { "location": "querystring", "locationName": "limit", "type": "integer" }, "Marker": { "location": "querystring", "locationName": "marker" } } }, "output": { "type": "structure", "members": { "UserActivities": { "type": "list", "member": { "type": "structure", "members": { "Type": {}, "TimeStamp": { "type": "timestamp" }, "OrganizationId": {}, "Initiator": { "shape": "S2b" }, "Participants": { "type": "structure", "members": { "Users": { "type": "list", "member": { "shape": "S2b" } }, "Groups": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Name": {} } } } } }, "ResourceMetadata": { "shape": "S2h" }, "OriginalParent": { "shape": "S2h" }, "CommentMetadata": { "type": "structure", "members": { "CommentId": {}, "Contributor": { "shape": "S8" }, "CreatedTimestamp": { "type": "timestamp" }, "CommentStatus": {}, "RecipientId": {} } } } } }, "Marker": {} } } }, "DescribeComments": { "http": { "method": "GET", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}/comments", "responseCode": 200 }, "input": { "type": "structure", "required": [ "DocumentId", "VersionId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" }, "VersionId": { "location": "uri", "locationName": "VersionId" }, "Limit": { "location": "querystring", "locationName": "limit", "type": "integer" }, "Marker": { "location": "querystring", "locationName": "marker" } } }, "output": { "type": "structure", "members": { "Comments": { "type": "list", "member": { "shape": "S12" } }, "Marker": {} } } }, "DescribeDocumentVersions": { "http": { "method": "GET", "requestUri": "/api/v1/documents/{DocumentId}/versions", "responseCode": 200 }, "input": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" }, "Marker": { "location": "querystring", "locationName": "marker" }, "Limit": { "location": "querystring", "locationName": "limit", "type": "integer" }, "Include": { "location": "querystring", "locationName": "include" }, "Fields": { "location": "querystring", "locationName": "fields" } } }, "output": { "type": "structure", "members": { "DocumentVersions": { "type": "list", "member": { "shape": "S2s" } }, "Marker": {} } } }, "DescribeFolderContents": { "http": { "method": "GET", "requestUri": "/api/v1/folders/{FolderId}/contents", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "FolderId": { "location": "uri", "locationName": "FolderId" }, "Sort": { "location": "querystring", "locationName": "sort" }, "Order": { "location": "querystring", "locationName": "order" }, "Limit": { "location": "querystring", "locationName": "limit", "type": "integer" }, "Marker": { "location": "querystring", "locationName": "marker" }, "Type": { "location": "querystring", "locationName": "type" }, "Include": { "location": "querystring", "locationName": "include" } } }, "output": { "type": "structure", "members": { "Folders": { "shape": "S35" }, "Documents": { "type": "list", "member": { "shape": "S37" } }, "Marker": {} } } }, "DescribeNotificationSubscriptions": { "http": { "method": "GET", "requestUri": "/api/v1/organizations/{OrganizationId}/subscriptions", "responseCode": 200 }, "input": { "type": "structure", "required": [ "OrganizationId" ], "members": { "OrganizationId": { "location": "uri", "locationName": "OrganizationId" }, "Marker": { "location": "querystring", "locationName": "marker" }, "Limit": { "location": "querystring", "locationName": "limit", "type": "integer" } } }, "output": { "type": "structure", "members": { "Subscriptions": { "type": "list", "member": { "shape": "S1o" } }, "Marker": {} } } }, "DescribeResourcePermissions": { "http": { "method": "GET", "requestUri": "/api/v1/resources/{ResourceId}/permissions", "responseCode": 200 }, "input": { "type": "structure", "required": [ "ResourceId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "ResourceId": { "location": "uri", "locationName": "ResourceId" }, "Limit": { "location": "querystring", "locationName": "limit", "type": "integer" }, "Marker": { "location": "querystring", "locationName": "marker" } } }, "output": { "type": "structure", "members": { "Principals": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Type": {}, "Roles": { "type": "list", "member": { "type": "structure", "members": { "Role": {}, "Type": {} } } } } } }, "Marker": {} } } }, "DescribeRootFolders": { "http": { "method": "GET", "requestUri": "/api/v1/me/root", "responseCode": 200 }, "input": { "type": "structure", "required": [ "AuthenticationToken" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "Limit": { "location": "querystring", "locationName": "limit", "type": "integer" }, "Marker": { "location": "querystring", "locationName": "marker" } } }, "output": { "type": "structure", "members": { "Folders": { "shape": "S35" }, "Marker": {} } } }, "DescribeUsers": { "http": { "method": "GET", "requestUri": "/api/v1/users", "responseCode": 200 }, "input": { "type": "structure", "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "OrganizationId": { "location": "querystring", "locationName": "organizationId" }, "UserIds": { "location": "querystring", "locationName": "userIds" }, "Query": { "location": "querystring", "locationName": "query", "type": "string", "sensitive": true }, "Include": { "location": "querystring", "locationName": "include" }, "Order": { "location": "querystring", "locationName": "order" }, "Sort": { "location": "querystring", "locationName": "sort" }, "Marker": { "location": "querystring", "locationName": "marker" }, "Limit": { "location": "querystring", "locationName": "limit", "type": "integer" }, "Fields": { "location": "querystring", "locationName": "fields" } } }, "output": { "type": "structure", "members": { "Users": { "type": "list", "member": { "shape": "S8" } }, "TotalNumberOfUsers": { "type": "long" }, "Marker": {} } } }, "GetCurrentUser": { "http": { "method": "GET", "requestUri": "/api/v1/me", "responseCode": 200 }, "input": { "type": "structure", "required": [ "AuthenticationToken" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" } } }, "output": { "type": "structure", "members": { "User": { "shape": "S8" } } } }, "GetDocument": { "http": { "method": "GET", "requestUri": "/api/v1/documents/{DocumentId}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" }, "IncludeCustomMetadata": { "location": "querystring", "locationName": "includeCustomMetadata", "type": "boolean" } } }, "output": { "type": "structure", "members": { "Metadata": { "shape": "S37" }, "CustomMetadata": { "shape": "S15" } } } }, "GetDocumentPath": { "http": { "method": "GET", "requestUri": "/api/v1/documents/{DocumentId}/path", "responseCode": 200 }, "input": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" }, "Limit": { "location": "querystring", "locationName": "limit", "type": "integer" }, "Fields": { "location": "querystring", "locationName": "fields" }, "Marker": { "location": "querystring", "locationName": "marker" } } }, "output": { "type": "structure", "members": { "Path": { "shape": "S3x" } } } }, "GetDocumentVersion": { "http": { "method": "GET", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "DocumentId", "VersionId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" }, "VersionId": { "location": "uri", "locationName": "VersionId" }, "Fields": { "location": "querystring", "locationName": "fields" }, "IncludeCustomMetadata": { "location": "querystring", "locationName": "includeCustomMetadata", "type": "boolean" } } }, "output": { "type": "structure", "members": { "Metadata": { "shape": "S2s" }, "CustomMetadata": { "shape": "S15" } } } }, "GetFolder": { "http": { "method": "GET", "requestUri": "/api/v1/folders/{FolderId}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "FolderId": { "location": "uri", "locationName": "FolderId" }, "IncludeCustomMetadata": { "location": "querystring", "locationName": "includeCustomMetadata", "type": "boolean" } } }, "output": { "type": "structure", "members": { "Metadata": { "shape": "S1c" }, "CustomMetadata": { "shape": "S15" } } } }, "GetFolderPath": { "http": { "method": "GET", "requestUri": "/api/v1/folders/{FolderId}/path", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "FolderId": { "location": "uri", "locationName": "FolderId" }, "Limit": { "location": "querystring", "locationName": "limit", "type": "integer" }, "Fields": { "location": "querystring", "locationName": "fields" }, "Marker": { "location": "querystring", "locationName": "marker" } } }, "output": { "type": "structure", "members": { "Path": { "shape": "S3x" } } } }, "InitiateDocumentVersionUpload": { "http": { "requestUri": "/api/v1/documents", "responseCode": 201 }, "input": { "type": "structure", "required": [ "ParentFolderId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "Id": {}, "Name": {}, "ContentCreatedTimestamp": { "type": "timestamp" }, "ContentModifiedTimestamp": { "type": "timestamp" }, "ContentType": {}, "DocumentSizeInBytes": { "type": "long" }, "ParentFolderId": {} } }, "output": { "type": "structure", "members": { "Metadata": { "shape": "S37" }, "UploadMetadata": { "type": "structure", "members": { "UploadUrl": { "shape": "S2x" }, "SignedHeaders": { "type": "map", "key": {}, "value": {} } } } } } }, "RemoveAllResourcePermissions": { "http": { "method": "DELETE", "requestUri": "/api/v1/resources/{ResourceId}/permissions", "responseCode": 204 }, "input": { "type": "structure", "required": [ "ResourceId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "ResourceId": { "location": "uri", "locationName": "ResourceId" } } } }, "RemoveResourcePermission": { "http": { "method": "DELETE", "requestUri": "/api/v1/resources/{ResourceId}/permissions/{PrincipalId}", "responseCode": 204 }, "input": { "type": "structure", "required": [ "ResourceId", "PrincipalId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "ResourceId": { "location": "uri", "locationName": "ResourceId" }, "PrincipalId": { "location": "uri", "locationName": "PrincipalId" }, "PrincipalType": { "location": "querystring", "locationName": "type" } } } }, "UpdateDocument": { "http": { "method": "PATCH", "requestUri": "/api/v1/documents/{DocumentId}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "DocumentId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" }, "Name": {}, "ParentFolderId": {}, "ResourceState": {} } } }, "UpdateDocumentVersion": { "http": { "method": "PATCH", "requestUri": "/api/v1/documents/{DocumentId}/versions/{VersionId}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "DocumentId", "VersionId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "DocumentId": { "location": "uri", "locationName": "DocumentId" }, "VersionId": { "location": "uri", "locationName": "VersionId" }, "VersionStatus": {} } } }, "UpdateFolder": { "http": { "method": "PATCH", "requestUri": "/api/v1/folders/{FolderId}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "FolderId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "FolderId": { "location": "uri", "locationName": "FolderId" }, "Name": {}, "ParentFolderId": {}, "ResourceState": {} } } }, "UpdateUser": { "http": { "method": "PATCH", "requestUri": "/api/v1/users/{UserId}", "responseCode": 200 }, "input": { "type": "structure", "required": [ "UserId" ], "members": { "AuthenticationToken": { "shape": "S2", "location": "header", "locationName": "Authentication" }, "UserId": { "location": "uri", "locationName": "UserId" }, "GivenName": {}, "Surname": {}, "Type": {}, "StorageRule": { "shape": "Sj" }, "TimeZoneId": {}, "Locale": {} } }, "output": { "type": "structure", "members": { "User": { "shape": "S8" } } } } }, "shapes": { "S2": { "type": "string", "sensitive": true }, "S8": { "type": "structure", "members": { "Id": {}, "Username": {}, "EmailAddress": {}, "GivenName": {}, "Surname": {}, "OrganizationId": {}, "RootFolderId": {}, "RecycleBinFolderId": {}, "Status": {}, "Type": {}, "CreatedTimestamp": { "type": "timestamp" }, "ModifiedTimestamp": { "type": "timestamp" }, "TimeZoneId": {}, "Locale": {}, "Storage": { "type": "structure", "members": { "StorageUtilizedInBytes": { "type": "long" }, "StorageRule": { "shape": "Sj" } } } } }, "Sj": { "type": "structure", "members": { "StorageAllocatedInBytes": { "type": "long" }, "StorageType": {} } }, "Sy": { "type": "string", "sensitive": true }, "S12": { "type": "structure", "required": [ "CommentId" ], "members": { "CommentId": {}, "ParentId": {}, "ThreadId": {}, "Text": { "shape": "Sy" }, "Contributor": { "shape": "S8" }, "CreatedTimestamp": { "type": "timestamp" }, "Status": {}, "Visibility": {}, "RecipientId": {} } }, "S15": { "type": "map", "key": {}, "value": {} }, "S1c": { "type": "structure", "members": { "Id": {}, "Name": {}, "CreatorId": {}, "ParentFolderId": {}, "CreatedTimestamp": { "type": "timestamp" }, "ModifiedTimestamp": { "type": "timestamp" }, "ResourceState": {}, "Signature": {}, "Labels": { "shape": "S1f" }, "Size": { "type": "long" }, "LatestVersionSize": { "type": "long" } } }, "S1f": { "type": "list", "member": {} }, "S1o": { "type": "structure", "members": { "SubscriptionId": {}, "EndPoint": {}, "Protocol": {} } }, "S2b": { "type": "structure", "members": { "Id": {}, "Username": {}, "GivenName": {}, "Surname": {}, "EmailAddress": {} } }, "S2h": { "type": "structure", "members": { "Type": {}, "Name": {}, "OriginalName": {}, "Id": {}, "VersionId": {}, "Owner": { "shape": "S2b" }, "ParentId": {} } }, "S2s": { "type": "structure", "members": { "Id": {}, "Name": {}, "ContentType": {}, "Size": { "type": "long" }, "Signature": {}, "Status": {}, "CreatedTimestamp": { "type": "timestamp" }, "ModifiedTimestamp": { "type": "timestamp" }, "ContentCreatedTimestamp": { "type": "timestamp" }, "ContentModifiedTimestamp": { "type": "timestamp" }, "CreatorId": {}, "Thumbnail": { "type": "map", "key": {}, "value": { "shape": "S2x" } }, "Source": { "type": "map", "key": {}, "value": { "shape": "S2x" } } } }, "S2x": { "type": "string", "sensitive": true }, "S35": { "type": "list", "member": { "shape": "S1c" } }, "S37": { "type": "structure", "members": { "Id": {}, "CreatorId": {}, "ParentFolderId": {}, "CreatedTimestamp": { "type": "timestamp" }, "ModifiedTimestamp": { "type": "timestamp" }, "LatestVersionMetadata": { "shape": "S2s" }, "ResourceState": {}, "Labels": { "shape": "S1f" } } }, "S3x": { "type": "structure", "members": { "Components": { "type": "list", "member": { "type": "structure", "members": { "Id": {}, "Name": {} } } } } } } } },{}],158:[function(require,module,exports){ module.exports={ "pagination": { "DescribeDocumentVersions": { "input_token": "Marker", "limit_key": "Limit", "output_token": "Marker", "result_key": "DocumentVersions" }, "DescribeFolderContents": { "input_token": "Marker", "limit_key": "Limit", "output_token": "Marker", "result_key": [ "Folders", "Documents" ] }, "DescribeUsers": { "input_token": "Marker", "limit_key": "Limit", "output_token": "Marker", "result_key": "Users" } } } },{}],159:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['acm'] = {}; AWS.ACM = Service.defineService('acm', ['2015-12-08']); Object.defineProperty(apiLoader.services['acm'], '2015-12-08', { get: function get() { var model = require('../apis/acm-2015-12-08.min.json'); model.paginators = require('../apis/acm-2015-12-08.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ACM; },{"../apis/acm-2015-12-08.min.json":1,"../apis/acm-2015-12-08.paginators.json":2,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],160:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['apigateway'] = {}; AWS.APIGateway = Service.defineService('apigateway', ['2015-07-09']); require('../lib/services/apigateway'); Object.defineProperty(apiLoader.services['apigateway'], '2015-07-09', { get: function get() { var model = require('../apis/apigateway-2015-07-09.min.json'); model.paginators = require('../apis/apigateway-2015-07-09.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.APIGateway; },{"../apis/apigateway-2015-07-09.min.json":3,"../apis/apigateway-2015-07-09.paginators.json":4,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/apigateway":267}],161:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['applicationautoscaling'] = {}; AWS.ApplicationAutoScaling = Service.defineService('applicationautoscaling', ['2016-02-06']); Object.defineProperty(apiLoader.services['applicationautoscaling'], '2016-02-06', { get: function get() { var model = require('../apis/application-autoscaling-2016-02-06.min.json'); model.paginators = require('../apis/application-autoscaling-2016-02-06.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ApplicationAutoScaling; },{"../apis/application-autoscaling-2016-02-06.min.json":5,"../apis/application-autoscaling-2016-02-06.paginators.json":6,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],162:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['autoscaling'] = {}; AWS.AutoScaling = Service.defineService('autoscaling', ['2011-01-01']); Object.defineProperty(apiLoader.services['autoscaling'], '2011-01-01', { get: function get() { var model = require('../apis/autoscaling-2011-01-01.min.json'); model.paginators = require('../apis/autoscaling-2011-01-01.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.AutoScaling; },{"../apis/autoscaling-2011-01-01.min.json":7,"../apis/autoscaling-2011-01-01.paginators.json":8,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],163:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); module.exports = { ACM: require('./acm'), APIGateway: require('./apigateway'), ApplicationAutoScaling: require('./applicationautoscaling'), AutoScaling: require('./autoscaling'), CloudFormation: require('./cloudformation'), CloudFront: require('./cloudfront'), CloudHSM: require('./cloudhsm'), CloudTrail: require('./cloudtrail'), CloudWatch: require('./cloudwatch'), CloudWatchEvents: require('./cloudwatchevents'), CloudWatchLogs: require('./cloudwatchlogs'), CodeCommit: require('./codecommit'), CodeDeploy: require('./codedeploy'), CodePipeline: require('./codepipeline'), CognitoIdentity: require('./cognitoidentity'), CognitoIdentityServiceProvider: require('./cognitoidentityserviceprovider'), CognitoSync: require('./cognitosync'), ConfigService: require('./configservice'), CUR: require('./cur'), DeviceFarm: require('./devicefarm'), DirectConnect: require('./directconnect'), DynamoDB: require('./dynamodb'), DynamoDBStreams: require('./dynamodbstreams'), EC2: require('./ec2'), ECR: require('./ecr'), ECS: require('./ecs'), EFS: require('./efs'), ElastiCache: require('./elasticache'), ElasticBeanstalk: require('./elasticbeanstalk'), ELB: require('./elb'), ELBv2: require('./elbv2'), EMR: require('./emr'), ElasticTranscoder: require('./elastictranscoder'), Firehose: require('./firehose'), GameLift: require('./gamelift'), Inspector: require('./inspector'), Iot: require('./iot'), IotData: require('./iotdata'), Kinesis: require('./kinesis'), KMS: require('./kms'), Lambda: require('./lambda'), LexRuntime: require('./lexruntime'), MachineLearning: require('./machinelearning'), MarketplaceCommerceAnalytics: require('./marketplacecommerceanalytics'), MTurk: require('./mturk'), MobileAnalytics: require('./mobileanalytics'), OpsWorks: require('./opsworks'), Polly: require('./polly'), RDS: require('./rds'), Redshift: require('./redshift'), Rekognition: require('./rekognition'), Route53: require('./route53'), Route53Domains: require('./route53domains'), S3: require('./s3'), ServiceCatalog: require('./servicecatalog'), SES: require('./ses'), SNS: require('./sns'), SQS: require('./sqs'), SSM: require('./ssm'), StorageGateway: require('./storagegateway'), STS: require('./sts'), WAF: require('./waf'), WorkDocs: require('./workdocs') }; },{"../lib/core":227,"../lib/node_loader":224,"./acm":159,"./apigateway":160,"./applicationautoscaling":161,"./autoscaling":162,"./cloudformation":164,"./cloudfront":165,"./cloudhsm":166,"./cloudtrail":167,"./cloudwatch":168,"./cloudwatchevents":169,"./cloudwatchlogs":170,"./codecommit":171,"./codedeploy":172,"./codepipeline":173,"./cognitoidentity":174,"./cognitoidentityserviceprovider":175,"./cognitosync":176,"./configservice":177,"./cur":178,"./devicefarm":179,"./directconnect":180,"./dynamodb":181,"./dynamodbstreams":182,"./ec2":183,"./ecr":184,"./ecs":185,"./efs":186,"./elasticache":187,"./elasticbeanstalk":188,"./elastictranscoder":189,"./elb":190,"./elbv2":191,"./emr":192,"./firehose":193,"./gamelift":194,"./inspector":195,"./iot":196,"./iotdata":197,"./kinesis":198,"./kms":199,"./lambda":200,"./lexruntime":201,"./machinelearning":202,"./marketplacecommerceanalytics":203,"./mobileanalytics":204,"./mturk":205,"./opsworks":206,"./polly":207,"./rds":208,"./redshift":209,"./rekognition":210,"./route53":211,"./route53domains":212,"./s3":213,"./servicecatalog":214,"./ses":215,"./sns":216,"./sqs":217,"./ssm":218,"./storagegateway":219,"./sts":220,"./waf":221,"./workdocs":222}],164:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cloudformation'] = {}; AWS.CloudFormation = Service.defineService('cloudformation', ['2010-05-15']); Object.defineProperty(apiLoader.services['cloudformation'], '2010-05-15', { get: function get() { var model = require('../apis/cloudformation-2010-05-15.min.json'); model.paginators = require('../apis/cloudformation-2010-05-15.paginators.json').pagination; model.waiters = require('../apis/cloudformation-2010-05-15.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CloudFormation; },{"../apis/cloudformation-2010-05-15.min.json":9,"../apis/cloudformation-2010-05-15.paginators.json":10,"../apis/cloudformation-2010-05-15.waiters2.json":11,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],165:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cloudfront'] = {}; AWS.CloudFront = Service.defineService('cloudfront', ['2013-05-12*', '2013-11-11*', '2014-05-31*', '2014-10-21*', '2014-11-06*', '2015-04-17*', '2015-07-27*', '2015-09-17*', '2016-01-13*', '2016-01-28*', '2016-08-01*', '2016-08-20*', '2016-09-07*', '2016-09-29*', '2016-11-25', '2016-11-25*', '2017-03-25']); require('../lib/services/cloudfront'); Object.defineProperty(apiLoader.services['cloudfront'], '2016-11-25', { get: function get() { var model = require('../apis/cloudfront-2016-11-25.min.json'); model.paginators = require('../apis/cloudfront-2016-11-25.paginators.json').pagination; model.waiters = require('../apis/cloudfront-2016-11-25.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); Object.defineProperty(apiLoader.services['cloudfront'], '2017-03-25', { get: function get() { var model = require('../apis/cloudfront-2017-03-25.min.json'); model.paginators = require('../apis/cloudfront-2017-03-25.paginators.json').pagination; model.waiters = require('../apis/cloudfront-2017-03-25.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CloudFront; },{"../apis/cloudfront-2016-11-25.min.json":12,"../apis/cloudfront-2016-11-25.paginators.json":13,"../apis/cloudfront-2016-11-25.waiters2.json":14,"../apis/cloudfront-2017-03-25.min.json":15,"../apis/cloudfront-2017-03-25.paginators.json":16,"../apis/cloudfront-2017-03-25.waiters2.json":17,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/cloudfront":268}],166:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cloudhsm'] = {}; AWS.CloudHSM = Service.defineService('cloudhsm', ['2014-05-30']); Object.defineProperty(apiLoader.services['cloudhsm'], '2014-05-30', { get: function get() { var model = require('../apis/cloudhsm-2014-05-30.min.json'); return model; }, enumerable: true, configurable: true }); module.exports = AWS.CloudHSM; },{"../apis/cloudhsm-2014-05-30.min.json":18,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],167:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cloudtrail'] = {}; AWS.CloudTrail = Service.defineService('cloudtrail', ['2013-11-01']); Object.defineProperty(apiLoader.services['cloudtrail'], '2013-11-01', { get: function get() { var model = require('../apis/cloudtrail-2013-11-01.min.json'); model.paginators = require('../apis/cloudtrail-2013-11-01.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CloudTrail; },{"../apis/cloudtrail-2013-11-01.min.json":19,"../apis/cloudtrail-2013-11-01.paginators.json":20,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],168:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cloudwatch'] = {}; AWS.CloudWatch = Service.defineService('cloudwatch', ['2010-08-01']); Object.defineProperty(apiLoader.services['cloudwatch'], '2010-08-01', { get: function get() { var model = require('../apis/monitoring-2010-08-01.min.json'); model.paginators = require('../apis/monitoring-2010-08-01.paginators.json').pagination; model.waiters = require('../apis/monitoring-2010-08-01.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CloudWatch; },{"../apis/monitoring-2010-08-01.min.json":104,"../apis/monitoring-2010-08-01.paginators.json":105,"../apis/monitoring-2010-08-01.waiters2.json":106,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],169:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cloudwatchevents'] = {}; AWS.CloudWatchEvents = Service.defineService('cloudwatchevents', ['2014-02-03*', '2015-10-07']); Object.defineProperty(apiLoader.services['cloudwatchevents'], '2015-10-07', { get: function get() { var model = require('../apis/events-2015-10-07.min.json'); model.paginators = require('../apis/events-2015-10-07.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CloudWatchEvents; },{"../apis/events-2015-10-07.min.json":76,"../apis/events-2015-10-07.paginators.json":77,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],170:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cloudwatchlogs'] = {}; AWS.CloudWatchLogs = Service.defineService('cloudwatchlogs', ['2014-03-28']); Object.defineProperty(apiLoader.services['cloudwatchlogs'], '2014-03-28', { get: function get() { var model = require('../apis/logs-2014-03-28.min.json'); model.paginators = require('../apis/logs-2014-03-28.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CloudWatchLogs; },{"../apis/logs-2014-03-28.min.json":95,"../apis/logs-2014-03-28.paginators.json":96,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],171:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['codecommit'] = {}; AWS.CodeCommit = Service.defineService('codecommit', ['2015-04-13']); Object.defineProperty(apiLoader.services['codecommit'], '2015-04-13', { get: function get() { var model = require('../apis/codecommit-2015-04-13.min.json'); model.paginators = require('../apis/codecommit-2015-04-13.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CodeCommit; },{"../apis/codecommit-2015-04-13.min.json":21,"../apis/codecommit-2015-04-13.paginators.json":22,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],172:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['codedeploy'] = {}; AWS.CodeDeploy = Service.defineService('codedeploy', ['2014-10-06']); Object.defineProperty(apiLoader.services['codedeploy'], '2014-10-06', { get: function get() { var model = require('../apis/codedeploy-2014-10-06.min.json'); model.paginators = require('../apis/codedeploy-2014-10-06.paginators.json').pagination; model.waiters = require('../apis/codedeploy-2014-10-06.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CodeDeploy; },{"../apis/codedeploy-2014-10-06.min.json":23,"../apis/codedeploy-2014-10-06.paginators.json":24,"../apis/codedeploy-2014-10-06.waiters2.json":25,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],173:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['codepipeline'] = {}; AWS.CodePipeline = Service.defineService('codepipeline', ['2015-07-09']); Object.defineProperty(apiLoader.services['codepipeline'], '2015-07-09', { get: function get() { var model = require('../apis/codepipeline-2015-07-09.min.json'); model.paginators = require('../apis/codepipeline-2015-07-09.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CodePipeline; },{"../apis/codepipeline-2015-07-09.min.json":26,"../apis/codepipeline-2015-07-09.paginators.json":27,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],174:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cognitoidentity'] = {}; AWS.CognitoIdentity = Service.defineService('cognitoidentity', ['2014-06-30']); require('../lib/services/cognitoidentity'); Object.defineProperty(apiLoader.services['cognitoidentity'], '2014-06-30', { get: function get() { var model = require('../apis/cognito-identity-2014-06-30.min.json'); model.paginators = require('../apis/cognito-identity-2014-06-30.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CognitoIdentity; },{"../apis/cognito-identity-2014-06-30.min.json":28,"../apis/cognito-identity-2014-06-30.paginators.json":29,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/cognitoidentity":269}],175:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cognitoidentityserviceprovider'] = {}; AWS.CognitoIdentityServiceProvider = Service.defineService('cognitoidentityserviceprovider', ['2016-04-18']); Object.defineProperty(apiLoader.services['cognitoidentityserviceprovider'], '2016-04-18', { get: function get() { var model = require('../apis/cognito-idp-2016-04-18.min.json'); model.paginators = require('../apis/cognito-idp-2016-04-18.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CognitoIdentityServiceProvider; },{"../apis/cognito-idp-2016-04-18.min.json":30,"../apis/cognito-idp-2016-04-18.paginators.json":31,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],176:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cognitosync'] = {}; AWS.CognitoSync = Service.defineService('cognitosync', ['2014-06-30']); Object.defineProperty(apiLoader.services['cognitosync'], '2014-06-30', { get: function get() { var model = require('../apis/cognito-sync-2014-06-30.min.json'); return model; }, enumerable: true, configurable: true }); module.exports = AWS.CognitoSync; },{"../apis/cognito-sync-2014-06-30.min.json":32,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],177:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['configservice'] = {}; AWS.ConfigService = Service.defineService('configservice', ['2014-11-12']); Object.defineProperty(apiLoader.services['configservice'], '2014-11-12', { get: function get() { var model = require('../apis/config-2014-11-12.min.json'); model.paginators = require('../apis/config-2014-11-12.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ConfigService; },{"../apis/config-2014-11-12.min.json":33,"../apis/config-2014-11-12.paginators.json":34,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],178:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['cur'] = {}; AWS.CUR = Service.defineService('cur', ['2017-01-06']); Object.defineProperty(apiLoader.services['cur'], '2017-01-06', { get: function get() { var model = require('../apis/cur-2017-01-06.min.json'); model.paginators = require('../apis/cur-2017-01-06.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.CUR; },{"../apis/cur-2017-01-06.min.json":35,"../apis/cur-2017-01-06.paginators.json":36,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],179:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['devicefarm'] = {}; AWS.DeviceFarm = Service.defineService('devicefarm', ['2015-06-23']); Object.defineProperty(apiLoader.services['devicefarm'], '2015-06-23', { get: function get() { var model = require('../apis/devicefarm-2015-06-23.min.json'); model.paginators = require('../apis/devicefarm-2015-06-23.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.DeviceFarm; },{"../apis/devicefarm-2015-06-23.min.json":37,"../apis/devicefarm-2015-06-23.paginators.json":38,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],180:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['directconnect'] = {}; AWS.DirectConnect = Service.defineService('directconnect', ['2012-10-25']); Object.defineProperty(apiLoader.services['directconnect'], '2012-10-25', { get: function get() { var model = require('../apis/directconnect-2012-10-25.min.json'); model.paginators = require('../apis/directconnect-2012-10-25.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.DirectConnect; },{"../apis/directconnect-2012-10-25.min.json":39,"../apis/directconnect-2012-10-25.paginators.json":40,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],181:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['dynamodb'] = {}; AWS.DynamoDB = Service.defineService('dynamodb', ['2011-12-05', '2012-08-10']); require('../lib/services/dynamodb'); Object.defineProperty(apiLoader.services['dynamodb'], '2011-12-05', { get: function get() { var model = require('../apis/dynamodb-2011-12-05.min.json'); model.paginators = require('../apis/dynamodb-2011-12-05.paginators.json').pagination; model.waiters = require('../apis/dynamodb-2011-12-05.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); Object.defineProperty(apiLoader.services['dynamodb'], '2012-08-10', { get: function get() { var model = require('../apis/dynamodb-2012-08-10.min.json'); model.paginators = require('../apis/dynamodb-2012-08-10.paginators.json').pagination; model.waiters = require('../apis/dynamodb-2012-08-10.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.DynamoDB; },{"../apis/dynamodb-2011-12-05.min.json":41,"../apis/dynamodb-2011-12-05.paginators.json":42,"../apis/dynamodb-2011-12-05.waiters2.json":43,"../apis/dynamodb-2012-08-10.min.json":44,"../apis/dynamodb-2012-08-10.paginators.json":45,"../apis/dynamodb-2012-08-10.waiters2.json":46,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/dynamodb":270}],182:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['dynamodbstreams'] = {}; AWS.DynamoDBStreams = Service.defineService('dynamodbstreams', ['2012-08-10']); Object.defineProperty(apiLoader.services['dynamodbstreams'], '2012-08-10', { get: function get() { var model = require('../apis/streams.dynamodb-2012-08-10.min.json'); model.paginators = require('../apis/streams.dynamodb-2012-08-10.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.DynamoDBStreams; },{"../apis/streams.dynamodb-2012-08-10.min.json":151,"../apis/streams.dynamodb-2012-08-10.paginators.json":152,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],183:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['ec2'] = {}; AWS.EC2 = Service.defineService('ec2', ['2013-06-15*', '2013-10-15*', '2014-02-01*', '2014-05-01*', '2014-06-15*', '2014-09-01*', '2014-10-01*', '2015-03-01*', '2015-04-15*', '2015-10-01*', '2016-04-01*', '2016-09-15*', '2016-11-15']); require('../lib/services/ec2'); Object.defineProperty(apiLoader.services['ec2'], '2016-11-15', { get: function get() { var model = require('../apis/ec2-2016-11-15.min.json'); model.paginators = require('../apis/ec2-2016-11-15.paginators.json').pagination; model.waiters = require('../apis/ec2-2016-11-15.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.EC2; },{"../apis/ec2-2016-11-15.min.json":47,"../apis/ec2-2016-11-15.paginators.json":48,"../apis/ec2-2016-11-15.waiters2.json":49,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/ec2":271}],184:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['ecr'] = {}; AWS.ECR = Service.defineService('ecr', ['2015-09-21']); Object.defineProperty(apiLoader.services['ecr'], '2015-09-21', { get: function get() { var model = require('../apis/ecr-2015-09-21.min.json'); model.paginators = require('../apis/ecr-2015-09-21.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ECR; },{"../apis/ecr-2015-09-21.min.json":50,"../apis/ecr-2015-09-21.paginators.json":51,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],185:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['ecs'] = {}; AWS.ECS = Service.defineService('ecs', ['2014-11-13']); Object.defineProperty(apiLoader.services['ecs'], '2014-11-13', { get: function get() { var model = require('../apis/ecs-2014-11-13.min.json'); model.paginators = require('../apis/ecs-2014-11-13.paginators.json').pagination; model.waiters = require('../apis/ecs-2014-11-13.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ECS; },{"../apis/ecs-2014-11-13.min.json":52,"../apis/ecs-2014-11-13.paginators.json":53,"../apis/ecs-2014-11-13.waiters2.json":54,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],186:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['efs'] = {}; AWS.EFS = Service.defineService('efs', ['2015-02-01']); Object.defineProperty(apiLoader.services['efs'], '2015-02-01', { get: function get() { var model = require('../apis/elasticfilesystem-2015-02-01.min.json'); return model; }, enumerable: true, configurable: true }); module.exports = AWS.EFS; },{"../apis/elasticfilesystem-2015-02-01.min.json":60,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],187:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['elasticache'] = {}; AWS.ElastiCache = Service.defineService('elasticache', ['2012-11-15*', '2014-03-24*', '2014-07-15*', '2014-09-30*', '2015-02-02']); Object.defineProperty(apiLoader.services['elasticache'], '2015-02-02', { get: function get() { var model = require('../apis/elasticache-2015-02-02.min.json'); model.paginators = require('../apis/elasticache-2015-02-02.paginators.json').pagination; model.waiters = require('../apis/elasticache-2015-02-02.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ElastiCache; },{"../apis/elasticache-2015-02-02.min.json":55,"../apis/elasticache-2015-02-02.paginators.json":56,"../apis/elasticache-2015-02-02.waiters2.json":57,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],188:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['elasticbeanstalk'] = {}; AWS.ElasticBeanstalk = Service.defineService('elasticbeanstalk', ['2010-12-01']); Object.defineProperty(apiLoader.services['elasticbeanstalk'], '2010-12-01', { get: function get() { var model = require('../apis/elasticbeanstalk-2010-12-01.min.json'); model.paginators = require('../apis/elasticbeanstalk-2010-12-01.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ElasticBeanstalk; },{"../apis/elasticbeanstalk-2010-12-01.min.json":58,"../apis/elasticbeanstalk-2010-12-01.paginators.json":59,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],189:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['elastictranscoder'] = {}; AWS.ElasticTranscoder = Service.defineService('elastictranscoder', ['2012-09-25']); Object.defineProperty(apiLoader.services['elastictranscoder'], '2012-09-25', { get: function get() { var model = require('../apis/elastictranscoder-2012-09-25.min.json'); model.paginators = require('../apis/elastictranscoder-2012-09-25.paginators.json').pagination; model.waiters = require('../apis/elastictranscoder-2012-09-25.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ElasticTranscoder; },{"../apis/elastictranscoder-2012-09-25.min.json":70,"../apis/elastictranscoder-2012-09-25.paginators.json":71,"../apis/elastictranscoder-2012-09-25.waiters2.json":72,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],190:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['elb'] = {}; AWS.ELB = Service.defineService('elb', ['2012-06-01']); Object.defineProperty(apiLoader.services['elb'], '2012-06-01', { get: function get() { var model = require('../apis/elasticloadbalancing-2012-06-01.min.json'); model.paginators = require('../apis/elasticloadbalancing-2012-06-01.paginators.json').pagination; model.waiters = require('../apis/elasticloadbalancing-2012-06-01.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ELB; },{"../apis/elasticloadbalancing-2012-06-01.min.json":61,"../apis/elasticloadbalancing-2012-06-01.paginators.json":62,"../apis/elasticloadbalancing-2012-06-01.waiters2.json":63,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],191:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['elbv2'] = {}; AWS.ELBv2 = Service.defineService('elbv2', ['2015-12-01']); Object.defineProperty(apiLoader.services['elbv2'], '2015-12-01', { get: function get() { var model = require('../apis/elasticloadbalancingv2-2015-12-01.min.json'); model.paginators = require('../apis/elasticloadbalancingv2-2015-12-01.paginators.json').pagination; model.waiters = require('../apis/elasticloadbalancingv2-2015-12-01.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ELBv2; },{"../apis/elasticloadbalancingv2-2015-12-01.min.json":64,"../apis/elasticloadbalancingv2-2015-12-01.paginators.json":65,"../apis/elasticloadbalancingv2-2015-12-01.waiters2.json":66,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],192:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['emr'] = {}; AWS.EMR = Service.defineService('emr', ['2009-03-31']); Object.defineProperty(apiLoader.services['emr'], '2009-03-31', { get: function get() { var model = require('../apis/elasticmapreduce-2009-03-31.min.json'); model.paginators = require('../apis/elasticmapreduce-2009-03-31.paginators.json').pagination; model.waiters = require('../apis/elasticmapreduce-2009-03-31.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.EMR; },{"../apis/elasticmapreduce-2009-03-31.min.json":67,"../apis/elasticmapreduce-2009-03-31.paginators.json":68,"../apis/elasticmapreduce-2009-03-31.waiters2.json":69,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],193:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['firehose'] = {}; AWS.Firehose = Service.defineService('firehose', ['2015-08-04']); Object.defineProperty(apiLoader.services['firehose'], '2015-08-04', { get: function get() { var model = require('../apis/firehose-2015-08-04.min.json'); return model; }, enumerable: true, configurable: true }); module.exports = AWS.Firehose; },{"../apis/firehose-2015-08-04.min.json":78,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],194:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['gamelift'] = {}; AWS.GameLift = Service.defineService('gamelift', ['2015-10-01']); Object.defineProperty(apiLoader.services['gamelift'], '2015-10-01', { get: function get() { var model = require('../apis/gamelift-2015-10-01.min.json'); model.paginators = require('../apis/gamelift-2015-10-01.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.GameLift; },{"../apis/gamelift-2015-10-01.min.json":79,"../apis/gamelift-2015-10-01.paginators.json":80,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],195:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['inspector'] = {}; AWS.Inspector = Service.defineService('inspector', ['2015-08-18*', '2016-02-16']); Object.defineProperty(apiLoader.services['inspector'], '2016-02-16', { get: function get() { var model = require('../apis/inspector-2016-02-16.min.json'); model.paginators = require('../apis/inspector-2016-02-16.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.Inspector; },{"../apis/inspector-2016-02-16.min.json":81,"../apis/inspector-2016-02-16.paginators.json":82,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],196:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['iot'] = {}; AWS.Iot = Service.defineService('iot', ['2015-05-28']); Object.defineProperty(apiLoader.services['iot'], '2015-05-28', { get: function get() { var model = require('../apis/iot-2015-05-28.min.json'); model.paginators = require('../apis/iot-2015-05-28.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.Iot; },{"../apis/iot-2015-05-28.min.json":83,"../apis/iot-2015-05-28.paginators.json":84,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],197:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['iotdata'] = {}; AWS.IotData = Service.defineService('iotdata', ['2015-05-28']); require('../lib/services/iotdata'); Object.defineProperty(apiLoader.services['iotdata'], '2015-05-28', { get: function get() { var model = require('../apis/iot-data-2015-05-28.min.json'); return model; }, enumerable: true, configurable: true }); module.exports = AWS.IotData; },{"../apis/iot-data-2015-05-28.min.json":85,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/iotdata":272}],198:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['kinesis'] = {}; AWS.Kinesis = Service.defineService('kinesis', ['2013-12-02']); Object.defineProperty(apiLoader.services['kinesis'], '2013-12-02', { get: function get() { var model = require('../apis/kinesis-2013-12-02.min.json'); model.paginators = require('../apis/kinesis-2013-12-02.paginators.json').pagination; model.waiters = require('../apis/kinesis-2013-12-02.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.Kinesis; },{"../apis/kinesis-2013-12-02.min.json":86,"../apis/kinesis-2013-12-02.paginators.json":87,"../apis/kinesis-2013-12-02.waiters2.json":88,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],199:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['kms'] = {}; AWS.KMS = Service.defineService('kms', ['2014-11-01']); Object.defineProperty(apiLoader.services['kms'], '2014-11-01', { get: function get() { var model = require('../apis/kms-2014-11-01.min.json'); model.paginators = require('../apis/kms-2014-11-01.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.KMS; },{"../apis/kms-2014-11-01.min.json":89,"../apis/kms-2014-11-01.paginators.json":90,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],200:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['lambda'] = {}; AWS.Lambda = Service.defineService('lambda', ['2014-11-11', '2015-03-31']); require('../lib/services/lambda'); Object.defineProperty(apiLoader.services['lambda'], '2014-11-11', { get: function get() { var model = require('../apis/lambda-2014-11-11.min.json'); model.paginators = require('../apis/lambda-2014-11-11.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); Object.defineProperty(apiLoader.services['lambda'], '2015-03-31', { get: function get() { var model = require('../apis/lambda-2015-03-31.min.json'); model.paginators = require('../apis/lambda-2015-03-31.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.Lambda; },{"../apis/lambda-2014-11-11.min.json":91,"../apis/lambda-2014-11-11.paginators.json":92,"../apis/lambda-2015-03-31.min.json":93,"../apis/lambda-2015-03-31.paginators.json":94,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/lambda":273}],201:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['lexruntime'] = {}; AWS.LexRuntime = Service.defineService('lexruntime', ['2016-11-28']); Object.defineProperty(apiLoader.services['lexruntime'], '2016-11-28', { get: function get() { var model = require('../apis/runtime.lex-2016-11-28.min.json'); model.paginators = require('../apis/runtime.lex-2016-11-28.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.LexRuntime; },{"../apis/runtime.lex-2016-11-28.min.json":136,"../apis/runtime.lex-2016-11-28.paginators.json":137,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],202:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['machinelearning'] = {}; AWS.MachineLearning = Service.defineService('machinelearning', ['2014-12-12']); require('../lib/services/machinelearning'); Object.defineProperty(apiLoader.services['machinelearning'], '2014-12-12', { get: function get() { var model = require('../apis/machinelearning-2014-12-12.min.json'); model.paginators = require('../apis/machinelearning-2014-12-12.paginators.json').pagination; model.waiters = require('../apis/machinelearning-2014-12-12.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.MachineLearning; },{"../apis/machinelearning-2014-12-12.min.json":97,"../apis/machinelearning-2014-12-12.paginators.json":98,"../apis/machinelearning-2014-12-12.waiters2.json":99,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/machinelearning":274}],203:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['marketplacecommerceanalytics'] = {}; AWS.MarketplaceCommerceAnalytics = Service.defineService('marketplacecommerceanalytics', ['2015-07-01']); Object.defineProperty(apiLoader.services['marketplacecommerceanalytics'], '2015-07-01', { get: function get() { var model = require('../apis/marketplacecommerceanalytics-2015-07-01.min.json'); model.paginators = require('../apis/marketplacecommerceanalytics-2015-07-01.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.MarketplaceCommerceAnalytics; },{"../apis/marketplacecommerceanalytics-2015-07-01.min.json":100,"../apis/marketplacecommerceanalytics-2015-07-01.paginators.json":101,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],204:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['mobileanalytics'] = {}; AWS.MobileAnalytics = Service.defineService('mobileanalytics', ['2014-06-05']); Object.defineProperty(apiLoader.services['mobileanalytics'], '2014-06-05', { get: function get() { var model = require('../apis/mobileanalytics-2014-06-05.min.json'); return model; }, enumerable: true, configurable: true }); module.exports = AWS.MobileAnalytics; },{"../apis/mobileanalytics-2014-06-05.min.json":103,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],205:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['mturk'] = {}; AWS.MTurk = Service.defineService('mturk', ['2017-01-17']); Object.defineProperty(apiLoader.services['mturk'], '2017-01-17', { get: function get() { var model = require('../apis/mturk-requester-2017-01-17.min.json'); model.paginators = require('../apis/mturk-requester-2017-01-17.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.MTurk; },{"../apis/mturk-requester-2017-01-17.min.json":107,"../apis/mturk-requester-2017-01-17.paginators.json":108,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],206:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['opsworks'] = {}; AWS.OpsWorks = Service.defineService('opsworks', ['2013-02-18']); Object.defineProperty(apiLoader.services['opsworks'], '2013-02-18', { get: function get() { var model = require('../apis/opsworks-2013-02-18.min.json'); model.paginators = require('../apis/opsworks-2013-02-18.paginators.json').pagination; model.waiters = require('../apis/opsworks-2013-02-18.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.OpsWorks; },{"../apis/opsworks-2013-02-18.min.json":109,"../apis/opsworks-2013-02-18.paginators.json":110,"../apis/opsworks-2013-02-18.waiters2.json":111,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],207:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['polly'] = {}; AWS.Polly = Service.defineService('polly', ['2016-06-10']); require('../lib/services/polly'); Object.defineProperty(apiLoader.services['polly'], '2016-06-10', { get: function get() { var model = require('../apis/polly-2016-06-10.min.json'); model.paginators = require('../apis/polly-2016-06-10.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.Polly; },{"../apis/polly-2016-06-10.min.json":112,"../apis/polly-2016-06-10.paginators.json":113,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/polly":275}],208:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['rds'] = {}; AWS.RDS = Service.defineService('rds', ['2013-01-10', '2013-02-12', '2013-09-09', '2014-09-01', '2014-09-01*', '2014-10-31']); require('../lib/services/rds'); Object.defineProperty(apiLoader.services['rds'], '2013-01-10', { get: function get() { var model = require('../apis/rds-2013-01-10.min.json'); model.paginators = require('../apis/rds-2013-01-10.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); Object.defineProperty(apiLoader.services['rds'], '2013-02-12', { get: function get() { var model = require('../apis/rds-2013-02-12.min.json'); model.paginators = require('../apis/rds-2013-02-12.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); Object.defineProperty(apiLoader.services['rds'], '2013-09-09', { get: function get() { var model = require('../apis/rds-2013-09-09.min.json'); model.paginators = require('../apis/rds-2013-09-09.paginators.json').pagination; model.waiters = require('../apis/rds-2013-09-09.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); Object.defineProperty(apiLoader.services['rds'], '2014-09-01', { get: function get() { var model = require('../apis/rds-2014-09-01.min.json'); model.paginators = require('../apis/rds-2014-09-01.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); Object.defineProperty(apiLoader.services['rds'], '2014-10-31', { get: function get() { var model = require('../apis/rds-2014-10-31.min.json'); model.paginators = require('../apis/rds-2014-10-31.paginators.json').pagination; model.waiters = require('../apis/rds-2014-10-31.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.RDS; },{"../apis/rds-2013-01-10.min.json":114,"../apis/rds-2013-01-10.paginators.json":115,"../apis/rds-2013-02-12.min.json":116,"../apis/rds-2013-02-12.paginators.json":117,"../apis/rds-2013-09-09.min.json":118,"../apis/rds-2013-09-09.paginators.json":119,"../apis/rds-2013-09-09.waiters2.json":120,"../apis/rds-2014-09-01.min.json":121,"../apis/rds-2014-09-01.paginators.json":122,"../apis/rds-2014-10-31.min.json":123,"../apis/rds-2014-10-31.paginators.json":124,"../apis/rds-2014-10-31.waiters2.json":125,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/rds":276}],209:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['redshift'] = {}; AWS.Redshift = Service.defineService('redshift', ['2012-12-01']); Object.defineProperty(apiLoader.services['redshift'], '2012-12-01', { get: function get() { var model = require('../apis/redshift-2012-12-01.min.json'); model.paginators = require('../apis/redshift-2012-12-01.paginators.json').pagination; model.waiters = require('../apis/redshift-2012-12-01.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.Redshift; },{"../apis/redshift-2012-12-01.min.json":126,"../apis/redshift-2012-12-01.paginators.json":127,"../apis/redshift-2012-12-01.waiters2.json":128,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],210:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['rekognition'] = {}; AWS.Rekognition = Service.defineService('rekognition', ['2016-06-27']); Object.defineProperty(apiLoader.services['rekognition'], '2016-06-27', { get: function get() { var model = require('../apis/rekognition-2016-06-27.min.json'); model.paginators = require('../apis/rekognition-2016-06-27.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.Rekognition; },{"../apis/rekognition-2016-06-27.min.json":129,"../apis/rekognition-2016-06-27.paginators.json":130,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],211:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['route53'] = {}; AWS.Route53 = Service.defineService('route53', ['2013-04-01']); require('../lib/services/route53'); Object.defineProperty(apiLoader.services['route53'], '2013-04-01', { get: function get() { var model = require('../apis/route53-2013-04-01.min.json'); model.paginators = require('../apis/route53-2013-04-01.paginators.json').pagination; model.waiters = require('../apis/route53-2013-04-01.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.Route53; },{"../apis/route53-2013-04-01.min.json":131,"../apis/route53-2013-04-01.paginators.json":132,"../apis/route53-2013-04-01.waiters2.json":133,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/route53":277}],212:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['route53domains'] = {}; AWS.Route53Domains = Service.defineService('route53domains', ['2014-05-15']); Object.defineProperty(apiLoader.services['route53domains'], '2014-05-15', { get: function get() { var model = require('../apis/route53domains-2014-05-15.min.json'); model.paginators = require('../apis/route53domains-2014-05-15.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.Route53Domains; },{"../apis/route53domains-2014-05-15.min.json":134,"../apis/route53domains-2014-05-15.paginators.json":135,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],213:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['s3'] = {}; AWS.S3 = Service.defineService('s3', ['2006-03-01']); require('../lib/services/s3'); Object.defineProperty(apiLoader.services['s3'], '2006-03-01', { get: function get() { var model = require('../apis/s3-2006-03-01.min.json'); model.paginators = require('../apis/s3-2006-03-01.paginators.json').pagination; model.waiters = require('../apis/s3-2006-03-01.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.S3; },{"../apis/s3-2006-03-01.min.json":138,"../apis/s3-2006-03-01.paginators.json":139,"../apis/s3-2006-03-01.waiters2.json":140,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/s3":278}],214:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['servicecatalog'] = {}; AWS.ServiceCatalog = Service.defineService('servicecatalog', ['2015-12-10']); Object.defineProperty(apiLoader.services['servicecatalog'], '2015-12-10', { get: function get() { var model = require('../apis/servicecatalog-2015-12-10.min.json'); model.paginators = require('../apis/servicecatalog-2015-12-10.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.ServiceCatalog; },{"../apis/servicecatalog-2015-12-10.min.json":141,"../apis/servicecatalog-2015-12-10.paginators.json":142,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],215:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['ses'] = {}; AWS.SES = Service.defineService('ses', ['2010-12-01']); Object.defineProperty(apiLoader.services['ses'], '2010-12-01', { get: function get() { var model = require('../apis/email-2010-12-01.min.json'); model.paginators = require('../apis/email-2010-12-01.paginators.json').pagination; model.waiters = require('../apis/email-2010-12-01.waiters2.json').waiters; return model; }, enumerable: true, configurable: true }); module.exports = AWS.SES; },{"../apis/email-2010-12-01.min.json":73,"../apis/email-2010-12-01.paginators.json":74,"../apis/email-2010-12-01.waiters2.json":75,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],216:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['sns'] = {}; AWS.SNS = Service.defineService('sns', ['2010-03-31']); Object.defineProperty(apiLoader.services['sns'], '2010-03-31', { get: function get() { var model = require('../apis/sns-2010-03-31.min.json'); model.paginators = require('../apis/sns-2010-03-31.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.SNS; },{"../apis/sns-2010-03-31.min.json":143,"../apis/sns-2010-03-31.paginators.json":144,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],217:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['sqs'] = {}; AWS.SQS = Service.defineService('sqs', ['2012-11-05']); require('../lib/services/sqs'); Object.defineProperty(apiLoader.services['sqs'], '2012-11-05', { get: function get() { var model = require('../apis/sqs-2012-11-05.min.json'); model.paginators = require('../apis/sqs-2012-11-05.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.SQS; },{"../apis/sqs-2012-11-05.min.json":145,"../apis/sqs-2012-11-05.paginators.json":146,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/sqs":279}],218:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['ssm'] = {}; AWS.SSM = Service.defineService('ssm', ['2014-11-06']); Object.defineProperty(apiLoader.services['ssm'], '2014-11-06', { get: function get() { var model = require('../apis/ssm-2014-11-06.min.json'); model.paginators = require('../apis/ssm-2014-11-06.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.SSM; },{"../apis/ssm-2014-11-06.min.json":147,"../apis/ssm-2014-11-06.paginators.json":148,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],219:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['storagegateway'] = {}; AWS.StorageGateway = Service.defineService('storagegateway', ['2013-06-30']); Object.defineProperty(apiLoader.services['storagegateway'], '2013-06-30', { get: function get() { var model = require('../apis/storagegateway-2013-06-30.min.json'); model.paginators = require('../apis/storagegateway-2013-06-30.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.StorageGateway; },{"../apis/storagegateway-2013-06-30.min.json":149,"../apis/storagegateway-2013-06-30.paginators.json":150,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],220:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['sts'] = {}; AWS.STS = Service.defineService('sts', ['2011-06-15']); require('../lib/services/sts'); Object.defineProperty(apiLoader.services['sts'], '2011-06-15', { get: function get() { var model = require('../apis/sts-2011-06-15.min.json'); model.paginators = require('../apis/sts-2011-06-15.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.STS; },{"../apis/sts-2011-06-15.min.json":153,"../apis/sts-2011-06-15.paginators.json":154,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266,"../lib/services/sts":280}],221:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['waf'] = {}; AWS.WAF = Service.defineService('waf', ['2015-08-24']); Object.defineProperty(apiLoader.services['waf'], '2015-08-24', { get: function get() { var model = require('../apis/waf-2015-08-24.min.json'); model.paginators = require('../apis/waf-2015-08-24.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.WAF; },{"../apis/waf-2015-08-24.min.json":155,"../apis/waf-2015-08-24.paginators.json":156,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],222:[function(require,module,exports){ require('../lib/node_loader'); var AWS = require('../lib/core'); var Service = require('../lib/service'); var apiLoader = require('../lib/api_loader'); apiLoader.services['workdocs'] = {}; AWS.WorkDocs = Service.defineService('workdocs', ['2016-05-01']); Object.defineProperty(apiLoader.services['workdocs'], '2016-05-01', { get: function get() { var model = require('../apis/workdocs-2016-05-01.min.json'); model.paginators = require('../apis/workdocs-2016-05-01.paginators.json').pagination; return model; }, enumerable: true, configurable: true }); module.exports = AWS.WorkDocs; },{"../apis/workdocs-2016-05-01.min.json":157,"../apis/workdocs-2016-05-01.paginators.json":158,"../lib/api_loader":223,"../lib/core":227,"../lib/node_loader":224,"../lib/service":266}],223:[function(require,module,exports){ var AWS = require('./core'); AWS.apiLoader = function(svc, version) { if (!AWS.apiLoader.services.hasOwnProperty(svc)) { throw new Error('InvalidService: Failed to load api for ' + svc); } return AWS.apiLoader.services[svc][version]; }; AWS.apiLoader.services = {}; module.exports = AWS.apiLoader; },{"./core":227}],224:[function(require,module,exports){ (function (process){ var util = require('./util'); util.crypto.lib = require('crypto-browserify'); util.Buffer = require('buffer/').Buffer; util.url = require('url/'); util.querystring = require('querystring/'); util.environment = 'js'; var AWS = require('./core'); require('./api_loader'); AWS.XML.Parser = require('./xml/browser_parser'); require('./http/xhr'); if (typeof process === 'undefined') { process = { browser: true }; } }).call(this,require('_process')) },{"./api_loader":223,"./core":227,"./http/xhr":241,"./util":290,"./xml/browser_parser":291,"_process":447,"buffer/":296,"crypto-browserify":298,"querystring/":454,"url/":455}],225:[function(require,module,exports){ var AWS = require('../core'), url = AWS.util.url, crypto = AWS.util.crypto.lib, base64Encode = AWS.util.base64.encode, inherit = AWS.util.inherit; var queryEncode = function (string) { var replacements = { '+': '-', '=': '_', '/': '~' }; return string.replace(/[\+=\/]/g, function (match) { return replacements[match]; }); }; var signPolicy = function (policy, privateKey) { var sign = crypto.createSign('RSA-SHA1'); sign.write(policy); return queryEncode(sign.sign(privateKey, 'base64')) }; var signWithCannedPolicy = function (url, expires, keyPairId, privateKey) { var policy = JSON.stringify({ Statement: [ { Resource: url, Condition: { DateLessThan: { 'AWS:EpochTime': expires } } } ] }); return { Expires: expires, 'Key-Pair-Id': keyPairId, Signature: signPolicy(policy.toString(), privateKey) }; }; var signWithCustomPolicy = function (policy, keyPairId, privateKey) { policy = policy.replace(/\s/mg, policy); return { Policy: queryEncode(base64Encode(policy)), 'Key-Pair-Id': keyPairId, Signature: signPolicy(policy, privateKey) } }; var determineScheme = function (url) { var parts = url.split('://'); if (parts.length < 2) { throw new Error('Invalid URL.'); } return parts[0].replace('*', ''); }; var getRtmpUrl = function (rtmpUrl) { var parsed = url.parse(rtmpUrl); return parsed.path.replace(/^\//, '') + (parsed.hash || ''); }; var getResource = function (url) { switch (determineScheme(url)) { case 'http': case 'https': return url; case 'rtmp': return getRtmpUrl(url); default: throw new Error('Invalid URI scheme. Scheme must be one of' + ' http, https, or rtmp'); } }; var handleError = function (err, callback) { if (!callback || typeof callback !== 'function') { throw err; } callback(err); }; var handleSuccess = function (result, callback) { if (!callback || typeof callback !== 'function') { return result; } callback(null, result); }; AWS.CloudFront.Signer = inherit({ constructor: function Signer(keyPairId, privateKey) { if (keyPairId === void 0 || privateKey === void 0) { throw new Error('A key pair ID and private key are required'); } this.keyPairId = keyPairId; this.privateKey = privateKey; }, getSignedCookie: function (options, cb) { var signatureHash = 'policy' in options ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey) : signWithCannedPolicy(options.url, options.expires, this.keyPairId, this.privateKey); var cookieHash = {}; for (var key in signatureHash) { if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { cookieHash['CloudFront-' + key] = signatureHash[key]; } } return handleSuccess(cookieHash, cb); }, getSignedUrl: function (options, cb) { try { var resource = getResource(options.url); } catch (err) { return handleError(err, cb); } var parsedUrl = url.parse(options.url, true), signatureHash = Object.prototype.hasOwnProperty.call(options, 'policy') ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey) : signWithCannedPolicy(resource, options.expires, this.keyPairId, this.privateKey); parsedUrl.search = null; for (var key in signatureHash) { if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { parsedUrl.query[key] = signatureHash[key]; } } try { var signedUrl = determineScheme(options.url) === 'rtmp' ? getRtmpUrl(url.format(parsedUrl)) : url.format(parsedUrl); } catch (err) { return handleError(err, cb); } return handleSuccess(signedUrl, cb); } }); module.exports = AWS.CloudFront.Signer; },{"../core":227}],226:[function(require,module,exports){ var AWS = require('./core'); require('./credentials'); require('./credentials/credential_provider_chain'); var PromisesDependency; AWS.Config = AWS.util.inherit({ constructor: function Config(options) { if (options === undefined) options = {}; options = this.extractCredentials(options); AWS.util.each.call(this, this.keys, function (key, value) { this.set(key, options[key], value); }); }, getCredentials: function getCredentials(callback) { var self = this; function finish(err) { callback(err, err ? null : self.credentials); } function credError(msg, err) { return new AWS.util.error(err || new Error(), { code: 'CredentialsError', message: msg, name: 'CredentialsError' }); } function getAsyncCredentials() { self.credentials.get(function(err) { if (err) { var msg = 'Could not load credentials from ' + self.credentials.constructor.name; err = credError(msg, err); } finish(err); }); } function getStaticCredentials() { var err = null; if (!self.credentials.accessKeyId || !self.credentials.secretAccessKey) { err = credError('Missing credentials'); } finish(err); } if (self.credentials) { if (typeof self.credentials.get === 'function') { getAsyncCredentials(); } else { // static credentials getStaticCredentials(); } } else if (self.credentialProvider) { self.credentialProvider.resolve(function(err, creds) { if (err) { err = credError('Could not load credentials from any providers', err); } self.credentials = creds; finish(err); }); } else { finish(credError('No credentials to load')); } }, update: function update(options, allowUnknownKeys) { allowUnknownKeys = allowUnknownKeys || false; options = this.extractCredentials(options); AWS.util.each.call(this, options, function (key, value) { if (allowUnknownKeys || Object.prototype.hasOwnProperty.call(this.keys, key) || AWS.Service.hasService(key)) { this.set(key, value); } }); }, loadFromPath: function loadFromPath(path) { this.clear(); var options = JSON.parse(AWS.util.readFileSync(path)); var fileSystemCreds = new AWS.FileSystemCredentials(path); var chain = new AWS.CredentialProviderChain(); chain.providers.unshift(fileSystemCreds); chain.resolve(function (err, creds) { if (err) throw err; else options.credentials = creds; }); this.constructor(options); return this; }, clear: function clear() { AWS.util.each.call(this, this.keys, function (key) { delete this[key]; }); this.set('credentials', undefined); this.set('credentialProvider', undefined); }, set: function set(property, value, defaultValue) { if (value === undefined) { if (defaultValue === undefined) { defaultValue = this.keys[property]; } if (typeof defaultValue === 'function') { this[property] = defaultValue.call(this); } else { this[property] = defaultValue; } } else if (property === 'httpOptions' && this[property]) { this[property] = AWS.util.merge(this[property], value); } else { this[property] = value; } }, keys: { credentials: null, credentialProvider: null, region: null, logger: null, apiVersions: {}, apiVersion: null, endpoint: undefined, httpOptions: { timeout: 120000 }, maxRetries: undefined, maxRedirects: 10, paramValidation: true, sslEnabled: true, s3ForcePathStyle: false, s3BucketEndpoint: false, s3DisableBodySigning: true, computeChecksums: true, convertResponseTypes: true, correctClockSkew: false, customUserAgent: null, dynamoDbCrc32: true, systemClockOffset: 0, signatureVersion: null, signatureCache: true, retryDelayOptions: {}, useAccelerateEndpoint: false }, extractCredentials: function extractCredentials(options) { if (options.accessKeyId && options.secretAccessKey) { options = AWS.util.copy(options); options.credentials = new AWS.Credentials(options); } return options; }, setPromisesDependency: function setPromisesDependency(dep) { PromisesDependency = dep; if (dep === null && typeof Promise === 'function') { PromisesDependency = Promise; } var constructors = [AWS.Request, AWS.Credentials, AWS.CredentialProviderChain]; if (AWS.S3 && AWS.S3.ManagedUpload) constructors.push(AWS.S3.ManagedUpload); AWS.util.addPromises(constructors, PromisesDependency); }, getPromisesDependency: function getPromisesDependency() { return PromisesDependency; } }); AWS.config = new AWS.Config(); },{"./core":227,"./credentials":228,"./credentials/credential_provider_chain":230}],227:[function(require,module,exports){ var AWS = { util: require('./util') }; var _hidden = {}; _hidden.toString(); // hack to parse macro module.exports = AWS; AWS.util.update(AWS, { VERSION: '2.77.0', Signers: {}, Protocol: { Json: require('./protocol/json'), Query: require('./protocol/query'), Rest: require('./protocol/rest'), RestJson: require('./protocol/rest_json'), RestXml: require('./protocol/rest_xml') }, XML: { Builder: require('./xml/builder'), Parser: null // conditionally set based on environment }, JSON: { Builder: require('./json/builder'), Parser: require('./json/parser') }, Model: { Api: require('./model/api'), Operation: require('./model/operation'), Shape: require('./model/shape'), Paginator: require('./model/paginator'), ResourceWaiter: require('./model/resource_waiter') }, util: require('./util'), apiLoader: function() { throw new Error('No API loader set'); } }); require('./service'); require('./config'); require('./credentials'); require('./credentials/credential_provider_chain'); require('./credentials/temporary_credentials'); require('./credentials/web_identity_credentials'); require('./credentials/cognito_identity_credentials'); require('./credentials/saml_credentials'); require('./http'); require('./sequential_executor'); require('./event_listeners'); require('./request'); require('./response'); require('./resource_waiter'); require('./signers/request_signer'); require('./param_validator'); AWS.events = new AWS.SequentialExecutor(); },{"./config":226,"./credentials":228,"./credentials/cognito_identity_credentials":229,"./credentials/credential_provider_chain":230,"./credentials/saml_credentials":231,"./credentials/temporary_credentials":232,"./credentials/web_identity_credentials":233,"./event_listeners":239,"./http":240,"./json/builder":242,"./json/parser":243,"./model/api":244,"./model/operation":246,"./model/paginator":247,"./model/resource_waiter":248,"./model/shape":249,"./param_validator":250,"./protocol/json":252,"./protocol/query":253,"./protocol/rest":254,"./protocol/rest_json":255,"./protocol/rest_xml":256,"./request":261,"./resource_waiter":262,"./response":263,"./sequential_executor":265,"./service":266,"./signers/request_signer":282,"./util":290,"./xml/builder":292}],228:[function(require,module,exports){ var AWS = require('./core'); AWS.Credentials = AWS.util.inherit({ constructor: function Credentials() { AWS.util.hideProperties(this, ['secretAccessKey']); this.expired = false; this.expireTime = null; if (arguments.length === 1 && typeof arguments[0] === 'object') { var creds = arguments[0].credentials || arguments[0]; this.accessKeyId = creds.accessKeyId; this.secretAccessKey = creds.secretAccessKey; this.sessionToken = creds.sessionToken; } else { this.accessKeyId = arguments[0]; this.secretAccessKey = arguments[1]; this.sessionToken = arguments[2]; } }, expiryWindow: 15, needsRefresh: function needsRefresh() { var currentTime = AWS.util.date.getDate().getTime(); var adjustedTime = new Date(currentTime + this.expiryWindow * 1000); if (this.expireTime && adjustedTime > this.expireTime) { return true; } else { return this.expired || !this.accessKeyId || !this.secretAccessKey; } }, get: function get(callback) { var self = this; if (this.needsRefresh()) { this.refresh(function(err) { if (!err) self.expired = false; // reset expired flag if (callback) callback(err); }); } else if (callback) { callback(); } }, refresh: function refresh(callback) { this.expired = false; callback(); } }); AWS.Credentials.addPromisesToClass = function addPromisesToClass(PromiseDependency) { this.prototype.getPromise = AWS.util.promisifyMethod('get', PromiseDependency); this.prototype.refreshPromise = AWS.util.promisifyMethod('refresh', PromiseDependency); }; AWS.Credentials.deletePromisesFromClass = function deletePromisesFromClass() { delete this.prototype.getPromise; delete this.prototype.refreshPromise; }; AWS.util.addPromises(AWS.Credentials); },{"./core":227}],229:[function(require,module,exports){ var AWS = require('../core'); var CognitoIdentity = require('../../clients/cognitoidentity'); var STS = require('../../clients/sts'); AWS.CognitoIdentityCredentials = AWS.util.inherit(AWS.Credentials, { localStorageKey: { id: 'aws.cognito.identity-id.', providers: 'aws.cognito.identity-providers.' }, constructor: function CognitoIdentityCredentials(params, clientConfig) { AWS.Credentials.call(this); this.expired = true; this.params = params; this.data = null; this._identityId = null; this._clientConfig = AWS.util.copy(clientConfig || {}); this.loadCachedId(); var self = this; Object.defineProperty(this, 'identityId', { get: function() { self.loadCachedId(); return self._identityId || self.params.IdentityId; }, set: function(identityId) { self._identityId = identityId; } }); }, refresh: function refresh(callback) { var self = this; self.createClients(); self.data = null; self._identityId = null; self.getId(function(err) { if (!err) { if (!self.params.RoleArn) { self.getCredentialsForIdentity(callback); } else { self.getCredentialsFromSTS(callback); } } else { self.clearIdOnNotAuthorized(err); callback(err); } }); }, clearCachedId: function clearCache() { this._identityId = null; delete this.params.IdentityId; var poolId = this.params.IdentityPoolId; var loginId = this.params.LoginId || ''; delete this.storage[this.localStorageKey.id + poolId + loginId]; delete this.storage[this.localStorageKey.providers + poolId + loginId]; }, clearIdOnNotAuthorized: function clearIdOnNotAuthorized(err) { var self = this; if (err.code == 'NotAuthorizedException') { self.clearCachedId(); } }, getId: function getId(callback) { var self = this; if (typeof self.params.IdentityId === 'string') { return callback(null, self.params.IdentityId); } self.cognito.getId(function(err, data) { if (!err && data.IdentityId) { self.params.IdentityId = data.IdentityId; callback(null, data.IdentityId); } else { callback(err); } }); }, loadCredentials: function loadCredentials(data, credentials) { if (!data || !credentials) return; credentials.expired = false; credentials.accessKeyId = data.Credentials.AccessKeyId; credentials.secretAccessKey = data.Credentials.SecretKey; credentials.sessionToken = data.Credentials.SessionToken; credentials.expireTime = data.Credentials.Expiration; }, getCredentialsForIdentity: function getCredentialsForIdentity(callback) { var self = this; self.cognito.getCredentialsForIdentity(function(err, data) { if (!err) { self.cacheId(data); self.data = data; self.loadCredentials(self.data, self); } else { self.clearIdOnNotAuthorized(err); } callback(err); }); }, getCredentialsFromSTS: function getCredentialsFromSTS(callback) { var self = this; self.cognito.getOpenIdToken(function(err, data) { if (!err) { self.cacheId(data); self.params.WebIdentityToken = data.Token; self.webIdentityCredentials.refresh(function(webErr) { if (!webErr) { self.data = self.webIdentityCredentials.data; self.sts.credentialsFrom(self.data, self); } callback(webErr); }); } else { self.clearIdOnNotAuthorized(err); callback(err); } }); }, loadCachedId: function loadCachedId() { var self = this; if (AWS.util.isBrowser() && !self.params.IdentityId) { var id = self.getStorage('id'); if (id && self.params.Logins) { var actualProviders = Object.keys(self.params.Logins); var cachedProviders = (self.getStorage('providers') || '').split(','); var intersect = cachedProviders.filter(function(n) { return actualProviders.indexOf(n) !== -1; }); if (intersect.length !== 0) { self.params.IdentityId = id; } } else if (id) { self.params.IdentityId = id; } } }, createClients: function() { var clientConfig = this._clientConfig; this.webIdentityCredentials = this.webIdentityCredentials || new AWS.WebIdentityCredentials(this.params, clientConfig); if (!this.cognito) { var cognitoConfig = AWS.util.merge({}, clientConfig); cognitoConfig.params = this.params; this.cognito = new CognitoIdentity(cognitoConfig); } this.sts = this.sts || new STS(clientConfig); }, cacheId: function cacheId(data) { this._identityId = data.IdentityId; this.params.IdentityId = this._identityId; if (AWS.util.isBrowser()) { this.setStorage('id', data.IdentityId); if (this.params.Logins) { this.setStorage('providers', Object.keys(this.params.Logins).join(',')); } } }, getStorage: function getStorage(key) { return this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')]; }, setStorage: function setStorage(key, val) { try { this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')] = val; } catch (_) {} }, storage: (function() { try { var storage = AWS.util.isBrowser() && window.localStorage !== null && typeof window.localStorage === 'object' ? window.localStorage : {}; storage['aws.test-storage'] = 'foobar'; delete storage['aws.test-storage']; return storage; } catch (_) { return {}; } })() }); },{"../../clients/cognitoidentity":174,"../../clients/sts":220,"../core":227}],230:[function(require,module,exports){ var AWS = require('../core'); AWS.CredentialProviderChain = AWS.util.inherit(AWS.Credentials, { constructor: function CredentialProviderChain(providers) { if (providers) { this.providers = providers; } else { this.providers = AWS.CredentialProviderChain.defaultProviders.slice(0); } }, resolve: function resolve(callback) { if (this.providers.length === 0) { callback(new Error('No providers')); return this; } var index = 0; var providers = this.providers.slice(0); function resolveNext(err, creds) { if ((!err && creds) || index === providers.length) { callback(err, creds); return; } var provider = providers[index++]; if (typeof provider === 'function') { creds = provider.call(); } else { creds = provider; } if (creds.get) { creds.get(function(getErr) { resolveNext(getErr, getErr ? null : creds); }); } else { resolveNext(null, creds); } } resolveNext(); return this; } }); AWS.CredentialProviderChain.defaultProviders = []; AWS.CredentialProviderChain.addPromisesToClass = function addPromisesToClass(PromiseDependency) { this.prototype.resolvePromise = AWS.util.promisifyMethod('resolve', PromiseDependency); }; AWS.CredentialProviderChain.deletePromisesFromClass = function deletePromisesFromClass() { delete this.prototype.resolvePromise; }; AWS.util.addPromises(AWS.CredentialProviderChain); },{"../core":227}],231:[function(require,module,exports){ var AWS = require('../core'); var STS = require('../../clients/sts'); AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, { constructor: function SAMLCredentials(params) { AWS.Credentials.call(this); this.expired = true; this.params = params; }, refresh: function refresh(callback) { var self = this; self.createClients(); if (!callback) callback = function(err) { if (err) throw err; }; self.service.assumeRoleWithSAML(function (err, data) { if (!err) { self.service.credentialsFrom(data, self); } callback(err); }); }, createClients: function() { this.service = this.service || new STS({params: this.params}); } }); },{"../../clients/sts":220,"../core":227}],232:[function(require,module,exports){ var AWS = require('../core'); var STS = require('../../clients/sts'); AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, { constructor: function TemporaryCredentials(params, masterCredentials) { AWS.Credentials.call(this); this.loadMasterCredentials(masterCredentials); this.expired = true; this.params = params || {}; if (this.params.RoleArn) { this.params.RoleSessionName = this.params.RoleSessionName || 'temporary-credentials'; } }, refresh: function refresh(callback) { var self = this; self.createClients(); if (!callback) callback = function(err) { if (err) throw err; }; self.masterCredentials.get(function() { self.service.config.credentials = self.masterCredentials; var operation = self.params.RoleArn ? self.service.assumeRole : self.service.getSessionToken; operation.call(self.service, function (err, data) { if (!err) { self.service.credentialsFrom(data, self); } callback(err); }); }); }, loadMasterCredentials: function loadMasterCredentials(masterCredentials) { this.masterCredentials = masterCredentials || AWS.config.credentials; while (this.masterCredentials.masterCredentials) { this.masterCredentials = this.masterCredentials.masterCredentials; } if (typeof this.masterCredentials.get !== 'function') { this.masterCredentials = new AWS.Credentials(this.masterCredentials); } }, createClients: function() { this.service = this.service || new STS({params: this.params}); } }); },{"../../clients/sts":220,"../core":227}],233:[function(require,module,exports){ var AWS = require('../core'); var STS = require('../../clients/sts'); AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, { constructor: function WebIdentityCredentials(params, clientConfig) { AWS.Credentials.call(this); this.expired = true; this.params = params; this.params.RoleSessionName = this.params.RoleSessionName || 'web-identity'; this.data = null; this._clientConfig = AWS.util.copy(clientConfig || {}); }, refresh: function refresh(callback) { var self = this; self.createClients(); if (!callback) callback = function(err) { if (err) throw err; }; self.service.assumeRoleWithWebIdentity(function (err, data) { self.data = null; if (!err) { self.data = data; self.service.credentialsFrom(data, self); } callback(err); }); }, createClients: function() { if (!this.service) { var stsConfig = AWS.util.merge({}, this._clientConfig); stsConfig.params = this.params; this.service = new STS(stsConfig); } } }); },{"../../clients/sts":220,"../core":227}],234:[function(require,module,exports){ var AWS = require('../core'); var util = AWS.util; var typeOf = require('./types').typeOf; var DynamoDBSet = require('./set'); AWS.DynamoDB.Converter = { input: function convertInput(data, options) { options = options || {}; var type = typeOf(data); if (type === 'Object') { return formatMap(data, options); } else if (type === 'Array') { return formatList(data, options); } else if (type === 'Set') { return formatSet(data, options); } else if (type === 'String') { if (data.length === 0 && options.convertEmptyValues) { return convertInput(null); } return { S: data }; } else if (type === 'Number') { return { N: data.toString() }; } else if (type === 'Binary') { if (data.length === 0 && options.convertEmptyValues) { return convertInput(null); } return { B: data }; } else if (type === 'Boolean') { return { BOOL: data }; } else if (type === 'null') { return { NULL: true }; } else if (type !== 'undefined' && type !== 'Function') { return formatMap(data, options); } }, marshall: function marshallItem(data, options) { return AWS.DynamoDB.Converter.input(data, options).M; }, output: function convertOutput(data) { var list, map, i; for (var type in data) { var values = data[type]; if (type === 'M') { map = {}; for (var key in values) { map[key] = convertOutput(values[key]); } return map; } else if (type === 'L') { list = []; for (i = 0; i < values.length; i++) { list.push(convertOutput(values[i])); } return list; } else if (type === 'SS') { list = []; for (i = 0; i < values.length; i++) { list.push(values[i] + ''); } return new DynamoDBSet(list); } else if (type === 'NS') { list = []; for (i = 0; i < values.length; i++) { list.push(Number(values[i])); } return new DynamoDBSet(list); } else if (type === 'BS') { list = []; for (i = 0; i < values.length; i++) { list.push(new util.Buffer(values[i])); } return new DynamoDBSet(list); } else if (type === 'S') { return values + ''; } else if (type === 'N') { return Number(values); } else if (type === 'B') { return new util.Buffer(values); } else if (type === 'BOOL') { return (values === 'true' || values === 'TRUE' || values === true); } else if (type === 'NULL') { return null; } } }, unmarshall: function unmarshall(data) { return AWS.DynamoDB.Converter.output({M: data}); } }; function formatList(data, options) { var list = {L: []}; for (var i = 0; i < data.length; i++) { list['L'].push(AWS.DynamoDB.Converter.input(data[i], options)); } return list; } function formatMap(data, options) { var map = {M: {}}; for (var key in data) { var formatted = AWS.DynamoDB.Converter.input(data[key], options); if (formatted !== void 0) { map['M'][key] = formatted; } } return map; } function formatSet(data, options) { options = options || {}; var values = data.values; if (options.convertEmptyValues) { values = filterEmptySetValues(data); if (values.length === 0) { return AWS.DynamoDB.Converter.input(null); } } var map = {}; switch (data.type) { case 'String': map['SS'] = values; break; case 'Binary': map['BS'] = values; break; case 'Number': map['NS'] = values.map(function (value) { return value.toString(); }); } return map; } function filterEmptySetValues(set) { var nonEmptyValues = []; var potentiallyEmptyTypes = { String: true, Binary: true, Number: false }; if (potentiallyEmptyTypes[set.type]) { for (var i = 0; i < set.values.length; i++) { if (set.values[i].length === 0) { continue; } nonEmptyValues.push(set.values[i]); } return nonEmptyValues; } return set.values; } module.exports = AWS.DynamoDB.Converter; },{"../core":227,"./set":236,"./types":238}],235:[function(require,module,exports){ var AWS = require('../core'); var Translator = require('./translator'); var DynamoDBSet = require('./set'); AWS.DynamoDB.DocumentClient = AWS.util.inherit({ operations: { batchGetItem: 'batchGet', batchWriteItem: 'batchWrite', putItem: 'put', getItem: 'get', deleteItem: 'delete', updateItem: 'update', scan: 'scan', query: 'query' }, constructor: function DocumentClient(options) { var self = this; self.options = options || {}; self.configure(self.options); }, configure: function configure(options) { var self = this; self.service = options.service; self.bindServiceObject(options); self.attrValue = options.attrValue = self.service.api.operations.putItem.input.members.Item.value.shape; }, bindServiceObject: function bindServiceObject(options) { var self = this; options = options || {}; if (!self.service) { self.service = new AWS.DynamoDB(options); } else { var config = AWS.util.copy(self.service.config); self.service = new self.service.constructor.__super__(config); self.service.config.params = AWS.util.merge(self.service.config.params || {}, options.params); } }, batchGet: function(params, callback) { var self = this; var request = self.service.batchGetItem(params); self.setupRequest(request); self.setupResponse(request); if (typeof callback === 'function') { request.send(callback); } return request; }, batchWrite: function(params, callback) { var self = this; var request = self.service.batchWriteItem(params); self.setupRequest(request); self.setupResponse(request); if (typeof callback === 'function') { request.send(callback); } return request; }, delete: function(params, callback) { var self = this; var request = self.service.deleteItem(params); self.setupRequest(request); self.setupResponse(request); if (typeof callback === 'function') { request.send(callback); } return request; }, get: function(params, callback) { var self = this; var request = self.service.getItem(params); self.setupRequest(request); self.setupResponse(request); if (typeof callback === 'function') { request.send(callback); } return request; }, put: function put(params, callback) { var self = this; var request = self.service.putItem(params); self.setupRequest(request); self.setupResponse(request); if (typeof callback === 'function') { request.send(callback); } return request; }, update: function(params, callback) { var self = this; var request = self.service.updateItem(params); self.setupRequest(request); self.setupResponse(request); if (typeof callback === 'function') { request.send(callback); } return request; }, scan: function(params, callback) { var self = this; var request = self.service.scan(params); self.setupRequest(request); self.setupResponse(request); if (typeof callback === 'function') { request.send(callback); } return request; }, query: function(params, callback) { var self = this; var request = self.service.query(params); self.setupRequest(request); self.setupResponse(request); if (typeof callback === 'function') { request.send(callback); } return request; }, createSet: function(list, options) { options = options || {}; return new DynamoDBSet(list, options); }, getTranslator: function() { return new Translator(this.options); }, setupRequest: function setupRequest(request) { var self = this; var translator = self.getTranslator(); var operation = request.operation; var inputShape = request.service.api.operations[operation].input; request._events.validate.unshift(function(req) { req.rawParams = AWS.util.copy(req.params); req.params = translator.translateInput(req.rawParams, inputShape); }); }, setupResponse: function setupResponse(request) { var self = this; var translator = self.getTranslator(); var outputShape = self.service.api.operations[request.operation].output; request.on('extractData', function(response) { response.data = translator.translateOutput(response.data, outputShape); }); var response = request.response; response.nextPage = function(cb) { var resp = this; var req = resp.request; var config; var service = req.service; var operation = req.operation; try { config = service.paginationConfig(operation, true); } catch (e) { resp.error = e; } if (!resp.hasNextPage()) { if (cb) cb(resp.error, null); else if (resp.error) throw resp.error; return null; } var params = AWS.util.copy(req.rawParams); if (!resp.nextPageTokens) { return cb ? cb(null, null) : null; } else { var inputTokens = config.inputToken; if (typeof inputTokens === 'string') inputTokens = [inputTokens]; for (var i = 0; i < inputTokens.length; i++) { params[inputTokens[i]] = resp.nextPageTokens[i]; } return self[operation](params, cb); } }; } }); module.exports = AWS.DynamoDB.DocumentClient; },{"../core":227,"./set":236,"./translator":237}],236:[function(require,module,exports){ var util = require('../core').util; var typeOf = require('./types').typeOf; var DynamoDBSet = util.inherit({ constructor: function Set(list, options) { options = options || {}; this.initialize(list, options.validate); }, initialize: function(list, validate) { var self = this; self.values = [].concat(list); self.detectType(); if (validate) { self.validate(); } }, detectType: function() { var self = this; var value = self.values[0]; if (typeOf(value) === 'String') { self.type = 'String'; } else if (typeOf(value) === 'Number') { self.type = 'Number'; } else if (typeOf(value) === 'Binary') { self.type = 'Binary'; } else { throw util.error(new Error(), { code: 'InvalidSetType', message: 'Sets can contain string, number, or binary values' }); } }, validate: function() { var self = this; var length = self.values.length; var values = self.values; for (var i = 0; i < length; i++) { if (typeOf(values[i]) !== self.type) { throw util.error(new Error(), { code: 'InvalidType', message: self.type + ' Set contains ' + typeOf(values[i]) + ' value' }); } } } }); module.exports = DynamoDBSet; },{"../core":227,"./types":238}],237:[function(require,module,exports){ var util = require('../core').util; var convert = require('./converter'); var Translator = function(options) { options = options || {}; this.attrValue = options.attrValue; this.convertEmptyValues = Boolean(options.convertEmptyValues); }; Translator.prototype.translateInput = function(value, shape) { this.mode = 'input'; return this.translate(value, shape); }; Translator.prototype.translateOutput = function(value, shape) { this.mode = 'output'; return this.translate(value, shape); }; Translator.prototype.translate = function(value, shape) { var self = this; if (!shape || value === undefined) return undefined; if (shape.shape === self.attrValue) { return convert[self.mode](value, {convertEmptyValues: self.convertEmptyValues}); } switch (shape.type) { case 'structure': return self.translateStructure(value, shape); case 'map': return self.translateMap(value, shape); case 'list': return self.translateList(value, shape); default: return self.translateScalar(value, shape); } }; Translator.prototype.translateStructure = function(structure, shape) { var self = this; if (structure == null) return undefined; var struct = {}; util.each(structure, function(name, value) { var memberShape = shape.members[name]; if (memberShape) { var result = self.translate(value, memberShape); if (result !== undefined) struct[name] = result; } }); return struct; }; Translator.prototype.translateList = function(list, shape) { var self = this; if (list == null) return undefined; var out = []; util.arrayEach(list, function(value) { var result = self.translate(value, shape.member); if (result === undefined) out.push(null); else out.push(result); }); return out; }; Translator.prototype.translateMap = function(map, shape) { var self = this; if (map == null) return undefined; var out = {}; util.each(map, function(key, value) { var result = self.translate(value, shape.value); if (result === undefined) out[key] = null; else out[key] = result; }); return out; }; Translator.prototype.translateScalar = function(value, shape) { return shape.toType(value); }; module.exports = Translator; },{"../core":227,"./converter":234}],238:[function(require,module,exports){ var util = require('../core').util; function typeOf(data) { if (data === null && typeof data === 'object') { return 'null'; } else if (data !== undefined && isBinary(data)) { return 'Binary'; } else if (data !== undefined && data.constructor) { return util.typeName(data.constructor); } else if (data !== undefined && typeof data === 'object') { return 'Object'; } else { return 'undefined'; } } function isBinary(data) { var types = [ 'Buffer', 'File', 'Blob', 'ArrayBuffer', 'DataView', 'Int8Array', 'Uint8Array', 'Uint8ClampedArray', 'Int16Array', 'Uint16Array', 'Int32Array', 'Uint32Array', 'Float32Array', 'Float64Array' ]; if (util.isNode()) { var Stream = util.stream.Stream; if (util.Buffer.isBuffer(data) || data instanceof Stream) { return true; } } for (var i = 0; i < types.length; i++) { if (data !== undefined && data.constructor) { if (util.isType(data, types[i])) return true; if (util.typeName(data.constructor) === types[i]) return true; } } return false; } module.exports = { typeOf: typeOf, isBinary: isBinary }; },{"../core":227}],239:[function(require,module,exports){ var AWS = require('./core'); var SequentialExecutor = require('./sequential_executor'); AWS.EventListeners = { Core: {} /* doc hack */ }; AWS.EventListeners = { Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) { addAsync('VALIDATE_CREDENTIALS', 'validate', function VALIDATE_CREDENTIALS(req, done) { if (!req.service.api.signatureVersion) return done(); // none req.service.config.getCredentials(function(err) { if (err) { req.response.error = AWS.util.error(err, {code: 'CredentialsError', message: 'Missing credentials in config'}); } done(); }); }); add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) { if (!req.service.config.region && !req.service.isGlobalEndpoint) { req.response.error = AWS.util.error(new Error(), {code: 'ConfigError', message: 'Missing region in config'}); } }); add('BUILD_IDEMPOTENCY_TOKENS', 'validate', function BUILD_IDEMPOTENCY_TOKENS(req) { if (!req.service.api.operations) { return; } var operation = req.service.api.operations[req.operation]; if (!operation) { return; } var idempotentMembers = operation.idempotentMembers; if (!idempotentMembers.length) { return; } var params = AWS.util.copy(req.params); for (var i = 0, iLen = idempotentMembers.length; i < iLen; i++) { if (!params[idempotentMembers[i]]) { params[idempotentMembers[i]] = AWS.util.uuid.v4(); } } req.params = params; }); add('VALIDATE_PARAMETERS', 'validate', function VALIDATE_PARAMETERS(req) { if (!req.service.api.operations) { return; } var rules = req.service.api.operations[req.operation].input; var validation = req.service.config.paramValidation; new AWS.ParamValidator(validation).validate(rules, req.params); }); addAsync('COMPUTE_SHA256', 'afterBuild', function COMPUTE_SHA256(req, done) { req.haltHandlersOnError(); if (!req.service.api.operations) { return; } var operation = req.service.api.operations[req.operation]; var authtype = operation ? operation.authtype : ''; if (!req.service.api.signatureVersion && !authtype) return done(); // none if (req.service.getSignerClass(req) === AWS.Signers.V4) { var body = req.httpRequest.body || ''; if (authtype.indexOf('unsigned-body') >= 0) { req.httpRequest.headers['X-Amz-Content-Sha256'] = 'UNSIGNED-PAYLOAD'; return done(); } AWS.util.computeSha256(body, function(err, sha) { if (err) { done(err); } else { req.httpRequest.headers['X-Amz-Content-Sha256'] = sha; done(); } }); } else { done(); } }); add('SET_CONTENT_LENGTH', 'afterBuild', function SET_CONTENT_LENGTH(req) { if (req.httpRequest.headers['Content-Length'] === undefined) { var length = AWS.util.string.byteLength(req.httpRequest.body); req.httpRequest.headers['Content-Length'] = length; } }); add('SET_HTTP_HOST', 'afterBuild', function SET_HTTP_HOST(req) { req.httpRequest.headers['Host'] = req.httpRequest.endpoint.host; }); add('RESTART', 'restart', function RESTART() { var err = this.response.error; if (!err || !err.retryable) return; this.httpRequest = new AWS.HttpRequest( this.service.endpoint, this.service.region ); if (this.response.retryCount < this.service.config.maxRetries) { this.response.retryCount++; } else { this.response.error = null; } }); addAsync('SIGN', 'sign', function SIGN(req, done) { var service = req.service; var operations = req.service.api.operations || {}; var operation = operations[req.operation]; var authtype = operation ? operation.authtype : ''; if (!service.api.signatureVersion && !authtype) return done(); // none service.config.getCredentials(function (err, credentials) { if (err) { req.response.error = err; return done(); } try { var date = AWS.util.date.getDate(); var SignerClass = service.getSignerClass(req); var signer = new SignerClass(req.httpRequest, service.api.signingName || service.api.endpointPrefix, { signatureCache: service.config.signatureCache, operation: operation }); signer.setServiceClientId(service._clientId); delete req.httpRequest.headers['Authorization']; delete req.httpRequest.headers['Date']; delete req.httpRequest.headers['X-Amz-Date']; signer.addAuthorization(credentials, date); req.signedAt = date; } catch (e) { req.response.error = e; } done(); }); }); add('VALIDATE_RESPONSE', 'validateResponse', function VALIDATE_RESPONSE(resp) { if (this.service.successfulResponse(resp, this)) { resp.data = {}; resp.error = null; } else { resp.data = null; resp.error = AWS.util.error(new Error(), {code: 'UnknownError', message: 'An unknown error occurred.'}); } }); addAsync('SEND', 'send', function SEND(resp, done) { resp.httpResponse._abortCallback = done; resp.error = null; resp.data = null; function callback(httpResp) { resp.httpResponse.stream = httpResp; var stream = resp.request.httpRequest.stream; httpResp.on('headers', function onHeaders(statusCode, headers, statusMessage) { resp.request.emit( 'httpHeaders', [statusCode, headers, resp, statusMessage] ); if (!resp.httpResponse.streaming) { if (AWS.HttpClient.streamsApiVersion === 2) { // streams2 API check httpResp.on('readable', function onReadable() { var data = httpResp.read(); if (data !== null) { resp.request.emit('httpData', [data, resp]); } }); } else { // legacy streams API httpResp.on('data', function onData(data) { resp.request.emit('httpData', [data, resp]); }); } } }); httpResp.on('end', function onEnd() { if (!stream || !stream.didCallback) { resp.request.emit('httpDone'); done(); } }); } function progress(httpResp) { httpResp.on('sendProgress', function onSendProgress(value) { resp.request.emit('httpUploadProgress', [value, resp]); }); httpResp.on('receiveProgress', function onReceiveProgress(value) { resp.request.emit('httpDownloadProgress', [value, resp]); }); } function error(err) { resp.error = AWS.util.error(err, { code: 'NetworkingError', region: resp.request.httpRequest.region, hostname: resp.request.httpRequest.endpoint.hostname, retryable: true }); resp.request.emit('httpError', [resp.error, resp], function() { done(); }); } function executeSend() { var http = AWS.HttpClient.getInstance(); var httpOptions = resp.request.service.config.httpOptions || {}; try { var stream = http.handleRequest(resp.request.httpRequest, httpOptions, callback, error); progress(stream); } catch (err) { error(err); } } var timeDiff = (AWS.util.date.getDate() - this.signedAt) / 1000; if (timeDiff >= 60 * 10) { // if we signed 10min ago, re-sign this.emit('sign', [this], function(err) { if (err) done(err); else executeSend(); }); } else { executeSend(); } }); add('HTTP_HEADERS', 'httpHeaders', function HTTP_HEADERS(statusCode, headers, resp, statusMessage) { resp.httpResponse.statusCode = statusCode; resp.httpResponse.statusMessage = statusMessage; resp.httpResponse.headers = headers; resp.httpResponse.body = new AWS.util.Buffer(''); resp.httpResponse.buffers = []; resp.httpResponse.numBytes = 0; var dateHeader = headers.date || headers.Date; if (dateHeader) { var serverTime = Date.parse(dateHeader); if (resp.request.service.config.correctClockSkew && AWS.util.isClockSkewed(serverTime)) { AWS.util.applyClockOffset(serverTime); } } }); add('HTTP_DATA', 'httpData', function HTTP_DATA(chunk, resp) { if (chunk) { if (AWS.util.isNode()) { resp.httpResponse.numBytes += chunk.length; var total = resp.httpResponse.headers['content-length']; var progress = { loaded: resp.httpResponse.numBytes, total: total }; resp.request.emit('httpDownloadProgress', [progress, resp]); } resp.httpResponse.buffers.push(new AWS.util.Buffer(chunk)); } }); add('HTTP_DONE', 'httpDone', function HTTP_DONE(resp) { if (resp.httpResponse.buffers && resp.httpResponse.buffers.length > 0) { var body = AWS.util.buffer.concat(resp.httpResponse.buffers); resp.httpResponse.body = body; } delete resp.httpResponse.numBytes; delete resp.httpResponse.buffers; }); add('FINALIZE_ERROR', 'retry', function FINALIZE_ERROR(resp) { if (resp.httpResponse.statusCode) { resp.error.statusCode = resp.httpResponse.statusCode; if (resp.error.retryable === undefined) { resp.error.retryable = this.service.retryableError(resp.error, this); } } }); add('INVALIDATE_CREDENTIALS', 'retry', function INVALIDATE_CREDENTIALS(resp) { if (!resp.error) return; switch (resp.error.code) { case 'RequestExpired': // EC2 only case 'ExpiredTokenException': case 'ExpiredToken': resp.error.retryable = true; resp.request.service.config.credentials.expired = true; } }); add('EXPIRED_SIGNATURE', 'retry', function EXPIRED_SIGNATURE(resp) { var err = resp.error; if (!err) return; if (typeof err.code === 'string' && typeof err.message === 'string') { if (err.code.match(/Signature/) && err.message.match(/expired/)) { resp.error.retryable = true; } } }); add('CLOCK_SKEWED', 'retry', function CLOCK_SKEWED(resp) { if (!resp.error) return; if (this.service.clockSkewError(resp.error) && this.service.config.correctClockSkew && AWS.config.isClockSkewed) { resp.error.retryable = true; } }); add('REDIRECT', 'retry', function REDIRECT(resp) { if (resp.error && resp.error.statusCode >= 300 && resp.error.statusCode < 400 && resp.httpResponse.headers['location']) { this.httpRequest.endpoint = new AWS.Endpoint(resp.httpResponse.headers['location']); this.httpRequest.headers['Host'] = this.httpRequest.endpoint.host; resp.error.redirect = true; resp.error.retryable = true; } }); add('RETRY_CHECK', 'retry', function RETRY_CHECK(resp) { if (resp.error) { if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) { resp.error.retryDelay = 0; } else if (resp.retryCount < resp.maxRetries) { resp.error.retryDelay = this.service.retryDelays(resp.retryCount) || 0; } } }); addAsync('RESET_RETRY_STATE', 'afterRetry', function RESET_RETRY_STATE(resp, done) { var delay, willRetry = false; if (resp.error) { delay = resp.error.retryDelay || 0; if (resp.error.retryable && resp.retryCount < resp.maxRetries) { resp.retryCount++; willRetry = true; } else if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) { resp.redirectCount++; willRetry = true; } } if (willRetry) { resp.error = null; setTimeout(done, delay); } else { done(); } }); }), CorePost: new SequentialExecutor().addNamedListeners(function(add) { add('EXTRACT_REQUEST_ID', 'extractData', AWS.util.extractRequestId); add('EXTRACT_REQUEST_ID', 'extractError', AWS.util.extractRequestId); add('ENOTFOUND_ERROR', 'httpError', function ENOTFOUND_ERROR(err) { if (err.code === 'NetworkingError' && err.errno === 'ENOTFOUND') { var message = 'Inaccessible host: `' + err.hostname + '\'. This service may not be available in the `' + err.region + '\' region.'; this.response.error = AWS.util.error(new Error(message), { code: 'UnknownEndpoint', region: err.region, hostname: err.hostname, retryable: true, originalError: err }); } }); }), Logger: new SequentialExecutor().addNamedListeners(function(add) { add('LOG_REQUEST', 'complete', function LOG_REQUEST(resp) { var req = resp.request; var logger = req.service.config.logger; if (!logger) return; function buildMessage() { var time = AWS.util.date.getDate().getTime(); var delta = (time - req.startTime.getTime()) / 1000; var ansi = logger.isTTY ? true : false; var status = resp.httpResponse.statusCode; var params = require('util').inspect(req.params, true, null); var message = ''; if (ansi) message += '\x1B[33m'; message += '[AWS ' + req.service.serviceIdentifier + ' ' + status; message += ' ' + delta.toString() + 's ' + resp.retryCount + ' retries]'; if (ansi) message += '\x1B[0;1m'; message += ' ' + AWS.util.string.lowerFirst(req.operation); message += '(' + params + ')'; if (ansi) message += '\x1B[0m'; return message; } var line = buildMessage(); if (typeof logger.log === 'function') { logger.log(line); } else if (typeof logger.write === 'function') { logger.write(line + '\n'); } }); }), Json: new SequentialExecutor().addNamedListeners(function(add) { var svc = require('./protocol/json'); add('BUILD', 'build', svc.buildRequest); add('EXTRACT_DATA', 'extractData', svc.extractData); add('EXTRACT_ERROR', 'extractError', svc.extractError); }), Rest: new SequentialExecutor().addNamedListeners(function(add) { var svc = require('./protocol/rest'); add('BUILD', 'build', svc.buildRequest); add('EXTRACT_DATA', 'extractData', svc.extractData); add('EXTRACT_ERROR', 'extractError', svc.extractError); }), RestJson: new SequentialExecutor().addNamedListeners(function(add) { var svc = require('./protocol/rest_json'); add('BUILD', 'build', svc.buildRequest); add('EXTRACT_DATA', 'extractData', svc.extractData); add('EXTRACT_ERROR', 'extractError', svc.extractError); }), RestXml: new SequentialExecutor().addNamedListeners(function(add) { var svc = require('./protocol/rest_xml'); add('BUILD', 'build', svc.buildRequest); add('EXTRACT_DATA', 'extractData', svc.extractData); add('EXTRACT_ERROR', 'extractError', svc.extractError); }), Query: new SequentialExecutor().addNamedListeners(function(add) { var svc = require('./protocol/query'); add('BUILD', 'build', svc.buildRequest); add('EXTRACT_DATA', 'extractData', svc.extractData); add('EXTRACT_ERROR', 'extractError', svc.extractError); }) }; },{"./core":227,"./protocol/json":252,"./protocol/query":253,"./protocol/rest":254,"./protocol/rest_json":255,"./protocol/rest_xml":256,"./sequential_executor":265,"util":458}],240:[function(require,module,exports){ var AWS = require('./core'); var inherit = AWS.util.inherit; AWS.Endpoint = inherit({ constructor: function Endpoint(endpoint, config) { AWS.util.hideProperties(this, ['slashes', 'auth', 'hash', 'search', 'query']); if (typeof endpoint === 'undefined' || endpoint === null) { throw new Error('Invalid endpoint: ' + endpoint); } else if (typeof endpoint !== 'string') { return AWS.util.copy(endpoint); } if (!endpoint.match(/^http/)) { var useSSL = config && config.sslEnabled !== undefined ? config.sslEnabled : AWS.config.sslEnabled; endpoint = (useSSL ? 'https' : 'http') + '://' + endpoint; } AWS.util.update(this, AWS.util.urlParse(endpoint)); if (this.port) { this.port = parseInt(this.port, 10); } else { this.port = this.protocol === 'https:' ? 443 : 80; } } }); AWS.HttpRequest = inherit({ constructor: function HttpRequest(endpoint, region) { endpoint = new AWS.Endpoint(endpoint); this.method = 'POST'; this.path = endpoint.path || '/'; this.headers = {}; this.body = ''; this.endpoint = endpoint; this.region = region; this._userAgent = ''; this.setUserAgent(); }, setUserAgent: function setUserAgent() { this._userAgent = this.headers[this.getUserAgentHeaderName()] = AWS.util.userAgent(); }, getUserAgentHeaderName: function getUserAgentHeaderName() { var prefix = AWS.util.isBrowser() ? 'X-Amz-' : ''; return prefix + 'User-Agent'; }, appendToUserAgent: function appendToUserAgent(agentPartial) { if (typeof agentPartial === 'string' && agentPartial) { this._userAgent += ' ' + agentPartial; } this.headers[this.getUserAgentHeaderName()] = this._userAgent; }, getUserAgent: function getUserAgent() { return this._userAgent; }, pathname: function pathname() { return this.path.split('?', 1)[0]; }, search: function search() { var query = this.path.split('?', 2)[1]; if (query) { query = AWS.util.queryStringParse(query); return AWS.util.queryParamsToString(query); } return ''; } }); AWS.HttpResponse = inherit({ constructor: function HttpResponse() { this.statusCode = undefined; this.headers = {}; this.body = undefined; this.streaming = false; this.stream = null; }, createUnbufferedStream: function createUnbufferedStream() { this.streaming = true; return this.stream; } }); AWS.HttpClient = inherit({}); AWS.HttpClient.getInstance = function getInstance() { if (this.singleton === undefined) { this.singleton = new this(); } return this.singleton; }; },{"./core":227}],241:[function(require,module,exports){ var AWS = require('../core'); var EventEmitter = require('events').EventEmitter; require('../http'); AWS.XHRClient = AWS.util.inherit({ handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) { var self = this; var endpoint = httpRequest.endpoint; var emitter = new EventEmitter(); var href = endpoint.protocol + '//' + endpoint.hostname; if (endpoint.port !== 80 && endpoint.port !== 443) { href += ':' + endpoint.port; } href += httpRequest.path; var xhr = new XMLHttpRequest(), headersEmitted = false; httpRequest.stream = xhr; xhr.addEventListener('readystatechange', function() { try { if (xhr.status === 0) return; // 0 code is invalid } catch (e) { return; } if (this.readyState >= this.HEADERS_RECEIVED && !headersEmitted) { emitter.statusCode = xhr.status; emitter.headers = self.parseHeaders(xhr.getAllResponseHeaders()); emitter.emit( 'headers', emitter.statusCode, emitter.headers, xhr.statusText ); headersEmitted = true; } if (this.readyState === this.DONE) { self.finishRequest(xhr, emitter); } }, false); xhr.upload.addEventListener('progress', function (evt) { emitter.emit('sendProgress', evt); }); xhr.addEventListener('progress', function (evt) { emitter.emit('receiveProgress', evt); }, false); xhr.addEventListener('timeout', function () { errCallback(AWS.util.error(new Error('Timeout'), {code: 'TimeoutError'})); }, false); xhr.addEventListener('error', function () { errCallback(AWS.util.error(new Error('Network Failure'), { code: 'NetworkingError' })); }, false); xhr.addEventListener('abort', function () { errCallback(AWS.util.error(new Error('Request aborted'), { code: 'RequestAbortedError' })); }, false); callback(emitter); xhr.open(httpRequest.method, href, httpOptions.xhrAsync !== false); AWS.util.each(httpRequest.headers, function (key, value) { if (key !== 'Content-Length' && key !== 'User-Agent' && key !== 'Host') { xhr.setRequestHeader(key, value); } }); if (httpOptions.timeout && httpOptions.xhrAsync !== false) { xhr.timeout = httpOptions.timeout; } if (httpOptions.xhrWithCredentials) { xhr.withCredentials = true; } try { xhr.responseType = 'arraybuffer'; } catch (e) {} try { if (httpRequest.body) { xhr.send(httpRequest.body); } else { xhr.send(); } } catch (err) { if (httpRequest.body && typeof httpRequest.body.buffer === 'object') { xhr.send(httpRequest.body.buffer); // send ArrayBuffer directly } else { throw err; } } return emitter; }, parseHeaders: function parseHeaders(rawHeaders) { var headers = {}; AWS.util.arrayEach(rawHeaders.split(/\r?\n/), function (line) { var key = line.split(':', 1)[0]; var value = line.substring(key.length + 2); if (key.length > 0) headers[key.toLowerCase()] = value; }); return headers; }, finishRequest: function finishRequest(xhr, emitter) { var buffer; if (xhr.responseType === 'arraybuffer' && xhr.response) { var ab = xhr.response; buffer = new AWS.util.Buffer(ab.byteLength); var view = new Uint8Array(ab); for (var i = 0; i < buffer.length; ++i) { buffer[i] = view[i]; } } try { if (!buffer && typeof xhr.responseText === 'string') { buffer = new AWS.util.Buffer(xhr.responseText); } } catch (e) {} if (buffer) emitter.emit('data', buffer); emitter.emit('end'); } }); AWS.HttpClient.prototype = AWS.XHRClient.prototype; AWS.HttpClient.streamsApiVersion = 1; },{"../core":227,"../http":240,"events":303}],242:[function(require,module,exports){ var util = require('../util'); function JsonBuilder() { } JsonBuilder.prototype.build = function(value, shape) { return JSON.stringify(translate(value, shape)); }; function translate(value, shape) { if (!shape || value === undefined || value === null) return undefined; switch (shape.type) { case 'structure': return translateStructure(value, shape); case 'map': return translateMap(value, shape); case 'list': return translateList(value, shape); default: return translateScalar(value, shape); } } function translateStructure(structure, shape) { var struct = {}; util.each(structure, function(name, value) { var memberShape = shape.members[name]; if (memberShape) { if (memberShape.location !== 'body') return; var locationName = memberShape.isLocationName ? memberShape.name : name; var result = translate(value, memberShape); if (result !== undefined) struct[locationName] = result; } }); return struct; } function translateList(list, shape) { var out = []; util.arrayEach(list, function(value) { var result = translate(value, shape.member); if (result !== undefined) out.push(result); }); return out; } function translateMap(map, shape) { var out = {}; util.each(map, function(key, value) { var result = translate(value, shape.value); if (result !== undefined) out[key] = result; }); return out; } function translateScalar(value, shape) { return shape.toWireFormat(value); } module.exports = JsonBuilder; },{"../util":290}],243:[function(require,module,exports){ var util = require('../util'); function JsonParser() { } JsonParser.prototype.parse = function(value, shape) { return translate(JSON.parse(value), shape); }; function translate(value, shape) { if (!shape || value === undefined) return undefined; switch (shape.type) { case 'structure': return translateStructure(value, shape); case 'map': return translateMap(value, shape); case 'list': return translateList(value, shape); default: return translateScalar(value, shape); } } function translateStructure(structure, shape) { if (structure == null) return undefined; var struct = {}; var shapeMembers = shape.members; util.each(shapeMembers, function(name, memberShape) { var locationName = memberShape.isLocationName ? memberShape.name : name; if (Object.prototype.hasOwnProperty.call(structure, locationName)) { var value = structure[locationName]; var result = translate(value, memberShape); if (result !== undefined) struct[name] = result; } }); return struct; } function translateList(list, shape) { if (list == null) return undefined; var out = []; util.arrayEach(list, function(value) { var result = translate(value, shape.member); if (result === undefined) out.push(null); else out.push(result); }); return out; } function translateMap(map, shape) { if (map == null) return undefined; var out = {}; util.each(map, function(key, value) { var result = translate(value, shape.value); if (result === undefined) out[key] = null; else out[key] = result; }); return out; } function translateScalar(value, shape) { return shape.toType(value); } module.exports = JsonParser; },{"../util":290}],244:[function(require,module,exports){ var Collection = require('./collection'); var Operation = require('./operation'); var Shape = require('./shape'); var Paginator = require('./paginator'); var ResourceWaiter = require('./resource_waiter'); var util = require('../util'); var property = util.property; var memoizedProperty = util.memoizedProperty; function Api(api, options) { api = api || {}; options = options || {}; options.api = this; api.metadata = api.metadata || {}; property(this, 'isApi', true, false); property(this, 'apiVersion', api.metadata.apiVersion); property(this, 'endpointPrefix', api.metadata.endpointPrefix); property(this, 'signingName', api.metadata.signingName); property(this, 'globalEndpoint', api.metadata.globalEndpoint); property(this, 'signatureVersion', api.metadata.signatureVersion); property(this, 'jsonVersion', api.metadata.jsonVersion); property(this, 'targetPrefix', api.metadata.targetPrefix); property(this, 'protocol', api.metadata.protocol); property(this, 'timestampFormat', api.metadata.timestampFormat); property(this, 'xmlNamespaceUri', api.metadata.xmlNamespace); property(this, 'abbreviation', api.metadata.serviceAbbreviation); property(this, 'fullName', api.metadata.serviceFullName); memoizedProperty(this, 'className', function() { var name = api.metadata.serviceAbbreviation || api.metadata.serviceFullName; if (!name) return null; name = name.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g, ''); if (name === 'ElasticLoadBalancing') name = 'ELB'; return name; }); property(this, 'operations', new Collection(api.operations, options, function(name, operation) { return new Operation(name, operation, options); }, util.string.lowerFirst)); property(this, 'shapes', new Collection(api.shapes, options, function(name, shape) { return Shape.create(shape, options); })); property(this, 'paginators', new Collection(api.paginators, options, function(name, paginator) { return new Paginator(name, paginator, options); })); property(this, 'waiters', new Collection(api.waiters, options, function(name, waiter) { return new ResourceWaiter(name, waiter, options); }, util.string.lowerFirst)); if (options.documentation) { property(this, 'documentation', api.documentation); property(this, 'documentationUrl', api.documentationUrl); } } module.exports = Api; },{"../util":290,"./collection":245,"./operation":246,"./paginator":247,"./resource_waiter":248,"./shape":249}],245:[function(require,module,exports){ var memoizedProperty = require('../util').memoizedProperty; function memoize(name, value, fn, nameTr) { memoizedProperty(this, nameTr(name), function() { return fn(name, value); }); } function Collection(iterable, options, fn, nameTr) { nameTr = nameTr || String; var self = this; for (var id in iterable) { if (Object.prototype.hasOwnProperty.call(iterable, id)) { memoize.call(self, id, iterable[id], fn, nameTr); } } } module.exports = Collection; },{"../util":290}],246:[function(require,module,exports){ var Shape = require('./shape'); var util = require('../util'); var property = util.property; var memoizedProperty = util.memoizedProperty; function Operation(name, operation, options) { var self = this; options = options || {}; property(this, 'name', operation.name || name); property(this, 'api', options.api, false); operation.http = operation.http || {}; property(this, 'httpMethod', operation.http.method || 'POST'); property(this, 'httpPath', operation.http.requestUri || '/'); property(this, 'authtype', operation.authtype || ''); memoizedProperty(this, 'input', function() { if (!operation.input) { return new Shape.create({type: 'structure'}, options); } return Shape.create(operation.input, options); }); memoizedProperty(this, 'output', function() { if (!operation.output) { return new Shape.create({type: 'structure'}, options); } return Shape.create(operation.output, options); }); memoizedProperty(this, 'errors', function() { var list = []; if (!operation.errors) return null; for (var i = 0; i < operation.errors.length; i++) { list.push(Shape.create(operation.errors[i], options)); } return list; }); memoizedProperty(this, 'paginator', function() { return options.api.paginators[name]; }); if (options.documentation) { property(this, 'documentation', operation.documentation); property(this, 'documentationUrl', operation.documentationUrl); } memoizedProperty(this, 'idempotentMembers', function() { var idempotentMembers = []; var input = self.input; var members = input.members; if (!input.members) { return idempotentMembers; } for (var name in members) { if (!members.hasOwnProperty(name)) { continue; } if (members[name].isIdempotent === true) { idempotentMembers.push(name); } } return idempotentMembers; }); } module.exports = Operation; },{"../util":290,"./shape":249}],247:[function(require,module,exports){ var property = require('../util').property; function Paginator(name, paginator) { property(this, 'inputToken', paginator.input_token); property(this, 'limitKey', paginator.limit_key); property(this, 'moreResults', paginator.more_results); property(this, 'outputToken', paginator.output_token); property(this, 'resultKey', paginator.result_key); } module.exports = Paginator; },{"../util":290}],248:[function(require,module,exports){ var util = require('../util'); var property = util.property; function ResourceWaiter(name, waiter, options) { options = options || {}; property(this, 'name', name); property(this, 'api', options.api, false); if (waiter.operation) { property(this, 'operation', util.string.lowerFirst(waiter.operation)); } var self = this; var keys = [ 'type', 'description', 'delay', 'maxAttempts', 'acceptors' ]; keys.forEach(function(key) { var value = waiter[key]; if (value) { property(self, key, value); } }); } module.exports = ResourceWaiter; },{"../util":290}],249:[function(require,module,exports){ var Collection = require('./collection'); var util = require('../util'); function property(obj, name, value) { if (value !== null && value !== undefined) { util.property.apply(this, arguments); } } function memoizedProperty(obj, name) { if (!obj.constructor.prototype[name]) { util.memoizedProperty.apply(this, arguments); } } function Shape(shape, options, memberName) { options = options || {}; property(this, 'shape', shape.shape); property(this, 'api', options.api, false); property(this, 'type', shape.type); property(this, 'enum', shape.enum); property(this, 'min', shape.min); property(this, 'max', shape.max); property(this, 'pattern', shape.pattern); property(this, 'location', shape.location || this.location || 'body'); property(this, 'name', this.name || shape.xmlName || shape.queryName || shape.locationName || memberName); property(this, 'isStreaming', shape.streaming || this.isStreaming || false); property(this, 'isComposite', shape.isComposite || false); property(this, 'isShape', true, false); property(this, 'isQueryName', Boolean(shape.queryName), false); property(this, 'isLocationName', Boolean(shape.locationName), false); property(this, 'isIdempotent', shape.idempotencyToken === true); property(this, 'isJsonValue', shape.jsonvalue === true); if (options.documentation) { property(this, 'documentation', shape.documentation); property(this, 'documentationUrl', shape.documentationUrl); } if (shape.xmlAttribute) { property(this, 'isXmlAttribute', shape.xmlAttribute || false); } property(this, 'defaultValue', null); this.toWireFormat = function(value) { if (value === null || value === undefined) return ''; return value; }; this.toType = function(value) { return value; }; } Shape.normalizedTypes = { character: 'string', double: 'float', long: 'integer', short: 'integer', biginteger: 'integer', bigdecimal: 'float', blob: 'binary' }; Shape.types = { 'structure': StructureShape, 'list': ListShape, 'map': MapShape, 'boolean': BooleanShape, 'timestamp': TimestampShape, 'float': FloatShape, 'integer': IntegerShape, 'string': StringShape, 'base64': Base64Shape, 'binary': BinaryShape }; Shape.resolve = function resolve(shape, options) { if (shape.shape) { var refShape = options.api.shapes[shape.shape]; if (!refShape) { throw new Error('Cannot find shape reference: ' + shape.shape); } return refShape; } else { return null; } }; Shape.create = function create(shape, options, memberName) { if (shape.isShape) return shape; var refShape = Shape.resolve(shape, options); if (refShape) { var filteredKeys = Object.keys(shape); if (!options.documentation) { filteredKeys = filteredKeys.filter(function(name) { return !name.match(/documentation/); }); } var InlineShape = function() { refShape.constructor.call(this, shape, options, memberName); }; InlineShape.prototype = refShape; return new InlineShape(); } else { if (!shape.type) { if (shape.members) shape.type = 'structure'; else if (shape.member) shape.type = 'list'; else if (shape.key) shape.type = 'map'; else shape.type = 'string'; } var origType = shape.type; if (Shape.normalizedTypes[shape.type]) { shape.type = Shape.normalizedTypes[shape.type]; } if (Shape.types[shape.type]) { return new Shape.types[shape.type](shape, options, memberName); } else { throw new Error('Unrecognized shape type: ' + origType); } } }; function CompositeShape(shape) { Shape.apply(this, arguments); property(this, 'isComposite', true); if (shape.flattened) { property(this, 'flattened', shape.flattened || false); } } function StructureShape(shape, options) { var requiredMap = null, firstInit = !this.isShape; CompositeShape.apply(this, arguments); if (firstInit) { property(this, 'defaultValue', function() { return {}; }); property(this, 'members', {}); property(this, 'memberNames', []); property(this, 'required', []); property(this, 'isRequired', function() { return false; }); } if (shape.members) { property(this, 'members', new Collection(shape.members, options, function(name, member) { return Shape.create(member, options, name); })); memoizedProperty(this, 'memberNames', function() { return shape.xmlOrder || Object.keys(shape.members); }); } if (shape.required) { property(this, 'required', shape.required); property(this, 'isRequired', function(name) { if (!requiredMap) { requiredMap = {}; for (var i = 0; i < shape.required.length; i++) { requiredMap[shape.required[i]] = true; } } return requiredMap[name]; }, false, true); } property(this, 'resultWrapper', shape.resultWrapper || null); if (shape.payload) { property(this, 'payload', shape.payload); } if (typeof shape.xmlNamespace === 'string') { property(this, 'xmlNamespaceUri', shape.xmlNamespace); } else if (typeof shape.xmlNamespace === 'object') { property(this, 'xmlNamespacePrefix', shape.xmlNamespace.prefix); property(this, 'xmlNamespaceUri', shape.xmlNamespace.uri); } } function ListShape(shape, options) { var self = this, firstInit = !this.isShape; CompositeShape.apply(this, arguments); if (firstInit) { property(this, 'defaultValue', function() { return []; }); } if (shape.member) { memoizedProperty(this, 'member', function() { return Shape.create(shape.member, options); }); } if (this.flattened) { var oldName = this.name; memoizedProperty(this, 'name', function() { return self.member.name || oldName; }); } } function MapShape(shape, options) { var firstInit = !this.isShape; CompositeShape.apply(this, arguments); if (firstInit) { property(this, 'defaultValue', function() { return {}; }); property(this, 'key', Shape.create({type: 'string'}, options)); property(this, 'value', Shape.create({type: 'string'}, options)); } if (shape.key) { memoizedProperty(this, 'key', function() { return Shape.create(shape.key, options); }); } if (shape.value) { memoizedProperty(this, 'value', function() { return Shape.create(shape.value, options); }); } } function TimestampShape(shape) { var self = this; Shape.apply(this, arguments); if (this.location === 'header') { property(this, 'timestampFormat', 'rfc822'); } else if (shape.timestampFormat) { property(this, 'timestampFormat', shape.timestampFormat); } else if (!this.timestampFormat && this.api) { if (this.api.timestampFormat) { property(this, 'timestampFormat', this.api.timestampFormat); } else { switch (this.api.protocol) { case 'json': case 'rest-json': property(this, 'timestampFormat', 'unixTimestamp'); break; case 'rest-xml': case 'query': case 'ec2': property(this, 'timestampFormat', 'iso8601'); break; } } } this.toType = function(value) { if (value === null || value === undefined) return null; if (typeof value.toUTCString === 'function') return value; return typeof value === 'string' || typeof value === 'number' ? util.date.parseTimestamp(value) : null; }; this.toWireFormat = function(value) { return util.date.format(value, self.timestampFormat); }; } function StringShape() { Shape.apply(this, arguments); var nullLessProtocols = ['rest-xml', 'query', 'ec2']; this.toType = function(value) { value = this.api && nullLessProtocols.indexOf(this.api.protocol) > -1 ? value || '' : value; if (this.isJsonValue) { return JSON.parse(value); } return value && typeof value.toString === 'function' ? value.toString() : value; }; this.toWireFormat = function(value) { return this.isJsonValue ? JSON.stringify(value) : value; }; } function FloatShape() { Shape.apply(this, arguments); this.toType = function(value) { if (value === null || value === undefined) return null; return parseFloat(value); }; this.toWireFormat = this.toType; } function IntegerShape() { Shape.apply(this, arguments); this.toType = function(value) { if (value === null || value === undefined) return null; return parseInt(value, 10); }; this.toWireFormat = this.toType; } function BinaryShape() { Shape.apply(this, arguments); this.toType = util.base64.decode; this.toWireFormat = util.base64.encode; } function Base64Shape() { BinaryShape.apply(this, arguments); } function BooleanShape() { Shape.apply(this, arguments); this.toType = function(value) { if (typeof value === 'boolean') return value; if (value === null || value === undefined) return null; return value === 'true'; }; } Shape.shapes = { StructureShape: StructureShape, ListShape: ListShape, MapShape: MapShape, StringShape: StringShape, BooleanShape: BooleanShape, Base64Shape: Base64Shape }; module.exports = Shape; },{"../util":290,"./collection":245}],250:[function(require,module,exports){ var AWS = require('./core'); AWS.ParamValidator = AWS.util.inherit({ constructor: function ParamValidator(validation) { if (validation === true || validation === undefined) { validation = {'min': true}; } this.validation = validation; }, validate: function validate(shape, params, context) { this.errors = []; this.validateMember(shape, params || {}, context || 'params'); if (this.errors.length > 1) { var msg = this.errors.join('\n* '); msg = 'There were ' + this.errors.length + ' validation errors:\n* ' + msg; throw AWS.util.error(new Error(msg), {code: 'MultipleValidationErrors', errors: this.errors}); } else if (this.errors.length === 1) { throw this.errors[0]; } else { return true; } }, fail: function fail(code, message) { this.errors.push(AWS.util.error(new Error(message), {code: code})); }, validateStructure: function validateStructure(shape, params, context) { this.validateType(params, context, ['object'], 'structure'); var paramName; for (var i = 0; shape.required && i < shape.required.length; i++) { paramName = shape.required[i]; var value = params[paramName]; if (value === undefined || value === null) { this.fail('MissingRequiredParameter', 'Missing required key \'' + paramName + '\' in ' + context); } } for (paramName in params) { if (!Object.prototype.hasOwnProperty.call(params, paramName)) continue; var paramValue = params[paramName], memberShape = shape.members[paramName]; if (memberShape !== undefined) { var memberContext = [context, paramName].join('.'); this.validateMember(memberShape, paramValue, memberContext); } else { this.fail('UnexpectedParameter', 'Unexpected key \'' + paramName + '\' found in ' + context); } } return true; }, validateMember: function validateMember(shape, param, context) { switch (shape.type) { case 'structure': return this.validateStructure(shape, param, context); case 'list': return this.validateList(shape, param, context); case 'map': return this.validateMap(shape, param, context); default: return this.validateScalar(shape, param, context); } }, validateList: function validateList(shape, params, context) { if (this.validateType(params, context, [Array])) { this.validateRange(shape, params.length, context, 'list member count'); for (var i = 0; i < params.length; i++) { this.validateMember(shape.member, params[i], context + '[' + i + ']'); } } }, validateMap: function validateMap(shape, params, context) { if (this.validateType(params, context, ['object'], 'map')) { var mapCount = 0; for (var param in params) { if (!Object.prototype.hasOwnProperty.call(params, param)) continue; this.validateMember(shape.key, param, context + '[key=\'' + param + '\']') this.validateMember(shape.value, params[param], context + '[\'' + param + '\']'); mapCount++; } this.validateRange(shape, mapCount, context, 'map member count'); } }, validateScalar: function validateScalar(shape, value, context) { switch (shape.type) { case null: case undefined: case 'string': return this.validateString(shape, value, context); case 'base64': case 'binary': return this.validatePayload(value, context); case 'integer': case 'float': return this.validateNumber(shape, value, context); case 'boolean': return this.validateType(value, context, ['boolean']); case 'timestamp': return this.validateType(value, context, [Date, /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, 'number'], 'Date object, ISO-8601 string, or a UNIX timestamp'); default: return this.fail('UnkownType', 'Unhandled type ' + shape.type + ' for ' + context); } }, validateString: function validateString(shape, value, context) { var validTypes = ['string']; if (shape.isJsonValue) { validTypes = validTypes.concat(['number', 'object', 'boolean']); } if (value !== null && this.validateType(value, context, validTypes)) { this.validateEnum(shape, value, context); this.validateRange(shape, value.length, context, 'string length'); this.validatePattern(shape, value, context); } }, validatePattern: function validatePattern(shape, value, context) { if (this.validation['pattern'] && shape['pattern'] !== undefined) { if (!(new RegExp(shape['pattern'])).test(value)) { this.fail('PatternMatchError', 'Provided value "' + value + '" ' + 'does not match regex pattern /' + shape['pattern'] + '/ for ' + context); } } }, validateRange: function validateRange(shape, value, context, descriptor) { if (this.validation['min']) { if (shape['min'] !== undefined && value < shape['min']) { this.fail('MinRangeError', 'Expected ' + descriptor + ' >= ' + shape['min'] + ', but found ' + value + ' for ' + context); } } if (this.validation['max']) { if (shape['max'] !== undefined && value > shape['max']) { this.fail('MaxRangeError', 'Expected ' + descriptor + ' <= ' + shape['max'] + ', but found ' + value + ' for ' + context); } } }, validateEnum: function validateRange(shape, value, context) { if (this.validation['enum'] && shape['enum'] !== undefined) { if (shape['enum'].indexOf(value) === -1) { this.fail('EnumError', 'Found string value of ' + value + ', but ' + 'expected ' + shape['enum'].join('|') + ' for ' + context); } } }, validateType: function validateType(value, context, acceptedTypes, type) { if (value === null || value === undefined) return false; var foundInvalidType = false; for (var i = 0; i < acceptedTypes.length; i++) { if (typeof acceptedTypes[i] === 'string') { if (typeof value === acceptedTypes[i]) return true; } else if (acceptedTypes[i] instanceof RegExp) { if ((value || '').toString().match(acceptedTypes[i])) return true; } else { if (value instanceof acceptedTypes[i]) return true; if (AWS.util.isType(value, acceptedTypes[i])) return true; if (!type && !foundInvalidType) acceptedTypes = acceptedTypes.slice(); acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]); } foundInvalidType = true; } var acceptedType = type; if (!acceptedType) { acceptedType = acceptedTypes.join(', ').replace(/,([^,]+)$/, ', or$1'); } var vowel = acceptedType.match(/^[aeiou]/i) ? 'n' : ''; this.fail('InvalidParameterType', 'Expected ' + context + ' to be a' + vowel + ' ' + acceptedType); return false; }, validateNumber: function validateNumber(shape, value, context) { if (value === null || value === undefined) return; if (typeof value === 'string') { var castedValue = parseFloat(value); if (castedValue.toString() === value) value = castedValue; } if (this.validateType(value, context, ['number'])) { this.validateRange(shape, value, context, 'numeric value'); } }, validatePayload: function validatePayload(value, context) { if (value === null || value === undefined) return; if (typeof value === 'string') return; if (value && typeof value.byteLength === 'number') return; // typed arrays if (AWS.util.isNode()) { // special check for buffer/stream in Node.js var Stream = AWS.util.stream.Stream; if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) return; } var types = ['Buffer', 'Stream', 'File', 'Blob', 'ArrayBuffer', 'DataView']; if (value) { for (var i = 0; i < types.length; i++) { if (AWS.util.isType(value, types[i])) return; if (AWS.util.typeName(value.constructor) === types[i]) return; } } this.fail('InvalidParameterType', 'Expected ' + context + ' to be a ' + 'string, Buffer, Stream, Blob, or typed array object'); } }); },{"./core":227}],251:[function(require,module,exports){ var AWS = require('../core'); var rest = require('../protocol/rest'); AWS.Polly.Presigner = AWS.util.inherit({ constructor: function Signer(options) { options = options || {}; this.options = options; this.service = options.service; this.bindServiceObject(options); this._operations = {}; }, bindServiceObject: function bindServiceObject(options) { options = options || {}; if (!this.service) { this.service = new AWS.Polly(options); } else { var config = AWS.util.copy(this.service.config); this.service = new this.service.constructor.__super__(config); this.service.config.params = AWS.util.merge(this.service.config.params || {}, options.params); } }, modifyInputMembers: function modifyInputMembers(input) { var modifiedInput = AWS.util.copy(input); modifiedInput.members = AWS.util.copy(input.members); AWS.util.each(input.members, function(name, member) { modifiedInput.members[name] = AWS.util.copy(member); if (!member.location || member.location === 'body') { modifiedInput.members[name].location = 'querystring'; modifiedInput.members[name].locationName = name; } }); return modifiedInput; }, convertPostToGet: function convertPostToGet(req) { req.httpRequest.method = 'GET'; var operation = req.service.api.operations[req.operation]; var input = this._operations[req.operation]; if (!input) { this._operations[req.operation] = input = this.modifyInputMembers(operation.input); } var uri = rest.generateURI(req.httpRequest.endpoint.path, operation.httpPath, input, req.params); req.httpRequest.path = uri; req.httpRequest.body = ''; delete req.httpRequest.headers['Content-Length']; delete req.httpRequest.headers['Content-Type']; }, getSynthesizeSpeechUrl: function getSynthesizeSpeechUrl(params, expires, callback) { var self = this; var request = this.service.makeRequest('synthesizeSpeech', params); request.removeAllListeners('build'); request.on('build', function(req) { self.convertPostToGet(req); }); return request.presign(expires, callback); } }); },{"../core":227,"../protocol/rest":254}],252:[function(require,module,exports){ var util = require('../util'); var JsonBuilder = require('../json/builder'); var JsonParser = require('../json/parser'); function buildRequest(req) { var httpRequest = req.httpRequest; var api = req.service.api; var target = api.targetPrefix + '.' + api.operations[req.operation].name; var version = api.jsonVersion || '1.0'; var input = api.operations[req.operation].input; var builder = new JsonBuilder(); if (version === 1) version = '1.0'; httpRequest.body = builder.build(req.params || {}, input); httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version; httpRequest.headers['X-Amz-Target'] = target; } function extractError(resp) { var error = {}; var httpResponse = resp.httpResponse; error.code = httpResponse.headers['x-amzn-errortype'] || 'UnknownError'; if (typeof error.code === 'string') { error.code = error.code.split(':')[0]; } if (httpResponse.body.length > 0) { try { var e = JSON.parse(httpResponse.body.toString()); if (e.__type || e.code) { error.code = (e.__type || e.code).split('#').pop(); } if (error.code === 'RequestEntityTooLarge') { error.message = 'Request body must be less than 1 MB'; } else { error.message = (e.message || e.Message || null); } } catch (e) { error.statusCode = httpResponse.statusCode; error.message = httpResponse.statusMessage; } } else { error.statusCode = httpResponse.statusCode; error.message = httpResponse.statusCode.toString(); } resp.error = util.error(new Error(), error); } function extractData(resp) { var body = resp.httpResponse.body.toString() || '{}'; if (resp.request.service.config.convertResponseTypes === false) { resp.data = JSON.parse(body); } else { var operation = resp.request.service.api.operations[resp.request.operation]; var shape = operation.output || {}; var parser = new JsonParser(); resp.data = parser.parse(body, shape); } } module.exports = { buildRequest: buildRequest, extractError: extractError, extractData: extractData }; },{"../json/builder":242,"../json/parser":243,"../util":290}],253:[function(require,module,exports){ var AWS = require('../core'); var util = require('../util'); var QueryParamSerializer = require('../query/query_param_serializer'); var Shape = require('../model/shape'); function buildRequest(req) { var operation = req.service.api.operations[req.operation]; var httpRequest = req.httpRequest; httpRequest.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=utf-8'; httpRequest.params = { Version: req.service.api.apiVersion, Action: operation.name }; var builder = new QueryParamSerializer(); builder.serialize(req.params, operation.input, function(name, value) { httpRequest.params[name] = value; }); httpRequest.body = util.queryParamsToString(httpRequest.params); } function extractError(resp) { var data, body = resp.httpResponse.body.toString(); if (body.match('= 0 ? '&' : '?'); var parts = []; util.arrayEach(Object.keys(queryString).sort(), function(key) { if (!Array.isArray(queryString[key])) { queryString[key] = [queryString[key]]; } for (var i = 0; i < queryString[key].length; i++) { parts.push(util.uriEscape(String(key)) + '=' + queryString[key][i]); } }); uri += parts.join('&'); } return uri; } function populateURI(req) { var operation = req.service.api.operations[req.operation]; var input = operation.input; var uri = generateURI(req.httpRequest.endpoint.path, operation.httpPath, input, req.params); req.httpRequest.path = uri; } function populateHeaders(req) { var operation = req.service.api.operations[req.operation]; util.each(operation.input.members, function (name, member) { var value = req.params[name]; if (value === null || value === undefined) return; if (member.location === 'headers' && member.type === 'map') { util.each(value, function(key, memberValue) { req.httpRequest.headers[member.name + key] = memberValue; }); } else if (member.location === 'header') { value = member.toWireFormat(value).toString(); if (member.isJsonValue) { value = util.base64.encode(value); } req.httpRequest.headers[member.name] = value; } }); } function buildRequest(req) { populateMethod(req); populateURI(req); populateHeaders(req); } function extractError() { } function extractData(resp) { var req = resp.request; var data = {}; var r = resp.httpResponse; var operation = req.service.api.operations[req.operation]; var output = operation.output; var headers = {}; util.each(r.headers, function (k, v) { headers[k.toLowerCase()] = v; }); util.each(output.members, function(name, member) { var header = (member.name || name).toLowerCase(); if (member.location === 'headers' && member.type === 'map') { data[name] = {}; var location = member.isLocationName ? member.name : ''; var pattern = new RegExp('^' + location + '(.+)', 'i'); util.each(r.headers, function (k, v) { var result = k.match(pattern); if (result !== null) { data[name][result[1]] = v; } }); } else if (member.location === 'header') { if (headers[header] !== undefined) { var value = member.isJsonValue ? util.base64.decode(headers[header]) : headers[header]; data[name] = member.toType(value); } } else if (member.location === 'statusCode') { data[name] = parseInt(r.statusCode, 10); } }); resp.data = data; } module.exports = { buildRequest: buildRequest, extractError: extractError, extractData: extractData, generateURI: generateURI }; },{"../util":290}],255:[function(require,module,exports){ var util = require('../util'); var Rest = require('./rest'); var Json = require('./json'); var JsonBuilder = require('../json/builder'); var JsonParser = require('../json/parser'); function populateBody(req) { var builder = new JsonBuilder(); var input = req.service.api.operations[req.operation].input; if (input.payload) { var params = {}; var payloadShape = input.members[input.payload]; params = req.params[input.payload]; if (params === undefined) return; if (payloadShape.type === 'structure') { req.httpRequest.body = builder.build(params, payloadShape); } else { // non-JSON payload req.httpRequest.body = params; } } else { req.httpRequest.body = builder.build(req.params, input); } } function buildRequest(req) { Rest.buildRequest(req); if (['GET', 'HEAD', 'DELETE'].indexOf(req.httpRequest.method) < 0) { populateBody(req); } } function extractError(resp) { Json.extractError(resp); } function extractData(resp) { Rest.extractData(resp); var req = resp.request; var rules = req.service.api.operations[req.operation].output || {}; if (rules.payload) { var payloadMember = rules.members[rules.payload]; var body = resp.httpResponse.body; if (payloadMember.type === 'structure' || payloadMember.type === 'list') { var parser = new JsonParser(); resp.data[rules.payload] = parser.parse(body, payloadMember); } else if (payloadMember.type === 'binary' || payloadMember.isStreaming) { resp.data[rules.payload] = body; } else { resp.data[rules.payload] = payloadMember.toType(body); } } else { var data = resp.data; Json.extractData(resp); resp.data = util.merge(data, resp.data); } } module.exports = { buildRequest: buildRequest, extractError: extractError, extractData: extractData }; },{"../json/builder":242,"../json/parser":243,"../util":290,"./json":252,"./rest":254}],256:[function(require,module,exports){ var AWS = require('../core'); var util = require('../util'); var Rest = require('./rest'); function populateBody(req) { var input = req.service.api.operations[req.operation].input; var builder = new AWS.XML.Builder(); var params = req.params; var payload = input.payload; if (payload) { var payloadMember = input.members[payload]; params = params[payload]; if (params === undefined) return; if (payloadMember.type === 'structure') { var rootElement = payloadMember.name; req.httpRequest.body = builder.toXML(params, payloadMember, rootElement, true); } else { // non-xml payload req.httpRequest.body = params; } } else { req.httpRequest.body = builder.toXML(params, input, input.name || input.shape || util.string.upperFirst(req.operation) + 'Request'); } } function buildRequest(req) { Rest.buildRequest(req); if (['GET', 'HEAD'].indexOf(req.httpRequest.method) < 0) { populateBody(req); } } function extractError(resp) { Rest.extractError(resp); var data; try { data = new AWS.XML.Parser().parse(resp.httpResponse.body.toString()); } catch (e) { data = { Code: resp.httpResponse.statusCode, Message: resp.httpResponse.statusMessage }; } if (data.Errors) data = data.Errors; if (data.Error) data = data.Error; if (data.Code) { resp.error = util.error(new Error(), { code: data.Code, message: data.Message }); } else { resp.error = util.error(new Error(), { code: resp.httpResponse.statusCode, message: null }); } } function extractData(resp) { Rest.extractData(resp); var parser; var req = resp.request; var body = resp.httpResponse.body; var operation = req.service.api.operations[req.operation]; var output = operation.output; var payload = output.payload; if (payload) { var payloadMember = output.members[payload]; if (payloadMember.type === 'structure') { parser = new AWS.XML.Parser(); resp.data[payload] = parser.parse(body.toString(), payloadMember); } else if (payloadMember.type === 'binary' || payloadMember.isStreaming) { resp.data[payload] = body; } else { resp.data[payload] = payloadMember.toType(body); } } else if (body.length > 0) { parser = new AWS.XML.Parser(); var data = parser.parse(body.toString(), output); util.update(resp.data, data); } } module.exports = { buildRequest: buildRequest, extractError: extractError, extractData: extractData }; },{"../core":227,"../util":290,"./rest":254}],257:[function(require,module,exports){ var util = require('../util'); function QueryParamSerializer() { } QueryParamSerializer.prototype.serialize = function(params, shape, fn) { serializeStructure('', params, shape, fn); }; function ucfirst(shape) { if (shape.isQueryName || shape.api.protocol !== 'ec2') { return shape.name; } else { return shape.name[0].toUpperCase() + shape.name.substr(1); } } function serializeStructure(prefix, struct, rules, fn) { util.each(rules.members, function(name, member) { var value = struct[name]; if (value === null || value === undefined) return; var memberName = ucfirst(member); memberName = prefix ? prefix + '.' + memberName : memberName; serializeMember(memberName, value, member, fn); }); } function serializeMap(name, map, rules, fn) { var i = 1; util.each(map, function (key, value) { var prefix = rules.flattened ? '.' : '.entry.'; var position = prefix + (i++) + '.'; var keyName = position + (rules.key.name || 'key'); var valueName = position + (rules.value.name || 'value'); serializeMember(name + keyName, key, rules.key, fn); serializeMember(name + valueName, value, rules.value, fn); }); } function serializeList(name, list, rules, fn) { var memberRules = rules.member || {}; if (list.length === 0) { fn.call(this, name, null); return; } util.arrayEach(list, function (v, n) { var suffix = '.' + (n + 1); if (rules.api.protocol === 'ec2') { suffix = suffix + ''; // make linter happy } else if (rules.flattened) { if (memberRules.name) { var parts = name.split('.'); parts.pop(); parts.push(ucfirst(memberRules)); name = parts.join('.'); } } else { suffix = '.' + (memberRules.name ? memberRules.name : 'member') + suffix; } serializeMember(name + suffix, v, memberRules, fn); }); } function serializeMember(name, value, rules, fn) { if (value === null || value === undefined) return; if (rules.type === 'structure') { serializeStructure(name, value, rules, fn); } else if (rules.type === 'list') { serializeList(name, value, rules, fn); } else if (rules.type === 'map') { serializeMap(name, value, rules, fn); } else { fn(name, rules.toWireFormat(value).toString()); } } module.exports = QueryParamSerializer; },{"../util":290}],258:[function(require,module,exports){ var AWS = require('../core'); var service = null; var api = { signatureVersion: 'v4', signingName: 'rds-db' }; var requiredAuthTokenOptions = { region: 'string', hostname: 'string', port: 'number', username: 'string' }; AWS.RDS.Signer = AWS.util.inherit({ constructor: function Signer(options) { this.options = options || {}; }, convertUrlToAuthToken: function convertUrlToAuthToken(url) { var protocol = 'https://'; if (url.indexOf(protocol) === 0) { return url.substring(protocol.length); } }, getAuthToken: function getAuthToken(options, callback) { if (typeof options === 'function' && callback === undefined) { callback = options; options = {}; } var self = this; var hasCallback = typeof callback === 'function'; options = AWS.util.merge(this.options, options); var optionsValidation = this.validateAuthTokenOptions(options); if (optionsValidation !== true) { if (hasCallback) { return callback(optionsValidation, null); } throw optionsValidation; } var expires = 900; var serviceOptions = { region: options.region, endpoint: new AWS.Endpoint(options.hostname + ':' + options.port), paramValidation: false, signatureVersion: 'v4' }; if (options.credentials) { serviceOptions.credentials = options.credentials; } service = new AWS.Service(serviceOptions); service.api = api; var request = service.makeRequest(); this.modifyRequestForAuthToken(request, options); if (hasCallback) { request.presign(expires, function(err, url) { if (url) { url = self.convertUrlToAuthToken(url); } callback(err, url); }); } else { var url = request.presign(expires); return this.convertUrlToAuthToken(url); } }, modifyRequestForAuthToken: function modifyRequestForAuthToken(request, options) { request.on('build', request.buildAsGet); var httpRequest = request.httpRequest; httpRequest.body = AWS.util.queryParamsToString({ Action: 'connect', DBUser: options.username }); }, validateAuthTokenOptions: function validateAuthTokenOptions(options) { var message = ''; options = options || {}; for (var key in requiredAuthTokenOptions) { if (!Object.prototype.hasOwnProperty.call(requiredAuthTokenOptions, key)) { continue; } if (typeof options[key] !== requiredAuthTokenOptions[key]) { message += 'option \'' + key + '\' should have been type \'' + requiredAuthTokenOptions[key] + '\', was \'' + typeof options[key] + '\'.\n'; } } if (message.length) { return AWS.util.error(new Error(), { code: 'InvalidParameter', message: message }); } return true; } }); },{"../core":227}],259:[function(require,module,exports){ var util = require('./util'); var regionConfig = require('./region_config_data.json'); function generateRegionPrefix(region) { if (!region) return null; var parts = region.split('-'); if (parts.length < 3) return null; return parts.slice(0, parts.length - 2).join('-') + '-*'; } function derivedKeys(service) { var region = service.config.region; var regionPrefix = generateRegionPrefix(region); var endpointPrefix = service.api.endpointPrefix; return [ [region, endpointPrefix], [regionPrefix, endpointPrefix], [region, '*'], [regionPrefix, '*'], ['*', endpointPrefix], ['*', '*'] ].map(function(item) { return item[0] && item[1] ? item.join('/') : null; }); } function applyConfig(service, config) { util.each(config, function(key, value) { if (key === 'globalEndpoint') return; if (service.config[key] === undefined || service.config[key] === null) { service.config[key] = value; } }); } function configureEndpoint(service) { var keys = derivedKeys(service); for (var i = 0; i < keys.length; i++) { var key = keys[i]; if (!key) continue; if (Object.prototype.hasOwnProperty.call(regionConfig.rules, key)) { var config = regionConfig.rules[key]; if (typeof config === 'string') { config = regionConfig.patterns[config]; } if (service.config.useDualstack && util.isDualstackAvailable(service)) { config = util.copy(config); config.endpoint = '{service}.dualstack.{region}.amazonaws.com'; } service.isGlobalEndpoint = !!config.globalEndpoint; if (!config.signatureVersion) config.signatureVersion = 'v4'; applyConfig(service, config); return; } } } module.exports = configureEndpoint; },{"./region_config_data.json":260,"./util":290}],260:[function(require,module,exports){ module.exports={ "rules": { "*/*": { "endpoint": "{service}.{region}.amazonaws.com" }, "cn-*/*": { "endpoint": "{service}.{region}.amazonaws.com.cn" }, "*/budgets": "globalSSL", "*/cloudfront": "globalSSL", "*/iam": "globalSSL", "*/sts": "globalSSL", "*/importexport": { "endpoint": "{service}.amazonaws.com", "signatureVersion": "v2", "globalEndpoint": true }, "*/route53": { "endpoint": "https://{service}.amazonaws.com", "signatureVersion": "v3https", "globalEndpoint": true }, "*/waf": "globalSSL", "us-gov-*/iam": "globalGovCloud", "us-gov-*/sts": { "endpoint": "{service}.{region}.amazonaws.com" }, "us-gov-west-1/s3": "s3dash", "us-west-1/s3": "s3dash", "us-west-2/s3": "s3dash", "eu-west-1/s3": "s3dash", "ap-southeast-1/s3": "s3dash", "ap-southeast-2/s3": "s3dash", "ap-northeast-1/s3": "s3dash", "sa-east-1/s3": "s3dash", "us-east-1/s3": { "endpoint": "{service}.amazonaws.com", "signatureVersion": "s3" }, "us-east-1/sdb": { "endpoint": "{service}.amazonaws.com", "signatureVersion": "v2" }, "*/sdb": { "endpoint": "{service}.{region}.amazonaws.com", "signatureVersion": "v2" } }, "patterns": { "globalSSL": { "endpoint": "https://{service}.amazonaws.com", "globalEndpoint": true }, "globalGovCloud": { "endpoint": "{service}.us-gov.amazonaws.com" }, "s3dash": { "endpoint": "{service}-{region}.amazonaws.com", "signatureVersion": "s3" } } } },{}],261:[function(require,module,exports){ (function (process){ var AWS = require('./core'); var AcceptorStateMachine = require('./state_machine'); var inherit = AWS.util.inherit; var domain = AWS.util.domain; var jmespath = require('jmespath'); var hardErrorStates = {success: 1, error: 1, complete: 1}; function isTerminalState(machine) { return Object.prototype.hasOwnProperty.call(hardErrorStates, machine._asm.currentState); } var fsm = new AcceptorStateMachine(); fsm.setupStates = function() { var transition = function(_, done) { var self = this; self._haltHandlersOnError = false; self.emit(self._asm.currentState, function(err) { if (err) { if (isTerminalState(self)) { if (domain && self.domain instanceof domain.Domain) { err.domainEmitter = self; err.domain = self.domain; err.domainThrown = false; self.domain.emit('error', err); } else { throw err; } } else { self.response.error = err; done(err); } } else { done(self.response.error); } }); }; this.addState('validate', 'build', 'error', transition); this.addState('build', 'afterBuild', 'restart', transition); this.addState('afterBuild', 'sign', 'restart', transition); this.addState('sign', 'send', 'retry', transition); this.addState('retry', 'afterRetry', 'afterRetry', transition); this.addState('afterRetry', 'sign', 'error', transition); this.addState('send', 'validateResponse', 'retry', transition); this.addState('validateResponse', 'extractData', 'extractError', transition); this.addState('extractError', 'extractData', 'retry', transition); this.addState('extractData', 'success', 'retry', transition); this.addState('restart', 'build', 'error', transition); this.addState('success', 'complete', 'complete', transition); this.addState('error', 'complete', 'complete', transition); this.addState('complete', null, null, transition); }; fsm.setupStates(); AWS.Request = inherit({ constructor: function Request(service, operation, params) { var endpoint = service.endpoint; var region = service.config.region; var customUserAgent = service.config.customUserAgent; if (service.isGlobalEndpoint) region = 'us-east-1'; this.domain = domain && domain.active; this.service = service; this.operation = operation; this.params = params || {}; this.httpRequest = new AWS.HttpRequest(endpoint, region); this.httpRequest.appendToUserAgent(customUserAgent); this.startTime = AWS.util.date.getDate(); this.response = new AWS.Response(this); this._asm = new AcceptorStateMachine(fsm.states, 'validate'); this._haltHandlersOnError = false; AWS.SequentialExecutor.call(this); this.emit = this.emitEvent; }, send: function send(callback) { if (callback) { this.httpRequest.appendToUserAgent('callback'); this.on('complete', function (resp) { callback.call(resp, resp.error, resp.data); }); } this.runTo(); return this.response; }, build: function build(callback) { return this.runTo('send', callback); }, runTo: function runTo(state, done) { this._asm.runTo(state, done, this); return this; }, abort: function abort() { this.removeAllListeners('validateResponse'); this.removeAllListeners('extractError'); this.on('validateResponse', function addAbortedError(resp) { resp.error = AWS.util.error(new Error('Request aborted by user'), { code: 'RequestAbortedError', retryable: false }); }); if (this.httpRequest.stream && !this.httpRequest.stream.didCallback) { // abort HTTP stream this.httpRequest.stream.abort(); if (this.httpRequest._abortCallback) { this.httpRequest._abortCallback(); } else { this.removeAllListeners('send'); // haven't sent yet, so let's not } } return this; }, eachPage: function eachPage(callback) { callback = AWS.util.fn.makeAsync(callback, 3); function wrappedCallback(response) { callback.call(response, response.error, response.data, function (result) { if (result === false) return; if (response.hasNextPage()) { response.nextPage().on('complete', wrappedCallback).send(); } else { callback.call(response, null, null, AWS.util.fn.noop); } }); } this.on('complete', wrappedCallback).send(); }, eachItem: function eachItem(callback) { var self = this; function wrappedCallback(err, data) { if (err) return callback(err, null); if (data === null) return callback(null, null); var config = self.service.paginationConfig(self.operation); var resultKey = config.resultKey; if (Array.isArray(resultKey)) resultKey = resultKey[0]; var items = jmespath.search(data, resultKey); var continueIteration = true; AWS.util.arrayEach(items, function(item) { continueIteration = callback(null, item); if (continueIteration === false) { return AWS.util.abort; } }); return continueIteration; } this.eachPage(wrappedCallback); }, isPageable: function isPageable() { return this.service.paginationConfig(this.operation) ? true : false; }, createReadStream: function createReadStream() { var streams = AWS.util.stream; var req = this; var stream = null; if (AWS.HttpClient.streamsApiVersion === 2) { stream = new streams.PassThrough(); process.nextTick(function() { req.send(); }); } else { stream = new streams.Stream(); stream.readable = true; stream.sent = false; stream.on('newListener', function(event) { if (!stream.sent && event === 'data') { stream.sent = true; process.nextTick(function() { req.send(); }); } }); } this.on('error', function(err) { stream.emit('error', err); }); this.on('httpHeaders', function streamHeaders(statusCode, headers, resp) { if (statusCode < 300) { req.removeListener('httpData', AWS.EventListeners.Core.HTTP_DATA); req.removeListener('httpError', AWS.EventListeners.Core.HTTP_ERROR); req.on('httpError', function streamHttpError(error) { resp.error = error; resp.error.retryable = false; }); var shouldCheckContentLength = false; var expectedLen; if (req.httpRequest.method !== 'HEAD') { expectedLen = parseInt(headers['content-length'], 10); } if (expectedLen !== undefined && !isNaN(expectedLen) && expectedLen >= 0) { shouldCheckContentLength = true; var receivedLen = 0; } var checkContentLengthAndEmit = function checkContentLengthAndEmit() { if (shouldCheckContentLength && receivedLen !== expectedLen) { stream.emit('error', AWS.util.error( new Error('Stream content length mismatch. Received ' + receivedLen + ' of ' + expectedLen + ' bytes.'), { code: 'StreamContentLengthMismatch' } )); } else if (AWS.HttpClient.streamsApiVersion === 2) { stream.end(); } else { stream.emit('end'); } }; var httpStream = resp.httpResponse.createUnbufferedStream(); if (AWS.HttpClient.streamsApiVersion === 2) { if (shouldCheckContentLength) { var lengthAccumulator = new streams.PassThrough(); lengthAccumulator._write = function(chunk) { if (chunk && chunk.length) { receivedLen += chunk.length; } return streams.PassThrough.prototype._write.apply(this, arguments); }; lengthAccumulator.on('end', checkContentLengthAndEmit); stream.on('error', function(err) { shouldCheckContentLength = false; lengthAccumulator.emit('end'); lengthAccumulator.end(); }); httpStream.pipe(lengthAccumulator).pipe(stream, { end: false }); } else { httpStream.pipe(stream); } } else { if (shouldCheckContentLength) { httpStream.on('data', function(arg) { if (arg && arg.length) { receivedLen += arg.length; } }); } httpStream.on('data', function(arg) { stream.emit('data', arg); }); httpStream.on('end', checkContentLengthAndEmit); } httpStream.on('error', function(err) { shouldCheckContentLength = false; stream.emit('error', err); }); } }); return stream; }, emitEvent: function emit(eventName, args, done) { if (typeof args === 'function') { done = args; args = null; } if (!done) done = function() { }; if (!args) args = this.eventParameters(eventName, this.response); var origEmit = AWS.SequentialExecutor.prototype.emit; origEmit.call(this, eventName, args, function (err) { if (err) this.response.error = err; done.call(this, err); }); }, eventParameters: function eventParameters(eventName) { switch (eventName) { case 'restart': case 'validate': case 'sign': case 'build': case 'afterValidate': case 'afterBuild': return [this]; case 'error': return [this.response.error, this.response]; default: return [this.response]; } }, presign: function presign(expires, callback) { if (!callback && typeof expires === 'function') { callback = expires; expires = null; } return new AWS.Signers.Presign().sign(this.toGet(), expires, callback); }, isPresigned: function isPresigned() { return Object.prototype.hasOwnProperty.call(this.httpRequest.headers, 'presigned-expires'); }, toUnauthenticated: function toUnauthenticated() { this.removeListener('validate', AWS.EventListeners.Core.VALIDATE_CREDENTIALS); this.removeListener('sign', AWS.EventListeners.Core.SIGN); return this; }, toGet: function toGet() { if (this.service.api.protocol === 'query' || this.service.api.protocol === 'ec2') { this.removeListener('build', this.buildAsGet); this.addListener('build', this.buildAsGet); } return this; }, buildAsGet: function buildAsGet(request) { request.httpRequest.method = 'GET'; request.httpRequest.path = request.service.endpoint.path + '?' + request.httpRequest.body; request.httpRequest.body = ''; delete request.httpRequest.headers['Content-Length']; delete request.httpRequest.headers['Content-Type']; }, haltHandlersOnError: function haltHandlersOnError() { this._haltHandlersOnError = true; } }); AWS.Request.addPromisesToClass = function addPromisesToClass(PromiseDependency) { this.prototype.promise = function promise() { var self = this; this.httpRequest.appendToUserAgent('promise'); return new PromiseDependency(function(resolve, reject) { self.on('complete', function(resp) { if (resp.error) { reject(resp.error); } else { resolve(Object.defineProperty( resp.data || {}, '$response', {value: resp} )); } }); self.runTo(); }); }; }; AWS.Request.deletePromisesFromClass = function deletePromisesFromClass() { delete this.prototype.promise; }; AWS.util.addPromises(AWS.Request); AWS.util.mixin(AWS.Request, AWS.SequentialExecutor); }).call(this,require('_process')) },{"./core":227,"./state_machine":289,"_process":447,"jmespath":306}],262:[function(require,module,exports){ var AWS = require('./core'); var inherit = AWS.util.inherit; var jmespath = require('jmespath'); function CHECK_ACCEPTORS(resp) { var waiter = resp.request._waiter; var acceptors = waiter.config.acceptors; var acceptorMatched = false; var state = 'retry'; acceptors.forEach(function(acceptor) { if (!acceptorMatched) { var matcher = waiter.matchers[acceptor.matcher]; if (matcher && matcher(resp, acceptor.expected, acceptor.argument)) { acceptorMatched = true; state = acceptor.state; } } }); if (!acceptorMatched && resp.error) state = 'failure'; if (state === 'success') { waiter.setSuccess(resp); } else { waiter.setError(resp, state === 'retry'); } } AWS.ResourceWaiter = inherit({ constructor: function constructor(service, state) { this.service = service; this.state = state; this.loadWaiterConfig(this.state); }, service: null, state: null, config: null, matchers: { path: function(resp, expected, argument) { try { var result = jmespath.search(resp.data, argument); } catch (err) { return false; } return jmespath.strictDeepEqual(result,expected); }, pathAll: function(resp, expected, argument) { try { var results = jmespath.search(resp.data, argument); } catch (err) { return false; } if (!Array.isArray(results)) results = [results]; var numResults = results.length; if (!numResults) return false; for (var ind = 0 ; ind < numResults; ind++) { if (!jmespath.strictDeepEqual(results[ind], expected)) { return false; } } return true; }, pathAny: function(resp, expected, argument) { try { var results = jmespath.search(resp.data, argument); } catch (err) { return false; } if (!Array.isArray(results)) results = [results]; var numResults = results.length; for (var ind = 0 ; ind < numResults; ind++) { if (jmespath.strictDeepEqual(results[ind], expected)) { return true; } } return false; }, status: function(resp, expected) { var statusCode = resp.httpResponse.statusCode; return (typeof statusCode === 'number') && (statusCode === expected); }, error: function(resp, expected) { if (typeof expected === 'string' && resp.error) { return expected === resp.error.code; } return expected === !!resp.error; } }, listeners: new AWS.SequentialExecutor().addNamedListeners(function(add) { add('RETRY_CHECK', 'retry', function(resp) { var waiter = resp.request._waiter; if (resp.error && resp.error.code === 'ResourceNotReady') { resp.error.retryDelay = (waiter.config.delay || 0) * 1000; } }); add('CHECK_OUTPUT', 'extractData', CHECK_ACCEPTORS); add('CHECK_ERROR', 'extractError', CHECK_ACCEPTORS); }), wait: function wait(params, callback) { if (typeof params === 'function') { callback = params; params = undefined; } if (params && params.$waiter) { params = AWS.util.copy(params); if (typeof params.$waiter.delay === 'number') { this.config.delay = params.$waiter.delay; } if (typeof params.$waiter.maxAttempts === 'number') { this.config.maxAttempts = params.$waiter.maxAttempts; } delete params.$waiter; } var request = this.service.makeRequest(this.config.operation, params); request._waiter = this; request.response.maxRetries = this.config.maxAttempts; request.addListeners(this.listeners); if (callback) request.send(callback); return request; }, setSuccess: function setSuccess(resp) { resp.error = null; resp.data = resp.data || {}; resp.request.removeAllListeners('extractData'); }, setError: function setError(resp, retryable) { resp.data = null; resp.error = AWS.util.error(resp.error || new Error(), { code: 'ResourceNotReady', message: 'Resource is not in the state ' + this.state, retryable: retryable }); }, loadWaiterConfig: function loadWaiterConfig(state) { if (!this.service.api.waiters[state]) { throw new AWS.util.error(new Error(), { code: 'StateNotFoundError', message: 'State ' + state + ' not found.' }); } this.config = AWS.util.copy(this.service.api.waiters[state]); } }); },{"./core":227,"jmespath":306}],263:[function(require,module,exports){ var AWS = require('./core'); var inherit = AWS.util.inherit; var jmespath = require('jmespath'); AWS.Response = inherit({ constructor: function Response(request) { this.request = request; this.data = null; this.error = null; this.retryCount = 0; this.redirectCount = 0; this.httpResponse = new AWS.HttpResponse(); if (request) { this.maxRetries = request.service.numRetries(); this.maxRedirects = request.service.config.maxRedirects; } }, nextPage: function nextPage(callback) { var config; var service = this.request.service; var operation = this.request.operation; try { config = service.paginationConfig(operation, true); } catch (e) { this.error = e; } if (!this.hasNextPage()) { if (callback) callback(this.error, null); else if (this.error) throw this.error; return null; } var params = AWS.util.copy(this.request.params); if (!this.nextPageTokens) { return callback ? callback(null, null) : null; } else { var inputTokens = config.inputToken; if (typeof inputTokens === 'string') inputTokens = [inputTokens]; for (var i = 0; i < inputTokens.length; i++) { params[inputTokens[i]] = this.nextPageTokens[i]; } return service.makeRequest(this.request.operation, params, callback); } }, hasNextPage: function hasNextPage() { this.cacheNextPageTokens(); if (this.nextPageTokens) return true; if (this.nextPageTokens === undefined) return undefined; else return false; }, cacheNextPageTokens: function cacheNextPageTokens() { if (Object.prototype.hasOwnProperty.call(this, 'nextPageTokens')) return this.nextPageTokens; this.nextPageTokens = undefined; var config = this.request.service.paginationConfig(this.request.operation); if (!config) return this.nextPageTokens; this.nextPageTokens = null; if (config.moreResults) { if (!jmespath.search(this.data, config.moreResults)) { return this.nextPageTokens; } } var exprs = config.outputToken; if (typeof exprs === 'string') exprs = [exprs]; AWS.util.arrayEach.call(this, exprs, function (expr) { var output = jmespath.search(this.data, expr); if (output) { this.nextPageTokens = this.nextPageTokens || []; this.nextPageTokens.push(output); } }); return this.nextPageTokens; } }); },{"./core":227,"jmespath":306}],264:[function(require,module,exports){ var AWS = require('../core'); var byteLength = AWS.util.string.byteLength; var Buffer = AWS.util.Buffer; AWS.S3.ManagedUpload = AWS.util.inherit({ constructor: function ManagedUpload(options) { var self = this; AWS.SequentialExecutor.call(self); self.body = null; self.sliceFn = null; self.callback = null; self.parts = {}; self.completeInfo = []; self.fillQueue = function() { self.callback(new Error('Unsupported body payload ' + typeof self.body)); }; self.configure(options); }, configure: function configure(options) { options = options || {}; this.partSize = this.minPartSize; if (options.queueSize) this.queueSize = options.queueSize; if (options.partSize) this.partSize = options.partSize; if (options.leavePartsOnError) this.leavePartsOnError = true; if (options.tags) { if (!Array.isArray(options.tags)) { throw new Error('Tags must be specified as an array; ' + typeof options.tags + ' provided.'); } this.tags = options.tags; } if (this.partSize < this.minPartSize) { throw new Error('partSize must be greater than ' + this.minPartSize); } this.service = options.service; this.bindServiceObject(options.params); this.validateBody(); this.adjustTotalBytes(); }, leavePartsOnError: false, queueSize: 4, partSize: null, minPartSize: 1024 * 1024 * 5, maxTotalParts: 10000, send: function(callback) { var self = this; self.failed = false; self.callback = callback || function(err) { if (err) throw err; }; var runFill = true; if (self.sliceFn) { self.fillQueue = self.fillBuffer; } else if (AWS.util.isNode()) { var Stream = AWS.util.stream.Stream; if (self.body instanceof Stream) { runFill = false; self.fillQueue = self.fillStream; self.partBuffers = []; self.body. on('error', function(err) { self.cleanup(err); }). on('readable', function() { self.fillQueue(); }). on('end', function() { self.isDoneChunking = true; self.numParts = self.totalPartNumbers; self.fillQueue.call(self); if (self.isDoneChunking && self.totalPartNumbers >= 1 && self.doneParts === self.numParts) { self.finishMultiPart(); } }); } } if (runFill) self.fillQueue.call(self); }, abort: function() { this.cleanup(AWS.util.error(new Error('Request aborted by user'), { code: 'RequestAbortedError', retryable: false })); }, validateBody: function validateBody() { var self = this; self.body = self.service.config.params.Body; if (typeof self.body === 'string') { self.body = new AWS.util.Buffer(self.body); } else if (!self.body) { throw new Error('params.Body is required'); } self.sliceFn = AWS.util.arraySliceFn(self.body); }, bindServiceObject: function bindServiceObject(params) { params = params || {}; var self = this; if (!self.service) { self.service = new AWS.S3({params: params}); } else { var service = self.service; var config = AWS.util.copy(service.config); config.signatureVersion = service.getSignatureVersion(); self.service = new service.constructor.__super__(config); self.service.config.params = AWS.util.merge(self.service.config.params || {}, params); } }, adjustTotalBytes: function adjustTotalBytes() { var self = this; try { // try to get totalBytes self.totalBytes = byteLength(self.body); } catch (e) { } if (self.totalBytes) { var newPartSize = Math.ceil(self.totalBytes / self.maxTotalParts); if (newPartSize > self.partSize) self.partSize = newPartSize; } else { self.totalBytes = undefined; } }, isDoneChunking: false, partPos: 0, totalChunkedBytes: 0, totalUploadedBytes: 0, totalBytes: undefined, numParts: 0, totalPartNumbers: 0, activeParts: 0, doneParts: 0, parts: null, completeInfo: null, failed: false, multipartReq: null, partBuffers: null, partBufferLength: 0, fillBuffer: function fillBuffer() { var self = this; var bodyLen = byteLength(self.body); if (bodyLen === 0) { self.isDoneChunking = true; self.numParts = 1; self.nextChunk(self.body); return; } while (self.activeParts < self.queueSize && self.partPos < bodyLen) { var endPos = Math.min(self.partPos + self.partSize, bodyLen); var buf = self.sliceFn.call(self.body, self.partPos, endPos); self.partPos += self.partSize; if (byteLength(buf) < self.partSize || self.partPos === bodyLen) { self.isDoneChunking = true; self.numParts = self.totalPartNumbers + 1; } self.nextChunk(buf); } }, fillStream: function fillStream() { var self = this; if (self.activeParts >= self.queueSize) return; var buf = self.body.read(self.partSize - self.partBufferLength) || self.body.read(); if (buf) { self.partBuffers.push(buf); self.partBufferLength += buf.length; self.totalChunkedBytes += buf.length; } if (self.partBufferLength >= self.partSize) { var pbuf = self.partBuffers.length === 1 ? self.partBuffers[0] : Buffer.concat(self.partBuffers); self.partBuffers = []; self.partBufferLength = 0; if (pbuf.length > self.partSize) { var rest = pbuf.slice(self.partSize); self.partBuffers.push(rest); self.partBufferLength += rest.length; pbuf = pbuf.slice(0, self.partSize); } self.nextChunk(pbuf); } if (self.isDoneChunking && !self.isDoneSending) { pbuf = self.partBuffers.length === 1 ? self.partBuffers[0] : Buffer.concat(self.partBuffers); self.partBuffers = []; self.partBufferLength = 0; self.totalBytes = self.totalChunkedBytes; self.isDoneSending = true; if (self.numParts === 0 || pbuf.length > 0) { self.numParts++; self.nextChunk(pbuf); } } self.body.read(0); }, nextChunk: function nextChunk(chunk) { var self = this; if (self.failed) return null; var partNumber = ++self.totalPartNumbers; if (self.isDoneChunking && partNumber === 1) { var params = {Body: chunk}; if (this.tags) { params.Tagging = this.getTaggingHeader(); } var req = self.service.putObject(params); req._managedUpload = self; req.on('httpUploadProgress', self.progress).send(self.finishSinglePart); return null; } else if (self.service.config.params.ContentMD5) { var err = AWS.util.error(new Error('The Content-MD5 you specified is invalid for multi-part uploads.'), { code: 'InvalidDigest', retryable: false }); self.cleanup(err); return null; } if (self.completeInfo[partNumber] && self.completeInfo[partNumber].ETag !== null) { return null; // Already uploaded this part. } self.activeParts++; if (!self.service.config.params.UploadId) { if (!self.multipartReq) { // create multipart self.multipartReq = self.service.createMultipartUpload(); self.multipartReq.on('success', function(resp) { self.service.config.params.UploadId = resp.data.UploadId; self.multipartReq = null; }); self.queueChunks(chunk, partNumber); self.multipartReq.on('error', function(err) { self.cleanup(err); }); self.multipartReq.send(); } else { self.queueChunks(chunk, partNumber); } } else { // multipart is created, just send self.uploadPart(chunk, partNumber); } }, getTaggingHeader: function getTaggingHeader() { var kvPairStrings = []; for (var i = 0; i < this.tags.length; i++) { kvPairStrings.push(AWS.util.uriEscape(this.tags[i].Key) + '=' + AWS.util.uriEscape(this.tags[i].Value)); } return kvPairStrings.join('&'); }, uploadPart: function uploadPart(chunk, partNumber) { var self = this; var partParams = { Body: chunk, ContentLength: AWS.util.string.byteLength(chunk), PartNumber: partNumber }; var partInfo = {ETag: null, PartNumber: partNumber}; self.completeInfo[partNumber] = partInfo; var req = self.service.uploadPart(partParams); self.parts[partNumber] = req; req._lastUploadedBytes = 0; req._managedUpload = self; req.on('httpUploadProgress', self.progress); req.send(function(err, data) { delete self.parts[partParams.PartNumber]; self.activeParts--; if (!err && (!data || !data.ETag)) { var message = 'No access to ETag property on response.'; if (AWS.util.isBrowser()) { message += ' Check CORS configuration to expose ETag header.'; } err = AWS.util.error(new Error(message), { code: 'ETagMissing', retryable: false }); } if (err) return self.cleanup(err); partInfo.ETag = data.ETag; self.doneParts++; if (self.isDoneChunking && self.doneParts === self.numParts) { self.finishMultiPart(); } else { self.fillQueue.call(self); } }); }, queueChunks: function queueChunks(chunk, partNumber) { var self = this; self.multipartReq.on('success', function() { self.uploadPart(chunk, partNumber); }); }, cleanup: function cleanup(err) { var self = this; if (self.failed) return; if (typeof self.body.removeAllListeners === 'function' && typeof self.body.resume === 'function') { self.body.removeAllListeners('readable'); self.body.removeAllListeners('end'); self.body.resume(); } if (self.multipartReq) { self.multipartReq.removeAllListeners('success'); self.multipartReq.removeAllListeners('error'); self.multipartReq.removeAllListeners('complete'); delete self.multipartReq; } if (self.service.config.params.UploadId && !self.leavePartsOnError) { self.service.abortMultipartUpload().send(); } else if (self.leavePartsOnError) { self.isDoneChunking = false; } AWS.util.each(self.parts, function(partNumber, part) { part.removeAllListeners('complete'); part.abort(); }); self.activeParts = 0; self.partPos = 0; self.numParts = 0; self.totalPartNumbers = 0; self.parts = {}; self.failed = true; self.callback(err); }, finishMultiPart: function finishMultiPart() { var self = this; var completeParams = { MultipartUpload: { Parts: self.completeInfo.slice(1) } }; self.service.completeMultipartUpload(completeParams, function(err, data) { if (err) { return self.cleanup(err); } if (data && typeof data.Location === 'string') { data.Location = data.Location.replace(/%2F/g, '/'); } if (Array.isArray(self.tags)) { self.service.putObjectTagging( {Tagging: {TagSet: self.tags}}, function(e, d) { if (e) { self.callback(e); } else { self.callback(e, data); } } ); } else { self.callback(err, data); } }); }, finishSinglePart: function finishSinglePart(err, data) { var upload = this.request._managedUpload; var httpReq = this.request.httpRequest; var endpoint = httpReq.endpoint; if (err) return upload.callback(err); data.Location = [endpoint.protocol, '//', endpoint.host, httpReq.path].join(''); data.key = this.request.params.Key; // will stay undocumented data.Key = this.request.params.Key; data.Bucket = this.request.params.Bucket; upload.callback(err, data); }, progress: function progress(info) { var upload = this._managedUpload; if (this.operation === 'putObject') { info.part = 1; info.key = this.params.Key; } else { upload.totalUploadedBytes += info.loaded - this._lastUploadedBytes; this._lastUploadedBytes = info.loaded; info = { loaded: upload.totalUploadedBytes, total: upload.totalBytes, part: this.params.PartNumber, key: this.params.Key }; } upload.emit('httpUploadProgress', [info]); } }); AWS.util.mixin(AWS.S3.ManagedUpload, AWS.SequentialExecutor); AWS.S3.ManagedUpload.addPromisesToClass = function addPromisesToClass(PromiseDependency) { this.prototype.promise = AWS.util.promisifyMethod('send', PromiseDependency); }; AWS.S3.ManagedUpload.deletePromisesFromClass = function deletePromisesFromClass() { delete this.prototype.promise; }; AWS.util.addPromises(AWS.S3.ManagedUpload); module.exports = AWS.S3.ManagedUpload; },{"../core":227}],265:[function(require,module,exports){ var AWS = require('./core'); AWS.SequentialExecutor = AWS.util.inherit({ constructor: function SequentialExecutor() { this._events = {}; }, listeners: function listeners(eventName) { return this._events[eventName] ? this._events[eventName].slice(0) : []; }, on: function on(eventName, listener) { if (this._events[eventName]) { this._events[eventName].push(listener); } else { this._events[eventName] = [listener]; } return this; }, onAsync: function onAsync(eventName, listener) { listener._isAsync = true; return this.on(eventName, listener); }, removeListener: function removeListener(eventName, listener) { var listeners = this._events[eventName]; if (listeners) { var length = listeners.length; var position = -1; for (var i = 0; i < length; ++i) { if (listeners[i] === listener) { position = i; } } if (position > -1) { listeners.splice(position, 1); } } return this; }, removeAllListeners: function removeAllListeners(eventName) { if (eventName) { delete this._events[eventName]; } else { this._events = {}; } return this; }, emit: function emit(eventName, eventArgs, doneCallback) { if (!doneCallback) doneCallback = function() { }; var listeners = this.listeners(eventName); var count = listeners.length; this.callListeners(listeners, eventArgs, doneCallback); return count > 0; }, callListeners: function callListeners(listeners, args, doneCallback, prevError) { var self = this; var error = prevError || null; function callNextListener(err) { if (err) { error = AWS.util.error(error || new Error(), err); if (self._haltHandlersOnError) { return doneCallback.call(self, error); } } self.callListeners(listeners, args, doneCallback, error); } while (listeners.length > 0) { var listener = listeners.shift(); if (listener._isAsync) { // asynchronous listener listener.apply(self, args.concat([callNextListener])); return; // stop here, callNextListener will continue } else { // synchronous listener try { listener.apply(self, args); } catch (err) { error = AWS.util.error(error || new Error(), err); } if (error && self._haltHandlersOnError) { doneCallback.call(self, error); return; } } } doneCallback.call(self, error); }, addListeners: function addListeners(listeners) { var self = this; if (listeners._events) listeners = listeners._events; AWS.util.each(listeners, function(event, callbacks) { if (typeof callbacks === 'function') callbacks = [callbacks]; AWS.util.arrayEach(callbacks, function(callback) { self.on(event, callback); }); }); return self; }, addNamedListener: function addNamedListener(name, eventName, callback) { this[name] = callback; this.addListener(eventName, callback); return this; }, addNamedAsyncListener: function addNamedAsyncListener(name, eventName, callback) { callback._isAsync = true; return this.addNamedListener(name, eventName, callback); }, addNamedListeners: function addNamedListeners(callback) { var self = this; callback( function() { self.addNamedListener.apply(self, arguments); }, function() { self.addNamedAsyncListener.apply(self, arguments); } ); return this; } }); AWS.SequentialExecutor.prototype.addListener = AWS.SequentialExecutor.prototype.on; module.exports = AWS.SequentialExecutor; },{"./core":227}],266:[function(require,module,exports){ var AWS = require('./core'); var Api = require('./model/api'); var regionConfig = require('./region_config'); var inherit = AWS.util.inherit; var clientCount = 0; AWS.Service = inherit({ constructor: function Service(config) { if (!this.loadServiceClass) { throw AWS.util.error(new Error(), 'Service must be constructed with `new\' operator'); } var ServiceClass = this.loadServiceClass(config || {}); if (ServiceClass) { var originalConfig = AWS.util.copy(config); var svc = new ServiceClass(config); Object.defineProperty(svc, '_originalConfig', { get: function() { return originalConfig; }, enumerable: false, configurable: true }); svc._clientId = ++clientCount; return svc; } this.initialize(config); }, initialize: function initialize(config) { var svcConfig = AWS.config[this.serviceIdentifier]; this.config = new AWS.Config(AWS.config); if (svcConfig) this.config.update(svcConfig, true); if (config) this.config.update(config, true); this.validateService(); if (!this.config.endpoint) regionConfig(this); this.config.endpoint = this.endpointFromTemplate(this.config.endpoint); this.setEndpoint(this.config.endpoint); }, validateService: function validateService() { }, loadServiceClass: function loadServiceClass(serviceConfig) { var config = serviceConfig; if (!AWS.util.isEmpty(this.api)) { return null; } else if (config.apiConfig) { return AWS.Service.defineServiceApi(this.constructor, config.apiConfig); } else if (!this.constructor.services) { return null; } else { config = new AWS.Config(AWS.config); config.update(serviceConfig, true); var version = config.apiVersions[this.constructor.serviceIdentifier]; version = version || config.apiVersion; return this.getLatestServiceClass(version); } }, getLatestServiceClass: function getLatestServiceClass(version) { version = this.getLatestServiceVersion(version); if (this.constructor.services[version] === null) { AWS.Service.defineServiceApi(this.constructor, version); } return this.constructor.services[version]; }, getLatestServiceVersion: function getLatestServiceVersion(version) { if (!this.constructor.services || this.constructor.services.length === 0) { throw new Error('No services defined on ' + this.constructor.serviceIdentifier); } if (!version) { version = 'latest'; } else if (AWS.util.isType(version, Date)) { version = AWS.util.date.iso8601(version).split('T')[0]; } if (Object.hasOwnProperty(this.constructor.services, version)) { return version; } var keys = Object.keys(this.constructor.services).sort(); var selectedVersion = null; for (var i = keys.length - 1; i >= 0; i--) { if (keys[i][keys[i].length - 1] !== '*') { selectedVersion = keys[i]; } if (keys[i].substr(0, 10) <= version) { return selectedVersion; } } throw new Error('Could not find ' + this.constructor.serviceIdentifier + ' API to satisfy version constraint `' + version + '\''); }, api: {}, defaultRetryCount: 3, customizeRequests: function customizeRequests(callback) { if (!callback) { this.customRequestHandler = null; } else if (typeof callback === 'function') { this.customRequestHandler = callback; } else { throw new Error('Invalid callback type \'' + typeof callback + '\' provided in customizeRequests'); } }, makeRequest: function makeRequest(operation, params, callback) { if (typeof params === 'function') { callback = params; params = null; } params = params || {}; if (this.config.params) { // copy only toplevel bound params var rules = this.api.operations[operation]; if (rules) { params = AWS.util.copy(params); AWS.util.each(this.config.params, function(key, value) { if (rules.input.members[key]) { if (params[key] === undefined || params[key] === null) { params[key] = value; } } }); } } var request = new AWS.Request(this, operation, params); this.addAllRequestListeners(request); if (callback) request.send(callback); return request; }, makeUnauthenticatedRequest: function makeUnauthenticatedRequest(operation, params, callback) { if (typeof params === 'function') { callback = params; params = {}; } var request = this.makeRequest(operation, params).toUnauthenticated(); return callback ? request.send(callback) : request; }, waitFor: function waitFor(state, params, callback) { var waiter = new AWS.ResourceWaiter(this, state); return waiter.wait(params, callback); }, addAllRequestListeners: function addAllRequestListeners(request) { var list = [AWS.events, AWS.EventListeners.Core, this.serviceInterface(), AWS.EventListeners.CorePost]; for (var i = 0; i < list.length; i++) { if (list[i]) request.addListeners(list[i]); } if (!this.config.paramValidation) { request.removeListener('validate', AWS.EventListeners.Core.VALIDATE_PARAMETERS); } if (this.config.logger) { // add logging events request.addListeners(AWS.EventListeners.Logger); } this.setupRequestListeners(request); if (typeof this.constructor.prototype.customRequestHandler === 'function') { this.constructor.prototype.customRequestHandler(request); } if (Object.prototype.hasOwnProperty.call(this, 'customRequestHandler') && typeof this.customRequestHandler === 'function') { this.customRequestHandler(request); } }, setupRequestListeners: function setupRequestListeners() { }, getSignerClass: function getSignerClass(request) { var version; var operation = null; var authtype = ''; if (request) { var operations = request.service.api.operations || {}; operation = operations[request.operation] || null; authtype = operation ? operation.authtype : ''; } if (this.config.signatureVersion) { version = this.config.signatureVersion; } else if (authtype === 'v4' || authtype === 'v4-unsigned-body') { version = 'v4'; } else { version = this.api.signatureVersion; } return AWS.Signers.RequestSigner.getVersion(version); }, serviceInterface: function serviceInterface() { switch (this.api.protocol) { case 'ec2': return AWS.EventListeners.Query; case 'query': return AWS.EventListeners.Query; case 'json': return AWS.EventListeners.Json; case 'rest-json': return AWS.EventListeners.RestJson; case 'rest-xml': return AWS.EventListeners.RestXml; } if (this.api.protocol) { throw new Error('Invalid service `protocol\' ' + this.api.protocol + ' in API config'); } }, successfulResponse: function successfulResponse(resp) { return resp.httpResponse.statusCode < 300; }, numRetries: function numRetries() { if (this.config.maxRetries !== undefined) { return this.config.maxRetries; } else { return this.defaultRetryCount; } }, retryDelays: function retryDelays(retryCount) { return AWS.util.calculateRetryDelay(retryCount, this.config.retryDelayOptions); }, retryableError: function retryableError(error) { if (this.networkingError(error)) return true; if (this.expiredCredentialsError(error)) return true; if (this.throttledError(error)) return true; if (error.statusCode >= 500) return true; return false; }, networkingError: function networkingError(error) { return error.code === 'NetworkingError'; }, expiredCredentialsError: function expiredCredentialsError(error) { return (error.code === 'ExpiredTokenException'); }, clockSkewError: function clockSkewError(error) { switch (error.code) { case 'RequestTimeTooSkewed': case 'RequestExpired': case 'InvalidSignatureException': case 'SignatureDoesNotMatch': case 'AuthFailure': case 'RequestInTheFuture': return true; default: return false; } }, throttledError: function throttledError(error) { switch (error.code) { case 'ProvisionedThroughputExceededException': case 'Throttling': case 'ThrottlingException': case 'RequestLimitExceeded': case 'RequestThrottled': return true; default: return false; } }, endpointFromTemplate: function endpointFromTemplate(endpoint) { if (typeof endpoint !== 'string') return endpoint; var e = endpoint; e = e.replace(/\{service\}/g, this.api.endpointPrefix); e = e.replace(/\{region\}/g, this.config.region); e = e.replace(/\{scheme\}/g, this.config.sslEnabled ? 'https' : 'http'); return e; }, setEndpoint: function setEndpoint(endpoint) { this.endpoint = new AWS.Endpoint(endpoint, this.config); }, paginationConfig: function paginationConfig(operation, throwException) { var paginator = this.api.operations[operation].paginator; if (!paginator) { if (throwException) { var e = new Error(); throw AWS.util.error(e, 'No pagination configuration for ' + operation); } return null; } return paginator; } }); AWS.util.update(AWS.Service, { defineMethods: function defineMethods(svc) { AWS.util.each(svc.prototype.api.operations, function iterator(method) { if (svc.prototype[method]) return; var operation = svc.prototype.api.operations[method]; if (operation.authtype === 'none') { svc.prototype[method] = function (params, callback) { return this.makeUnauthenticatedRequest(method, params, callback); }; } else { svc.prototype[method] = function (params, callback) { return this.makeRequest(method, params, callback); }; } }); }, defineService: function defineService(serviceIdentifier, versions, features) { AWS.Service._serviceMap[serviceIdentifier] = true; if (!Array.isArray(versions)) { features = versions; versions = []; } var svc = inherit(AWS.Service, features || {}); if (typeof serviceIdentifier === 'string') { AWS.Service.addVersions(svc, versions); var identifier = svc.serviceIdentifier || serviceIdentifier; svc.serviceIdentifier = identifier; } else { // defineService called with an API svc.prototype.api = serviceIdentifier; AWS.Service.defineMethods(svc); } return svc; }, addVersions: function addVersions(svc, versions) { if (!Array.isArray(versions)) versions = [versions]; svc.services = svc.services || {}; for (var i = 0; i < versions.length; i++) { if (svc.services[versions[i]] === undefined) { svc.services[versions[i]] = null; } } svc.apiVersions = Object.keys(svc.services).sort(); }, defineServiceApi: function defineServiceApi(superclass, version, apiConfig) { var svc = inherit(superclass, { serviceIdentifier: superclass.serviceIdentifier }); function setApi(api) { if (api.isApi) { svc.prototype.api = api; } else { svc.prototype.api = new Api(api); } } if (typeof version === 'string') { if (apiConfig) { setApi(apiConfig); } else { try { setApi(AWS.apiLoader(superclass.serviceIdentifier, version)); } catch (err) { throw AWS.util.error(err, { message: 'Could not find API configuration ' + superclass.serviceIdentifier + '-' + version }); } } if (!Object.prototype.hasOwnProperty.call(superclass.services, version)) { superclass.apiVersions = superclass.apiVersions.concat(version).sort(); } superclass.services[version] = svc; } else { setApi(version); } AWS.Service.defineMethods(svc); return svc; }, hasService: function(identifier) { return Object.prototype.hasOwnProperty.call(AWS.Service._serviceMap, identifier); }, _serviceMap: {} }); module.exports = AWS.Service; },{"./core":227,"./model/api":244,"./region_config":259}],267:[function(require,module,exports){ var AWS = require('../core'); AWS.util.update(AWS.APIGateway.prototype, { setAcceptHeader: function setAcceptHeader(req) { var httpRequest = req.httpRequest; httpRequest.headers['Accept'] = 'application/json'; }, setupRequestListeners: function setupRequestListeners(request) { request.addListener('build', this.setAcceptHeader); if (request.operation === 'getExport') { var params = request.params || {}; if (params.exportType === 'swagger') { request.addListener('extractData', AWS.util.convertPayloadToString); } } } }); },{"../core":227}],268:[function(require,module,exports){ var AWS = require('../core'); require('../cloudfront/signer'); AWS.util.update(AWS.CloudFront.prototype, { setupRequestListeners: function setupRequestListeners(request) { request.addListener('extractData', AWS.util.hoistPayloadMember); } }); },{"../cloudfront/signer":225,"../core":227}],269:[function(require,module,exports){ var AWS = require('../core'); AWS.util.update(AWS.CognitoIdentity.prototype, { getOpenIdToken: function getOpenIdToken(params, callback) { return this.makeUnauthenticatedRequest('getOpenIdToken', params, callback); }, getId: function getId(params, callback) { return this.makeUnauthenticatedRequest('getId', params, callback); }, getCredentialsForIdentity: function getCredentialsForIdentity(params, callback) { return this.makeUnauthenticatedRequest('getCredentialsForIdentity', params, callback); } }); },{"../core":227}],270:[function(require,module,exports){ var AWS = require('../core'); require('../dynamodb/document_client'); AWS.util.update(AWS.DynamoDB.prototype, { setupRequestListeners: function setupRequestListeners(request) { if (request.service.config.dynamoDbCrc32) { request.removeListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA); request.addListener('extractData', this.checkCrc32); request.addListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA); } }, checkCrc32: function checkCrc32(resp) { if (!resp.httpResponse.streaming && !resp.request.service.crc32IsValid(resp)) { resp.data = null; resp.error = AWS.util.error(new Error(), { code: 'CRC32CheckFailed', message: 'CRC32 integrity check failed', retryable: true }); resp.request.haltHandlersOnError(); throw (resp.error); } }, crc32IsValid: function crc32IsValid(resp) { var crc = resp.httpResponse.headers['x-amz-crc32']; if (!crc) return true; // no (valid) CRC32 header return parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body); }, defaultRetryCount: 10, retryDelays: function retryDelays(retryCount) { var retryDelayOptions = AWS.util.copy(this.config.retryDelayOptions); if (typeof retryDelayOptions.base !== 'number') { retryDelayOptions.base = 50; // default for dynamodb } var delay = AWS.util.calculateRetryDelay(retryCount, retryDelayOptions); return delay; } }); },{"../core":227,"../dynamodb/document_client":235}],271:[function(require,module,exports){ var AWS = require('../core'); AWS.util.update(AWS.EC2.prototype, { setupRequestListeners: function setupRequestListeners(request) { request.removeListener('extractError', AWS.EventListeners.Query.EXTRACT_ERROR); request.addListener('extractError', this.extractError); if (request.operation === 'copySnapshot') { request.onAsync('validate', this.buildCopySnapshotPresignedUrl); } }, buildCopySnapshotPresignedUrl: function buildCopySnapshotPresignedUrl(req, done) { if (req.params.PresignedUrl || req._subRequest) { return done(); } req.params = AWS.util.copy(req.params); req.params.DestinationRegion = req.service.config.region; var config = AWS.util.copy(req.service.config); delete config.endpoint; config.region = req.params.SourceRegion; var svc = new req.service.constructor(config); var newReq = svc[req.operation](req.params); newReq._subRequest = true; newReq.presign(function(err, url) { if (err) done(err); else { req.params.PresignedUrl = url; done(); } }); }, extractError: function extractError(resp) { var httpResponse = resp.httpResponse; var data = new AWS.XML.Parser().parse(httpResponse.body.toString() || ''); if (data.Errors) { resp.error = AWS.util.error(new Error(), { code: data.Errors.Error.Code, message: data.Errors.Error.Message }); } else { resp.error = AWS.util.error(new Error(), { code: httpResponse.statusCode, message: null }); } resp.error.requestId = data.RequestID || null; } }); },{"../core":227}],272:[function(require,module,exports){ var AWS = require('../core'); var blobPayloadOutputOps = [ 'deleteThingShadow', 'getThingShadow', 'updateThingShadow' ]; AWS.util.update(AWS.IotData.prototype, { validateService: function validateService() { if (!this.config.endpoint || this.config.endpoint.indexOf('{') >= 0) { var msg = 'AWS.IotData requires an explicit ' + '`endpoint\' configuration option.'; throw AWS.util.error(new Error(), {name: 'InvalidEndpoint', message: msg}); } }, setupRequestListeners: function setupRequestListeners(request) { request.addListener('validateResponse', this.validateResponseBody); if (blobPayloadOutputOps.indexOf(request.operation) > -1) { request.addListener('extractData', AWS.util.convertPayloadToString); } }, validateResponseBody: function validateResponseBody(resp) { var body = resp.httpResponse.body.toString() || '{}'; var bodyCheck = body.trim(); if (!bodyCheck || bodyCheck.charAt(0) !== '{') { resp.httpResponse.body = ''; } } }); },{"../core":227}],273:[function(require,module,exports){ var AWS = require('../core'); AWS.util.update(AWS.Lambda.prototype, { setupRequestListeners: function setupRequestListeners(request) { if (request.operation === 'invoke') { request.addListener('extractData', AWS.util.convertPayloadToString); } } }); },{"../core":227}],274:[function(require,module,exports){ var AWS = require('../core'); AWS.util.update(AWS.MachineLearning.prototype, { setupRequestListeners: function setupRequestListeners(request) { if (request.operation === 'predict') { request.addListener('build', this.buildEndpoint); } }, buildEndpoint: function buildEndpoint(request) { var url = request.params.PredictEndpoint; if (url) { request.httpRequest.endpoint = new AWS.Endpoint(url); } } }); },{"../core":227}],275:[function(require,module,exports){ require('../polly/presigner'); },{"../polly/presigner":251}],276:[function(require,module,exports){ var AWS = require('../core'); require('../rds/signer'); var crossRegionOperations = ['copyDBSnapshot', 'createDBInstanceReadReplica', 'createDBCluster', 'copyDBClusterSnapshot']; AWS.util.update(AWS.RDS.prototype, { setupRequestListeners: function setupRequestListeners(request) { if (crossRegionOperations.indexOf(request.operation) !== -1 && request.params.SourceRegion) { request.params = AWS.util.copy(request.params); if (request.params.PreSignedUrl || request.params.SourceRegion === this.config.region) { delete request.params.SourceRegion; } else { var doesParamValidation = !!this.config.paramValidation; if (doesParamValidation) { request.removeListener('validate', AWS.EventListeners.Core.VALIDATE_PARAMETERS); } request.onAsync('validate', this.buildCrossRegionPresignedUrl); if (doesParamValidation) { request.addListener('validate', AWS.EventListeners.Core.VALIDATE_PARAMETERS); } } } }, buildCrossRegionPresignedUrl: function buildCrossRegionPresignedUrl(req, done) { var config = AWS.util.copy(req.service.config); config.region = req.params.SourceRegion; delete req.params.SourceRegion; delete config.endpoint; delete config.params; config.signatureVersion = 'v4'; var destinationRegion = req.service.config.region; var svc = new req.service.constructor(config); var newReq = svc[req.operation](AWS.util.copy(req.params)); newReq.on('build', function addDestinationRegionParam(request) { var httpRequest = request.httpRequest; httpRequest.params.DestinationRegion = destinationRegion; httpRequest.body = AWS.util.queryParamsToString(httpRequest.params); }); newReq.presign(function(err, url) { if (err) done(err); else { req.params.PreSignedUrl = url; done(); } }); } }); },{"../core":227,"../rds/signer":258}],277:[function(require,module,exports){ var AWS = require('../core'); AWS.util.update(AWS.Route53.prototype, { setupRequestListeners: function setupRequestListeners(request) { request.on('build', this.sanitizeUrl); }, sanitizeUrl: function sanitizeUrl(request) { var path = request.httpRequest.path; request.httpRequest.path = path.replace(/\/%2F\w+%2F/, '/'); }, retryableError: function retryableError(error) { if (error.code === 'PriorRequestNotComplete' && error.statusCode === 400) { return true; } else { var _super = AWS.Service.prototype.retryableError; return _super.call(this, error); } } }); },{"../core":227}],278:[function(require,module,exports){ var AWS = require('../core'); var v4Credentials = require('../signers/v4_credentials'); require('../s3/managed_upload'); var operationsWith200StatusCodeError = { 'completeMultipartUpload': true, 'copyObject': true, 'uploadPartCopy': true }; var regionRedirectErrorCodes = [ 'AuthorizationHeaderMalformed', // non-head operations on virtual-hosted global bucket endpoints 'BadRequest', // head operations on virtual-hosted global bucket endpoints 'PermanentRedirect', // non-head operations on path-style or regional endpoints 301 // head operations on path-style or regional endpoints ]; AWS.util.update(AWS.S3.prototype, { getSignatureVersion: function getSignatureVersion(request) { var defaultApiVersion = this.api.signatureVersion; var userDefinedVersion = this._originalConfig ? this._originalConfig.signatureVersion : null; var regionDefinedVersion = this.config.signatureVersion; var isPresigned = request ? request.isPresigned() : false; if (userDefinedVersion) { userDefinedVersion = userDefinedVersion === 'v2' ? 's3' : userDefinedVersion; return userDefinedVersion; } if (isPresigned !== true) { defaultApiVersion = 'v4'; } else if (regionDefinedVersion) { defaultApiVersion = regionDefinedVersion; } return defaultApiVersion; }, getSignerClass: function getSignerClass(request) { var signatureVersion = this.getSignatureVersion(request); return AWS.Signers.RequestSigner.getVersion(signatureVersion); }, validateService: function validateService() { var msg; var messages = []; if (!this.config.region) this.config.region = 'us-east-1'; if (!this.config.endpoint && this.config.s3BucketEndpoint) { messages.push('An endpoint must be provided when configuring ' + '`s3BucketEndpoint` to true.'); } if (messages.length === 1) { msg = messages[0]; } else if (messages.length > 1) { msg = 'Multiple configuration errors:\n' + messages.join('\n'); } if (msg) { throw AWS.util.error(new Error(), {name: 'InvalidEndpoint', message: msg}); } }, shouldDisableBodySigning: function shouldDisableBodySigning(request) { var signerClass = this.getSignerClass(); if (this.config.s3DisableBodySigning === true && signerClass === AWS.Signers.V4 && request.httpRequest.endpoint.protocol === 'https:') { return true; } return false; }, setupRequestListeners: function setupRequestListeners(request) { request.addListener('validate', this.validateScheme); request.addListener('validate', this.validateBucketEndpoint); request.addListener('validate', this.correctBucketRegionFromCache); request.addListener('validate', this.validateBucketName); request.addListener('build', this.addContentType); request.addListener('build', this.populateURI); request.addListener('build', this.computeContentMd5); request.addListener('build', this.computeSseCustomerKeyMd5); request.addListener('afterBuild', this.addExpect100Continue); request.removeListener('validate', AWS.EventListeners.Core.VALIDATE_REGION); request.addListener('extractError', this.extractError); request.onAsync('extractError', this.requestBucketRegion); request.addListener('extractData', this.extractData); request.addListener('extractData', AWS.util.hoistPayloadMember); request.addListener('beforePresign', this.prepareSignedUrl); if (AWS.util.isBrowser()) { request.onAsync('retry', this.reqRegionForNetworkingError); } if (this.shouldDisableBodySigning(request)) { request.removeListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256); request.addListener('afterBuild', this.disableBodySigning); } }, validateScheme: function(req) { var params = req.params, scheme = req.httpRequest.endpoint.protocol, sensitive = params.SSECustomerKey || params.CopySourceSSECustomerKey; if (sensitive && scheme !== 'https:') { var msg = 'Cannot send SSE keys over HTTP. Set \'sslEnabled\'' + 'to \'true\' in your configuration'; throw AWS.util.error(new Error(), { code: 'ConfigError', message: msg }); } }, validateBucketEndpoint: function(req) { if (!req.params.Bucket && req.service.config.s3BucketEndpoint) { var msg = 'Cannot send requests to root API with `s3BucketEndpoint` set.'; throw AWS.util.error(new Error(), { code: 'ConfigError', message: msg }); } }, validateBucketName: function validateBucketName(req) { var service = req.service; var signatureVersion = service.getSignatureVersion(req); if (signatureVersion !== 'v4') { return; } var bucket = req.params && req.params.Bucket; var key = req.params && req.params.Key; var slashIndex = bucket && bucket.indexOf('/'); if (bucket && slashIndex >= 0) { if (typeof key === 'string') { req.params = AWS.util.copy(req.params); var prefix = bucket.substr(slashIndex + 1) || ''; req.params.Key = prefix + '/' + key; req.params.Bucket = bucket.substr(0, slashIndex); } else { var msg = 'Bucket names cannot contain forward slashes. Bucket: ' + bucket; throw AWS.util.error(new Error(), { code: 'InvalidBucket', message: msg }); } } }, isValidAccelerateOperation: function isValidAccelerateOperation(operation) { var invalidOperations = [ 'createBucket', 'deleteBucket', 'listBuckets' ]; return invalidOperations.indexOf(operation) === -1; }, populateURI: function populateURI(req) { var httpRequest = req.httpRequest; var b = req.params.Bucket; var service = req.service; var endpoint = httpRequest.endpoint; if (b) { if (!service.pathStyleBucketName(b)) { if (service.config.useAccelerateEndpoint && service.isValidAccelerateOperation(req.operation)) { if (service.config.useDualstack) { endpoint.hostname = b + '.s3-accelerate.dualstack.amazonaws.com'; } else { endpoint.hostname = b + '.s3-accelerate.amazonaws.com'; } } else if (!service.config.s3BucketEndpoint) { endpoint.hostname = b + '.' + endpoint.hostname; } var port = endpoint.port; if (port !== 80 && port !== 443) { endpoint.host = endpoint.hostname + ':' + endpoint.port; } else { endpoint.host = endpoint.hostname; } httpRequest.virtualHostedBucket = b; // needed for signing the request service.removeVirtualHostedBucketFromPath(req); } } }, removeVirtualHostedBucketFromPath: function removeVirtualHostedBucketFromPath(req) { var httpRequest = req.httpRequest; var bucket = httpRequest.virtualHostedBucket; if (bucket && httpRequest.path) { httpRequest.path = httpRequest.path.replace(new RegExp('/' + bucket), ''); if (httpRequest.path[0] !== '/') { httpRequest.path = '/' + httpRequest.path; } } }, addExpect100Continue: function addExpect100Continue(req) { var len = req.httpRequest.headers['Content-Length']; if (AWS.util.isNode() && len >= 1024 * 1024) { req.httpRequest.headers['Expect'] = '100-continue'; } }, addContentType: function addContentType(req) { var httpRequest = req.httpRequest; if (httpRequest.method === 'GET' || httpRequest.method === 'HEAD') { delete httpRequest.headers['Content-Type']; return; } if (!httpRequest.headers['Content-Type']) { // always have a Content-Type httpRequest.headers['Content-Type'] = 'application/octet-stream'; } var contentType = httpRequest.headers['Content-Type']; if (AWS.util.isBrowser()) { if (typeof httpRequest.body === 'string' && !contentType.match(/;\s*charset=/)) { var charset = '; charset=UTF-8'; httpRequest.headers['Content-Type'] += charset; } else { var replaceFn = function(_, prefix, charsetName) { return prefix + charsetName.toUpperCase(); }; httpRequest.headers['Content-Type'] = contentType.replace(/(;\s*charset=)(.+)$/, replaceFn); } } }, computableChecksumOperations: { putBucketCors: true, putBucketLifecycle: true, putBucketLifecycleConfiguration: true, putBucketTagging: true, deleteObjects: true, putBucketReplication: true }, willComputeChecksums: function willComputeChecksums(req) { if (this.computableChecksumOperations[req.operation]) return true; if (!this.config.computeChecksums) return false; if (!AWS.util.Buffer.isBuffer(req.httpRequest.body) && typeof req.httpRequest.body !== 'string') { return false; } var rules = req.service.api.operations[req.operation].input.members; if (req.service.shouldDisableBodySigning(req) && !Object.prototype.hasOwnProperty.call(req.httpRequest.headers, 'presigned-expires')) { if (rules.ContentMD5 && !req.params.ContentMD5) { return true; } } if (req.service.getSignerClass(req) === AWS.Signers.V4) { if (rules.ContentMD5 && !rules.ContentMD5.required) return false; } if (rules.ContentMD5 && !req.params.ContentMD5) return true; }, computeContentMd5: function computeContentMd5(req) { if (req.service.willComputeChecksums(req)) { var md5 = AWS.util.crypto.md5(req.httpRequest.body, 'base64'); req.httpRequest.headers['Content-MD5'] = md5; } }, computeSseCustomerKeyMd5: function computeSseCustomerKeyMd5(req) { var keys = { SSECustomerKey: 'x-amz-server-side-encryption-customer-key-MD5', CopySourceSSECustomerKey: 'x-amz-copy-source-server-side-encryption-customer-key-MD5' }; AWS.util.each(keys, function(key, header) { if (req.params[key]) { var value = AWS.util.crypto.md5(req.params[key], 'base64'); req.httpRequest.headers[header] = value; } }); }, pathStyleBucketName: function pathStyleBucketName(bucketName) { if (this.config.s3ForcePathStyle) return true; if (this.config.s3BucketEndpoint) return false; if (this.dnsCompatibleBucketName(bucketName)) { return (this.config.sslEnabled && bucketName.match(/\./)) ? true : false; } else { return true; // not dns compatible names must always use path style } }, dnsCompatibleBucketName: function dnsCompatibleBucketName(bucketName) { var b = bucketName; var domain = new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/); var ipAddress = new RegExp(/(\d+\.){3}\d+/); var dots = new RegExp(/\.\./); return (b.match(domain) && !b.match(ipAddress) && !b.match(dots)) ? true : false; }, successfulResponse: function successfulResponse(resp) { var req = resp.request; var httpResponse = resp.httpResponse; if (operationsWith200StatusCodeError[req.operation] && httpResponse.body.toString().match('')) { return false; } else { return httpResponse.statusCode < 300; } }, retryableError: function retryableError(error, request) { if (operationsWith200StatusCodeError[request.operation] && error.statusCode === 200) { return true; } else if (request._requestRegionForBucket && request.service.bucketRegionCache[request._requestRegionForBucket]) { return false; } else if (error && error.code === 'RequestTimeout') { return true; } else if (error && regionRedirectErrorCodes.indexOf(error.code) != -1 && error.region && error.region != request.httpRequest.region) { request.httpRequest.region = error.region; if (error.statusCode === 301) { request.service.updateReqBucketRegion(request); } return true; } else { var _super = AWS.Service.prototype.retryableError; return _super.call(this, error, request); } }, updateReqBucketRegion: function updateReqBucketRegion(request, region) { var httpRequest = request.httpRequest; if (typeof region === 'string' && region.length) { httpRequest.region = region; } if (!httpRequest.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)) { return; } var service = request.service; var s3Config = service.config; var s3BucketEndpoint = s3Config.s3BucketEndpoint; if (s3BucketEndpoint) { delete s3Config.s3BucketEndpoint; } var newConfig = AWS.util.copy(s3Config); delete newConfig.endpoint; newConfig.region = httpRequest.region; httpRequest.endpoint = (new AWS.S3(newConfig)).endpoint; service.populateURI(request); s3Config.s3BucketEndpoint = s3BucketEndpoint; httpRequest.headers.Host = httpRequest.endpoint.host; if (request._asm.currentState === 'validate') { request.removeListener('build', service.populateURI); request.addListener('build', service.removeVirtualHostedBucketFromPath); } }, extractData: function extractData(resp) { var req = resp.request; if (req.operation === 'getBucketLocation') { var match = resp.httpResponse.body.toString().match(/>(.+)<\/Location/); delete resp.data['_']; if (match) { resp.data.LocationConstraint = match[1]; } else { resp.data.LocationConstraint = ''; } } var bucket = req.params.Bucket || null; if (req.operation === 'deleteBucket' && typeof bucket === 'string' && !resp.error) { req.service.clearBucketRegionCache(bucket); } else { var headers = resp.httpResponse.headers || {}; var region = headers['x-amz-bucket-region'] || null; if (!region && req.operation === 'createBucket' && !resp.error) { var createBucketConfiguration = req.params.CreateBucketConfiguration; if (!createBucketConfiguration) { region = 'us-east-1'; } else if (createBucketConfiguration.LocationConstraint === 'EU') { region = 'eu-west-1'; } else { region = createBucketConfiguration.LocationConstraint; } } if (region) { if (bucket && region !== req.service.bucketRegionCache[bucket]) { req.service.bucketRegionCache[bucket] = region; } } } req.service.extractRequestIds(resp); }, extractError: function extractError(resp) { var codes = { 304: 'NotModified', 403: 'Forbidden', 400: 'BadRequest', 404: 'NotFound' }; var req = resp.request; var code = resp.httpResponse.statusCode; var body = resp.httpResponse.body || ''; var headers = resp.httpResponse.headers || {}; var region = headers['x-amz-bucket-region'] || null; var bucket = req.params.Bucket || null; var bucketRegionCache = req.service.bucketRegionCache; if (region && bucket && region !== bucketRegionCache[bucket]) { bucketRegionCache[bucket] = region; } var cachedRegion; if (codes[code] && body.length === 0) { if (bucket && !region) { cachedRegion = bucketRegionCache[bucket] || null; if (cachedRegion !== req.httpRequest.region) { region = cachedRegion; } } resp.error = AWS.util.error(new Error(), { code: codes[code], message: null, region: region }); } else { var data = new AWS.XML.Parser().parse(body.toString()); if (data.Region && !region) { region = data.Region; if (bucket && region !== bucketRegionCache[bucket]) { bucketRegionCache[bucket] = region; } } else if (bucket && !region && !data.Region) { cachedRegion = bucketRegionCache[bucket] || null; if (cachedRegion !== req.httpRequest.region) { region = cachedRegion; } } resp.error = AWS.util.error(new Error(), { code: data.Code || code, message: data.Message || null, region: region }); } req.service.extractRequestIds(resp); }, requestBucketRegion: function requestBucketRegion(resp, done) { var error = resp.error; var req = resp.request; var bucket = req.params.Bucket || null; if (!error || !bucket || error.region || req.operation === 'listObjects' || (AWS.util.isNode() && req.operation === 'headBucket') || (error.statusCode === 400 && req.operation !== 'headObject') || regionRedirectErrorCodes.indexOf(error.code) === -1) { return done(); } var reqOperation = AWS.util.isNode() ? 'headBucket' : 'listObjects'; var reqParams = {Bucket: bucket}; if (reqOperation === 'listObjects') reqParams.MaxKeys = 0; var regionReq = req.service[reqOperation](reqParams); regionReq._requestRegionForBucket = bucket; regionReq.send(function() { var region = req.service.bucketRegionCache[bucket] || null; error.region = region; done(); }); }, reqRegionForNetworkingError: function reqRegionForNetworkingError(resp, done) { if (!AWS.util.isBrowser()) { return done(); } var error = resp.error; var request = resp.request; var bucket = request.params.Bucket; if (!error || error.code !== 'NetworkingError' || !bucket || request.httpRequest.region === 'us-east-1') { return done(); } var service = request.service; var bucketRegionCache = service.bucketRegionCache; var cachedRegion = bucketRegionCache[bucket] || null; if (cachedRegion && cachedRegion !== request.httpRequest.region) { service.updateReqBucketRegion(request, cachedRegion); done(); } else if (!service.dnsCompatibleBucketName(bucket)) { service.updateReqBucketRegion(request, 'us-east-1'); if (bucketRegionCache[bucket] !== 'us-east-1') { bucketRegionCache[bucket] = 'us-east-1'; } done(); } else if (request.httpRequest.virtualHostedBucket) { var getRegionReq = service.listObjects({Bucket: bucket, MaxKeys: 0}); service.updateReqBucketRegion(getRegionReq, 'us-east-1'); getRegionReq._requestRegionForBucket = bucket; getRegionReq.send(function() { var region = service.bucketRegionCache[bucket] || null; if (region && region !== request.httpRequest.region) { service.updateReqBucketRegion(request, region); } done(); }); } else { done(); } }, bucketRegionCache: {}, clearBucketRegionCache: function(buckets) { var bucketRegionCache = this.bucketRegionCache; if (!buckets) { buckets = Object.keys(bucketRegionCache); } else if (typeof buckets === 'string') { buckets = [buckets]; } for (var i = 0; i < buckets.length; i++) { delete bucketRegionCache[buckets[i]]; } return bucketRegionCache; }, correctBucketRegionFromCache: function correctBucketRegionFromCache(req) { var bucket = req.params.Bucket || null; if (bucket) { var service = req.service; var requestRegion = req.httpRequest.region; var cachedRegion = service.bucketRegionCache[bucket]; if (cachedRegion && cachedRegion !== requestRegion) { service.updateReqBucketRegion(req, cachedRegion); } } }, extractRequestIds: function extractRequestIds(resp) { var extendedRequestId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-id-2'] : null; var cfId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-cf-id'] : null; resp.extendedRequestId = extendedRequestId; resp.cfId = cfId; if (resp.error) { resp.error.requestId = resp.requestId || null; resp.error.extendedRequestId = extendedRequestId; resp.error.cfId = cfId; } }, getSignedUrl: function getSignedUrl(operation, params, callback) { params = AWS.util.copy(params || {}); var expires = params.Expires || 900; delete params.Expires; // we can't validate this var request = this.makeRequest(operation, params); return request.presign(expires, callback); }, createPresignedPost: function createPresignedPost(params, callback) { if (typeof params === 'function' && callback === undefined) { callback = params; params = null; } params = AWS.util.copy(params || {}); var boundParams = this.config.params || {}; var bucket = params.Bucket || boundParams.Bucket, self = this, config = this.config, endpoint = AWS.util.copy(this.endpoint); if (!config.s3BucketEndpoint) { endpoint.pathname = '/' + bucket; } function finalizePost() { return { url: AWS.util.urlFormat(endpoint), fields: self.preparePostFields( config.credentials, config.region, bucket, params.Fields, params.Conditions, params.Expires ) }; } if (callback) { config.getCredentials(function (err) { if (err) { callback(err); } callback(null, finalizePost()); }); } else { return finalizePost(); } }, preparePostFields: function preparePostFields( credentials, region, bucket, fields, conditions, expiresInSeconds ) { var now = AWS.util.date.getDate(); if (!credentials || !region || !bucket) { throw new Error('Unable to create a POST object policy without a bucket,' + ' region, and credentials'); } fields = AWS.util.copy(fields || {}); conditions = (conditions || []).slice(0); expiresInSeconds = expiresInSeconds || 3600; var signingDate = AWS.util.date.iso8601(now).replace(/[:\-]|\.\d{3}/g, ''); var shortDate = signingDate.substr(0, 8); var scope = v4Credentials.createScope(shortDate, region, 's3'); var credential = credentials.accessKeyId + '/' + scope; fields['bucket'] = bucket; fields['X-Amz-Algorithm'] = 'AWS4-HMAC-SHA256'; fields['X-Amz-Credential'] = credential; fields['X-Amz-Date'] = signingDate; if (credentials.sessionToken) { fields['X-Amz-Security-Token'] = credentials.sessionToken; } for (var field in fields) { if (fields.hasOwnProperty(field)) { var condition = {}; condition[field] = fields[field]; conditions.push(condition); } } fields.Policy = this.preparePostPolicy( new Date(now.valueOf() + expiresInSeconds * 1000), conditions ); fields['X-Amz-Signature'] = AWS.util.crypto.hmac( v4Credentials.getSigningKey(credentials, shortDate, region, 's3', true), fields.Policy, 'hex' ); return fields; }, preparePostPolicy: function preparePostPolicy(expiration, conditions) { return AWS.util.base64.encode(JSON.stringify({ expiration: AWS.util.date.iso8601(expiration), conditions: conditions })); }, prepareSignedUrl: function prepareSignedUrl(request) { request.addListener('validate', request.service.noPresignedContentLength); request.removeListener('build', request.service.addContentType); if (!request.params.Body) { request.removeListener('build', request.service.computeContentMd5); } else { request.addListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256); } }, disableBodySigning: function disableBodySigning(request) { var headers = request.httpRequest.headers; if (!Object.prototype.hasOwnProperty.call(headers, 'presigned-expires')) { headers['X-Amz-Content-Sha256'] = 'UNSIGNED-PAYLOAD'; } }, noPresignedContentLength: function noPresignedContentLength(request) { if (request.params.ContentLength !== undefined) { throw AWS.util.error(new Error(), {code: 'UnexpectedParameter', message: 'ContentLength is not supported in pre-signed URLs.'}); } }, createBucket: function createBucket(params, callback) { if (typeof params === 'function' || !params) { callback = callback || params; params = {}; } var hostname = this.endpoint.hostname; if (hostname !== this.api.globalEndpoint && !params.CreateBucketConfiguration) { params.CreateBucketConfiguration = { LocationConstraint: this.config.region }; } return this.makeRequest('createBucket', params, callback); }, upload: function upload(params, options, callback) { if (typeof options === 'function' && callback === undefined) { callback = options; options = null; } options = options || {}; options = AWS.util.merge(options || {}, {service: this, params: params}); var uploader = new AWS.S3.ManagedUpload(options); if (typeof callback === 'function') uploader.send(callback); return uploader; } }); },{"../core":227,"../s3/managed_upload":264,"../signers/v4_credentials":288}],279:[function(require,module,exports){ var AWS = require('../core'); AWS.util.update(AWS.SQS.prototype, { setupRequestListeners: function setupRequestListeners(request) { request.addListener('build', this.buildEndpoint); if (request.service.config.computeChecksums) { if (request.operation === 'sendMessage') { request.addListener('extractData', this.verifySendMessageChecksum); } else if (request.operation === 'sendMessageBatch') { request.addListener('extractData', this.verifySendMessageBatchChecksum); } else if (request.operation === 'receiveMessage') { request.addListener('extractData', this.verifyReceiveMessageChecksum); } } }, verifySendMessageChecksum: function verifySendMessageChecksum(response) { if (!response.data) return; var md5 = response.data.MD5OfMessageBody; var body = this.params.MessageBody; var calculatedMd5 = this.service.calculateChecksum(body); if (calculatedMd5 !== md5) { var msg = 'Got "' + response.data.MD5OfMessageBody + '", expecting "' + calculatedMd5 + '".'; this.service.throwInvalidChecksumError(response, [response.data.MessageId], msg); } }, verifySendMessageBatchChecksum: function verifySendMessageBatchChecksum(response) { if (!response.data) return; var service = this.service; var entries = {}; var errors = []; var messageIds = []; AWS.util.arrayEach(response.data.Successful, function (entry) { entries[entry.Id] = entry; }); AWS.util.arrayEach(this.params.Entries, function (entry) { if (entries[entry.Id]) { var md5 = entries[entry.Id].MD5OfMessageBody; var body = entry.MessageBody; if (!service.isChecksumValid(md5, body)) { errors.push(entry.Id); messageIds.push(entries[entry.Id].MessageId); } } }); if (errors.length > 0) { service.throwInvalidChecksumError(response, messageIds, 'Invalid messages: ' + errors.join(', ')); } }, verifyReceiveMessageChecksum: function verifyReceiveMessageChecksum(response) { if (!response.data) return; var service = this.service; var messageIds = []; AWS.util.arrayEach(response.data.Messages, function(message) { var md5 = message.MD5OfBody; var body = message.Body; if (!service.isChecksumValid(md5, body)) { messageIds.push(message.MessageId); } }); if (messageIds.length > 0) { service.throwInvalidChecksumError(response, messageIds, 'Invalid messages: ' + messageIds.join(', ')); } }, throwInvalidChecksumError: function throwInvalidChecksumError(response, ids, message) { response.error = AWS.util.error(new Error(), { retryable: true, code: 'InvalidChecksum', messageIds: ids, message: response.request.operation + ' returned an invalid MD5 response. ' + message }); }, isChecksumValid: function isChecksumValid(checksum, data) { return this.calculateChecksum(data) === checksum; }, calculateChecksum: function calculateChecksum(data) { return AWS.util.crypto.md5(data, 'hex'); }, buildEndpoint: function buildEndpoint(request) { var url = request.httpRequest.params.QueueUrl; if (url) { request.httpRequest.endpoint = new AWS.Endpoint(url); var matches = request.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./); if (matches) request.httpRequest.region = matches[1]; } } }); },{"../core":227}],280:[function(require,module,exports){ var AWS = require('../core'); AWS.util.update(AWS.STS.prototype, { credentialsFrom: function credentialsFrom(data, credentials) { if (!data) return null; if (!credentials) credentials = new AWS.TemporaryCredentials(); credentials.expired = false; credentials.accessKeyId = data.Credentials.AccessKeyId; credentials.secretAccessKey = data.Credentials.SecretAccessKey; credentials.sessionToken = data.Credentials.SessionToken; credentials.expireTime = data.Credentials.Expiration; return credentials; }, assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity(params, callback) { return this.makeUnauthenticatedRequest('assumeRoleWithWebIdentity', params, callback); }, assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) { return this.makeUnauthenticatedRequest('assumeRoleWithSAML', params, callback); } }); },{"../core":227}],281:[function(require,module,exports){ var AWS = require('../core'); var inherit = AWS.util.inherit; var expiresHeader = 'presigned-expires'; function signedUrlBuilder(request) { var expires = request.httpRequest.headers[expiresHeader]; var signerClass = request.service.getSignerClass(request); delete request.httpRequest.headers['User-Agent']; delete request.httpRequest.headers['X-Amz-User-Agent']; if (signerClass === AWS.Signers.V4) { if (expires > 604800) { // one week expiry is invalid var message = 'Presigning does not support expiry time greater ' + 'than a week with SigV4 signing.'; throw AWS.util.error(new Error(), { code: 'InvalidExpiryTime', message: message, retryable: false }); } request.httpRequest.headers[expiresHeader] = expires; } else if (signerClass === AWS.Signers.S3) { request.httpRequest.headers[expiresHeader] = parseInt( AWS.util.date.unixTimestamp() + expires, 10).toString(); } else { throw AWS.util.error(new Error(), { message: 'Presigning only supports S3 or SigV4 signing.', code: 'UnsupportedSigner', retryable: false }); } } function signedUrlSigner(request) { var endpoint = request.httpRequest.endpoint; var parsedUrl = AWS.util.urlParse(request.httpRequest.path); var queryParams = {}; if (parsedUrl.search) { queryParams = AWS.util.queryStringParse(parsedUrl.search.substr(1)); } AWS.util.each(request.httpRequest.headers, function (key, value) { if (key === expiresHeader) key = 'Expires'; if (key.indexOf('x-amz-meta-') === 0) { delete queryParams[key]; key = key.toLowerCase(); } queryParams[key] = value; }); delete request.httpRequest.headers[expiresHeader]; var auth = queryParams['Authorization'].split(' '); if (auth[0] === 'AWS') { auth = auth[1].split(':'); queryParams['AWSAccessKeyId'] = auth[0]; queryParams['Signature'] = auth[1]; } else if (auth[0] === 'AWS4-HMAC-SHA256') { // SigV4 signing auth.shift(); var rest = auth.join(' '); var signature = rest.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1]; queryParams['X-Amz-Signature'] = signature; delete queryParams['Expires']; } delete queryParams['Authorization']; delete queryParams['Host']; endpoint.pathname = parsedUrl.pathname; endpoint.search = AWS.util.queryParamsToString(queryParams); } AWS.Signers.Presign = inherit({ sign: function sign(request, expireTime, callback) { request.httpRequest.headers[expiresHeader] = expireTime || 3600; request.on('build', signedUrlBuilder); request.on('sign', signedUrlSigner); request.removeListener('afterBuild', AWS.EventListeners.Core.SET_CONTENT_LENGTH); request.removeListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256); request.emit('beforePresign', [request]); if (callback) { request.build(function() { if (this.response.error) callback(this.response.error); else { callback(null, AWS.util.urlFormat(request.httpRequest.endpoint)); } }); } else { request.build(); if (request.response.error) throw request.response.error; return AWS.util.urlFormat(request.httpRequest.endpoint); } } }); module.exports = AWS.Signers.Presign; },{"../core":227}],282:[function(require,module,exports){ var AWS = require('../core'); var inherit = AWS.util.inherit; AWS.Signers.RequestSigner = inherit({ constructor: function RequestSigner(request) { this.request = request; }, setServiceClientId: function setServiceClientId(id) { this.serviceClientId = id; }, getServiceClientId: function getServiceClientId() { return this.serviceClientId; } }); AWS.Signers.RequestSigner.getVersion = function getVersion(version) { switch (version) { case 'v2': return AWS.Signers.V2; case 'v3': return AWS.Signers.V3; case 'v4': return AWS.Signers.V4; case 's3': return AWS.Signers.S3; case 'v3https': return AWS.Signers.V3Https; } throw new Error('Unknown signing version ' + version); }; require('./v2'); require('./v3'); require('./v3https'); require('./v4'); require('./s3'); require('./presign'); },{"../core":227,"./presign":281,"./s3":283,"./v2":284,"./v3":285,"./v3https":286,"./v4":287}],283:[function(require,module,exports){ var AWS = require('../core'); var inherit = AWS.util.inherit; AWS.Signers.S3 = inherit(AWS.Signers.RequestSigner, { subResources: { 'acl': 1, 'accelerate': 1, 'analytics': 1, 'cors': 1, 'lifecycle': 1, 'delete': 1, 'inventory': 1, 'location': 1, 'logging': 1, 'metrics': 1, 'notification': 1, 'partNumber': 1, 'policy': 1, 'requestPayment': 1, 'replication': 1, 'restore': 1, 'tagging': 1, 'torrent': 1, 'uploadId': 1, 'uploads': 1, 'versionId': 1, 'versioning': 1, 'versions': 1, 'website': 1 }, responseHeaders: { 'response-content-type': 1, 'response-content-language': 1, 'response-expires': 1, 'response-cache-control': 1, 'response-content-disposition': 1, 'response-content-encoding': 1 }, addAuthorization: function addAuthorization(credentials, date) { if (!this.request.headers['presigned-expires']) { this.request.headers['X-Amz-Date'] = AWS.util.date.rfc822(date); } if (credentials.sessionToken) { this.request.headers['x-amz-security-token'] = credentials.sessionToken; } var signature = this.sign(credentials.secretAccessKey, this.stringToSign()); var auth = 'AWS ' + credentials.accessKeyId + ':' + signature; this.request.headers['Authorization'] = auth; }, stringToSign: function stringToSign() { var r = this.request; var parts = []; parts.push(r.method); parts.push(r.headers['Content-MD5'] || ''); parts.push(r.headers['Content-Type'] || ''); parts.push(r.headers['presigned-expires'] || ''); var headers = this.canonicalizedAmzHeaders(); if (headers) parts.push(headers); parts.push(this.canonicalizedResource()); return parts.join('\n'); }, canonicalizedAmzHeaders: function canonicalizedAmzHeaders() { var amzHeaders = []; AWS.util.each(this.request.headers, function (name) { if (name.match(/^x-amz-/i)) amzHeaders.push(name); }); amzHeaders.sort(function (a, b) { return a.toLowerCase() < b.toLowerCase() ? -1 : 1; }); var parts = []; AWS.util.arrayEach.call(this, amzHeaders, function (name) { parts.push(name.toLowerCase() + ':' + String(this.request.headers[name])); }); return parts.join('\n'); }, canonicalizedResource: function canonicalizedResource() { var r = this.request; var parts = r.path.split('?'); var path = parts[0]; var querystring = parts[1]; var resource = ''; if (r.virtualHostedBucket) resource += '/' + r.virtualHostedBucket; resource += path; if (querystring) { var resources = []; AWS.util.arrayEach.call(this, querystring.split('&'), function (param) { var name = param.split('=')[0]; var value = param.split('=')[1]; if (this.subResources[name] || this.responseHeaders[name]) { var subresource = { name: name }; if (value !== undefined) { if (this.subResources[name]) { subresource.value = value; } else { subresource.value = decodeURIComponent(value); } } resources.push(subresource); } }); resources.sort(function (a, b) { return a.name < b.name ? -1 : 1; }); if (resources.length) { querystring = []; AWS.util.arrayEach(resources, function (res) { if (res.value === undefined) { querystring.push(res.name); } else { querystring.push(res.name + '=' + res.value); } }); resource += '?' + querystring.join('&'); } } return resource; }, sign: function sign(secret, string) { return AWS.util.crypto.hmac(secret, string, 'base64', 'sha1'); } }); module.exports = AWS.Signers.S3; },{"../core":227}],284:[function(require,module,exports){ var AWS = require('../core'); var inherit = AWS.util.inherit; AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, { addAuthorization: function addAuthorization(credentials, date) { if (!date) date = AWS.util.date.getDate(); var r = this.request; r.params.Timestamp = AWS.util.date.iso8601(date); r.params.SignatureVersion = '2'; r.params.SignatureMethod = 'HmacSHA256'; r.params.AWSAccessKeyId = credentials.accessKeyId; if (credentials.sessionToken) { r.params.SecurityToken = credentials.sessionToken; } delete r.params.Signature; // delete old Signature for re-signing r.params.Signature = this.signature(credentials); r.body = AWS.util.queryParamsToString(r.params); r.headers['Content-Length'] = r.body.length; }, signature: function signature(credentials) { return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); }, stringToSign: function stringToSign() { var parts = []; parts.push(this.request.method); parts.push(this.request.endpoint.host.toLowerCase()); parts.push(this.request.pathname()); parts.push(AWS.util.queryParamsToString(this.request.params)); return parts.join('\n'); } }); module.exports = AWS.Signers.V2; },{"../core":227}],285:[function(require,module,exports){ var AWS = require('../core'); var inherit = AWS.util.inherit; AWS.Signers.V3 = inherit(AWS.Signers.RequestSigner, { addAuthorization: function addAuthorization(credentials, date) { var datetime = AWS.util.date.rfc822(date); this.request.headers['X-Amz-Date'] = datetime; if (credentials.sessionToken) { this.request.headers['x-amz-security-token'] = credentials.sessionToken; } this.request.headers['X-Amzn-Authorization'] = this.authorization(credentials, datetime); }, authorization: function authorization(credentials) { return 'AWS3 ' + 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + 'Algorithm=HmacSHA256,' + 'SignedHeaders=' + this.signedHeaders() + ',' + 'Signature=' + this.signature(credentials); }, signedHeaders: function signedHeaders() { var headers = []; AWS.util.arrayEach(this.headersToSign(), function iterator(h) { headers.push(h.toLowerCase()); }); return headers.sort().join(';'); }, canonicalHeaders: function canonicalHeaders() { var headers = this.request.headers; var parts = []; AWS.util.arrayEach(this.headersToSign(), function iterator(h) { parts.push(h.toLowerCase().trim() + ':' + String(headers[h]).trim()); }); return parts.sort().join('\n') + '\n'; }, headersToSign: function headersToSign() { var headers = []; AWS.util.each(this.request.headers, function iterator(k) { if (k === 'Host' || k === 'Content-Encoding' || k.match(/^X-Amz/i)) { headers.push(k); } }); return headers; }, signature: function signature(credentials) { return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); }, stringToSign: function stringToSign() { var parts = []; parts.push(this.request.method); parts.push('/'); parts.push(''); parts.push(this.canonicalHeaders()); parts.push(this.request.body); return AWS.util.crypto.sha256(parts.join('\n')); } }); module.exports = AWS.Signers.V3; },{"../core":227}],286:[function(require,module,exports){ var AWS = require('../core'); var inherit = AWS.util.inherit; require('./v3'); AWS.Signers.V3Https = inherit(AWS.Signers.V3, { authorization: function authorization(credentials) { return 'AWS3-HTTPS ' + 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + 'Algorithm=HmacSHA256,' + 'Signature=' + this.signature(credentials); }, stringToSign: function stringToSign() { return this.request.headers['X-Amz-Date']; } }); module.exports = AWS.Signers.V3Https; },{"../core":227,"./v3":285}],287:[function(require,module,exports){ var AWS = require('../core'); var v4Credentials = require('./v4_credentials'); var inherit = AWS.util.inherit; var expiresHeader = 'presigned-expires'; AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, { constructor: function V4(request, serviceName, options) { AWS.Signers.RequestSigner.call(this, request); this.serviceName = serviceName; options = options || {}; this.signatureCache = typeof options.signatureCache === 'boolean' ? options.signatureCache : true; this.operation = options.operation; }, algorithm: 'AWS4-HMAC-SHA256', addAuthorization: function addAuthorization(credentials, date) { var datetime = AWS.util.date.iso8601(date).replace(/[:\-]|\.\d{3}/g, ''); if (this.isPresigned()) { this.updateForPresigned(credentials, datetime); } else { this.addHeaders(credentials, datetime); } this.request.headers['Authorization'] = this.authorization(credentials, datetime); }, addHeaders: function addHeaders(credentials, datetime) { this.request.headers['X-Amz-Date'] = datetime; if (credentials.sessionToken) { this.request.headers['x-amz-security-token'] = credentials.sessionToken; } }, updateForPresigned: function updateForPresigned(credentials, datetime) { var credString = this.credentialString(datetime); var qs = { 'X-Amz-Date': datetime, 'X-Amz-Algorithm': this.algorithm, 'X-Amz-Credential': credentials.accessKeyId + '/' + credString, 'X-Amz-Expires': this.request.headers[expiresHeader], 'X-Amz-SignedHeaders': this.signedHeaders() }; if (credentials.sessionToken) { qs['X-Amz-Security-Token'] = credentials.sessionToken; } if (this.request.headers['Content-Type']) { qs['Content-Type'] = this.request.headers['Content-Type']; } if (this.request.headers['Content-MD5']) { qs['Content-MD5'] = this.request.headers['Content-MD5']; } if (this.request.headers['Cache-Control']) { qs['Cache-Control'] = this.request.headers['Cache-Control']; } AWS.util.each.call(this, this.request.headers, function(key, value) { if (key === expiresHeader) return; if (this.isSignableHeader(key)) { var lowerKey = key.toLowerCase(); if (lowerKey.indexOf('x-amz-meta-') === 0) { qs[lowerKey] = value; } else if (lowerKey.indexOf('x-amz-') === 0) { qs[key] = value; } } }); var sep = this.request.path.indexOf('?') >= 0 ? '&' : '?'; this.request.path += sep + AWS.util.queryParamsToString(qs); }, authorization: function authorization(credentials, datetime) { var parts = []; var credString = this.credentialString(datetime); parts.push(this.algorithm + ' Credential=' + credentials.accessKeyId + '/' + credString); parts.push('SignedHeaders=' + this.signedHeaders()); parts.push('Signature=' + this.signature(credentials, datetime)); return parts.join(', '); }, signature: function signature(credentials, datetime) { var signingKey = v4Credentials.getSigningKey( credentials, datetime.substr(0, 8), this.request.region, this.serviceName, this.signatureCache ); return AWS.util.crypto.hmac(signingKey, this.stringToSign(datetime), 'hex'); }, stringToSign: function stringToSign(datetime) { var parts = []; parts.push('AWS4-HMAC-SHA256'); parts.push(datetime); parts.push(this.credentialString(datetime)); parts.push(this.hexEncodedHash(this.canonicalString())); return parts.join('\n'); }, canonicalString: function canonicalString() { var parts = [], pathname = this.request.pathname(); if (this.serviceName !== 's3') pathname = AWS.util.uriEscapePath(pathname); parts.push(this.request.method); parts.push(pathname); parts.push(this.request.search()); parts.push(this.canonicalHeaders() + '\n'); parts.push(this.signedHeaders()); parts.push(this.hexEncodedBodyHash()); return parts.join('\n'); }, canonicalHeaders: function canonicalHeaders() { var headers = []; AWS.util.each.call(this, this.request.headers, function (key, item) { headers.push([key, item]); }); headers.sort(function (a, b) { return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1; }); var parts = []; AWS.util.arrayEach.call(this, headers, function (item) { var key = item[0].toLowerCase(); if (this.isSignableHeader(key)) { parts.push(key + ':' + this.canonicalHeaderValues(item[1].toString())); } }); return parts.join('\n'); }, canonicalHeaderValues: function canonicalHeaderValues(values) { return values.replace(/\s+/g, ' ').replace(/^\s+|\s+$/g, ''); }, signedHeaders: function signedHeaders() { var keys = []; AWS.util.each.call(this, this.request.headers, function (key) { key = key.toLowerCase(); if (this.isSignableHeader(key)) keys.push(key); }); return keys.sort().join(';'); }, credentialString: function credentialString(datetime) { return v4Credentials.createScope( datetime.substr(0, 8), this.request.region, this.serviceName ); }, hexEncodedHash: function hash(string) { return AWS.util.crypto.sha256(string, 'hex'); }, hexEncodedBodyHash: function hexEncodedBodyHash() { var request = this.request; if (this.isPresigned() && this.serviceName === 's3' && !request.body) { return 'UNSIGNED-PAYLOAD'; } else if (request.headers['X-Amz-Content-Sha256']) { return request.headers['X-Amz-Content-Sha256']; } else { return this.hexEncodedHash(this.request.body || ''); } }, unsignableHeaders: [ 'authorization', 'content-type', 'content-length', 'user-agent', expiresHeader, 'expect', 'x-amzn-trace-id' ], isSignableHeader: function isSignableHeader(key) { if (key.toLowerCase().indexOf('x-amz-') === 0) return true; return this.unsignableHeaders.indexOf(key) < 0; }, isPresigned: function isPresigned() { return this.request.headers[expiresHeader] ? true : false; } }); module.exports = AWS.Signers.V4; },{"../core":227,"./v4_credentials":288}],288:[function(require,module,exports){ var AWS = require('../core'); var cachedSecret = {}; var cacheQueue = []; var maxCacheEntries = 50; var v4Identifier = 'aws4_request'; module.exports = { createScope: function createScope(date, region, serviceName) { return [ date.substr(0, 8), region, serviceName, v4Identifier ].join('/'); }, getSigningKey: function getSigningKey( credentials, date, region, service, shouldCache ) { var credsIdentifier = AWS.util.crypto .hmac(credentials.secretAccessKey, credentials.accessKeyId, 'base64'); var cacheKey = [credsIdentifier, date, region, service].join('_'); shouldCache = shouldCache !== false; if (shouldCache && (cacheKey in cachedSecret)) { return cachedSecret[cacheKey]; } var kDate = AWS.util.crypto.hmac( 'AWS4' + credentials.secretAccessKey, date, 'buffer' ); var kRegion = AWS.util.crypto.hmac(kDate, region, 'buffer'); var kService = AWS.util.crypto.hmac(kRegion, service, 'buffer'); var signingKey = AWS.util.crypto.hmac(kService, v4Identifier, 'buffer'); if (shouldCache) { cachedSecret[cacheKey] = signingKey; cacheQueue.push(cacheKey); if (cacheQueue.length > maxCacheEntries) { delete cachedSecret[cacheQueue.shift()]; } } return signingKey; }, emptyCache: function emptyCache() { cachedSecret = {}; cacheQueue = []; } }; },{"../core":227}],289:[function(require,module,exports){ function AcceptorStateMachine(states, state) { this.currentState = state || null; this.states = states || {}; } AcceptorStateMachine.prototype.runTo = function runTo(finalState, done, bindObject, inputError) { if (typeof finalState === 'function') { inputError = bindObject; bindObject = done; done = finalState; finalState = null; } var self = this; var state = self.states[self.currentState]; state.fn.call(bindObject || self, inputError, function(err) { if (err) { if (state.fail) self.currentState = state.fail; else return done ? done.call(bindObject, err) : null; } else { if (state.accept) self.currentState = state.accept; else return done ? done.call(bindObject) : null; } if (self.currentState === finalState) { return done ? done.call(bindObject, err) : null; } self.runTo(finalState, done, bindObject, err); }); }; AcceptorStateMachine.prototype.addState = function addState(name, acceptState, failState, fn) { if (typeof acceptState === 'function') { fn = acceptState; acceptState = null; failState = null; } else if (typeof failState === 'function') { fn = failState; failState = null; } if (!this.currentState) this.currentState = name; this.states[name] = { accept: acceptState, fail: failState, fn: fn }; return this; }; module.exports = AcceptorStateMachine; },{}],290:[function(require,module,exports){ (function (process){ var AWS; var util = { environment: 'nodejs', engine: function engine() { if (util.isBrowser() && typeof navigator !== 'undefined') { return navigator.userAgent; } else { var engine = process.platform + '/' + process.version; if (process.env.AWS_EXECUTION_ENV) { engine += ' exec-env/' + process.env.AWS_EXECUTION_ENV; } return engine; } }, userAgent: function userAgent() { var name = util.environment; var agent = 'aws-sdk-' + name + '/' + require('./core').VERSION; if (name === 'nodejs') agent += ' ' + util.engine(); return agent; }, isBrowser: function isBrowser() { return process && process.browser; }, isNode: function isNode() { return !util.isBrowser(); }, uriEscape: function uriEscape(string) { var output = encodeURIComponent(string); output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape); output = output.replace(/[*]/g, function(ch) { return '%' + ch.charCodeAt(0).toString(16).toUpperCase(); }); return output; }, uriEscapePath: function uriEscapePath(string) { var parts = []; util.arrayEach(string.split('/'), function (part) { parts.push(util.uriEscape(part)); }); return parts.join('/'); }, urlParse: function urlParse(url) { return util.url.parse(url); }, urlFormat: function urlFormat(url) { return util.url.format(url); }, queryStringParse: function queryStringParse(qs) { return util.querystring.parse(qs); }, queryParamsToString: function queryParamsToString(params) { var items = []; var escape = util.uriEscape; var sortedKeys = Object.keys(params).sort(); util.arrayEach(sortedKeys, function(name) { var value = params[name]; var ename = escape(name); var result = ename + '='; if (Array.isArray(value)) { var vals = []; util.arrayEach(value, function(item) { vals.push(escape(item)); }); result = ename + '=' + vals.sort().join('&' + ename + '='); } else if (value !== undefined && value !== null) { result = ename + '=' + escape(value); } items.push(result); }); return items.join('&'); }, readFileSync: function readFileSync(path) { if (util.isBrowser()) return null; return require('fs').readFileSync(path, 'utf-8'); }, base64: { encode: function encode64(string) { if (typeof string === 'number') { throw util.error(new Error('Cannot base64 encode number ' + string)); } if (string === null || typeof string === 'undefined') { return string; } var buf = (typeof util.Buffer.from === 'function' && util.Buffer.from !== Uint8Array.from) ? util.Buffer.from(string) : new util.Buffer(string); return buf.toString('base64'); }, decode: function decode64(string) { if (typeof string === 'number') { throw util.error(new Error('Cannot base64 decode number ' + string)); } if (string === null || typeof string === 'undefined') { return string; } return (typeof util.Buffer.from === 'function' && util.Buffer.from !== Uint8Array.from) ? util.Buffer.from(string, 'base64') : new util.Buffer(string, 'base64'); } }, buffer: { toStream: function toStream(buffer) { if (!util.Buffer.isBuffer(buffer)) buffer = new util.Buffer(buffer); var readable = new (util.stream.Readable)(); var pos = 0; readable._read = function(size) { if (pos >= buffer.length) return readable.push(null); var end = pos + size; if (end > buffer.length) end = buffer.length; readable.push(buffer.slice(pos, end)); pos = end; }; return readable; }, concat: function(buffers) { var length = 0, offset = 0, buffer = null, i; for (i = 0; i < buffers.length; i++) { length += buffers[i].length; } buffer = new util.Buffer(length); for (i = 0; i < buffers.length; i++) { buffers[i].copy(buffer, offset); offset += buffers[i].length; } return buffer; } }, string: { byteLength: function byteLength(string) { if (string === null || string === undefined) return 0; if (typeof string === 'string') string = new util.Buffer(string); if (typeof string.byteLength === 'number') { return string.byteLength; } else if (typeof string.length === 'number') { return string.length; } else if (typeof string.size === 'number') { return string.size; } else if (typeof string.path === 'string') { return require('fs').lstatSync(string.path).size; } else { throw util.error(new Error('Cannot determine length of ' + string), { object: string }); } }, upperFirst: function upperFirst(string) { return string[0].toUpperCase() + string.substr(1); }, lowerFirst: function lowerFirst(string) { return string[0].toLowerCase() + string.substr(1); } }, ini: { parse: function string(ini) { var currentSection, map = {}; util.arrayEach(ini.split(/\r?\n/), function(line) { line = line.split(/(^|\s)[;#]/)[0]; // remove comments var section = line.match(/^\s*\[([^\[\]]+)\]\s*$/); if (section) { currentSection = section[1]; } else if (currentSection) { var item = line.match(/^\s*(.+?)\s*=\s*(.+?)\s*$/); if (item) { map[currentSection] = map[currentSection] || {}; map[currentSection][item[1]] = item[2]; } } }); return map; } }, fn: { noop: function() {}, makeAsync: function makeAsync(fn, expectedArgs) { if (expectedArgs && expectedArgs <= fn.length) { return fn; } return function() { var args = Array.prototype.slice.call(arguments, 0); var callback = args.pop(); var result = fn.apply(null, args); callback(result); }; } }, date: { getDate: function getDate() { if (!AWS) AWS = require('./core'); if (AWS.config.systemClockOffset) { // use offset when non-zero return new Date(new Date().getTime() + AWS.config.systemClockOffset); } else { return new Date(); } }, iso8601: function iso8601(date) { if (date === undefined) { date = util.date.getDate(); } return date.toISOString().replace(/\.\d{3}Z$/, 'Z'); }, rfc822: function rfc822(date) { if (date === undefined) { date = util.date.getDate(); } return date.toUTCString(); }, unixTimestamp: function unixTimestamp(date) { if (date === undefined) { date = util.date.getDate(); } return date.getTime() / 1000; }, from: function format(date) { if (typeof date === 'number') { return new Date(date * 1000); // unix timestamp } else { return new Date(date); } }, format: function format(date, formatter) { if (!formatter) formatter = 'iso8601'; return util.date[formatter](util.date.from(date)); }, parseTimestamp: function parseTimestamp(value) { if (typeof value === 'number') { // unix timestamp (number) return new Date(value * 1000); } else if (value.match(/^\d+$/)) { // unix timestamp return new Date(value * 1000); } else if (value.match(/^\d{4}/)) { // iso8601 return new Date(value); } else if (value.match(/^\w{3},/)) { // rfc822 return new Date(value); } else { throw util.error( new Error('unhandled timestamp format: ' + value), {code: 'TimestampParserError'}); } } }, crypto: { crc32Table: [ 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433, 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65, 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683, 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B, 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D, 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777, 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D], crc32: function crc32(data) { var tbl = util.crypto.crc32Table; var crc = 0 ^ -1; if (typeof data === 'string') { data = new util.Buffer(data); } for (var i = 0; i < data.length; i++) { var code = data.readUInt8(i); crc = (crc >>> 8) ^ tbl[(crc ^ code) & 0xFF]; } return (crc ^ -1) >>> 0; }, hmac: function hmac(key, string, digest, fn) { if (!digest) digest = 'binary'; if (digest === 'buffer') { digest = undefined; } if (!fn) fn = 'sha256'; if (typeof string === 'string') string = new util.Buffer(string); return util.crypto.lib.createHmac(fn, key).update(string).digest(digest); }, md5: function md5(data, digest, callback) { return util.crypto.hash('md5', data, digest, callback); }, sha256: function sha256(data, digest, callback) { return util.crypto.hash('sha256', data, digest, callback); }, hash: function(algorithm, data, digest, callback) { var hash = util.crypto.createHash(algorithm); if (!digest) { digest = 'binary'; } if (digest === 'buffer') { digest = undefined; } if (typeof data === 'string') data = new util.Buffer(data); var sliceFn = util.arraySliceFn(data); var isBuffer = util.Buffer.isBuffer(data); if (util.isBrowser() && typeof ArrayBuffer !== 'undefined' && data && data.buffer instanceof ArrayBuffer) isBuffer = true; if (callback && typeof data === 'object' && typeof data.on === 'function' && !isBuffer) { data.on('data', function(chunk) { hash.update(chunk); }); data.on('error', function(err) { callback(err); }); data.on('end', function() { callback(null, hash.digest(digest)); }); } else if (callback && sliceFn && !isBuffer && typeof FileReader !== 'undefined') { var index = 0, size = 1024 * 512; var reader = new FileReader(); reader.onerror = function() { callback(new Error('Failed to read data.')); }; reader.onload = function() { var buf = new util.Buffer(new Uint8Array(reader.result)); hash.update(buf); index += buf.length; reader._continueReading(); }; reader._continueReading = function() { if (index >= data.size) { callback(null, hash.digest(digest)); return; } var back = index + size; if (back > data.size) back = data.size; reader.readAsArrayBuffer(sliceFn.call(data, index, back)); }; reader._continueReading(); } else { if (util.isBrowser() && typeof data === 'object' && !isBuffer) { data = new util.Buffer(new Uint8Array(data)); } var out = hash.update(data).digest(digest); if (callback) callback(null, out); return out; } }, toHex: function toHex(data) { var out = []; for (var i = 0; i < data.length; i++) { out.push(('0' + data.charCodeAt(i).toString(16)).substr(-2, 2)); } return out.join(''); }, createHash: function createHash(algorithm) { return util.crypto.lib.createHash(algorithm); } }, abort: {}, each: function each(object, iterFunction) { for (var key in object) { if (Object.prototype.hasOwnProperty.call(object, key)) { var ret = iterFunction.call(this, key, object[key]); if (ret === util.abort) break; } } }, arrayEach: function arrayEach(array, iterFunction) { for (var idx in array) { if (Object.prototype.hasOwnProperty.call(array, idx)) { var ret = iterFunction.call(this, array[idx], parseInt(idx, 10)); if (ret === util.abort) break; } } }, update: function update(obj1, obj2) { util.each(obj2, function iterator(key, item) { obj1[key] = item; }); return obj1; }, merge: function merge(obj1, obj2) { return util.update(util.copy(obj1), obj2); }, copy: function copy(object) { if (object === null || object === undefined) return object; var dupe = {}; for (var key in object) { dupe[key] = object[key]; } return dupe; }, isEmpty: function isEmpty(obj) { for (var prop in obj) { if (Object.prototype.hasOwnProperty.call(obj, prop)) { return false; } } return true; }, arraySliceFn: function arraySliceFn(obj) { var fn = obj.slice || obj.webkitSlice || obj.mozSlice; return typeof fn === 'function' ? fn : null; }, isType: function isType(obj, type) { if (typeof type === 'function') type = util.typeName(type); return Object.prototype.toString.call(obj) === '[object ' + type + ']'; }, typeName: function typeName(type) { if (Object.prototype.hasOwnProperty.call(type, 'name')) return type.name; var str = type.toString(); var match = str.match(/^\s*function (.+)\(/); return match ? match[1] : str; }, error: function error(err, options) { var originalError = null; if (typeof err.message === 'string' && err.message !== '') { if (typeof options === 'string' || (options && options.message)) { originalError = util.copy(err); originalError.message = err.message; } } err.message = err.message || null; if (typeof options === 'string') { err.message = options; } else if (typeof options === 'object' && options !== null) { util.update(err, options); if (options.message) err.message = options.message; if (options.code || options.name) err.code = options.code || options.name; if (options.stack) err.stack = options.stack; } if (typeof Object.defineProperty === 'function') { Object.defineProperty(err, 'name', {writable: true, enumerable: false}); Object.defineProperty(err, 'message', {enumerable: true}); } err.name = options && options.name || err.name || err.code || 'Error'; err.time = new Date(); if (originalError) err.originalError = originalError; return err; }, inherit: function inherit(klass, features) { var newObject = null; if (features === undefined) { features = klass; klass = Object; newObject = {}; } else { var ctor = function ConstructorWrapper() {}; ctor.prototype = klass.prototype; newObject = new ctor(); } if (features.constructor === Object) { features.constructor = function() { if (klass !== Object) { return klass.apply(this, arguments); } }; } features.constructor.prototype = newObject; util.update(features.constructor.prototype, features); features.constructor.__super__ = klass; return features.constructor; }, mixin: function mixin() { var klass = arguments[0]; for (var i = 1; i < arguments.length; i++) { for (var prop in arguments[i].prototype) { var fn = arguments[i].prototype[prop]; if (prop !== 'constructor') { klass.prototype[prop] = fn; } } } return klass; }, hideProperties: function hideProperties(obj, props) { if (typeof Object.defineProperty !== 'function') return; util.arrayEach(props, function (key) { Object.defineProperty(obj, key, { enumerable: false, writable: true, configurable: true }); }); }, property: function property(obj, name, value, enumerable, isValue) { var opts = { configurable: true, enumerable: enumerable !== undefined ? enumerable : true }; if (typeof value === 'function' && !isValue) { opts.get = value; } else { opts.value = value; opts.writable = true; } Object.defineProperty(obj, name, opts); }, memoizedProperty: function memoizedProperty(obj, name, get, enumerable) { var cachedValue = null; util.property(obj, name, function() { if (cachedValue === null) { cachedValue = get(); } return cachedValue; }, enumerable); }, hoistPayloadMember: function hoistPayloadMember(resp) { var req = resp.request; var operation = req.operation; var output = req.service.api.operations[operation].output; if (output.payload) { var payloadMember = output.members[output.payload]; var responsePayload = resp.data[output.payload]; if (payloadMember.type === 'structure') { util.each(responsePayload, function(key, value) { util.property(resp.data, key, value, false); }); } } }, computeSha256: function computeSha256(body, done) { if (util.isNode()) { var Stream = util.stream.Stream; var fs = require('fs'); if (body instanceof Stream) { if (typeof body.path === 'string') { // assume file object var settings = {}; if (typeof body.start === 'number') { settings.start = body.start; } if (typeof body.end === 'number') { settings.end = body.end; } body = fs.createReadStream(body.path, settings); } else { // TODO support other stream types return done(new Error('Non-file stream objects are ' + 'not supported with SigV4')); } } } util.crypto.sha256(body, 'hex', function(err, sha) { if (err) done(err); else done(null, sha); }); }, isClockSkewed: function isClockSkewed(serverTime) { if (serverTime) { util.property(AWS.config, 'isClockSkewed', Math.abs(new Date().getTime() - serverTime) >= 300000, false); return AWS.config.isClockSkewed; } }, applyClockOffset: function applyClockOffset(serverTime) { if (serverTime) AWS.config.systemClockOffset = serverTime - new Date().getTime(); }, extractRequestId: function extractRequestId(resp) { var requestId = resp.httpResponse.headers['x-amz-request-id'] || resp.httpResponse.headers['x-amzn-requestid']; if (!requestId && resp.data && resp.data.ResponseMetadata) { requestId = resp.data.ResponseMetadata.RequestId; } if (requestId) { resp.requestId = requestId; } if (resp.error) { resp.error.requestId = requestId; } }, addPromises: function addPromises(constructors, PromiseDependency) { if (PromiseDependency === undefined && AWS && AWS.config) { PromiseDependency = AWS.config.getPromisesDependency(); } if (PromiseDependency === undefined && typeof Promise !== 'undefined') { PromiseDependency = Promise; } if (typeof PromiseDependency !== 'function') var deletePromises = true; if (!Array.isArray(constructors)) constructors = [constructors]; for (var ind = 0; ind < constructors.length; ind++) { var constructor = constructors[ind]; if (deletePromises) { if (constructor.deletePromisesFromClass) { constructor.deletePromisesFromClass(); } } else if (constructor.addPromisesToClass) { constructor.addPromisesToClass(PromiseDependency); } } }, promisifyMethod: function promisifyMethod(methodName, PromiseDependency) { return function promise() { var self = this; return new PromiseDependency(function(resolve, reject) { self[methodName](function(err, data) { if (err) { reject(err); } else { resolve(data); } }); }); }; }, isDualstackAvailable: function isDualstackAvailable(service) { if (!service) return false; var metadata = require('../apis/metadata.json'); if (typeof service !== 'string') service = service.serviceIdentifier; if (typeof service !== 'string' || !metadata.hasOwnProperty(service)) return false; return !!metadata[service].dualstackAvailable; }, calculateRetryDelay: function calculateRetryDelay(retryCount, retryDelayOptions) { if (!retryDelayOptions) retryDelayOptions = {}; var customBackoff = retryDelayOptions.customBackoff || null; if (typeof customBackoff === 'function') { return customBackoff(retryCount); } var base = typeof retryDelayOptions.base === 'number' ? retryDelayOptions.base : 100; var delay = Math.random() * (Math.pow(2, retryCount) * base); return delay; }, handleRequestWithRetries: function handleRequestWithRetries(httpRequest, options, cb) { if (!options) options = {}; var http = AWS.HttpClient.getInstance(); var httpOptions = options.httpOptions || {}; var retryCount = 0; var errCallback = function(err) { var maxRetries = options.maxRetries || 0; if (err && err.code === 'TimeoutError') err.retryable = true; if (err && err.retryable && retryCount < maxRetries) { retryCount++; var delay = util.calculateRetryDelay(retryCount, options.retryDelayOptions); setTimeout(sendRequest, delay + (err.retryAfter || 0)); } else { cb(err); } }; var sendRequest = function() { var data = ''; http.handleRequest(httpRequest, httpOptions, function(httpResponse) { httpResponse.on('data', function(chunk) { data += chunk.toString(); }); httpResponse.on('end', function() { var statusCode = httpResponse.statusCode; if (statusCode < 300) { cb(null, data); } else { var retryAfter = parseInt(httpResponse.headers['retry-after'], 10) * 1000 || 0; var err = util.error(new Error(), { retryable: statusCode >= 500 || statusCode === 429 } ); if (retryAfter && err.retryable) err.retryAfter = retryAfter; errCallback(err); } }); }, errCallback); }; process.nextTick(sendRequest); }, uuid: { v4: function uuidV4() { return require('uuid').v4(); } }, convertPayloadToString: function convertPayloadToString(resp) { var req = resp.request; var operation = req.operation; var rules = req.service.api.operations[operation].output || {}; if (rules.payload && resp.data[rules.payload]) { resp.data[rules.payload] = resp.data[rules.payload].toString(); } }, defaultProfile: 'default', configOptInEnv: 'AWS_SDK_LOAD_CONFIG', sharedCredentialsFileEnv: 'AWS_SHARED_CREDENTIALS_FILE', sharedConfigFileEnv: 'AWS_CONFIG_FILE' }; module.exports = util; }).call(this,require('_process')) },{"../apis/metadata.json":102,"./core":227,"_process":447,"fs":294,"uuid":459}],291:[function(require,module,exports){ var util = require('../util'); var Shape = require('../model/shape'); function DomXmlParser() { } DomXmlParser.prototype.parse = function(xml, shape) { if (xml.replace(/^\s+/, '') === '') return {}; var result, error; try { if (window.DOMParser) { try { var parser = new DOMParser(); result = parser.parseFromString(xml, 'text/xml'); } catch (syntaxError) { throw util.error(new Error('Parse error in document'), { originalError: syntaxError, code: 'XMLParserError', retryable: true }); } if (result.documentElement === null) { throw util.error(new Error('Cannot parse empty document.'), { code: 'XMLParserError', retryable: true }); } var isError = result.getElementsByTagName('parsererror')[0]; if (isError && (isError.parentNode === result || isError.parentNode.nodeName === 'body' || isError.parentNode.parentNode === result || isError.parentNode.parentNode.nodeName === 'body')) { var errorElement = isError.getElementsByTagName('div')[0] || isError; throw util.error(new Error(errorElement.textContent || 'Parser error in document'), { code: 'XMLParserError', retryable: true }); } } else if (window.ActiveXObject) { result = new window.ActiveXObject('Microsoft.XMLDOM'); result.async = false; if (!result.loadXML(xml)) { throw util.error(new Error('Parse error in document'), { code: 'XMLParserError', retryable: true }); } } else { throw new Error('Cannot load XML parser'); } } catch (e) { error = e; } if (result && result.documentElement && !error) { var data = parseXml(result.documentElement, shape); var metadata = result.getElementsByTagName('ResponseMetadata')[0]; if (metadata) { data.ResponseMetadata = parseXml(metadata, {}); } return data; } else if (error) { throw util.error(error || new Error(), {code: 'XMLParserError', retryable: true}); } else { // empty xml document return {}; } }; function parseXml(xml, shape) { if (!shape) shape = {}; switch (shape.type) { case 'structure': return parseStructure(xml, shape); case 'map': return parseMap(xml, shape); case 'list': return parseList(xml, shape); case undefined: case null: return parseUnknown(xml); default: return parseScalar(xml, shape); } } function parseStructure(xml, shape) { var data = {}; if (xml === null) return data; util.each(shape.members, function(memberName, memberShape) { if (memberShape.isXmlAttribute) { if (Object.prototype.hasOwnProperty.call(xml.attributes, memberShape.name)) { var value = xml.attributes[memberShape.name].value; data[memberName] = parseXml({textContent: value}, memberShape); } } else { var xmlChild = memberShape.flattened ? xml : xml.getElementsByTagName(memberShape.name)[0]; if (xmlChild) { data[memberName] = parseXml(xmlChild, memberShape); } else if (!memberShape.flattened && memberShape.type === 'list') { data[memberName] = memberShape.defaultValue; } } }); return data; } function parseMap(xml, shape) { var data = {}; var xmlKey = shape.key.name || 'key'; var xmlValue = shape.value.name || 'value'; var tagName = shape.flattened ? shape.name : 'entry'; var child = xml.firstElementChild; while (child) { if (child.nodeName === tagName) { var key = child.getElementsByTagName(xmlKey)[0].textContent; var value = child.getElementsByTagName(xmlValue)[0]; data[key] = parseXml(value, shape.value); } child = child.nextElementSibling; } return data; } function parseList(xml, shape) { var data = []; var tagName = shape.flattened ? shape.name : (shape.member.name || 'member'); var child = xml.firstElementChild; while (child) { if (child.nodeName === tagName) { data.push(parseXml(child, shape.member)); } child = child.nextElementSibling; } return data; } function parseScalar(xml, shape) { if (xml.getAttribute) { var encoding = xml.getAttribute('encoding'); if (encoding === 'base64') { shape = new Shape.create({type: encoding}); } } var text = xml.textContent; if (text === '') text = null; if (typeof shape.toType === 'function') { return shape.toType(text); } else { return text; } } function parseUnknown(xml) { if (xml === undefined || xml === null) return ''; if (!xml.firstElementChild) { if (xml.parentNode.parentNode === null) return {}; if (xml.childNodes.length === 0) return ''; else return xml.textContent; } var shape = {type: 'structure', members: {}}; var child = xml.firstElementChild; while (child) { var tag = child.nodeName; if (Object.prototype.hasOwnProperty.call(shape.members, tag)) { shape.members[tag].type = 'list'; } else { shape.members[tag] = {name: tag}; } child = child.nextElementSibling; } return parseStructure(xml, shape); } module.exports = DomXmlParser; },{"../model/shape":249,"../util":290}],292:[function(require,module,exports){ var util = require('../util'); var builder = require('xmlbuilder'); function XmlBuilder() { } XmlBuilder.prototype.toXML = function(params, shape, rootElement, noEmpty) { var xml = builder.create(rootElement); applyNamespaces(xml, shape); serialize(xml, params, shape); return xml.children.length > 0 || noEmpty ? xml.root().toString() : ''; }; function serialize(xml, value, shape) { switch (shape.type) { case 'structure': return serializeStructure(xml, value, shape); case 'map': return serializeMap(xml, value, shape); case 'list': return serializeList(xml, value, shape); default: return serializeScalar(xml, value, shape); } } function serializeStructure(xml, params, shape) { util.arrayEach(shape.memberNames, function(memberName) { var memberShape = shape.members[memberName]; if (memberShape.location !== 'body') return; var value = params[memberName]; var name = memberShape.name; if (value !== undefined && value !== null) { if (memberShape.isXmlAttribute) { xml.att(name, value); } else if (memberShape.flattened) { serialize(xml, value, memberShape); } else { var element = xml.ele(name); applyNamespaces(element, memberShape); serialize(element, value, memberShape); } } }); } function serializeMap(xml, map, shape) { var xmlKey = shape.key.name || 'key'; var xmlValue = shape.value.name || 'value'; util.each(map, function(key, value) { var entry = xml.ele(shape.flattened ? shape.name : 'entry'); serialize(entry.ele(xmlKey), key, shape.key); serialize(entry.ele(xmlValue), value, shape.value); }); } function serializeList(xml, list, shape) { if (shape.flattened) { util.arrayEach(list, function(value) { var name = shape.member.name || shape.name; var element = xml.ele(name); serialize(element, value, shape.member); }); } else { util.arrayEach(list, function(value) { var name = shape.member.name || 'member'; var element = xml.ele(name); serialize(element, value, shape.member); }); } } function serializeScalar(xml, value, shape) { xml.txt(shape.toWireFormat(value)); } function applyNamespaces(xml, shape) { var uri, prefix = 'xmlns'; if (shape.xmlNamespaceUri) { uri = shape.xmlNamespaceUri; if (shape.xmlNamespacePrefix) prefix += ':' + shape.xmlNamespacePrefix; } else if (xml.isRoot && shape.api.xmlNamespaceUri) { uri = shape.api.xmlNamespaceUri; } if (uri) xml.att(prefix, uri); } module.exports = XmlBuilder; },{"../util":290,"xmlbuilder":480}],293:[function(require,module,exports){ 'use strict' exports.byteLength = byteLength exports.toByteArray = toByteArray exports.fromByteArray = fromByteArray var lookup = [] var revLookup = [] var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' for (var i = 0, len = code.length; i < len; ++i) { lookup[i] = code[i] revLookup[code.charCodeAt(i)] = i } revLookup['-'.charCodeAt(0)] = 62 revLookup['_'.charCodeAt(0)] = 63 function placeHoldersCount (b64) { var len = b64.length if (len % 4 > 0) { throw new Error('Invalid string. Length must be a multiple of 4') } return b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0 } function byteLength (b64) { return (b64.length * 3 / 4) - placeHoldersCount(b64) } function toByteArray (b64) { var i, l, tmp, placeHolders, arr var len = b64.length placeHolders = placeHoldersCount(b64) arr = new Arr((len * 3 / 4) - placeHolders) l = placeHolders > 0 ? len - 4 : len var L = 0 for (i = 0; i < l; i += 4) { tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)] arr[L++] = (tmp >> 16) & 0xFF arr[L++] = (tmp >> 8) & 0xFF arr[L++] = tmp & 0xFF } if (placeHolders === 2) { tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4) arr[L++] = tmp & 0xFF } else if (placeHolders === 1) { tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2) arr[L++] = (tmp >> 8) & 0xFF arr[L++] = tmp & 0xFF } return arr } function tripletToBase64 (num) { return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F] } function encodeChunk (uint8, start, end) { var tmp var output = [] for (var i = start; i < end; i += 3) { tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2]) output.push(tripletToBase64(tmp)) } return output.join('') } function fromByteArray (uint8) { var tmp var len = uint8.length var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes var output = '' var parts = [] var maxChunkLength = 16383 // must be multiple of 3 for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength))) } if (extraBytes === 1) { tmp = uint8[len - 1] output += lookup[tmp >> 2] output += lookup[(tmp << 4) & 0x3F] output += '==' } else if (extraBytes === 2) { tmp = (uint8[len - 2] << 8) + (uint8[len - 1]) output += lookup[tmp >> 10] output += lookup[(tmp >> 4) & 0x3F] output += lookup[(tmp << 2) & 0x3F] output += '=' } parts.push(output) return parts.join('') } },{}],294:[function(require,module,exports){ },{}],295:[function(require,module,exports){ (function (global){ 'use strict' var base64 = require('base64-js') var ieee754 = require('ieee754') var isArray = require('isarray') exports.Buffer = Buffer exports.SlowBuffer = SlowBuffer exports.INSPECT_MAX_BYTES = 50 Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined ? global.TYPED_ARRAY_SUPPORT : typedArraySupport() exports.kMaxLength = kMaxLength() function typedArraySupport () { try { var arr = new Uint8Array(1) arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }} return arr.foo() === 42 && // typed array instances can be augmented typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray` arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray` } catch (e) { return false } } function kMaxLength () { return Buffer.TYPED_ARRAY_SUPPORT ? 0x7fffffff : 0x3fffffff } function createBuffer (that, length) { if (kMaxLength() < length) { throw new RangeError('Invalid typed array length') } if (Buffer.TYPED_ARRAY_SUPPORT) { that = new Uint8Array(length) that.__proto__ = Buffer.prototype } else { if (that === null) { that = new Buffer(length) } that.length = length } return that } function Buffer (arg, encodingOrOffset, length) { if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) { return new Buffer(arg, encodingOrOffset, length) } if (typeof arg === 'number') { if (typeof encodingOrOffset === 'string') { throw new Error( 'If encoding is specified then the first argument must be a string' ) } return allocUnsafe(this, arg) } return from(this, arg, encodingOrOffset, length) } Buffer.poolSize = 8192 // not used by this implementation Buffer._augment = function (arr) { arr.__proto__ = Buffer.prototype return arr } function from (that, value, encodingOrOffset, length) { if (typeof value === 'number') { throw new TypeError('"value" argument must not be a number') } if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) { return fromArrayBuffer(that, value, encodingOrOffset, length) } if (typeof value === 'string') { return fromString(that, value, encodingOrOffset) } return fromObject(that, value) } Buffer.from = function (value, encodingOrOffset, length) { return from(null, value, encodingOrOffset, length) } if (Buffer.TYPED_ARRAY_SUPPORT) { Buffer.prototype.__proto__ = Uint8Array.prototype Buffer.__proto__ = Uint8Array if (typeof Symbol !== 'undefined' && Symbol.species && Buffer[Symbol.species] === Buffer) { Object.defineProperty(Buffer, Symbol.species, { value: null, configurable: true }) } } function assertSize (size) { if (typeof size !== 'number') { throw new TypeError('"size" argument must be a number') } else if (size < 0) { throw new RangeError('"size" argument must not be negative') } } function alloc (that, size, fill, encoding) { assertSize(size) if (size <= 0) { return createBuffer(that, size) } if (fill !== undefined) { return typeof encoding === 'string' ? createBuffer(that, size).fill(fill, encoding) : createBuffer(that, size).fill(fill) } return createBuffer(that, size) } Buffer.alloc = function (size, fill, encoding) { return alloc(null, size, fill, encoding) } function allocUnsafe (that, size) { assertSize(size) that = createBuffer(that, size < 0 ? 0 : checked(size) | 0) if (!Buffer.TYPED_ARRAY_SUPPORT) { for (var i = 0; i < size; ++i) { that[i] = 0 } } return that } Buffer.allocUnsafe = function (size) { return allocUnsafe(null, size) } Buffer.allocUnsafeSlow = function (size) { return allocUnsafe(null, size) } function fromString (that, string, encoding) { if (typeof encoding !== 'string' || encoding === '') { encoding = 'utf8' } if (!Buffer.isEncoding(encoding)) { throw new TypeError('"encoding" must be a valid string encoding') } var length = byteLength(string, encoding) | 0 that = createBuffer(that, length) var actual = that.write(string, encoding) if (actual !== length) { that = that.slice(0, actual) } return that } function fromArrayLike (that, array) { var length = array.length < 0 ? 0 : checked(array.length) | 0 that = createBuffer(that, length) for (var i = 0; i < length; i += 1) { that[i] = array[i] & 255 } return that } function fromArrayBuffer (that, array, byteOffset, length) { array.byteLength // this throws if `array` is not a valid ArrayBuffer if (byteOffset < 0 || array.byteLength < byteOffset) { throw new RangeError('\'offset\' is out of bounds') } if (array.byteLength < byteOffset + (length || 0)) { throw new RangeError('\'length\' is out of bounds') } if (byteOffset === undefined && length === undefined) { array = new Uint8Array(array) } else if (length === undefined) { array = new Uint8Array(array, byteOffset) } else { array = new Uint8Array(array, byteOffset, length) } if (Buffer.TYPED_ARRAY_SUPPORT) { that = array that.__proto__ = Buffer.prototype } else { that = fromArrayLike(that, array) } return that } function fromObject (that, obj) { if (Buffer.isBuffer(obj)) { var len = checked(obj.length) | 0 that = createBuffer(that, len) if (that.length === 0) { return that } obj.copy(that, 0, 0, len) return that } if (obj) { if ((typeof ArrayBuffer !== 'undefined' && obj.buffer instanceof ArrayBuffer) || 'length' in obj) { if (typeof obj.length !== 'number' || isnan(obj.length)) { return createBuffer(that, 0) } return fromArrayLike(that, obj) } if (obj.type === 'Buffer' && isArray(obj.data)) { return fromArrayLike(that, obj.data) } } throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.') } function checked (length) { if (length >= kMaxLength()) { throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + kMaxLength().toString(16) + ' bytes') } return length | 0 } function SlowBuffer (length) { if (+length != length) { // eslint-disable-line eqeqeq length = 0 } return Buffer.alloc(+length) } Buffer.isBuffer = function isBuffer (b) { return !!(b != null && b._isBuffer) } Buffer.compare = function compare (a, b) { if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) { throw new TypeError('Arguments must be Buffers') } if (a === b) return 0 var x = a.length var y = b.length for (var i = 0, len = Math.min(x, y); i < len; ++i) { if (a[i] !== b[i]) { x = a[i] y = b[i] break } } if (x < y) return -1 if (y < x) return 1 return 0 } Buffer.isEncoding = function isEncoding (encoding) { switch (String(encoding).toLowerCase()) { case 'hex': case 'utf8': case 'utf-8': case 'ascii': case 'latin1': case 'binary': case 'base64': case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return true default: return false } } Buffer.concat = function concat (list, length) { if (!isArray(list)) { throw new TypeError('"list" argument must be an Array of Buffers') } if (list.length === 0) { return Buffer.alloc(0) } var i if (length === undefined) { length = 0 for (i = 0; i < list.length; ++i) { length += list[i].length } } var buffer = Buffer.allocUnsafe(length) var pos = 0 for (i = 0; i < list.length; ++i) { var buf = list[i] if (!Buffer.isBuffer(buf)) { throw new TypeError('"list" argument must be an Array of Buffers') } buf.copy(buffer, pos) pos += buf.length } return buffer } function byteLength (string, encoding) { if (Buffer.isBuffer(string)) { return string.length } if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' && (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) { return string.byteLength } if (typeof string !== 'string') { string = '' + string } var len = string.length if (len === 0) return 0 var loweredCase = false for (;;) { switch (encoding) { case 'ascii': case 'latin1': case 'binary': return len case 'utf8': case 'utf-8': case undefined: return utf8ToBytes(string).length case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return len * 2 case 'hex': return len >>> 1 case 'base64': return base64ToBytes(string).length default: if (loweredCase) return utf8ToBytes(string).length // assume utf8 encoding = ('' + encoding).toLowerCase() loweredCase = true } } } Buffer.byteLength = byteLength function slowToString (encoding, start, end) { var loweredCase = false if (start === undefined || start < 0) { start = 0 } if (start > this.length) { return '' } if (end === undefined || end > this.length) { end = this.length } if (end <= 0) { return '' } end >>>= 0 start >>>= 0 if (end <= start) { return '' } if (!encoding) encoding = 'utf8' while (true) { switch (encoding) { case 'hex': return hexSlice(this, start, end) case 'utf8': case 'utf-8': return utf8Slice(this, start, end) case 'ascii': return asciiSlice(this, start, end) case 'latin1': case 'binary': return latin1Slice(this, start, end) case 'base64': return base64Slice(this, start, end) case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return utf16leSlice(this, start, end) default: if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) encoding = (encoding + '').toLowerCase() loweredCase = true } } } Buffer.prototype._isBuffer = true function swap (b, n, m) { var i = b[n] b[n] = b[m] b[m] = i } Buffer.prototype.swap16 = function swap16 () { var len = this.length if (len % 2 !== 0) { throw new RangeError('Buffer size must be a multiple of 16-bits') } for (var i = 0; i < len; i += 2) { swap(this, i, i + 1) } return this } Buffer.prototype.swap32 = function swap32 () { var len = this.length if (len % 4 !== 0) { throw new RangeError('Buffer size must be a multiple of 32-bits') } for (var i = 0; i < len; i += 4) { swap(this, i, i + 3) swap(this, i + 1, i + 2) } return this } Buffer.prototype.swap64 = function swap64 () { var len = this.length if (len % 8 !== 0) { throw new RangeError('Buffer size must be a multiple of 64-bits') } for (var i = 0; i < len; i += 8) { swap(this, i, i + 7) swap(this, i + 1, i + 6) swap(this, i + 2, i + 5) swap(this, i + 3, i + 4) } return this } Buffer.prototype.toString = function toString () { var length = this.length | 0 if (length === 0) return '' if (arguments.length === 0) return utf8Slice(this, 0, length) return slowToString.apply(this, arguments) } Buffer.prototype.equals = function equals (b) { if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') if (this === b) return true return Buffer.compare(this, b) === 0 } Buffer.prototype.inspect = function inspect () { var str = '' var max = exports.INSPECT_MAX_BYTES if (this.length > 0) { str = this.toString('hex', 0, max).match(/.{2}/g).join(' ') if (this.length > max) str += ' ... ' } return '' } Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) { if (!Buffer.isBuffer(target)) { throw new TypeError('Argument must be a Buffer') } if (start === undefined) { start = 0 } if (end === undefined) { end = target ? target.length : 0 } if (thisStart === undefined) { thisStart = 0 } if (thisEnd === undefined) { thisEnd = this.length } if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { throw new RangeError('out of range index') } if (thisStart >= thisEnd && start >= end) { return 0 } if (thisStart >= thisEnd) { return -1 } if (start >= end) { return 1 } start >>>= 0 end >>>= 0 thisStart >>>= 0 thisEnd >>>= 0 if (this === target) return 0 var x = thisEnd - thisStart var y = end - start var len = Math.min(x, y) var thisCopy = this.slice(thisStart, thisEnd) var targetCopy = target.slice(start, end) for (var i = 0; i < len; ++i) { if (thisCopy[i] !== targetCopy[i]) { x = thisCopy[i] y = targetCopy[i] break } } if (x < y) return -1 if (y < x) return 1 return 0 } function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) { if (buffer.length === 0) return -1 if (typeof byteOffset === 'string') { encoding = byteOffset byteOffset = 0 } else if (byteOffset > 0x7fffffff) { byteOffset = 0x7fffffff } else if (byteOffset < -0x80000000) { byteOffset = -0x80000000 } byteOffset = +byteOffset // Coerce to Number. if (isNaN(byteOffset)) { byteOffset = dir ? 0 : (buffer.length - 1) } if (byteOffset < 0) byteOffset = buffer.length + byteOffset if (byteOffset >= buffer.length) { if (dir) return -1 else byteOffset = buffer.length - 1 } else if (byteOffset < 0) { if (dir) byteOffset = 0 else return -1 } if (typeof val === 'string') { val = Buffer.from(val, encoding) } if (Buffer.isBuffer(val)) { if (val.length === 0) { return -1 } return arrayIndexOf(buffer, val, byteOffset, encoding, dir) } else if (typeof val === 'number') { val = val & 0xFF // Search for a byte value [0-255] if (Buffer.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf === 'function') { if (dir) { return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset) } else { return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset) } } return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir) } throw new TypeError('val must be string, number or Buffer') } function arrayIndexOf (arr, val, byteOffset, encoding, dir) { var indexSize = 1 var arrLength = arr.length var valLength = val.length if (encoding !== undefined) { encoding = String(encoding).toLowerCase() if (encoding === 'ucs2' || encoding === 'ucs-2' || encoding === 'utf16le' || encoding === 'utf-16le') { if (arr.length < 2 || val.length < 2) { return -1 } indexSize = 2 arrLength /= 2 valLength /= 2 byteOffset /= 2 } } function read (buf, i) { if (indexSize === 1) { return buf[i] } else { return buf.readUInt16BE(i * indexSize) } } var i if (dir) { var foundIndex = -1 for (i = byteOffset; i < arrLength; i++) { if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) { if (foundIndex === -1) foundIndex = i if (i - foundIndex + 1 === valLength) return foundIndex * indexSize } else { if (foundIndex !== -1) i -= i - foundIndex foundIndex = -1 } } } else { if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength for (i = byteOffset; i >= 0; i--) { var found = true for (var j = 0; j < valLength; j++) { if (read(arr, i + j) !== read(val, j)) { found = false break } } if (found) return i } } return -1 } Buffer.prototype.includes = function includes (val, byteOffset, encoding) { return this.indexOf(val, byteOffset, encoding) !== -1 } Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) { return bidirectionalIndexOf(this, val, byteOffset, encoding, true) } Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) { return bidirectionalIndexOf(this, val, byteOffset, encoding, false) } function hexWrite (buf, string, offset, length) { offset = Number(offset) || 0 var remaining = buf.length - offset if (!length) { length = remaining } else { length = Number(length) if (length > remaining) { length = remaining } } var strLen = string.length if (strLen % 2 !== 0) throw new TypeError('Invalid hex string') if (length > strLen / 2) { length = strLen / 2 } for (var i = 0; i < length; ++i) { var parsed = parseInt(string.substr(i * 2, 2), 16) if (isNaN(parsed)) return i buf[offset + i] = parsed } return i } function utf8Write (buf, string, offset, length) { return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length) } function asciiWrite (buf, string, offset, length) { return blitBuffer(asciiToBytes(string), buf, offset, length) } function latin1Write (buf, string, offset, length) { return asciiWrite(buf, string, offset, length) } function base64Write (buf, string, offset, length) { return blitBuffer(base64ToBytes(string), buf, offset, length) } function ucs2Write (buf, string, offset, length) { return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length) } Buffer.prototype.write = function write (string, offset, length, encoding) { if (offset === undefined) { encoding = 'utf8' length = this.length offset = 0 } else if (length === undefined && typeof offset === 'string') { encoding = offset length = this.length offset = 0 } else if (isFinite(offset)) { offset = offset | 0 if (isFinite(length)) { length = length | 0 if (encoding === undefined) encoding = 'utf8' } else { encoding = length length = undefined } } else { throw new Error( 'Buffer.write(string, encoding, offset[, length]) is no longer supported' ) } var remaining = this.length - offset if (length === undefined || length > remaining) length = remaining if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) { throw new RangeError('Attempt to write outside buffer bounds') } if (!encoding) encoding = 'utf8' var loweredCase = false for (;;) { switch (encoding) { case 'hex': return hexWrite(this, string, offset, length) case 'utf8': case 'utf-8': return utf8Write(this, string, offset, length) case 'ascii': return asciiWrite(this, string, offset, length) case 'latin1': case 'binary': return latin1Write(this, string, offset, length) case 'base64': return base64Write(this, string, offset, length) case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return ucs2Write(this, string, offset, length) default: if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) encoding = ('' + encoding).toLowerCase() loweredCase = true } } } Buffer.prototype.toJSON = function toJSON () { return { type: 'Buffer', data: Array.prototype.slice.call(this._arr || this, 0) } } function base64Slice (buf, start, end) { if (start === 0 && end === buf.length) { return base64.fromByteArray(buf) } else { return base64.fromByteArray(buf.slice(start, end)) } } function utf8Slice (buf, start, end) { end = Math.min(buf.length, end) var res = [] var i = start while (i < end) { var firstByte = buf[i] var codePoint = null var bytesPerSequence = (firstByte > 0xEF) ? 4 : (firstByte > 0xDF) ? 3 : (firstByte > 0xBF) ? 2 : 1 if (i + bytesPerSequence <= end) { var secondByte, thirdByte, fourthByte, tempCodePoint switch (bytesPerSequence) { case 1: if (firstByte < 0x80) { codePoint = firstByte } break case 2: secondByte = buf[i + 1] if ((secondByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F) if (tempCodePoint > 0x7F) { codePoint = tempCodePoint } } break case 3: secondByte = buf[i + 1] thirdByte = buf[i + 2] if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F) if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { codePoint = tempCodePoint } } break case 4: secondByte = buf[i + 1] thirdByte = buf[i + 2] fourthByte = buf[i + 3] if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F) if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { codePoint = tempCodePoint } } } } if (codePoint === null) { codePoint = 0xFFFD bytesPerSequence = 1 } else if (codePoint > 0xFFFF) { codePoint -= 0x10000 res.push(codePoint >>> 10 & 0x3FF | 0xD800) codePoint = 0xDC00 | codePoint & 0x3FF } res.push(codePoint) i += bytesPerSequence } return decodeCodePointsArray(res) } var MAX_ARGUMENTS_LENGTH = 0x1000 function decodeCodePointsArray (codePoints) { var len = codePoints.length if (len <= MAX_ARGUMENTS_LENGTH) { return String.fromCharCode.apply(String, codePoints) // avoid extra slice() } var res = '' var i = 0 while (i < len) { res += String.fromCharCode.apply( String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH) ) } return res } function asciiSlice (buf, start, end) { var ret = '' end = Math.min(buf.length, end) for (var i = start; i < end; ++i) { ret += String.fromCharCode(buf[i] & 0x7F) } return ret } function latin1Slice (buf, start, end) { var ret = '' end = Math.min(buf.length, end) for (var i = start; i < end; ++i) { ret += String.fromCharCode(buf[i]) } return ret } function hexSlice (buf, start, end) { var len = buf.length if (!start || start < 0) start = 0 if (!end || end < 0 || end > len) end = len var out = '' for (var i = start; i < end; ++i) { out += toHex(buf[i]) } return out } function utf16leSlice (buf, start, end) { var bytes = buf.slice(start, end) var res = '' for (var i = 0; i < bytes.length; i += 2) { res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256) } return res } Buffer.prototype.slice = function slice (start, end) { var len = this.length start = ~~start end = end === undefined ? len : ~~end if (start < 0) { start += len if (start < 0) start = 0 } else if (start > len) { start = len } if (end < 0) { end += len if (end < 0) end = 0 } else if (end > len) { end = len } if (end < start) end = start var newBuf if (Buffer.TYPED_ARRAY_SUPPORT) { newBuf = this.subarray(start, end) newBuf.__proto__ = Buffer.prototype } else { var sliceLen = end - start newBuf = new Buffer(sliceLen, undefined) for (var i = 0; i < sliceLen; ++i) { newBuf[i] = this[i + start] } } return newBuf } function checkOffset (offset, ext, length) { if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint') if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') } Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) { offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var val = this[offset] var mul = 1 var i = 0 while (++i < byteLength && (mul *= 0x100)) { val += this[offset + i] * mul } return val } Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) { offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) { checkOffset(offset, byteLength, this.length) } var val = this[offset + --byteLength] var mul = 1 while (byteLength > 0 && (mul *= 0x100)) { val += this[offset + --byteLength] * mul } return val } Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) { if (!noAssert) checkOffset(offset, 1, this.length) return this[offset] } Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) { if (!noAssert) checkOffset(offset, 2, this.length) return this[offset] | (this[offset + 1] << 8) } Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) { if (!noAssert) checkOffset(offset, 2, this.length) return (this[offset] << 8) | this[offset + 1] } Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return ((this[offset]) | (this[offset + 1] << 8) | (this[offset + 2] << 16)) + (this[offset + 3] * 0x1000000) } Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset] * 0x1000000) + ((this[offset + 1] << 16) | (this[offset + 2] << 8) | this[offset + 3]) } Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) { offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var val = this[offset] var mul = 1 var i = 0 while (++i < byteLength && (mul *= 0x100)) { val += this[offset + i] * mul } mul *= 0x80 if (val >= mul) val -= Math.pow(2, 8 * byteLength) return val } Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) { offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var i = byteLength var mul = 1 var val = this[offset + --i] while (i > 0 && (mul *= 0x100)) { val += this[offset + --i] * mul } mul *= 0x80 if (val >= mul) val -= Math.pow(2, 8 * byteLength) return val } Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) { if (!noAssert) checkOffset(offset, 1, this.length) if (!(this[offset] & 0x80)) return (this[offset]) return ((0xff - this[offset] + 1) * -1) } Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) { if (!noAssert) checkOffset(offset, 2, this.length) var val = this[offset] | (this[offset + 1] << 8) return (val & 0x8000) ? val | 0xFFFF0000 : val } Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) { if (!noAssert) checkOffset(offset, 2, this.length) var val = this[offset + 1] | (this[offset] << 8) return (val & 0x8000) ? val | 0xFFFF0000 : val } Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset]) | (this[offset + 1] << 8) | (this[offset + 2] << 16) | (this[offset + 3] << 24) } Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset] << 24) | (this[offset + 1] << 16) | (this[offset + 2] << 8) | (this[offset + 3]) } Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return ieee754.read(this, offset, true, 23, 4) } Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) { if (!noAssert) checkOffset(offset, 4, this.length) return ieee754.read(this, offset, false, 23, 4) } Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) { if (!noAssert) checkOffset(offset, 8, this.length) return ieee754.read(this, offset, true, 52, 8) } Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) { if (!noAssert) checkOffset(offset, 8, this.length) return ieee754.read(this, offset, false, 52, 8) } function checkInt (buf, value, offset, ext, max, min) { if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') if (offset + ext > buf.length) throw new RangeError('Index out of range') } Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { value = +value offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) { var maxBytes = Math.pow(2, 8 * byteLength) - 1 checkInt(this, value, offset, byteLength, maxBytes, 0) } var mul = 1 var i = 0 this[offset] = value & 0xFF while (++i < byteLength && (mul *= 0x100)) { this[offset + i] = (value / mul) & 0xFF } return offset + byteLength } Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) { value = +value offset = offset | 0 byteLength = byteLength | 0 if (!noAssert) { var maxBytes = Math.pow(2, 8 * byteLength) - 1 checkInt(this, value, offset, byteLength, maxBytes, 0) } var i = byteLength - 1 var mul = 1 this[offset + i] = value & 0xFF while (--i >= 0 && (mul *= 0x100)) { this[offset + i] = (value / mul) & 0xFF } return offset + byteLength } Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0) if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) this[offset] = (value & 0xff) return offset + 1 } function objectWriteUInt16 (buf, value, offset, littleEndian) { if (value < 0) value = 0xffff + value + 1 for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) { buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>> (littleEndian ? i : 1 - i) * 8 } } Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) } else { objectWriteUInt16(this, value, offset, true) } return offset + 2 } Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value >>> 8) this[offset + 1] = (value & 0xff) } else { objectWriteUInt16(this, value, offset, false) } return offset + 2 } function objectWriteUInt32 (buf, value, offset, littleEndian) { if (value < 0) value = 0xffffffff + value + 1 for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) { buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff } } Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset + 3] = (value >>> 24) this[offset + 2] = (value >>> 16) this[offset + 1] = (value >>> 8) this[offset] = (value & 0xff) } else { objectWriteUInt32(this, value, offset, true) } return offset + 4 } Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value >>> 24) this[offset + 1] = (value >>> 16) this[offset + 2] = (value >>> 8) this[offset + 3] = (value & 0xff) } else { objectWriteUInt32(this, value, offset, false) } return offset + 4 } Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) { value = +value offset = offset | 0 if (!noAssert) { var limit = Math.pow(2, 8 * byteLength - 1) checkInt(this, value, offset, byteLength, limit - 1, -limit) } var i = 0 var mul = 1 var sub = 0 this[offset] = value & 0xFF while (++i < byteLength && (mul *= 0x100)) { if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { sub = 1 } this[offset + i] = ((value / mul) >> 0) - sub & 0xFF } return offset + byteLength } Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) { value = +value offset = offset | 0 if (!noAssert) { var limit = Math.pow(2, 8 * byteLength - 1) checkInt(this, value, offset, byteLength, limit - 1, -limit) } var i = byteLength - 1 var mul = 1 var sub = 0 this[offset + i] = value & 0xFF while (--i >= 0 && (mul *= 0x100)) { if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { sub = 1 } this[offset + i] = ((value / mul) >> 0) - sub & 0xFF } return offset + byteLength } Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80) if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value) if (value < 0) value = 0xff + value + 1 this[offset] = (value & 0xff) return offset + 1 } Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) } else { objectWriteUInt16(this, value, offset, true) } return offset + 2 } Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value >>> 8) this[offset + 1] = (value & 0xff) } else { objectWriteUInt16(this, value, offset, false) } return offset + 2 } Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) this[offset + 2] = (value >>> 16) this[offset + 3] = (value >>> 24) } else { objectWriteUInt32(this, value, offset, true) } return offset + 4 } Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) { value = +value offset = offset | 0 if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) if (value < 0) value = 0xffffffff + value + 1 if (Buffer.TYPED_ARRAY_SUPPORT) { this[offset] = (value >>> 24) this[offset + 1] = (value >>> 16) this[offset + 2] = (value >>> 8) this[offset + 3] = (value & 0xff) } else { objectWriteUInt32(this, value, offset, false) } return offset + 4 } function checkIEEE754 (buf, value, offset, ext, max, min) { if (offset + ext > buf.length) throw new RangeError('Index out of range') if (offset < 0) throw new RangeError('Index out of range') } function writeFloat (buf, value, offset, littleEndian, noAssert) { if (!noAssert) { checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) } ieee754.write(buf, value, offset, littleEndian, 23, 4) return offset + 4 } Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { return writeFloat(this, value, offset, true, noAssert) } Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) { return writeFloat(this, value, offset, false, noAssert) } function writeDouble (buf, value, offset, littleEndian, noAssert) { if (!noAssert) { checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308) } ieee754.write(buf, value, offset, littleEndian, 52, 8) return offset + 8 } Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) { return writeDouble(this, value, offset, true, noAssert) } Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) { return writeDouble(this, value, offset, false, noAssert) } Buffer.prototype.copy = function copy (target, targetStart, start, end) { if (!start) start = 0 if (!end && end !== 0) end = this.length if (targetStart >= target.length) targetStart = target.length if (!targetStart) targetStart = 0 if (end > 0 && end < start) end = start if (end === start) return 0 if (target.length === 0 || this.length === 0) return 0 if (targetStart < 0) { throw new RangeError('targetStart out of bounds') } if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds') if (end < 0) throw new RangeError('sourceEnd out of bounds') if (end > this.length) end = this.length if (target.length - targetStart < end - start) { end = target.length - targetStart + start } var len = end - start var i if (this === target && start < targetStart && targetStart < end) { for (i = len - 1; i >= 0; --i) { target[i + targetStart] = this[i + start] } } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) { for (i = 0; i < len; ++i) { target[i + targetStart] = this[i + start] } } else { Uint8Array.prototype.set.call( target, this.subarray(start, start + len), targetStart ) } return len } Buffer.prototype.fill = function fill (val, start, end, encoding) { if (typeof val === 'string') { if (typeof start === 'string') { encoding = start start = 0 end = this.length } else if (typeof end === 'string') { encoding = end end = this.length } if (val.length === 1) { var code = val.charCodeAt(0) if (code < 256) { val = code } } if (encoding !== undefined && typeof encoding !== 'string') { throw new TypeError('encoding must be a string') } if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) { throw new TypeError('Unknown encoding: ' + encoding) } } else if (typeof val === 'number') { val = val & 255 } if (start < 0 || this.length < start || this.length < end) { throw new RangeError('Out of range index') } if (end <= start) { return this } start = start >>> 0 end = end === undefined ? this.length : end >>> 0 if (!val) val = 0 var i if (typeof val === 'number') { for (i = start; i < end; ++i) { this[i] = val } } else { var bytes = Buffer.isBuffer(val) ? val : utf8ToBytes(new Buffer(val, encoding).toString()) var len = bytes.length for (i = 0; i < end - start; ++i) { this[i + start] = bytes[i % len] } } return this } var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g function base64clean (str) { str = stringtrim(str).replace(INVALID_BASE64_RE, '') if (str.length < 2) return '' while (str.length % 4 !== 0) { str = str + '=' } return str } function stringtrim (str) { if (str.trim) return str.trim() return str.replace(/^\s+|\s+$/g, '') } function toHex (n) { if (n < 16) return '0' + n.toString(16) return n.toString(16) } function utf8ToBytes (string, units) { units = units || Infinity var codePoint var length = string.length var leadSurrogate = null var bytes = [] for (var i = 0; i < length; ++i) { codePoint = string.charCodeAt(i) if (codePoint > 0xD7FF && codePoint < 0xE000) { if (!leadSurrogate) { if (codePoint > 0xDBFF) { if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) continue } else if (i + 1 === length) { if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) continue } leadSurrogate = codePoint continue } if (codePoint < 0xDC00) { if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) leadSurrogate = codePoint continue } codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000 } else if (leadSurrogate) { if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) } leadSurrogate = null if (codePoint < 0x80) { if ((units -= 1) < 0) break bytes.push(codePoint) } else if (codePoint < 0x800) { if ((units -= 2) < 0) break bytes.push( codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80 ) } else if (codePoint < 0x10000) { if ((units -= 3) < 0) break bytes.push( codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80 ) } else if (codePoint < 0x110000) { if ((units -= 4) < 0) break bytes.push( codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80 ) } else { throw new Error('Invalid code point') } } return bytes } function asciiToBytes (str) { var byteArray = [] for (var i = 0; i < str.length; ++i) { byteArray.push(str.charCodeAt(i) & 0xFF) } return byteArray } function utf16leToBytes (str, units) { var c, hi, lo var byteArray = [] for (var i = 0; i < str.length; ++i) { if ((units -= 2) < 0) break c = str.charCodeAt(i) hi = c >> 8 lo = c % 256 byteArray.push(lo) byteArray.push(hi) } return byteArray } function base64ToBytes (str) { return base64.toByteArray(base64clean(str)) } function blitBuffer (src, dst, offset, length) { for (var i = 0; i < length; ++i) { if ((i + offset >= dst.length) || (i >= src.length)) break dst[i + offset] = src[i] } return i } function isnan (val) { return val !== val // eslint-disable-line no-self-compare } }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{"base64-js":293,"ieee754":304,"isarray":305}],296:[function(require,module,exports){ 'use strict' var base64 = require('base64-js') var ieee754 = require('ieee754') exports.Buffer = Buffer exports.SlowBuffer = SlowBuffer exports.INSPECT_MAX_BYTES = 50 var K_MAX_LENGTH = 0x7fffffff exports.kMaxLength = K_MAX_LENGTH Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport() if (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' && typeof console.error === 'function') { console.error( 'This browser lacks typed array (Uint8Array) support which is required by ' + '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.' ) } function typedArraySupport () { try { var arr = new Uint8Array(1) arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }} return arr.foo() === 42 } catch (e) { return false } } function createBuffer (length) { if (length > K_MAX_LENGTH) { throw new RangeError('Invalid typed array length') } var buf = new Uint8Array(length) buf.__proto__ = Buffer.prototype return buf } function Buffer (arg, encodingOrOffset, length) { if (typeof arg === 'number') { if (typeof encodingOrOffset === 'string') { throw new Error( 'If encoding is specified then the first argument must be a string' ) } return allocUnsafe(arg) } return from(arg, encodingOrOffset, length) } if (typeof Symbol !== 'undefined' && Symbol.species && Buffer[Symbol.species] === Buffer) { Object.defineProperty(Buffer, Symbol.species, { value: null, configurable: true, enumerable: false, writable: false }) } Buffer.poolSize = 8192 // not used by this implementation function from (value, encodingOrOffset, length) { if (typeof value === 'number') { throw new TypeError('"value" argument must not be a number') } if (value instanceof ArrayBuffer) { return fromArrayBuffer(value, encodingOrOffset, length) } if (typeof value === 'string') { return fromString(value, encodingOrOffset) } return fromObject(value) } Buffer.from = function (value, encodingOrOffset, length) { return from(value, encodingOrOffset, length) } Buffer.prototype.__proto__ = Uint8Array.prototype Buffer.__proto__ = Uint8Array function assertSize (size) { if (typeof size !== 'number') { throw new TypeError('"size" argument must be a number') } else if (size < 0) { throw new RangeError('"size" argument must not be negative') } } function alloc (size, fill, encoding) { assertSize(size) if (size <= 0) { return createBuffer(size) } if (fill !== undefined) { return typeof encoding === 'string' ? createBuffer(size).fill(fill, encoding) : createBuffer(size).fill(fill) } return createBuffer(size) } Buffer.alloc = function (size, fill, encoding) { return alloc(size, fill, encoding) } function allocUnsafe (size) { assertSize(size) return createBuffer(size < 0 ? 0 : checked(size) | 0) } Buffer.allocUnsafe = function (size) { return allocUnsafe(size) } Buffer.allocUnsafeSlow = function (size) { return allocUnsafe(size) } function fromString (string, encoding) { if (typeof encoding !== 'string' || encoding === '') { encoding = 'utf8' } if (!Buffer.isEncoding(encoding)) { throw new TypeError('"encoding" must be a valid string encoding') } var length = byteLength(string, encoding) | 0 var buf = createBuffer(length) var actual = buf.write(string, encoding) if (actual !== length) { buf = buf.slice(0, actual) } return buf } function fromArrayLike (array) { var length = array.length < 0 ? 0 : checked(array.length) | 0 var buf = createBuffer(length) for (var i = 0; i < length; i += 1) { buf[i] = array[i] & 255 } return buf } function fromArrayBuffer (array, byteOffset, length) { if (byteOffset < 0 || array.byteLength < byteOffset) { throw new RangeError('\'offset\' is out of bounds') } if (array.byteLength < byteOffset + (length || 0)) { throw new RangeError('\'length\' is out of bounds') } var buf if (byteOffset === undefined && length === undefined) { buf = new Uint8Array(array) } else if (length === undefined) { buf = new Uint8Array(array, byteOffset) } else { buf = new Uint8Array(array, byteOffset, length) } buf.__proto__ = Buffer.prototype return buf } function fromObject (obj) { if (Buffer.isBuffer(obj)) { var len = checked(obj.length) | 0 var buf = createBuffer(len) if (buf.length === 0) { return buf } obj.copy(buf, 0, 0, len) return buf } if (obj) { if (isArrayBufferView(obj) || 'length' in obj) { if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) { return createBuffer(0) } return fromArrayLike(obj) } if (obj.type === 'Buffer' && Array.isArray(obj.data)) { return fromArrayLike(obj.data) } } throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.') } function checked (length) { if (length >= K_MAX_LENGTH) { throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes') } return length | 0 } function SlowBuffer (length) { if (+length != length) { // eslint-disable-line eqeqeq length = 0 } return Buffer.alloc(+length) } Buffer.isBuffer = function isBuffer (b) { return b != null && b._isBuffer === true } Buffer.compare = function compare (a, b) { if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) { throw new TypeError('Arguments must be Buffers') } if (a === b) return 0 var x = a.length var y = b.length for (var i = 0, len = Math.min(x, y); i < len; ++i) { if (a[i] !== b[i]) { x = a[i] y = b[i] break } } if (x < y) return -1 if (y < x) return 1 return 0 } Buffer.isEncoding = function isEncoding (encoding) { switch (String(encoding).toLowerCase()) { case 'hex': case 'utf8': case 'utf-8': case 'ascii': case 'latin1': case 'binary': case 'base64': case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return true default: return false } } Buffer.concat = function concat (list, length) { if (!Array.isArray(list)) { throw new TypeError('"list" argument must be an Array of Buffers') } if (list.length === 0) { return Buffer.alloc(0) } var i if (length === undefined) { length = 0 for (i = 0; i < list.length; ++i) { length += list[i].length } } var buffer = Buffer.allocUnsafe(length) var pos = 0 for (i = 0; i < list.length; ++i) { var buf = list[i] if (!Buffer.isBuffer(buf)) { throw new TypeError('"list" argument must be an Array of Buffers') } buf.copy(buffer, pos) pos += buf.length } return buffer } function byteLength (string, encoding) { if (Buffer.isBuffer(string)) { return string.length } if (isArrayBufferView(string) || string instanceof ArrayBuffer) { return string.byteLength } if (typeof string !== 'string') { string = '' + string } var len = string.length if (len === 0) return 0 var loweredCase = false for (;;) { switch (encoding) { case 'ascii': case 'latin1': case 'binary': return len case 'utf8': case 'utf-8': case undefined: return utf8ToBytes(string).length case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return len * 2 case 'hex': return len >>> 1 case 'base64': return base64ToBytes(string).length default: if (loweredCase) return utf8ToBytes(string).length // assume utf8 encoding = ('' + encoding).toLowerCase() loweredCase = true } } } Buffer.byteLength = byteLength function slowToString (encoding, start, end) { var loweredCase = false if (start === undefined || start < 0) { start = 0 } if (start > this.length) { return '' } if (end === undefined || end > this.length) { end = this.length } if (end <= 0) { return '' } end >>>= 0 start >>>= 0 if (end <= start) { return '' } if (!encoding) encoding = 'utf8' while (true) { switch (encoding) { case 'hex': return hexSlice(this, start, end) case 'utf8': case 'utf-8': return utf8Slice(this, start, end) case 'ascii': return asciiSlice(this, start, end) case 'latin1': case 'binary': return latin1Slice(this, start, end) case 'base64': return base64Slice(this, start, end) case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return utf16leSlice(this, start, end) default: if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) encoding = (encoding + '').toLowerCase() loweredCase = true } } } Buffer.prototype._isBuffer = true function swap (b, n, m) { var i = b[n] b[n] = b[m] b[m] = i } Buffer.prototype.swap16 = function swap16 () { var len = this.length if (len % 2 !== 0) { throw new RangeError('Buffer size must be a multiple of 16-bits') } for (var i = 0; i < len; i += 2) { swap(this, i, i + 1) } return this } Buffer.prototype.swap32 = function swap32 () { var len = this.length if (len % 4 !== 0) { throw new RangeError('Buffer size must be a multiple of 32-bits') } for (var i = 0; i < len; i += 4) { swap(this, i, i + 3) swap(this, i + 1, i + 2) } return this } Buffer.prototype.swap64 = function swap64 () { var len = this.length if (len % 8 !== 0) { throw new RangeError('Buffer size must be a multiple of 64-bits') } for (var i = 0; i < len; i += 8) { swap(this, i, i + 7) swap(this, i + 1, i + 6) swap(this, i + 2, i + 5) swap(this, i + 3, i + 4) } return this } Buffer.prototype.toString = function toString () { var length = this.length if (length === 0) return '' if (arguments.length === 0) return utf8Slice(this, 0, length) return slowToString.apply(this, arguments) } Buffer.prototype.equals = function equals (b) { if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') if (this === b) return true return Buffer.compare(this, b) === 0 } Buffer.prototype.inspect = function inspect () { var str = '' var max = exports.INSPECT_MAX_BYTES if (this.length > 0) { str = this.toString('hex', 0, max).match(/.{2}/g).join(' ') if (this.length > max) str += ' ... ' } return '' } Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) { if (!Buffer.isBuffer(target)) { throw new TypeError('Argument must be a Buffer') } if (start === undefined) { start = 0 } if (end === undefined) { end = target ? target.length : 0 } if (thisStart === undefined) { thisStart = 0 } if (thisEnd === undefined) { thisEnd = this.length } if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { throw new RangeError('out of range index') } if (thisStart >= thisEnd && start >= end) { return 0 } if (thisStart >= thisEnd) { return -1 } if (start >= end) { return 1 } start >>>= 0 end >>>= 0 thisStart >>>= 0 thisEnd >>>= 0 if (this === target) return 0 var x = thisEnd - thisStart var y = end - start var len = Math.min(x, y) var thisCopy = this.slice(thisStart, thisEnd) var targetCopy = target.slice(start, end) for (var i = 0; i < len; ++i) { if (thisCopy[i] !== targetCopy[i]) { x = thisCopy[i] y = targetCopy[i] break } } if (x < y) return -1 if (y < x) return 1 return 0 } function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) { if (buffer.length === 0) return -1 if (typeof byteOffset === 'string') { encoding = byteOffset byteOffset = 0 } else if (byteOffset > 0x7fffffff) { byteOffset = 0x7fffffff } else if (byteOffset < -0x80000000) { byteOffset = -0x80000000 } byteOffset = +byteOffset // Coerce to Number. if (numberIsNaN(byteOffset)) { byteOffset = dir ? 0 : (buffer.length - 1) } if (byteOffset < 0) byteOffset = buffer.length + byteOffset if (byteOffset >= buffer.length) { if (dir) return -1 else byteOffset = buffer.length - 1 } else if (byteOffset < 0) { if (dir) byteOffset = 0 else return -1 } if (typeof val === 'string') { val = Buffer.from(val, encoding) } if (Buffer.isBuffer(val)) { if (val.length === 0) { return -1 } return arrayIndexOf(buffer, val, byteOffset, encoding, dir) } else if (typeof val === 'number') { val = val & 0xFF // Search for a byte value [0-255] if (typeof Uint8Array.prototype.indexOf === 'function') { if (dir) { return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset) } else { return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset) } } return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir) } throw new TypeError('val must be string, number or Buffer') } function arrayIndexOf (arr, val, byteOffset, encoding, dir) { var indexSize = 1 var arrLength = arr.length var valLength = val.length if (encoding !== undefined) { encoding = String(encoding).toLowerCase() if (encoding === 'ucs2' || encoding === 'ucs-2' || encoding === 'utf16le' || encoding === 'utf-16le') { if (arr.length < 2 || val.length < 2) { return -1 } indexSize = 2 arrLength /= 2 valLength /= 2 byteOffset /= 2 } } function read (buf, i) { if (indexSize === 1) { return buf[i] } else { return buf.readUInt16BE(i * indexSize) } } var i if (dir) { var foundIndex = -1 for (i = byteOffset; i < arrLength; i++) { if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) { if (foundIndex === -1) foundIndex = i if (i - foundIndex + 1 === valLength) return foundIndex * indexSize } else { if (foundIndex !== -1) i -= i - foundIndex foundIndex = -1 } } } else { if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength for (i = byteOffset; i >= 0; i--) { var found = true for (var j = 0; j < valLength; j++) { if (read(arr, i + j) !== read(val, j)) { found = false break } } if (found) return i } } return -1 } Buffer.prototype.includes = function includes (val, byteOffset, encoding) { return this.indexOf(val, byteOffset, encoding) !== -1 } Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) { return bidirectionalIndexOf(this, val, byteOffset, encoding, true) } Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) { return bidirectionalIndexOf(this, val, byteOffset, encoding, false) } function hexWrite (buf, string, offset, length) { offset = Number(offset) || 0 var remaining = buf.length - offset if (!length) { length = remaining } else { length = Number(length) if (length > remaining) { length = remaining } } var strLen = string.length if (strLen % 2 !== 0) throw new TypeError('Invalid hex string') if (length > strLen / 2) { length = strLen / 2 } for (var i = 0; i < length; ++i) { var parsed = parseInt(string.substr(i * 2, 2), 16) if (numberIsNaN(parsed)) return i buf[offset + i] = parsed } return i } function utf8Write (buf, string, offset, length) { return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length) } function asciiWrite (buf, string, offset, length) { return blitBuffer(asciiToBytes(string), buf, offset, length) } function latin1Write (buf, string, offset, length) { return asciiWrite(buf, string, offset, length) } function base64Write (buf, string, offset, length) { return blitBuffer(base64ToBytes(string), buf, offset, length) } function ucs2Write (buf, string, offset, length) { return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length) } Buffer.prototype.write = function write (string, offset, length, encoding) { if (offset === undefined) { encoding = 'utf8' length = this.length offset = 0 } else if (length === undefined && typeof offset === 'string') { encoding = offset length = this.length offset = 0 } else if (isFinite(offset)) { offset = offset >>> 0 if (isFinite(length)) { length = length >>> 0 if (encoding === undefined) encoding = 'utf8' } else { encoding = length length = undefined } } else { throw new Error( 'Buffer.write(string, encoding, offset[, length]) is no longer supported' ) } var remaining = this.length - offset if (length === undefined || length > remaining) length = remaining if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) { throw new RangeError('Attempt to write outside buffer bounds') } if (!encoding) encoding = 'utf8' var loweredCase = false for (;;) { switch (encoding) { case 'hex': return hexWrite(this, string, offset, length) case 'utf8': case 'utf-8': return utf8Write(this, string, offset, length) case 'ascii': return asciiWrite(this, string, offset, length) case 'latin1': case 'binary': return latin1Write(this, string, offset, length) case 'base64': return base64Write(this, string, offset, length) case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return ucs2Write(this, string, offset, length) default: if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) encoding = ('' + encoding).toLowerCase() loweredCase = true } } } Buffer.prototype.toJSON = function toJSON () { return { type: 'Buffer', data: Array.prototype.slice.call(this._arr || this, 0) } } function base64Slice (buf, start, end) { if (start === 0 && end === buf.length) { return base64.fromByteArray(buf) } else { return base64.fromByteArray(buf.slice(start, end)) } } function utf8Slice (buf, start, end) { end = Math.min(buf.length, end) var res = [] var i = start while (i < end) { var firstByte = buf[i] var codePoint = null var bytesPerSequence = (firstByte > 0xEF) ? 4 : (firstByte > 0xDF) ? 3 : (firstByte > 0xBF) ? 2 : 1 if (i + bytesPerSequence <= end) { var secondByte, thirdByte, fourthByte, tempCodePoint switch (bytesPerSequence) { case 1: if (firstByte < 0x80) { codePoint = firstByte } break case 2: secondByte = buf[i + 1] if ((secondByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F) if (tempCodePoint > 0x7F) { codePoint = tempCodePoint } } break case 3: secondByte = buf[i + 1] thirdByte = buf[i + 2] if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F) if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { codePoint = tempCodePoint } } break case 4: secondByte = buf[i + 1] thirdByte = buf[i + 2] fourthByte = buf[i + 3] if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F) if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { codePoint = tempCodePoint } } } } if (codePoint === null) { codePoint = 0xFFFD bytesPerSequence = 1 } else if (codePoint > 0xFFFF) { codePoint -= 0x10000 res.push(codePoint >>> 10 & 0x3FF | 0xD800) codePoint = 0xDC00 | codePoint & 0x3FF } res.push(codePoint) i += bytesPerSequence } return decodeCodePointsArray(res) } var MAX_ARGUMENTS_LENGTH = 0x1000 function decodeCodePointsArray (codePoints) { var len = codePoints.length if (len <= MAX_ARGUMENTS_LENGTH) { return String.fromCharCode.apply(String, codePoints) // avoid extra slice() } var res = '' var i = 0 while (i < len) { res += String.fromCharCode.apply( String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH) ) } return res } function asciiSlice (buf, start, end) { var ret = '' end = Math.min(buf.length, end) for (var i = start; i < end; ++i) { ret += String.fromCharCode(buf[i] & 0x7F) } return ret } function latin1Slice (buf, start, end) { var ret = '' end = Math.min(buf.length, end) for (var i = start; i < end; ++i) { ret += String.fromCharCode(buf[i]) } return ret } function hexSlice (buf, start, end) { var len = buf.length if (!start || start < 0) start = 0 if (!end || end < 0 || end > len) end = len var out = '' for (var i = start; i < end; ++i) { out += toHex(buf[i]) } return out } function utf16leSlice (buf, start, end) { var bytes = buf.slice(start, end) var res = '' for (var i = 0; i < bytes.length; i += 2) { res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256)) } return res } Buffer.prototype.slice = function slice (start, end) { var len = this.length start = ~~start end = end === undefined ? len : ~~end if (start < 0) { start += len if (start < 0) start = 0 } else if (start > len) { start = len } if (end < 0) { end += len if (end < 0) end = 0 } else if (end > len) { end = len } if (end < start) end = start var newBuf = this.subarray(start, end) newBuf.__proto__ = Buffer.prototype return newBuf } function checkOffset (offset, ext, length) { if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint') if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') } Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) { offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var val = this[offset] var mul = 1 var i = 0 while (++i < byteLength && (mul *= 0x100)) { val += this[offset + i] * mul } return val } Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) { offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) { checkOffset(offset, byteLength, this.length) } var val = this[offset + --byteLength] var mul = 1 while (byteLength > 0 && (mul *= 0x100)) { val += this[offset + --byteLength] * mul } return val } Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 1, this.length) return this[offset] } Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 2, this.length) return this[offset] | (this[offset + 1] << 8) } Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 2, this.length) return (this[offset] << 8) | this[offset + 1] } Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return ((this[offset]) | (this[offset + 1] << 8) | (this[offset + 2] << 16)) + (this[offset + 3] * 0x1000000) } Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset] * 0x1000000) + ((this[offset + 1] << 16) | (this[offset + 2] << 8) | this[offset + 3]) } Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) { offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var val = this[offset] var mul = 1 var i = 0 while (++i < byteLength && (mul *= 0x100)) { val += this[offset + i] * mul } mul *= 0x80 if (val >= mul) val -= Math.pow(2, 8 * byteLength) return val } Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) { offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var i = byteLength var mul = 1 var val = this[offset + --i] while (i > 0 && (mul *= 0x100)) { val += this[offset + --i] * mul } mul *= 0x80 if (val >= mul) val -= Math.pow(2, 8 * byteLength) return val } Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 1, this.length) if (!(this[offset] & 0x80)) return (this[offset]) return ((0xff - this[offset] + 1) * -1) } Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 2, this.length) var val = this[offset] | (this[offset + 1] << 8) return (val & 0x8000) ? val | 0xFFFF0000 : val } Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 2, this.length) var val = this[offset + 1] | (this[offset] << 8) return (val & 0x8000) ? val | 0xFFFF0000 : val } Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset]) | (this[offset + 1] << 8) | (this[offset + 2] << 16) | (this[offset + 3] << 24) } Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset] << 24) | (this[offset + 1] << 16) | (this[offset + 2] << 8) | (this[offset + 3]) } Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return ieee754.read(this, offset, true, 23, 4) } Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return ieee754.read(this, offset, false, 23, 4) } Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 8, this.length) return ieee754.read(this, offset, true, 52, 8) } Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 8, this.length) return ieee754.read(this, offset, false, 52, 8) } function checkInt (buf, value, offset, ext, max, min) { if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') if (offset + ext > buf.length) throw new RangeError('Index out of range') } Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { value = +value offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) { var maxBytes = Math.pow(2, 8 * byteLength) - 1 checkInt(this, value, offset, byteLength, maxBytes, 0) } var mul = 1 var i = 0 this[offset] = value & 0xFF while (++i < byteLength && (mul *= 0x100)) { this[offset + i] = (value / mul) & 0xFF } return offset + byteLength } Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) { value = +value offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) { var maxBytes = Math.pow(2, 8 * byteLength) - 1 checkInt(this, value, offset, byteLength, maxBytes, 0) } var i = byteLength - 1 var mul = 1 this[offset + i] = value & 0xFF while (--i >= 0 && (mul *= 0x100)) { this[offset + i] = (value / mul) & 0xFF } return offset + byteLength } Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0) this[offset] = (value & 0xff) return offset + 1 } Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) return offset + 2 } Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) this[offset] = (value >>> 8) this[offset + 1] = (value & 0xff) return offset + 2 } Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) this[offset + 3] = (value >>> 24) this[offset + 2] = (value >>> 16) this[offset + 1] = (value >>> 8) this[offset] = (value & 0xff) return offset + 4 } Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) this[offset] = (value >>> 24) this[offset + 1] = (value >>> 16) this[offset + 2] = (value >>> 8) this[offset + 3] = (value & 0xff) return offset + 4 } Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) { var limit = Math.pow(2, (8 * byteLength) - 1) checkInt(this, value, offset, byteLength, limit - 1, -limit) } var i = 0 var mul = 1 var sub = 0 this[offset] = value & 0xFF while (++i < byteLength && (mul *= 0x100)) { if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { sub = 1 } this[offset + i] = ((value / mul) >> 0) - sub & 0xFF } return offset + byteLength } Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) { var limit = Math.pow(2, (8 * byteLength) - 1) checkInt(this, value, offset, byteLength, limit - 1, -limit) } var i = byteLength - 1 var mul = 1 var sub = 0 this[offset + i] = value & 0xFF while (--i >= 0 && (mul *= 0x100)) { if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { sub = 1 } this[offset + i] = ((value / mul) >> 0) - sub & 0xFF } return offset + byteLength } Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80) if (value < 0) value = 0xff + value + 1 this[offset] = (value & 0xff) return offset + 1 } Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) return offset + 2 } Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) this[offset] = (value >>> 8) this[offset + 1] = (value & 0xff) return offset + 2 } Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) this[offset + 2] = (value >>> 16) this[offset + 3] = (value >>> 24) return offset + 4 } Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) if (value < 0) value = 0xffffffff + value + 1 this[offset] = (value >>> 24) this[offset + 1] = (value >>> 16) this[offset + 2] = (value >>> 8) this[offset + 3] = (value & 0xff) return offset + 4 } function checkIEEE754 (buf, value, offset, ext, max, min) { if (offset + ext > buf.length) throw new RangeError('Index out of range') if (offset < 0) throw new RangeError('Index out of range') } function writeFloat (buf, value, offset, littleEndian, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) { checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) } ieee754.write(buf, value, offset, littleEndian, 23, 4) return offset + 4 } Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { return writeFloat(this, value, offset, true, noAssert) } Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) { return writeFloat(this, value, offset, false, noAssert) } function writeDouble (buf, value, offset, littleEndian, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) { checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308) } ieee754.write(buf, value, offset, littleEndian, 52, 8) return offset + 8 } Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) { return writeDouble(this, value, offset, true, noAssert) } Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) { return writeDouble(this, value, offset, false, noAssert) } Buffer.prototype.copy = function copy (target, targetStart, start, end) { if (!start) start = 0 if (!end && end !== 0) end = this.length if (targetStart >= target.length) targetStart = target.length if (!targetStart) targetStart = 0 if (end > 0 && end < start) end = start if (end === start) return 0 if (target.length === 0 || this.length === 0) return 0 if (targetStart < 0) { throw new RangeError('targetStart out of bounds') } if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds') if (end < 0) throw new RangeError('sourceEnd out of bounds') if (end > this.length) end = this.length if (target.length - targetStart < end - start) { end = target.length - targetStart + start } var len = end - start var i if (this === target && start < targetStart && targetStart < end) { for (i = len - 1; i >= 0; --i) { target[i + targetStart] = this[i + start] } } else if (len < 1000) { for (i = 0; i < len; ++i) { target[i + targetStart] = this[i + start] } } else { Uint8Array.prototype.set.call( target, this.subarray(start, start + len), targetStart ) } return len } Buffer.prototype.fill = function fill (val, start, end, encoding) { if (typeof val === 'string') { if (typeof start === 'string') { encoding = start start = 0 end = this.length } else if (typeof end === 'string') { encoding = end end = this.length } if (val.length === 1) { var code = val.charCodeAt(0) if (code < 256) { val = code } } if (encoding !== undefined && typeof encoding !== 'string') { throw new TypeError('encoding must be a string') } if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) { throw new TypeError('Unknown encoding: ' + encoding) } } else if (typeof val === 'number') { val = val & 255 } if (start < 0 || this.length < start || this.length < end) { throw new RangeError('Out of range index') } if (end <= start) { return this } start = start >>> 0 end = end === undefined ? this.length : end >>> 0 if (!val) val = 0 var i if (typeof val === 'number') { for (i = start; i < end; ++i) { this[i] = val } } else { var bytes = Buffer.isBuffer(val) ? val : new Buffer(val, encoding) var len = bytes.length for (i = 0; i < end - start; ++i) { this[i + start] = bytes[i % len] } } return this } var INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g function base64clean (str) { str = str.trim().replace(INVALID_BASE64_RE, '') if (str.length < 2) return '' while (str.length % 4 !== 0) { str = str + '=' } return str } function toHex (n) { if (n < 16) return '0' + n.toString(16) return n.toString(16) } function utf8ToBytes (string, units) { units = units || Infinity var codePoint var length = string.length var leadSurrogate = null var bytes = [] for (var i = 0; i < length; ++i) { codePoint = string.charCodeAt(i) if (codePoint > 0xD7FF && codePoint < 0xE000) { if (!leadSurrogate) { if (codePoint > 0xDBFF) { if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) continue } else if (i + 1 === length) { if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) continue } leadSurrogate = codePoint continue } if (codePoint < 0xDC00) { if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) leadSurrogate = codePoint continue } codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000 } else if (leadSurrogate) { if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) } leadSurrogate = null if (codePoint < 0x80) { if ((units -= 1) < 0) break bytes.push(codePoint) } else if (codePoint < 0x800) { if ((units -= 2) < 0) break bytes.push( codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80 ) } else if (codePoint < 0x10000) { if ((units -= 3) < 0) break bytes.push( codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80 ) } else if (codePoint < 0x110000) { if ((units -= 4) < 0) break bytes.push( codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80 ) } else { throw new Error('Invalid code point') } } return bytes } function asciiToBytes (str) { var byteArray = [] for (var i = 0; i < str.length; ++i) { byteArray.push(str.charCodeAt(i) & 0xFF) } return byteArray } function utf16leToBytes (str, units) { var c, hi, lo var byteArray = [] for (var i = 0; i < str.length; ++i) { if ((units -= 2) < 0) break c = str.charCodeAt(i) hi = c >> 8 lo = c % 256 byteArray.push(lo) byteArray.push(hi) } return byteArray } function base64ToBytes (str) { return base64.toByteArray(base64clean(str)) } function blitBuffer (src, dst, offset, length) { for (var i = 0; i < length; ++i) { if ((i + offset >= dst.length) || (i >= src.length)) break dst[i + offset] = src[i] } return i } function isArrayBufferView (obj) { return (typeof ArrayBuffer.isView === 'function') && ArrayBuffer.isView(obj) } function numberIsNaN (obj) { return obj !== obj // eslint-disable-line no-self-compare } },{"base64-js":293,"ieee754":304}],297:[function(require,module,exports){ var Buffer = require('buffer').Buffer; var intSize = 4; var zeroBuffer = new Buffer(intSize); zeroBuffer.fill(0); var chrsz = 8; function toArray(buf, bigEndian) { if ((buf.length % intSize) !== 0) { var len = buf.length + (intSize - (buf.length % intSize)); buf = Buffer.concat([buf, zeroBuffer], len); } var arr = []; var fn = bigEndian ? buf.readInt32BE : buf.readInt32LE; for (var i = 0; i < buf.length; i += intSize) { arr.push(fn.call(buf, i)); } return arr; } function toBuffer(arr, size, bigEndian) { var buf = new Buffer(size); var fn = bigEndian ? buf.writeInt32BE : buf.writeInt32LE; for (var i = 0; i < arr.length; i++) { fn.call(buf, arr[i], i * 4, true); } return buf; } function hash(buf, fn, hashSize, bigEndian) { if (!Buffer.isBuffer(buf)) buf = new Buffer(buf); var arr = fn(toArray(buf, bigEndian), buf.length * chrsz); return toBuffer(arr, hashSize, bigEndian); } module.exports = { hash: hash }; },{"buffer":295}],298:[function(require,module,exports){ var Buffer = require('buffer').Buffer var sha = require('./sha') var sha256 = require('./sha256') var rng = require('./rng') var md5 = require('./md5') var algorithms = { sha1: sha, sha256: sha256, md5: md5 } var blocksize = 64 var zeroBuffer = new Buffer(blocksize); zeroBuffer.fill(0) function hmac(fn, key, data) { if(!Buffer.isBuffer(key)) key = new Buffer(key) if(!Buffer.isBuffer(data)) data = new Buffer(data) if(key.length > blocksize) { key = fn(key) } else if(key.length < blocksize) { key = Buffer.concat([key, zeroBuffer], blocksize) } var ipad = new Buffer(blocksize), opad = new Buffer(blocksize) for(var i = 0; i < blocksize; i++) { ipad[i] = key[i] ^ 0x36 opad[i] = key[i] ^ 0x5C } var hash = fn(Buffer.concat([ipad, data])) return fn(Buffer.concat([opad, hash])) } function hash(alg, key) { alg = alg || 'sha1' var fn = algorithms[alg] var bufs = [] var length = 0 if(!fn) error('algorithm:', alg, 'is not yet supported') return { update: function (data) { if(!Buffer.isBuffer(data)) data = new Buffer(data) bufs.push(data) length += data.length return this }, digest: function (enc) { var buf = Buffer.concat(bufs) var r = key ? hmac(fn, key, buf) : fn(buf) bufs = null return enc ? r.toString(enc) : r } } } function error () { var m = [].slice.call(arguments).join(' ') throw new Error([ m, 'we accept pull requests', 'http://github.com/dominictarr/crypto-browserify' ].join('\n')) } exports.createHash = function (alg) { return hash(alg) } exports.createHmac = function (alg, key) { return hash(alg, key) } exports.randomBytes = function(size, callback) { if (callback && callback.call) { try { callback.call(this, undefined, new Buffer(rng(size))) } catch (err) { callback(err) } } else { return new Buffer(rng(size)) } } function each(a, f) { for(var i in a) f(a[i], i) } each(['createCredentials' , 'createCipher' , 'createCipheriv' , 'createDecipher' , 'createDecipheriv' , 'createSign' , 'createVerify' , 'createDiffieHellman' , 'pbkdf2'], function (name) { exports[name] = function () { error('sorry,', name, 'is not implemented yet') } }) },{"./md5":299,"./rng":300,"./sha":301,"./sha256":302,"buffer":295}],299:[function(require,module,exports){ var helpers = require('./helpers'); function md5_vm_test() { return hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72"; } function core_md5(x, len) { x[len >> 5] |= 0x80 << ((len) % 32); x[(((len + 64) >>> 9) << 4) + 14] = len; var a = 1732584193; var b = -271733879; var c = -1732584194; var d = 271733878; for(var i = 0; i < x.length; i += 16) { var olda = a; var oldb = b; var oldc = c; var oldd = d; a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936); d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586); c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819); b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330); a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897); d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426); c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341); b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983); a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416); d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417); c = md5_ff(c, d, a, b, x[i+10], 17, -42063); b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162); a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682); d = md5_ff(d, a, b, c, x[i+13], 12, -40341101); c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290); b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329); a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510); d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632); c = md5_gg(c, d, a, b, x[i+11], 14, 643717713); b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302); a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691); d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083); c = md5_gg(c, d, a, b, x[i+15], 14, -660478335); b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848); a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438); d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690); c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961); b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501); a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467); d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784); c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473); b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734); a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558); d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463); c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562); b = md5_hh(b, c, d, a, x[i+14], 23, -35309556); a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060); d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353); c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632); b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640); a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174); d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222); c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979); b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189); a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487); d = md5_hh(d, a, b, c, x[i+12], 11, -421815835); c = md5_hh(c, d, a, b, x[i+15], 16, 530742520); b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651); a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844); d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415); c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905); b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055); a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571); d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606); c = md5_ii(c, d, a, b, x[i+10], 15, -1051523); b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799); a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359); d = md5_ii(d, a, b, c, x[i+15], 10, -30611744); c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380); b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649); a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070); d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379); c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259); b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551); a = safe_add(a, olda); b = safe_add(b, oldb); c = safe_add(c, oldc); d = safe_add(d, oldd); } return Array(a, b, c, d); } function md5_cmn(q, a, b, x, s, t) { return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b); } function md5_ff(a, b, c, d, x, s, t) { return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t); } function md5_gg(a, b, c, d, x, s, t) { return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t); } function md5_hh(a, b, c, d, x, s, t) { return md5_cmn(b ^ c ^ d, a, b, x, s, t); } function md5_ii(a, b, c, d, x, s, t) { return md5_cmn(c ^ (b | (~d)), a, b, x, s, t); } function safe_add(x, y) { var lsw = (x & 0xFFFF) + (y & 0xFFFF); var msw = (x >> 16) + (y >> 16) + (lsw >> 16); return (msw << 16) | (lsw & 0xFFFF); } function bit_rol(num, cnt) { return (num << cnt) | (num >>> (32 - cnt)); } module.exports = function md5(buf) { return helpers.hash(buf, core_md5, 16); }; },{"./helpers":297}],300:[function(require,module,exports){ (function() { var _global = this; var mathRNG, whatwgRNG; mathRNG = function(size) { var bytes = new Array(size); var r; for (var i = 0, r; i < size; i++) { if ((i & 0x03) == 0) r = Math.random() * 0x100000000; bytes[i] = r >>> ((i & 0x03) << 3) & 0xff; } return bytes; } if (_global.crypto && crypto.getRandomValues) { whatwgRNG = function(size) { var bytes = new Uint8Array(size); crypto.getRandomValues(bytes); return bytes; } } module.exports = whatwgRNG || mathRNG; }()) },{}],301:[function(require,module,exports){ var helpers = require('./helpers'); function core_sha1(x, len) { x[len >> 5] |= 0x80 << (24 - len % 32); x[((len + 64 >> 9) << 4) + 15] = len; var w = Array(80); var a = 1732584193; var b = -271733879; var c = -1732584194; var d = 271733878; var e = -1009589776; for(var i = 0; i < x.length; i += 16) { var olda = a; var oldb = b; var oldc = c; var oldd = d; var olde = e; for(var j = 0; j < 80; j++) { if(j < 16) w[j] = x[i + j]; else w[j] = rol(w[j-3] ^ w[j-8] ^ w[j-14] ^ w[j-16], 1); var t = safe_add(safe_add(rol(a, 5), sha1_ft(j, b, c, d)), safe_add(safe_add(e, w[j]), sha1_kt(j))); e = d; d = c; c = rol(b, 30); b = a; a = t; } a = safe_add(a, olda); b = safe_add(b, oldb); c = safe_add(c, oldc); d = safe_add(d, oldd); e = safe_add(e, olde); } return Array(a, b, c, d, e); } function sha1_ft(t, b, c, d) { if(t < 20) return (b & c) | ((~b) & d); if(t < 40) return b ^ c ^ d; if(t < 60) return (b & c) | (b & d) | (c & d); return b ^ c ^ d; } function sha1_kt(t) { return (t < 20) ? 1518500249 : (t < 40) ? 1859775393 : (t < 60) ? -1894007588 : -899497514; } function safe_add(x, y) { var lsw = (x & 0xFFFF) + (y & 0xFFFF); var msw = (x >> 16) + (y >> 16) + (lsw >> 16); return (msw << 16) | (lsw & 0xFFFF); } function rol(num, cnt) { return (num << cnt) | (num >>> (32 - cnt)); } module.exports = function sha1(buf) { return helpers.hash(buf, core_sha1, 20, true); }; },{"./helpers":297}],302:[function(require,module,exports){ var helpers = require('./helpers'); var safe_add = function(x, y) { var lsw = (x & 0xFFFF) + (y & 0xFFFF); var msw = (x >> 16) + (y >> 16) + (lsw >> 16); return (msw << 16) | (lsw & 0xFFFF); }; var S = function(X, n) { return (X >>> n) | (X << (32 - n)); }; var R = function(X, n) { return (X >>> n); }; var Ch = function(x, y, z) { return ((x & y) ^ ((~x) & z)); }; var Maj = function(x, y, z) { return ((x & y) ^ (x & z) ^ (y & z)); }; var Sigma0256 = function(x) { return (S(x, 2) ^ S(x, 13) ^ S(x, 22)); }; var Sigma1256 = function(x) { return (S(x, 6) ^ S(x, 11) ^ S(x, 25)); }; var Gamma0256 = function(x) { return (S(x, 7) ^ S(x, 18) ^ R(x, 3)); }; var Gamma1256 = function(x) { return (S(x, 17) ^ S(x, 19) ^ R(x, 10)); }; var core_sha256 = function(m, l) { var K = new Array(0x428A2F98,0x71374491,0xB5C0FBCF,0xE9B5DBA5,0x3956C25B,0x59F111F1,0x923F82A4,0xAB1C5ED5,0xD807AA98,0x12835B01,0x243185BE,0x550C7DC3,0x72BE5D74,0x80DEB1FE,0x9BDC06A7,0xC19BF174,0xE49B69C1,0xEFBE4786,0xFC19DC6,0x240CA1CC,0x2DE92C6F,0x4A7484AA,0x5CB0A9DC,0x76F988DA,0x983E5152,0xA831C66D,0xB00327C8,0xBF597FC7,0xC6E00BF3,0xD5A79147,0x6CA6351,0x14292967,0x27B70A85,0x2E1B2138,0x4D2C6DFC,0x53380D13,0x650A7354,0x766A0ABB,0x81C2C92E,0x92722C85,0xA2BFE8A1,0xA81A664B,0xC24B8B70,0xC76C51A3,0xD192E819,0xD6990624,0xF40E3585,0x106AA070,0x19A4C116,0x1E376C08,0x2748774C,0x34B0BCB5,0x391C0CB3,0x4ED8AA4A,0x5B9CCA4F,0x682E6FF3,0x748F82EE,0x78A5636F,0x84C87814,0x8CC70208,0x90BEFFFA,0xA4506CEB,0xBEF9A3F7,0xC67178F2); var HASH = new Array(0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A, 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19); var W = new Array(64); var a, b, c, d, e, f, g, h, i, j; var T1, T2; m[l >> 5] |= 0x80 << (24 - l % 32); m[((l + 64 >> 9) << 4) + 15] = l; for (var i = 0; i < m.length; i += 16) { a = HASH[0]; b = HASH[1]; c = HASH[2]; d = HASH[3]; e = HASH[4]; f = HASH[5]; g = HASH[6]; h = HASH[7]; for (var j = 0; j < 64; j++) { if (j < 16) { W[j] = m[j + i]; } else { W[j] = safe_add(safe_add(safe_add(Gamma1256(W[j - 2]), W[j - 7]), Gamma0256(W[j - 15])), W[j - 16]); } T1 = safe_add(safe_add(safe_add(safe_add(h, Sigma1256(e)), Ch(e, f, g)), K[j]), W[j]); T2 = safe_add(Sigma0256(a), Maj(a, b, c)); h = g; g = f; f = e; e = safe_add(d, T1); d = c; c = b; b = a; a = safe_add(T1, T2); } HASH[0] = safe_add(a, HASH[0]); HASH[1] = safe_add(b, HASH[1]); HASH[2] = safe_add(c, HASH[2]); HASH[3] = safe_add(d, HASH[3]); HASH[4] = safe_add(e, HASH[4]); HASH[5] = safe_add(f, HASH[5]); HASH[6] = safe_add(g, HASH[6]); HASH[7] = safe_add(h, HASH[7]); } return HASH; }; module.exports = function sha256(buf) { return helpers.hash(buf, core_sha256, 32, true); }; },{"./helpers":297}],303:[function(require,module,exports){ function EventEmitter() { this._events = this._events || {}; this._maxListeners = this._maxListeners || undefined; } module.exports = EventEmitter; EventEmitter.EventEmitter = EventEmitter; EventEmitter.prototype._events = undefined; EventEmitter.prototype._maxListeners = undefined; EventEmitter.defaultMaxListeners = 10; EventEmitter.prototype.setMaxListeners = function(n) { if (!isNumber(n) || n < 0 || isNaN(n)) throw TypeError('n must be a positive number'); this._maxListeners = n; return this; }; EventEmitter.prototype.emit = function(type) { var er, handler, len, args, i, listeners; if (!this._events) this._events = {}; if (type === 'error') { if (!this._events.error || (isObject(this._events.error) && !this._events.error.length)) { er = arguments[1]; if (er instanceof Error) { throw er; // Unhandled 'error' event } else { var err = new Error('Uncaught, unspecified "error" event. (' + er + ')'); err.context = er; throw err; } } } handler = this._events[type]; if (isUndefined(handler)) return false; if (isFunction(handler)) { switch (arguments.length) { case 1: handler.call(this); break; case 2: handler.call(this, arguments[1]); break; case 3: handler.call(this, arguments[1], arguments[2]); break; default: args = Array.prototype.slice.call(arguments, 1); handler.apply(this, args); } } else if (isObject(handler)) { args = Array.prototype.slice.call(arguments, 1); listeners = handler.slice(); len = listeners.length; for (i = 0; i < len; i++) listeners[i].apply(this, args); } return true; }; EventEmitter.prototype.addListener = function(type, listener) { var m; if (!isFunction(listener)) throw TypeError('listener must be a function'); if (!this._events) this._events = {}; if (this._events.newListener) this.emit('newListener', type, isFunction(listener.listener) ? listener.listener : listener); if (!this._events[type]) this._events[type] = listener; else if (isObject(this._events[type])) this._events[type].push(listener); else this._events[type] = [this._events[type], listener]; if (isObject(this._events[type]) && !this._events[type].warned) { if (!isUndefined(this._maxListeners)) { m = this._maxListeners; } else { m = EventEmitter.defaultMaxListeners; } if (m && m > 0 && this._events[type].length > m) { this._events[type].warned = true; console.error('(node) warning: possible EventEmitter memory ' + 'leak detected. %d listeners added. ' + 'Use emitter.setMaxListeners() to increase limit.', this._events[type].length); if (typeof console.trace === 'function') { console.trace(); } } } return this; }; EventEmitter.prototype.on = EventEmitter.prototype.addListener; EventEmitter.prototype.once = function(type, listener) { if (!isFunction(listener)) throw TypeError('listener must be a function'); var fired = false; function g() { this.removeListener(type, g); if (!fired) { fired = true; listener.apply(this, arguments); } } g.listener = listener; this.on(type, g); return this; }; EventEmitter.prototype.removeListener = function(type, listener) { var list, position, length, i; if (!isFunction(listener)) throw TypeError('listener must be a function'); if (!this._events || !this._events[type]) return this; list = this._events[type]; length = list.length; position = -1; if (list === listener || (isFunction(list.listener) && list.listener === listener)) { delete this._events[type]; if (this._events.removeListener) this.emit('removeListener', type, listener); } else if (isObject(list)) { for (i = length; i-- > 0;) { if (list[i] === listener || (list[i].listener && list[i].listener === listener)) { position = i; break; } } if (position < 0) return this; if (list.length === 1) { list.length = 0; delete this._events[type]; } else { list.splice(position, 1); } if (this._events.removeListener) this.emit('removeListener', type, listener); } return this; }; EventEmitter.prototype.removeAllListeners = function(type) { var key, listeners; if (!this._events) return this; if (!this._events.removeListener) { if (arguments.length === 0) this._events = {}; else if (this._events[type]) delete this._events[type]; return this; } if (arguments.length === 0) { for (key in this._events) { if (key === 'removeListener') continue; this.removeAllListeners(key); } this.removeAllListeners('removeListener'); this._events = {}; return this; } listeners = this._events[type]; if (isFunction(listeners)) { this.removeListener(type, listeners); } else if (listeners) { while (listeners.length) this.removeListener(type, listeners[listeners.length - 1]); } delete this._events[type]; return this; }; EventEmitter.prototype.listeners = function(type) { var ret; if (!this._events || !this._events[type]) ret = []; else if (isFunction(this._events[type])) ret = [this._events[type]]; else ret = this._events[type].slice(); return ret; }; EventEmitter.prototype.listenerCount = function(type) { if (this._events) { var evlistener = this._events[type]; if (isFunction(evlistener)) return 1; else if (evlistener) return evlistener.length; } return 0; }; EventEmitter.listenerCount = function(emitter, type) { return emitter.listenerCount(type); }; function isFunction(arg) { return typeof arg === 'function'; } function isNumber(arg) { return typeof arg === 'number'; } function isObject(arg) { return typeof arg === 'object' && arg !== null; } function isUndefined(arg) { return arg === void 0; } },{}],304:[function(require,module,exports){ exports.read = function (buffer, offset, isLE, mLen, nBytes) { var e, m var eLen = nBytes * 8 - mLen - 1 var eMax = (1 << eLen) - 1 var eBias = eMax >> 1 var nBits = -7 var i = isLE ? (nBytes - 1) : 0 var d = isLE ? -1 : 1 var s = buffer[offset + i] i += d e = s & ((1 << (-nBits)) - 1) s >>= (-nBits) nBits += eLen for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {} m = e & ((1 << (-nBits)) - 1) e >>= (-nBits) nBits += mLen for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {} if (e === 0) { e = 1 - eBias } else if (e === eMax) { return m ? NaN : ((s ? -1 : 1) * Infinity) } else { m = m + Math.pow(2, mLen) e = e - eBias } return (s ? -1 : 1) * m * Math.pow(2, e - mLen) } exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { var e, m, c var eLen = nBytes * 8 - mLen - 1 var eMax = (1 << eLen) - 1 var eBias = eMax >> 1 var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) var i = isLE ? 0 : (nBytes - 1) var d = isLE ? 1 : -1 var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0 value = Math.abs(value) if (isNaN(value) || value === Infinity) { m = isNaN(value) ? 1 : 0 e = eMax } else { e = Math.floor(Math.log(value) / Math.LN2) if (value * (c = Math.pow(2, -e)) < 1) { e-- c *= 2 } if (e + eBias >= 1) { value += rt / c } else { value += rt * Math.pow(2, 1 - eBias) } if (value * c >= 2) { e++ c /= 2 } if (e + eBias >= eMax) { m = 0 e = eMax } else if (e + eBias >= 1) { m = (value * c - 1) * Math.pow(2, mLen) e = e + eBias } else { m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen) e = 0 } } for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {} e = (e << mLen) | m eLen += mLen for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} buffer[offset + i - d] |= s * 128 } },{}],305:[function(require,module,exports){ var toString = {}.toString; module.exports = Array.isArray || function (arr) { return toString.call(arr) == '[object Array]'; }; },{}],306:[function(require,module,exports){ (function(exports) { "use strict"; function isArray(obj) { if (obj !== null) { return Object.prototype.toString.call(obj) === "[object Array]"; } else { return false; } } function isObject(obj) { if (obj !== null) { return Object.prototype.toString.call(obj) === "[object Object]"; } else { return false; } } function strictDeepEqual(first, second) { if (first === second) { return true; } var firstType = Object.prototype.toString.call(first); if (firstType !== Object.prototype.toString.call(second)) { return false; } if (isArray(first) === true) { if (first.length !== second.length) { return false; } for (var i = 0; i < first.length; i++) { if (strictDeepEqual(first[i], second[i]) === false) { return false; } } return true; } if (isObject(first) === true) { var keysSeen = {}; for (var key in first) { if (hasOwnProperty.call(first, key)) { if (strictDeepEqual(first[key], second[key]) === false) { return false; } keysSeen[key] = true; } } for (var key2 in second) { if (hasOwnProperty.call(second, key2)) { if (keysSeen[key2] !== true) { return false; } } } return true; } return false; } function isFalse(obj) { if (obj === "" || obj === false || obj === null) { return true; } else if (isArray(obj) && obj.length === 0) { return true; } else if (isObject(obj)) { for (var key in obj) { if (obj.hasOwnProperty(key)) { return false; } } return true; } else { return false; } } function objValues(obj) { var keys = Object.keys(obj); var values = []; for (var i = 0; i < keys.length; i++) { values.push(obj[keys[i]]); } return values; } function merge(a, b) { var merged = {}; for (var key in a) { merged[key] = a[key]; } for (var key2 in b) { merged[key2] = b[key2]; } return merged; } var trimLeft; if (typeof String.prototype.trimLeft === "function") { trimLeft = function(str) { return str.trimLeft(); }; } else { trimLeft = function(str) { return str.match(/^\s*(.*)/)[1]; }; } var TYPE_NUMBER = 0; var TYPE_ANY = 1; var TYPE_STRING = 2; var TYPE_ARRAY = 3; var TYPE_OBJECT = 4; var TYPE_BOOLEAN = 5; var TYPE_EXPREF = 6; var TYPE_NULL = 7; var TYPE_ARRAY_NUMBER = 8; var TYPE_ARRAY_STRING = 9; var TOK_EOF = "EOF"; var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier"; var TOK_RBRACKET = "Rbracket"; var TOK_RPAREN = "Rparen"; var TOK_COMMA = "Comma"; var TOK_COLON = "Colon"; var TOK_RBRACE = "Rbrace"; var TOK_NUMBER = "Number"; var TOK_CURRENT = "Current"; var TOK_EXPREF = "Expref"; var TOK_PIPE = "Pipe"; var TOK_OR = "Or"; var TOK_AND = "And"; var TOK_EQ = "EQ"; var TOK_GT = "GT"; var TOK_LT = "LT"; var TOK_GTE = "GTE"; var TOK_LTE = "LTE"; var TOK_NE = "NE"; var TOK_FLATTEN = "Flatten"; var TOK_STAR = "Star"; var TOK_FILTER = "Filter"; var TOK_DOT = "Dot"; var TOK_NOT = "Not"; var TOK_LBRACE = "Lbrace"; var TOK_LBRACKET = "Lbracket"; var TOK_LPAREN= "Lparen"; var TOK_LITERAL= "Literal"; var basicTokens = { ".": TOK_DOT, "*": TOK_STAR, ",": TOK_COMMA, ":": TOK_COLON, "{": TOK_LBRACE, "}": TOK_RBRACE, "]": TOK_RBRACKET, "(": TOK_LPAREN, ")": TOK_RPAREN, "@": TOK_CURRENT }; var operatorStartToken = { "<": true, ">": true, "=": true, "!": true }; var skipChars = { " ": true, "\t": true, "\n": true }; function isAlpha(ch) { return (ch >= "a" && ch <= "z") || (ch >= "A" && ch <= "Z") || ch === "_"; } function isNum(ch) { return (ch >= "0" && ch <= "9") || ch === "-"; } function isAlphaNum(ch) { return (ch >= "a" && ch <= "z") || (ch >= "A" && ch <= "Z") || (ch >= "0" && ch <= "9") || ch === "_"; } function Lexer() { } Lexer.prototype = { tokenize: function(stream) { var tokens = []; this._current = 0; var start; var identifier; var token; while (this._current < stream.length) { if (isAlpha(stream[this._current])) { start = this._current; identifier = this._consumeUnquotedIdentifier(stream); tokens.push({type: TOK_UNQUOTEDIDENTIFIER, value: identifier, start: start}); } else if (basicTokens[stream[this._current]] !== undefined) { tokens.push({type: basicTokens[stream[this._current]], value: stream[this._current], start: this._current}); this._current++; } else if (isNum(stream[this._current])) { token = this._consumeNumber(stream); tokens.push(token); } else if (stream[this._current] === "[") { token = this._consumeLBracket(stream); tokens.push(token); } else if (stream[this._current] === "\"") { start = this._current; identifier = this._consumeQuotedIdentifier(stream); tokens.push({type: TOK_QUOTEDIDENTIFIER, value: identifier, start: start}); } else if (stream[this._current] === "'") { start = this._current; identifier = this._consumeRawStringLiteral(stream); tokens.push({type: TOK_LITERAL, value: identifier, start: start}); } else if (stream[this._current] === "`") { start = this._current; var literal = this._consumeLiteral(stream); tokens.push({type: TOK_LITERAL, value: literal, start: start}); } else if (operatorStartToken[stream[this._current]] !== undefined) { tokens.push(this._consumeOperator(stream)); } else if (skipChars[stream[this._current]] !== undefined) { this._current++; } else if (stream[this._current] === "&") { start = this._current; this._current++; if (stream[this._current] === "&") { this._current++; tokens.push({type: TOK_AND, value: "&&", start: start}); } else { tokens.push({type: TOK_EXPREF, value: "&", start: start}); } } else if (stream[this._current] === "|") { start = this._current; this._current++; if (stream[this._current] === "|") { this._current++; tokens.push({type: TOK_OR, value: "||", start: start}); } else { tokens.push({type: TOK_PIPE, value: "|", start: start}); } } else { var error = new Error("Unknown character:" + stream[this._current]); error.name = "LexerError"; throw error; } } return tokens; }, _consumeUnquotedIdentifier: function(stream) { var start = this._current; this._current++; while (this._current < stream.length && isAlphaNum(stream[this._current])) { this._current++; } return stream.slice(start, this._current); }, _consumeQuotedIdentifier: function(stream) { var start = this._current; this._current++; var maxLength = stream.length; while (stream[this._current] !== "\"" && this._current < maxLength) { var current = this._current; if (stream[current] === "\\" && (stream[current + 1] === "\\" || stream[current + 1] === "\"")) { current += 2; } else { current++; } this._current = current; } this._current++; return JSON.parse(stream.slice(start, this._current)); }, _consumeRawStringLiteral: function(stream) { var start = this._current; this._current++; var maxLength = stream.length; while (stream[this._current] !== "'" && this._current < maxLength) { var current = this._current; if (stream[current] === "\\" && (stream[current + 1] === "\\" || stream[current + 1] === "'")) { current += 2; } else { current++; } this._current = current; } this._current++; var literal = stream.slice(start + 1, this._current - 1); return literal.replace("\\'", "'"); }, _consumeNumber: function(stream) { var start = this._current; this._current++; var maxLength = stream.length; while (isNum(stream[this._current]) && this._current < maxLength) { this._current++; } var value = parseInt(stream.slice(start, this._current)); return {type: TOK_NUMBER, value: value, start: start}; }, _consumeLBracket: function(stream) { var start = this._current; this._current++; if (stream[this._current] === "?") { this._current++; return {type: TOK_FILTER, value: "[?", start: start}; } else if (stream[this._current] === "]") { this._current++; return {type: TOK_FLATTEN, value: "[]", start: start}; } else { return {type: TOK_LBRACKET, value: "[", start: start}; } }, _consumeOperator: function(stream) { var start = this._current; var startingChar = stream[start]; this._current++; if (startingChar === "!") { if (stream[this._current] === "=") { this._current++; return {type: TOK_NE, value: "!=", start: start}; } else { return {type: TOK_NOT, value: "!", start: start}; } } else if (startingChar === "<") { if (stream[this._current] === "=") { this._current++; return {type: TOK_LTE, value: "<=", start: start}; } else { return {type: TOK_LT, value: "<", start: start}; } } else if (startingChar === ">") { if (stream[this._current] === "=") { this._current++; return {type: TOK_GTE, value: ">=", start: start}; } else { return {type: TOK_GT, value: ">", start: start}; } } else if (startingChar === "=") { if (stream[this._current] === "=") { this._current++; return {type: TOK_EQ, value: "==", start: start}; } } }, _consumeLiteral: function(stream) { this._current++; var start = this._current; var maxLength = stream.length; var literal; while(stream[this._current] !== "`" && this._current < maxLength) { var current = this._current; if (stream[current] === "\\" && (stream[current + 1] === "\\" || stream[current + 1] === "`")) { current += 2; } else { current++; } this._current = current; } var literalString = trimLeft(stream.slice(start, this._current)); literalString = literalString.replace("\\`", "`"); if (this._looksLikeJSON(literalString)) { literal = JSON.parse(literalString); } else { literal = JSON.parse("\"" + literalString + "\""); } this._current++; return literal; }, _looksLikeJSON: function(literalString) { var startingChars = "[{\""; var jsonLiterals = ["true", "false", "null"]; var numberLooking = "-0123456789"; if (literalString === "") { return false; } else if (startingChars.indexOf(literalString[0]) >= 0) { return true; } else if (jsonLiterals.indexOf(literalString) >= 0) { return true; } else if (numberLooking.indexOf(literalString[0]) >= 0) { try { JSON.parse(literalString); return true; } catch (ex) { return false; } } else { return false; } } }; var bindingPower = {}; bindingPower[TOK_EOF] = 0; bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0; bindingPower[TOK_QUOTEDIDENTIFIER] = 0; bindingPower[TOK_RBRACKET] = 0; bindingPower[TOK_RPAREN] = 0; bindingPower[TOK_COMMA] = 0; bindingPower[TOK_RBRACE] = 0; bindingPower[TOK_NUMBER] = 0; bindingPower[TOK_CURRENT] = 0; bindingPower[TOK_EXPREF] = 0; bindingPower[TOK_PIPE] = 1; bindingPower[TOK_OR] = 2; bindingPower[TOK_AND] = 3; bindingPower[TOK_EQ] = 5; bindingPower[TOK_GT] = 5; bindingPower[TOK_LT] = 5; bindingPower[TOK_GTE] = 5; bindingPower[TOK_LTE] = 5; bindingPower[TOK_NE] = 5; bindingPower[TOK_FLATTEN] = 9; bindingPower[TOK_STAR] = 20; bindingPower[TOK_FILTER] = 21; bindingPower[TOK_DOT] = 40; bindingPower[TOK_NOT] = 45; bindingPower[TOK_LBRACE] = 50; bindingPower[TOK_LBRACKET] = 55; bindingPower[TOK_LPAREN] = 60; function Parser() { } Parser.prototype = { parse: function(expression) { this._loadTokens(expression); this.index = 0; var ast = this.expression(0); if (this._lookahead(0) !== TOK_EOF) { var t = this._lookaheadToken(0); var error = new Error( "Unexpected token type: " + t.type + ", value: " + t.value); error.name = "ParserError"; throw error; } return ast; }, _loadTokens: function(expression) { var lexer = new Lexer(); var tokens = lexer.tokenize(expression); tokens.push({type: TOK_EOF, value: "", start: expression.length}); this.tokens = tokens; }, expression: function(rbp) { var leftToken = this._lookaheadToken(0); this._advance(); var left = this.nud(leftToken); var currentToken = this._lookahead(0); while (rbp < bindingPower[currentToken]) { this._advance(); left = this.led(currentToken, left); currentToken = this._lookahead(0); } return left; }, _lookahead: function(number) { return this.tokens[this.index + number].type; }, _lookaheadToken: function(number) { return this.tokens[this.index + number]; }, _advance: function() { this.index++; }, nud: function(token) { var left; var right; var expression; switch (token.type) { case TOK_LITERAL: return {type: "Literal", value: token.value}; case TOK_UNQUOTEDIDENTIFIER: return {type: "Field", name: token.value}; case TOK_QUOTEDIDENTIFIER: var node = {type: "Field", name: token.value}; if (this._lookahead(0) === TOK_LPAREN) { throw new Error("Quoted identifier not allowed for function names."); } else { return node; } break; case TOK_NOT: right = this.expression(bindingPower.Not); return {type: "NotExpression", children: [right]}; case TOK_STAR: left = {type: "Identity"}; right = null; if (this._lookahead(0) === TOK_RBRACKET) { right = {type: "Identity"}; } else { right = this._parseProjectionRHS(bindingPower.Star); } return {type: "ValueProjection", children: [left, right]}; case TOK_FILTER: return this.led(token.type, {type: "Identity"}); case TOK_LBRACE: return this._parseMultiselectHash(); case TOK_FLATTEN: left = {type: TOK_FLATTEN, children: [{type: "Identity"}]}; right = this._parseProjectionRHS(bindingPower.Flatten); return {type: "Projection", children: [left, right]}; case TOK_LBRACKET: if (this._lookahead(0) === TOK_NUMBER || this._lookahead(0) === TOK_COLON) { right = this._parseIndexExpression(); return this._projectIfSlice({type: "Identity"}, right); } else if (this._lookahead(0) === TOK_STAR && this._lookahead(1) === TOK_RBRACKET) { this._advance(); this._advance(); right = this._parseProjectionRHS(bindingPower.Star); return {type: "Projection", children: [{type: "Identity"}, right]}; } else { return this._parseMultiselectList(); } break; case TOK_CURRENT: return {type: TOK_CURRENT}; case TOK_EXPREF: expression = this.expression(bindingPower.Expref); return {type: "ExpressionReference", children: [expression]}; case TOK_LPAREN: var args = []; while (this._lookahead(0) !== TOK_RPAREN) { if (this._lookahead(0) === TOK_CURRENT) { expression = {type: TOK_CURRENT}; this._advance(); } else { expression = this.expression(0); } args.push(expression); } this._match(TOK_RPAREN); return args[0]; default: this._errorToken(token); } }, led: function(tokenName, left) { var right; switch(tokenName) { case TOK_DOT: var rbp = bindingPower.Dot; if (this._lookahead(0) !== TOK_STAR) { right = this._parseDotRHS(rbp); return {type: "Subexpression", children: [left, right]}; } else { this._advance(); right = this._parseProjectionRHS(rbp); return {type: "ValueProjection", children: [left, right]}; } break; case TOK_PIPE: right = this.expression(bindingPower.Pipe); return {type: TOK_PIPE, children: [left, right]}; case TOK_OR: right = this.expression(bindingPower.Or); return {type: "OrExpression", children: [left, right]}; case TOK_AND: right = this.expression(bindingPower.And); return {type: "AndExpression", children: [left, right]}; case TOK_LPAREN: var name = left.name; var args = []; var expression, node; while (this._lookahead(0) !== TOK_RPAREN) { if (this._lookahead(0) === TOK_CURRENT) { expression = {type: TOK_CURRENT}; this._advance(); } else { expression = this.expression(0); } if (this._lookahead(0) === TOK_COMMA) { this._match(TOK_COMMA); } args.push(expression); } this._match(TOK_RPAREN); node = {type: "Function", name: name, children: args}; return node; case TOK_FILTER: var condition = this.expression(0); this._match(TOK_RBRACKET); if (this._lookahead(0) === TOK_FLATTEN) { right = {type: "Identity"}; } else { right = this._parseProjectionRHS(bindingPower.Filter); } return {type: "FilterProjection", children: [left, right, condition]}; case TOK_FLATTEN: var leftNode = {type: TOK_FLATTEN, children: [left]}; var rightNode = this._parseProjectionRHS(bindingPower.Flatten); return {type: "Projection", children: [leftNode, rightNode]}; case TOK_EQ: case TOK_NE: case TOK_GT: case TOK_GTE: case TOK_LT: case TOK_LTE: return this._parseComparator(left, tokenName); case TOK_LBRACKET: var token = this._lookaheadToken(0); if (token.type === TOK_NUMBER || token.type === TOK_COLON) { right = this._parseIndexExpression(); return this._projectIfSlice(left, right); } else { this._match(TOK_STAR); this._match(TOK_RBRACKET); right = this._parseProjectionRHS(bindingPower.Star); return {type: "Projection", children: [left, right]}; } break; default: this._errorToken(this._lookaheadToken(0)); } }, _match: function(tokenType) { if (this._lookahead(0) === tokenType) { this._advance(); } else { var t = this._lookaheadToken(0); var error = new Error("Expected " + tokenType + ", got: " + t.type); error.name = "ParserError"; throw error; } }, _errorToken: function(token) { var error = new Error("Invalid token (" + token.type + "): \"" + token.value + "\""); error.name = "ParserError"; throw error; }, _parseIndexExpression: function() { if (this._lookahead(0) === TOK_COLON || this._lookahead(1) === TOK_COLON) { return this._parseSliceExpression(); } else { var node = { type: "Index", value: this._lookaheadToken(0).value}; this._advance(); this._match(TOK_RBRACKET); return node; } }, _projectIfSlice: function(left, right) { var indexExpr = {type: "IndexExpression", children: [left, right]}; if (right.type === "Slice") { return { type: "Projection", children: [indexExpr, this._parseProjectionRHS(bindingPower.Star)] }; } else { return indexExpr; } }, _parseSliceExpression: function() { var parts = [null, null, null]; var index = 0; var currentToken = this._lookahead(0); while (currentToken !== TOK_RBRACKET && index < 3) { if (currentToken === TOK_COLON) { index++; this._advance(); } else if (currentToken === TOK_NUMBER) { parts[index] = this._lookaheadToken(0).value; this._advance(); } else { var t = this._lookahead(0); var error = new Error("Syntax error, unexpected token: " + t.value + "(" + t.type + ")"); error.name = "Parsererror"; throw error; } currentToken = this._lookahead(0); } this._match(TOK_RBRACKET); return { type: "Slice", children: parts }; }, _parseComparator: function(left, comparator) { var right = this.expression(bindingPower[comparator]); return {type: "Comparator", name: comparator, children: [left, right]}; }, _parseDotRHS: function(rbp) { var lookahead = this._lookahead(0); var exprTokens = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER, TOK_STAR]; if (exprTokens.indexOf(lookahead) >= 0) { return this.expression(rbp); } else if (lookahead === TOK_LBRACKET) { this._match(TOK_LBRACKET); return this._parseMultiselectList(); } else if (lookahead === TOK_LBRACE) { this._match(TOK_LBRACE); return this._parseMultiselectHash(); } }, _parseProjectionRHS: function(rbp) { var right; if (bindingPower[this._lookahead(0)] < 10) { right = {type: "Identity"}; } else if (this._lookahead(0) === TOK_LBRACKET) { right = this.expression(rbp); } else if (this._lookahead(0) === TOK_FILTER) { right = this.expression(rbp); } else if (this._lookahead(0) === TOK_DOT) { this._match(TOK_DOT); right = this._parseDotRHS(rbp); } else { var t = this._lookaheadToken(0); var error = new Error("Sytanx error, unexpected token: " + t.value + "(" + t.type + ")"); error.name = "ParserError"; throw error; } return right; }, _parseMultiselectList: function() { var expressions = []; while (this._lookahead(0) !== TOK_RBRACKET) { var expression = this.expression(0); expressions.push(expression); if (this._lookahead(0) === TOK_COMMA) { this._match(TOK_COMMA); if (this._lookahead(0) === TOK_RBRACKET) { throw new Error("Unexpected token Rbracket"); } } } this._match(TOK_RBRACKET); return {type: "MultiSelectList", children: expressions}; }, _parseMultiselectHash: function() { var pairs = []; var identifierTypes = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER]; var keyToken, keyName, value, node; for (;;) { keyToken = this._lookaheadToken(0); if (identifierTypes.indexOf(keyToken.type) < 0) { throw new Error("Expecting an identifier token, got: " + keyToken.type); } keyName = keyToken.value; this._advance(); this._match(TOK_COLON); value = this.expression(0); node = {type: "KeyValuePair", name: keyName, value: value}; pairs.push(node); if (this._lookahead(0) === TOK_COMMA) { this._match(TOK_COMMA); } else if (this._lookahead(0) === TOK_RBRACE) { this._match(TOK_RBRACE); break; } } return {type: "MultiSelectHash", children: pairs}; } }; function TreeInterpreter(runtime) { this.runtime = runtime; } TreeInterpreter.prototype = { search: function(node, value) { return this.visit(node, value); }, visit: function(node, value) { var matched, current, result, first, second, field, left, right, collected, i; switch (node.type) { case "Field": if (value === null ) { return null; } else if (isObject(value)) { field = value[node.name]; if (field === undefined) { return null; } else { return field; } } else { return null; } break; case "Subexpression": result = this.visit(node.children[0], value); for (i = 1; i < node.children.length; i++) { result = this.visit(node.children[1], result); if (result === null) { return null; } } return result; case "IndexExpression": left = this.visit(node.children[0], value); right = this.visit(node.children[1], left); return right; case "Index": if (!isArray(value)) { return null; } var index = node.value; if (index < 0) { index = value.length + index; } result = value[index]; if (result === undefined) { result = null; } return result; case "Slice": if (!isArray(value)) { return null; } var sliceParams = node.children.slice(0); var computed = this.computeSliceParams(value.length, sliceParams); var start = computed[0]; var stop = computed[1]; var step = computed[2]; result = []; if (step > 0) { for (i = start; i < stop; i += step) { result.push(value[i]); } } else { for (i = start; i > stop; i += step) { result.push(value[i]); } } return result; case "Projection": var base = this.visit(node.children[0], value); if (!isArray(base)) { return null; } collected = []; for (i = 0; i < base.length; i++) { current = this.visit(node.children[1], base[i]); if (current !== null) { collected.push(current); } } return collected; case "ValueProjection": base = this.visit(node.children[0], value); if (!isObject(base)) { return null; } collected = []; var values = objValues(base); for (i = 0; i < values.length; i++) { current = this.visit(node.children[1], values[i]); if (current !== null) { collected.push(current); } } return collected; case "FilterProjection": base = this.visit(node.children[0], value); if (!isArray(base)) { return null; } var filtered = []; var finalResults = []; for (i = 0; i < base.length; i++) { matched = this.visit(node.children[2], base[i]); if (!isFalse(matched)) { filtered.push(base[i]); } } for (var j = 0; j < filtered.length; j++) { current = this.visit(node.children[1], filtered[j]); if (current !== null) { finalResults.push(current); } } return finalResults; case "Comparator": first = this.visit(node.children[0], value); second = this.visit(node.children[1], value); switch(node.name) { case TOK_EQ: result = strictDeepEqual(first, second); break; case TOK_NE: result = !strictDeepEqual(first, second); break; case TOK_GT: result = first > second; break; case TOK_GTE: result = first >= second; break; case TOK_LT: result = first < second; break; case TOK_LTE: result = first <= second; break; default: throw new Error("Unknown comparator: " + node.name); } return result; case TOK_FLATTEN: var original = this.visit(node.children[0], value); if (!isArray(original)) { return null; } var merged = []; for (i = 0; i < original.length; i++) { current = original[i]; if (isArray(current)) { merged.push.apply(merged, current); } else { merged.push(current); } } return merged; case "Identity": return value; case "MultiSelectList": if (value === null) { return null; } collected = []; for (i = 0; i < node.children.length; i++) { collected.push(this.visit(node.children[i], value)); } return collected; case "MultiSelectHash": if (value === null) { return null; } collected = {}; var child; for (i = 0; i < node.children.length; i++) { child = node.children[i]; collected[child.name] = this.visit(child.value, value); } return collected; case "OrExpression": matched = this.visit(node.children[0], value); if (isFalse(matched)) { matched = this.visit(node.children[1], value); } return matched; case "AndExpression": first = this.visit(node.children[0], value); if (isFalse(first) === true) { return first; } return this.visit(node.children[1], value); case "NotExpression": first = this.visit(node.children[0], value); return isFalse(first); case "Literal": return node.value; case TOK_PIPE: left = this.visit(node.children[0], value); return this.visit(node.children[1], left); case TOK_CURRENT: return value; case "Function": var resolvedArgs = []; for (i = 0; i < node.children.length; i++) { resolvedArgs.push(this.visit(node.children[i], value)); } return this.runtime.callFunction(node.name, resolvedArgs); case "ExpressionReference": var refNode = node.children[0]; refNode.jmespathType = TOK_EXPREF; return refNode; default: throw new Error("Unknown node type: " + node.type); } }, computeSliceParams: function(arrayLength, sliceParams) { var start = sliceParams[0]; var stop = sliceParams[1]; var step = sliceParams[2]; var computed = [null, null, null]; if (step === null) { step = 1; } else if (step === 0) { var error = new Error("Invalid slice, step cannot be 0"); error.name = "RuntimeError"; throw error; } var stepValueNegative = step < 0 ? true : false; if (start === null) { start = stepValueNegative ? arrayLength - 1 : 0; } else { start = this.capSliceRange(arrayLength, start, step); } if (stop === null) { stop = stepValueNegative ? -1 : arrayLength; } else { stop = this.capSliceRange(arrayLength, stop, step); } computed[0] = start; computed[1] = stop; computed[2] = step; return computed; }, capSliceRange: function(arrayLength, actualValue, step) { if (actualValue < 0) { actualValue += arrayLength; if (actualValue < 0) { actualValue = step < 0 ? -1 : 0; } } else if (actualValue >= arrayLength) { actualValue = step < 0 ? arrayLength - 1 : arrayLength; } return actualValue; } }; function Runtime(interpreter) { this._interpreter = interpreter; this.functionTable = { abs: {_func: this._functionAbs, _signature: [{types: [TYPE_NUMBER]}]}, avg: {_func: this._functionAvg, _signature: [{types: [TYPE_ARRAY_NUMBER]}]}, ceil: {_func: this._functionCeil, _signature: [{types: [TYPE_NUMBER]}]}, contains: { _func: this._functionContains, _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}, {types: [TYPE_ANY]}]}, "ends_with": { _func: this._functionEndsWith, _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]}, floor: {_func: this._functionFloor, _signature: [{types: [TYPE_NUMBER]}]}, length: { _func: this._functionLength, _signature: [{types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT]}]}, map: { _func: this._functionMap, _signature: [{types: [TYPE_EXPREF]}, {types: [TYPE_ARRAY]}]}, max: { _func: this._functionMax, _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]}, "merge": { _func: this._functionMerge, _signature: [{types: [TYPE_OBJECT], variadic: true}] }, "max_by": { _func: this._functionMaxBy, _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] }, sum: {_func: this._functionSum, _signature: [{types: [TYPE_ARRAY_NUMBER]}]}, "starts_with": { _func: this._functionStartsWith, _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]}, min: { _func: this._functionMin, _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]}, "min_by": { _func: this._functionMinBy, _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] }, type: {_func: this._functionType, _signature: [{types: [TYPE_ANY]}]}, keys: {_func: this._functionKeys, _signature: [{types: [TYPE_OBJECT]}]}, values: {_func: this._functionValues, _signature: [{types: [TYPE_OBJECT]}]}, sort: {_func: this._functionSort, _signature: [{types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER]}]}, "sort_by": { _func: this._functionSortBy, _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] }, join: { _func: this._functionJoin, _signature: [ {types: [TYPE_STRING]}, {types: [TYPE_ARRAY_STRING]} ] }, reverse: { _func: this._functionReverse, _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}]}, "to_array": {_func: this._functionToArray, _signature: [{types: [TYPE_ANY]}]}, "to_string": {_func: this._functionToString, _signature: [{types: [TYPE_ANY]}]}, "to_number": {_func: this._functionToNumber, _signature: [{types: [TYPE_ANY]}]}, "not_null": { _func: this._functionNotNull, _signature: [{types: [TYPE_ANY], variadic: true}] } }; } Runtime.prototype = { callFunction: function(name, resolvedArgs) { var functionEntry = this.functionTable[name]; if (functionEntry === undefined) { throw new Error("Unknown function: " + name + "()"); } this._validateArgs(name, resolvedArgs, functionEntry._signature); return functionEntry._func.call(this, resolvedArgs); }, _validateArgs: function(name, args, signature) { var pluralized; if (signature[signature.length - 1].variadic) { if (args.length < signature.length) { pluralized = signature.length === 1 ? " argument" : " arguments"; throw new Error("ArgumentError: " + name + "() " + "takes at least" + signature.length + pluralized + " but received " + args.length); } } else if (args.length !== signature.length) { pluralized = signature.length === 1 ? " argument" : " arguments"; throw new Error("ArgumentError: " + name + "() " + "takes " + signature.length + pluralized + " but received " + args.length); } var currentSpec; var actualType; var typeMatched; for (var i = 0; i < signature.length; i++) { typeMatched = false; currentSpec = signature[i].types; actualType = this._getTypeName(args[i]); for (var j = 0; j < currentSpec.length; j++) { if (this._typeMatches(actualType, currentSpec[j], args[i])) { typeMatched = true; break; } } if (!typeMatched) { throw new Error("TypeError: " + name + "() " + "expected argument " + (i + 1) + " to be type " + currentSpec + " but received type " + actualType + " instead."); } } }, _typeMatches: function(actual, expected, argValue) { if (expected === TYPE_ANY) { return true; } if (expected === TYPE_ARRAY_STRING || expected === TYPE_ARRAY_NUMBER || expected === TYPE_ARRAY) { if (expected === TYPE_ARRAY) { return actual === TYPE_ARRAY; } else if (actual === TYPE_ARRAY) { var subtype; if (expected === TYPE_ARRAY_NUMBER) { subtype = TYPE_NUMBER; } else if (expected === TYPE_ARRAY_STRING) { subtype = TYPE_STRING; } for (var i = 0; i < argValue.length; i++) { if (!this._typeMatches( this._getTypeName(argValue[i]), subtype, argValue[i])) { return false; } } return true; } } else { return actual === expected; } }, _getTypeName: function(obj) { switch (Object.prototype.toString.call(obj)) { case "[object String]": return TYPE_STRING; case "[object Number]": return TYPE_NUMBER; case "[object Array]": return TYPE_ARRAY; case "[object Boolean]": return TYPE_BOOLEAN; case "[object Null]": return TYPE_NULL; case "[object Object]": if (obj.jmespathType === TOK_EXPREF) { return TYPE_EXPREF; } else { return TYPE_OBJECT; } } }, _functionStartsWith: function(resolvedArgs) { return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0; }, _functionEndsWith: function(resolvedArgs) { var searchStr = resolvedArgs[0]; var suffix = resolvedArgs[1]; return searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1; }, _functionReverse: function(resolvedArgs) { var typeName = this._getTypeName(resolvedArgs[0]); if (typeName === TYPE_STRING) { var originalStr = resolvedArgs[0]; var reversedStr = ""; for (var i = originalStr.length - 1; i >= 0; i--) { reversedStr += originalStr[i]; } return reversedStr; } else { var reversedArray = resolvedArgs[0].slice(0); reversedArray.reverse(); return reversedArray; } }, _functionAbs: function(resolvedArgs) { return Math.abs(resolvedArgs[0]); }, _functionCeil: function(resolvedArgs) { return Math.ceil(resolvedArgs[0]); }, _functionAvg: function(resolvedArgs) { var sum = 0; var inputArray = resolvedArgs[0]; for (var i = 0; i < inputArray.length; i++) { sum += inputArray[i]; } return sum / inputArray.length; }, _functionContains: function(resolvedArgs) { return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0; }, _functionFloor: function(resolvedArgs) { return Math.floor(resolvedArgs[0]); }, _functionLength: function(resolvedArgs) { if (!isObject(resolvedArgs[0])) { return resolvedArgs[0].length; } else { return Object.keys(resolvedArgs[0]).length; } }, _functionMap: function(resolvedArgs) { var mapped = []; var interpreter = this._interpreter; var exprefNode = resolvedArgs[0]; var elements = resolvedArgs[1]; for (var i = 0; i < elements.length; i++) { mapped.push(interpreter.visit(exprefNode, elements[i])); } return mapped; }, _functionMerge: function(resolvedArgs) { var merged = {}; for (var i = 0; i < resolvedArgs.length; i++) { var current = resolvedArgs[i]; for (var key in current) { merged[key] = current[key]; } } return merged; }, _functionMax: function(resolvedArgs) { if (resolvedArgs[0].length > 0) { var typeName = this._getTypeName(resolvedArgs[0][0]); if (typeName === TYPE_NUMBER) { return Math.max.apply(Math, resolvedArgs[0]); } else { var elements = resolvedArgs[0]; var maxElement = elements[0]; for (var i = 1; i < elements.length; i++) { if (maxElement.localeCompare(elements[i]) < 0) { maxElement = elements[i]; } } return maxElement; } } else { return null; } }, _functionMin: function(resolvedArgs) { if (resolvedArgs[0].length > 0) { var typeName = this._getTypeName(resolvedArgs[0][0]); if (typeName === TYPE_NUMBER) { return Math.min.apply(Math, resolvedArgs[0]); } else { var elements = resolvedArgs[0]; var minElement = elements[0]; for (var i = 1; i < elements.length; i++) { if (elements[i].localeCompare(minElement) < 0) { minElement = elements[i]; } } return minElement; } } else { return null; } }, _functionSum: function(resolvedArgs) { var sum = 0; var listToSum = resolvedArgs[0]; for (var i = 0; i < listToSum.length; i++) { sum += listToSum[i]; } return sum; }, _functionType: function(resolvedArgs) { switch (this._getTypeName(resolvedArgs[0])) { case TYPE_NUMBER: return "number"; case TYPE_STRING: return "string"; case TYPE_ARRAY: return "array"; case TYPE_OBJECT: return "object"; case TYPE_BOOLEAN: return "boolean"; case TYPE_EXPREF: return "expref"; case TYPE_NULL: return "null"; } }, _functionKeys: function(resolvedArgs) { return Object.keys(resolvedArgs[0]); }, _functionValues: function(resolvedArgs) { var obj = resolvedArgs[0]; var keys = Object.keys(obj); var values = []; for (var i = 0; i < keys.length; i++) { values.push(obj[keys[i]]); } return values; }, _functionJoin: function(resolvedArgs) { var joinChar = resolvedArgs[0]; var listJoin = resolvedArgs[1]; return listJoin.join(joinChar); }, _functionToArray: function(resolvedArgs) { if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) { return resolvedArgs[0]; } else { return [resolvedArgs[0]]; } }, _functionToString: function(resolvedArgs) { if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) { return resolvedArgs[0]; } else { return JSON.stringify(resolvedArgs[0]); } }, _functionToNumber: function(resolvedArgs) { var typeName = this._getTypeName(resolvedArgs[0]); var convertedValue; if (typeName === TYPE_NUMBER) { return resolvedArgs[0]; } else if (typeName === TYPE_STRING) { convertedValue = +resolvedArgs[0]; if (!isNaN(convertedValue)) { return convertedValue; } } return null; }, _functionNotNull: function(resolvedArgs) { for (var i = 0; i < resolvedArgs.length; i++) { if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) { return resolvedArgs[i]; } } return null; }, _functionSort: function(resolvedArgs) { var sortedArray = resolvedArgs[0].slice(0); sortedArray.sort(); return sortedArray; }, _functionSortBy: function(resolvedArgs) { var sortedArray = resolvedArgs[0].slice(0); if (sortedArray.length === 0) { return sortedArray; } var interpreter = this._interpreter; var exprefNode = resolvedArgs[1]; var requiredType = this._getTypeName( interpreter.visit(exprefNode, sortedArray[0])); if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) { throw new Error("TypeError"); } var that = this; var decorated = []; for (var i = 0; i < sortedArray.length; i++) { decorated.push([i, sortedArray[i]]); } decorated.sort(function(a, b) { var exprA = interpreter.visit(exprefNode, a[1]); var exprB = interpreter.visit(exprefNode, b[1]); if (that._getTypeName(exprA) !== requiredType) { throw new Error( "TypeError: expected " + requiredType + ", received " + that._getTypeName(exprA)); } else if (that._getTypeName(exprB) !== requiredType) { throw new Error( "TypeError: expected " + requiredType + ", received " + that._getTypeName(exprB)); } if (exprA > exprB) { return 1; } else if (exprA < exprB) { return -1; } else { return a[0] - b[0]; } }); for (var j = 0; j < decorated.length; j++) { sortedArray[j] = decorated[j][1]; } return sortedArray; }, _functionMaxBy: function(resolvedArgs) { var exprefNode = resolvedArgs[1]; var resolvedArray = resolvedArgs[0]; var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]); var maxNumber = -Infinity; var maxRecord; var current; for (var i = 0; i < resolvedArray.length; i++) { current = keyFunction(resolvedArray[i]); if (current > maxNumber) { maxNumber = current; maxRecord = resolvedArray[i]; } } return maxRecord; }, _functionMinBy: function(resolvedArgs) { var exprefNode = resolvedArgs[1]; var resolvedArray = resolvedArgs[0]; var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]); var minNumber = Infinity; var minRecord; var current; for (var i = 0; i < resolvedArray.length; i++) { current = keyFunction(resolvedArray[i]); if (current < minNumber) { minNumber = current; minRecord = resolvedArray[i]; } } return minRecord; }, createKeyFunction: function(exprefNode, allowedTypes) { var that = this; var interpreter = this._interpreter; var keyFunc = function(x) { var current = interpreter.visit(exprefNode, x); if (allowedTypes.indexOf(that._getTypeName(current)) < 0) { var msg = "TypeError: expected one of " + allowedTypes + ", received " + that._getTypeName(current); throw new Error(msg); } return current; }; return keyFunc; } }; function compile(stream) { var parser = new Parser(); var ast = parser.parse(stream); return ast; } function tokenize(stream) { var lexer = new Lexer(); return lexer.tokenize(stream); } function search(data, expression) { var parser = new Parser(); var runtime = new Runtime(); var interpreter = new TreeInterpreter(runtime); runtime._interpreter = interpreter; var node = parser.parse(expression); return interpreter.search(node, data); } exports.tokenize = tokenize; exports.compile = compile; exports.search = search; exports.strictDeepEqual = strictDeepEqual; })(typeof exports === "undefined" ? this.jmespath = {} : exports); },{}],307:[function(require,module,exports){ var getNative = require('./_getNative'), root = require('./_root'); var DataView = getNative(root, 'DataView'); module.exports = DataView; },{"./_getNative":371,"./_root":408}],308:[function(require,module,exports){ var hashClear = require('./_hashClear'), hashDelete = require('./_hashDelete'), hashGet = require('./_hashGet'), hashHas = require('./_hashHas'), hashSet = require('./_hashSet'); function Hash(entries) { var index = -1, length = entries == null ? 0 : entries.length; this.clear(); while (++index < length) { var entry = entries[index]; this.set(entry[0], entry[1]); } } Hash.prototype.clear = hashClear; Hash.prototype['delete'] = hashDelete; Hash.prototype.get = hashGet; Hash.prototype.has = hashHas; Hash.prototype.set = hashSet; module.exports = Hash; },{"./_hashClear":377,"./_hashDelete":378,"./_hashGet":379,"./_hashHas":380,"./_hashSet":381}],309:[function(require,module,exports){ var listCacheClear = require('./_listCacheClear'), listCacheDelete = require('./_listCacheDelete'), listCacheGet = require('./_listCacheGet'), listCacheHas = require('./_listCacheHas'), listCacheSet = require('./_listCacheSet'); function ListCache(entries) { var index = -1, length = entries == null ? 0 : entries.length; this.clear(); while (++index < length) { var entry = entries[index]; this.set(entry[0], entry[1]); } } ListCache.prototype.clear = listCacheClear; ListCache.prototype['delete'] = listCacheDelete; ListCache.prototype.get = listCacheGet; ListCache.prototype.has = listCacheHas; ListCache.prototype.set = listCacheSet; module.exports = ListCache; },{"./_listCacheClear":389,"./_listCacheDelete":390,"./_listCacheGet":391,"./_listCacheHas":392,"./_listCacheSet":393}],310:[function(require,module,exports){ var getNative = require('./_getNative'), root = require('./_root'); var Map = getNative(root, 'Map'); module.exports = Map; },{"./_getNative":371,"./_root":408}],311:[function(require,module,exports){ var mapCacheClear = require('./_mapCacheClear'), mapCacheDelete = require('./_mapCacheDelete'), mapCacheGet = require('./_mapCacheGet'), mapCacheHas = require('./_mapCacheHas'), mapCacheSet = require('./_mapCacheSet'); function MapCache(entries) { var index = -1, length = entries == null ? 0 : entries.length; this.clear(); while (++index < length) { var entry = entries[index]; this.set(entry[0], entry[1]); } } MapCache.prototype.clear = mapCacheClear; MapCache.prototype['delete'] = mapCacheDelete; MapCache.prototype.get = mapCacheGet; MapCache.prototype.has = mapCacheHas; MapCache.prototype.set = mapCacheSet; module.exports = MapCache; },{"./_mapCacheClear":394,"./_mapCacheDelete":395,"./_mapCacheGet":396,"./_mapCacheHas":397,"./_mapCacheSet":398}],312:[function(require,module,exports){ var getNative = require('./_getNative'), root = require('./_root'); var Promise = getNative(root, 'Promise'); module.exports = Promise; },{"./_getNative":371,"./_root":408}],313:[function(require,module,exports){ var getNative = require('./_getNative'), root = require('./_root'); var Set = getNative(root, 'Set'); module.exports = Set; },{"./_getNative":371,"./_root":408}],314:[function(require,module,exports){ var MapCache = require('./_MapCache'), setCacheAdd = require('./_setCacheAdd'), setCacheHas = require('./_setCacheHas'); function SetCache(values) { var index = -1, length = values == null ? 0 : values.length; this.__data__ = new MapCache; while (++index < length) { this.add(values[index]); } } SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; SetCache.prototype.has = setCacheHas; module.exports = SetCache; },{"./_MapCache":311,"./_setCacheAdd":409,"./_setCacheHas":410}],315:[function(require,module,exports){ var ListCache = require('./_ListCache'), stackClear = require('./_stackClear'), stackDelete = require('./_stackDelete'), stackGet = require('./_stackGet'), stackHas = require('./_stackHas'), stackSet = require('./_stackSet'); function Stack(entries) { var data = this.__data__ = new ListCache(entries); this.size = data.size; } Stack.prototype.clear = stackClear; Stack.prototype['delete'] = stackDelete; Stack.prototype.get = stackGet; Stack.prototype.has = stackHas; Stack.prototype.set = stackSet; module.exports = Stack; },{"./_ListCache":309,"./_stackClear":414,"./_stackDelete":415,"./_stackGet":416,"./_stackHas":417,"./_stackSet":418}],316:[function(require,module,exports){ var root = require('./_root'); var Symbol = root.Symbol; module.exports = Symbol; },{"./_root":408}],317:[function(require,module,exports){ var root = require('./_root'); var Uint8Array = root.Uint8Array; module.exports = Uint8Array; },{"./_root":408}],318:[function(require,module,exports){ var getNative = require('./_getNative'), root = require('./_root'); var WeakMap = getNative(root, 'WeakMap'); module.exports = WeakMap; },{"./_getNative":371,"./_root":408}],319:[function(require,module,exports){ function apply(func, thisArg, args) { switch (args.length) { case 0: return func.call(thisArg); case 1: return func.call(thisArg, args[0]); case 2: return func.call(thisArg, args[0], args[1]); case 3: return func.call(thisArg, args[0], args[1], args[2]); } return func.apply(thisArg, args); } module.exports = apply; },{}],320:[function(require,module,exports){ function arrayEvery(array, predicate) { var index = -1, length = array == null ? 0 : array.length; while (++index < length) { if (!predicate(array[index], index, array)) { return false; } } return true; } module.exports = arrayEvery; },{}],321:[function(require,module,exports){ function arrayFilter(array, predicate) { var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = []; while (++index < length) { var value = array[index]; if (predicate(value, index, array)) { result[resIndex++] = value; } } return result; } module.exports = arrayFilter; },{}],322:[function(require,module,exports){ var baseTimes = require('./_baseTimes'), isArguments = require('./isArguments'), isArray = require('./isArray'), isBuffer = require('./isBuffer'), isIndex = require('./_isIndex'), isTypedArray = require('./isTypedArray'); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function arrayLikeKeys(value, inherited) { var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length; for (var key in value) { if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && ( key == 'length' || (isBuff && (key == 'offset' || key == 'parent')) || (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || isIndex(key, length) ))) { result.push(key); } } return result; } module.exports = arrayLikeKeys; },{"./_baseTimes":353,"./_isIndex":382,"./isArguments":430,"./isArray":431,"./isBuffer":433,"./isTypedArray":440}],323:[function(require,module,exports){ function arrayMap(array, iteratee) { var index = -1, length = array == null ? 0 : array.length, result = Array(length); while (++index < length) { result[index] = iteratee(array[index], index, array); } return result; } module.exports = arrayMap; },{}],324:[function(require,module,exports){ function arrayPush(array, values) { var index = -1, length = values.length, offset = array.length; while (++index < length) { array[offset + index] = values[index]; } return array; } module.exports = arrayPush; },{}],325:[function(require,module,exports){ function arraySome(array, predicate) { var index = -1, length = array == null ? 0 : array.length; while (++index < length) { if (predicate(array[index], index, array)) { return true; } } return false; } module.exports = arraySome; },{}],326:[function(require,module,exports){ var baseAssignValue = require('./_baseAssignValue'), eq = require('./eq'); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function assignValue(object, key, value) { var objValue = object[key]; if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || (value === undefined && !(key in object))) { baseAssignValue(object, key, value); } } module.exports = assignValue; },{"./_baseAssignValue":329,"./eq":425}],327:[function(require,module,exports){ var eq = require('./eq'); function assocIndexOf(array, key) { var length = array.length; while (length--) { if (eq(array[length][0], key)) { return length; } } return -1; } module.exports = assocIndexOf; },{"./eq":425}],328:[function(require,module,exports){ var copyObject = require('./_copyObject'), keys = require('./keys'); function baseAssign(object, source) { return object && copyObject(source, keys(source), object); } module.exports = baseAssign; },{"./_copyObject":358,"./keys":441}],329:[function(require,module,exports){ var defineProperty = require('./_defineProperty'); function baseAssignValue(object, key, value) { if (key == '__proto__' && defineProperty) { defineProperty(object, key, { 'configurable': true, 'enumerable': true, 'value': value, 'writable': true }); } else { object[key] = value; } } module.exports = baseAssignValue; },{"./_defineProperty":363}],330:[function(require,module,exports){ var isObject = require('./isObject'); var objectCreate = Object.create; var baseCreate = (function() { function object() {} return function(proto) { if (!isObject(proto)) { return {}; } if (objectCreate) { return objectCreate(proto); } object.prototype = proto; var result = new object; object.prototype = undefined; return result; }; }()); module.exports = baseCreate; },{"./isObject":437}],331:[function(require,module,exports){ var baseForOwn = require('./_baseForOwn'), createBaseEach = require('./_createBaseEach'); var baseEach = createBaseEach(baseForOwn); module.exports = baseEach; },{"./_baseForOwn":334,"./_createBaseEach":361}],332:[function(require,module,exports){ var baseEach = require('./_baseEach'); function baseEvery(collection, predicate) { var result = true; baseEach(collection, function(value, index, collection) { result = !!predicate(value, index, collection); return result; }); return result; } module.exports = baseEvery; },{"./_baseEach":331}],333:[function(require,module,exports){ var createBaseFor = require('./_createBaseFor'); var baseFor = createBaseFor(); module.exports = baseFor; },{"./_createBaseFor":362}],334:[function(require,module,exports){ var baseFor = require('./_baseFor'), keys = require('./keys'); function baseForOwn(object, iteratee) { return object && baseFor(object, iteratee, keys); } module.exports = baseForOwn; },{"./_baseFor":333,"./keys":441}],335:[function(require,module,exports){ var castPath = require('./_castPath'), toKey = require('./_toKey'); function baseGet(object, path) { path = castPath(path, object); var index = 0, length = path.length; while (object != null && index < length) { object = object[toKey(path[index++])]; } return (index && index == length) ? object : undefined; } module.exports = baseGet; },{"./_castPath":357,"./_toKey":420}],336:[function(require,module,exports){ var arrayPush = require('./_arrayPush'), isArray = require('./isArray'); function baseGetAllKeys(object, keysFunc, symbolsFunc) { var result = keysFunc(object); return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); } module.exports = baseGetAllKeys; },{"./_arrayPush":324,"./isArray":431}],337:[function(require,module,exports){ var Symbol = require('./_Symbol'), getRawTag = require('./_getRawTag'), objectToString = require('./_objectToString'); var nullTag = '[object Null]', undefinedTag = '[object Undefined]'; var symToStringTag = Symbol ? Symbol.toStringTag : undefined; function baseGetTag(value) { if (value == null) { return value === undefined ? undefinedTag : nullTag; } return (symToStringTag && symToStringTag in Object(value)) ? getRawTag(value) : objectToString(value); } module.exports = baseGetTag; },{"./_Symbol":316,"./_getRawTag":372,"./_objectToString":405}],338:[function(require,module,exports){ function baseHasIn(object, key) { return object != null && key in Object(object); } module.exports = baseHasIn; },{}],339:[function(require,module,exports){ var baseGetTag = require('./_baseGetTag'), isObjectLike = require('./isObjectLike'); var argsTag = '[object Arguments]'; function baseIsArguments(value) { return isObjectLike(value) && baseGetTag(value) == argsTag; } module.exports = baseIsArguments; },{"./_baseGetTag":337,"./isObjectLike":438}],340:[function(require,module,exports){ var baseIsEqualDeep = require('./_baseIsEqualDeep'), isObjectLike = require('./isObjectLike'); function baseIsEqual(value, other, bitmask, customizer, stack) { if (value === other) { return true; } if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { return value !== value && other !== other; } return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); } module.exports = baseIsEqual; },{"./_baseIsEqualDeep":341,"./isObjectLike":438}],341:[function(require,module,exports){ var Stack = require('./_Stack'), equalArrays = require('./_equalArrays'), equalByTag = require('./_equalByTag'), equalObjects = require('./_equalObjects'), getTag = require('./_getTag'), isArray = require('./isArray'), isBuffer = require('./isBuffer'), isTypedArray = require('./isTypedArray'); var COMPARE_PARTIAL_FLAG = 1; var argsTag = '[object Arguments]', arrayTag = '[object Array]', objectTag = '[object Object]'; var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other); objTag = objTag == argsTag ? objectTag : objTag; othTag = othTag == argsTag ? objectTag : othTag; var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag; if (isSameTag && isBuffer(object)) { if (!isBuffer(other)) { return false; } objIsArr = true; objIsObj = false; } if (isSameTag && !objIsObj) { stack || (stack = new Stack); return (objIsArr || isTypedArray(object)) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); } if (!(bitmask & COMPARE_PARTIAL_FLAG)) { var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); if (objIsWrapped || othIsWrapped) { var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other; stack || (stack = new Stack); return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); } } if (!isSameTag) { return false; } stack || (stack = new Stack); return equalObjects(object, other, bitmask, customizer, equalFunc, stack); } module.exports = baseIsEqualDeep; },{"./_Stack":315,"./_equalArrays":364,"./_equalByTag":365,"./_equalObjects":366,"./_getTag":374,"./isArray":431,"./isBuffer":433,"./isTypedArray":440}],342:[function(require,module,exports){ var Stack = require('./_Stack'), baseIsEqual = require('./_baseIsEqual'); var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2; function baseIsMatch(object, source, matchData, customizer) { var index = matchData.length, length = index, noCustomizer = !customizer; if (object == null) { return !length; } object = Object(object); while (index--) { var data = matchData[index]; if ((noCustomizer && data[2]) ? data[1] !== object[data[0]] : !(data[0] in object) ) { return false; } } while (++index < length) { data = matchData[index]; var key = data[0], objValue = object[key], srcValue = data[1]; if (noCustomizer && data[2]) { if (objValue === undefined && !(key in object)) { return false; } } else { var stack = new Stack; if (customizer) { var result = customizer(objValue, srcValue, key, object, source, stack); } if (!(result === undefined ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) : result )) { return false; } } } return true; } module.exports = baseIsMatch; },{"./_Stack":315,"./_baseIsEqual":340}],343:[function(require,module,exports){ var isFunction = require('./isFunction'), isMasked = require('./_isMasked'), isObject = require('./isObject'), toSource = require('./_toSource'); var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; var reIsHostCtor = /^\[object .+?Constructor\]$/; var funcProto = Function.prototype, objectProto = Object.prototype; var funcToString = funcProto.toString; var hasOwnProperty = objectProto.hasOwnProperty; var reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' ); function baseIsNative(value) { if (!isObject(value) || isMasked(value)) { return false; } var pattern = isFunction(value) ? reIsNative : reIsHostCtor; return pattern.test(toSource(value)); } module.exports = baseIsNative; },{"./_isMasked":386,"./_toSource":421,"./isFunction":435,"./isObject":437}],344:[function(require,module,exports){ var baseGetTag = require('./_baseGetTag'), isLength = require('./isLength'), isObjectLike = require('./isObjectLike'); var argsTag = '[object Arguments]', arrayTag = '[object Array]', boolTag = '[object Boolean]', dateTag = '[object Date]', errorTag = '[object Error]', funcTag = '[object Function]', mapTag = '[object Map]', numberTag = '[object Number]', objectTag = '[object Object]', regexpTag = '[object RegExp]', setTag = '[object Set]', stringTag = '[object String]', weakMapTag = '[object WeakMap]'; var arrayBufferTag = '[object ArrayBuffer]', dataViewTag = '[object DataView]', float32Tag = '[object Float32Array]', float64Tag = '[object Float64Array]', int8Tag = '[object Int8Array]', int16Tag = '[object Int16Array]', int32Tag = '[object Int32Array]', uint8Tag = '[object Uint8Array]', uint8ClampedTag = '[object Uint8ClampedArray]', uint16Tag = '[object Uint16Array]', uint32Tag = '[object Uint32Array]'; var typedArrayTags = {}; typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true; typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false; function baseIsTypedArray(value) { return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; } module.exports = baseIsTypedArray; },{"./_baseGetTag":337,"./isLength":436,"./isObjectLike":438}],345:[function(require,module,exports){ var baseMatches = require('./_baseMatches'), baseMatchesProperty = require('./_baseMatchesProperty'), identity = require('./identity'), isArray = require('./isArray'), property = require('./property'); function baseIteratee(value) { if (typeof value == 'function') { return value; } if (value == null) { return identity; } if (typeof value == 'object') { return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value); } return property(value); } module.exports = baseIteratee; },{"./_baseMatches":347,"./_baseMatchesProperty":348,"./identity":429,"./isArray":431,"./property":443}],346:[function(require,module,exports){ var isPrototype = require('./_isPrototype'), nativeKeys = require('./_nativeKeys'); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function baseKeys(object) { if (!isPrototype(object)) { return nativeKeys(object); } var result = []; for (var key in Object(object)) { if (hasOwnProperty.call(object, key) && key != 'constructor') { result.push(key); } } return result; } module.exports = baseKeys; },{"./_isPrototype":387,"./_nativeKeys":403}],347:[function(require,module,exports){ var baseIsMatch = require('./_baseIsMatch'), getMatchData = require('./_getMatchData'), matchesStrictComparable = require('./_matchesStrictComparable'); function baseMatches(source) { var matchData = getMatchData(source); if (matchData.length == 1 && matchData[0][2]) { return matchesStrictComparable(matchData[0][0], matchData[0][1]); } return function(object) { return object === source || baseIsMatch(object, source, matchData); }; } module.exports = baseMatches; },{"./_baseIsMatch":342,"./_getMatchData":370,"./_matchesStrictComparable":400}],348:[function(require,module,exports){ var baseIsEqual = require('./_baseIsEqual'), get = require('./get'), hasIn = require('./hasIn'), isKey = require('./_isKey'), isStrictComparable = require('./_isStrictComparable'), matchesStrictComparable = require('./_matchesStrictComparable'), toKey = require('./_toKey'); var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2; function baseMatchesProperty(path, srcValue) { if (isKey(path) && isStrictComparable(srcValue)) { return matchesStrictComparable(toKey(path), srcValue); } return function(object) { var objValue = get(object, path); return (objValue === undefined && objValue === srcValue) ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); }; } module.exports = baseMatchesProperty; },{"./_baseIsEqual":340,"./_isKey":384,"./_isStrictComparable":388,"./_matchesStrictComparable":400,"./_toKey":420,"./get":427,"./hasIn":428}],349:[function(require,module,exports){ function baseProperty(key) { return function(object) { return object == null ? undefined : object[key]; }; } module.exports = baseProperty; },{}],350:[function(require,module,exports){ var baseGet = require('./_baseGet'); function basePropertyDeep(path) { return function(object) { return baseGet(object, path); }; } module.exports = basePropertyDeep; },{"./_baseGet":335}],351:[function(require,module,exports){ var identity = require('./identity'), overRest = require('./_overRest'), setToString = require('./_setToString'); function baseRest(func, start) { return setToString(overRest(func, start, identity), func + ''); } module.exports = baseRest; },{"./_overRest":407,"./_setToString":412,"./identity":429}],352:[function(require,module,exports){ var constant = require('./constant'), defineProperty = require('./_defineProperty'), identity = require('./identity'); var baseSetToString = !defineProperty ? identity : function(func, string) { return defineProperty(func, 'toString', { 'configurable': true, 'enumerable': false, 'value': constant(string), 'writable': true }); }; module.exports = baseSetToString; },{"./_defineProperty":363,"./constant":423,"./identity":429}],353:[function(require,module,exports){ function baseTimes(n, iteratee) { var index = -1, result = Array(n); while (++index < n) { result[index] = iteratee(index); } return result; } module.exports = baseTimes; },{}],354:[function(require,module,exports){ var Symbol = require('./_Symbol'), arrayMap = require('./_arrayMap'), isArray = require('./isArray'), isSymbol = require('./isSymbol'); var INFINITY = 1 / 0; var symbolProto = Symbol ? Symbol.prototype : undefined, symbolToString = symbolProto ? symbolProto.toString : undefined; function baseToString(value) { if (typeof value == 'string') { return value; } if (isArray(value)) { return arrayMap(value, baseToString) + ''; } if (isSymbol(value)) { return symbolToString ? symbolToString.call(value) : ''; } var result = (value + ''); return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; } module.exports = baseToString; },{"./_Symbol":316,"./_arrayMap":323,"./isArray":431,"./isSymbol":439}],355:[function(require,module,exports){ function baseUnary(func) { return function(value) { return func(value); }; } module.exports = baseUnary; },{}],356:[function(require,module,exports){ function cacheHas(cache, key) { return cache.has(key); } module.exports = cacheHas; },{}],357:[function(require,module,exports){ var isArray = require('./isArray'), isKey = require('./_isKey'), stringToPath = require('./_stringToPath'), toString = require('./toString'); function castPath(value, object) { if (isArray(value)) { return value; } return isKey(value, object) ? [value] : stringToPath(toString(value)); } module.exports = castPath; },{"./_isKey":384,"./_stringToPath":419,"./isArray":431,"./toString":446}],358:[function(require,module,exports){ var assignValue = require('./_assignValue'), baseAssignValue = require('./_baseAssignValue'); function copyObject(source, props, object, customizer) { var isNew = !object; object || (object = {}); var index = -1, length = props.length; while (++index < length) { var key = props[index]; var newValue = customizer ? customizer(object[key], source[key], key, object, source) : undefined; if (newValue === undefined) { newValue = source[key]; } if (isNew) { baseAssignValue(object, key, newValue); } else { assignValue(object, key, newValue); } } return object; } module.exports = copyObject; },{"./_assignValue":326,"./_baseAssignValue":329}],359:[function(require,module,exports){ var root = require('./_root'); var coreJsData = root['__core-js_shared__']; module.exports = coreJsData; },{"./_root":408}],360:[function(require,module,exports){ var baseRest = require('./_baseRest'), isIterateeCall = require('./_isIterateeCall'); function createAssigner(assigner) { return baseRest(function(object, sources) { var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : undefined, guard = length > 2 ? sources[2] : undefined; customizer = (assigner.length > 3 && typeof customizer == 'function') ? (length--, customizer) : undefined; if (guard && isIterateeCall(sources[0], sources[1], guard)) { customizer = length < 3 ? undefined : customizer; length = 1; } object = Object(object); while (++index < length) { var source = sources[index]; if (source) { assigner(object, source, index, customizer); } } return object; }); } module.exports = createAssigner; },{"./_baseRest":351,"./_isIterateeCall":383}],361:[function(require,module,exports){ var isArrayLike = require('./isArrayLike'); function createBaseEach(eachFunc, fromRight) { return function(collection, iteratee) { if (collection == null) { return collection; } if (!isArrayLike(collection)) { return eachFunc(collection, iteratee); } var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection); while ((fromRight ? index-- : ++index < length)) { if (iteratee(iterable[index], index, iterable) === false) { break; } } return collection; }; } module.exports = createBaseEach; },{"./isArrayLike":432}],362:[function(require,module,exports){ function createBaseFor(fromRight) { return function(object, iteratee, keysFunc) { var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length; while (length--) { var key = props[fromRight ? length : ++index]; if (iteratee(iterable[key], key, iterable) === false) { break; } } return object; }; } module.exports = createBaseFor; },{}],363:[function(require,module,exports){ var getNative = require('./_getNative'); var defineProperty = (function() { try { var func = getNative(Object, 'defineProperty'); func({}, '', {}); return func; } catch (e) {} }()); module.exports = defineProperty; },{"./_getNative":371}],364:[function(require,module,exports){ var SetCache = require('./_SetCache'), arraySome = require('./_arraySome'), cacheHas = require('./_cacheHas'); var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2; function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length; if (arrLength != othLength && !(isPartial && othLength > arrLength)) { return false; } var stacked = stack.get(array); if (stacked && stack.get(other)) { return stacked == other; } var index = -1, result = true, seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined; stack.set(array, other); stack.set(other, array); while (++index < arrLength) { var arrValue = array[index], othValue = other[index]; if (customizer) { var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack); } if (compared !== undefined) { if (compared) { continue; } result = false; break; } if (seen) { if (!arraySome(other, function(othValue, othIndex) { if (!cacheHas(seen, othIndex) && (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { return seen.push(othIndex); } })) { result = false; break; } } else if (!( arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack) )) { result = false; break; } } stack['delete'](array); stack['delete'](other); return result; } module.exports = equalArrays; },{"./_SetCache":314,"./_arraySome":325,"./_cacheHas":356}],365:[function(require,module,exports){ var Symbol = require('./_Symbol'), Uint8Array = require('./_Uint8Array'), eq = require('./eq'), equalArrays = require('./_equalArrays'), mapToArray = require('./_mapToArray'), setToArray = require('./_setToArray'); var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2; var boolTag = '[object Boolean]', dateTag = '[object Date]', errorTag = '[object Error]', mapTag = '[object Map]', numberTag = '[object Number]', regexpTag = '[object RegExp]', setTag = '[object Set]', stringTag = '[object String]', symbolTag = '[object Symbol]'; var arrayBufferTag = '[object ArrayBuffer]', dataViewTag = '[object DataView]'; var symbolProto = Symbol ? Symbol.prototype : undefined, symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { switch (tag) { case dataViewTag: if ((object.byteLength != other.byteLength) || (object.byteOffset != other.byteOffset)) { return false; } object = object.buffer; other = other.buffer; case arrayBufferTag: if ((object.byteLength != other.byteLength) || !equalFunc(new Uint8Array(object), new Uint8Array(other))) { return false; } return true; case boolTag: case dateTag: case numberTag: return eq(+object, +other); case errorTag: return object.name == other.name && object.message == other.message; case regexpTag: case stringTag: return object == (other + ''); case mapTag: var convert = mapToArray; case setTag: var isPartial = bitmask & COMPARE_PARTIAL_FLAG; convert || (convert = setToArray); if (object.size != other.size && !isPartial) { return false; } var stacked = stack.get(object); if (stacked) { return stacked == other; } bitmask |= COMPARE_UNORDERED_FLAG; stack.set(object, other); var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack); stack['delete'](object); return result; case symbolTag: if (symbolValueOf) { return symbolValueOf.call(object) == symbolValueOf.call(other); } } return false; } module.exports = equalByTag; },{"./_Symbol":316,"./_Uint8Array":317,"./_equalArrays":364,"./_mapToArray":399,"./_setToArray":411,"./eq":425}],366:[function(require,module,exports){ var getAllKeys = require('./_getAllKeys'); var COMPARE_PARTIAL_FLAG = 1; var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { var isPartial = bitmask & COMPARE_PARTIAL_FLAG, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length; if (objLength != othLength && !isPartial) { return false; } var index = objLength; while (index--) { var key = objProps[index]; if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { return false; } } var stacked = stack.get(object); if (stacked && stack.get(other)) { return stacked == other; } var result = true; stack.set(object, other); stack.set(other, object); var skipCtor = isPartial; while (++index < objLength) { key = objProps[index]; var objValue = object[key], othValue = other[key]; if (customizer) { var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack); } if (!(compared === undefined ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) : compared )) { result = false; break; } skipCtor || (skipCtor = key == 'constructor'); } if (result && !skipCtor) { var objCtor = object.constructor, othCtor = other.constructor; if (objCtor != othCtor && ('constructor' in object && 'constructor' in other) && !(typeof objCtor == 'function' && objCtor instanceof objCtor && typeof othCtor == 'function' && othCtor instanceof othCtor)) { result = false; } } stack['delete'](object); stack['delete'](other); return result; } module.exports = equalObjects; },{"./_getAllKeys":368}],367:[function(require,module,exports){ (function (global){ var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; module.exports = freeGlobal; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],368:[function(require,module,exports){ var baseGetAllKeys = require('./_baseGetAllKeys'), getSymbols = require('./_getSymbols'), keys = require('./keys'); function getAllKeys(object) { return baseGetAllKeys(object, keys, getSymbols); } module.exports = getAllKeys; },{"./_baseGetAllKeys":336,"./_getSymbols":373,"./keys":441}],369:[function(require,module,exports){ var isKeyable = require('./_isKeyable'); function getMapData(map, key) { var data = map.__data__; return isKeyable(key) ? data[typeof key == 'string' ? 'string' : 'hash'] : data.map; } module.exports = getMapData; },{"./_isKeyable":385}],370:[function(require,module,exports){ var isStrictComparable = require('./_isStrictComparable'), keys = require('./keys'); function getMatchData(object) { var result = keys(object), length = result.length; while (length--) { var key = result[length], value = object[key]; result[length] = [key, value, isStrictComparable(value)]; } return result; } module.exports = getMatchData; },{"./_isStrictComparable":388,"./keys":441}],371:[function(require,module,exports){ var baseIsNative = require('./_baseIsNative'), getValue = require('./_getValue'); function getNative(object, key) { var value = getValue(object, key); return baseIsNative(value) ? value : undefined; } module.exports = getNative; },{"./_baseIsNative":343,"./_getValue":375}],372:[function(require,module,exports){ var Symbol = require('./_Symbol'); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; var nativeObjectToString = objectProto.toString; var symToStringTag = Symbol ? Symbol.toStringTag : undefined; function getRawTag(value) { var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag]; try { value[symToStringTag] = undefined; var unmasked = true; } catch (e) {} var result = nativeObjectToString.call(value); if (unmasked) { if (isOwn) { value[symToStringTag] = tag; } else { delete value[symToStringTag]; } } return result; } module.exports = getRawTag; },{"./_Symbol":316}],373:[function(require,module,exports){ var arrayFilter = require('./_arrayFilter'), stubArray = require('./stubArray'); var objectProto = Object.prototype; var propertyIsEnumerable = objectProto.propertyIsEnumerable; var nativeGetSymbols = Object.getOwnPropertySymbols; var getSymbols = !nativeGetSymbols ? stubArray : function(object) { if (object == null) { return []; } object = Object(object); return arrayFilter(nativeGetSymbols(object), function(symbol) { return propertyIsEnumerable.call(object, symbol); }); }; module.exports = getSymbols; },{"./_arrayFilter":321,"./stubArray":444}],374:[function(require,module,exports){ var DataView = require('./_DataView'), Map = require('./_Map'), Promise = require('./_Promise'), Set = require('./_Set'), WeakMap = require('./_WeakMap'), baseGetTag = require('./_baseGetTag'), toSource = require('./_toSource'); var mapTag = '[object Map]', objectTag = '[object Object]', promiseTag = '[object Promise]', setTag = '[object Set]', weakMapTag = '[object WeakMap]'; var dataViewTag = '[object DataView]'; var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap); var getTag = baseGetTag; if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || (Map && getTag(new Map) != mapTag) || (Promise && getTag(Promise.resolve()) != promiseTag) || (Set && getTag(new Set) != setTag) || (WeakMap && getTag(new WeakMap) != weakMapTag)) { getTag = function(value) { var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : undefined, ctorString = Ctor ? toSource(Ctor) : ''; if (ctorString) { switch (ctorString) { case dataViewCtorString: return dataViewTag; case mapCtorString: return mapTag; case promiseCtorString: return promiseTag; case setCtorString: return setTag; case weakMapCtorString: return weakMapTag; } } return result; }; } module.exports = getTag; },{"./_DataView":307,"./_Map":310,"./_Promise":312,"./_Set":313,"./_WeakMap":318,"./_baseGetTag":337,"./_toSource":421}],375:[function(require,module,exports){ function getValue(object, key) { return object == null ? undefined : object[key]; } module.exports = getValue; },{}],376:[function(require,module,exports){ var castPath = require('./_castPath'), isArguments = require('./isArguments'), isArray = require('./isArray'), isIndex = require('./_isIndex'), isLength = require('./isLength'), toKey = require('./_toKey'); function hasPath(object, path, hasFunc) { path = castPath(path, object); var index = -1, length = path.length, result = false; while (++index < length) { var key = toKey(path[index]); if (!(result = object != null && hasFunc(object, key))) { break; } object = object[key]; } if (result || ++index != length) { return result; } length = object == null ? 0 : object.length; return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object)); } module.exports = hasPath; },{"./_castPath":357,"./_isIndex":382,"./_toKey":420,"./isArguments":430,"./isArray":431,"./isLength":436}],377:[function(require,module,exports){ var nativeCreate = require('./_nativeCreate'); function hashClear() { this.__data__ = nativeCreate ? nativeCreate(null) : {}; this.size = 0; } module.exports = hashClear; },{"./_nativeCreate":402}],378:[function(require,module,exports){ function hashDelete(key) { var result = this.has(key) && delete this.__data__[key]; this.size -= result ? 1 : 0; return result; } module.exports = hashDelete; },{}],379:[function(require,module,exports){ var nativeCreate = require('./_nativeCreate'); var HASH_UNDEFINED = '__lodash_hash_undefined__'; var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function hashGet(key) { var data = this.__data__; if (nativeCreate) { var result = data[key]; return result === HASH_UNDEFINED ? undefined : result; } return hasOwnProperty.call(data, key) ? data[key] : undefined; } module.exports = hashGet; },{"./_nativeCreate":402}],380:[function(require,module,exports){ var nativeCreate = require('./_nativeCreate'); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function hashHas(key) { var data = this.__data__; return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); } module.exports = hashHas; },{"./_nativeCreate":402}],381:[function(require,module,exports){ var nativeCreate = require('./_nativeCreate'); var HASH_UNDEFINED = '__lodash_hash_undefined__'; function hashSet(key, value) { var data = this.__data__; this.size += this.has(key) ? 0 : 1; data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; return this; } module.exports = hashSet; },{"./_nativeCreate":402}],382:[function(require,module,exports){ var MAX_SAFE_INTEGER = 9007199254740991; var reIsUint = /^(?:0|[1-9]\d*)$/; function isIndex(value, length) { length = length == null ? MAX_SAFE_INTEGER : length; return !!length && (typeof value == 'number' || reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length); } module.exports = isIndex; },{}],383:[function(require,module,exports){ var eq = require('./eq'), isArrayLike = require('./isArrayLike'), isIndex = require('./_isIndex'), isObject = require('./isObject'); function isIterateeCall(value, index, object) { if (!isObject(object)) { return false; } var type = typeof index; if (type == 'number' ? (isArrayLike(object) && isIndex(index, object.length)) : (type == 'string' && index in object) ) { return eq(object[index], value); } return false; } module.exports = isIterateeCall; },{"./_isIndex":382,"./eq":425,"./isArrayLike":432,"./isObject":437}],384:[function(require,module,exports){ var isArray = require('./isArray'), isSymbol = require('./isSymbol'); var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/; function isKey(value, object) { if (isArray(value)) { return false; } var type = typeof value; if (type == 'number' || type == 'symbol' || type == 'boolean' || value == null || isSymbol(value)) { return true; } return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || (object != null && value in Object(object)); } module.exports = isKey; },{"./isArray":431,"./isSymbol":439}],385:[function(require,module,exports){ function isKeyable(value) { var type = typeof value; return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') ? (value !== '__proto__') : (value === null); } module.exports = isKeyable; },{}],386:[function(require,module,exports){ var coreJsData = require('./_coreJsData'); var maskSrcKey = (function() { var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); return uid ? ('Symbol(src)_1.' + uid) : ''; }()); function isMasked(func) { return !!maskSrcKey && (maskSrcKey in func); } module.exports = isMasked; },{"./_coreJsData":359}],387:[function(require,module,exports){ var objectProto = Object.prototype; function isPrototype(value) { var Ctor = value && value.constructor, proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; return value === proto; } module.exports = isPrototype; },{}],388:[function(require,module,exports){ var isObject = require('./isObject'); function isStrictComparable(value) { return value === value && !isObject(value); } module.exports = isStrictComparable; },{"./isObject":437}],389:[function(require,module,exports){ function listCacheClear() { this.__data__ = []; this.size = 0; } module.exports = listCacheClear; },{}],390:[function(require,module,exports){ var assocIndexOf = require('./_assocIndexOf'); var arrayProto = Array.prototype; var splice = arrayProto.splice; function listCacheDelete(key) { var data = this.__data__, index = assocIndexOf(data, key); if (index < 0) { return false; } var lastIndex = data.length - 1; if (index == lastIndex) { data.pop(); } else { splice.call(data, index, 1); } --this.size; return true; } module.exports = listCacheDelete; },{"./_assocIndexOf":327}],391:[function(require,module,exports){ var assocIndexOf = require('./_assocIndexOf'); function listCacheGet(key) { var data = this.__data__, index = assocIndexOf(data, key); return index < 0 ? undefined : data[index][1]; } module.exports = listCacheGet; },{"./_assocIndexOf":327}],392:[function(require,module,exports){ var assocIndexOf = require('./_assocIndexOf'); function listCacheHas(key) { return assocIndexOf(this.__data__, key) > -1; } module.exports = listCacheHas; },{"./_assocIndexOf":327}],393:[function(require,module,exports){ var assocIndexOf = require('./_assocIndexOf'); function listCacheSet(key, value) { var data = this.__data__, index = assocIndexOf(data, key); if (index < 0) { ++this.size; data.push([key, value]); } else { data[index][1] = value; } return this; } module.exports = listCacheSet; },{"./_assocIndexOf":327}],394:[function(require,module,exports){ var Hash = require('./_Hash'), ListCache = require('./_ListCache'), Map = require('./_Map'); function mapCacheClear() { this.size = 0; this.__data__ = { 'hash': new Hash, 'map': new (Map || ListCache), 'string': new Hash }; } module.exports = mapCacheClear; },{"./_Hash":308,"./_ListCache":309,"./_Map":310}],395:[function(require,module,exports){ var getMapData = require('./_getMapData'); function mapCacheDelete(key) { var result = getMapData(this, key)['delete'](key); this.size -= result ? 1 : 0; return result; } module.exports = mapCacheDelete; },{"./_getMapData":369}],396:[function(require,module,exports){ var getMapData = require('./_getMapData'); function mapCacheGet(key) { return getMapData(this, key).get(key); } module.exports = mapCacheGet; },{"./_getMapData":369}],397:[function(require,module,exports){ var getMapData = require('./_getMapData'); function mapCacheHas(key) { return getMapData(this, key).has(key); } module.exports = mapCacheHas; },{"./_getMapData":369}],398:[function(require,module,exports){ var getMapData = require('./_getMapData'); function mapCacheSet(key, value) { var data = getMapData(this, key), size = data.size; data.set(key, value); this.size += data.size == size ? 0 : 1; return this; } module.exports = mapCacheSet; },{"./_getMapData":369}],399:[function(require,module,exports){ function mapToArray(map) { var index = -1, result = Array(map.size); map.forEach(function(value, key) { result[++index] = [key, value]; }); return result; } module.exports = mapToArray; },{}],400:[function(require,module,exports){ function matchesStrictComparable(key, srcValue) { return function(object) { if (object == null) { return false; } return object[key] === srcValue && (srcValue !== undefined || (key in Object(object))); }; } module.exports = matchesStrictComparable; },{}],401:[function(require,module,exports){ var memoize = require('./memoize'); var MAX_MEMOIZE_SIZE = 500; function memoizeCapped(func) { var result = memoize(func, function(key) { if (cache.size === MAX_MEMOIZE_SIZE) { cache.clear(); } return key; }); var cache = result.cache; return result; } module.exports = memoizeCapped; },{"./memoize":442}],402:[function(require,module,exports){ var getNative = require('./_getNative'); var nativeCreate = getNative(Object, 'create'); module.exports = nativeCreate; },{"./_getNative":371}],403:[function(require,module,exports){ var overArg = require('./_overArg'); var nativeKeys = overArg(Object.keys, Object); module.exports = nativeKeys; },{"./_overArg":406}],404:[function(require,module,exports){ var freeGlobal = require('./_freeGlobal'); var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; var moduleExports = freeModule && freeModule.exports === freeExports; var freeProcess = moduleExports && freeGlobal.process; var nodeUtil = (function() { try { return freeProcess && freeProcess.binding && freeProcess.binding('util'); } catch (e) {} }()); module.exports = nodeUtil; },{"./_freeGlobal":367}],405:[function(require,module,exports){ var objectProto = Object.prototype; var nativeObjectToString = objectProto.toString; function objectToString(value) { return nativeObjectToString.call(value); } module.exports = objectToString; },{}],406:[function(require,module,exports){ function overArg(func, transform) { return function(arg) { return func(transform(arg)); }; } module.exports = overArg; },{}],407:[function(require,module,exports){ var apply = require('./_apply'); var nativeMax = Math.max; function overRest(func, start, transform) { start = nativeMax(start === undefined ? (func.length - 1) : start, 0); return function() { var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length); while (++index < length) { array[index] = args[start + index]; } index = -1; var otherArgs = Array(start + 1); while (++index < start) { otherArgs[index] = args[index]; } otherArgs[start] = transform(array); return apply(func, this, otherArgs); }; } module.exports = overRest; },{"./_apply":319}],408:[function(require,module,exports){ var freeGlobal = require('./_freeGlobal'); var freeSelf = typeof self == 'object' && self && self.Object === Object && self; var root = freeGlobal || freeSelf || Function('return this')(); module.exports = root; },{"./_freeGlobal":367}],409:[function(require,module,exports){ var HASH_UNDEFINED = '__lodash_hash_undefined__'; function setCacheAdd(value) { this.__data__.set(value, HASH_UNDEFINED); return this; } module.exports = setCacheAdd; },{}],410:[function(require,module,exports){ function setCacheHas(value) { return this.__data__.has(value); } module.exports = setCacheHas; },{}],411:[function(require,module,exports){ function setToArray(set) { var index = -1, result = Array(set.size); set.forEach(function(value) { result[++index] = value; }); return result; } module.exports = setToArray; },{}],412:[function(require,module,exports){ var baseSetToString = require('./_baseSetToString'), shortOut = require('./_shortOut'); var setToString = shortOut(baseSetToString); module.exports = setToString; },{"./_baseSetToString":352,"./_shortOut":413}],413:[function(require,module,exports){ var HOT_COUNT = 800, HOT_SPAN = 16; var nativeNow = Date.now; function shortOut(func) { var count = 0, lastCalled = 0; return function() { var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled); lastCalled = stamp; if (remaining > 0) { if (++count >= HOT_COUNT) { return arguments[0]; } } else { count = 0; } return func.apply(undefined, arguments); }; } module.exports = shortOut; },{}],414:[function(require,module,exports){ var ListCache = require('./_ListCache'); function stackClear() { this.__data__ = new ListCache; this.size = 0; } module.exports = stackClear; },{"./_ListCache":309}],415:[function(require,module,exports){ function stackDelete(key) { var data = this.__data__, result = data['delete'](key); this.size = data.size; return result; } module.exports = stackDelete; },{}],416:[function(require,module,exports){ function stackGet(key) { return this.__data__.get(key); } module.exports = stackGet; },{}],417:[function(require,module,exports){ function stackHas(key) { return this.__data__.has(key); } module.exports = stackHas; },{}],418:[function(require,module,exports){ var ListCache = require('./_ListCache'), Map = require('./_Map'), MapCache = require('./_MapCache'); var LARGE_ARRAY_SIZE = 200; function stackSet(key, value) { var data = this.__data__; if (data instanceof ListCache) { var pairs = data.__data__; if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { pairs.push([key, value]); this.size = ++data.size; return this; } data = this.__data__ = new MapCache(pairs); } data.set(key, value); this.size = data.size; return this; } module.exports = stackSet; },{"./_ListCache":309,"./_Map":310,"./_MapCache":311}],419:[function(require,module,exports){ var memoizeCapped = require('./_memoizeCapped'); var reLeadingDot = /^\./, rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; var reEscapeChar = /\\(\\)?/g; var stringToPath = memoizeCapped(function(string) { var result = []; if (reLeadingDot.test(string)) { result.push(''); } string.replace(rePropName, function(match, number, quote, string) { result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match)); }); return result; }); module.exports = stringToPath; },{"./_memoizeCapped":401}],420:[function(require,module,exports){ var isSymbol = require('./isSymbol'); var INFINITY = 1 / 0; function toKey(value) { if (typeof value == 'string' || isSymbol(value)) { return value; } var result = (value + ''); return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; } module.exports = toKey; },{"./isSymbol":439}],421:[function(require,module,exports){ var funcProto = Function.prototype; var funcToString = funcProto.toString; function toSource(func) { if (func != null) { try { return funcToString.call(func); } catch (e) {} try { return (func + ''); } catch (e) {} } return ''; } module.exports = toSource; },{}],422:[function(require,module,exports){ var assignValue = require('./_assignValue'), copyObject = require('./_copyObject'), createAssigner = require('./_createAssigner'), isArrayLike = require('./isArrayLike'), isPrototype = require('./_isPrototype'), keys = require('./keys'); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; var assign = createAssigner(function(object, source) { if (isPrototype(source) || isArrayLike(source)) { copyObject(source, keys(source), object); return; } for (var key in source) { if (hasOwnProperty.call(source, key)) { assignValue(object, key, source[key]); } } }); module.exports = assign; },{"./_assignValue":326,"./_copyObject":358,"./_createAssigner":360,"./_isPrototype":387,"./isArrayLike":432,"./keys":441}],423:[function(require,module,exports){ function constant(value) { return function() { return value; }; } module.exports = constant; },{}],424:[function(require,module,exports){ var baseAssign = require('./_baseAssign'), baseCreate = require('./_baseCreate'); function create(prototype, properties) { var result = baseCreate(prototype); return properties == null ? result : baseAssign(result, properties); } module.exports = create; },{"./_baseAssign":328,"./_baseCreate":330}],425:[function(require,module,exports){ function eq(value, other) { return value === other || (value !== value && other !== other); } module.exports = eq; },{}],426:[function(require,module,exports){ var arrayEvery = require('./_arrayEvery'), baseEvery = require('./_baseEvery'), baseIteratee = require('./_baseIteratee'), isArray = require('./isArray'), isIterateeCall = require('./_isIterateeCall'); function every(collection, predicate, guard) { var func = isArray(collection) ? arrayEvery : baseEvery; if (guard && isIterateeCall(collection, predicate, guard)) { predicate = undefined; } return func(collection, baseIteratee(predicate, 3)); } module.exports = every; },{"./_arrayEvery":320,"./_baseEvery":332,"./_baseIteratee":345,"./_isIterateeCall":383,"./isArray":431}],427:[function(require,module,exports){ var baseGet = require('./_baseGet'); function get(object, path, defaultValue) { var result = object == null ? undefined : baseGet(object, path); return result === undefined ? defaultValue : result; } module.exports = get; },{"./_baseGet":335}],428:[function(require,module,exports){ var baseHasIn = require('./_baseHasIn'), hasPath = require('./_hasPath'); function hasIn(object, path) { return object != null && hasPath(object, path, baseHasIn); } module.exports = hasIn; },{"./_baseHasIn":338,"./_hasPath":376}],429:[function(require,module,exports){ function identity(value) { return value; } module.exports = identity; },{}],430:[function(require,module,exports){ var baseIsArguments = require('./_baseIsArguments'), isObjectLike = require('./isObjectLike'); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; var propertyIsEnumerable = objectProto.propertyIsEnumerable; var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && !propertyIsEnumerable.call(value, 'callee'); }; module.exports = isArguments; },{"./_baseIsArguments":339,"./isObjectLike":438}],431:[function(require,module,exports){ var isArray = Array.isArray; module.exports = isArray; },{}],432:[function(require,module,exports){ var isFunction = require('./isFunction'), isLength = require('./isLength'); function isArrayLike(value) { return value != null && isLength(value.length) && !isFunction(value); } module.exports = isArrayLike; },{"./isFunction":435,"./isLength":436}],433:[function(require,module,exports){ var root = require('./_root'), stubFalse = require('./stubFalse'); var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; var moduleExports = freeModule && freeModule.exports === freeExports; var Buffer = moduleExports ? root.Buffer : undefined; var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined; var isBuffer = nativeIsBuffer || stubFalse; module.exports = isBuffer; },{"./_root":408,"./stubFalse":445}],434:[function(require,module,exports){ var baseKeys = require('./_baseKeys'), getTag = require('./_getTag'), isArguments = require('./isArguments'), isArray = require('./isArray'), isArrayLike = require('./isArrayLike'), isBuffer = require('./isBuffer'), isPrototype = require('./_isPrototype'), isTypedArray = require('./isTypedArray'); var mapTag = '[object Map]', setTag = '[object Set]'; var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; function isEmpty(value) { if (value == null) { return true; } if (isArrayLike(value) && (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' || isBuffer(value) || isTypedArray(value) || isArguments(value))) { return !value.length; } var tag = getTag(value); if (tag == mapTag || tag == setTag) { return !value.size; } if (isPrototype(value)) { return !baseKeys(value).length; } for (var key in value) { if (hasOwnProperty.call(value, key)) { return false; } } return true; } module.exports = isEmpty; },{"./_baseKeys":346,"./_getTag":374,"./_isPrototype":387,"./isArguments":430,"./isArray":431,"./isArrayLike":432,"./isBuffer":433,"./isTypedArray":440}],435:[function(require,module,exports){ var baseGetTag = require('./_baseGetTag'), isObject = require('./isObject'); var asyncTag = '[object AsyncFunction]', funcTag = '[object Function]', genTag = '[object GeneratorFunction]', proxyTag = '[object Proxy]'; function isFunction(value) { if (!isObject(value)) { return false; } var tag = baseGetTag(value); return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; } module.exports = isFunction; },{"./_baseGetTag":337,"./isObject":437}],436:[function(require,module,exports){ var MAX_SAFE_INTEGER = 9007199254740991; function isLength(value) { return typeof value == 'number' && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; } module.exports = isLength; },{}],437:[function(require,module,exports){ function isObject(value) { var type = typeof value; return value != null && (type == 'object' || type == 'function'); } module.exports = isObject; },{}],438:[function(require,module,exports){ function isObjectLike(value) { return value != null && typeof value == 'object'; } module.exports = isObjectLike; },{}],439:[function(require,module,exports){ var baseGetTag = require('./_baseGetTag'), isObjectLike = require('./isObjectLike'); var symbolTag = '[object Symbol]'; function isSymbol(value) { return typeof value == 'symbol' || (isObjectLike(value) && baseGetTag(value) == symbolTag); } module.exports = isSymbol; },{"./_baseGetTag":337,"./isObjectLike":438}],440:[function(require,module,exports){ var baseIsTypedArray = require('./_baseIsTypedArray'), baseUnary = require('./_baseUnary'), nodeUtil = require('./_nodeUtil'); var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; module.exports = isTypedArray; },{"./_baseIsTypedArray":344,"./_baseUnary":355,"./_nodeUtil":404}],441:[function(require,module,exports){ var arrayLikeKeys = require('./_arrayLikeKeys'), baseKeys = require('./_baseKeys'), isArrayLike = require('./isArrayLike'); function keys(object) { return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); } module.exports = keys; },{"./_arrayLikeKeys":322,"./_baseKeys":346,"./isArrayLike":432}],442:[function(require,module,exports){ var MapCache = require('./_MapCache'); var FUNC_ERROR_TEXT = 'Expected a function'; function memoize(func, resolver) { if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { throw new TypeError(FUNC_ERROR_TEXT); } var memoized = function() { var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache; if (cache.has(key)) { return cache.get(key); } var result = func.apply(this, args); memoized.cache = cache.set(key, result) || cache; return result; }; memoized.cache = new (memoize.Cache || MapCache); return memoized; } memoize.Cache = MapCache; module.exports = memoize; },{"./_MapCache":311}],443:[function(require,module,exports){ var baseProperty = require('./_baseProperty'), basePropertyDeep = require('./_basePropertyDeep'), isKey = require('./_isKey'), toKey = require('./_toKey'); function property(path) { return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path); } module.exports = property; },{"./_baseProperty":349,"./_basePropertyDeep":350,"./_isKey":384,"./_toKey":420}],444:[function(require,module,exports){ function stubArray() { return []; } module.exports = stubArray; },{}],445:[function(require,module,exports){ function stubFalse() { return false; } module.exports = stubFalse; },{}],446:[function(require,module,exports){ var baseToString = require('./_baseToString'); function toString(value) { return value == null ? '' : baseToString(value); } module.exports = toString; },{"./_baseToString":354}],447:[function(require,module,exports){ var process = module.exports = {}; var cachedSetTimeout; var cachedClearTimeout; function defaultSetTimout() { throw new Error('setTimeout has not been defined'); } function defaultClearTimeout () { throw new Error('clearTimeout has not been defined'); } (function () { try { if (typeof setTimeout === 'function') { cachedSetTimeout = setTimeout; } else { cachedSetTimeout = defaultSetTimout; } } catch (e) { cachedSetTimeout = defaultSetTimout; } try { if (typeof clearTimeout === 'function') { cachedClearTimeout = clearTimeout; } else { cachedClearTimeout = defaultClearTimeout; } } catch (e) { cachedClearTimeout = defaultClearTimeout; } } ()) function runTimeout(fun) { if (cachedSetTimeout === setTimeout) { return setTimeout(fun, 0); } if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { cachedSetTimeout = setTimeout; return setTimeout(fun, 0); } try { return cachedSetTimeout(fun, 0); } catch(e){ try { return cachedSetTimeout.call(null, fun, 0); } catch(e){ return cachedSetTimeout.call(this, fun, 0); } } } function runClearTimeout(marker) { if (cachedClearTimeout === clearTimeout) { return clearTimeout(marker); } if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { cachedClearTimeout = clearTimeout; return clearTimeout(marker); } try { return cachedClearTimeout(marker); } catch (e){ try { return cachedClearTimeout.call(null, marker); } catch (e){ return cachedClearTimeout.call(this, marker); } } } var queue = []; var draining = false; var currentQueue; var queueIndex = -1; function cleanUpNextTick() { if (!draining || !currentQueue) { return; } draining = false; if (currentQueue.length) { queue = currentQueue.concat(queue); } else { queueIndex = -1; } if (queue.length) { drainQueue(); } } function drainQueue() { if (draining) { return; } var timeout = runTimeout(cleanUpNextTick); draining = true; var len = queue.length; while(len) { currentQueue = queue; queue = []; while (++queueIndex < len) { if (currentQueue) { currentQueue[queueIndex].run(); } } queueIndex = -1; len = queue.length; } currentQueue = null; draining = false; runClearTimeout(timeout); } process.nextTick = function (fun) { var args = new Array(arguments.length - 1); if (arguments.length > 1) { for (var i = 1; i < arguments.length; i++) { args[i - 1] = arguments[i]; } } queue.push(new Item(fun, args)); if (queue.length === 1 && !draining) { runTimeout(drainQueue); } }; function Item(fun, array) { this.fun = fun; this.array = array; } Item.prototype.run = function () { this.fun.apply(null, this.array); }; process.title = 'browser'; process.browser = true; process.env = {}; process.argv = []; process.version = ''; // empty string to avoid regexp issues process.versions = {}; function noop() {} process.on = noop; process.addListener = noop; process.once = noop; process.off = noop; process.removeListener = noop; process.removeAllListeners = noop; process.emit = noop; process.prependListener = noop; process.prependOnceListener = noop; process.listeners = function (name) { return [] } process.binding = function (name) { throw new Error('process.binding is not supported'); }; process.cwd = function () { return '/' }; process.chdir = function (dir) { throw new Error('process.chdir is not supported'); }; process.umask = function() { return 0; }; },{}],448:[function(require,module,exports){ (function (global){ ;(function(root) { var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; var freeModule = typeof module == 'object' && module && !module.nodeType && module; var freeGlobal = typeof global == 'object' && global; if ( freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal || freeGlobal.self === freeGlobal ) { root = freeGlobal; } var punycode, maxInt = 2147483647, // aka. 0x7FFFFFFF or 2^31-1 base = 36, tMin = 1, tMax = 26, skew = 38, damp = 700, initialBias = 72, initialN = 128, // 0x80 delimiter = '-', // '\x2D' regexPunycode = /^xn--/, regexNonASCII = /[^\x20-\x7E]/, // unprintable ASCII chars + non-ASCII chars regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g, // RFC 3490 separators errors = { 'overflow': 'Overflow: input needs wider integers to process', 'not-basic': 'Illegal input >= 0x80 (not a basic code point)', 'invalid-input': 'Invalid input' }, baseMinusTMin = base - tMin, floor = Math.floor, stringFromCharCode = String.fromCharCode, key; function error(type) { throw RangeError(errors[type]); } function map(array, fn) { var length = array.length; var result = []; while (length--) { result[length] = fn(array[length]); } return result; } function mapDomain(string, fn) { var parts = string.split('@'); var result = ''; if (parts.length > 1) { result = parts[0] + '@'; string = parts[1]; } string = string.replace(regexSeparators, '\x2E'); var labels = string.split('.'); var encoded = map(labels, fn).join('.'); return result + encoded; } function ucs2decode(string) { var output = [], counter = 0, length = string.length, value, extra; while (counter < length) { value = string.charCodeAt(counter++); if (value >= 0xD800 && value <= 0xDBFF && counter < length) { extra = string.charCodeAt(counter++); if ((extra & 0xFC00) == 0xDC00) { // low surrogate output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); } else { output.push(value); counter--; } } else { output.push(value); } } return output; } function ucs2encode(array) { return map(array, function(value) { var output = ''; if (value > 0xFFFF) { value -= 0x10000; output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800); value = 0xDC00 | value & 0x3FF; } output += stringFromCharCode(value); return output; }).join(''); } function basicToDigit(codePoint) { if (codePoint - 48 < 10) { return codePoint - 22; } if (codePoint - 65 < 26) { return codePoint - 65; } if (codePoint - 97 < 26) { return codePoint - 97; } return base; } function digitToBasic(digit, flag) { return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5); } function adapt(delta, numPoints, firstTime) { var k = 0; delta = firstTime ? floor(delta / damp) : delta >> 1; delta += floor(delta / numPoints); for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { delta = floor(delta / baseMinusTMin); } return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); } function decode(input) { var output = [], inputLength = input.length, out, i = 0, n = initialN, bias = initialBias, basic, j, index, oldi, w, k, digit, t, baseMinusT; basic = input.lastIndexOf(delimiter); if (basic < 0) { basic = 0; } for (j = 0; j < basic; ++j) { if (input.charCodeAt(j) >= 0x80) { error('not-basic'); } output.push(input.charCodeAt(j)); } for (index = basic > 0 ? basic + 1 : 0; index < inputLength; /* no final expression */) { for (oldi = i, w = 1, k = base; /* no condition */; k += base) { if (index >= inputLength) { error('invalid-input'); } digit = basicToDigit(input.charCodeAt(index++)); if (digit >= base || digit > floor((maxInt - i) / w)) { error('overflow'); } i += digit * w; t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); if (digit < t) { break; } baseMinusT = base - t; if (w > floor(maxInt / baseMinusT)) { error('overflow'); } w *= baseMinusT; } out = output.length + 1; bias = adapt(i - oldi, out, oldi == 0); if (floor(i / out) > maxInt - n) { error('overflow'); } n += floor(i / out); i %= out; output.splice(i++, 0, n); } return ucs2encode(output); } function encode(input) { var n, delta, handledCPCount, basicLength, bias, j, m, q, k, t, currentValue, output = [], inputLength, handledCPCountPlusOne, baseMinusT, qMinusT; input = ucs2decode(input); inputLength = input.length; n = initialN; delta = 0; bias = initialBias; for (j = 0; j < inputLength; ++j) { currentValue = input[j]; if (currentValue < 0x80) { output.push(stringFromCharCode(currentValue)); } } handledCPCount = basicLength = output.length; if (basicLength) { output.push(delimiter); } while (handledCPCount < inputLength) { for (m = maxInt, j = 0; j < inputLength; ++j) { currentValue = input[j]; if (currentValue >= n && currentValue < m) { m = currentValue; } } handledCPCountPlusOne = handledCPCount + 1; if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { error('overflow'); } delta += (m - n) * handledCPCountPlusOne; n = m; for (j = 0; j < inputLength; ++j) { currentValue = input[j]; if (currentValue < n && ++delta > maxInt) { error('overflow'); } if (currentValue == n) { for (q = delta, k = base; /* no condition */; k += base) { t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); if (q < t) { break; } qMinusT = q - t; baseMinusT = base - t; output.push( stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)) ); q = floor(qMinusT / baseMinusT); } output.push(stringFromCharCode(digitToBasic(q, 0))); bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); delta = 0; ++handledCPCount; } } ++delta; ++n; } return output.join(''); } function toUnicode(input) { return mapDomain(input, function(string) { return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string; }); } function toASCII(input) { return mapDomain(input, function(string) { return regexNonASCII.test(string) ? 'xn--' + encode(string) : string; }); } punycode = { 'version': '1.3.2', 'ucs2': { 'decode': ucs2decode, 'encode': ucs2encode }, 'decode': decode, 'encode': encode, 'toASCII': toASCII, 'toUnicode': toUnicode }; if ( typeof define == 'function' && typeof define.amd == 'object' && define.amd ) { define('punycode', function() { return punycode; }); } else if (freeExports && freeModule) { if (module.exports == freeExports) { // in Node.js or RingoJS v0.8.0+ freeModule.exports = punycode; } else { // in Narwhal or RingoJS v0.7.0- for (key in punycode) { punycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]); } } } else { // in Rhino or a web browser root.punycode = punycode; } }(this)); }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],449:[function(require,module,exports){ 'use strict'; function hasOwnProperty(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } module.exports = function(qs, sep, eq, options) { sep = sep || '&'; eq = eq || '='; var obj = {}; if (typeof qs !== 'string' || qs.length === 0) { return obj; } var regexp = /\+/g; qs = qs.split(sep); var maxKeys = 1000; if (options && typeof options.maxKeys === 'number') { maxKeys = options.maxKeys; } var len = qs.length; if (maxKeys > 0 && len > maxKeys) { len = maxKeys; } for (var i = 0; i < len; ++i) { var x = qs[i].replace(regexp, '%20'), idx = x.indexOf(eq), kstr, vstr, k, v; if (idx >= 0) { kstr = x.substr(0, idx); vstr = x.substr(idx + 1); } else { kstr = x; vstr = ''; } k = decodeURIComponent(kstr); v = decodeURIComponent(vstr); if (!hasOwnProperty(obj, k)) { obj[k] = v; } else if (isArray(obj[k])) { obj[k].push(v); } else { obj[k] = [obj[k], v]; } } return obj; }; var isArray = Array.isArray || function (xs) { return Object.prototype.toString.call(xs) === '[object Array]'; }; },{}],450:[function(require,module,exports){ 'use strict'; var stringifyPrimitive = function(v) { switch (typeof v) { case 'string': return v; case 'boolean': return v ? 'true' : 'false'; case 'number': return isFinite(v) ? v : ''; default: return ''; } }; module.exports = function(obj, sep, eq, name) { sep = sep || '&'; eq = eq || '='; if (obj === null) { obj = undefined; } if (typeof obj === 'object') { return map(objectKeys(obj), function(k) { var ks = encodeURIComponent(stringifyPrimitive(k)) + eq; if (isArray(obj[k])) { return map(obj[k], function(v) { return ks + encodeURIComponent(stringifyPrimitive(v)); }).join(sep); } else { return ks + encodeURIComponent(stringifyPrimitive(obj[k])); } }).join(sep); } if (!name) return ''; return encodeURIComponent(stringifyPrimitive(name)) + eq + encodeURIComponent(stringifyPrimitive(obj)); }; var isArray = Array.isArray || function (xs) { return Object.prototype.toString.call(xs) === '[object Array]'; }; function map (xs, f) { if (xs.map) return xs.map(f); var res = []; for (var i = 0; i < xs.length; i++) { res.push(f(xs[i], i)); } return res; } var objectKeys = Object.keys || function (obj) { var res = []; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) res.push(key); } return res; }; },{}],451:[function(require,module,exports){ 'use strict'; exports.decode = exports.parse = require('./decode'); exports.encode = exports.stringify = require('./encode'); },{"./decode":449,"./encode":450}],452:[function(require,module,exports){ 'use strict'; function hasOwnProperty(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } module.exports = function(qs, sep, eq, options) { sep = sep || '&'; eq = eq || '='; var obj = {}; if (typeof qs !== 'string' || qs.length === 0) { return obj; } var regexp = /\+/g; qs = qs.split(sep); var maxKeys = 1000; if (options && typeof options.maxKeys === 'number') { maxKeys = options.maxKeys; } var len = qs.length; if (maxKeys > 0 && len > maxKeys) { len = maxKeys; } for (var i = 0; i < len; ++i) { var x = qs[i].replace(regexp, '%20'), idx = x.indexOf(eq), kstr, vstr, k, v; if (idx >= 0) { kstr = x.substr(0, idx); vstr = x.substr(idx + 1); } else { kstr = x; vstr = ''; } k = decodeURIComponent(kstr); v = decodeURIComponent(vstr); if (!hasOwnProperty(obj, k)) { obj[k] = v; } else if (Array.isArray(obj[k])) { obj[k].push(v); } else { obj[k] = [obj[k], v]; } } return obj; }; },{}],453:[function(require,module,exports){ 'use strict'; var stringifyPrimitive = function(v) { switch (typeof v) { case 'string': return v; case 'boolean': return v ? 'true' : 'false'; case 'number': return isFinite(v) ? v : ''; default: return ''; } }; module.exports = function(obj, sep, eq, name) { sep = sep || '&'; eq = eq || '='; if (obj === null) { obj = undefined; } if (typeof obj === 'object') { return Object.keys(obj).map(function(k) { var ks = encodeURIComponent(stringifyPrimitive(k)) + eq; if (Array.isArray(obj[k])) { return obj[k].map(function(v) { return ks + encodeURIComponent(stringifyPrimitive(v)); }).join(sep); } else { return ks + encodeURIComponent(stringifyPrimitive(obj[k])); } }).join(sep); } if (!name) return ''; return encodeURIComponent(stringifyPrimitive(name)) + eq + encodeURIComponent(stringifyPrimitive(obj)); }; },{}],454:[function(require,module,exports){ arguments[4][451][0].apply(exports,arguments) },{"./decode":452,"./encode":453,"dup":451}],455:[function(require,module,exports){ var punycode = require('punycode'); exports.parse = urlParse; exports.resolve = urlResolve; exports.resolveObject = urlResolveObject; exports.format = urlFormat; exports.Url = Url; function Url() { this.protocol = null; this.slashes = null; this.auth = null; this.host = null; this.port = null; this.hostname = null; this.hash = null; this.search = null; this.query = null; this.pathname = null; this.path = null; this.href = null; } var protocolPattern = /^([a-z0-9.+-]+:)/i, portPattern = /:[0-9]*$/, delims = ['<', '>', '"', '`', ' ', '\r', '\n', '\t'], unwise = ['{', '}', '|', '\\', '^', '`'].concat(delims), autoEscape = ['\''].concat(unwise), nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape), hostEndingChars = ['/', '?', '#'], hostnameMaxLen = 255, hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/, hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/, unsafeProtocol = { 'javascript': true, 'javascript:': true }, hostlessProtocol = { 'javascript': true, 'javascript:': true }, slashedProtocol = { 'http': true, 'https': true, 'ftp': true, 'gopher': true, 'file': true, 'http:': true, 'https:': true, 'ftp:': true, 'gopher:': true, 'file:': true }, querystring = require('querystring'); function urlParse(url, parseQueryString, slashesDenoteHost) { if (url && isObject(url) && url instanceof Url) return url; var u = new Url; u.parse(url, parseQueryString, slashesDenoteHost); return u; } Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) { if (!isString(url)) { throw new TypeError("Parameter 'url' must be a string, not " + typeof url); } var rest = url; rest = rest.trim(); var proto = protocolPattern.exec(rest); if (proto) { proto = proto[0]; var lowerProto = proto.toLowerCase(); this.protocol = lowerProto; rest = rest.substr(proto.length); } if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) { var slashes = rest.substr(0, 2) === '//'; if (slashes && !(proto && hostlessProtocol[proto])) { rest = rest.substr(2); this.slashes = true; } } if (!hostlessProtocol[proto] && (slashes || (proto && !slashedProtocol[proto]))) { var hostEnd = -1; for (var i = 0; i < hostEndingChars.length; i++) { var hec = rest.indexOf(hostEndingChars[i]); if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec; } var auth, atSign; if (hostEnd === -1) { atSign = rest.lastIndexOf('@'); } else { atSign = rest.lastIndexOf('@', hostEnd); } if (atSign !== -1) { auth = rest.slice(0, atSign); rest = rest.slice(atSign + 1); this.auth = decodeURIComponent(auth); } hostEnd = -1; for (var i = 0; i < nonHostChars.length; i++) { var hec = rest.indexOf(nonHostChars[i]); if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) hostEnd = hec; } if (hostEnd === -1) hostEnd = rest.length; this.host = rest.slice(0, hostEnd); rest = rest.slice(hostEnd); this.parseHost(); this.hostname = this.hostname || ''; var ipv6Hostname = this.hostname[0] === '[' && this.hostname[this.hostname.length - 1] === ']'; if (!ipv6Hostname) { var hostparts = this.hostname.split(/\./); for (var i = 0, l = hostparts.length; i < l; i++) { var part = hostparts[i]; if (!part) continue; if (!part.match(hostnamePartPattern)) { var newpart = ''; for (var j = 0, k = part.length; j < k; j++) { if (part.charCodeAt(j) > 127) { newpart += 'x'; } else { newpart += part[j]; } } if (!newpart.match(hostnamePartPattern)) { var validParts = hostparts.slice(0, i); var notHost = hostparts.slice(i + 1); var bit = part.match(hostnamePartStart); if (bit) { validParts.push(bit[1]); notHost.unshift(bit[2]); } if (notHost.length) { rest = '/' + notHost.join('.') + rest; } this.hostname = validParts.join('.'); break; } } } } if (this.hostname.length > hostnameMaxLen) { this.hostname = ''; } else { this.hostname = this.hostname.toLowerCase(); } if (!ipv6Hostname) { var domainArray = this.hostname.split('.'); var newOut = []; for (var i = 0; i < domainArray.length; ++i) { var s = domainArray[i]; newOut.push(s.match(/[^A-Za-z0-9_-]/) ? 'xn--' + punycode.encode(s) : s); } this.hostname = newOut.join('.'); } var p = this.port ? ':' + this.port : ''; var h = this.hostname || ''; this.host = h + p; this.href += this.host; if (ipv6Hostname) { this.hostname = this.hostname.substr(1, this.hostname.length - 2); if (rest[0] !== '/') { rest = '/' + rest; } } } if (!unsafeProtocol[lowerProto]) { for (var i = 0, l = autoEscape.length; i < l; i++) { var ae = autoEscape[i]; var esc = encodeURIComponent(ae); if (esc === ae) { esc = escape(ae); } rest = rest.split(ae).join(esc); } } var hash = rest.indexOf('#'); if (hash !== -1) { this.hash = rest.substr(hash); rest = rest.slice(0, hash); } var qm = rest.indexOf('?'); if (qm !== -1) { this.search = rest.substr(qm); this.query = rest.substr(qm + 1); if (parseQueryString) { this.query = querystring.parse(this.query); } rest = rest.slice(0, qm); } else if (parseQueryString) { this.search = ''; this.query = {}; } if (rest) this.pathname = rest; if (slashedProtocol[lowerProto] && this.hostname && !this.pathname) { this.pathname = '/'; } if (this.pathname || this.search) { var p = this.pathname || ''; var s = this.search || ''; this.path = p + s; } this.href = this.format(); return this; }; function urlFormat(obj) { if (isString(obj)) obj = urlParse(obj); if (!(obj instanceof Url)) return Url.prototype.format.call(obj); return obj.format(); } Url.prototype.format = function() { var auth = this.auth || ''; if (auth) { auth = encodeURIComponent(auth); auth = auth.replace(/%3A/i, ':'); auth += '@'; } var protocol = this.protocol || '', pathname = this.pathname || '', hash = this.hash || '', host = false, query = ''; if (this.host) { host = auth + this.host; } else if (this.hostname) { host = auth + (this.hostname.indexOf(':') === -1 ? this.hostname : '[' + this.hostname + ']'); if (this.port) { host += ':' + this.port; } } if (this.query && isObject(this.query) && Object.keys(this.query).length) { query = querystring.stringify(this.query); } var search = this.search || (query && ('?' + query)) || ''; if (protocol && protocol.substr(-1) !== ':') protocol += ':'; if (this.slashes || (!protocol || slashedProtocol[protocol]) && host !== false) { host = '//' + (host || ''); if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname; } else if (!host) { host = ''; } if (hash && hash.charAt(0) !== '#') hash = '#' + hash; if (search && search.charAt(0) !== '?') search = '?' + search; pathname = pathname.replace(/[?#]/g, function(match) { return encodeURIComponent(match); }); search = search.replace('#', '%23'); return protocol + host + pathname + search + hash; }; function urlResolve(source, relative) { return urlParse(source, false, true).resolve(relative); } Url.prototype.resolve = function(relative) { return this.resolveObject(urlParse(relative, false, true)).format(); }; function urlResolveObject(source, relative) { if (!source) return relative; return urlParse(source, false, true).resolveObject(relative); } Url.prototype.resolveObject = function(relative) { if (isString(relative)) { var rel = new Url(); rel.parse(relative, false, true); relative = rel; } var result = new Url(); Object.keys(this).forEach(function(k) { result[k] = this[k]; }, this); result.hash = relative.hash; if (relative.href === '') { result.href = result.format(); return result; } if (relative.slashes && !relative.protocol) { Object.keys(relative).forEach(function(k) { if (k !== 'protocol') result[k] = relative[k]; }); if (slashedProtocol[result.protocol] && result.hostname && !result.pathname) { result.path = result.pathname = '/'; } result.href = result.format(); return result; } if (relative.protocol && relative.protocol !== result.protocol) { if (!slashedProtocol[relative.protocol]) { Object.keys(relative).forEach(function(k) { result[k] = relative[k]; }); result.href = result.format(); return result; } result.protocol = relative.protocol; if (!relative.host && !hostlessProtocol[relative.protocol]) { var relPath = (relative.pathname || '').split('/'); while (relPath.length && !(relative.host = relPath.shift())); if (!relative.host) relative.host = ''; if (!relative.hostname) relative.hostname = ''; if (relPath[0] !== '') relPath.unshift(''); if (relPath.length < 2) relPath.unshift(''); result.pathname = relPath.join('/'); } else { result.pathname = relative.pathname; } result.search = relative.search; result.query = relative.query; result.host = relative.host || ''; result.auth = relative.auth; result.hostname = relative.hostname || relative.host; result.port = relative.port; if (result.pathname || result.search) { var p = result.pathname || ''; var s = result.search || ''; result.path = p + s; } result.slashes = result.slashes || relative.slashes; result.href = result.format(); return result; } var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'), isRelAbs = ( relative.host || relative.pathname && relative.pathname.charAt(0) === '/' ), mustEndAbs = (isRelAbs || isSourceAbs || (result.host && relative.pathname)), removeAllDots = mustEndAbs, srcPath = result.pathname && result.pathname.split('/') || [], relPath = relative.pathname && relative.pathname.split('/') || [], psychotic = result.protocol && !slashedProtocol[result.protocol]; if (psychotic) { result.hostname = ''; result.port = null; if (result.host) { if (srcPath[0] === '') srcPath[0] = result.host; else srcPath.unshift(result.host); } result.host = ''; if (relative.protocol) { relative.hostname = null; relative.port = null; if (relative.host) { if (relPath[0] === '') relPath[0] = relative.host; else relPath.unshift(relative.host); } relative.host = null; } mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === ''); } if (isRelAbs) { result.host = (relative.host || relative.host === '') ? relative.host : result.host; result.hostname = (relative.hostname || relative.hostname === '') ? relative.hostname : result.hostname; result.search = relative.search; result.query = relative.query; srcPath = relPath; } else if (relPath.length) { if (!srcPath) srcPath = []; srcPath.pop(); srcPath = srcPath.concat(relPath); result.search = relative.search; result.query = relative.query; } else if (!isNullOrUndefined(relative.search)) { if (psychotic) { result.hostname = result.host = srcPath.shift(); var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false; if (authInHost) { result.auth = authInHost.shift(); result.host = result.hostname = authInHost.shift(); } } result.search = relative.search; result.query = relative.query; if (!isNull(result.pathname) || !isNull(result.search)) { result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : ''); } result.href = result.format(); return result; } if (!srcPath.length) { result.pathname = null; if (result.search) { result.path = '/' + result.search; } else { result.path = null; } result.href = result.format(); return result; } var last = srcPath.slice(-1)[0]; var hasTrailingSlash = ( (result.host || relative.host) && (last === '.' || last === '..') || last === ''); var up = 0; for (var i = srcPath.length; i >= 0; i--) { last = srcPath[i]; if (last == '.') { srcPath.splice(i, 1); } else if (last === '..') { srcPath.splice(i, 1); up++; } else if (up) { srcPath.splice(i, 1); up--; } } if (!mustEndAbs && !removeAllDots) { for (; up--; up) { srcPath.unshift('..'); } } if (mustEndAbs && srcPath[0] !== '' && (!srcPath[0] || srcPath[0].charAt(0) !== '/')) { srcPath.unshift(''); } if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) { srcPath.push(''); } var isAbsolute = srcPath[0] === '' || (srcPath[0] && srcPath[0].charAt(0) === '/'); if (psychotic) { result.hostname = result.host = isAbsolute ? '' : srcPath.length ? srcPath.shift() : ''; var authInHost = result.host && result.host.indexOf('@') > 0 ? result.host.split('@') : false; if (authInHost) { result.auth = authInHost.shift(); result.host = result.hostname = authInHost.shift(); } } mustEndAbs = mustEndAbs || (result.host && srcPath.length); if (mustEndAbs && !isAbsolute) { srcPath.unshift(''); } if (!srcPath.length) { result.pathname = null; result.path = null; } else { result.pathname = srcPath.join('/'); } if (!isNull(result.pathname) || !isNull(result.search)) { result.path = (result.pathname ? result.pathname : '') + (result.search ? result.search : ''); } result.auth = relative.auth || result.auth; result.slashes = result.slashes || relative.slashes; result.href = result.format(); return result; }; Url.prototype.parseHost = function() { var host = this.host; var port = portPattern.exec(host); if (port) { port = port[0]; if (port !== ':') { this.port = port.substr(1); } host = host.substr(0, host.length - port.length); } if (host) this.hostname = host; }; function isString(arg) { return typeof arg === "string"; } function isObject(arg) { return typeof arg === 'object' && arg !== null; } function isNull(arg) { return arg === null; } function isNullOrUndefined(arg) { return arg == null; } },{"punycode":448,"querystring":451}],456:[function(require,module,exports){ if (typeof Object.create === 'function') { module.exports = function inherits(ctor, superCtor) { ctor.super_ = superCtor ctor.prototype = Object.create(superCtor.prototype, { constructor: { value: ctor, enumerable: false, writable: true, configurable: true } }); }; } else { module.exports = function inherits(ctor, superCtor) { ctor.super_ = superCtor var TempCtor = function () {} TempCtor.prototype = superCtor.prototype ctor.prototype = new TempCtor() ctor.prototype.constructor = ctor } } },{}],457:[function(require,module,exports){ module.exports = function isBuffer(arg) { return arg && typeof arg === 'object' && typeof arg.copy === 'function' && typeof arg.fill === 'function' && typeof arg.readUInt8 === 'function'; } },{}],458:[function(require,module,exports){ (function (process,global){ var formatRegExp = /%[sdj%]/g; exports.format = function(f) { if (!isString(f)) { var objects = []; for (var i = 0; i < arguments.length; i++) { objects.push(inspect(arguments[i])); } return objects.join(' '); } var i = 1; var args = arguments; var len = args.length; var str = String(f).replace(formatRegExp, function(x) { if (x === '%%') return '%'; if (i >= len) return x; switch (x) { case '%s': return String(args[i++]); case '%d': return Number(args[i++]); case '%j': try { return JSON.stringify(args[i++]); } catch (_) { return '[Circular]'; } default: return x; } }); for (var x = args[i]; i < len; x = args[++i]) { if (isNull(x) || !isObject(x)) { str += ' ' + x; } else { str += ' ' + inspect(x); } } return str; }; exports.deprecate = function(fn, msg) { if (isUndefined(global.process)) { return function() { return exports.deprecate(fn, msg).apply(this, arguments); }; } if (process.noDeprecation === true) { return fn; } var warned = false; function deprecated() { if (!warned) { if (process.throwDeprecation) { throw new Error(msg); } else if (process.traceDeprecation) { console.trace(msg); } else { console.error(msg); } warned = true; } return fn.apply(this, arguments); } return deprecated; }; var debugs = {}; var debugEnviron; exports.debuglog = function(set) { if (isUndefined(debugEnviron)) debugEnviron = process.env.NODE_DEBUG || ''; set = set.toUpperCase(); if (!debugs[set]) { if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { var pid = process.pid; debugs[set] = function() { var msg = exports.format.apply(exports, arguments); console.error('%s %d: %s', set, pid, msg); }; } else { debugs[set] = function() {}; } } return debugs[set]; }; function inspect(obj, opts) { var ctx = { seen: [], stylize: stylizeNoColor }; if (arguments.length >= 3) ctx.depth = arguments[2]; if (arguments.length >= 4) ctx.colors = arguments[3]; if (isBoolean(opts)) { ctx.showHidden = opts; } else if (opts) { exports._extend(ctx, opts); } if (isUndefined(ctx.showHidden)) ctx.showHidden = false; if (isUndefined(ctx.depth)) ctx.depth = 2; if (isUndefined(ctx.colors)) ctx.colors = false; if (isUndefined(ctx.customInspect)) ctx.customInspect = true; if (ctx.colors) ctx.stylize = stylizeWithColor; return formatValue(ctx, obj, ctx.depth); } exports.inspect = inspect; inspect.colors = { 'bold' : [1, 22], 'italic' : [3, 23], 'underline' : [4, 24], 'inverse' : [7, 27], 'white' : [37, 39], 'grey' : [90, 39], 'black' : [30, 39], 'blue' : [34, 39], 'cyan' : [36, 39], 'green' : [32, 39], 'magenta' : [35, 39], 'red' : [31, 39], 'yellow' : [33, 39] }; inspect.styles = { 'special': 'cyan', 'number': 'yellow', 'boolean': 'yellow', 'undefined': 'grey', 'null': 'bold', 'string': 'green', 'date': 'magenta', 'regexp': 'red' }; function stylizeWithColor(str, styleType) { var style = inspect.styles[styleType]; if (style) { return '\u001b[' + inspect.colors[style][0] + 'm' + str + '\u001b[' + inspect.colors[style][1] + 'm'; } else { return str; } } function stylizeNoColor(str, styleType) { return str; } function arrayToHash(array) { var hash = {}; array.forEach(function(val, idx) { hash[val] = true; }); return hash; } function formatValue(ctx, value, recurseTimes) { if (ctx.customInspect && value && isFunction(value.inspect) && value.inspect !== exports.inspect && !(value.constructor && value.constructor.prototype === value)) { var ret = value.inspect(recurseTimes, ctx); if (!isString(ret)) { ret = formatValue(ctx, ret, recurseTimes); } return ret; } var primitive = formatPrimitive(ctx, value); if (primitive) { return primitive; } var keys = Object.keys(value); var visibleKeys = arrayToHash(keys); if (ctx.showHidden) { keys = Object.getOwnPropertyNames(value); } if (isError(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { return formatError(value); } if (keys.length === 0) { if (isFunction(value)) { var name = value.name ? ': ' + value.name : ''; return ctx.stylize('[Function' + name + ']', 'special'); } if (isRegExp(value)) { return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); } if (isDate(value)) { return ctx.stylize(Date.prototype.toString.call(value), 'date'); } if (isError(value)) { return formatError(value); } } var base = '', array = false, braces = ['{', '}']; if (isArray(value)) { array = true; braces = ['[', ']']; } if (isFunction(value)) { var n = value.name ? ': ' + value.name : ''; base = ' [Function' + n + ']'; } if (isRegExp(value)) { base = ' ' + RegExp.prototype.toString.call(value); } if (isDate(value)) { base = ' ' + Date.prototype.toUTCString.call(value); } if (isError(value)) { base = ' ' + formatError(value); } if (keys.length === 0 && (!array || value.length == 0)) { return braces[0] + base + braces[1]; } if (recurseTimes < 0) { if (isRegExp(value)) { return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); } else { return ctx.stylize('[Object]', 'special'); } } ctx.seen.push(value); var output; if (array) { output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); } else { output = keys.map(function(key) { return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); }); } ctx.seen.pop(); return reduceToSingleString(output, base, braces); } function formatPrimitive(ctx, value) { if (isUndefined(value)) return ctx.stylize('undefined', 'undefined'); if (isString(value)) { var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '') .replace(/'/g, "\\'") .replace(/\\"/g, '"') + '\''; return ctx.stylize(simple, 'string'); } if (isNumber(value)) return ctx.stylize('' + value, 'number'); if (isBoolean(value)) return ctx.stylize('' + value, 'boolean'); if (isNull(value)) return ctx.stylize('null', 'null'); } function formatError(value) { return '[' + Error.prototype.toString.call(value) + ']'; } function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { var output = []; for (var i = 0, l = value.length; i < l; ++i) { if (hasOwnProperty(value, String(i))) { output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true)); } else { output.push(''); } } keys.forEach(function(key) { if (!key.match(/^\d+$/)) { output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true)); } }); return output; } function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { var name, str, desc; desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] }; if (desc.get) { if (desc.set) { str = ctx.stylize('[Getter/Setter]', 'special'); } else { str = ctx.stylize('[Getter]', 'special'); } } else { if (desc.set) { str = ctx.stylize('[Setter]', 'special'); } } if (!hasOwnProperty(visibleKeys, key)) { name = '[' + key + ']'; } if (!str) { if (ctx.seen.indexOf(desc.value) < 0) { if (isNull(recurseTimes)) { str = formatValue(ctx, desc.value, null); } else { str = formatValue(ctx, desc.value, recurseTimes - 1); } if (str.indexOf('\n') > -1) { if (array) { str = str.split('\n').map(function(line) { return ' ' + line; }).join('\n').substr(2); } else { str = '\n' + str.split('\n').map(function(line) { return ' ' + line; }).join('\n'); } } } else { str = ctx.stylize('[Circular]', 'special'); } } if (isUndefined(name)) { if (array && key.match(/^\d+$/)) { return str; } name = JSON.stringify('' + key); if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { name = name.substr(1, name.length - 2); name = ctx.stylize(name, 'name'); } else { name = name.replace(/'/g, "\\'") .replace(/\\"/g, '"') .replace(/(^"|"$)/g, "'"); name = ctx.stylize(name, 'string'); } } return name + ': ' + str; } function reduceToSingleString(output, base, braces) { var numLinesEst = 0; var length = output.reduce(function(prev, cur) { numLinesEst++; if (cur.indexOf('\n') >= 0) numLinesEst++; return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; }, 0); if (length > 60) { return braces[0] + (base === '' ? '' : base + '\n ') + ' ' + output.join(',\n ') + ' ' + braces[1]; } return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; } function isArray(ar) { return Array.isArray(ar); } exports.isArray = isArray; function isBoolean(arg) { return typeof arg === 'boolean'; } exports.isBoolean = isBoolean; function isNull(arg) { return arg === null; } exports.isNull = isNull; function isNullOrUndefined(arg) { return arg == null; } exports.isNullOrUndefined = isNullOrUndefined; function isNumber(arg) { return typeof arg === 'number'; } exports.isNumber = isNumber; function isString(arg) { return typeof arg === 'string'; } exports.isString = isString; function isSymbol(arg) { return typeof arg === 'symbol'; } exports.isSymbol = isSymbol; function isUndefined(arg) { return arg === void 0; } exports.isUndefined = isUndefined; function isRegExp(re) { return isObject(re) && objectToString(re) === '[object RegExp]'; } exports.isRegExp = isRegExp; function isObject(arg) { return typeof arg === 'object' && arg !== null; } exports.isObject = isObject; function isDate(d) { return isObject(d) && objectToString(d) === '[object Date]'; } exports.isDate = isDate; function isError(e) { return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error); } exports.isError = isError; function isFunction(arg) { return typeof arg === 'function'; } exports.isFunction = isFunction; function isPrimitive(arg) { return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || typeof arg === 'symbol' || // ES6 symbol typeof arg === 'undefined'; } exports.isPrimitive = isPrimitive; exports.isBuffer = require('./support/isBuffer'); function objectToString(o) { return Object.prototype.toString.call(o); } function pad(n) { return n < 10 ? '0' + n.toString(10) : n.toString(10); } var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; function timestamp() { var d = new Date(); var time = [pad(d.getHours()), pad(d.getMinutes()), pad(d.getSeconds())].join(':'); return [d.getDate(), months[d.getMonth()], time].join(' '); } exports.log = function() { console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments)); }; exports.inherits = require('inherits'); exports._extend = function(origin, add) { if (!add || !isObject(add)) return origin; var keys = Object.keys(add); var i = keys.length; while (i--) { origin[keys[i]] = add[keys[i]]; } return origin; }; function hasOwnProperty(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } }).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{"./support/isBuffer":457,"_process":447,"inherits":456}],459:[function(require,module,exports){ var v1 = require('./v1'); var v4 = require('./v4'); var uuid = v4; uuid.v1 = v1; uuid.v4 = v4; module.exports = uuid; },{"./v1":462,"./v4":463}],460:[function(require,module,exports){ var byteToHex = []; for (var i = 0; i < 256; ++i) { byteToHex[i] = (i + 0x100).toString(16).substr(1); } function bytesToUuid(buf, offset) { var i = offset || 0; var bth = byteToHex; return bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + '-' + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]] + bth[buf[i++]]; } module.exports = bytesToUuid; },{}],461:[function(require,module,exports){ (function (global){ var rng; var crypto = global.crypto || global.msCrypto; // for IE 11 if (crypto && crypto.getRandomValues) { var rnds8 = new Uint8Array(16); rng = function whatwgRNG() { crypto.getRandomValues(rnds8); return rnds8; }; } if (!rng) { var rnds = new Array(16); rng = function() { for (var i = 0, r; i < 16; i++) { if ((i & 0x03) === 0) r = Math.random() * 0x100000000; rnds[i] = r >>> ((i & 0x03) << 3) & 0xff; } return rnds; }; } module.exports = rng; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}],462:[function(require,module,exports){ var rng = require('./lib/rng'); var bytesToUuid = require('./lib/bytesToUuid'); var _seedBytes = rng(); var _nodeId = [ _seedBytes[0] | 0x01, _seedBytes[1], _seedBytes[2], _seedBytes[3], _seedBytes[4], _seedBytes[5] ]; var _clockseq = (_seedBytes[6] << 8 | _seedBytes[7]) & 0x3fff; var _lastMSecs = 0, _lastNSecs = 0; function v1(options, buf, offset) { var i = buf && offset || 0; var b = buf || []; options = options || {}; var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; var dt = (msecs - _lastMSecs) + (nsecs - _lastNSecs)/10000; if (dt < 0 && options.clockseq === undefined) { clockseq = clockseq + 1 & 0x3fff; } if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { nsecs = 0; } if (nsecs >= 10000) { throw new Error('uuid.v1(): Can\'t create more than 10M uuids/sec'); } _lastMSecs = msecs; _lastNSecs = nsecs; _clockseq = clockseq; msecs += 12219292800000; var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; b[i++] = tl >>> 24 & 0xff; b[i++] = tl >>> 16 & 0xff; b[i++] = tl >>> 8 & 0xff; b[i++] = tl & 0xff; var tmh = (msecs / 0x100000000 * 10000) & 0xfffffff; b[i++] = tmh >>> 8 & 0xff; b[i++] = tmh & 0xff; b[i++] = tmh >>> 24 & 0xf | 0x10; // include version b[i++] = tmh >>> 16 & 0xff; b[i++] = clockseq >>> 8 | 0x80; b[i++] = clockseq & 0xff; var node = options.node || _nodeId; for (var n = 0; n < 6; ++n) { b[i + n] = node[n]; } return buf ? buf : bytesToUuid(b); } module.exports = v1; },{"./lib/bytesToUuid":460,"./lib/rng":461}],463:[function(require,module,exports){ var rng = require('./lib/rng'); var bytesToUuid = require('./lib/bytesToUuid'); function v4(options, buf, offset) { var i = buf && offset || 0; if (typeof(options) == 'string') { buf = options == 'binary' ? new Array(16) : null; options = null; } options = options || {}; var rnds = options.random || (options.rng || rng)(); rnds[6] = (rnds[6] & 0x0f) | 0x40; rnds[8] = (rnds[8] & 0x3f) | 0x80; if (buf) { for (var ii = 0; ii < 16; ++ii) { buf[i + ii] = rnds[ii]; } } return buf || bytesToUuid(rnds); } module.exports = v4; },{"./lib/bytesToUuid":460,"./lib/rng":461}],464:[function(require,module,exports){ (function() { var XMLAttribute, create; create = require('lodash/create'); module.exports = XMLAttribute = (function() { function XMLAttribute(parent, name, value) { this.stringify = parent.stringify; if (name == null) { throw new Error("Missing attribute name of element " + parent.name); } if (value == null) { throw new Error("Missing attribute value for attribute " + name + " of element " + parent.name); } this.name = this.stringify.attName(name); this.value = this.stringify.attValue(value); } XMLAttribute.prototype.clone = function() { return create(XMLAttribute.prototype, this); }; XMLAttribute.prototype.toString = function(options, level) { return ' ' + this.name + '="' + this.value + '"'; }; return XMLAttribute; })(); }).call(this); },{"lodash/create":424}],465:[function(require,module,exports){ (function() { var XMLBuilder, XMLDeclaration, XMLDocType, XMLElement, XMLStringifier; XMLStringifier = require('./XMLStringifier'); XMLDeclaration = require('./XMLDeclaration'); XMLDocType = require('./XMLDocType'); XMLElement = require('./XMLElement'); module.exports = XMLBuilder = (function() { function XMLBuilder(name, options) { var root, temp; if (name == null) { throw new Error("Root element needs a name"); } if (options == null) { options = {}; } this.options = options; this.stringify = new XMLStringifier(options); temp = new XMLElement(this, 'doc'); root = temp.element(name); root.isRoot = true; root.documentObject = this; this.rootObject = root; if (!options.headless) { root.declaration(options); if ((options.pubID != null) || (options.sysID != null)) { root.doctype(options); } } } XMLBuilder.prototype.root = function() { return this.rootObject; }; XMLBuilder.prototype.end = function(options) { return this.toString(options); }; XMLBuilder.prototype.toString = function(options) { var indent, newline, offset, pretty, r, ref, ref1, ref2; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; r = ''; if (this.xmldec != null) { r += this.xmldec.toString(options); } if (this.doctype != null) { r += this.doctype.toString(options); } r += this.rootObject.toString(options); if (pretty && r.slice(-newline.length) === newline) { r = r.slice(0, -newline.length); } return r; }; return XMLBuilder; })(); }).call(this); },{"./XMLDeclaration":472,"./XMLDocType":473,"./XMLElement":474,"./XMLStringifier":478}],466:[function(require,module,exports){ (function() { var XMLCData, XMLNode, create, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; create = require('lodash/create'); XMLNode = require('./XMLNode'); module.exports = XMLCData = (function(superClass) { extend(XMLCData, superClass); function XMLCData(parent, text) { XMLCData.__super__.constructor.call(this, parent); if (text == null) { throw new Error("Missing CDATA text"); } this.text = this.stringify.cdata(text); } XMLCData.prototype.clone = function() { return create(XMLCData.prototype, this); }; XMLCData.prototype.toString = function(options, level) { var indent, newline, offset, pretty, r, ref, ref1, ref2, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; if (pretty) { r += space; } r += ''; if (pretty) { r += newline; } return r; }; return XMLCData; })(XMLNode); }).call(this); },{"./XMLNode":475,"lodash/create":424}],467:[function(require,module,exports){ (function() { var XMLComment, XMLNode, create, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; create = require('lodash/create'); XMLNode = require('./XMLNode'); module.exports = XMLComment = (function(superClass) { extend(XMLComment, superClass); function XMLComment(parent, text) { XMLComment.__super__.constructor.call(this, parent); if (text == null) { throw new Error("Missing comment text"); } this.text = this.stringify.comment(text); } XMLComment.prototype.clone = function() { return create(XMLComment.prototype, this); }; XMLComment.prototype.toString = function(options, level) { var indent, newline, offset, pretty, r, ref, ref1, ref2, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; if (pretty) { r += space; } r += ''; if (pretty) { r += newline; } return r; }; return XMLComment; })(XMLNode); }).call(this); },{"./XMLNode":475,"lodash/create":424}],468:[function(require,module,exports){ (function() { var XMLDTDAttList, create; create = require('lodash/create'); module.exports = XMLDTDAttList = (function() { function XMLDTDAttList(parent, elementName, attributeName, attributeType, defaultValueType, defaultValue) { this.stringify = parent.stringify; if (elementName == null) { throw new Error("Missing DTD element name"); } if (attributeName == null) { throw new Error("Missing DTD attribute name"); } if (!attributeType) { throw new Error("Missing DTD attribute type"); } if (!defaultValueType) { throw new Error("Missing DTD attribute default"); } if (defaultValueType.indexOf('#') !== 0) { defaultValueType = '#' + defaultValueType; } if (!defaultValueType.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/)) { throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT"); } if (defaultValue && !defaultValueType.match(/^(#FIXED|#DEFAULT)$/)) { throw new Error("Default value only applies to #FIXED or #DEFAULT"); } this.elementName = this.stringify.eleName(elementName); this.attributeName = this.stringify.attName(attributeName); this.attributeType = this.stringify.dtdAttType(attributeType); this.defaultValue = this.stringify.dtdAttDefault(defaultValue); this.defaultValueType = defaultValueType; } XMLDTDAttList.prototype.toString = function(options, level) { var indent, newline, offset, pretty, r, ref, ref1, ref2, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; if (pretty) { r += space; } r += ''; if (pretty) { r += newline; } return r; }; return XMLDTDAttList; })(); }).call(this); },{"lodash/create":424}],469:[function(require,module,exports){ (function() { var XMLDTDElement, create; create = require('lodash/create'); module.exports = XMLDTDElement = (function() { function XMLDTDElement(parent, name, value) { this.stringify = parent.stringify; if (name == null) { throw new Error("Missing DTD element name"); } if (!value) { value = '(#PCDATA)'; } if (Array.isArray(value)) { value = '(' + value.join(',') + ')'; } this.name = this.stringify.eleName(name); this.value = this.stringify.dtdElementValue(value); } XMLDTDElement.prototype.toString = function(options, level) { var indent, newline, offset, pretty, r, ref, ref1, ref2, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; if (pretty) { r += space; } r += ''; if (pretty) { r += newline; } return r; }; return XMLDTDElement; })(); }).call(this); },{"lodash/create":424}],470:[function(require,module,exports){ (function() { var XMLDTDEntity, create, isObject; create = require('lodash/create'); isObject = require('lodash/isObject'); module.exports = XMLDTDEntity = (function() { function XMLDTDEntity(parent, pe, name, value) { this.stringify = parent.stringify; if (name == null) { throw new Error("Missing entity name"); } if (value == null) { throw new Error("Missing entity value"); } this.pe = !!pe; this.name = this.stringify.eleName(name); if (!isObject(value)) { this.value = this.stringify.dtdEntityValue(value); } else { if (!value.pubID && !value.sysID) { throw new Error("Public and/or system identifiers are required for an external entity"); } if (value.pubID && !value.sysID) { throw new Error("System identifier is required for a public external entity"); } if (value.pubID != null) { this.pubID = this.stringify.dtdPubID(value.pubID); } if (value.sysID != null) { this.sysID = this.stringify.dtdSysID(value.sysID); } if (value.nData != null) { this.nData = this.stringify.dtdNData(value.nData); } if (this.pe && this.nData) { throw new Error("Notation declaration is not allowed in a parameter entity"); } } } XMLDTDEntity.prototype.toString = function(options, level) { var indent, newline, offset, pretty, r, ref, ref1, ref2, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; if (pretty) { r += space; } r += ''; if (pretty) { r += newline; } return r; }; return XMLDTDEntity; })(); }).call(this); },{"lodash/create":424,"lodash/isObject":437}],471:[function(require,module,exports){ (function() { var XMLDTDNotation, create; create = require('lodash/create'); module.exports = XMLDTDNotation = (function() { function XMLDTDNotation(parent, name, value) { this.stringify = parent.stringify; if (name == null) { throw new Error("Missing notation name"); } if (!value.pubID && !value.sysID) { throw new Error("Public or system identifiers are required for an external entity"); } this.name = this.stringify.eleName(name); if (value.pubID != null) { this.pubID = this.stringify.dtdPubID(value.pubID); } if (value.sysID != null) { this.sysID = this.stringify.dtdSysID(value.sysID); } } XMLDTDNotation.prototype.toString = function(options, level) { var indent, newline, offset, pretty, r, ref, ref1, ref2, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; if (pretty) { r += space; } r += ''; if (pretty) { r += newline; } return r; }; return XMLDTDNotation; })(); }).call(this); },{"lodash/create":424}],472:[function(require,module,exports){ (function() { var XMLDeclaration, XMLNode, create, isObject, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; create = require('lodash/create'); isObject = require('lodash/isObject'); XMLNode = require('./XMLNode'); module.exports = XMLDeclaration = (function(superClass) { extend(XMLDeclaration, superClass); function XMLDeclaration(parent, version, encoding, standalone) { var ref; XMLDeclaration.__super__.constructor.call(this, parent); if (isObject(version)) { ref = version, version = ref.version, encoding = ref.encoding, standalone = ref.standalone; } if (!version) { version = '1.0'; } this.version = this.stringify.xmlVersion(version); if (encoding != null) { this.encoding = this.stringify.xmlEncoding(encoding); } if (standalone != null) { this.standalone = this.stringify.xmlStandalone(standalone); } } XMLDeclaration.prototype.toString = function(options, level) { var indent, newline, offset, pretty, r, ref, ref1, ref2, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; if (pretty) { r += space; } r += ''; if (pretty) { r += newline; } return r; }; return XMLDeclaration; })(XMLNode); }).call(this); },{"./XMLNode":475,"lodash/create":424,"lodash/isObject":437}],473:[function(require,module,exports){ (function() { var XMLCData, XMLComment, XMLDTDAttList, XMLDTDElement, XMLDTDEntity, XMLDTDNotation, XMLDocType, XMLProcessingInstruction, create, isObject; create = require('lodash/create'); isObject = require('lodash/isObject'); XMLCData = require('./XMLCData'); XMLComment = require('./XMLComment'); XMLDTDAttList = require('./XMLDTDAttList'); XMLDTDEntity = require('./XMLDTDEntity'); XMLDTDElement = require('./XMLDTDElement'); XMLDTDNotation = require('./XMLDTDNotation'); XMLProcessingInstruction = require('./XMLProcessingInstruction'); module.exports = XMLDocType = (function() { function XMLDocType(parent, pubID, sysID) { var ref, ref1; this.documentObject = parent; this.stringify = this.documentObject.stringify; this.children = []; if (isObject(pubID)) { ref = pubID, pubID = ref.pubID, sysID = ref.sysID; } if (sysID == null) { ref1 = [pubID, sysID], sysID = ref1[0], pubID = ref1[1]; } if (pubID != null) { this.pubID = this.stringify.dtdPubID(pubID); } if (sysID != null) { this.sysID = this.stringify.dtdSysID(sysID); } } XMLDocType.prototype.element = function(name, value) { var child; child = new XMLDTDElement(this, name, value); this.children.push(child); return this; }; XMLDocType.prototype.attList = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { var child; child = new XMLDTDAttList(this, elementName, attributeName, attributeType, defaultValueType, defaultValue); this.children.push(child); return this; }; XMLDocType.prototype.entity = function(name, value) { var child; child = new XMLDTDEntity(this, false, name, value); this.children.push(child); return this; }; XMLDocType.prototype.pEntity = function(name, value) { var child; child = new XMLDTDEntity(this, true, name, value); this.children.push(child); return this; }; XMLDocType.prototype.notation = function(name, value) { var child; child = new XMLDTDNotation(this, name, value); this.children.push(child); return this; }; XMLDocType.prototype.cdata = function(value) { var child; child = new XMLCData(this, value); this.children.push(child); return this; }; XMLDocType.prototype.comment = function(value) { var child; child = new XMLComment(this, value); this.children.push(child); return this; }; XMLDocType.prototype.instruction = function(target, value) { var child; child = new XMLProcessingInstruction(this, target, value); this.children.push(child); return this; }; XMLDocType.prototype.root = function() { return this.documentObject.root(); }; XMLDocType.prototype.document = function() { return this.documentObject; }; XMLDocType.prototype.toString = function(options, level) { var child, i, indent, len, newline, offset, pretty, r, ref, ref1, ref2, ref3, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; if (pretty) { r += space; } r += ' 0) { r += ' ['; if (pretty) { r += newline; } ref3 = this.children; for (i = 0, len = ref3.length; i < len; i++) { child = ref3[i]; r += child.toString(options, level + 1); } r += ']'; } r += '>'; if (pretty) { r += newline; } return r; }; XMLDocType.prototype.ele = function(name, value) { return this.element(name, value); }; XMLDocType.prototype.att = function(elementName, attributeName, attributeType, defaultValueType, defaultValue) { return this.attList(elementName, attributeName, attributeType, defaultValueType, defaultValue); }; XMLDocType.prototype.ent = function(name, value) { return this.entity(name, value); }; XMLDocType.prototype.pent = function(name, value) { return this.pEntity(name, value); }; XMLDocType.prototype.not = function(name, value) { return this.notation(name, value); }; XMLDocType.prototype.dat = function(value) { return this.cdata(value); }; XMLDocType.prototype.com = function(value) { return this.comment(value); }; XMLDocType.prototype.ins = function(target, value) { return this.instruction(target, value); }; XMLDocType.prototype.up = function() { return this.root(); }; XMLDocType.prototype.doc = function() { return this.document(); }; return XMLDocType; })(); }).call(this); },{"./XMLCData":466,"./XMLComment":467,"./XMLDTDAttList":468,"./XMLDTDElement":469,"./XMLDTDEntity":470,"./XMLDTDNotation":471,"./XMLProcessingInstruction":476,"lodash/create":424,"lodash/isObject":437}],474:[function(require,module,exports){ (function() { var XMLAttribute, XMLElement, XMLNode, XMLProcessingInstruction, create, every, isFunction, isObject, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; create = require('lodash/create'); isObject = require('lodash/isObject'); isFunction = require('lodash/isFunction'); every = require('lodash/every'); XMLNode = require('./XMLNode'); XMLAttribute = require('./XMLAttribute'); XMLProcessingInstruction = require('./XMLProcessingInstruction'); module.exports = XMLElement = (function(superClass) { extend(XMLElement, superClass); function XMLElement(parent, name, attributes) { XMLElement.__super__.constructor.call(this, parent); if (name == null) { throw new Error("Missing element name"); } this.name = this.stringify.eleName(name); this.children = []; this.instructions = []; this.attributes = {}; if (attributes != null) { this.attribute(attributes); } } XMLElement.prototype.clone = function() { var att, attName, clonedSelf, i, len, pi, ref, ref1; clonedSelf = create(XMLElement.prototype, this); if (clonedSelf.isRoot) { clonedSelf.documentObject = null; } clonedSelf.attributes = {}; ref = this.attributes; for (attName in ref) { if (!hasProp.call(ref, attName)) continue; att = ref[attName]; clonedSelf.attributes[attName] = att.clone(); } clonedSelf.instructions = []; ref1 = this.instructions; for (i = 0, len = ref1.length; i < len; i++) { pi = ref1[i]; clonedSelf.instructions.push(pi.clone()); } clonedSelf.children = []; this.children.forEach(function(child) { var clonedChild; clonedChild = child.clone(); clonedChild.parent = clonedSelf; return clonedSelf.children.push(clonedChild); }); return clonedSelf; }; XMLElement.prototype.attribute = function(name, value) { var attName, attValue; if (name != null) { name = name.valueOf(); } if (isObject(name)) { for (attName in name) { if (!hasProp.call(name, attName)) continue; attValue = name[attName]; this.attribute(attName, attValue); } } else { if (isFunction(value)) { value = value.apply(); } if (!this.options.skipNullAttributes || (value != null)) { this.attributes[name] = new XMLAttribute(this, name, value); } } return this; }; XMLElement.prototype.removeAttribute = function(name) { var attName, i, len; if (name == null) { throw new Error("Missing attribute name"); } name = name.valueOf(); if (Array.isArray(name)) { for (i = 0, len = name.length; i < len; i++) { attName = name[i]; delete this.attributes[attName]; } } else { delete this.attributes[name]; } return this; }; XMLElement.prototype.instruction = function(target, value) { var i, insTarget, insValue, instruction, len; if (target != null) { target = target.valueOf(); } if (value != null) { value = value.valueOf(); } if (Array.isArray(target)) { for (i = 0, len = target.length; i < len; i++) { insTarget = target[i]; this.instruction(insTarget); } } else if (isObject(target)) { for (insTarget in target) { if (!hasProp.call(target, insTarget)) continue; insValue = target[insTarget]; this.instruction(insTarget, insValue); } } else { if (isFunction(value)) { value = value.apply(); } instruction = new XMLProcessingInstruction(this, target, value); this.instructions.push(instruction); } return this; }; XMLElement.prototype.toString = function(options, level) { var att, child, i, indent, instruction, j, len, len1, name, newline, offset, pretty, r, ref, ref1, ref2, ref3, ref4, ref5, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; ref3 = this.instructions; for (i = 0, len = ref3.length; i < len; i++) { instruction = ref3[i]; r += instruction.toString(options, level); } if (pretty) { r += space; } r += '<' + this.name; ref4 = this.attributes; for (name in ref4) { if (!hasProp.call(ref4, name)) continue; att = ref4[name]; r += att.toString(options); } if (this.children.length === 0 || every(this.children, function(e) { return e.value === ''; })) { r += '/>'; if (pretty) { r += newline; } } else if (pretty && this.children.length === 1 && (this.children[0].value != null)) { r += '>'; r += this.children[0].value; r += ''; r += newline; } else { r += '>'; if (pretty) { r += newline; } ref5 = this.children; for (j = 0, len1 = ref5.length; j < len1; j++) { child = ref5[j]; r += child.toString(options, level + 1); } if (pretty) { r += space; } r += ''; if (pretty) { r += newline; } } return r; }; XMLElement.prototype.att = function(name, value) { return this.attribute(name, value); }; XMLElement.prototype.ins = function(target, value) { return this.instruction(target, value); }; XMLElement.prototype.a = function(name, value) { return this.attribute(name, value); }; XMLElement.prototype.i = function(target, value) { return this.instruction(target, value); }; return XMLElement; })(XMLNode); }).call(this); },{"./XMLAttribute":464,"./XMLNode":475,"./XMLProcessingInstruction":476,"lodash/create":424,"lodash/every":426,"lodash/isFunction":435,"lodash/isObject":437}],475:[function(require,module,exports){ (function() { var XMLCData, XMLComment, XMLDeclaration, XMLDocType, XMLElement, XMLNode, XMLRaw, XMLText, isEmpty, isFunction, isObject, hasProp = {}.hasOwnProperty; isObject = require('lodash/isObject'); isFunction = require('lodash/isFunction'); isEmpty = require('lodash/isEmpty'); XMLElement = null; XMLCData = null; XMLComment = null; XMLDeclaration = null; XMLDocType = null; XMLRaw = null; XMLText = null; module.exports = XMLNode = (function() { function XMLNode(parent) { this.parent = parent; this.options = this.parent.options; this.stringify = this.parent.stringify; if (XMLElement === null) { XMLElement = require('./XMLElement'); XMLCData = require('./XMLCData'); XMLComment = require('./XMLComment'); XMLDeclaration = require('./XMLDeclaration'); XMLDocType = require('./XMLDocType'); XMLRaw = require('./XMLRaw'); XMLText = require('./XMLText'); } } XMLNode.prototype.element = function(name, attributes, text) { var childNode, item, j, k, key, lastChild, len, len1, ref, val; lastChild = null; if (attributes == null) { attributes = {}; } attributes = attributes.valueOf(); if (!isObject(attributes)) { ref = [attributes, text], text = ref[0], attributes = ref[1]; } if (name != null) { name = name.valueOf(); } if (Array.isArray(name)) { for (j = 0, len = name.length; j < len; j++) { item = name[j]; lastChild = this.element(item); } } else if (isFunction(name)) { lastChild = this.element(name.apply()); } else if (isObject(name)) { for (key in name) { if (!hasProp.call(name, key)) continue; val = name[key]; if (isFunction(val)) { val = val.apply(); } if ((isObject(val)) && (isEmpty(val))) { val = null; } if (!this.options.ignoreDecorators && this.stringify.convertAttKey && key.indexOf(this.stringify.convertAttKey) === 0) { lastChild = this.attribute(key.substr(this.stringify.convertAttKey.length), val); } else if (!this.options.ignoreDecorators && this.stringify.convertPIKey && key.indexOf(this.stringify.convertPIKey) === 0) { lastChild = this.instruction(key.substr(this.stringify.convertPIKey.length), val); } else if (!this.options.separateArrayItems && Array.isArray(val)) { for (k = 0, len1 = val.length; k < len1; k++) { item = val[k]; childNode = {}; childNode[key] = item; lastChild = this.element(childNode); } } else if (isObject(val)) { lastChild = this.element(key); lastChild.element(val); } else { lastChild = this.element(key, val); } } } else { if (!this.options.ignoreDecorators && this.stringify.convertTextKey && name.indexOf(this.stringify.convertTextKey) === 0) { lastChild = this.text(text); } else if (!this.options.ignoreDecorators && this.stringify.convertCDataKey && name.indexOf(this.stringify.convertCDataKey) === 0) { lastChild = this.cdata(text); } else if (!this.options.ignoreDecorators && this.stringify.convertCommentKey && name.indexOf(this.stringify.convertCommentKey) === 0) { lastChild = this.comment(text); } else if (!this.options.ignoreDecorators && this.stringify.convertRawKey && name.indexOf(this.stringify.convertRawKey) === 0) { lastChild = this.raw(text); } else { lastChild = this.node(name, attributes, text); } } if (lastChild == null) { throw new Error("Could not create any elements with: " + name); } return lastChild; }; XMLNode.prototype.insertBefore = function(name, attributes, text) { var child, i, removed; if (this.isRoot) { throw new Error("Cannot insert elements at root level"); } i = this.parent.children.indexOf(this); removed = this.parent.children.splice(i); child = this.parent.element(name, attributes, text); Array.prototype.push.apply(this.parent.children, removed); return child; }; XMLNode.prototype.insertAfter = function(name, attributes, text) { var child, i, removed; if (this.isRoot) { throw new Error("Cannot insert elements at root level"); } i = this.parent.children.indexOf(this); removed = this.parent.children.splice(i + 1); child = this.parent.element(name, attributes, text); Array.prototype.push.apply(this.parent.children, removed); return child; }; XMLNode.prototype.remove = function() { var i, ref; if (this.isRoot) { throw new Error("Cannot remove the root element"); } i = this.parent.children.indexOf(this); [].splice.apply(this.parent.children, [i, i - i + 1].concat(ref = [])), ref; return this.parent; }; XMLNode.prototype.node = function(name, attributes, text) { var child, ref; if (name != null) { name = name.valueOf(); } if (attributes == null) { attributes = {}; } attributes = attributes.valueOf(); if (!isObject(attributes)) { ref = [attributes, text], text = ref[0], attributes = ref[1]; } child = new XMLElement(this, name, attributes); if (text != null) { child.text(text); } this.children.push(child); return child; }; XMLNode.prototype.text = function(value) { var child; child = new XMLText(this, value); this.children.push(child); return this; }; XMLNode.prototype.cdata = function(value) { var child; child = new XMLCData(this, value); this.children.push(child); return this; }; XMLNode.prototype.comment = function(value) { var child; child = new XMLComment(this, value); this.children.push(child); return this; }; XMLNode.prototype.raw = function(value) { var child; child = new XMLRaw(this, value); this.children.push(child); return this; }; XMLNode.prototype.declaration = function(version, encoding, standalone) { var doc, xmldec; doc = this.document(); xmldec = new XMLDeclaration(doc, version, encoding, standalone); doc.xmldec = xmldec; return doc.root(); }; XMLNode.prototype.doctype = function(pubID, sysID) { var doc, doctype; doc = this.document(); doctype = new XMLDocType(doc, pubID, sysID); doc.doctype = doctype; return doctype; }; XMLNode.prototype.up = function() { if (this.isRoot) { throw new Error("The root node has no parent. Use doc() if you need to get the document object."); } return this.parent; }; XMLNode.prototype.root = function() { var child; if (this.isRoot) { return this; } child = this.parent; while (!child.isRoot) { child = child.parent; } return child; }; XMLNode.prototype.document = function() { return this.root().documentObject; }; XMLNode.prototype.end = function(options) { return this.document().toString(options); }; XMLNode.prototype.prev = function() { var i; if (this.isRoot) { throw new Error("Root node has no siblings"); } i = this.parent.children.indexOf(this); if (i < 1) { throw new Error("Already at the first node"); } return this.parent.children[i - 1]; }; XMLNode.prototype.next = function() { var i; if (this.isRoot) { throw new Error("Root node has no siblings"); } i = this.parent.children.indexOf(this); if (i === -1 || i === this.parent.children.length - 1) { throw new Error("Already at the last node"); } return this.parent.children[i + 1]; }; XMLNode.prototype.importXMLBuilder = function(xmlbuilder) { var clonedRoot; clonedRoot = xmlbuilder.root().clone(); clonedRoot.parent = this; clonedRoot.isRoot = false; this.children.push(clonedRoot); return this; }; XMLNode.prototype.ele = function(name, attributes, text) { return this.element(name, attributes, text); }; XMLNode.prototype.nod = function(name, attributes, text) { return this.node(name, attributes, text); }; XMLNode.prototype.txt = function(value) { return this.text(value); }; XMLNode.prototype.dat = function(value) { return this.cdata(value); }; XMLNode.prototype.com = function(value) { return this.comment(value); }; XMLNode.prototype.doc = function() { return this.document(); }; XMLNode.prototype.dec = function(version, encoding, standalone) { return this.declaration(version, encoding, standalone); }; XMLNode.prototype.dtd = function(pubID, sysID) { return this.doctype(pubID, sysID); }; XMLNode.prototype.e = function(name, attributes, text) { return this.element(name, attributes, text); }; XMLNode.prototype.n = function(name, attributes, text) { return this.node(name, attributes, text); }; XMLNode.prototype.t = function(value) { return this.text(value); }; XMLNode.prototype.d = function(value) { return this.cdata(value); }; XMLNode.prototype.c = function(value) { return this.comment(value); }; XMLNode.prototype.r = function(value) { return this.raw(value); }; XMLNode.prototype.u = function() { return this.up(); }; return XMLNode; })(); }).call(this); },{"./XMLCData":466,"./XMLComment":467,"./XMLDeclaration":472,"./XMLDocType":473,"./XMLElement":474,"./XMLRaw":477,"./XMLText":479,"lodash/isEmpty":434,"lodash/isFunction":435,"lodash/isObject":437}],476:[function(require,module,exports){ (function() { var XMLProcessingInstruction, create; create = require('lodash/create'); module.exports = XMLProcessingInstruction = (function() { function XMLProcessingInstruction(parent, target, value) { this.stringify = parent.stringify; if (target == null) { throw new Error("Missing instruction target"); } this.target = this.stringify.insTarget(target); if (value) { this.value = this.stringify.insValue(value); } } XMLProcessingInstruction.prototype.clone = function() { return create(XMLProcessingInstruction.prototype, this); }; XMLProcessingInstruction.prototype.toString = function(options, level) { var indent, newline, offset, pretty, r, ref, ref1, ref2, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; if (pretty) { r += space; } r += ''; if (pretty) { r += newline; } return r; }; return XMLProcessingInstruction; })(); }).call(this); },{"lodash/create":424}],477:[function(require,module,exports){ (function() { var XMLNode, XMLRaw, create, extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; create = require('lodash/create'); XMLNode = require('./XMLNode'); module.exports = XMLRaw = (function(superClass) { extend(XMLRaw, superClass); function XMLRaw(parent, text) { XMLRaw.__super__.constructor.call(this, parent); if (text == null) { throw new Error("Missing raw text"); } this.value = this.stringify.raw(text); } XMLRaw.prototype.clone = function() { return create(XMLRaw.prototype, this); }; XMLRaw.prototype.toString = function(options, level) { var indent, newline, offset, pretty, r, ref, ref1, ref2, space; pretty = (options != null ? options.pretty : void 0) || false; indent = (ref = options != null ? options.indent : void 0) != null ? ref : ' '; offset = (ref1 = options != null ? options.offset : void 0) != null ? ref1 : 0; newline = (ref2 = options != null ? options.newline : void 0) != null ? ref2 : '\n'; level || (level = 0); space = new Array(level + offset + 1).join(indent); r = ''; if (pretty) { r += space; } r += this.value; if (pretty) { r += newline; } return r; }; return XMLRaw; })(XMLNode); }).call(this); },{"./XMLNode":475,"lodash/create":424}],478:[function(require,module,exports){ (function() { var XMLStringifier, bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, hasProp = {}.hasOwnProperty; module.exports = XMLStringifier = (function() { function XMLStringifier(options) { this.assertLegalChar = bind(this.assertLegalChar, this); var key, ref, value; this.allowSurrogateChars = options != null ? options.allowSurrogateChars : void 0; this.noDoubleEncoding = options != null ? options.noDoubleEncoding : void 0; ref = (options != null ? options.stringify : void 0) || {}; for (key in ref) { if (!hasProp.call(ref, key)) continue; value = ref[key]; this[key] = value; } } XMLStringifier.prototype.eleName = function(val) { val = '' + val || ''; return this.assertLegalChar(val); }; XMLStringifier.prototype.eleText = function(val) { val = '' + val || ''; return this.assertLegalChar(this.elEscape(val)); }; XMLStringifier.prototype.cdata = function(val) { val = '' + val || ''; if (val.match(/]]>/)) { throw new Error("Invalid CDATA text: " + val); } return this.assertLegalChar(val); }; XMLStringifier.prototype.comment = function(val) { val = '' + val || ''; if (val.match(/--/)) { throw new Error("Comment text cannot contain double-hypen: " + val); } return this.assertLegalChar(val); }; XMLStringifier.prototype.raw = function(val) { return '' + val || ''; }; XMLStringifier.prototype.attName = function(val) { return '' + val || ''; }; XMLStringifier.prototype.attValue = function(val) { val = '' + val || ''; return this.attEscape(val); }; XMLStringifier.prototype.insTarget = function(val) { return '' + val || ''; }; XMLStringifier.prototype.insValue = function(val) { val = '' + val || ''; if (val.match(/\?>/)) { throw new Error("Invalid processing instruction value: " + val); } return val; }; XMLStringifier.prototype.xmlVersion = function(val) { val = '' + val || ''; if (!val.match(/1\.[0-9]+/)) { throw new Error("Invalid version number: " + val); } return val; }; XMLStringifier.prototype.xmlEncoding = function(val) { val = '' + val || ''; if (!val.match(/^[A-Za-z](?:[A-Za-z0-9._-]|-)*$/)) { throw new Error("Invalid encoding: " + val); } return val; }; XMLStringifier.prototype.xmlStandalone = function(val) { if (val) { return "yes"; } else { return "no"; } }; XMLStringifier.prototype.dtdPubID = function(val) { return '' + val || ''; }; XMLStringifier.prototype.dtdSysID = function(val) { return '' + val || ''; }; XMLStringifier.prototype.dtdElementValue = function(val) { return '' + val || ''; }; XMLStringifier.prototype.dtdAttType = function(val) { return '' + val || ''; }; XMLStringifier.prototype.dtdAttDefault = function(val) { if (val != null) { return '' + val || ''; } else { return val; } }; XMLStringifier.prototype.dtdEntityValue = function(val) { return '' + val || ''; }; XMLStringifier.prototype.dtdNData = function(val) { return '' + val || ''; }; XMLStringifier.prototype.convertAttKey = '@'; XMLStringifier.prototype.convertPIKey = '?'; XMLStringifier.prototype.convertTextKey = '#text'; XMLStringifier.prototype.convertCDataKey = '#cdata'; XMLStringifier.prototype.convertCommentKey = '#comment'; XMLStringifier.prototype.convertRawKey = '#raw'; XMLStringifier.prototype.assertLegalChar = function(str) { var chars, chr; if (this.allowSurrogateChars) { chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/; } else { chars = /[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/; } chr = str.match(chars); if (chr) { throw new Error("Invalid character (" + chr + ") in string: " + str + " at index " + chr.index); } return str; }; XMLStringifier.prototype.elEscape = function(str) { var ampregex; ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; return str.replace(ampregex, '&').replace(//g, '>').replace(/\r/g, ' '); }; XMLStringifier.prototype.attEscape = function(str) { var ampregex; ampregex = this.noDoubleEncoding ? /(?!&\S+;)&/g : /&/g; return str.replace(ampregex, '&').replace(/