From 5356f4f013cfd5596fe8fd52ad4499efadb19458 Mon Sep 17 00:00:00 2001 From: awstools Date: Fri, 26 Nov 2021 19:23:24 +0000 Subject: [PATCH] Updates SDK to v2.1037.0 --- .changes/2.1037.0.json | 22 + CHANGELOG.md | 8 +- README.md | 2 +- apis/autoscaling-2011-01-01.normal.json | 72 +- apis/ec2-2016-11-15.normal.json | 11 +- apis/iotdeviceadvisor-2020-09-18.normal.json | 35 +- apis/mgn-2020-02-26.min.json | 199 ++- apis/mgn-2020-02-26.normal.json | 290 ++++- apis/mgn-2020-02-26.paginators.json | 6 + apis/outposts-2019-12-03.min.json | 550 +++++++- apis/outposts-2019-12-03.normal.json | 1201 +++++++++++++++++- apis/outposts-2019-12-03.paginators.json | 10 + apis/pinpoint-2016-12-01.min.json | 162 ++- apis/pinpoint-2016-12-01.normal.json | 244 ++++ clients/autoscaling.d.ts | 54 +- clients/ec2.d.ts | 15 +- clients/iotdeviceadvisor.d.ts | 36 +- clients/mgn.d.ts | 143 ++- clients/outposts.d.ts | 523 +++++++- clients/pinpoint.d.ts | 102 ++ dist/aws-sdk-core-react-native.js | 2 +- dist/aws-sdk-react-native.js | 12 +- dist/aws-sdk.js | 6 +- dist/aws-sdk.min.js | 4 +- lib/core.js | 2 +- package.json | 2 +- 26 files changed, 3450 insertions(+), 263 deletions(-) create mode 100644 .changes/2.1037.0.json diff --git a/.changes/2.1037.0.json b/.changes/2.1037.0.json new file mode 100644 index 0000000000..81acfabfd5 --- /dev/null +++ b/.changes/2.1037.0.json @@ -0,0 +1,22 @@ +[ + { + "type": "feature", + "category": "EC2", + "description": "Documentation updates for EC2." + }, + { + "type": "feature", + "category": "Mgn", + "description": "Application Migration Service now supports an additional replication method that does not require agent installation on each source server. This option is available for source servers running on VMware vCenter versions 6.7 and 7.0." + }, + { + "type": "feature", + "category": "Outposts", + "description": "This release adds new APIs for working with Outpost sites and orders." + }, + { + "type": "feature", + "category": "Pinpoint", + "description": "Added a One-Time Password (OTP) management feature. You can use the Amazon Pinpoint API to generate OTP codes and send them to your users as SMS messages. Your apps can then call the API to verify the OTP codes that your users input" + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e2aae7498..a3a0079436 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1037.0 +* feature: EC2: Documentation updates for EC2. +* feature: Mgn: Application Migration Service now supports an additional replication method that does not require agent installation on each source server. This option is available for source servers running on VMware vCenter versions 6.7 and 7.0. +* feature: Outposts: This release adds new APIs for working with Outpost sites and orders. +* feature: Pinpoint: Added a One-Time Password (OTP) management feature. You can use the Amazon Pinpoint API to generate OTP codes and send them to your users as SMS messages. Your apps can then call the API to verify the OTP codes that your users input + ## 2.1036.0 * feature: AutoScaling: Customers can now configure predictive scaling policies to proactively scale EC2 Auto Scaling groups based on any CloudWatch metrics that more accurately represent the load on the group than the four predefined metrics. They can also use math expressions to further customize the metrics. * feature: CustomerProfiles: This release introduces a new auto-merging feature for profile matching. The auto-merging configurations can be set via CreateDomain API or UpdateDomain API. You can use GetIdentityResolutionJob API and ListIdentityResolutionJobs API to fetch job status. diff --git a/README.md b/README.md index 3900fbadf1..b712d51e83 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/apis/autoscaling-2011-01-01.normal.json b/apis/autoscaling-2011-01-01.normal.json index 8c8eeb7e83..b128586776 100644 --- a/apis/autoscaling-2011-01-01.normal.json +++ b/apis/autoscaling-2011-01-01.normal.json @@ -51,7 +51,7 @@ "shape": "ServiceLinkedRoleFailure" } ], - "documentation": "

Attaches one or more target groups to the specified Auto Scaling group.

This operation is used with the following load balancer types:

To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from the Auto Scaling group, call the DetachLoadBalancerTargetGroups API.

For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Attaches one or more target groups to the specified Auto Scaling group.

This operation is used with the following load balancer types:

To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from the Auto Scaling group, call the DetachLoadBalancerTargetGroups API.

This operation is additive and does not detach existing target groups or Classic Load Balancers from the Auto Scaling group.

For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "AttachLoadBalancers": { "name": "AttachLoadBalancers", @@ -74,7 +74,7 @@ "shape": "ServiceLinkedRoleFailure" } ], - "documentation": "

To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead.

Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the running instances with these Classic Load Balancers.

To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach the load balancer from the Auto Scaling group, call the DetachLoadBalancers API.

For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead.

Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the running instances with these Classic Load Balancers.

To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach the load balancer from the Auto Scaling group, call the DetachLoadBalancers API.

This operation is additive and does not detach existing Classic Load Balancers or target groups from the Auto Scaling group.

For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "BatchDeleteScheduledAction": { "name": "BatchDeleteScheduledAction", @@ -166,7 +166,7 @@ "shape": "ResourceContentionFault" } ], - "documentation": "

Completes the lifecycle action for the specified token or instance with the specified result.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Completes the lifecycle action for the specified token or instance with the specified result.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

" }, "CreateAutoScalingGroup": { "name": "CreateAutoScalingGroup", @@ -1013,7 +1013,7 @@ "shape": "ResourceContentionFault" } ], - "documentation": "

Creates or updates a lifecycle hook for the specified Auto Scaling group.

A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance launches (before it is put into service) or as the instance terminates (before it is fully terminated).

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state using the RecordLifecycleActionHeartbeat API call.

  5. If you finish before the timeout period ends, complete the lifecycle action using the CompleteLifecycleAction API call.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails.

You can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle hook, you can delete it by calling the DeleteLifecycleHook API.

" + "documentation": "

Creates or updates a lifecycle hook for the specified Auto Scaling group.

A lifecycle hook enables an Auto Scaling group to be aware of events in the Auto Scaling instance lifecycle, and then perform a custom action when the corresponding lifecycle event occurs.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state using the RecordLifecycleActionHeartbeat API call.

  5. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails.

You can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle hook, you can delete it by calling the DeleteLifecycleHook API.

" }, "PutNotificationConfiguration": { "name": "PutNotificationConfiguration", @@ -1126,7 +1126,7 @@ "shape": "ResourceContentionFault" } ], - "documentation": "

Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

" }, "ResumeProcesses": { "name": "ResumeProcesses", @@ -1203,7 +1203,7 @@ "shape": "ResourceContentionFault" } ], - "documentation": "

Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool.

For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails.

" + "documentation": "

Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool.

For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails.

" }, "StartInstanceRefresh": { "name": "StartInstanceRefresh", @@ -1644,7 +1644,7 @@ }, "HealthCheckGracePeriod": { "shape": "HealthCheckGracePeriod", - "documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service.

" + "documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check.

" }, "Instances": { "shape": "Instances", @@ -2142,7 +2142,7 @@ }, "MixedInstancesPolicy": { "shape": "MixedInstancesPolicy", - "documentation": "

An embedded object that specifies a mixed instances policy.

For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

An embedded object that specifies a mixed instances policy.

For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

" }, "InstanceId": { "shape": "XmlStringMaxLen19", @@ -2182,7 +2182,7 @@ }, "HealthCheckGracePeriod": { "shape": "HealthCheckGracePeriod", - "documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. During this time, any health check failures for the instance are ignored. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide.

Conditional: Required if you are adding an ELB health check.

" + "documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide.

Conditional: Required if you are adding an ELB health check.

" }, "PlacementGroup": { "shape": "XmlStringMaxLen255", @@ -2198,11 +2198,11 @@ }, "NewInstancesProtectedFromScaleIn": { "shape": "InstanceProtected", - "documentation": "

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

" }, "CapacityRebalance": { "shape": "CapacityRebalanceEnabled", - "documentation": "

Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the Amazon EC2 Auto Scaling User Guide.

" }, "LifecycleHookSpecificationList": { "shape": "LifecycleHookSpecifications", @@ -2336,7 +2336,7 @@ "members": { "MetricName": { "shape": "MetricName", - "documentation": "

The name of the metric.

" + "documentation": "

The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

" }, "Namespace": { "shape": "MetricNamespace", @@ -2352,10 +2352,10 @@ }, "Unit": { "shape": "MetricUnit", - "documentation": "

The unit of the metric.

" + "documentation": "

The unit of the metric. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

" } }, - "documentation": "

Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.

To create your customized metric specification:

For more information about CloudWatch, see Amazon CloudWatch Concepts.

" + "documentation": "

Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.

To create your customized metric specification:

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts.

Each individual service provides information about the metrics, namespace, and dimensions they use. For more information, see Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

" }, "DeleteAutoScalingGroupType": { "type": "structure", @@ -2407,7 +2407,7 @@ }, "TopicARN": { "shape": "XmlStringMaxLen255", - "documentation": "

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.

" + "documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic.

" } } }, @@ -3800,18 +3800,18 @@ }, "WeightedCapacity": { "shape": "XmlStringMaxLen32", - "documentation": "

The number of capacity units provided by the instance type specified in InstanceType in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999.

" + "documentation": "

The number of capacity units provided by the instance type specified in InstanceType in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999.

" }, "LaunchTemplateSpecification": { "shape": "LaunchTemplateSpecification", - "documentation": "

Provides the launch template to be used when launching the instance type specified in InstanceType. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's defined for your mixed instances policy. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Provides the launch template to be used when launching the instance type specified in InstanceType. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's defined for your mixed instances policy. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.

" }, "InstanceRequirements": { "shape": "InstanceRequirements", "documentation": "

The instance requirements. When you specify instance requirements, Amazon EC2 Auto Scaling finds instance types that satisfy your requirements, and then uses your On-Demand and Spot allocation strategies to launch instances from these instance types, in the same way as when you specify a list of specific instance types.

" } }, - "documentation": "

Describes an override for a launch template. For more information, see Configuring overrides in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Describes an override for a launch template. For more information, see Configuring overrides in the Amazon EC2 Auto Scaling User Guide.

" }, "LaunchTemplateSpecification": { "type": "structure", @@ -3879,7 +3879,7 @@ "documentation": "

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The possible values are CONTINUE and ABANDON.

" } }, - "documentation": "

Describes a lifecycle hook, which tells Amazon EC2 Auto Scaling that you want to perform an action whenever it launches instances or terminates instances.

" + "documentation": "

Describes a lifecycle hook, which enables an Auto Scaling group to be aware of events in the Auto Scaling instance lifecycle, and then perform a custom action when the corresponding lifecycle event occurs.

" }, "LifecycleHookNames": { "type": "list", @@ -3924,7 +3924,7 @@ "documentation": "

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target, for example, an Amazon SNS topic or an Amazon SQS queue.

" } }, - "documentation": "

Describes information used to specify a lifecycle hook for an Auto Scaling group.

A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance launches (before it is put into service) or as the instance terminates (before it is fully terminated).

This step is a part of the procedure for creating a lifecycle hook for an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Describes information used to specify a lifecycle hook for an Auto Scaling group.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

" }, "LifecycleHookSpecifications": { "type": "list", @@ -4167,7 +4167,7 @@ }, "Expression": { "shape": "XmlStringMaxLen1023", - "documentation": "

The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

For example, to use search expressions, use the SEARCH() function in your metric math expression to combine multiple metrics from Auto Scaling groups that use a specific name prefix.

Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both.

" + "documentation": "

The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both.

" }, "MetricStat": { "shape": "MetricStat", @@ -4179,10 +4179,10 @@ }, "ReturnData": { "shape": "ReturnData", - "documentation": "

Indicates whether to return the timestamps and raw data values of this metric.

If you use any math expressions, specify True for this value for only the final math expression that the metric specification is based on. You must specify False for ReturnData for all the other metrics and expressions used in the metric specification.

If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (True).

" + "documentation": "

Indicates whether to return the timestamps and raw data values of this metric.

If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification.

If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (true).

" } }, - "documentation": "

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

For more information and examples, see Advanced predictive scaling policy configurations using customized metrics in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

For more information and examples, see Advanced predictive scaling policy configurations using custom metrics in the Amazon EC2 Auto Scaling User Guide.

" }, "MetricDimension": { "type": "structure", @@ -4256,7 +4256,7 @@ }, "Unit": { "shape": "MetricUnit", - "documentation": "

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

" + "documentation": "

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

" } }, "documentation": "

This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.

" @@ -4313,7 +4313,7 @@ "documentation": "

Specifies the instances distribution.

" } }, - "documentation": "

Describes a mixed instances policy. A mixed instances policy contains the instance types that Amazon EC2 Auto Scaling can launch and other information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Describes a mixed instances policy. A mixed instances policy contains the instance types that Amazon EC2 Auto Scaling can launch and other information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

" }, "MonitoringEnabled": { "type": "boolean" @@ -4349,7 +4349,7 @@ }, "TopicARN": { "shape": "XmlStringMaxLen255", - "documentation": "

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.

" + "documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic.

" }, "NotificationType": { "shape": "XmlStringMaxLen255", @@ -4538,7 +4538,7 @@ "documentation": "

One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.

" } }, - "documentation": "

Describes a customized load metric for a predictive scaling policy.

" + "documentation": "

Describes a custom load metric for a predictive scaling policy.

" }, "PredictiveScalingCustomizedScalingMetric": { "type": "structure", @@ -4551,7 +4551,7 @@ "documentation": "

One or more metric data queries to provide the data points for a scaling metric. Use multiple metric data queries only if you are performing a math expression on returned data.

" } }, - "documentation": "

Describes a customized scaling metric for a predictive scaling policy.

" + "documentation": "

Describes a custom scaling metric for a predictive scaling policy.

" }, "PredictiveScalingForecastTimestamps": { "type": "list", @@ -4612,7 +4612,7 @@ "documentation": "

The customized capacity metric specification.

" } }, - "documentation": "

This structure specifies the metrics and target utilization settings for a predictive scaling policy.

You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.

Example

For information about using customized metrics with predictive scaling, see Advanced predictive scaling policy configurations using customized metrics in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

This structure specifies the metrics and target utilization settings for a predictive scaling policy.

You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.

Example

For information about using custom metrics with predictive scaling, see Advanced predictive scaling policy configurations using custom metrics in the Amazon EC2 Auto Scaling User Guide.

" }, "PredictiveScalingMetricSpecifications": { "type": "list", @@ -4784,7 +4784,7 @@ }, "TopicARN": { "shape": "XmlStringMaxLen255", - "documentation": "

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.

" + "documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic.

" }, "NotificationTypes": { "shape": "AutoScalingNotificationTypes", @@ -4845,7 +4845,7 @@ }, "TargetTrackingConfiguration": { "shape": "TargetTrackingConfiguration", - "documentation": "

A target tracking scaling policy. Provides support for predefined or customized metrics.

The following predefined metrics are available:

If you specify ALBRequestCountPerTarget for the metric, you must specify the ResourceLabel parameter with the PredefinedMetricSpecification.

For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API Reference.

Required if the policy type is TargetTrackingScaling.

" + "documentation": "

A target tracking scaling policy. Provides support for predefined or custom metrics.

The following predefined metrics are available:

If you specify ALBRequestCountPerTarget for the metric, you must specify the ResourceLabel parameter with the PredefinedMetricSpecification.

For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API Reference.

Required if the policy type is TargetTrackingScaling.

" }, "Enabled": { "shape": "ScalingPolicyEnabled", @@ -4853,7 +4853,7 @@ }, "PredictiveScalingConfiguration": { "shape": "PredictiveScalingConfiguration", - "documentation": "

A predictive scaling policy. Provides support for only predefined metrics.

Predictive scaling works with CPU utilization, network in/out, and the Application Load Balancer request count.

For more information, see PredictiveScalingConfiguration in the Amazon EC2 Auto Scaling API Reference.

Required if the policy type is PredictiveScaling.

" + "documentation": "

A predictive scaling policy. Provides support for predefined and custom metrics.

Predefined metrics include CPU utilization, network in/out, and the Application Load Balancer request count.

For more information, see PredictiveScalingConfiguration in the Amazon EC2 Auto Scaling API Reference.

Required if the policy type is PredictiveScaling.

" } } }, @@ -5596,7 +5596,7 @@ }, "MixedInstancesPolicy": { "shape": "MixedInstancesPolicy", - "documentation": "

An embedded object that specifies a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

An embedded object that specifies a mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

" }, "MinSize": { "shape": "AutoScalingGroupMinSize", @@ -5624,7 +5624,7 @@ }, "HealthCheckGracePeriod": { "shape": "HealthCheckGracePeriod", - "documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide.

Conditional: Required if you are adding an ELB health check.

" + "documentation": "

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide.

Conditional: Required if you are adding an ELB health check.

" }, "PlacementGroup": { "shape": "XmlStringMaxLen255", @@ -5640,7 +5640,7 @@ }, "NewInstancesProtectedFromScaleIn": { "shape": "InstanceProtected", - "documentation": "

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

" }, "ServiceLinkedRoleARN": { "shape": "ResourceName", @@ -5652,7 +5652,7 @@ }, "CapacityRebalance": { "shape": "CapacityRebalanceEnabled", - "documentation": "

Enables or disables Capacity Rebalancing. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the Amazon EC2 Auto Scaling User Guide.

" + "documentation": "

Enables or disables Capacity Rebalancing. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the Amazon EC2 Auto Scaling User Guide.

" }, "Context": { "shape": "Context", diff --git a/apis/ec2-2016-11-15.normal.json b/apis/ec2-2016-11-15.normal.json index 3b7ca7e031..ff2f1652ba 100644 --- a/apis/ec2-2016-11-15.normal.json +++ b/apis/ec2-2016-11-15.normal.json @@ -438,7 +438,7 @@ "output": { "shape": "AuthorizeSecurityGroupEgressResult" }, - "documentation": "

[VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC.

An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR address ranges, or to the instances that are associated with the specified destination security groups.

You specify a protocol for each rule (for example, TCP). For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 for the type or code to mean all types or all codes.

Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.

For information about VPC security group quotas, see Amazon VPC quotas.

" + "documentation": "

[VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC.

An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR address ranges, or to the instances that are associated with the specified source security groups.

You specify a protocol for each rule (for example, TCP). For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 for the type or code to mean all types or all codes.

Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur.

For information about VPC security group quotas, see Amazon VPC quotas.

" }, "AuthorizeSecurityGroupIngress": { "name": "AuthorizeSecurityGroupIngress", @@ -13119,7 +13119,8 @@ "locationName": "vpcPeeringConnectionId" }, "CoreNetworkArn": { - "shape": "CoreNetworkArn" + "shape": "CoreNetworkArn", + "documentation": "

The Amazon Resource Name (ARN) of the core network.

" } } }, @@ -15758,7 +15759,7 @@ }, "Tags": { "shape": "TagList", - "documentation": "

The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.

If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete Amazon Web Services-generated tags (tags that have the aws: prefix).

", + "documentation": "

The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string.

If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete Amazon Web Services-generated tags (tags that have the aws: prefix).

Constraints: Up to 1000 tags.

", "locationName": "tag" } } @@ -39527,7 +39528,8 @@ "locationName": "vpcPeeringConnectionId" }, "CoreNetworkArn": { - "shape": "CoreNetworkArn" + "shape": "CoreNetworkArn", + "documentation": "

The Amazon Resource Name (ARN) of the core network.

" } } }, @@ -41436,6 +41438,7 @@ }, "CoreNetworkArn": { "shape": "CoreNetworkArn", + "documentation": "

The Amazon Resource Name (ARN) of the core network.

", "locationName": "coreNetworkArn" } }, diff --git a/apis/iotdeviceadvisor-2020-09-18.normal.json b/apis/iotdeviceadvisor-2020-09-18.normal.json index 8295dd8840..bec7bce74d 100644 --- a/apis/iotdeviceadvisor-2020-09-18.normal.json +++ b/apis/iotdeviceadvisor-2020-09-18.normal.json @@ -79,7 +79,8 @@ { "shape": "ResourceNotFoundException" } - ] + ], + "documentation": "

Gets information about an Device Advisor endpoint.

" }, "GetSuiteDefinition": { "name": "GetSuiteDefinition", @@ -198,7 +199,7 @@ "shape": "InternalServerException" } ], - "documentation": "

Lists the runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs of a specific version of the test suite.

Requires permission to access the ListSuiteRuns action.

" + "documentation": "

Lists runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs of a specific version of the test suite.

Requires permission to access the ListSuiteRuns action.

" }, "ListTagsForResource": { "name": "ListTagsForResource", @@ -418,7 +419,7 @@ "documentation": "

Lists devices certificate ARN.

" } }, - "documentation": "

Information of a test device. Required to provide either a thing ARN or a certificate ARN.

" + "documentation": "

Information of a test device. A thing ARN or a certificate ARN is required.

" }, "DeviceUnderTestList": { "type": "list", @@ -444,11 +445,13 @@ "members": { "thingArn": { "shape": "AmazonResourceName", + "documentation": "

The thing ARN of the device. This is an optional parameter.

", "location": "querystring", "locationName": "thingArn" }, "certificateArn": { "shape": "AmazonResourceName", + "documentation": "

The certificate ARN of the device. This is an optional parameter.

", "location": "querystring", "locationName": "certificateArn" } @@ -458,7 +461,8 @@ "type": "structure", "members": { "endpoint": { - "shape": "Endpoint" + "shape": "Endpoint", + "documentation": "

The response of an Device Advisor endpoint.

" } } }, @@ -599,7 +603,7 @@ }, "startTime": { "shape": "Timestamp", - "documentation": "

Date (in Unix epoch time) when the test suite run was started.

" + "documentation": "

Date (in Unix epoch time) when the test suite run started.

" }, "endTime": { "shape": "Timestamp", @@ -691,7 +695,7 @@ }, "suiteDefinitionVersion": { "shape": "SuiteDefinitionVersion", - "documentation": "

Must be passed along with suiteDefinitionId. Lists the test suite runs of the specified test suite based on suite definition version.

", + "documentation": "

Must be passed along with suiteDefinitionId. Lists the test suite runs of the specified test suite based on suite definition version.

", "location": "querystring", "locationName": "suiteDefinitionVersion" }, @@ -885,7 +889,7 @@ }, "devicePermissionRoleArn": { "shape": "AmazonResourceName", - "documentation": "

Gets device permission ARN.

" + "documentation": "

Gets the device permission ARN.

" } }, "documentation": "

Gets Suite Definition Configuration.

" @@ -903,7 +907,7 @@ }, "defaultDevices": { "shape": "DeviceUnderTestList", - "documentation": "

Specifies the devices under test for the test suite.

" + "documentation": "

Specifies the devices that are under test for the test suite.

" }, "intendedForQualification": { "shape": "IntendedForQualificationBoolean", @@ -944,7 +948,8 @@ "documentation": "

Gets test case list.

" }, "parallelRun": { - "shape": "ParallelRun" + "shape": "ParallelRun", + "documentation": "

TRUE if multiple test suites run in parallel.

" } }, "documentation": "

Gets suite run configuration.

" @@ -1070,19 +1075,19 @@ "members": { "testCaseRunId": { "shape": "UUID", - "documentation": "

Provides test case run ID.

" + "documentation": "

Provides the test case run ID.

" }, "testCaseDefinitionId": { "shape": "UUID", - "documentation": "

Provides test case run definition ID.

" + "documentation": "

Provides the test case run definition ID.

" }, "testCaseDefinitionName": { "shape": "TestCaseDefinitionName", - "documentation": "

Provides test case run definition Name.

" + "documentation": "

Provides the test case run definition name.

" }, "status": { "shape": "Status", - "documentation": "

Provides test case run status.

" + "documentation": "

Provides the test case run status. Status is one of the following:

" }, "startTime": { "shape": "Timestamp", @@ -1094,7 +1099,7 @@ }, "logUrl": { "shape": "LogUrl", - "documentation": "

Provides test case run log Url.

" + "documentation": "

Provides test case run log URL.

" }, "warnings": { "shape": "Warnings", @@ -1105,7 +1110,7 @@ "documentation": "

Provides test case run failure result.

" } }, - "documentation": "

Provides test case run.

" + "documentation": "

Provides the test case run.

" }, "TestCaseRuns": { "type": "list", diff --git a/apis/mgn-2020-02-26.min.json b/apis/mgn-2020-02-26.min.json index b85fc97408..002f969880 100644 --- a/apis/mgn-2020-02-26.min.json +++ b/apis/mgn-2020-02-26.min.json @@ -77,14 +77,14 @@ "ebsEncryptionKeyArn": {}, "replicationServerInstanceType": {}, "replicationServersSecurityGroupsIDs": { - "shape": "S1j" + "shape": "S1l" }, "stagingAreaSubnetId": {}, "stagingAreaTags": { - "shape": "S1c" + "shape": "S1d" }, "tags": { - "shape": "S1c" + "shape": "S1d" }, "useDedicatedReplicationServer": { "type": "boolean" @@ -92,7 +92,7 @@ } }, "output": { - "shape": "S1m" + "shape": "S1o" } }, "DeleteJob": { @@ -155,6 +155,22 @@ }, "idempotent": true }, + "DeleteVcenterClient": { + "http": { + "requestUri": "/DeleteVcenterClient", + "responseCode": 204 + }, + "input": { + "type": "structure", + "required": [ + "vcenterClientID" + ], + "members": { + "vcenterClientID": {} + } + }, + "idempotent": true + }, "DescribeJobLogItems": { "http": { "requestUri": "/DescribeJobLogItems", @@ -233,7 +249,7 @@ "items": { "type": "list", "member": { - "shape": "S27" + "shape": "S2a" } }, "nextToken": {} @@ -267,7 +283,7 @@ "items": { "type": "list", "member": { - "shape": "S1m" + "shape": "S1o" } }, "nextToken": {} @@ -291,6 +307,14 @@ "isArchived": { "type": "boolean" }, + "lifeCycleStates": { + "type": "list", + "member": {} + }, + "replicationTypes": { + "type": "list", + "member": {} + }, "sourceServerIDs": { "type": "list", "member": {} @@ -316,6 +340,53 @@ } } }, + "DescribeVcenterClients": { + "http": { + "method": "GET", + "requestUri": "/DescribeVcenterClients", + "responseCode": 200 + }, + "input": { + "type": "structure", + "members": { + "maxResults": { + "location": "querystring", + "locationName": "maxResults", + "type": "integer" + }, + "nextToken": { + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "output": { + "type": "structure", + "members": { + "items": { + "type": "list", + "member": { + "type": "structure", + "members": { + "arn": {}, + "datacenterName": {}, + "hostname": {}, + "lastSeenDatetime": {}, + "sourceServerTags": { + "shape": "S1d" + }, + "tags": { + "shape": "S1d" + }, + "vcenterClientID": {}, + "vcenterUUID": {} + } + } + }, + "nextToken": {} + } + } + }, "DisconnectFromService": { "http": { "requestUri": "/DisconnectFromService", @@ -367,7 +438,7 @@ } }, "output": { - "shape": "S2q" + "shape": "S2z" } }, "GetReplicationConfiguration": { @@ -385,7 +456,7 @@ } }, "output": { - "shape": "S2w" + "shape": "S35" } }, "InitializeService": { @@ -424,7 +495,7 @@ "type": "structure", "members": { "tags": { - "shape": "S1c" + "shape": "S1d" } } } @@ -481,7 +552,7 @@ "member": {} }, "tags": { - "shape": "S1c" + "shape": "S1d" } } }, @@ -489,11 +560,29 @@ "type": "structure", "members": { "job": { - "shape": "S27" + "shape": "S2a" } } } }, + "StartReplication": { + "http": { + "requestUri": "/StartReplication", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "sourceServerID" + ], + "members": { + "sourceServerID": {} + } + }, + "output": { + "shape": "S5" + } + }, "StartTest": { "http": { "requestUri": "/StartTest", @@ -510,7 +599,7 @@ "member": {} }, "tags": { - "shape": "S1c" + "shape": "S1d" } } }, @@ -518,7 +607,7 @@ "type": "structure", "members": { "job": { - "shape": "S27" + "shape": "S2a" } } } @@ -540,7 +629,7 @@ "locationName": "resourceArn" }, "tags": { - "shape": "S1c" + "shape": "S1d" } } }, @@ -562,7 +651,7 @@ "member": {} }, "tags": { - "shape": "S1c" + "shape": "S1d" } } }, @@ -570,7 +659,7 @@ "type": "structure", "members": { "job": { - "shape": "S27" + "shape": "S2a" } } } @@ -622,7 +711,7 @@ }, "launchDisposition": {}, "licensing": { - "shape": "S2s" + "shape": "S31" }, "name": {}, "sourceServerID": {}, @@ -630,7 +719,7 @@ } }, "output": { - "shape": "S2q" + "shape": "S2z" }, "idempotent": true }, @@ -660,16 +749,16 @@ "ebsEncryptionKeyArn": {}, "name": {}, "replicatedDisks": { - "shape": "S2x" + "shape": "S36" }, "replicationServerInstanceType": {}, "replicationServersSecurityGroupsIDs": { - "shape": "S1j" + "shape": "S1l" }, "sourceServerID": {}, "stagingAreaSubnetId": {}, "stagingAreaTags": { - "shape": "S1c" + "shape": "S1d" }, "useDedicatedReplicationServer": { "type": "boolean" @@ -677,7 +766,7 @@ } }, "output": { - "shape": "S2w" + "shape": "S35" }, "idempotent": true }, @@ -709,11 +798,11 @@ "replicationConfigurationTemplateID": {}, "replicationServerInstanceType": {}, "replicationServersSecurityGroupsIDs": { - "shape": "S1j" + "shape": "S1l" }, "stagingAreaSubnetId": {}, "stagingAreaTags": { - "shape": "S1c" + "shape": "S1d" }, "useDedicatedReplicationServer": { "type": "boolean" @@ -721,7 +810,27 @@ } }, "output": { - "shape": "S1m" + "shape": "S1o" + } + }, + "UpdateSourceServerReplicationType": { + "http": { + "requestUri": "/UpdateSourceServerReplicationType", + "responseCode": 200 + }, + "input": { + "type": "structure", + "required": [ + "replicationType", + "sourceServerID" + ], + "members": { + "replicationType": {}, + "sourceServerID": {} + } + }, + "output": { + "shape": "S5" } } }, @@ -760,6 +869,7 @@ "dataReplicationState": {}, "etaDateTime": {}, "lagDuration": {}, + "lastSnapshotDateTime": {}, "replicatedDisks": { "type": "list", "member": { @@ -852,6 +962,7 @@ "state": {} } }, + "replicationType": {}, "sourceProperties": { "type": "structure", "members": { @@ -885,6 +996,7 @@ "awsInstanceID": {}, "fqdn": {}, "hostname": {}, + "vmPath": {}, "vmWareUuid": {} } }, @@ -919,21 +1031,22 @@ }, "sourceServerID": {}, "tags": { - "shape": "S1c" - } + "shape": "S1d" + }, + "vcenterClientID": {} } }, - "S1c": { + "S1d": { "type": "map", "key": {}, "value": {}, "sensitive": true }, - "S1j": { + "S1l": { "type": "list", "member": {} }, - "S1m": { + "S1o": { "type": "structure", "required": [ "replicationConfigurationTemplateID" @@ -956,21 +1069,21 @@ "replicationConfigurationTemplateID": {}, "replicationServerInstanceType": {}, "replicationServersSecurityGroupsIDs": { - "shape": "S1j" + "shape": "S1l" }, "stagingAreaSubnetId": {}, "stagingAreaTags": { - "shape": "S1c" + "shape": "S1d" }, "tags": { - "shape": "S1c" + "shape": "S1d" }, "useDedicatedReplicationServer": { "type": "boolean" } } }, - "S27": { + "S2a": { "type": "structure", "required": [ "jobID" @@ -993,12 +1106,12 @@ }, "status": {}, "tags": { - "shape": "S1c" + "shape": "S1d" }, "type": {} } }, - "S2q": { + "S2z": { "type": "structure", "members": { "copyPrivateIp": { @@ -1010,14 +1123,14 @@ "ec2LaunchTemplateID": {}, "launchDisposition": {}, "licensing": { - "shape": "S2s" + "shape": "S31" }, "name": {}, "sourceServerID": {}, "targetInstanceTypeRightSizingMethod": {} } }, - "S2s": { + "S31": { "type": "structure", "members": { "osByol": { @@ -1025,7 +1138,7 @@ } } }, - "S2w": { + "S35": { "type": "structure", "members": { "associateDefaultSecurityGroup": { @@ -1043,23 +1156,23 @@ "ebsEncryptionKeyArn": {}, "name": {}, "replicatedDisks": { - "shape": "S2x" + "shape": "S36" }, "replicationServerInstanceType": {}, "replicationServersSecurityGroupsIDs": { - "shape": "S1j" + "shape": "S1l" }, "sourceServerID": {}, "stagingAreaSubnetId": {}, "stagingAreaTags": { - "shape": "S1c" + "shape": "S1d" }, "useDedicatedReplicationServer": { "type": "boolean" } } }, - "S2x": { + "S36": { "type": "list", "member": { "type": "structure", diff --git a/apis/mgn-2020-02-26.normal.json b/apis/mgn-2020-02-26.normal.json index af141821d7..2807123e5b 100644 --- a/apis/mgn-2020-02-26.normal.json +++ b/apis/mgn-2020-02-26.normal.json @@ -149,6 +149,30 @@ "documentation": "

Deletes a single source server by ID.

", "idempotent": true }, + "DeleteVcenterClient": { + "name": "DeleteVcenterClient", + "http": { + "method": "POST", + "requestUri": "/DeleteVcenterClient", + "responseCode": 204 + }, + "input": { + "shape": "DeleteVcenterClientRequest" + }, + "errors": [ + { + "shape": "UninitializedAccountException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + } + ], + "documentation": "

Deletes a single vCenter client by ID.

", + "idempotent": true + }, "DescribeJobLogItems": { "name": "DescribeJobLogItems", "http": { @@ -244,6 +268,32 @@ ], "documentation": "

Retrieves all SourceServers or multiple SourceServers by ID.

" }, + "DescribeVcenterClients": { + "name": "DescribeVcenterClients", + "http": { + "method": "GET", + "requestUri": "/DescribeVcenterClients", + "responseCode": 200 + }, + "input": { + "shape": "DescribeVcenterClientsRequest" + }, + "output": { + "shape": "DescribeVcenterClientsResponse" + }, + "errors": [ + { + "shape": "UninitializedAccountException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + } + ], + "documentation": "

Lists all vCenter clients.

" + }, "DisconnectFromService": { "name": "DisconnectFromService", "http": { @@ -478,6 +528,38 @@ ], "documentation": "

Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.

" }, + "StartReplication": { + "name": "StartReplication", + "http": { + "method": "POST", + "requestUri": "/StartReplication", + "responseCode": 200 + }, + "input": { + "shape": "StartReplicationRequest" + }, + "output": { + "shape": "SourceServer" + }, + "errors": [ + { + "shape": "UninitializedAccountException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ServiceQuotaExceededException" + }, + { + "shape": "ConflictException" + } + ], + "documentation": "

Starts replication on source server by ID.

" + }, "StartTest": { "name": "StartTest", "http": { @@ -681,6 +763,35 @@ } ], "documentation": "

Updates multiple ReplicationConfigurationTemplates by ID.

" + }, + "UpdateSourceServerReplicationType": { + "name": "UpdateSourceServerReplicationType", + "http": { + "method": "POST", + "requestUri": "/UpdateSourceServerReplicationType", + "responseCode": 200 + }, + "input": { + "shape": "UpdateSourceServerReplicationTypeRequest" + }, + "output": { + "shape": "SourceServer" + }, + "errors": [ + { + "shape": "UninitializedAccountException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + } + ], + "documentation": "

Updates source server Replication Type by ID.

" } }, "shapes": { @@ -858,7 +969,9 @@ "FAILED_TO_ATTACH_STAGING_DISKS", "FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT", "FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER", - "FAILED_TO_START_DATA_TRANSFER" + "FAILED_TO_START_DATA_TRANSFER", + "UNSUPPORTED_VM_CONFIGURATION", + "LAST_SNAPSHOT_JOB_FAILED" ] }, "DataReplicationInfo": { @@ -884,6 +997,10 @@ "shape": "ISO8601DatetimeString", "documentation": "

Request to query data replication lag durating.

" }, + "lastSnapshotDateTime": { + "shape": "ISO8601DatetimeString", + "documentation": "

Request to query data replication last snapshot time.

" + }, "replicatedDisks": { "shape": "DataReplicationInfoReplicatedDisks", "documentation": "

Request to query disks replicated.

" @@ -1001,7 +1118,9 @@ "PAUSED", "RESCAN", "STALLED", - "DISCONNECTED" + "DISCONNECTED", + "PENDING_SNAPSHOT_SHIPPING", + "SHIPPING_SNAPSHOT" ] }, "DeleteJobRequest": { @@ -1052,6 +1171,18 @@ "type": "structure", "members": {} }, + "DeleteVcenterClientRequest": { + "type": "structure", + "required": [ + "vcenterClientID" + ], + "members": { + "vcenterClientID": { + "shape": "VcenterClientID", + "documentation": "

ID of resource to be deleted.

" + } + } + }, "DescribeJobLogItemsRequest": { "type": "structure", "required": [ @@ -1204,6 +1335,14 @@ "shape": "Boolean", "documentation": "

Request to filter Source Servers list by archived.

" }, + "lifeCycleStates": { + "shape": "LifeCycleStates", + "documentation": "

Request to filter Source Servers list by life cycle states.

" + }, + "replicationTypes": { + "shape": "ReplicationTypes", + "documentation": "

Request to filter Source Servers list by replication type.

" + }, "sourceServerIDs": { "shape": "DescribeSourceServersRequestFiltersIDs", "documentation": "

Request to filter Source Servers list by Source Server ID.

" @@ -1232,6 +1371,36 @@ } } }, + "DescribeVcenterClientsRequest": { + "type": "structure", + "members": { + "maxResults": { + "shape": "StrictlyPositiveInteger", + "documentation": "

Maximum results to be returned in DescribeVcenterClients.

", + "location": "querystring", + "locationName": "maxResults" + }, + "nextToken": { + "shape": "PaginationToken", + "documentation": "

Next pagination token to be provided for DescribeVcenterClients.

", + "location": "querystring", + "locationName": "nextToken" + } + } + }, + "DescribeVcenterClientsResponse": { + "type": "structure", + "members": { + "items": { + "shape": "VcenterClientList", + "documentation": "

List of items returned by DescribeVcenterClients.

" + }, + "nextToken": { + "shape": "PaginationToken", + "documentation": "

Next pagination token returned from DescribeVcenterClients.

" + } + } + }, "DisconnectFromServiceRequest": { "type": "structure", "required": [ @@ -1349,6 +1518,10 @@ "shape": "BoundedString", "documentation": "

Hostname identification hint.

" }, + "vmPath": { + "shape": "BoundedString", + "documentation": "

vCenter VM path identification hint.

" + }, "vmWareUuid": { "shape": "BoundedString", "documentation": "

vmWare UUID identification hint.

" @@ -1747,9 +1920,18 @@ "READY_FOR_CUTOVER", "CUTTING_OVER", "CUTOVER", - "DISCONNECTED" + "DISCONNECTED", + "DISCOVERED" ] }, + "LifeCycleStates": { + "type": "list", + "member": { + "shape": "LifeCycleState" + }, + "max": 10, + "min": 0 + }, "ListTagsForResourceRequest": { "type": "structure", "required": [ @@ -2073,6 +2255,21 @@ "max": 32, "min": 0 }, + "ReplicationType": { + "type": "string", + "enum": [ + "AGENT_BASED", + "SNAPSHOT_SHIPPING" + ] + }, + "ReplicationTypes": { + "type": "list", + "member": { + "shape": "ReplicationType" + }, + "max": 2, + "min": 0 + }, "RetryDataReplicationRequest": { "type": "structure", "required": [ @@ -2157,6 +2354,10 @@ "shape": "LifeCycle", "documentation": "

Source server lifecycle state.

" }, + "replicationType": { + "shape": "ReplicationType", + "documentation": "

Source server replication type.

" + }, "sourceProperties": { "shape": "SourceProperties", "documentation": "

Source server properties.

" @@ -2168,6 +2369,10 @@ "tags": { "shape": "TagsMap", "documentation": "

Source server Tags.

" + }, + "vcenterClientID": { + "shape": "VcenterClientID", + "documentation": "

Source server vCenter client id.

" } } }, @@ -2216,6 +2421,18 @@ } } }, + "StartReplicationRequest": { + "type": "structure", + "required": [ + "sourceServerID" + ], + "members": { + "sourceServerID": { + "shape": "SourceServerID", + "documentation": "

ID of source server on which to start replication.

" + } + } + }, "StartTestRequest": { "type": "structure", "required": [ @@ -2533,6 +2750,73 @@ "documentation": "

Update replication configuration template use dedicated Replication Server request.

" } } + }, + "UpdateSourceServerReplicationTypeRequest": { + "type": "structure", + "required": [ + "replicationType", + "sourceServerID" + ], + "members": { + "replicationType": { + "shape": "ReplicationType", + "documentation": "

Replication type to which to update source server.

" + }, + "sourceServerID": { + "shape": "SourceServerID", + "documentation": "

ID of source server on which to update replication type.

" + } + } + }, + "VcenterClient": { + "type": "structure", + "members": { + "arn": { + "shape": "ARN", + "documentation": "

Arn of vCenter client.

" + }, + "datacenterName": { + "shape": "BoundedString", + "documentation": "

Datacenter name of vCenter client.

" + }, + "hostname": { + "shape": "BoundedString", + "documentation": "

Hostname of vCenter client .

" + }, + "lastSeenDatetime": { + "shape": "ISO8601DatetimeString", + "documentation": "

Last seen time of vCenter client.

" + }, + "sourceServerTags": { + "shape": "TagsMap", + "documentation": "

Tags for Source Server of vCenter client.

" + }, + "tags": { + "shape": "TagsMap", + "documentation": "

Tags for vCenter client.

" + }, + "vcenterClientID": { + "shape": "VcenterClientID", + "documentation": "

ID of vCenter client.

" + }, + "vcenterUUID": { + "shape": "BoundedString", + "documentation": "

Vcenter UUID of vCenter client.

" + } + }, + "documentation": "

vCenter client.

" + }, + "VcenterClientID": { + "type": "string", + "max": 21, + "min": 21, + "pattern": "^vcc-[0-9a-zA-Z]{17}$" + }, + "VcenterClientList": { + "type": "list", + "member": { + "shape": "VcenterClient" + } } }, "documentation": "

The Application Migration Service service.

" diff --git a/apis/mgn-2020-02-26.paginators.json b/apis/mgn-2020-02-26.paginators.json index 4f56fb4c98..95c756cedf 100644 --- a/apis/mgn-2020-02-26.paginators.json +++ b/apis/mgn-2020-02-26.paginators.json @@ -23,6 +23,12 @@ "output_token": "nextToken", "limit_key": "maxResults", "result_key": "items" + }, + "DescribeVcenterClients": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "items" } } } diff --git a/apis/outposts-2019-12-03.min.json b/apis/outposts-2019-12-03.min.json index 8dcfff068e..89eaf1da1d 100644 --- a/apis/outposts-2019-12-03.min.json +++ b/apis/outposts-2019-12-03.min.json @@ -13,6 +13,27 @@ "uid": "outposts-2019-12-03" }, "operations": { + "CancelOrder": { + "http": { + "requestUri": "/orders/{OrderId}/cancel" + }, + "input": { + "type": "structure", + "required": [ + "OrderId" + ], + "members": { + "OrderId": { + "location": "uri", + "locationName": "OrderId" + } + } + }, + "output": { + "type": "structure", + "members": {} + } + }, "CreateOrder": { "http": { "requestUri": "/orders" @@ -46,33 +67,7 @@ "type": "structure", "members": { "Order": { - "type": "structure", - "members": { - "OutpostId": {}, - "OrderId": {}, - "Status": {}, - "LineItems": { - "type": "list", - "member": { - "type": "structure", - "members": { - "CatalogItemId": {}, - "LineItemId": {}, - "Quantity": { - "type": "integer" - }, - "Status": {} - } - } - }, - "PaymentOption": {}, - "OrderSubmissionDate": { - "type": "timestamp" - }, - "OrderFulfilledDate": { - "type": "timestamp" - } - } + "shape": "Sd" } } } @@ -94,7 +89,7 @@ "AvailabilityZone": {}, "AvailabilityZoneId": {}, "Tags": { - "shape": "Sp" + "shape": "Sr" } } }, @@ -102,7 +97,43 @@ "type": "structure", "members": { "Outpost": { - "shape": "St" + "shape": "Sv" + } + } + } + }, + "CreateSite": { + "http": { + "requestUri": "/sites" + }, + "input": { + "type": "structure", + "required": [ + "Name" + ], + "members": { + "Name": {}, + "Description": {}, + "Notes": {}, + "Tags": { + "shape": "Sr" + }, + "OperatingAddress": { + "shape": "S15" + }, + "ShippingAddress": { + "shape": "S15" + }, + "RackPhysicalProperties": { + "shape": "S1h" + } + } + }, + "output": { + "type": "structure", + "members": { + "Site": { + "shape": "S1s" } } } @@ -151,6 +182,58 @@ "members": {} } }, + "GetCatalogItem": { + "http": { + "method": "GET", + "requestUri": "/catalog/item/{CatalogItemId}" + }, + "input": { + "type": "structure", + "required": [ + "CatalogItemId" + ], + "members": { + "CatalogItemId": { + "location": "uri", + "locationName": "CatalogItemId" + } + } + }, + "output": { + "type": "structure", + "members": { + "CatalogItem": { + "shape": "S20" + } + } + } + }, + "GetOrder": { + "http": { + "method": "GET", + "requestUri": "/orders/{OrderId}" + }, + "input": { + "type": "structure", + "required": [ + "OrderId" + ], + "members": { + "OrderId": { + "location": "uri", + "locationName": "OrderId" + } + } + }, + "output": { + "type": "structure", + "members": { + "Order": { + "shape": "Sd" + } + } + } + }, "GetOutpost": { "http": { "method": "GET", @@ -172,7 +255,7 @@ "type": "structure", "members": { "Outpost": { - "shape": "St" + "shape": "Sv" } } } @@ -221,6 +304,169 @@ } } }, + "GetSite": { + "http": { + "method": "GET", + "requestUri": "/sites/{SiteId}" + }, + "input": { + "type": "structure", + "required": [ + "SiteId" + ], + "members": { + "SiteId": { + "location": "uri", + "locationName": "SiteId" + } + } + }, + "output": { + "type": "structure", + "members": { + "Site": { + "shape": "S1s" + } + } + } + }, + "GetSiteAddress": { + "http": { + "method": "GET", + "requestUri": "/sites/{SiteId}/address" + }, + "input": { + "type": "structure", + "required": [ + "SiteId", + "AddressType" + ], + "members": { + "SiteId": { + "location": "uri", + "locationName": "SiteId" + }, + "AddressType": { + "location": "querystring", + "locationName": "AddressType" + } + } + }, + "output": { + "type": "structure", + "members": { + "SiteId": {}, + "AddressType": {}, + "Address": { + "shape": "S15" + } + } + } + }, + "ListCatalogItems": { + "http": { + "method": "GET", + "requestUri": "/catalog/items" + }, + "input": { + "type": "structure", + "members": { + "NextToken": { + "location": "querystring", + "locationName": "NextToken" + }, + "MaxResults": { + "location": "querystring", + "locationName": "MaxResults", + "type": "integer" + }, + "ItemClassFilter": { + "location": "querystring", + "locationName": "ItemClassFilter", + "type": "list", + "member": {} + }, + "SupportedStorageFilter": { + "shape": "S2b", + "location": "querystring", + "locationName": "SupportedStorageFilter" + }, + "EC2FamilyFilter": { + "location": "querystring", + "locationName": "EC2FamilyFilter", + "type": "list", + "member": {} + } + } + }, + "output": { + "type": "structure", + "members": { + "CatalogItems": { + "type": "list", + "member": { + "shape": "S20" + } + }, + "NextToken": {} + } + } + }, + "ListOrders": { + "http": { + "method": "GET", + "requestUri": "/list-orders" + }, + "input": { + "type": "structure", + "members": { + "OutpostIdentifierFilter": { + "location": "querystring", + "locationName": "OutpostIdentifierFilter" + }, + "NextToken": { + "location": "querystring", + "locationName": "NextToken" + }, + "MaxResults": { + "location": "querystring", + "locationName": "MaxResults", + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "Orders": { + "type": "list", + "member": { + "type": "structure", + "members": { + "OutpostId": {}, + "OrderId": {}, + "OrderType": {}, + "Status": {}, + "LineItemCountsByStatus": { + "type": "map", + "key": {}, + "value": { + "type": "integer" + } + }, + "OrderSubmissionDate": { + "type": "timestamp" + }, + "OrderFulfilledDate": { + "type": "timestamp" + } + } + } + }, + "NextToken": {} + } + } + }, "ListOutposts": { "http": { "method": "GET", @@ -264,7 +510,7 @@ "Outposts": { "type": "list", "member": { - "shape": "St" + "shape": "Sv" } }, "NextToken": {} @@ -296,17 +542,7 @@ "Sites": { "type": "list", "member": { - "type": "structure", - "members": { - "SiteId": {}, - "AccountId": {}, - "Name": {}, - "Description": {}, - "Tags": { - "shape": "Sp" - }, - "SiteArn": {} - } + "shape": "S1s" } }, "NextToken": {} @@ -334,7 +570,7 @@ "type": "structure", "members": { "Tags": { - "shape": "Sp" + "shape": "Sr" } } } @@ -355,7 +591,7 @@ "locationName": "ResourceArn" }, "Tags": { - "shape": "Sp" + "shape": "Sr" } } }, @@ -392,15 +628,141 @@ "type": "structure", "members": {} } + }, + "UpdateSite": { + "http": { + "method": "PATCH", + "requestUri": "/sites/{SiteId}" + }, + "input": { + "type": "structure", + "required": [ + "SiteId" + ], + "members": { + "SiteId": { + "location": "uri", + "locationName": "SiteId" + }, + "Name": {}, + "Description": {}, + "Notes": {} + } + }, + "output": { + "type": "structure", + "members": { + "Site": { + "shape": "S1s" + } + } + } + }, + "UpdateSiteAddress": { + "http": { + "method": "PUT", + "requestUri": "/sites/{SiteId}/address" + }, + "input": { + "type": "structure", + "required": [ + "SiteId", + "AddressType", + "Address" + ], + "members": { + "SiteId": { + "location": "uri", + "locationName": "SiteId" + }, + "AddressType": {}, + "Address": { + "shape": "S15" + } + } + }, + "output": { + "type": "structure", + "members": { + "AddressType": {}, + "Address": { + "shape": "S15" + } + } + } + }, + "UpdateSiteRackPhysicalProperties": { + "http": { + "method": "PATCH", + "requestUri": "/sites/{SiteId}/rackPhysicalProperties" + }, + "input": { + "type": "structure", + "required": [ + "SiteId" + ], + "members": { + "SiteId": { + "location": "uri", + "locationName": "SiteId" + }, + "PowerDrawKva": {}, + "PowerPhase": {}, + "PowerConnector": {}, + "PowerFeedDrop": {}, + "UplinkGbps": {}, + "UplinkCount": {}, + "FiberOpticCableType": {}, + "OpticalStandard": {}, + "MaximumSupportedWeightLbs": {} + } + }, + "output": { + "type": "structure", + "members": { + "Site": { + "shape": "S1s" + } + } + } } }, "shapes": { - "Sp": { + "Sd": { + "type": "structure", + "members": { + "OutpostId": {}, + "OrderId": {}, + "Status": {}, + "LineItems": { + "type": "list", + "member": { + "type": "structure", + "members": { + "CatalogItemId": {}, + "LineItemId": {}, + "Quantity": { + "type": "integer" + }, + "Status": {} + } + } + }, + "PaymentOption": {}, + "OrderSubmissionDate": { + "type": "timestamp" + }, + "OrderFulfilledDate": { + "type": "timestamp" + } + } + }, + "Sr": { "type": "map", "key": {}, "value": {} }, - "St": { + "Sv": { "type": "structure", "members": { "OutpostId": {}, @@ -413,10 +775,104 @@ "AvailabilityZone": {}, "AvailabilityZoneId": {}, "Tags": { - "shape": "Sp" + "shape": "Sr" }, "SiteArn": {} } + }, + "S15": { + "type": "structure", + "required": [ + "AddressLine1", + "City", + "StateOrRegion", + "PostalCode", + "CountryCode" + ], + "members": { + "ContactName": {}, + "ContactPhoneNumber": {}, + "AddressLine1": {}, + "AddressLine2": {}, + "AddressLine3": {}, + "City": {}, + "StateOrRegion": {}, + "DistrictOrCounty": {}, + "PostalCode": {}, + "CountryCode": {}, + "Municipality": {} + } + }, + "S1h": { + "type": "structure", + "members": { + "PowerDrawKva": {}, + "PowerPhase": {}, + "PowerConnector": {}, + "PowerFeedDrop": {}, + "UplinkGbps": {}, + "UplinkCount": {}, + "FiberOpticCableType": {}, + "OpticalStandard": {}, + "MaximumSupportedWeightLbs": {} + } + }, + "S1s": { + "type": "structure", + "members": { + "SiteId": {}, + "AccountId": {}, + "Name": {}, + "Description": {}, + "Tags": { + "shape": "Sr" + }, + "SiteArn": {}, + "Notes": {}, + "OperatingAddressCountryCode": {}, + "OperatingAddressStateOrRegion": {}, + "OperatingAddressCity": {}, + "RackPhysicalProperties": { + "shape": "S1h" + } + } + }, + "S20": { + "type": "structure", + "members": { + "CatalogItemId": {}, + "ItemStatus": {}, + "EC2Capacities": { + "type": "list", + "member": { + "type": "structure", + "members": { + "Family": {}, + "MaxSize": {}, + "Quantity": {} + } + } + }, + "PowerKva": { + "type": "float" + }, + "WeightLbs": { + "type": "integer" + }, + "SupportedUplinkGbps": { + "type": "list", + "member": { + "type": "integer" + } + }, + "SupportedStorage": { + "shape": "S2b" + } + } + }, + "S2b": { + "type": "list", + "member": {} } } } \ No newline at end of file diff --git a/apis/outposts-2019-12-03.normal.json b/apis/outposts-2019-12-03.normal.json index d1e92a5b51..6beffcc3ee 100644 --- a/apis/outposts-2019-12-03.normal.json +++ b/apis/outposts-2019-12-03.normal.json @@ -13,6 +13,37 @@ "uid": "outposts-2019-12-03" }, "operations": { + "CancelOrder": { + "name": "CancelOrder", + "http": { + "method": "POST", + "requestUri": "/orders/{OrderId}/cancel" + }, + "input": { + "shape": "CancelOrderInput" + }, + "output": { + "shape": "CancelOrderOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "

Cancels an order for an Outpost.

" + }, "CreateOrder": { "name": "CreateOrder", "http": { @@ -81,6 +112,37 @@ ], "documentation": "

Creates an Outpost.

You can specify AvailabilityZone or AvailabilityZoneId.

" }, + "CreateSite": { + "name": "CreateSite", + "http": { + "method": "POST", + "requestUri": "/sites" + }, + "input": { + "shape": "CreateSiteInput" + }, + "output": { + "shape": "CreateSiteOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "InternalServerException" + }, + { + "shape": "ServiceQuotaExceededException" + } + ], + "documentation": "

Creates a site for an Outpost.

" + }, "DeleteOutpost": { "name": "DeleteOutpost", "http": { @@ -143,6 +205,56 @@ ], "documentation": "

Deletes the site.

" }, + "GetCatalogItem": { + "name": "GetCatalogItem", + "http": { + "method": "GET", + "requestUri": "/catalog/item/{CatalogItemId}" + }, + "input": { + "shape": "GetCatalogItemInput" + }, + "output": { + "shape": "GetCatalogItemOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "

Gets information about a catalog item.

" + }, + "GetOrder": { + "name": "GetOrder", + "http": { + "method": "GET", + "requestUri": "/orders/{OrderId}" + }, + "input": { + "shape": "GetOrderInput" + }, + "output": { + "shape": "GetOrderOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "

Gets an order.

" + }, "GetOutpost": { "name": "GetOutpost", "http": { @@ -199,6 +311,115 @@ ], "documentation": "

Lists the instance types for the specified Outpost.

" }, + "GetSite": { + "name": "GetSite", + "http": { + "method": "GET", + "requestUri": "/sites/{SiteId}" + }, + "input": { + "shape": "GetSiteInput" + }, + "output": { + "shape": "GetSiteOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "

Gets information about the specified Outpost site.

" + }, + "GetSiteAddress": { + "name": "GetSiteAddress", + "http": { + "method": "GET", + "requestUri": "/sites/{SiteId}/address" + }, + "input": { + "shape": "GetSiteAddressInput" + }, + "output": { + "shape": "GetSiteAddressOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "

Gets the site address.

" + }, + "ListCatalogItems": { + "name": "ListCatalogItems", + "http": { + "method": "GET", + "requestUri": "/catalog/items" + }, + "input": { + "shape": "ListCatalogItemsInput" + }, + "output": { + "shape": "ListCatalogItemsOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "

Use to create a list of every item in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family.

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

" + }, + "ListOrders": { + "name": "ListOrders", + "http": { + "method": "GET", + "requestUri": "/list-orders" + }, + "input": { + "shape": "ListOrdersInput" + }, + "output": { + "shape": "ListOrdersOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "

Create a list of the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results.

" + }, "ListOutposts": { "name": "ListOutposts", "http": { @@ -222,7 +443,7 @@ "shape": "InternalServerException" } ], - "documentation": "

Create a list of the Outposts for your AWS account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availibility Zone (us-east-1a), and AZ ID (use1-az1).

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

" + "documentation": "

Create a list of the Outposts for your Amazon Web Services account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availability Zone (us-east-1a), and AZ ID (use1-az1).

If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters.

" }, "ListSites": { "name": "ListSites", @@ -247,7 +468,7 @@ "shape": "InternalServerException" } ], - "documentation": "

Lists the sites for the specified AWS account.

" + "documentation": "

Lists the sites for your Amazon Web Services account.

" }, "ListTagsForResource": { "name": "ListTagsForResource", @@ -323,16 +544,191 @@ } ], "documentation": "

Removes tags from the specified resource.

" + }, + "UpdateSite": { + "name": "UpdateSite", + "http": { + "method": "PATCH", + "requestUri": "/sites/{SiteId}" + }, + "input": { + "shape": "UpdateSiteInput" + }, + "output": { + "shape": "UpdateSiteOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "

Updates the site.

" + }, + "UpdateSiteAddress": { + "name": "UpdateSiteAddress", + "http": { + "method": "PUT", + "requestUri": "/sites/{SiteId}/address" + }, + "input": { + "shape": "UpdateSiteAddressInput" + }, + "output": { + "shape": "UpdateSiteAddressOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "

Updates the site address.

To update a site address with an order IN_PROGRESS, you must wait for the order to complete or cancel the order.

You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated.

" + }, + "UpdateSiteRackPhysicalProperties": { + "name": "UpdateSiteRackPhysicalProperties", + "http": { + "method": "PATCH", + "requestUri": "/sites/{SiteId}/rackPhysicalProperties" + }, + "input": { + "shape": "UpdateSiteRackPhysicalPropertiesInput" + }, + "output": { + "shape": "UpdateSiteRackPhysicalPropertiesOutput" + }, + "errors": [ + { + "shape": "ValidationException" + }, + { + "shape": "ConflictException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "AccessDeniedException" + }, + { + "shape": "InternalServerException" + } + ], + "documentation": "

Update the physical and logistical details for a rack at a site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.

To update a rack at a site with an order of IN_PROGRESS, you must wait for the order to complete or cancel the order.

" } }, "shapes": { "AccountId": { "type": "string", - "documentation": "

The ID of the AWS account.

", + "documentation": "

The ID of the Amazon Web Services account.

", "max": 12, "min": 12, "pattern": "\\d{12}" }, + "Address": { + "type": "structure", + "required": [ + "AddressLine1", + "City", + "StateOrRegion", + "PostalCode", + "CountryCode" + ], + "members": { + "ContactName": { + "shape": "ContactName", + "documentation": "

The name of the contact.

" + }, + "ContactPhoneNumber": { + "shape": "ContactPhoneNumber", + "documentation": "

The phone number of the contact.

" + }, + "AddressLine1": { + "shape": "AddressLine1", + "documentation": "

The first line of the address.

" + }, + "AddressLine2": { + "shape": "AddressLine2", + "documentation": "

The second line of the address.

" + }, + "AddressLine3": { + "shape": "AddressLine3", + "documentation": "

The third line of the address.

" + }, + "City": { + "shape": "City", + "documentation": "

The city for the address.

" + }, + "StateOrRegion": { + "shape": "StateOrRegion", + "documentation": "

The state for the address.

" + }, + "DistrictOrCounty": { + "shape": "DistrictOrCounty", + "documentation": "

The district or county for the address.

" + }, + "PostalCode": { + "shape": "PostalCode", + "documentation": "

The postal code for the address.

" + }, + "CountryCode": { + "shape": "CountryCode", + "documentation": "

The ISO-3166 two-letter country code for the address.

" + }, + "Municipality": { + "shape": "Municipality", + "documentation": "

The municipality for the address.

" + } + }, + "documentation": "

Information about an address.

" + }, + "AddressLine1": { + "type": "string", + "max": 180, + "min": 1, + "pattern": "^\\S[\\S ]*$" + }, + "AddressLine2": { + "type": "string", + "max": 60, + "min": 0, + "pattern": "^\\S[\\S ]*$" + }, + "AddressLine3": { + "type": "string", + "max": 60, + "min": 0, + "pattern": "^\\S[\\S ]*$" + }, + "AddressType": { + "type": "string", + "enum": [ + "SHIPPING_ADDRESS", + "OPERATING_ADDRESS" + ] + }, "Arn": { "type": "string", "max": 1011, @@ -368,6 +764,116 @@ "max": 5, "min": 1 }, + "CancelOrderInput": { + "type": "structure", + "required": [ + "OrderId" + ], + "members": { + "OrderId": { + "shape": "OrderId", + "documentation": "

The ID of the order to cancel.

", + "location": "uri", + "locationName": "OrderId" + } + } + }, + "CancelOrderOutput": { + "type": "structure", + "members": {} + }, + "CatalogItem": { + "type": "structure", + "members": { + "CatalogItemId": { + "shape": "SkuCode", + "documentation": "

The ID of the catalog item.

" + }, + "ItemStatus": { + "shape": "CatalogItemStatus", + "documentation": "

The status of a catalog item.

" + }, + "EC2Capacities": { + "shape": "EC2CapacityListDefinition", + "documentation": "

Information about the EC2 capacity of an item.

" + }, + "PowerKva": { + "shape": "CatalogItemPowerKva", + "documentation": "

Information about the power draw of an item.

" + }, + "WeightLbs": { + "shape": "CatalogItemWeightLbs", + "documentation": "

The weight of the item in pounds.

" + }, + "SupportedUplinkGbps": { + "shape": "SupportedUplinkGbpsListDefinition", + "documentation": "

The uplink speed this catalog item requires for the connection to the Region.

" + }, + "SupportedStorage": { + "shape": "SupportedStorageList", + "documentation": "

The supported storage options for the catalog item.

" + } + }, + "documentation": "

Information about a catalog item.

" + }, + "CatalogItemClass": { + "type": "string", + "enum": [ + "RACK", + "SERVER" + ] + }, + "CatalogItemClassList": { + "type": "list", + "member": { + "shape": "CatalogItemClass" + } + }, + "CatalogItemListDefinition": { + "type": "list", + "member": { + "shape": "CatalogItem" + } + }, + "CatalogItemPowerKva": { + "type": "float", + "box": true + }, + "CatalogItemStatus": { + "type": "string", + "enum": [ + "AVAILABLE", + "DISCONTINUED" + ] + }, + "CatalogItemWeightLbs": { + "type": "integer", + "box": true + }, + "City": { + "type": "string", + "max": 50, + "min": 1, + "pattern": "^\\S[\\S ]*$" + }, + "ContactName": { + "type": "string", + "max": 255, + "min": 1, + "pattern": "^\\S[\\S ]*$" + }, + "ContactPhoneNumber": { + "type": "string", + "max": 20, + "min": 1, + "pattern": "^[\\S ]+$" + }, + "CountryCode": { + "type": "string", + "max": 2, + "min": 2, + "pattern": "^[A-Z]{2}$" + }, "CreateOrderInput": { "type": "structure", "required": [ @@ -439,6 +945,48 @@ } } }, + "CreateSiteInput": { + "type": "structure", + "required": [ + "Name" + ], + "members": { + "Name": { + "shape": "SiteName" + }, + "Description": { + "shape": "SiteDescription" + }, + "Notes": { + "shape": "SiteNotes", + "documentation": "

Additional information that you provide about site access requirements, electrician scheduling, personal protective equipment, or regulation of equipment materials that could affect your installation process.

" + }, + "Tags": { + "shape": "TagMap", + "documentation": "

The tags to apply to a site.

" + }, + "OperatingAddress": { + "shape": "Address", + "documentation": "

The location to install and power on the hardware. This address might be different from the shipping address.

" + }, + "ShippingAddress": { + "shape": "Address", + "documentation": "

The location to ship the hardware. This address might be different from the operating address.

" + }, + "RackPhysicalProperties": { + "shape": "RackPhysicalProperties", + "documentation": "

Information about the physical and logistical details for the rack at this site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.

" + } + } + }, + "CreateSiteOutput": { + "type": "structure", + "members": { + "Site": { + "shape": "Site" + } + } + }, "DeleteOutpostInput": { "type": "structure", "required": [ @@ -474,6 +1022,100 @@ "type": "structure", "members": {} }, + "DistrictOrCounty": { + "type": "string", + "max": 60, + "min": 1, + "pattern": "^\\S[\\S ]*" + }, + "EC2Capacity": { + "type": "structure", + "members": { + "Family": { + "shape": "Family", + "documentation": "

The family of the EC2 capacity.

" + }, + "MaxSize": { + "shape": "MaxSize", + "documentation": "

The maximum size of the EC2 capacity.

" + }, + "Quantity": { + "shape": "Quantity", + "documentation": "

The quantity of the EC2 capacity.

" + } + }, + "documentation": "

Information about EC2 capacity.

" + }, + "EC2CapacityListDefinition": { + "type": "list", + "member": { + "shape": "EC2Capacity" + } + }, + "EC2FamilyList": { + "type": "list", + "member": { + "shape": "Family" + } + }, + "Family": { + "type": "string", + "max": 10, + "min": 1, + "pattern": "[a-z0-9]+" + }, + "FiberOpticCableType": { + "type": "string", + "enum": [ + "SINGLE_MODE", + "MULTI_MODE" + ] + }, + "GetCatalogItemInput": { + "type": "structure", + "required": [ + "CatalogItemId" + ], + "members": { + "CatalogItemId": { + "shape": "SkuCode", + "documentation": "

The ID of the catalog item.

", + "location": "uri", + "locationName": "CatalogItemId" + } + } + }, + "GetCatalogItemOutput": { + "type": "structure", + "members": { + "CatalogItem": { + "shape": "CatalogItem", + "documentation": "

Information about this catalog item.

" + } + } + }, + "GetOrderInput": { + "type": "structure", + "required": [ + "OrderId" + ], + "members": { + "OrderId": { + "shape": "OrderId", + "documentation": "

The ID of the order.

", + "location": "uri", + "locationName": "OrderId" + } + } + }, + "GetOrderOutput": { + "type": "structure", + "members": { + "Order": { + "shape": "Order" + } + } + }, "GetOutpostInput": { "type": "structure", "required": [ @@ -530,11 +1172,68 @@ } } }, - "GetOutpostOutput": { + "GetOutpostOutput": { + "type": "structure", + "members": { + "Outpost": { + "shape": "Outpost" + } + } + }, + "GetSiteAddressInput": { + "type": "structure", + "required": [ + "SiteId", + "AddressType" + ], + "members": { + "SiteId": { + "shape": "SiteId", + "location": "uri", + "locationName": "SiteId" + }, + "AddressType": { + "shape": "AddressType", + "documentation": "

The type of the address you request.

", + "location": "querystring", + "locationName": "AddressType" + } + } + }, + "GetSiteAddressOutput": { + "type": "structure", + "members": { + "SiteId": { + "shape": "SiteId" + }, + "AddressType": { + "shape": "AddressType", + "documentation": "

The type of the address you receive.

" + }, + "Address": { + "shape": "Address", + "documentation": "

Information about the address.

" + } + } + }, + "GetSiteInput": { + "type": "structure", + "required": [ + "SiteId" + ], + "members": { + "SiteId": { + "shape": "SiteId", + "location": "uri", + "locationName": "SiteId" + } + } + }, + "GetSiteOutput": { "type": "structure", "members": { - "Outpost": { - "shape": "Outpost" + "Site": { + "shape": "Site" } } }, @@ -592,7 +1291,7 @@ "documentation": "

The quantity of the line item.

" }, "Status": { - "shape": "Status", + "shape": "LineItemStatus", "documentation": "

The status of the line item.

" } }, @@ -635,6 +1334,106 @@ "max": 20, "min": 1 }, + "LineItemStatus": { + "type": "string", + "enum": [ + "PREPARING", + "BUILDING", + "SHIPPED", + "DELIVERED", + "INSTALLING", + "INSTALLED", + "ERROR", + "CANCELLED" + ] + }, + "LineItemStatusCounts": { + "type": "map", + "key": { + "shape": "LineItemStatus" + }, + "value": { + "shape": "LineItemQuantity" + } + }, + "ListCatalogItemsInput": { + "type": "structure", + "members": { + "NextToken": { + "shape": "Token", + "location": "querystring", + "locationName": "NextToken" + }, + "MaxResults": { + "shape": "MaxResults1000", + "location": "querystring", + "locationName": "MaxResults" + }, + "ItemClassFilter": { + "shape": "CatalogItemClassList", + "documentation": "

A filter for the class of items in the catalog.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

", + "location": "querystring", + "locationName": "ItemClassFilter" + }, + "SupportedStorageFilter": { + "shape": "SupportedStorageList", + "documentation": "

A filter for the storage options of items in the catalog.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

", + "location": "querystring", + "locationName": "SupportedStorageFilter" + }, + "EC2FamilyFilter": { + "shape": "EC2FamilyList", + "documentation": "

A filter for EC2 family options for items in the catalog.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

", + "location": "querystring", + "locationName": "EC2FamilyFilter" + } + } + }, + "ListCatalogItemsOutput": { + "type": "structure", + "members": { + "CatalogItems": { + "shape": "CatalogItemListDefinition", + "documentation": "

Information about the catalog items.

" + }, + "NextToken": { + "shape": "Token" + } + } + }, + "ListOrdersInput": { + "type": "structure", + "members": { + "OutpostIdentifierFilter": { + "shape": "OutpostIdentifier", + "documentation": "

The ID or the Amazon Resource Name (ARN) of the Outpost.

", + "location": "querystring", + "locationName": "OutpostIdentifierFilter" + }, + "NextToken": { + "shape": "Token", + "location": "querystring", + "locationName": "NextToken" + }, + "MaxResults": { + "shape": "MaxResults1000", + "location": "querystring", + "locationName": "MaxResults" + } + } + }, + "ListOrdersOutput": { + "type": "structure", + "members": { + "Orders": { + "shape": "OrderSummaryListDefinition", + "documentation": "

Information about the orders.

" + }, + "NextToken": { + "shape": "Token" + } + } + }, "ListOutpostsInput": { "type": "structure", "members": { @@ -650,19 +1449,19 @@ }, "LifeCycleStatusFilter": { "shape": "LifeCycleStatusList", - "documentation": "

A filter for the lifecycle status of the Outpost.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

", + "documentation": "

A filter for the lifecycle status of the Outpost.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

", "location": "querystring", "locationName": "LifeCycleStatusFilter" }, "AvailabilityZoneFilter": { "shape": "AvailabilityZoneList", - "documentation": "

A filter for the Availibility Zone (us-east-1a) of the Outpost.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

", + "documentation": "

A filter for the Availability Zone (us-east-1a) of the Outpost.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

", "location": "querystring", "locationName": "AvailabilityZoneFilter" }, "AvailabilityZoneIdFilter": { "shape": "AvailabilityZoneIdList", - "documentation": "

A filter for the AZ IDs (use1-az1) of the Outpost.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

", + "documentation": "

A filter for the AZ IDs (use1-az1) of the Outpost.

Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values.

", "location": "querystring", "locationName": "AvailabilityZoneIdFilter" } @@ -735,12 +1534,49 @@ "max": 1000, "min": 1 }, + "MaxSize": { + "type": "string" + }, + "MaximumSupportedWeightLbs": { + "type": "string", + "enum": [ + "NO_LIMIT", + "MAX_1400_LBS", + "MAX_1600_LBS", + "MAX_1800_LBS", + "MAX_2000_LBS" + ] + }, + "Municipality": { + "type": "string", + "max": 180, + "min": 0, + "pattern": "^\\S[\\S ]*$" + }, + "OpticalStandard": { + "type": "string", + "enum": [ + "OPTIC_10GBASE_SR", + "OPTIC_10GBASE_IR", + "OPTIC_10GBASE_LR", + "OPTIC_40GBASE_SR", + "OPTIC_40GBASE_ESR", + "OPTIC_40GBASE_IR4_LR4L", + "OPTIC_40GBASE_LR4", + "OPTIC_100GBASE_SR4", + "OPTIC_100GBASE_CWDM4", + "OPTIC_100GBASE_LR4", + "OPTIC_100G_PSM4_MSA", + "OPTIC_1000BASE_LX", + "OPTIC_1000BASE_SX" + ] + }, "Order": { "type": "structure", "members": { "OutpostId": { "shape": "OutpostIdOnly", - "documentation": "

The ID of the Outpost.

" + "documentation": "

The ID of the Outpost in the order.

" }, "OrderId": { "shape": "OrderId", @@ -748,7 +1584,7 @@ }, "Status": { "shape": "OrderStatus", - "documentation": "

The status of the order

" + "documentation": "

The status of the order.

The following status are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED.

" }, "LineItems": { "shape": "LineItemListDefinition", @@ -783,7 +1619,58 @@ "PROCESSING", "INSTALLING", "FULFILLED", - "CANCELLED" + "CANCELLED", + "PREPARING", + "IN_PROGRESS", + "COMPLETED", + "ERROR" + ] + }, + "OrderSummary": { + "type": "structure", + "members": { + "OutpostId": { + "shape": "OutpostIdOnly", + "documentation": "

The ID of the Outpost.

" + }, + "OrderId": { + "shape": "OrderId", + "documentation": "

The ID of the order.

" + }, + "OrderType": { + "shape": "OrderType", + "documentation": "

The type of order.

" + }, + "Status": { + "shape": "OrderStatus", + "documentation": "

The status of the order.

The following statuses are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED.

" + }, + "LineItemCountsByStatus": { + "shape": "LineItemStatusCounts", + "documentation": "

The status of all line items in the order.

" + }, + "OrderSubmissionDate": { + "shape": "ISO8601Timestamp", + "documentation": "

Submission date for the order.

" + }, + "OrderFulfilledDate": { + "shape": "ISO8601Timestamp", + "documentation": "

Fulfilment date for the order.

" + } + }, + "documentation": "

A summary of line items in your order.

" + }, + "OrderSummaryListDefinition": { + "type": "list", + "member": { + "shape": "OrderSummary" + } + }, + "OrderType": { + "type": "string", + "enum": [ + "OUTPOST", + "REPLACEMENT" ] }, "Outpost": { @@ -868,7 +1755,7 @@ }, "OwnerId": { "type": "string", - "documentation": "

The AWS account ID of the Outpost owner.

", + "documentation": "

The Amazon Web Services account ID of the Outpost owner.

", "max": 12, "min": 12, "pattern": "\\d{12}" @@ -887,6 +1774,88 @@ "THREE_YEARS" ] }, + "PostalCode": { + "type": "string", + "max": 20, + "min": 1, + "pattern": "^[a-zA-Z0-9 -]+$" + }, + "PowerConnector": { + "type": "string", + "enum": [ + "L6_30P", + "IEC309", + "AH530P7W", + "AH532P6W" + ] + }, + "PowerDrawKva": { + "type": "string", + "enum": [ + "POWER_5_KVA", + "POWER_10_KVA", + "POWER_15_KVA" + ] + }, + "PowerFeedDrop": { + "type": "string", + "enum": [ + "ABOVE_RACK", + "BELOW_RACK" + ] + }, + "PowerPhase": { + "type": "string", + "enum": [ + "SINGLE_PHASE", + "THREE_PHASE" + ] + }, + "Quantity": { + "type": "string" + }, + "RackPhysicalProperties": { + "type": "structure", + "members": { + "PowerDrawKva": { + "shape": "PowerDrawKva", + "documentation": "

The power draw available at the hardware placement position for the rack.

" + }, + "PowerPhase": { + "shape": "PowerPhase", + "documentation": "

The power option that you can provide for hardware.

" + }, + "PowerConnector": { + "shape": "PowerConnector", + "documentation": "

The power connector for the hardware.

" + }, + "PowerFeedDrop": { + "shape": "PowerFeedDrop", + "documentation": "

The position of the power feed.

" + }, + "UplinkGbps": { + "shape": "UplinkGbps", + "documentation": "

The uplink speed the rack supports for the connection to the Region.

" + }, + "UplinkCount": { + "shape": "UplinkCount", + "documentation": "

The number of uplinks each Outpost network device.

" + }, + "FiberOpticCableType": { + "shape": "FiberOpticCableType", + "documentation": "

The type of fiber used to attach the Outpost to the network.

" + }, + "OpticalStandard": { + "shape": "OpticalStandard", + "documentation": "

The type of optical standard used to attach the Outpost to the network. This field is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.

" + }, + "MaximumSupportedWeightLbs": { + "shape": "MaximumSupportedWeightLbs", + "documentation": "

The maximum rack weight that this site can support. NO_LIMIT is over 2000 lbs (907 kg).

" + } + }, + "documentation": "

Information about the physical and logistical details for racks at sites. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide.

" + }, "Site": { "type": "structure", "members": { @@ -908,6 +1877,26 @@ }, "SiteArn": { "shape": "SiteArn" + }, + "Notes": { + "shape": "SiteNotes", + "documentation": "

Notes about a site.

" + }, + "OperatingAddressCountryCode": { + "shape": "CountryCode", + "documentation": "

The ISO-3166 two-letter country code where the hardware is installed and powered on.

" + }, + "OperatingAddressStateOrRegion": { + "shape": "StateOrRegion", + "documentation": "

State or region where the hardware is installed and powered on.

" + }, + "OperatingAddressCity": { + "shape": "City", + "documentation": "

City where the hardware is installed and powered on.

" + }, + "RackPhysicalProperties": { + "shape": "RackPhysicalProperties", + "documentation": "

Information about the physical and logistical details for a rack at the site.

" } }, "documentation": "

Information about a site.

" @@ -940,17 +1929,45 @@ "min": 1, "pattern": "^[\\S ]+$" }, + "SiteNotes": { + "type": "string", + "max": 2000, + "min": 1, + "pattern": "^[\\S \\n]+$" + }, "SkuCode": { "type": "string", "max": 10, "min": 1, "pattern": "OR-[A-Z0-9]{7}" }, - "Status": { + "StateOrRegion": { "type": "string", - "max": 1000, + "max": 50, "min": 1, - "pattern": "^[\\S ]+$" + "pattern": "^\\S[\\S ]*$" + }, + "SupportedStorageEnum": { + "type": "string", + "enum": [ + "EBS", + "S3" + ] + }, + "SupportedStorageList": { + "type": "list", + "member": { + "shape": "SupportedStorageEnum" + } + }, + "SupportedUplinkGbps": { + "type": "integer" + }, + "SupportedUplinkGbpsListDefinition": { + "type": "list", + "member": { + "shape": "SupportedUplinkGbps" + } }, "TagKey": { "type": "string", @@ -1037,6 +2054,154 @@ "type": "structure", "members": {} }, + "UpdateSiteAddressInput": { + "type": "structure", + "required": [ + "SiteId", + "AddressType", + "Address" + ], + "members": { + "SiteId": { + "shape": "SiteId", + "location": "uri", + "locationName": "SiteId" + }, + "AddressType": { + "shape": "AddressType", + "documentation": "

The type of the address.

" + }, + "Address": { + "shape": "Address", + "documentation": "

The address for the site.

" + } + } + }, + "UpdateSiteAddressOutput": { + "type": "structure", + "members": { + "AddressType": { + "shape": "AddressType", + "documentation": "

The type of the address.

" + }, + "Address": { + "shape": "Address", + "documentation": "

Information about an address.

" + } + } + }, + "UpdateSiteInput": { + "type": "structure", + "required": [ + "SiteId" + ], + "members": { + "SiteId": { + "shape": "SiteId", + "location": "uri", + "locationName": "SiteId" + }, + "Name": { + "shape": "SiteName" + }, + "Description": { + "shape": "SiteDescription" + }, + "Notes": { + "shape": "SiteNotes", + "documentation": "

Notes about a site.

" + } + } + }, + "UpdateSiteOutput": { + "type": "structure", + "members": { + "Site": { + "shape": "Site" + } + } + }, + "UpdateSiteRackPhysicalPropertiesInput": { + "type": "structure", + "required": [ + "SiteId" + ], + "members": { + "SiteId": { + "shape": "SiteId", + "location": "uri", + "locationName": "SiteId" + }, + "PowerDrawKva": { + "shape": "PowerDrawKva", + "documentation": "

Specify in kVA the power draw available at the hardware placement position for the rack.

" + }, + "PowerPhase": { + "shape": "PowerPhase", + "documentation": "

Specify the power option that you can provide for hardware.

" + }, + "PowerConnector": { + "shape": "PowerConnector", + "documentation": "

Specify the power connector that Amazon Web Services should plan to provide for connections to the hardware. Note the correlation between PowerPhase and PowerConnector.

" + }, + "PowerFeedDrop": { + "shape": "PowerFeedDrop", + "documentation": "

Specify whether the power feed comes above or below the rack.

" + }, + "UplinkGbps": { + "shape": "UplinkGbps", + "documentation": "

Specify the uplink speed the rack should support for the connection to the Region.

" + }, + "UplinkCount": { + "shape": "UplinkCount", + "documentation": "

Racks come with two Outpost network devices. Depending on the supported uplink speed at the site, the Outpost network devices provide a variable number of uplinks. Specify the number of uplinks for each Outpost network device that you intend to use to connect the rack to your network. Note the correlation between UplinkGbps and UplinkCount.

" + }, + "FiberOpticCableType": { + "shape": "FiberOpticCableType", + "documentation": "

Specify the type of fiber that you will use to attach the Outpost to your network.

" + }, + "OpticalStandard": { + "shape": "OpticalStandard", + "documentation": "

Specify the type of optical standard that you will use to attach the Outpost to your network. This field is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide.

" + }, + "MaximumSupportedWeightLbs": { + "shape": "MaximumSupportedWeightLbs", + "documentation": "

Specify the maximum rack weight that this site can support. NO_LIMIT is over 2000lbs.

" + } + } + }, + "UpdateSiteRackPhysicalPropertiesOutput": { + "type": "structure", + "members": { + "Site": { + "shape": "Site" + } + } + }, + "UplinkCount": { + "type": "string", + "enum": [ + "UPLINK_COUNT_1", + "UPLINK_COUNT_2", + "UPLINK_COUNT_3", + "UPLINK_COUNT_4", + "UPLINK_COUNT_5", + "UPLINK_COUNT_6", + "UPLINK_COUNT_7", + "UPLINK_COUNT_8", + "UPLINK_COUNT_12", + "UPLINK_COUNT_16" + ] + }, + "UplinkGbps": { + "type": "string", + "enum": [ + "UPLINK_1G", + "UPLINK_10G", + "UPLINK_40G", + "UPLINK_100G" + ] + }, "outpostListDefinition": { "type": "list", "member": { @@ -1052,5 +2217,5 @@ "documentation": "

Information about the sites.

" } }, - "documentation": "

AWS Outposts is a fully managed service that extends AWS infrastructure, APIs, and tools to customer premises. By providing local access to AWS managed infrastructure, AWS Outposts enables customers to build and run applications on premises using the same programming interfaces as in AWS Regions, while using local compute and storage resources for lower latency and local data processing needs.

" + "documentation": "

Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts enables customers to build and run applications on premises using the same programming interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower latency and local data processing needs.

" } \ No newline at end of file diff --git a/apis/outposts-2019-12-03.paginators.json b/apis/outposts-2019-12-03.paginators.json index a22e9d094c..8c53cd893a 100644 --- a/apis/outposts-2019-12-03.paginators.json +++ b/apis/outposts-2019-12-03.paginators.json @@ -1,5 +1,15 @@ { "pagination": { + "ListCatalogItems": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, + "ListOrders": { + "input_token": "NextToken", + "output_token": "NextToken", + "limit_key": "MaxResults" + }, "ListOutposts": { "input_token": "NextToken", "output_token": "NextToken", diff --git a/apis/pinpoint-2016-12-01.min.json b/apis/pinpoint-2016-12-01.min.json index 427155f33b..1349145e74 100644 --- a/apis/pinpoint-2016-12-01.min.json +++ b/apis/pinpoint-2016-12-01.min.json @@ -3924,39 +3924,70 @@ "type": "structure", "members": { "MessageResponse": { + "shape": "Sbr" + } + }, + "required": [ + "MessageResponse" + ], + "payload": "MessageResponse" + } + }, + "SendOTPMessage": { + "http": { + "requestUri": "/v1/apps/{application-id}/otp", + "responseCode": 200 + }, + "input": { + "type": "structure", + "members": { + "ApplicationId": { + "location": "uri", + "locationName": "application-id" + }, + "SendOTPMessageRequestParameters": { "type": "structure", "members": { - "ApplicationId": {}, - "EndpointResult": { - "shape": "Sbs" + "AllowedAttempts": { + "type": "integer" }, - "RequestId": {}, - "Result": { - "type": "map", - "key": {}, - "value": { - "type": "structure", - "members": { - "DeliveryStatus": {}, - "MessageId": {}, - "StatusCode": { - "type": "integer" - }, - "StatusMessage": {}, - "UpdatedToken": {} - }, - "required": [ - "DeliveryStatus", - "StatusCode" - ] - } + "BrandName": {}, + "Channel": {}, + "CodeLength": { + "type": "integer" + }, + "DestinationIdentity": {}, + "EntityId": {}, + "Language": {}, + "OriginationIdentity": {}, + "ReferenceId": {}, + "TemplateId": {}, + "ValidityPeriod": { + "type": "integer" } }, "required": [ - "ApplicationId" + "BrandName", + "ReferenceId", + "Channel", + "DestinationIdentity", + "OriginationIdentity" ] } }, + "required": [ + "ApplicationId", + "SendOTPMessageRequestParameters" + ], + "payload": "SendOTPMessageRequestParameters" + }, + "output": { + "type": "structure", + "members": { + "MessageResponse": { + "shape": "Sbr" + } + }, "required": [ "MessageResponse" ], @@ -5221,6 +5252,56 @@ ], "payload": "MessageBody" } + }, + "VerifyOTPMessage": { + "http": { + "requestUri": "/v1/apps/{application-id}/verify-otp", + "responseCode": 200 + }, + "input": { + "type": "structure", + "members": { + "ApplicationId": { + "location": "uri", + "locationName": "application-id" + }, + "VerifyOTPMessageRequestParameters": { + "type": "structure", + "members": { + "DestinationIdentity": {}, + "Otp": {}, + "ReferenceId": {} + }, + "required": [ + "ReferenceId", + "Otp", + "DestinationIdentity" + ] + } + }, + "required": [ + "ApplicationId", + "VerifyOTPMessageRequestParameters" + ], + "payload": "VerifyOTPMessageRequestParameters" + }, + "output": { + "type": "structure", + "members": { + "VerificationResponse": { + "type": "structure", + "members": { + "Valid": { + "type": "boolean" + } + } + } + }, + "required": [ + "VerificationResponse" + ], + "payload": "VerificationResponse" + } } }, "shapes": { @@ -7358,6 +7439,39 @@ "Data": {} } }, + "Sbr": { + "type": "structure", + "members": { + "ApplicationId": {}, + "EndpointResult": { + "shape": "Sbs" + }, + "RequestId": {}, + "Result": { + "type": "map", + "key": {}, + "value": { + "type": "structure", + "members": { + "DeliveryStatus": {}, + "MessageId": {}, + "StatusCode": { + "type": "integer" + }, + "StatusMessage": {}, + "UpdatedToken": {} + }, + "required": [ + "DeliveryStatus", + "StatusCode" + ] + } + } + }, + "required": [ + "ApplicationId" + ] + }, "Sbs": { "type": "map", "key": {}, diff --git a/apis/pinpoint-2016-12-01.normal.json b/apis/pinpoint-2016-12-01.normal.json index be8eb7181d..8f47c30576 100644 --- a/apis/pinpoint-2016-12-01.normal.json +++ b/apis/pinpoint-2016-12-01.normal.json @@ -4075,6 +4075,52 @@ ], "documentation": "

Creates and sends a direct message.

" }, + "SendOTPMessage": { + "name": "SendOTPMessage", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/otp", + "responseCode": 200 + }, + "input": { + "shape": "SendOTPMessageRequest" + }, + "output": { + "shape": "SendOTPMessageResponse", + "documentation": "

200 response

" + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "

400 response

" + }, + { + "shape": "InternalServerErrorException", + "documentation": "

500 response

" + }, + { + "shape": "PayloadTooLargeException", + "documentation": "

413 response

" + }, + { + "shape": "ForbiddenException", + "documentation": "

403 response

" + }, + { + "shape": "NotFoundException", + "documentation": "

404 response

" + }, + { + "shape": "MethodNotAllowedException", + "documentation": "

405 response

" + }, + { + "shape": "TooManyRequestsException", + "documentation": "

429 response

" + } + ], + "documentation": "

Send an OTP message

" + }, "SendUsersMessages": { "name": "SendUsersMessages", "http": { @@ -5254,6 +5300,52 @@ } ], "documentation": "

Updates an existing message template for messages that are sent through the voice channel.

" + }, + "VerifyOTPMessage": { + "name": "VerifyOTPMessage", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/verify-otp", + "responseCode": 200 + }, + "input": { + "shape": "VerifyOTPMessageRequest" + }, + "output": { + "shape": "VerifyOTPMessageResponse", + "documentation": "

200 response

" + }, + "errors": [ + { + "shape": "BadRequestException", + "documentation": "

400 response

" + }, + { + "shape": "InternalServerErrorException", + "documentation": "

500 response

" + }, + { + "shape": "PayloadTooLargeException", + "documentation": "

413 response

" + }, + { + "shape": "ForbiddenException", + "documentation": "

403 response

" + }, + { + "shape": "NotFoundException", + "documentation": "

404 response

" + }, + { + "shape": "MethodNotAllowedException", + "documentation": "

405 response

" + }, + { + "shape": "TooManyRequestsException", + "documentation": "

429 response

" + } + ], + "documentation": "

Verify an OTP

" } }, "shapes": { @@ -13395,6 +13487,94 @@ ], "payload": "MessageResponse" }, + "SendOTPMessageRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id", + "documentation": "

The unique ID of your Amazon Pinpoint application.

" + }, + "SendOTPMessageRequestParameters": { + "shape": "SendOTPMessageRequestParameters" + } + }, + "required": [ + "ApplicationId", + "SendOTPMessageRequestParameters" + ], + "payload": "SendOTPMessageRequestParameters" + }, + "SendOTPMessageRequestParameters": { + "type": "structure", + "members": { + "AllowedAttempts": { + "shape": "__integer", + "documentation": "

The attempts allowed to validate an OTP.

" + }, + "BrandName": { + "shape": "__string", + "documentation": "

The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account.

" + }, + "Channel": { + "shape": "__string", + "documentation": "

Channel type for the OTP message. Supported values: [SMS].

" + }, + "CodeLength": { + "shape": "__integer", + "documentation": "

The number of characters in the generated OTP.

" + }, + "DestinationIdentity": { + "shape": "__string", + "documentation": "

The destination identity to send OTP to.

" + }, + "EntityId": { + "shape": "__string", + "documentation": "

A unique Entity ID received from DLT after entity registration is approved.

" + }, + "Language": { + "shape": "__string", + "documentation": "

The language to be used for the outgoing message body containing the OTP.

" + }, + "OriginationIdentity": { + "shape": "__string", + "documentation": "

The origination identity used to send OTP from.

" + }, + "ReferenceId": { + "shape": "__string", + "documentation": "

Developer-specified reference identifier. Required to match during OTP verification.

" + }, + "TemplateId": { + "shape": "__string", + "documentation": "

A unique Template ID received from DLT after entity registration is approved.

" + }, + "ValidityPeriod": { + "shape": "__integer", + "documentation": "

The time in minutes before the OTP is no longer valid.

" + } + }, + "documentation": "

Send OTP message request parameters.

", + "required": [ + "BrandName", + "ReferenceId", + "Channel", + "DestinationIdentity", + "OriginationIdentity" + ] + }, + "SendOTPMessageResponse": { + "type": "structure", + "members": { + "MessageResponse": { + "shape": "MessageResponse" + } + }, + "required": [ + "MessageResponse" + ], + "payload": "MessageResponse" + }, "SendUsersMessageRequest": { "type": "structure", "members": { @@ -14822,6 +15002,70 @@ ], "payload": "MessageBody" }, + "VerificationResponse": { + "type": "structure", + "members": { + "Valid": { + "shape": "__boolean", + "documentation": "

Specifies whether the OTP is valid or not.

" + } + }, + "documentation": "

Verify OTP Message Response.

" + }, + "VerifyOTPMessageRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id", + "documentation": "

The unique ID of your Amazon Pinpoint application.

" + }, + "VerifyOTPMessageRequestParameters": { + "shape": "VerifyOTPMessageRequestParameters" + } + }, + "required": [ + "ApplicationId", + "VerifyOTPMessageRequestParameters" + ], + "payload": "VerifyOTPMessageRequestParameters" + }, + "VerifyOTPMessageRequestParameters": { + "type": "structure", + "members": { + "DestinationIdentity": { + "shape": "__string", + "documentation": "

The destination identity to send OTP to.

" + }, + "Otp": { + "shape": "__string", + "documentation": "

The OTP the end user provided for verification.

" + }, + "ReferenceId": { + "shape": "__string", + "documentation": "

The reference identifier provided when the OTP was previously sent.

" + } + }, + "documentation": "

Verify OTP message request.

", + "required": [ + "ReferenceId", + "Otp", + "DestinationIdentity" + ] + }, + "VerifyOTPMessageResponse": { + "type": "structure", + "members": { + "VerificationResponse": { + "shape": "VerificationResponse" + } + }, + "required": [ + "VerificationResponse" + ], + "payload": "VerificationResponse" + }, "VoiceChannelRequest": { "type": "structure", "members": { diff --git a/clients/autoscaling.d.ts b/clients/autoscaling.d.ts index 92d8378e40..4d7e52ab9a 100644 --- a/clients/autoscaling.d.ts +++ b/clients/autoscaling.d.ts @@ -20,19 +20,19 @@ declare class AutoScaling extends Service { */ attachInstances(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Attaches one or more target groups to the specified Auto Scaling group. This operation is used with the following load balancer types: Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS. Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP. Gateway Load Balancer - Operates at the network layer (layer 3). To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from the Auto Scaling group, call the DetachLoadBalancerTargetGroups API. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. + * Attaches one or more target groups to the specified Auto Scaling group. This operation is used with the following load balancer types: Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS. Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP. Gateway Load Balancer - Operates at the network layer (layer 3). To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from the Auto Scaling group, call the DetachLoadBalancerTargetGroups API. This operation is additive and does not detach existing target groups or Classic Load Balancers from the Auto Scaling group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. */ attachLoadBalancerTargetGroups(params: AutoScaling.Types.AttachLoadBalancerTargetGroupsType, callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType) => void): Request; /** - * Attaches one or more target groups to the specified Auto Scaling group. This operation is used with the following load balancer types: Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS. Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP. Gateway Load Balancer - Operates at the network layer (layer 3). To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from the Auto Scaling group, call the DetachLoadBalancerTargetGroups API. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. + * Attaches one or more target groups to the specified Auto Scaling group. This operation is used with the following load balancer types: Application Load Balancer - Operates at the application layer (layer 7) and supports HTTP and HTTPS. Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP, TLS, and UDP. Gateway Load Balancer - Operates at the network layer (layer 3). To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from the Auto Scaling group, call the DetachLoadBalancerTargetGroups API. This operation is additive and does not detach existing target groups or Classic Load Balancers from the Auto Scaling group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. */ attachLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType) => void): Request; /** - * To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead. Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the running instances with these Classic Load Balancers. To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach the load balancer from the Auto Scaling group, call the DetachLoadBalancers API. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. + * To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead. Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the running instances with these Classic Load Balancers. To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach the load balancer from the Auto Scaling group, call the DetachLoadBalancers API. This operation is additive and does not detach existing Classic Load Balancers or target groups from the Auto Scaling group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. */ attachLoadBalancers(params: AutoScaling.Types.AttachLoadBalancersType, callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancersResultType) => void): Request; /** - * To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead. Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the running instances with these Classic Load Balancers. To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach the load balancer from the Auto Scaling group, call the DetachLoadBalancers API. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. + * To attach an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer, use the AttachLoadBalancerTargetGroups API operation instead. Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the running instances with these Classic Load Balancers. To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach the load balancer from the Auto Scaling group, call the DetachLoadBalancers API. This operation is additive and does not detach existing Classic Load Balancers or target groups from the Auto Scaling group. For more information, see Elastic Load Balancing and Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. */ attachLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancersResultType) => void): Request; /** @@ -60,11 +60,11 @@ declare class AutoScaling extends Service { */ cancelInstanceRefresh(callback?: (err: AWSError, data: AutoScaling.Types.CancelInstanceRefreshAnswer) => void): Request; /** - * Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. + * Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. */ completeLifecycleAction(params: AutoScaling.Types.CompleteLifecycleActionType, callback?: (err: AWSError, data: AutoScaling.Types.CompleteLifecycleActionAnswer) => void): Request; /** - * Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. + * Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. */ completeLifecycleAction(callback?: (err: AWSError, data: AutoScaling.Types.CompleteLifecycleActionAnswer) => void): Request; /** @@ -360,11 +360,11 @@ declare class AutoScaling extends Service { */ getPredictiveScalingForecast(callback?: (err: AWSError, data: AutoScaling.Types.GetPredictiveScalingForecastAnswer) => void): Request; /** - * Creates or updates a lifecycle hook for the specified Auto Scaling group. A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance launches (before it is put into service) or as the instance terminates (before it is fully terminated). This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state using the RecordLifecycleActionHeartbeat API call. If you finish before the timeout period ends, complete the lifecycle action using the CompleteLifecycleAction API call. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. You can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle hook, you can delete it by calling the DeleteLifecycleHook API. + * Creates or updates a lifecycle hook for the specified Auto Scaling group. A lifecycle hook enables an Auto Scaling group to be aware of events in the Auto Scaling instance lifecycle, and then perform a custom action when the corresponding lifecycle event occurs. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state using the RecordLifecycleActionHeartbeat API call. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. You can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle hook, you can delete it by calling the DeleteLifecycleHook API. */ putLifecycleHook(params: AutoScaling.Types.PutLifecycleHookType, callback?: (err: AWSError, data: AutoScaling.Types.PutLifecycleHookAnswer) => void): Request; /** - * Creates or updates a lifecycle hook for the specified Auto Scaling group. A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance launches (before it is put into service) or as the instance terminates (before it is fully terminated). This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state using the RecordLifecycleActionHeartbeat API call. If you finish before the timeout period ends, complete the lifecycle action using the CompleteLifecycleAction API call. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. You can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle hook, you can delete it by calling the DeleteLifecycleHook API. + * Creates or updates a lifecycle hook for the specified Auto Scaling group. A lifecycle hook enables an Auto Scaling group to be aware of events in the Auto Scaling instance lifecycle, and then perform a custom action when the corresponding lifecycle event occurs. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state using the RecordLifecycleActionHeartbeat API call. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. You can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle hook, you can delete it by calling the DeleteLifecycleHook API. */ putLifecycleHook(callback?: (err: AWSError, data: AutoScaling.Types.PutLifecycleHookAnswer) => void): Request; /** @@ -400,11 +400,11 @@ declare class AutoScaling extends Service { */ putWarmPool(callback?: (err: AWSError, data: AutoScaling.Types.PutWarmPoolAnswer) => void): Request; /** - * Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. + * Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. */ recordLifecycleActionHeartbeat(params: AutoScaling.Types.RecordLifecycleActionHeartbeatType, callback?: (err: AWSError, data: AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer) => void): Request; /** - * Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. + * Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call. For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide. */ recordLifecycleActionHeartbeat(callback?: (err: AWSError, data: AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer) => void): Request; /** @@ -432,11 +432,11 @@ declare class AutoScaling extends Service { */ setInstanceHealth(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** - * Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool. For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails. + * Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool. For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails. */ setInstanceProtection(params: AutoScaling.Types.SetInstanceProtectionQuery, callback?: (err: AWSError, data: AutoScaling.Types.SetInstanceProtectionAnswer) => void): Request; /** - * Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool. For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails. + * Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool. For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails. */ setInstanceProtection(callback?: (err: AWSError, data: AutoScaling.Types.SetInstanceProtectionAnswer) => void): Request; /** @@ -679,7 +679,7 @@ declare namespace AutoScaling { */ HealthCheckType: XmlStringMaxLen32; /** - * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. + * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. */ HealthCheckGracePeriod?: HealthCheckGracePeriod; /** @@ -1018,7 +1018,7 @@ declare namespace AutoScaling { */ HealthCheckType?: XmlStringMaxLen32; /** - * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. During this time, any health check failures for the instance are ignored. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide. Conditional: Required if you are adding an ELB health check. + * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide. Conditional: Required if you are adding an ELB health check. */ HealthCheckGracePeriod?: HealthCheckGracePeriod; /** @@ -1034,7 +1034,7 @@ declare namespace AutoScaling { */ TerminationPolicies?: TerminationPolicies; /** - * Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. + * Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. */ NewInstancesProtectedFromScaleIn?: InstanceProtected; /** @@ -1152,7 +1152,7 @@ declare namespace AutoScaling { } export interface CustomizedMetricSpecification { /** - * The name of the metric. + * The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics. */ MetricName: MetricName; /** @@ -1168,7 +1168,7 @@ declare namespace AutoScaling { */ Statistic: MetricStatistic; /** - * The unit of the metric. + * The unit of the metric. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference. */ Unit?: MetricUnit; } @@ -1200,7 +1200,7 @@ declare namespace AutoScaling { */ AutoScalingGroupName: XmlStringMaxLen255; /** - * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic. + * The Amazon Resource Name (ARN) of the Amazon SNS topic. */ TopicARN: XmlStringMaxLen255; } @@ -2358,7 +2358,7 @@ declare namespace AutoScaling { */ Id: XmlStringMaxLen255; /** - * The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions. For example, to use search expressions, use the SEARCH() function in your metric math expression to combine multiple metrics from Auto Scaling groups that use a specific name prefix. Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both. + * The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions. Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both. */ Expression?: XmlStringMaxLen1023; /** @@ -2370,7 +2370,7 @@ declare namespace AutoScaling { */ Label?: XmlStringMetricLabel; /** - * Indicates whether to return the timestamps and raw data values of this metric. If you use any math expressions, specify True for this value for only the final math expression that the metric specification is based on. You must specify False for ReturnData for all the other metrics and expressions used in the metric specification. If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (True). + * Indicates whether to return the timestamps and raw data values of this metric. If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification. If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (true). */ ReturnData?: ReturnData; } @@ -2407,7 +2407,7 @@ declare namespace AutoScaling { */ Stat: XmlStringMetricStat; /** - * The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference. + * The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference. */ Unit?: MetricUnit; } @@ -2447,7 +2447,7 @@ declare namespace AutoScaling { */ AutoScalingGroupName?: XmlStringMaxLen255; /** - * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic. + * The Amazon Resource Name (ARN) of the Amazon SNS topic. */ TopicARN?: XmlStringMaxLen255; /** @@ -2667,7 +2667,7 @@ declare namespace AutoScaling { */ AutoScalingGroupName: XmlStringMaxLen255; /** - * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic. + * The Amazon Resource Name (ARN) of the Amazon SNS topic. */ TopicARN: XmlStringMaxLen255; /** @@ -2721,7 +2721,7 @@ declare namespace AutoScaling { */ EstimatedInstanceWarmup?: EstimatedInstanceWarmup; /** - * A target tracking scaling policy. Provides support for predefined or customized metrics. The following predefined metrics are available: ASGAverageCPUUtilization ASGAverageNetworkIn ASGAverageNetworkOut ALBRequestCountPerTarget If you specify ALBRequestCountPerTarget for the metric, you must specify the ResourceLabel parameter with the PredefinedMetricSpecification. For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API Reference. Required if the policy type is TargetTrackingScaling. + * A target tracking scaling policy. Provides support for predefined or custom metrics. The following predefined metrics are available: ASGAverageCPUUtilization ASGAverageNetworkIn ASGAverageNetworkOut ALBRequestCountPerTarget If you specify ALBRequestCountPerTarget for the metric, you must specify the ResourceLabel parameter with the PredefinedMetricSpecification. For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API Reference. Required if the policy type is TargetTrackingScaling. */ TargetTrackingConfiguration?: TargetTrackingConfiguration; /** @@ -2729,7 +2729,7 @@ declare namespace AutoScaling { */ Enabled?: ScalingPolicyEnabled; /** - * A predictive scaling policy. Provides support for only predefined metrics. Predictive scaling works with CPU utilization, network in/out, and the Application Load Balancer request count. For more information, see PredictiveScalingConfiguration in the Amazon EC2 Auto Scaling API Reference. Required if the policy type is PredictiveScaling. + * A predictive scaling policy. Provides support for predefined and custom metrics. Predefined metrics include CPU utilization, network in/out, and the Application Load Balancer request count. For more information, see PredictiveScalingConfiguration in the Amazon EC2 Auto Scaling API Reference. Required if the policy type is PredictiveScaling. */ PredictiveScalingConfiguration?: PredictiveScalingConfiguration; } @@ -3254,7 +3254,7 @@ declare namespace AutoScaling { */ HealthCheckType?: XmlStringMaxLen32; /** - * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide. Conditional: Required if you are adding an ELB health check. + * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service and marking it unhealthy due to a failed health check. The default value is 0. For more information, see Health check grace period in the Amazon EC2 Auto Scaling User Guide. Conditional: Required if you are adding an ELB health check. */ HealthCheckGracePeriod?: HealthCheckGracePeriod; /** @@ -3270,7 +3270,7 @@ declare namespace AutoScaling { */ TerminationPolicies?: TerminationPolicies; /** - * Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. + * Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide. */ NewInstancesProtectedFromScaleIn?: InstanceProtected; /** diff --git a/clients/ec2.d.ts b/clients/ec2.d.ts index 2a6d398e3d..cf6b1ce5dc 100644 --- a/clients/ec2.d.ts +++ b/clients/ec2.d.ts @@ -253,11 +253,11 @@ declare class EC2 extends Service { */ authorizeClientVpnIngress(callback?: (err: AWSError, data: EC2.Types.AuthorizeClientVpnIngressResult) => void): Request; /** - * [VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC. An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR address ranges, or to the instances that are associated with the specified destination security groups. You specify a protocol for each rule (for example, TCP). For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 for the type or code to mean all types or all codes. Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur. For information about VPC security group quotas, see Amazon VPC quotas. + * [VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC. An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR address ranges, or to the instances that are associated with the specified source security groups. You specify a protocol for each rule (for example, TCP). For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 for the type or code to mean all types or all codes. Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur. For information about VPC security group quotas, see Amazon VPC quotas. */ authorizeSecurityGroupEgress(params: EC2.Types.AuthorizeSecurityGroupEgressRequest, callback?: (err: AWSError, data: EC2.Types.AuthorizeSecurityGroupEgressResult) => void): Request; /** - * [VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC. An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR address ranges, or to the instances that are associated with the specified destination security groups. You specify a protocol for each rule (for example, TCP). For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 for the type or code to mean all types or all codes. Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur. For information about VPC security group quotas, see Amazon VPC quotas. + * [VPC only] Adds the specified outbound (egress) rules to a security group for use with a VPC. An outbound rule permits instances to send traffic to the specified IPv4 or IPv6 CIDR address ranges, or to the instances that are associated with the specified source security groups. You specify a protocol for each rule (for example, TCP). For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 for the type or code to mean all types or all codes. Rule changes are propagated to affected instances as quickly as possible. However, a small delay might occur. For information about VPC security group quotas, see Amazon VPC quotas. */ authorizeSecurityGroupEgress(callback?: (err: AWSError, data: EC2.Types.AuthorizeSecurityGroupEgressResult) => void): Request; /** @@ -8157,6 +8157,9 @@ declare namespace EC2 { * The ID of a VPC peering connection. */ VpcPeeringConnectionId?: VpcPeeringConnectionId; + /** + * The Amazon Resource Name (ARN) of the core network. + */ CoreNetworkArn?: CoreNetworkArn; } export interface CreateRouteResult { @@ -9888,7 +9891,7 @@ declare namespace EC2 { */ Resources: ResourceIdList; /** - * The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string. If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete Amazon Web Services-generated tags (tags that have the aws: prefix). + * The tags to delete. Specify a tag key and an optional tag value to delete specific tags. If you specify a tag key without a tag value, we delete any tag with this key regardless of its value. If you specify a tag key with an empty string as the tag value, we delete the tag only if its value is an empty string. If you omit this parameter, we delete all user-defined tags for the specified resources. We do not delete Amazon Web Services-generated tags (tags that have the aws: prefix). Constraints: Up to 1000 tags. */ Tags?: TagList; } @@ -24747,6 +24750,9 @@ declare namespace EC2 { * The ID of a VPC peering connection. */ VpcPeeringConnectionId?: VpcPeeringConnectionId; + /** + * The Amazon Resource Name (ARN) of the core network. + */ CoreNetworkArn?: CoreNetworkArn; } export interface ReplaceRouteTableAssociationRequest { @@ -25948,6 +25954,9 @@ declare namespace EC2 { * The ID of a VPC peering connection. */ VpcPeeringConnectionId?: String; + /** + * The Amazon Resource Name (ARN) of the core network. + */ CoreNetworkArn?: CoreNetworkArn; } export type RouteGatewayId = string; diff --git a/clients/iotdeviceadvisor.d.ts b/clients/iotdeviceadvisor.d.ts index 1f76a5cf21..b673658a71 100644 --- a/clients/iotdeviceadvisor.d.ts +++ b/clients/iotdeviceadvisor.d.ts @@ -28,11 +28,11 @@ declare class IotDeviceAdvisor extends Service { */ deleteSuiteDefinition(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.DeleteSuiteDefinitionResponse) => void): Request; /** - * + * Gets information about an Device Advisor endpoint. */ getEndpoint(params: IotDeviceAdvisor.Types.GetEndpointRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.GetEndpointResponse) => void): Request; /** - * + * Gets information about an Device Advisor endpoint. */ getEndpoint(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.GetEndpointResponse) => void): Request; /** @@ -68,11 +68,11 @@ declare class IotDeviceAdvisor extends Service { */ listSuiteDefinitions(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListSuiteDefinitionsResponse) => void): Request; /** - * Lists the runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs of a specific version of the test suite. Requires permission to access the ListSuiteRuns action. + * Lists runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs of a specific version of the test suite. Requires permission to access the ListSuiteRuns action. */ listSuiteRuns(params: IotDeviceAdvisor.Types.ListSuiteRunsRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListSuiteRunsResponse) => void): Request; /** - * Lists the runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs of a specific version of the test suite. Requires permission to access the ListSuiteRuns action. + * Lists runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs of a specific version of the test suite. Requires permission to access the ListSuiteRuns action. */ listSuiteRuns(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListSuiteRunsResponse) => void): Request; /** @@ -177,10 +177,19 @@ declare namespace IotDeviceAdvisor { export type ErrorReason = string; export type Failure = string; export interface GetEndpointRequest { + /** + * The thing ARN of the device. This is an optional parameter. + */ thingArn?: AmazonResourceName; + /** + * The certificate ARN of the device. This is an optional parameter. + */ certificateArn?: AmazonResourceName; } export interface GetEndpointResponse { + /** + * The response of an Device Advisor endpoint. + */ endpoint?: Endpoint; } export interface GetSuiteDefinitionRequest { @@ -279,7 +288,7 @@ declare namespace IotDeviceAdvisor { */ testResult?: TestResult; /** - * Date (in Unix epoch time) when the test suite run was started. + * Date (in Unix epoch time) when the test suite run started. */ startTime?: Timestamp; /** @@ -447,7 +456,7 @@ declare namespace IotDeviceAdvisor { */ rootGroup?: RootGroup; /** - * Gets device permission ARN. + * Gets the device permission ARN. */ devicePermissionRoleArn?: AmazonResourceName; } @@ -461,7 +470,7 @@ declare namespace IotDeviceAdvisor { */ suiteDefinitionName?: SuiteDefinitionName; /** - * Specifies the devices under test for the test suite. + * Specifies the devices that are under test for the test suite. */ defaultDevices?: DeviceUnderTestList; /** @@ -485,6 +494,9 @@ declare namespace IotDeviceAdvisor { * Gets test case list. */ selectedTestList?: SelectedTestList; + /** + * TRUE if multiple test suites run in parallel. + */ parallelRun?: ParallelRun; } export interface SuiteRunInformation { @@ -549,19 +561,19 @@ declare namespace IotDeviceAdvisor { export type TestCaseDefinitionName = string; export interface TestCaseRun { /** - * Provides test case run ID. + * Provides the test case run ID. */ testCaseRunId?: UUID; /** - * Provides test case run definition ID. + * Provides the test case run definition ID. */ testCaseDefinitionId?: UUID; /** - * Provides test case run definition Name. + * Provides the test case run definition name. */ testCaseDefinitionName?: TestCaseDefinitionName; /** - * Provides test case run status. PASS: Test passed. FAIL: Test failed. PENDING: Test has not started running but is scheduled. RUNNING: Test is running STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run. STOPPED Test is stopped. You will see this status only if you stop a suite run. PASS_WITH_WARNINGS: Test passed with warnings. ERORR: Test faced an error when running due to an internal issue. + * Provides the test case run status. Status is one of the following: PASS: Test passed. FAIL: Test failed. PENDING: Test has not started running but is scheduled. RUNNING: Test is running. STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite run. STOPPED Test is stopped. You will see this status only if you stop a suite run. PASS_WITH_WARNINGS: Test passed with warnings. ERORR: Test faced an error when running due to an internal issue. */ status?: Status; /** @@ -573,7 +585,7 @@ declare namespace IotDeviceAdvisor { */ endTime?: Timestamp; /** - * Provides test case run log Url. + * Provides test case run log URL. */ logUrl?: LogUrl; /** diff --git a/clients/mgn.d.ts b/clients/mgn.d.ts index 3003a89529..fe76da150a 100644 --- a/clients/mgn.d.ts +++ b/clients/mgn.d.ts @@ -51,6 +51,14 @@ declare class Mgn extends Service { * Deletes a single source server by ID. */ deleteSourceServer(callback?: (err: AWSError, data: Mgn.Types.DeleteSourceServerResponse) => void): Request; + /** + * Deletes a single vCenter client by ID. + */ + deleteVcenterClient(params: Mgn.Types.DeleteVcenterClientRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; + /** + * Deletes a single vCenter client by ID. + */ + deleteVcenterClient(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>; /** * Retrieves detailed Job log with paging. */ @@ -83,6 +91,14 @@ declare class Mgn extends Service { * Retrieves all SourceServers or multiple SourceServers by ID. */ describeSourceServers(callback?: (err: AWSError, data: Mgn.Types.DescribeSourceServersResponse) => void): Request; + /** + * Lists all vCenter clients. + */ + describeVcenterClients(params: Mgn.Types.DescribeVcenterClientsRequest, callback?: (err: AWSError, data: Mgn.Types.DescribeVcenterClientsResponse) => void): Request; + /** + * Lists all vCenter clients. + */ + describeVcenterClients(callback?: (err: AWSError, data: Mgn.Types.DescribeVcenterClientsResponse) => void): Request; /** * Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communciating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified. */ @@ -155,6 +171,14 @@ declare class Mgn extends Service { * Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER. */ startCutover(callback?: (err: AWSError, data: Mgn.Types.StartCutoverResponse) => void): Request; + /** + * Starts replication on source server by ID. + */ + startReplication(params: Mgn.Types.StartReplicationRequest, callback?: (err: AWSError, data: Mgn.Types.SourceServer) => void): Request; + /** + * Starts replication on source server by ID. + */ + startReplication(callback?: (err: AWSError, data: Mgn.Types.SourceServer) => void): Request; /** * Lauches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING. */ @@ -211,6 +235,14 @@ declare class Mgn extends Service { * Updates multiple ReplicationConfigurationTemplates by ID. */ updateReplicationConfigurationTemplate(callback?: (err: AWSError, data: Mgn.Types.ReplicationConfigurationTemplate) => void): Request; + /** + * Updates source server Replication Type by ID. + */ + updateSourceServerReplicationType(params: Mgn.Types.UpdateSourceServerReplicationTypeRequest, callback?: (err: AWSError, data: Mgn.Types.SourceServer) => void): Request; + /** + * Updates source server Replication Type by ID. + */ + updateSourceServerReplicationType(callback?: (err: AWSError, data: Mgn.Types.SourceServer) => void): Request; } declare namespace Mgn { export type ARN = string; @@ -308,7 +340,7 @@ declare namespace Mgn { */ rawError?: LargeBoundedString; } - export type DataReplicationErrorString = "AGENT_NOT_SEEN"|"SNAPSHOTS_FAILURE"|"NOT_CONVERGING"|"UNSTABLE_NETWORK"|"FAILED_TO_CREATE_SECURITY_GROUP"|"FAILED_TO_LAUNCH_REPLICATION_SERVER"|"FAILED_TO_BOOT_REPLICATION_SERVER"|"FAILED_TO_AUTHENTICATE_WITH_SERVICE"|"FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE"|"FAILED_TO_CREATE_STAGING_DISKS"|"FAILED_TO_ATTACH_STAGING_DISKS"|"FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT"|"FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER"|"FAILED_TO_START_DATA_TRANSFER"|string; + export type DataReplicationErrorString = "AGENT_NOT_SEEN"|"SNAPSHOTS_FAILURE"|"NOT_CONVERGING"|"UNSTABLE_NETWORK"|"FAILED_TO_CREATE_SECURITY_GROUP"|"FAILED_TO_LAUNCH_REPLICATION_SERVER"|"FAILED_TO_BOOT_REPLICATION_SERVER"|"FAILED_TO_AUTHENTICATE_WITH_SERVICE"|"FAILED_TO_DOWNLOAD_REPLICATION_SOFTWARE"|"FAILED_TO_CREATE_STAGING_DISKS"|"FAILED_TO_ATTACH_STAGING_DISKS"|"FAILED_TO_PAIR_REPLICATION_SERVER_WITH_AGENT"|"FAILED_TO_CONNECT_AGENT_TO_REPLICATION_SERVER"|"FAILED_TO_START_DATA_TRANSFER"|"UNSUPPORTED_VM_CONFIGURATION"|"LAST_SNAPSHOT_JOB_FAILED"|string; export interface DataReplicationInfo { /** * Error in obtaining data replication info. @@ -330,6 +362,10 @@ declare namespace Mgn { * Request to query data replication lag durating. */ lagDuration?: ISO8601DatetimeString; + /** + * Request to query data replication last snapshot time. + */ + lastSnapshotDateTime?: ISO8601DatetimeString; /** * Request to query disks replicated. */ @@ -385,7 +421,7 @@ declare namespace Mgn { export type DataReplicationInitiationStepName = "WAIT"|"CREATE_SECURITY_GROUP"|"LAUNCH_REPLICATION_SERVER"|"BOOT_REPLICATION_SERVER"|"AUTHENTICATE_WITH_SERVICE"|"DOWNLOAD_REPLICATION_SOFTWARE"|"CREATE_STAGING_DISKS"|"ATTACH_STAGING_DISKS"|"PAIR_REPLICATION_SERVER_WITH_AGENT"|"CONNECT_AGENT_TO_REPLICATION_SERVER"|"START_DATA_TRANSFER"|string; export type DataReplicationInitiationStepStatus = "NOT_STARTED"|"IN_PROGRESS"|"SUCCEEDED"|"FAILED"|"SKIPPED"|string; export type DataReplicationInitiationSteps = DataReplicationInitiationStep[]; - export type DataReplicationState = "STOPPED"|"INITIATING"|"INITIAL_SYNC"|"BACKLOG"|"CREATING_SNAPSHOT"|"CONTINUOUS"|"PAUSED"|"RESCAN"|"STALLED"|"DISCONNECTED"|string; + export type DataReplicationState = "STOPPED"|"INITIATING"|"INITIAL_SYNC"|"BACKLOG"|"CREATING_SNAPSHOT"|"CONTINUOUS"|"PAUSED"|"RESCAN"|"STALLED"|"DISCONNECTED"|"PENDING_SNAPSHOT_SHIPPING"|"SHIPPING_SNAPSHOT"|string; export interface DeleteJobRequest { /** * Request to delete Job from service by Job ID. @@ -410,6 +446,12 @@ declare namespace Mgn { } export interface DeleteSourceServerResponse { } + export interface DeleteVcenterClientRequest { + /** + * ID of resource to be deleted. + */ + vcenterClientID: VcenterClientID; + } export interface DescribeJobLogItemsRequest { /** * Request to describe Job log job ID. @@ -516,6 +558,14 @@ declare namespace Mgn { * Request to filter Source Servers list by archived. */ isArchived?: Boolean; + /** + * Request to filter Source Servers list by life cycle states. + */ + lifeCycleStates?: LifeCycleStates; + /** + * Request to filter Source Servers list by replication type. + */ + replicationTypes?: ReplicationTypes; /** * Request to filter Source Servers list by Source Server ID. */ @@ -532,6 +582,26 @@ declare namespace Mgn { */ nextToken?: PaginationToken; } + export interface DescribeVcenterClientsRequest { + /** + * Maximum results to be returned in DescribeVcenterClients. + */ + maxResults?: StrictlyPositiveInteger; + /** + * Next pagination token to be provided for DescribeVcenterClients. + */ + nextToken?: PaginationToken; + } + export interface DescribeVcenterClientsResponse { + /** + * List of items returned by DescribeVcenterClients. + */ + items?: VcenterClientList; + /** + * Next pagination token returned from DescribeVcenterClients. + */ + nextToken?: PaginationToken; + } export interface DisconnectFromServiceRequest { /** * Request to disconnect Source Server from service by Server ID. @@ -585,6 +655,10 @@ declare namespace Mgn { * Hostname identification hint. */ hostname?: BoundedString; + /** + * vCenter VM path identification hint. + */ + vmPath?: BoundedString; /** * vmWare UUID identification hint. */ @@ -830,7 +904,8 @@ declare namespace Mgn { */ apiCallDateTime?: ISO8601DatetimeString; } - export type LifeCycleState = "STOPPED"|"NOT_READY"|"READY_FOR_TEST"|"TESTING"|"READY_FOR_CUTOVER"|"CUTTING_OVER"|"CUTOVER"|"DISCONNECTED"|string; + export type LifeCycleState = "STOPPED"|"NOT_READY"|"READY_FOR_TEST"|"TESTING"|"READY_FOR_CUTOVER"|"CUTTING_OVER"|"CUTOVER"|"DISCONNECTED"|"DISCOVERED"|string; + export type LifeCycleStates = LifeCycleState[]; export interface ListTagsForResourceRequest { /** * List tags for resource request by ARN. @@ -1034,6 +1109,8 @@ declare namespace Mgn { export type ReplicationConfigurationTemplateIDs = ReplicationConfigurationTemplateID[]; export type ReplicationConfigurationTemplates = ReplicationConfigurationTemplate[]; export type ReplicationServersSecurityGroupsIDs = SecurityGroupID[]; + export type ReplicationType = "AGENT_BASED"|"SNAPSHOT_SHIPPING"|string; + export type ReplicationTypes = ReplicationType[]; export interface RetryDataReplicationRequest { /** * Retry data replication for Source Server ID. @@ -1097,6 +1174,10 @@ declare namespace Mgn { * Source server lifecycle state. */ lifeCycle?: LifeCycle; + /** + * Source server replication type. + */ + replicationType?: ReplicationType; /** * Source server properties. */ @@ -1109,6 +1190,10 @@ declare namespace Mgn { * Source server Tags. */ tags?: TagsMap; + /** + * Source server vCenter client id. + */ + vcenterClientID?: VcenterClientID; } export type SourceServerID = string; export type SourceServersList = SourceServer[]; @@ -1129,6 +1214,12 @@ declare namespace Mgn { */ job?: Job; } + export interface StartReplicationRequest { + /** + * ID of source server on which to start replication. + */ + sourceServerID: SourceServerID; + } export interface StartTestRequest { /** * Start Test for Source Server IDs. @@ -1340,6 +1431,52 @@ declare namespace Mgn { */ useDedicatedReplicationServer?: Boolean; } + export interface UpdateSourceServerReplicationTypeRequest { + /** + * Replication type to which to update source server. + */ + replicationType: ReplicationType; + /** + * ID of source server on which to update replication type. + */ + sourceServerID: SourceServerID; + } + export interface VcenterClient { + /** + * Arn of vCenter client. + */ + arn?: ARN; + /** + * Datacenter name of vCenter client. + */ + datacenterName?: BoundedString; + /** + * Hostname of vCenter client . + */ + hostname?: BoundedString; + /** + * Last seen time of vCenter client. + */ + lastSeenDatetime?: ISO8601DatetimeString; + /** + * Tags for Source Server of vCenter client. + */ + sourceServerTags?: TagsMap; + /** + * Tags for vCenter client. + */ + tags?: TagsMap; + /** + * ID of vCenter client. + */ + vcenterClientID?: VcenterClientID; + /** + * Vcenter UUID of vCenter client. + */ + vcenterUUID?: BoundedString; + } + export type VcenterClientID = string; + export type VcenterClientList = VcenterClient[]; /** * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version. */ diff --git a/clients/outposts.d.ts b/clients/outposts.d.ts index ca165c6698..0bd4751896 100644 --- a/clients/outposts.d.ts +++ b/clients/outposts.d.ts @@ -11,6 +11,14 @@ declare class Outposts extends Service { */ constructor(options?: Outposts.Types.ClientConfiguration) config: Config & Outposts.Types.ClientConfiguration; + /** + * Cancels an order for an Outpost. + */ + cancelOrder(params: Outposts.Types.CancelOrderInput, callback?: (err: AWSError, data: Outposts.Types.CancelOrderOutput) => void): Request; + /** + * Cancels an order for an Outpost. + */ + cancelOrder(callback?: (err: AWSError, data: Outposts.Types.CancelOrderOutput) => void): Request; /** * Creates an order for an Outpost. */ @@ -27,6 +35,14 @@ declare class Outposts extends Service { * Creates an Outpost. You can specify AvailabilityZone or AvailabilityZoneId. */ createOutpost(callback?: (err: AWSError, data: Outposts.Types.CreateOutpostOutput) => void): Request; + /** + * Creates a site for an Outpost. + */ + createSite(params: Outposts.Types.CreateSiteInput, callback?: (err: AWSError, data: Outposts.Types.CreateSiteOutput) => void): Request; + /** + * Creates a site for an Outpost. + */ + createSite(callback?: (err: AWSError, data: Outposts.Types.CreateSiteOutput) => void): Request; /** * Deletes the Outpost. */ @@ -43,6 +59,22 @@ declare class Outposts extends Service { * Deletes the site. */ deleteSite(callback?: (err: AWSError, data: Outposts.Types.DeleteSiteOutput) => void): Request; + /** + * Gets information about a catalog item. + */ + getCatalogItem(params: Outposts.Types.GetCatalogItemInput, callback?: (err: AWSError, data: Outposts.Types.GetCatalogItemOutput) => void): Request; + /** + * Gets information about a catalog item. + */ + getCatalogItem(callback?: (err: AWSError, data: Outposts.Types.GetCatalogItemOutput) => void): Request; + /** + * Gets an order. + */ + getOrder(params: Outposts.Types.GetOrderInput, callback?: (err: AWSError, data: Outposts.Types.GetOrderOutput) => void): Request; + /** + * Gets an order. + */ + getOrder(callback?: (err: AWSError, data: Outposts.Types.GetOrderOutput) => void): Request; /** * Gets information about the specified Outpost. */ @@ -60,19 +92,51 @@ declare class Outposts extends Service { */ getOutpostInstanceTypes(callback?: (err: AWSError, data: Outposts.Types.GetOutpostInstanceTypesOutput) => void): Request; /** - * Create a list of the Outposts for your AWS account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availibility Zone (us-east-1a), and AZ ID (use1-az1). If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters. + * Gets information about the specified Outpost site. + */ + getSite(params: Outposts.Types.GetSiteInput, callback?: (err: AWSError, data: Outposts.Types.GetSiteOutput) => void): Request; + /** + * Gets information about the specified Outpost site. + */ + getSite(callback?: (err: AWSError, data: Outposts.Types.GetSiteOutput) => void): Request; + /** + * Gets the site address. + */ + getSiteAddress(params: Outposts.Types.GetSiteAddressInput, callback?: (err: AWSError, data: Outposts.Types.GetSiteAddressOutput) => void): Request; + /** + * Gets the site address. + */ + getSiteAddress(callback?: (err: AWSError, data: Outposts.Types.GetSiteAddressOutput) => void): Request; + /** + * Use to create a list of every item in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family. If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters. + */ + listCatalogItems(params: Outposts.Types.ListCatalogItemsInput, callback?: (err: AWSError, data: Outposts.Types.ListCatalogItemsOutput) => void): Request; + /** + * Use to create a list of every item in the catalog. Add filters to your request to return a more specific list of results. Use filters to match an item class, storage option, or EC2 family. If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters. + */ + listCatalogItems(callback?: (err: AWSError, data: Outposts.Types.ListCatalogItemsOutput) => void): Request; + /** + * Create a list of the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results. + */ + listOrders(params: Outposts.Types.ListOrdersInput, callback?: (err: AWSError, data: Outposts.Types.ListOrdersOutput) => void): Request; + /** + * Create a list of the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to return a more specific list of results. + */ + listOrders(callback?: (err: AWSError, data: Outposts.Types.ListOrdersOutput) => void): Request; + /** + * Create a list of the Outposts for your Amazon Web Services account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availability Zone (us-east-1a), and AZ ID (use1-az1). If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters. */ listOutposts(params: Outposts.Types.ListOutpostsInput, callback?: (err: AWSError, data: Outposts.Types.ListOutpostsOutput) => void): Request; /** - * Create a list of the Outposts for your AWS account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availibility Zone (us-east-1a), and AZ ID (use1-az1). If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters. + * Create a list of the Outposts for your Amazon Web Services account. Add filters to your request to return a more specific list of results. Use filters to match an Outpost lifecycle status, Availability Zone (us-east-1a), and AZ ID (use1-az1). If you specify multiple filters, the filters are joined with an AND, and the request returns only results that match all of the specified filters. */ listOutposts(callback?: (err: AWSError, data: Outposts.Types.ListOutpostsOutput) => void): Request; /** - * Lists the sites for the specified AWS account. + * Lists the sites for your Amazon Web Services account. */ listSites(params: Outposts.Types.ListSitesInput, callback?: (err: AWSError, data: Outposts.Types.ListSitesOutput) => void): Request; /** - * Lists the sites for the specified AWS account. + * Lists the sites for your Amazon Web Services account. */ listSites(callback?: (err: AWSError, data: Outposts.Types.ListSitesOutput) => void): Request; /** @@ -99,14 +163,136 @@ declare class Outposts extends Service { * Removes tags from the specified resource. */ untagResource(callback?: (err: AWSError, data: Outposts.Types.UntagResourceResponse) => void): Request; + /** + * Updates the site. + */ + updateSite(params: Outposts.Types.UpdateSiteInput, callback?: (err: AWSError, data: Outposts.Types.UpdateSiteOutput) => void): Request; + /** + * Updates the site. + */ + updateSite(callback?: (err: AWSError, data: Outposts.Types.UpdateSiteOutput) => void): Request; + /** + * Updates the site address. To update a site address with an order IN_PROGRESS, you must wait for the order to complete or cancel the order. You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated. + */ + updateSiteAddress(params: Outposts.Types.UpdateSiteAddressInput, callback?: (err: AWSError, data: Outposts.Types.UpdateSiteAddressOutput) => void): Request; + /** + * Updates the site address. To update a site address with an order IN_PROGRESS, you must wait for the order to complete or cancel the order. You can update the operating address before you place an order at the site, or after all Outposts that belong to the site have been deactivated. + */ + updateSiteAddress(callback?: (err: AWSError, data: Outposts.Types.UpdateSiteAddressOutput) => void): Request; + /** + * Update the physical and logistical details for a rack at a site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide. To update a rack at a site with an order of IN_PROGRESS, you must wait for the order to complete or cancel the order. + */ + updateSiteRackPhysicalProperties(params: Outposts.Types.UpdateSiteRackPhysicalPropertiesInput, callback?: (err: AWSError, data: Outposts.Types.UpdateSiteRackPhysicalPropertiesOutput) => void): Request; + /** + * Update the physical and logistical details for a rack at a site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide. To update a rack at a site with an order of IN_PROGRESS, you must wait for the order to complete or cancel the order. + */ + updateSiteRackPhysicalProperties(callback?: (err: AWSError, data: Outposts.Types.UpdateSiteRackPhysicalPropertiesOutput) => void): Request; } declare namespace Outposts { export type AccountId = string; + export interface Address { + /** + * The name of the contact. + */ + ContactName?: ContactName; + /** + * The phone number of the contact. + */ + ContactPhoneNumber?: ContactPhoneNumber; + /** + * The first line of the address. + */ + AddressLine1: AddressLine1; + /** + * The second line of the address. + */ + AddressLine2?: AddressLine2; + /** + * The third line of the address. + */ + AddressLine3?: AddressLine3; + /** + * The city for the address. + */ + City: City; + /** + * The state for the address. + */ + StateOrRegion: StateOrRegion; + /** + * The district or county for the address. + */ + DistrictOrCounty?: DistrictOrCounty; + /** + * The postal code for the address. + */ + PostalCode: PostalCode; + /** + * The ISO-3166 two-letter country code for the address. + */ + CountryCode: CountryCode; + /** + * The municipality for the address. + */ + Municipality?: Municipality; + } + export type AddressLine1 = string; + export type AddressLine2 = string; + export type AddressLine3 = string; + export type AddressType = "SHIPPING_ADDRESS"|"OPERATING_ADDRESS"|string; export type Arn = string; export type AvailabilityZone = string; export type AvailabilityZoneId = string; export type AvailabilityZoneIdList = AvailabilityZoneId[]; export type AvailabilityZoneList = AvailabilityZone[]; + export interface CancelOrderInput { + /** + * The ID of the order to cancel. + */ + OrderId: OrderId; + } + export interface CancelOrderOutput { + } + export interface CatalogItem { + /** + * The ID of the catalog item. + */ + CatalogItemId?: SkuCode; + /** + * The status of a catalog item. + */ + ItemStatus?: CatalogItemStatus; + /** + * Information about the EC2 capacity of an item. + */ + EC2Capacities?: EC2CapacityListDefinition; + /** + * Information about the power draw of an item. + */ + PowerKva?: CatalogItemPowerKva; + /** + * The weight of the item in pounds. + */ + WeightLbs?: CatalogItemWeightLbs; + /** + * The uplink speed this catalog item requires for the connection to the Region. + */ + SupportedUplinkGbps?: SupportedUplinkGbpsListDefinition; + /** + * The supported storage options for the catalog item. + */ + SupportedStorage?: SupportedStorageList; + } + export type CatalogItemClass = "RACK"|"SERVER"|string; + export type CatalogItemClassList = CatalogItemClass[]; + export type CatalogItemListDefinition = CatalogItem[]; + export type CatalogItemPowerKva = number; + export type CatalogItemStatus = "AVAILABLE"|"DISCONTINUED"|string; + export type CatalogItemWeightLbs = number; + export type City = string; + export type ContactName = string; + export type ContactPhoneNumber = string; + export type CountryCode = string; export interface CreateOrderInput { /** * The ID or the Amazon Resource Name (ARN) of the Outpost. @@ -145,6 +331,33 @@ declare namespace Outposts { export interface CreateOutpostOutput { Outpost?: Outpost; } + export interface CreateSiteInput { + Name: SiteName; + Description?: SiteDescription; + /** + * Additional information that you provide about site access requirements, electrician scheduling, personal protective equipment, or regulation of equipment materials that could affect your installation process. + */ + Notes?: SiteNotes; + /** + * The tags to apply to a site. + */ + Tags?: TagMap; + /** + * The location to install and power on the hardware. This address might be different from the shipping address. + */ + OperatingAddress?: Address; + /** + * The location to ship the hardware. This address might be different from the operating address. + */ + ShippingAddress?: Address; + /** + * Information about the physical and logistical details for the rack at this site. For more information about hardware requirements for racks, see Network readiness checklist in the Amazon Web Services Outposts User Guide. + */ + RackPhysicalProperties?: RackPhysicalProperties; + } + export interface CreateSiteOutput { + Site?: Site; + } export interface DeleteOutpostInput { /** * The ID of the Outpost. @@ -158,6 +371,46 @@ declare namespace Outposts { } export interface DeleteSiteOutput { } + export type DistrictOrCounty = string; + export interface EC2Capacity { + /** + * The family of the EC2 capacity. + */ + Family?: Family; + /** + * The maximum size of the EC2 capacity. + */ + MaxSize?: MaxSize; + /** + * The quantity of the EC2 capacity. + */ + Quantity?: Quantity; + } + export type EC2CapacityListDefinition = EC2Capacity[]; + export type EC2FamilyList = Family[]; + export type Family = string; + export type FiberOpticCableType = "SINGLE_MODE"|"MULTI_MODE"|string; + export interface GetCatalogItemInput { + /** + * The ID of the catalog item. + */ + CatalogItemId: SkuCode; + } + export interface GetCatalogItemOutput { + /** + * Information about this catalog item. + */ + CatalogItem?: CatalogItem; + } + export interface GetOrderInput { + /** + * The ID of the order. + */ + OrderId: OrderId; + } + export interface GetOrderOutput { + Order?: Order; + } export interface GetOutpostInput { /** * The ID of the Outpost. @@ -184,6 +437,30 @@ declare namespace Outposts { export interface GetOutpostOutput { Outpost?: Outpost; } + export interface GetSiteAddressInput { + SiteId: SiteId; + /** + * The type of the address you request. + */ + AddressType: AddressType; + } + export interface GetSiteAddressOutput { + SiteId?: SiteId; + /** + * The type of the address you receive. + */ + AddressType?: AddressType; + /** + * Information about the address. + */ + Address?: Address; + } + export interface GetSiteInput { + SiteId: SiteId; + } + export interface GetSiteOutput { + Site?: Site; + } export type ISO8601Timestamp = Date; export type InstanceType = string; export interface InstanceTypeItem { @@ -208,7 +485,7 @@ declare namespace Outposts { /** * The status of the line item. */ - Status?: Status; + Status?: LineItemStatus; } export type LineItemId = string; export type LineItemListDefinition = LineItem[]; @@ -224,19 +501,59 @@ declare namespace Outposts { Quantity?: LineItemQuantity; } export type LineItemRequestListDefinition = LineItemRequest[]; + export type LineItemStatus = "PREPARING"|"BUILDING"|"SHIPPED"|"DELIVERED"|"INSTALLING"|"INSTALLED"|"ERROR"|"CANCELLED"|string; + export type LineItemStatusCounts = {[key: string]: LineItemQuantity}; + export interface ListCatalogItemsInput { + NextToken?: Token; + MaxResults?: MaxResults1000; + /** + * A filter for the class of items in the catalog. Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. + */ + ItemClassFilter?: CatalogItemClassList; + /** + * A filter for the storage options of items in the catalog. Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. + */ + SupportedStorageFilter?: SupportedStorageList; + /** + * A filter for EC2 family options for items in the catalog. Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. + */ + EC2FamilyFilter?: EC2FamilyList; + } + export interface ListCatalogItemsOutput { + /** + * Information about the catalog items. + */ + CatalogItems?: CatalogItemListDefinition; + NextToken?: Token; + } + export interface ListOrdersInput { + /** + * The ID or the Amazon Resource Name (ARN) of the Outpost. + */ + OutpostIdentifierFilter?: OutpostIdentifier; + NextToken?: Token; + MaxResults?: MaxResults1000; + } + export interface ListOrdersOutput { + /** + * Information about the orders. + */ + Orders?: OrderSummaryListDefinition; + NextToken?: Token; + } export interface ListOutpostsInput { NextToken?: Token; MaxResults?: MaxResults1000; /** - * A filter for the lifecycle status of the Outpost. Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. + * A filter for the lifecycle status of the Outpost. Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. */ LifeCycleStatusFilter?: LifeCycleStatusList; /** - * A filter for the Availibility Zone (us-east-1a) of the Outpost. Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. + * A filter for the Availability Zone (us-east-1a) of the Outpost. Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. */ AvailabilityZoneFilter?: AvailabilityZoneList; /** - * A filter for the AZ IDs (use1-az1) of the Outpost. Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. + * A filter for the AZ IDs (use1-az1) of the Outpost. Filter values are case sensitive. If you specify multiple values for a filter, the values are joined with an OR, and the request returns all results that match any of the specified values. */ AvailabilityZoneIdFilter?: AvailabilityZoneIdList; } @@ -265,9 +582,13 @@ declare namespace Outposts { Tags?: TagMap; } export type MaxResults1000 = number; + export type MaxSize = string; + export type MaximumSupportedWeightLbs = "NO_LIMIT"|"MAX_1400_LBS"|"MAX_1600_LBS"|"MAX_1800_LBS"|"MAX_2000_LBS"|string; + export type Municipality = string; + export type OpticalStandard = "OPTIC_10GBASE_SR"|"OPTIC_10GBASE_IR"|"OPTIC_10GBASE_LR"|"OPTIC_40GBASE_SR"|"OPTIC_40GBASE_ESR"|"OPTIC_40GBASE_IR4_LR4L"|"OPTIC_40GBASE_LR4"|"OPTIC_100GBASE_SR4"|"OPTIC_100GBASE_CWDM4"|"OPTIC_100GBASE_LR4"|"OPTIC_100G_PSM4_MSA"|"OPTIC_1000BASE_LX"|"OPTIC_1000BASE_SX"|string; export interface Order { /** - * The ID of the Outpost. + * The ID of the Outpost in the order. */ OutpostId?: OutpostIdOnly; /** @@ -275,7 +596,7 @@ declare namespace Outposts { */ OrderId?: OrderId; /** - * The status of the order + * The status of the order. PREPARING - Order is received and being prepared. IN_PROGRESS - Order is either being built, shipped, or installed. To get more details, see the LineItem status. COMPLETED - Order is complete. CANCELLED - Order is cancelled. ERROR - Customer should contact support. The following status are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED. */ Status?: OrderStatus; /** @@ -296,7 +617,39 @@ declare namespace Outposts { OrderFulfilledDate?: ISO8601Timestamp; } export type OrderId = string; - export type OrderStatus = "RECEIVED"|"PENDING"|"PROCESSING"|"INSTALLING"|"FULFILLED"|"CANCELLED"|string; + export type OrderStatus = "RECEIVED"|"PENDING"|"PROCESSING"|"INSTALLING"|"FULFILLED"|"CANCELLED"|"PREPARING"|"IN_PROGRESS"|"COMPLETED"|"ERROR"|string; + export interface OrderSummary { + /** + * The ID of the Outpost. + */ + OutpostId?: OutpostIdOnly; + /** + * The ID of the order. + */ + OrderId?: OrderId; + /** + * The type of order. + */ + OrderType?: OrderType; + /** + * The status of the order. PREPARING - Order is received and is being prepared. IN_PROGRESS - Order is either being built, shipped, or installed. For more information, see the LineItem status. COMPLETED - Order is complete. CANCELLED - Order is cancelled. ERROR - Customer should contact support. The following statuses are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED. + */ + Status?: OrderStatus; + /** + * The status of all line items in the order. + */ + LineItemCountsByStatus?: LineItemStatusCounts; + /** + * Submission date for the order. + */ + OrderSubmissionDate?: ISO8601Timestamp; + /** + * Fulfilment date for the order. + */ + OrderFulfilledDate?: ISO8601Timestamp; + } + export type OrderSummaryListDefinition = OrderSummary[]; + export type OrderType = "OUTPOST"|"REPLACEMENT"|string; export interface Outpost { /** * The ID of the Outpost. @@ -325,6 +678,50 @@ declare namespace Outposts { export type OwnerId = string; export type PaymentOption = "ALL_UPFRONT"|"NO_UPFRONT"|"PARTIAL_UPFRONT"|string; export type PaymentTerm = "THREE_YEARS"|string; + export type PostalCode = string; + export type PowerConnector = "L6_30P"|"IEC309"|"AH530P7W"|"AH532P6W"|string; + export type PowerDrawKva = "POWER_5_KVA"|"POWER_10_KVA"|"POWER_15_KVA"|string; + export type PowerFeedDrop = "ABOVE_RACK"|"BELOW_RACK"|string; + export type PowerPhase = "SINGLE_PHASE"|"THREE_PHASE"|string; + export type Quantity = string; + export interface RackPhysicalProperties { + /** + * The power draw available at the hardware placement position for the rack. + */ + PowerDrawKva?: PowerDrawKva; + /** + * The power option that you can provide for hardware. + */ + PowerPhase?: PowerPhase; + /** + * The power connector for the hardware. + */ + PowerConnector?: PowerConnector; + /** + * The position of the power feed. + */ + PowerFeedDrop?: PowerFeedDrop; + /** + * The uplink speed the rack supports for the connection to the Region. + */ + UplinkGbps?: UplinkGbps; + /** + * The number of uplinks each Outpost network device. + */ + UplinkCount?: UplinkCount; + /** + * The type of fiber used to attach the Outpost to the network. + */ + FiberOpticCableType?: FiberOpticCableType; + /** + * The type of optical standard used to attach the Outpost to the network. This field is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide. + */ + OpticalStandard?: OpticalStandard; + /** + * The maximum rack weight that this site can support. NO_LIMIT is over 2000 lbs (907 kg). + */ + MaximumSupportedWeightLbs?: MaximumSupportedWeightLbs; + } export interface Site { SiteId?: SiteId; AccountId?: AccountId; @@ -335,13 +732,38 @@ declare namespace Outposts { */ Tags?: TagMap; SiteArn?: SiteArn; + /** + * Notes about a site. + */ + Notes?: SiteNotes; + /** + * The ISO-3166 two-letter country code where the hardware is installed and powered on. + */ + OperatingAddressCountryCode?: CountryCode; + /** + * State or region where the hardware is installed and powered on. + */ + OperatingAddressStateOrRegion?: StateOrRegion; + /** + * City where the hardware is installed and powered on. + */ + OperatingAddressCity?: City; + /** + * Information about the physical and logistical details for a rack at the site. + */ + RackPhysicalProperties?: RackPhysicalProperties; } export type SiteArn = string; export type SiteDescription = string; export type SiteId = string; export type SiteName = string; + export type SiteNotes = string; export type SkuCode = string; - export type Status = string; + export type StateOrRegion = string; + export type SupportedStorageEnum = "EBS"|"S3"|string; + export type SupportedStorageList = SupportedStorageEnum[]; + export type SupportedUplinkGbps = number; + export type SupportedUplinkGbpsListDefinition = SupportedUplinkGbps[]; export type TagKey = string; export type TagKeyList = TagKey[]; export type TagMap = {[key: string]: TagValue}; @@ -371,6 +793,83 @@ declare namespace Outposts { } export interface UntagResourceResponse { } + export interface UpdateSiteAddressInput { + SiteId: SiteId; + /** + * The type of the address. + */ + AddressType: AddressType; + /** + * The address for the site. + */ + Address: Address; + } + export interface UpdateSiteAddressOutput { + /** + * The type of the address. + */ + AddressType?: AddressType; + /** + * Information about an address. + */ + Address?: Address; + } + export interface UpdateSiteInput { + SiteId: SiteId; + Name?: SiteName; + Description?: SiteDescription; + /** + * Notes about a site. + */ + Notes?: SiteNotes; + } + export interface UpdateSiteOutput { + Site?: Site; + } + export interface UpdateSiteRackPhysicalPropertiesInput { + SiteId: SiteId; + /** + * Specify in kVA the power draw available at the hardware placement position for the rack. + */ + PowerDrawKva?: PowerDrawKva; + /** + * Specify the power option that you can provide for hardware. Single-phase AC feed: 200 V to 277 V, 50 Hz or 60 Hz Three-phase AC feed: 346 V to 480 V, 50 Hz or 60 Hz + */ + PowerPhase?: PowerPhase; + /** + * Specify the power connector that Amazon Web Services should plan to provide for connections to the hardware. Note the correlation between PowerPhase and PowerConnector. Single-phase AC feed L6-30P – (common in US); 30A; single phase IEC309 (blue) – P+N+E, 6hr; 32 A; single phase Three-phase AC feed AH530P7W (red) – 3P+N+E, 7hr; 30A; three phase AH532P6W (red) – 3P+N+E, 6hr; 32A; three phase + */ + PowerConnector?: PowerConnector; + /** + * Specify whether the power feed comes above or below the rack. + */ + PowerFeedDrop?: PowerFeedDrop; + /** + * Specify the uplink speed the rack should support for the connection to the Region. + */ + UplinkGbps?: UplinkGbps; + /** + * Racks come with two Outpost network devices. Depending on the supported uplink speed at the site, the Outpost network devices provide a variable number of uplinks. Specify the number of uplinks for each Outpost network device that you intend to use to connect the rack to your network. Note the correlation between UplinkGbps and UplinkCount. 1Gbps - Uplinks available: 1, 2, 4, 6, 8 10Gbps - Uplinks available: 1, 2, 4, 8, 12, 16 40 and 100 Gbps- Uplinks available: 1, 2, 4 + */ + UplinkCount?: UplinkCount; + /** + * Specify the type of fiber that you will use to attach the Outpost to your network. + */ + FiberOpticCableType?: FiberOpticCableType; + /** + * Specify the type of optical standard that you will use to attach the Outpost to your network. This field is dependent on uplink speed, fiber type, and distance to the upstream device. For more information about networking requirements for racks, see Network in the Amazon Web Services Outposts User Guide. OPTIC_10GBASE_SR: 10GBASE-SR OPTIC_10GBASE_IR: 10GBASE-IR OPTIC_10GBASE_LR: 10GBASE-LR OPTIC_40GBASE_SR: 40GBASE-SR OPTIC_40GBASE_ESR: 40GBASE-ESR OPTIC_40GBASE_IR4_LR4L: 40GBASE-IR (LR4L) OPTIC_40GBASE_LR4: 40GBASE-LR4 OPTIC_100GBASE_SR4: 100GBASE-SR4 OPTIC_100GBASE_CWDM4: 100GBASE-CWDM4 OPTIC_100GBASE_LR4: 100GBASE-LR4 OPTIC_100G_PSM4_MSA: 100G PSM4 MSA OPTIC_1000BASE_LX: 1000Base-LX OPTIC_1000BASE_SX : 1000Base-SX + */ + OpticalStandard?: OpticalStandard; + /** + * Specify the maximum rack weight that this site can support. NO_LIMIT is over 2000lbs. + */ + MaximumSupportedWeightLbs?: MaximumSupportedWeightLbs; + } + export interface UpdateSiteRackPhysicalPropertiesOutput { + Site?: Site; + } + export type UplinkCount = "UPLINK_COUNT_1"|"UPLINK_COUNT_2"|"UPLINK_COUNT_3"|"UPLINK_COUNT_4"|"UPLINK_COUNT_5"|"UPLINK_COUNT_6"|"UPLINK_COUNT_7"|"UPLINK_COUNT_8"|"UPLINK_COUNT_12"|"UPLINK_COUNT_16"|string; + export type UplinkGbps = "UPLINK_1G"|"UPLINK_10G"|"UPLINK_40G"|"UPLINK_100G"|string; export type outpostListDefinition = Outpost[]; export type siteListDefinition = Site[]; /** diff --git a/clients/pinpoint.d.ts b/clients/pinpoint.d.ts index c0468f76c3..1c9e2cbd7a 100644 --- a/clients/pinpoint.d.ts +++ b/clients/pinpoint.d.ts @@ -731,6 +731,14 @@ declare class Pinpoint extends Service { * Creates and sends a direct message. */ sendMessages(callback?: (err: AWSError, data: Pinpoint.Types.SendMessagesResponse) => void): Request; + /** + * Send an OTP message + */ + sendOTPMessage(params: Pinpoint.Types.SendOTPMessageRequest, callback?: (err: AWSError, data: Pinpoint.Types.SendOTPMessageResponse) => void): Request; + /** + * Send an OTP message + */ + sendOTPMessage(callback?: (err: AWSError, data: Pinpoint.Types.SendOTPMessageResponse) => void): Request; /** * Creates and sends a message to a list of users. */ @@ -947,6 +955,14 @@ declare class Pinpoint extends Service { * Updates an existing message template for messages that are sent through the voice channel. */ updateVoiceTemplate(callback?: (err: AWSError, data: Pinpoint.Types.UpdateVoiceTemplateResponse) => void): Request; + /** + * Verify an OTP + */ + verifyOTPMessage(params: Pinpoint.Types.VerifyOTPMessageRequest, callback?: (err: AWSError, data: Pinpoint.Types.VerifyOTPMessageResponse) => void): Request; + /** + * Verify an OTP + */ + verifyOTPMessage(callback?: (err: AWSError, data: Pinpoint.Types.VerifyOTPMessageResponse) => void): Request; } declare namespace Pinpoint { export interface ADMChannelRequest { @@ -6154,6 +6170,62 @@ declare namespace Pinpoint { export interface SendMessagesResponse { MessageResponse: MessageResponse; } + export interface SendOTPMessageRequest { + /** + * The unique ID of your Amazon Pinpoint application. + */ + ApplicationId: __string; + SendOTPMessageRequestParameters: SendOTPMessageRequestParameters; + } + export interface SendOTPMessageRequestParameters { + /** + * The attempts allowed to validate an OTP. + */ + AllowedAttempts?: __integer; + /** + * The brand name that will be substituted into the OTP message body. Should be owned by calling AWS account. + */ + BrandName: __string; + /** + * Channel type for the OTP message. Supported values: [SMS]. + */ + Channel: __string; + /** + * The number of characters in the generated OTP. + */ + CodeLength?: __integer; + /** + * The destination identity to send OTP to. + */ + DestinationIdentity: __string; + /** + * A unique Entity ID received from DLT after entity registration is approved. + */ + EntityId?: __string; + /** + * The language to be used for the outgoing message body containing the OTP. + */ + Language?: __string; + /** + * The origination identity used to send OTP from. + */ + OriginationIdentity: __string; + /** + * Developer-specified reference identifier. Required to match during OTP verification. + */ + ReferenceId: __string; + /** + * A unique Template ID received from DLT after entity registration is approved. + */ + TemplateId?: __string; + /** + * The time in minutes before the OTP is no longer valid. + */ + ValidityPeriod?: __integer; + } + export interface SendOTPMessageResponse { + MessageResponse: MessageResponse; + } export interface SendUsersMessageRequest { /** * A map of custom attribute-value pairs. For a push notification, Amazon Pinpoint adds these attributes to the data.pinpoint object in the body of the notification payload. Amazon Pinpoint also provides these attributes in the events that it generates for users-messages deliveries. @@ -6834,6 +6906,36 @@ declare namespace Pinpoint { export interface UpdateVoiceTemplateResponse { MessageBody: MessageBody; } + export interface VerificationResponse { + /** + * Specifies whether the OTP is valid or not. + */ + Valid?: __boolean; + } + export interface VerifyOTPMessageRequest { + /** + * The unique ID of your Amazon Pinpoint application. + */ + ApplicationId: __string; + VerifyOTPMessageRequestParameters: VerifyOTPMessageRequestParameters; + } + export interface VerifyOTPMessageRequestParameters { + /** + * The destination identity to send OTP to. + */ + DestinationIdentity: __string; + /** + * The OTP the end user provided for verification. + */ + Otp: __string; + /** + * The reference identifier provided when the OTP was previously sent. + */ + ReferenceId: __string; + } + export interface VerifyOTPMessageResponse { + VerificationResponse: VerificationResponse; + } export interface VoiceChannelRequest { /** * Specifies whether to enable the voice channel for the application. diff --git a/dist/aws-sdk-core-react-native.js b/dist/aws-sdk-core-react-native.js index 32422fb89b..b1bf6aaab7 100644 --- a/dist/aws-sdk-core-react-native.js +++ b/dist/aws-sdk-core-react-native.js @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1036.0', + VERSION: '2.1037.0', /** * @api private diff --git a/dist/aws-sdk-react-native.js b/dist/aws-sdk-react-native.js index 8422e48124..8a07e6df81 100644 --- a/dist/aws-sdk-react-native.js +++ b/dist/aws-sdk-react-native.js @@ -395,7 +395,7 @@ return /******/ (function(modules) { // webpackBootstrap /** * @constant */ - VERSION: '2.1036.0', + VERSION: '2.1037.0', /** * @api private @@ -36104,7 +36104,7 @@ return /******/ (function(modules) { // webpackBootstrap /* 317 */ /***/ (function(module, exports) { - module.exports = {"metadata":{"apiVersion":"2016-12-01","endpointPrefix":"pinpoint","signingName":"mobiletargeting","serviceFullName":"Amazon Pinpoint","serviceId":"Pinpoint","protocol":"rest-json","jsonVersion":"1.1","uid":"pinpoint-2016-12-01","signatureVersion":"v4"},"operations":{"CreateApp":{"http":{"requestUri":"/v1/apps","responseCode":201},"input":{"type":"structure","members":{"CreateApplicationRequest":{"type":"structure","members":{"Name":{},"tags":{"shape":"S4","locationName":"tags"}},"required":["Name"]}},"required":["CreateApplicationRequest"],"payload":"CreateApplicationRequest"},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"CreateCampaign":{"http":{"requestUri":"/v1/apps/{application-id}/campaigns","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteCampaignRequest":{"shape":"S8"}},"required":["ApplicationId","WriteCampaignRequest"],"payload":"WriteCampaignRequest"},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"CreateEmailTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/email","responseCode":201},"input":{"type":"structure","members":{"EmailTemplateRequest":{"shape":"S1p"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","EmailTemplateRequest"],"payload":"EmailTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateExportJob":{"http":{"requestUri":"/v1/apps/{application-id}/jobs/export","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"ExportJobRequest":{"type":"structure","members":{"RoleArn":{},"S3UrlPrefix":{},"SegmentId":{},"SegmentVersion":{"type":"integer"}},"required":["S3UrlPrefix","RoleArn"]}},"required":["ApplicationId","ExportJobRequest"],"payload":"ExportJobRequest"},"output":{"type":"structure","members":{"ExportJobResponse":{"shape":"S1v"}},"required":["ExportJobResponse"],"payload":"ExportJobResponse"}},"CreateImportJob":{"http":{"requestUri":"/v1/apps/{application-id}/jobs/import","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"ImportJobRequest":{"type":"structure","members":{"DefineSegment":{"type":"boolean"},"ExternalId":{},"Format":{},"RegisterEndpoints":{"type":"boolean"},"RoleArn":{},"S3Url":{},"SegmentId":{},"SegmentName":{}},"required":["Format","S3Url","RoleArn"]}},"required":["ApplicationId","ImportJobRequest"],"payload":"ImportJobRequest"},"output":{"type":"structure","members":{"ImportJobResponse":{"shape":"S22"}},"required":["ImportJobResponse"],"payload":"ImportJobResponse"}},"CreateInAppTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/inapp","responseCode":201},"input":{"type":"structure","members":{"InAppTemplateRequest":{"shape":"S25"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","InAppTemplateRequest"],"payload":"InAppTemplateRequest"},"output":{"type":"structure","members":{"TemplateCreateMessageBody":{"type":"structure","members":{"Arn":{},"Message":{},"RequestID":{}}}},"required":["TemplateCreateMessageBody"],"payload":"TemplateCreateMessageBody"}},"CreateJourney":{"http":{"requestUri":"/v1/apps/{application-id}/journeys","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteJourneyRequest":{"shape":"S29"}},"required":["ApplicationId","WriteJourneyRequest"],"payload":"WriteJourneyRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"CreatePushTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/push","responseCode":201},"input":{"type":"structure","members":{"PushNotificationTemplateRequest":{"shape":"S3l"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","PushNotificationTemplateRequest"],"payload":"PushNotificationTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateRecommenderConfiguration":{"http":{"requestUri":"/v1/recommenders","responseCode":201},"input":{"type":"structure","members":{"CreateRecommenderConfiguration":{"type":"structure","members":{"Attributes":{"shape":"S4"},"Description":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","RecommendationProviderRoleArn"]}},"required":["CreateRecommenderConfiguration"],"payload":"CreateRecommenderConfiguration"},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"CreateSegment":{"http":{"requestUri":"/v1/apps/{application-id}/segments","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteSegmentRequest":{"shape":"S3v"}},"required":["ApplicationId","WriteSegmentRequest"],"payload":"WriteSegmentRequest"},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"CreateSmsTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/sms","responseCode":201},"input":{"type":"structure","members":{"SMSTemplateRequest":{"shape":"S4b"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","SMSTemplateRequest"],"payload":"SMSTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateVoiceTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/voice","responseCode":201},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"VoiceTemplateRequest":{"shape":"S4e"}},"required":["TemplateName","VoiceTemplateRequest"],"payload":"VoiceTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"DeleteAdmChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"DeleteApnsChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"DeleteApnsSandboxChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"DeleteApnsVoipChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"DeleteApnsVoipSandboxChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"DeleteApp":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"DeleteBaiduChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"DeleteCampaign":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"}},"required":["CampaignId","ApplicationId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"DeleteEmailChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"DeleteEmailTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/email","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteEndpoint":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"EndpointResponse":{"shape":"S5a"}},"required":["EndpointResponse"],"payload":"EndpointResponse"}},"DeleteEventStream":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"DeleteGcmChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"DeleteInAppTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/inapp","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteJourney":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"}},"required":["JourneyId","ApplicationId"]},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"DeletePushTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/push","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteRecommenderConfiguration":{"http":{"method":"DELETE","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"}},"required":["RecommenderId"]},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"DeleteSegment":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"DeleteSmsChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"DeleteSmsTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/sms","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteUserEndpoints":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/users/{user-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"UserId":{"location":"uri","locationName":"user-id"}},"required":["ApplicationId","UserId"]},"output":{"type":"structure","members":{"EndpointsResponse":{"shape":"S64"}},"required":["EndpointsResponse"],"payload":"EndpointsResponse"}},"DeleteVoiceChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"DeleteVoiceTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/voice","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"GetAdmChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"GetApnsChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"GetApnsSandboxChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"GetApnsVoipChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"GetApnsVoipSandboxChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"GetApp":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"GetApplicationDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["ApplicationId","KpiName"]},"output":{"type":"structure","members":{"ApplicationDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"EndTime":{"shape":"S3c"},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","EndTime","StartTime","ApplicationId"]}},"required":["ApplicationDateRangeKpiResponse"],"payload":"ApplicationDateRangeKpiResponse"}},"GetApplicationSettings":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/settings","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationSettingsResource":{"shape":"S6x"}},"required":["ApplicationSettingsResource"],"payload":"ApplicationSettingsResource"}},"GetApps":{"http":{"method":"GET","requestUri":"/v1/apps","responseCode":200},"input":{"type":"structure","members":{"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}}},"output":{"type":"structure","members":{"ApplicationsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S6"}},"NextToken":{}}}},"required":["ApplicationsResponse"],"payload":"ApplicationsResponse"}},"GetBaiduChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"GetCampaign":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"}},"required":["CampaignId","ApplicationId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"GetCampaignActivities":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/activities","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"ActivitiesResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"CampaignId":{},"End":{},"Id":{},"Result":{},"ScheduledStart":{},"Start":{},"State":{},"SuccessfulEndpointCount":{"type":"integer"},"TimezonesCompletedCount":{"type":"integer"},"TimezonesTotalCount":{"type":"integer"},"TotalEndpointCount":{"type":"integer"},"TreatmentId":{}},"required":["CampaignId","Id","ApplicationId"]}},"NextToken":{}},"required":["Item"]}},"required":["ActivitiesResponse"],"payload":"ActivitiesResponse"}},"GetCampaignDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["ApplicationId","KpiName","CampaignId"]},"output":{"type":"structure","members":{"CampaignDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"CampaignId":{},"EndTime":{"shape":"S3c"},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","EndTime","CampaignId","StartTime","ApplicationId"]}},"required":["CampaignDateRangeKpiResponse"],"payload":"CampaignDateRangeKpiResponse"}},"GetCampaignVersion":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"Version":{"location":"uri","locationName":"version"}},"required":["Version","ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"GetCampaignVersions":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/versions","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"CampaignsResponse":{"shape":"S7i"}},"required":["CampaignsResponse"],"payload":"CampaignsResponse"}},"GetCampaigns":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"CampaignsResponse":{"shape":"S7i"}},"required":["CampaignsResponse"],"payload":"CampaignsResponse"}},"GetChannels":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ChannelsResponse":{"type":"structure","members":{"Channels":{"type":"map","key":{},"value":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Version":{"type":"integer"}}}}},"required":["Channels"]}},"required":["ChannelsResponse"],"payload":"ChannelsResponse"}},"GetEmailChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"GetEmailTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/email","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"EmailTemplateResponse":{"type":"structure","members":{"Arn":{},"CreationDate":{},"DefaultSubstitutions":{},"HtmlPart":{},"LastModifiedDate":{},"RecommenderId":{},"Subject":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"TextPart":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["EmailTemplateResponse"],"payload":"EmailTemplateResponse"}},"GetEndpoint":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"EndpointResponse":{"shape":"S5a"}},"required":["EndpointResponse"],"payload":"EndpointResponse"}},"GetEventStream":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"GetExportJob":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/export/{job-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JobId":{"location":"uri","locationName":"job-id"}},"required":["ApplicationId","JobId"]},"output":{"type":"structure","members":{"ExportJobResponse":{"shape":"S1v"}},"required":["ExportJobResponse"],"payload":"ExportJobResponse"}},"GetExportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/export","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ExportJobsResponse":{"shape":"S85"}},"required":["ExportJobsResponse"],"payload":"ExportJobsResponse"}},"GetGcmChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"GetImportJob":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/import/{job-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JobId":{"location":"uri","locationName":"job-id"}},"required":["ApplicationId","JobId"]},"output":{"type":"structure","members":{"ImportJobResponse":{"shape":"S22"}},"required":["ImportJobResponse"],"payload":"ImportJobResponse"}},"GetImportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/import","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ImportJobsResponse":{"shape":"S8d"}},"required":["ImportJobsResponse"],"payload":"ImportJobsResponse"}},"GetInAppMessages":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}/inappmessages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"InAppMessagesResponse":{"type":"structure","members":{"InAppMessageCampaigns":{"type":"list","member":{"type":"structure","members":{"CampaignId":{},"DailyCap":{"type":"integer"},"InAppMessage":{"type":"structure","members":{"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{}}},"Priority":{"type":"integer"},"Schedule":{"type":"structure","members":{"EndDate":{},"EventFilter":{"shape":"Sz"},"QuietTime":{"shape":"S1c"}}},"SessionCap":{"type":"integer"},"TotalCap":{"type":"integer"},"TreatmentId":{}}}}}}},"required":["InAppMessagesResponse"],"payload":"InAppMessagesResponse"}},"GetInAppTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/inapp","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"InAppTemplateResponse":{"type":"structure","members":{"Arn":{},"Content":{"shape":"So"},"CreationDate":{},"CustomConfig":{"shape":"S4"},"LastModifiedDate":{},"Layout":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["InAppTemplateResponse"],"payload":"InAppTemplateResponse"}},"GetJourney":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"}},"required":["JourneyId","ApplicationId"]},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"GetJourneyDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"JourneyId":{"location":"uri","locationName":"journey-id"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["JourneyId","ApplicationId","KpiName"]},"output":{"type":"structure","members":{"JourneyDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"EndTime":{"shape":"S3c"},"JourneyId":{},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","JourneyId","EndTime","StartTime","ApplicationId"]}},"required":["JourneyDateRangeKpiResponse"],"payload":"JourneyDateRangeKpiResponse"}},"GetJourneyExecutionActivityMetrics":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/activities/{journey-activity-id}/execution-metrics","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyActivityId":{"location":"uri","locationName":"journey-activity-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"}},"required":["JourneyActivityId","ApplicationId","JourneyId"]},"output":{"type":"structure","members":{"JourneyExecutionActivityMetricsResponse":{"type":"structure","members":{"ActivityType":{},"ApplicationId":{},"JourneyActivityId":{},"JourneyId":{},"LastEvaluatedTime":{},"Metrics":{"shape":"S4"}},"required":["Metrics","JourneyId","LastEvaluatedTime","JourneyActivityId","ActivityType","ApplicationId"]}},"required":["JourneyExecutionActivityMetricsResponse"],"payload":"JourneyExecutionActivityMetricsResponse"}},"GetJourneyExecutionMetrics":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/execution-metrics","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"}},"required":["ApplicationId","JourneyId"]},"output":{"type":"structure","members":{"JourneyExecutionMetricsResponse":{"type":"structure","members":{"ApplicationId":{},"JourneyId":{},"LastEvaluatedTime":{},"Metrics":{"shape":"S4"}},"required":["Metrics","JourneyId","LastEvaluatedTime","ApplicationId"]}},"required":["JourneyExecutionMetricsResponse"],"payload":"JourneyExecutionMetricsResponse"}},"GetPushTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/push","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"PushNotificationTemplateResponse":{"type":"structure","members":{"ADM":{"shape":"S3m"},"APNS":{"shape":"S3n"},"Arn":{},"Baidu":{"shape":"S3m"},"CreationDate":{},"Default":{"shape":"S3o"},"DefaultSubstitutions":{},"GCM":{"shape":"S3m"},"LastModifiedDate":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateType","TemplateName"]}},"required":["PushNotificationTemplateResponse"],"payload":"PushNotificationTemplateResponse"}},"GetRecommenderConfiguration":{"http":{"method":"GET","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"}},"required":["RecommenderId"]},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"GetRecommenderConfigurations":{"http":{"method":"GET","requestUri":"/v1/recommenders","responseCode":200},"input":{"type":"structure","members":{"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}}},"output":{"type":"structure","members":{"ListRecommenderConfigurationsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S3t"}},"NextToken":{}},"required":["Item"]}},"required":["ListRecommenderConfigurationsResponse"],"payload":"ListRecommenderConfigurationsResponse"}},"GetSegment":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"GetSegmentExportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/jobs/export","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"ExportJobsResponse":{"shape":"S85"}},"required":["ExportJobsResponse"],"payload":"ExportJobsResponse"}},"GetSegmentImportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/jobs/import","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"ImportJobsResponse":{"shape":"S8d"}},"required":["ImportJobsResponse"],"payload":"ImportJobsResponse"}},"GetSegmentVersion":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/versions/{version}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Version":{"location":"uri","locationName":"version"}},"required":["SegmentId","Version","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"GetSegmentVersions":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/versions","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentsResponse":{"shape":"S9j"}},"required":["SegmentsResponse"],"payload":"SegmentsResponse"}},"GetSegments":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SegmentsResponse":{"shape":"S9j"}},"required":["SegmentsResponse"],"payload":"SegmentsResponse"}},"GetSmsChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"GetSmsTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/sms","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"SMSTemplateResponse":{"type":"structure","members":{"Arn":{},"Body":{},"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["SMSTemplateResponse"],"payload":"SMSTemplateResponse"}},"GetUserEndpoints":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/users/{user-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"UserId":{"location":"uri","locationName":"user-id"}},"required":["ApplicationId","UserId"]},"output":{"type":"structure","members":{"EndpointsResponse":{"shape":"S64"}},"required":["EndpointsResponse"],"payload":"EndpointsResponse"}},"GetVoiceChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"GetVoiceTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/voice","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"VoiceTemplateResponse":{"type":"structure","members":{"Arn":{},"Body":{},"CreationDate":{},"DefaultSubstitutions":{},"LanguageCode":{},"LastModifiedDate":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{},"VoiceId":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["VoiceTemplateResponse"],"payload":"VoiceTemplateResponse"}},"ListJourneys":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"JourneysResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S3i"}},"NextToken":{}},"required":["Item"]}},"required":["JourneysResponse"],"payload":"JourneysResponse"}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/v1/tags/{resource-arn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"TagsModel":{"shape":"Sa5"}},"required":["TagsModel"],"payload":"TagsModel"}},"ListTemplateVersions":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/{template-type}/versions","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"TemplateName":{"location":"uri","locationName":"template-name"},"TemplateType":{"location":"uri","locationName":"template-type"}},"required":["TemplateName","TemplateType"]},"output":{"type":"structure","members":{"TemplateVersionsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"Message":{},"NextToken":{},"RequestID":{}},"required":["Item"]}},"required":["TemplateVersionsResponse"],"payload":"TemplateVersionsResponse"}},"ListTemplates":{"http":{"method":"GET","requestUri":"/v1/templates","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"Prefix":{"location":"querystring","locationName":"prefix"},"TemplateType":{"location":"querystring","locationName":"template-type"}}},"output":{"type":"structure","members":{"TemplatesResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"NextToken":{}},"required":["Item"]}},"required":["TemplatesResponse"],"payload":"TemplatesResponse"}},"PhoneNumberValidate":{"http":{"requestUri":"/v1/phone/number/validate","responseCode":200},"input":{"type":"structure","members":{"NumberValidateRequest":{"type":"structure","members":{"IsoCountryCode":{},"PhoneNumber":{}}}},"required":["NumberValidateRequest"],"payload":"NumberValidateRequest"},"output":{"type":"structure","members":{"NumberValidateResponse":{"type":"structure","members":{"Carrier":{},"City":{},"CleansedPhoneNumberE164":{},"CleansedPhoneNumberNational":{},"Country":{},"CountryCodeIso2":{},"CountryCodeNumeric":{},"County":{},"OriginalCountryCodeIso2":{},"OriginalPhoneNumber":{},"PhoneType":{},"PhoneTypeCode":{"type":"integer"},"Timezone":{},"ZipCode":{}}}},"required":["NumberValidateResponse"],"payload":"NumberValidateResponse"}},"PutEventStream":{"http":{"requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteEventStream":{"type":"structure","members":{"DestinationStreamArn":{},"RoleArn":{}},"required":["RoleArn","DestinationStreamArn"]}},"required":["ApplicationId","WriteEventStream"],"payload":"WriteEventStream"},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"PutEvents":{"http":{"requestUri":"/v1/apps/{application-id}/events","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EventsRequest":{"type":"structure","members":{"BatchItem":{"type":"map","key":{},"value":{"type":"structure","members":{"Endpoint":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}},"Events":{"type":"map","key":{},"value":{"type":"structure","members":{"AppPackageName":{},"AppTitle":{},"AppVersionCode":{},"Attributes":{"shape":"S4"},"ClientSdkVersion":{},"EventType":{},"Metrics":{"shape":"S5f"},"SdkName":{},"Session":{"type":"structure","members":{"Duration":{"type":"integer"},"Id":{},"StartTimestamp":{},"StopTimestamp":{}},"required":["StartTimestamp","Id"]},"Timestamp":{}},"required":["EventType","Timestamp"]}}},"required":["Endpoint","Events"]}}},"required":["BatchItem"]}},"required":["ApplicationId","EventsRequest"],"payload":"EventsRequest"},"output":{"type":"structure","members":{"EventsResponse":{"type":"structure","members":{"Results":{"type":"map","key":{},"value":{"type":"structure","members":{"EndpointItemResponse":{"type":"structure","members":{"Message":{},"StatusCode":{"type":"integer"}}},"EventsItemResponse":{"type":"map","key":{},"value":{"type":"structure","members":{"Message":{},"StatusCode":{"type":"integer"}}}}}}}}}},"required":["EventsResponse"],"payload":"EventsResponse"}},"RemoveAttributes":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/attributes/{attribute-type}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"AttributeType":{"location":"uri","locationName":"attribute-type"},"UpdateAttributesRequest":{"type":"structure","members":{"Blacklist":{"shape":"S14"}}}},"required":["AttributeType","ApplicationId","UpdateAttributesRequest"],"payload":"UpdateAttributesRequest"},"output":{"type":"structure","members":{"AttributesResource":{"type":"structure","members":{"ApplicationId":{},"AttributeType":{},"Attributes":{"shape":"S14"}},"required":["AttributeType","ApplicationId"]}},"required":["AttributesResource"],"payload":"AttributesResource"}},"SendMessages":{"http":{"requestUri":"/v1/apps/{application-id}/messages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"MessageRequest":{"type":"structure","members":{"Addresses":{"type":"map","key":{},"value":{"type":"structure","members":{"BodyOverride":{},"ChannelType":{},"Context":{"shape":"S4"},"RawContent":{},"Substitutions":{"shape":"S5b"},"TitleOverride":{}}}},"Context":{"shape":"S4"},"Endpoints":{"shape":"Sba"},"MessageConfiguration":{"shape":"Sbc"},"TemplateConfiguration":{"shape":"S1d"},"TraceId":{}},"required":["MessageConfiguration"]}},"required":["ApplicationId","MessageRequest"],"payload":"MessageRequest"},"output":{"type":"structure","members":{"MessageResponse":{"type":"structure","members":{"ApplicationId":{},"EndpointResult":{"shape":"Sbs"},"RequestId":{},"Result":{"type":"map","key":{},"value":{"type":"structure","members":{"DeliveryStatus":{},"MessageId":{},"StatusCode":{"type":"integer"},"StatusMessage":{},"UpdatedToken":{}},"required":["DeliveryStatus","StatusCode"]}}},"required":["ApplicationId"]}},"required":["MessageResponse"],"payload":"MessageResponse"}},"SendUsersMessages":{"http":{"requestUri":"/v1/apps/{application-id}/users-messages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SendUsersMessageRequest":{"type":"structure","members":{"Context":{"shape":"S4"},"MessageConfiguration":{"shape":"Sbc"},"TemplateConfiguration":{"shape":"S1d"},"TraceId":{},"Users":{"shape":"Sba"}},"required":["MessageConfiguration","Users"]}},"required":["ApplicationId","SendUsersMessageRequest"],"payload":"SendUsersMessageRequest"},"output":{"type":"structure","members":{"SendUsersMessageResponse":{"type":"structure","members":{"ApplicationId":{},"RequestId":{},"Result":{"type":"map","key":{},"value":{"shape":"Sbs"}}},"required":["ApplicationId"]}},"required":["SendUsersMessageResponse"],"payload":"SendUsersMessageResponse"}},"TagResource":{"http":{"requestUri":"/v1/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagsModel":{"shape":"Sa5"}},"required":["ResourceArn","TagsModel"],"payload":"TagsModel"}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/v1/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"shape":"S14","location":"querystring","locationName":"tagKeys"}},"required":["TagKeys","ResourceArn"]}},"UpdateAdmChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ADMChannelRequest":{"type":"structure","members":{"ClientId":{},"ClientSecret":{},"Enabled":{"type":"boolean"}},"required":["ClientSecret","ClientId"]},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","ADMChannelRequest"],"payload":"ADMChannelRequest"},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"UpdateApnsChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"APNSChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSChannelRequest"],"payload":"APNSChannelRequest"},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"UpdateApnsSandboxChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"APNSSandboxChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSSandboxChannelRequest"],"payload":"APNSSandboxChannelRequest"},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"UpdateApnsVoipChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"APNSVoipChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSVoipChannelRequest"],"payload":"APNSVoipChannelRequest"},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"UpdateApnsVoipSandboxChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"APNSVoipSandboxChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSVoipSandboxChannelRequest"],"payload":"APNSVoipSandboxChannelRequest"},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"UpdateApplicationSettings":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/settings","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteApplicationSettingsRequest":{"type":"structure","members":{"CampaignHook":{"shape":"S1f"},"CloudWatchMetricsEnabled":{"type":"boolean"},"EventTaggingEnabled":{"type":"boolean"},"Limits":{"shape":"S1h"},"QuietTime":{"shape":"S1c"}}}},"required":["ApplicationId","WriteApplicationSettingsRequest"],"payload":"WriteApplicationSettingsRequest"},"output":{"type":"structure","members":{"ApplicationSettingsResource":{"shape":"S6x"}},"required":["ApplicationSettingsResource"],"payload":"ApplicationSettingsResource"}},"UpdateBaiduChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"BaiduChannelRequest":{"type":"structure","members":{"ApiKey":{},"Enabled":{"type":"boolean"},"SecretKey":{}},"required":["SecretKey","ApiKey"]}},"required":["ApplicationId","BaiduChannelRequest"],"payload":"BaiduChannelRequest"},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"UpdateCampaign":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"WriteCampaignRequest":{"shape":"S8"}},"required":["CampaignId","ApplicationId","WriteCampaignRequest"],"payload":"WriteCampaignRequest"},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"UpdateEmailChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EmailChannelRequest":{"type":"structure","members":{"ConfigurationSet":{},"Enabled":{"type":"boolean"},"FromAddress":{},"Identity":{},"RoleArn":{}},"required":["FromAddress","Identity"]}},"required":["ApplicationId","EmailChannelRequest"],"payload":"EmailChannelRequest"},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"UpdateEmailTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/email","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"EmailTemplateRequest":{"shape":"S1p"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","EmailTemplateRequest"],"payload":"EmailTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateEndpoint":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"},"EndpointRequest":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}}},"required":["ApplicationId","EndpointId","EndpointRequest"],"payload":"EndpointRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateEndpointsBatch":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/endpoints","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointBatchRequest":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Id":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}}}},"required":["Item"]}},"required":["ApplicationId","EndpointBatchRequest"],"payload":"EndpointBatchRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateGcmChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"GCMChannelRequest":{"type":"structure","members":{"ApiKey":{},"Enabled":{"type":"boolean"}},"required":["ApiKey"]}},"required":["ApplicationId","GCMChannelRequest"],"payload":"GCMChannelRequest"},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"UpdateInAppTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/inapp","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"InAppTemplateRequest":{"shape":"S25"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","InAppTemplateRequest"],"payload":"InAppTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateJourney":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"WriteJourneyRequest":{"shape":"S29"}},"required":["JourneyId","ApplicationId","WriteJourneyRequest"],"payload":"WriteJourneyRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"UpdateJourneyState":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/state","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"JourneyStateRequest":{"type":"structure","members":{"State":{}}}},"required":["JourneyId","ApplicationId","JourneyStateRequest"],"payload":"JourneyStateRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"UpdatePushTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/push","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"PushNotificationTemplateRequest":{"shape":"S3l"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","PushNotificationTemplateRequest"],"payload":"PushNotificationTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateRecommenderConfiguration":{"http":{"method":"PUT","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"},"UpdateRecommenderConfiguration":{"type":"structure","members":{"Attributes":{"shape":"S4"},"Description":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","RecommendationProviderRoleArn"]}},"required":["RecommenderId","UpdateRecommenderConfiguration"],"payload":"UpdateRecommenderConfiguration"},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"UpdateSegment":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"},"WriteSegmentRequest":{"shape":"S3v"}},"required":["SegmentId","ApplicationId","WriteSegmentRequest"],"payload":"WriteSegmentRequest"},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"UpdateSmsChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SMSChannelRequest":{"type":"structure","members":{"Enabled":{"type":"boolean"},"SenderId":{},"ShortCode":{}}}},"required":["ApplicationId","SMSChannelRequest"],"payload":"SMSChannelRequest"},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"UpdateSmsTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/sms","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"SMSTemplateRequest":{"shape":"S4b"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","SMSTemplateRequest"],"payload":"SMSTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateTemplateActiveVersion":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/{template-type}/active-version","responseCode":200},"input":{"type":"structure","members":{"TemplateActiveVersionRequest":{"type":"structure","members":{"Version":{}}},"TemplateName":{"location":"uri","locationName":"template-name"},"TemplateType":{"location":"uri","locationName":"template-type"}},"required":["TemplateName","TemplateType","TemplateActiveVersionRequest"],"payload":"TemplateActiveVersionRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateVoiceChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"VoiceChannelRequest":{"type":"structure","members":{"Enabled":{"type":"boolean"}}}},"required":["ApplicationId","VoiceChannelRequest"],"payload":"VoiceChannelRequest"},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"UpdateVoiceTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/voice","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"},"VoiceTemplateRequest":{"shape":"S4e"}},"required":["TemplateName","VoiceTemplateRequest"],"payload":"VoiceTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}}},"shapes":{"S4":{"type":"map","key":{},"value":{}},"S6":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"tags":{"shape":"S4","locationName":"tags"}},"required":["Id","Arn","Name"]},"S8":{"type":"structure","members":{"AdditionalTreatments":{"type":"list","member":{"type":"structure","members":{"CustomDeliveryConfiguration":{"shape":"Sb"},"MessageConfiguration":{"shape":"Se"},"Schedule":{"shape":"Sy"},"SizePercent":{"type":"integer"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{}},"required":["SizePercent"]}},"CustomDeliveryConfiguration":{"shape":"Sb"},"Description":{},"HoldoutPercent":{"type":"integer"},"Hook":{"shape":"S1f"},"IsPaused":{"type":"boolean"},"Limits":{"shape":"S1h"},"MessageConfiguration":{"shape":"Se"},"Name":{},"Schedule":{"shape":"Sy"},"SegmentId":{},"SegmentVersion":{"type":"integer"},"tags":{"shape":"S4","locationName":"tags"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{},"Priority":{"type":"integer"}}},"Sb":{"type":"structure","members":{"DeliveryUri":{},"EndpointTypes":{"shape":"Sc"}},"required":["DeliveryUri"]},"Sc":{"type":"list","member":{}},"Se":{"type":"structure","members":{"ADMMessage":{"shape":"Sf"},"APNSMessage":{"shape":"Sf"},"BaiduMessage":{"shape":"Sf"},"CustomMessage":{"type":"structure","members":{"Data":{}}},"DefaultMessage":{"shape":"Sf"},"EmailMessage":{"type":"structure","members":{"Body":{},"FromAddress":{},"HtmlBody":{},"Title":{}}},"GCMMessage":{"shape":"Sf"},"SMSMessage":{"type":"structure","members":{"Body":{},"MessageType":{},"OriginationNumber":{},"SenderId":{},"EntityId":{},"TemplateId":{}}},"InAppMessage":{"type":"structure","members":{"Body":{},"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{}}}}},"Sf":{"type":"structure","members":{"Action":{},"Body":{},"ImageIconUrl":{},"ImageSmallIconUrl":{},"ImageUrl":{},"JsonBody":{},"MediaUrl":{},"RawContent":{},"SilentPush":{"type":"boolean"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"So":{"type":"list","member":{"type":"structure","members":{"BackgroundColor":{},"BodyConfig":{"type":"structure","members":{"Alignment":{},"Body":{},"TextColor":{}},"required":["Alignment","TextColor","Body"]},"HeaderConfig":{"type":"structure","members":{"Alignment":{},"Header":{},"TextColor":{}},"required":["Alignment","Header","TextColor"]},"ImageUrl":{},"PrimaryBtn":{"shape":"St"},"SecondaryBtn":{"shape":"St"}}}},"St":{"type":"structure","members":{"Android":{"shape":"Su"},"DefaultConfig":{"type":"structure","members":{"BackgroundColor":{},"BorderRadius":{"type":"integer"},"ButtonAction":{},"Link":{},"Text":{},"TextColor":{}},"required":["ButtonAction","Text"]},"IOS":{"shape":"Su"},"Web":{"shape":"Su"}}},"Su":{"type":"structure","members":{"ButtonAction":{},"Link":{}},"required":["ButtonAction"]},"Sy":{"type":"structure","members":{"EndTime":{},"EventFilter":{"shape":"Sz"},"Frequency":{},"IsLocalTime":{"type":"boolean"},"QuietTime":{"shape":"S1c"},"StartTime":{},"Timezone":{}},"required":["StartTime"]},"Sz":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"FilterType":{}},"required":["FilterType","Dimensions"]},"S10":{"type":"structure","members":{"Attributes":{"shape":"S11"},"EventType":{"shape":"S15"},"Metrics":{"shape":"S17"}}},"S11":{"type":"map","key":{},"value":{"type":"structure","members":{"AttributeType":{},"Values":{"shape":"S14"}},"required":["Values"]}},"S14":{"type":"list","member":{}},"S15":{"type":"structure","members":{"DimensionType":{},"Values":{"shape":"S14"}},"required":["Values"]},"S17":{"type":"map","key":{},"value":{"type":"structure","members":{"ComparisonOperator":{},"Value":{"type":"double"}},"required":["ComparisonOperator","Value"]}},"S1c":{"type":"structure","members":{"End":{},"Start":{}}},"S1d":{"type":"structure","members":{"EmailTemplate":{"shape":"S1e"},"PushTemplate":{"shape":"S1e"},"SMSTemplate":{"shape":"S1e"},"VoiceTemplate":{"shape":"S1e"}}},"S1e":{"type":"structure","members":{"Name":{},"Version":{}}},"S1f":{"type":"structure","members":{"LambdaFunctionName":{},"Mode":{},"WebUrl":{}}},"S1h":{"type":"structure","members":{"Daily":{"type":"integer"},"MaximumDuration":{"type":"integer"},"MessagesPerSecond":{"type":"integer"},"Total":{"type":"integer"},"Session":{"type":"integer"}}},"S1j":{"type":"structure","members":{"AdditionalTreatments":{"type":"list","member":{"type":"structure","members":{"CustomDeliveryConfiguration":{"shape":"Sb"},"Id":{},"MessageConfiguration":{"shape":"Se"},"Schedule":{"shape":"Sy"},"SizePercent":{"type":"integer"},"State":{"shape":"S1m"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{}},"required":["Id","SizePercent"]}},"ApplicationId":{},"Arn":{},"CreationDate":{},"CustomDeliveryConfiguration":{"shape":"Sb"},"DefaultState":{"shape":"S1m"},"Description":{},"HoldoutPercent":{"type":"integer"},"Hook":{"shape":"S1f"},"Id":{},"IsPaused":{"type":"boolean"},"LastModifiedDate":{},"Limits":{"shape":"S1h"},"MessageConfiguration":{"shape":"Se"},"Name":{},"Schedule":{"shape":"Sy"},"SegmentId":{},"SegmentVersion":{"type":"integer"},"State":{"shape":"S1m"},"tags":{"shape":"S4","locationName":"tags"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{},"Version":{"type":"integer"},"Priority":{"type":"integer"}},"required":["LastModifiedDate","CreationDate","SegmentId","SegmentVersion","Id","Arn","ApplicationId"]},"S1m":{"type":"structure","members":{"CampaignStatus":{}}},"S1p":{"type":"structure","members":{"DefaultSubstitutions":{},"HtmlPart":{},"RecommenderId":{},"Subject":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TextPart":{}}},"S1r":{"type":"structure","members":{"Arn":{},"Message":{},"RequestID":{}}},"S1v":{"type":"structure","members":{"ApplicationId":{},"CompletedPieces":{"type":"integer"},"CompletionDate":{},"CreationDate":{},"Definition":{"type":"structure","members":{"RoleArn":{},"S3UrlPrefix":{},"SegmentId":{},"SegmentVersion":{"type":"integer"}},"required":["S3UrlPrefix","RoleArn"]},"FailedPieces":{"type":"integer"},"Failures":{"shape":"S14"},"Id":{},"JobStatus":{},"TotalFailures":{"type":"integer"},"TotalPieces":{"type":"integer"},"TotalProcessed":{"type":"integer"},"Type":{}},"required":["JobStatus","CreationDate","Type","Definition","Id","ApplicationId"]},"S22":{"type":"structure","members":{"ApplicationId":{},"CompletedPieces":{"type":"integer"},"CompletionDate":{},"CreationDate":{},"Definition":{"type":"structure","members":{"DefineSegment":{"type":"boolean"},"ExternalId":{},"Format":{},"RegisterEndpoints":{"type":"boolean"},"RoleArn":{},"S3Url":{},"SegmentId":{},"SegmentName":{}},"required":["Format","S3Url","RoleArn"]},"FailedPieces":{"type":"integer"},"Failures":{"shape":"S14"},"Id":{},"JobStatus":{},"TotalFailures":{"type":"integer"},"TotalPieces":{"type":"integer"},"TotalProcessed":{"type":"integer"},"Type":{}},"required":["JobStatus","CreationDate","Type","Definition","Id","ApplicationId"]},"S25":{"type":"structure","members":{"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S29":{"type":"structure","members":{"Activities":{"shape":"S2a"},"CreationDate":{},"LastModifiedDate":{},"Limits":{"shape":"S3a"},"LocalTime":{"type":"boolean"},"Name":{},"QuietTime":{"shape":"S1c"},"RefreshFrequency":{},"Schedule":{"shape":"S3b"},"StartActivity":{},"StartCondition":{"shape":"S3d"},"State":{},"WaitForQuietTime":{"type":"boolean"},"RefreshOnSegmentUpdate":{"type":"boolean"}},"required":["Name"]},"S2a":{"type":"map","key":{},"value":{"type":"structure","members":{"CUSTOM":{"type":"structure","members":{"DeliveryUri":{},"EndpointTypes":{"shape":"Sc"},"MessageConfig":{"type":"structure","members":{"Data":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"ConditionalSplit":{"type":"structure","members":{"Condition":{"type":"structure","members":{"Conditions":{"type":"list","member":{"shape":"S2h"}},"Operator":{}}},"EvaluationWaitTime":{"shape":"S2u"},"FalseActivity":{},"TrueActivity":{}}},"Description":{},"EMAIL":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"FromAddress":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"Holdout":{"type":"structure","members":{"NextActivity":{},"Percentage":{"type":"integer"}},"required":["Percentage"]},"MultiCondition":{"type":"structure","members":{"Branches":{"type":"list","member":{"type":"structure","members":{"Condition":{"shape":"S2h"},"NextActivity":{}}}},"DefaultActivity":{},"EvaluationWaitTime":{"shape":"S2u"}}},"PUSH":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"TimeToLive":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"RandomSplit":{"type":"structure","members":{"Branches":{"type":"list","member":{"type":"structure","members":{"NextActivity":{},"Percentage":{"type":"integer"}}}}}},"SMS":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"MessageType":{},"OriginationNumber":{},"SenderId":{},"EntityId":{},"TemplateId":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"Wait":{"type":"structure","members":{"NextActivity":{},"WaitTime":{"shape":"S2u"}}},"ContactCenter":{"type":"structure","members":{"NextActivity":{}}}}}},"S2h":{"type":"structure","members":{"EventCondition":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"MessageActivity":{}}},"SegmentCondition":{"shape":"S2j"},"SegmentDimensions":{"shape":"S2k","locationName":"segmentDimensions"}}},"S2j":{"type":"structure","members":{"SegmentId":{}},"required":["SegmentId"]},"S2k":{"type":"structure","members":{"Attributes":{"shape":"S11"},"Behavior":{"type":"structure","members":{"Recency":{"type":"structure","members":{"Duration":{},"RecencyType":{}},"required":["Duration","RecencyType"]}}},"Demographic":{"type":"structure","members":{"AppVersion":{"shape":"S15"},"Channel":{"shape":"S15"},"DeviceType":{"shape":"S15"},"Make":{"shape":"S15"},"Model":{"shape":"S15"},"Platform":{"shape":"S15"}}},"Location":{"type":"structure","members":{"Country":{"shape":"S15"},"GPSPoint":{"type":"structure","members":{"Coordinates":{"type":"structure","members":{"Latitude":{"type":"double"},"Longitude":{"type":"double"}},"required":["Latitude","Longitude"]},"RangeInKilometers":{"type":"double"}},"required":["Coordinates"]}}},"Metrics":{"shape":"S17"},"UserAttributes":{"shape":"S11"}}},"S2u":{"type":"structure","members":{"WaitFor":{},"WaitUntil":{}}},"S3a":{"type":"structure","members":{"DailyCap":{"type":"integer"},"EndpointReentryCap":{"type":"integer"},"MessagesPerSecond":{"type":"integer"},"EndpointReentryInterval":{}}},"S3b":{"type":"structure","members":{"EndTime":{"shape":"S3c"},"StartTime":{"shape":"S3c"},"Timezone":{}}},"S3c":{"type":"timestamp","timestampFormat":"iso8601"},"S3d":{"type":"structure","members":{"Description":{},"EventStartCondition":{"type":"structure","members":{"EventFilter":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"FilterType":{}},"required":["FilterType","Dimensions"]},"SegmentId":{}}},"SegmentStartCondition":{"shape":"S2j"}}},"S3i":{"type":"structure","members":{"Activities":{"shape":"S2a"},"ApplicationId":{},"CreationDate":{},"Id":{},"LastModifiedDate":{},"Limits":{"shape":"S3a"},"LocalTime":{"type":"boolean"},"Name":{},"QuietTime":{"shape":"S1c"},"RefreshFrequency":{},"Schedule":{"shape":"S3b"},"StartActivity":{},"StartCondition":{"shape":"S3d"},"State":{},"tags":{"shape":"S4","locationName":"tags"},"WaitForQuietTime":{"type":"boolean"},"RefreshOnSegmentUpdate":{"type":"boolean"},"JourneyChannelSettings":{"type":"structure","members":{"ConnectCampaignArn":{},"ConnectCampaignExecutionRoleArn":{}}}},"required":["Name","Id","ApplicationId"]},"S3l":{"type":"structure","members":{"ADM":{"shape":"S3m"},"APNS":{"shape":"S3n"},"Baidu":{"shape":"S3m"},"Default":{"shape":"S3o"},"DefaultSubstitutions":{},"GCM":{"shape":"S3m"},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S3m":{"type":"structure","members":{"Action":{},"Body":{},"ImageIconUrl":{},"ImageUrl":{},"RawContent":{},"SmallImageIconUrl":{},"Sound":{},"Title":{},"Url":{}}},"S3n":{"type":"structure","members":{"Action":{},"Body":{},"MediaUrl":{},"RawContent":{},"Sound":{},"Title":{},"Url":{}}},"S3o":{"type":"structure","members":{"Action":{},"Body":{},"Sound":{},"Title":{},"Url":{}}},"S3t":{"type":"structure","members":{"Attributes":{"shape":"S4"},"CreationDate":{},"Description":{},"Id":{},"LastModifiedDate":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","LastModifiedDate","CreationDate","RecommendationProviderRoleArn","Id"]},"S3v":{"type":"structure","members":{"Dimensions":{"shape":"S2k"},"Name":{},"SegmentGroups":{"shape":"S3w"},"tags":{"shape":"S4","locationName":"tags"}}},"S3w":{"type":"structure","members":{"Groups":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"type":"list","member":{"shape":"S2k"}},"SourceSegments":{"type":"list","member":{"type":"structure","members":{"Id":{},"Version":{"type":"integer"}},"required":["Id"]}},"SourceType":{},"Type":{}}}},"Include":{}}},"S46":{"type":"structure","members":{"ApplicationId":{},"Arn":{},"CreationDate":{},"Dimensions":{"shape":"S2k"},"Id":{},"ImportDefinition":{"type":"structure","members":{"ChannelCounts":{"type":"map","key":{},"value":{"type":"integer"}},"ExternalId":{},"Format":{},"RoleArn":{},"S3Url":{},"Size":{"type":"integer"}},"required":["Format","S3Url","Size","ExternalId","RoleArn"]},"LastModifiedDate":{},"Name":{},"SegmentGroups":{"shape":"S3w"},"SegmentType":{},"tags":{"shape":"S4","locationName":"tags"},"Version":{"type":"integer"}},"required":["SegmentType","CreationDate","Id","Arn","ApplicationId"]},"S4b":{"type":"structure","members":{"Body":{},"DefaultSubstitutions":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S4e":{"type":"structure","members":{"Body":{},"DefaultSubstitutions":{},"LanguageCode":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"VoiceId":{}}},"S4i":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4l":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4o":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4r":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4u":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4z":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Credential":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Credential","Platform"]},"S54":{"type":"structure","members":{"ApplicationId":{},"ConfigurationSet":{},"CreationDate":{},"Enabled":{"type":"boolean"},"FromAddress":{},"HasCredential":{"type":"boolean"},"Id":{},"Identity":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"MessagesPerSecond":{"type":"integer"},"Platform":{},"RoleArn":{},"Version":{"type":"integer"}},"required":["Platform"]},"S57":{"type":"structure","members":{"Message":{},"RequestID":{}}},"S5a":{"type":"structure","members":{"Address":{},"ApplicationId":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"CohortId":{},"CreationDate":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Id":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}},"S5b":{"type":"map","key":{},"value":{"shape":"S14"}},"S5d":{"type":"structure","members":{"AppVersion":{},"Locale":{},"Make":{},"Model":{},"ModelVersion":{},"Platform":{},"PlatformVersion":{},"Timezone":{}}},"S5e":{"type":"structure","members":{"City":{},"Country":{},"Latitude":{"type":"double"},"Longitude":{"type":"double"},"PostalCode":{},"Region":{}}},"S5f":{"type":"map","key":{},"value":{"type":"double"}},"S5g":{"type":"structure","members":{"UserAttributes":{"shape":"S5b"},"UserId":{}}},"S5j":{"type":"structure","members":{"ApplicationId":{},"DestinationStreamArn":{},"ExternalId":{},"LastModifiedDate":{},"LastUpdatedBy":{},"RoleArn":{}},"required":["ApplicationId","RoleArn","DestinationStreamArn"]},"S5m":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Credential":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Credential","Platform"]},"S5z":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"PromotionalMessagesPerSecond":{"type":"integer"},"SenderId":{},"ShortCode":{},"TransactionalMessagesPerSecond":{"type":"integer"},"Version":{"type":"integer"}},"required":["Platform"]},"S64":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S5a"}}},"required":["Item"]},"S68":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S6q":{"type":"structure","members":{"Rows":{"type":"list","member":{"type":"structure","members":{"GroupedBys":{"shape":"S6t"},"Values":{"shape":"S6t"}},"required":["GroupedBys","Values"]}}},"required":["Rows"]},"S6t":{"type":"list","member":{"type":"structure","members":{"Key":{},"Type":{},"Value":{}},"required":["Type","Value","Key"]}},"S6x":{"type":"structure","members":{"ApplicationId":{},"CampaignHook":{"shape":"S1f"},"LastModifiedDate":{},"Limits":{"shape":"S1h"},"QuietTime":{"shape":"S1c"}},"required":["ApplicationId"]},"S7i":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S1j"}},"NextToken":{}},"required":["Item"]},"S85":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S1v"}},"NextToken":{}},"required":["Item"]},"S8d":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S22"}},"NextToken":{}},"required":["Item"]},"S9j":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S46"}},"NextToken":{}},"required":["Item"]},"Sa5":{"type":"structure","members":{"tags":{"shape":"S4","locationName":"tags"}},"required":["tags"]},"Sba":{"type":"map","key":{},"value":{"type":"structure","members":{"BodyOverride":{},"Context":{"shape":"S4"},"RawContent":{},"Substitutions":{"shape":"S5b"},"TitleOverride":{}}}},"Sbc":{"type":"structure","members":{"ADMMessage":{"type":"structure","members":{"Action":{},"Body":{},"ConsolidationKey":{},"Data":{"shape":"S4"},"ExpiresAfter":{},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"MD5":{},"RawContent":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"Title":{},"Url":{}}},"APNSMessage":{"type":"structure","members":{"APNSPushType":{},"Action":{},"Badge":{"type":"integer"},"Body":{},"Category":{},"CollapseId":{},"Data":{"shape":"S4"},"MediaUrl":{},"PreferredAuthenticationMethod":{},"Priority":{},"RawContent":{},"SilentPush":{"type":"boolean"},"Sound":{},"Substitutions":{"shape":"S5b"},"ThreadId":{},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"BaiduMessage":{"type":"structure","members":{"Action":{},"Body":{},"Data":{"shape":"S4"},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"RawContent":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"DefaultMessage":{"type":"structure","members":{"Body":{},"Substitutions":{"shape":"S5b"}}},"DefaultPushNotificationMessage":{"type":"structure","members":{"Action":{},"Body":{},"Data":{"shape":"S4"},"SilentPush":{"type":"boolean"},"Substitutions":{"shape":"S5b"},"Title":{},"Url":{}}},"EmailMessage":{"type":"structure","members":{"Body":{},"FeedbackForwardingAddress":{},"FromAddress":{},"RawEmail":{"type":"structure","members":{"Data":{"type":"blob"}}},"ReplyToAddresses":{"shape":"S14"},"SimpleEmail":{"type":"structure","members":{"HtmlPart":{"shape":"Sbm"},"Subject":{"shape":"Sbm"},"TextPart":{"shape":"Sbm"}}},"Substitutions":{"shape":"S5b"}}},"GCMMessage":{"type":"structure","members":{"Action":{},"Body":{},"CollapseKey":{},"Data":{"shape":"S4"},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"Priority":{},"RawContent":{},"RestrictedPackageName":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"SMSMessage":{"type":"structure","members":{"Body":{},"Keyword":{},"MediaUrl":{},"MessageType":{},"OriginationNumber":{},"SenderId":{},"Substitutions":{"shape":"S5b"},"EntityId":{},"TemplateId":{}}},"VoiceMessage":{"type":"structure","members":{"Body":{},"LanguageCode":{},"OriginationNumber":{},"Substitutions":{"shape":"S5b"},"VoiceId":{}}}}},"Sbm":{"type":"structure","members":{"Charset":{},"Data":{}}},"Sbs":{"type":"map","key":{},"value":{"type":"structure","members":{"Address":{},"DeliveryStatus":{},"MessageId":{},"StatusCode":{"type":"integer"},"StatusMessage":{},"UpdatedToken":{}},"required":["DeliveryStatus","StatusCode"]}}}} + module.exports = {"metadata":{"apiVersion":"2016-12-01","endpointPrefix":"pinpoint","signingName":"mobiletargeting","serviceFullName":"Amazon Pinpoint","serviceId":"Pinpoint","protocol":"rest-json","jsonVersion":"1.1","uid":"pinpoint-2016-12-01","signatureVersion":"v4"},"operations":{"CreateApp":{"http":{"requestUri":"/v1/apps","responseCode":201},"input":{"type":"structure","members":{"CreateApplicationRequest":{"type":"structure","members":{"Name":{},"tags":{"shape":"S4","locationName":"tags"}},"required":["Name"]}},"required":["CreateApplicationRequest"],"payload":"CreateApplicationRequest"},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"CreateCampaign":{"http":{"requestUri":"/v1/apps/{application-id}/campaigns","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteCampaignRequest":{"shape":"S8"}},"required":["ApplicationId","WriteCampaignRequest"],"payload":"WriteCampaignRequest"},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"CreateEmailTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/email","responseCode":201},"input":{"type":"structure","members":{"EmailTemplateRequest":{"shape":"S1p"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","EmailTemplateRequest"],"payload":"EmailTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateExportJob":{"http":{"requestUri":"/v1/apps/{application-id}/jobs/export","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"ExportJobRequest":{"type":"structure","members":{"RoleArn":{},"S3UrlPrefix":{},"SegmentId":{},"SegmentVersion":{"type":"integer"}},"required":["S3UrlPrefix","RoleArn"]}},"required":["ApplicationId","ExportJobRequest"],"payload":"ExportJobRequest"},"output":{"type":"structure","members":{"ExportJobResponse":{"shape":"S1v"}},"required":["ExportJobResponse"],"payload":"ExportJobResponse"}},"CreateImportJob":{"http":{"requestUri":"/v1/apps/{application-id}/jobs/import","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"ImportJobRequest":{"type":"structure","members":{"DefineSegment":{"type":"boolean"},"ExternalId":{},"Format":{},"RegisterEndpoints":{"type":"boolean"},"RoleArn":{},"S3Url":{},"SegmentId":{},"SegmentName":{}},"required":["Format","S3Url","RoleArn"]}},"required":["ApplicationId","ImportJobRequest"],"payload":"ImportJobRequest"},"output":{"type":"structure","members":{"ImportJobResponse":{"shape":"S22"}},"required":["ImportJobResponse"],"payload":"ImportJobResponse"}},"CreateInAppTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/inapp","responseCode":201},"input":{"type":"structure","members":{"InAppTemplateRequest":{"shape":"S25"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","InAppTemplateRequest"],"payload":"InAppTemplateRequest"},"output":{"type":"structure","members":{"TemplateCreateMessageBody":{"type":"structure","members":{"Arn":{},"Message":{},"RequestID":{}}}},"required":["TemplateCreateMessageBody"],"payload":"TemplateCreateMessageBody"}},"CreateJourney":{"http":{"requestUri":"/v1/apps/{application-id}/journeys","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteJourneyRequest":{"shape":"S29"}},"required":["ApplicationId","WriteJourneyRequest"],"payload":"WriteJourneyRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"CreatePushTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/push","responseCode":201},"input":{"type":"structure","members":{"PushNotificationTemplateRequest":{"shape":"S3l"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","PushNotificationTemplateRequest"],"payload":"PushNotificationTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateRecommenderConfiguration":{"http":{"requestUri":"/v1/recommenders","responseCode":201},"input":{"type":"structure","members":{"CreateRecommenderConfiguration":{"type":"structure","members":{"Attributes":{"shape":"S4"},"Description":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","RecommendationProviderRoleArn"]}},"required":["CreateRecommenderConfiguration"],"payload":"CreateRecommenderConfiguration"},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"CreateSegment":{"http":{"requestUri":"/v1/apps/{application-id}/segments","responseCode":201},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteSegmentRequest":{"shape":"S3v"}},"required":["ApplicationId","WriteSegmentRequest"],"payload":"WriteSegmentRequest"},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"CreateSmsTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/sms","responseCode":201},"input":{"type":"structure","members":{"SMSTemplateRequest":{"shape":"S4b"},"TemplateName":{"location":"uri","locationName":"template-name"}},"required":["TemplateName","SMSTemplateRequest"],"payload":"SMSTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"CreateVoiceTemplate":{"http":{"requestUri":"/v1/templates/{template-name}/voice","responseCode":201},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"VoiceTemplateRequest":{"shape":"S4e"}},"required":["TemplateName","VoiceTemplateRequest"],"payload":"VoiceTemplateRequest"},"output":{"type":"structure","members":{"CreateTemplateMessageBody":{"shape":"S1r"}},"required":["CreateTemplateMessageBody"],"payload":"CreateTemplateMessageBody"}},"DeleteAdmChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"DeleteApnsChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"DeleteApnsSandboxChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"DeleteApnsVoipChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"DeleteApnsVoipSandboxChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"DeleteApp":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"DeleteBaiduChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"DeleteCampaign":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"}},"required":["CampaignId","ApplicationId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"DeleteEmailChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"DeleteEmailTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/email","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteEndpoint":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"EndpointResponse":{"shape":"S5a"}},"required":["EndpointResponse"],"payload":"EndpointResponse"}},"DeleteEventStream":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"DeleteGcmChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"DeleteInAppTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/inapp","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteJourney":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"}},"required":["JourneyId","ApplicationId"]},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"DeletePushTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/push","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteRecommenderConfiguration":{"http":{"method":"DELETE","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"}},"required":["RecommenderId"]},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"DeleteSegment":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"DeleteSmsChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"DeleteSmsTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/sms","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"DeleteUserEndpoints":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/users/{user-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"UserId":{"location":"uri","locationName":"user-id"}},"required":["ApplicationId","UserId"]},"output":{"type":"structure","members":{"EndpointsResponse":{"shape":"S64"}},"required":["EndpointsResponse"],"payload":"EndpointsResponse"}},"DeleteVoiceChannel":{"http":{"method":"DELETE","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"DeleteVoiceTemplate":{"http":{"method":"DELETE","requestUri":"/v1/templates/{template-name}/voice","responseCode":202},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"GetAdmChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"GetApnsChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"GetApnsSandboxChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"GetApnsVoipChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"GetApnsVoipSandboxChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"GetApp":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationResponse":{"shape":"S6"}},"required":["ApplicationResponse"],"payload":"ApplicationResponse"}},"GetApplicationDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["ApplicationId","KpiName"]},"output":{"type":"structure","members":{"ApplicationDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"EndTime":{"shape":"S3c"},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","EndTime","StartTime","ApplicationId"]}},"required":["ApplicationDateRangeKpiResponse"],"payload":"ApplicationDateRangeKpiResponse"}},"GetApplicationSettings":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/settings","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ApplicationSettingsResource":{"shape":"S6x"}},"required":["ApplicationSettingsResource"],"payload":"ApplicationSettingsResource"}},"GetApps":{"http":{"method":"GET","requestUri":"/v1/apps","responseCode":200},"input":{"type":"structure","members":{"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}}},"output":{"type":"structure","members":{"ApplicationsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S6"}},"NextToken":{}}}},"required":["ApplicationsResponse"],"payload":"ApplicationsResponse"}},"GetBaiduChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"GetCampaign":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"}},"required":["CampaignId","ApplicationId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"GetCampaignActivities":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/activities","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"ActivitiesResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"ApplicationId":{},"CampaignId":{},"End":{},"Id":{},"Result":{},"ScheduledStart":{},"Start":{},"State":{},"SuccessfulEndpointCount":{"type":"integer"},"TimezonesCompletedCount":{"type":"integer"},"TimezonesTotalCount":{"type":"integer"},"TotalEndpointCount":{"type":"integer"},"TreatmentId":{}},"required":["CampaignId","Id","ApplicationId"]}},"NextToken":{}},"required":["Item"]}},"required":["ActivitiesResponse"],"payload":"ActivitiesResponse"}},"GetCampaignDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["ApplicationId","KpiName","CampaignId"]},"output":{"type":"structure","members":{"CampaignDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"CampaignId":{},"EndTime":{"shape":"S3c"},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","EndTime","CampaignId","StartTime","ApplicationId"]}},"required":["CampaignDateRangeKpiResponse"],"payload":"CampaignDateRangeKpiResponse"}},"GetCampaignVersion":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"Version":{"location":"uri","locationName":"version"}},"required":["Version","ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"GetCampaignVersions":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}/versions","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId","CampaignId"]},"output":{"type":"structure","members":{"CampaignsResponse":{"shape":"S7i"}},"required":["CampaignsResponse"],"payload":"CampaignsResponse"}},"GetCampaigns":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/campaigns","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"CampaignsResponse":{"shape":"S7i"}},"required":["CampaignsResponse"],"payload":"CampaignsResponse"}},"GetChannels":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ChannelsResponse":{"type":"structure","members":{"Channels":{"type":"map","key":{},"value":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Version":{"type":"integer"}}}}},"required":["Channels"]}},"required":["ChannelsResponse"],"payload":"ChannelsResponse"}},"GetEmailChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"GetEmailTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/email","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"EmailTemplateResponse":{"type":"structure","members":{"Arn":{},"CreationDate":{},"DefaultSubstitutions":{},"HtmlPart":{},"LastModifiedDate":{},"RecommenderId":{},"Subject":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"TextPart":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["EmailTemplateResponse"],"payload":"EmailTemplateResponse"}},"GetEndpoint":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"EndpointResponse":{"shape":"S5a"}},"required":["EndpointResponse"],"payload":"EndpointResponse"}},"GetEventStream":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"GetExportJob":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/export/{job-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JobId":{"location":"uri","locationName":"job-id"}},"required":["ApplicationId","JobId"]},"output":{"type":"structure","members":{"ExportJobResponse":{"shape":"S1v"}},"required":["ExportJobResponse"],"payload":"ExportJobResponse"}},"GetExportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/export","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ExportJobsResponse":{"shape":"S85"}},"required":["ExportJobsResponse"],"payload":"ExportJobsResponse"}},"GetGcmChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"GetImportJob":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/import/{job-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JobId":{"location":"uri","locationName":"job-id"}},"required":["ApplicationId","JobId"]},"output":{"type":"structure","members":{"ImportJobResponse":{"shape":"S22"}},"required":["ImportJobResponse"],"payload":"ImportJobResponse"}},"GetImportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/jobs/import","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"ImportJobsResponse":{"shape":"S8d"}},"required":["ImportJobsResponse"],"payload":"ImportJobsResponse"}},"GetInAppMessages":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}/inappmessages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"}},"required":["ApplicationId","EndpointId"]},"output":{"type":"structure","members":{"InAppMessagesResponse":{"type":"structure","members":{"InAppMessageCampaigns":{"type":"list","member":{"type":"structure","members":{"CampaignId":{},"DailyCap":{"type":"integer"},"InAppMessage":{"type":"structure","members":{"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{}}},"Priority":{"type":"integer"},"Schedule":{"type":"structure","members":{"EndDate":{},"EventFilter":{"shape":"Sz"},"QuietTime":{"shape":"S1c"}}},"SessionCap":{"type":"integer"},"TotalCap":{"type":"integer"},"TreatmentId":{}}}}}}},"required":["InAppMessagesResponse"],"payload":"InAppMessagesResponse"}},"GetInAppTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/inapp","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"InAppTemplateResponse":{"type":"structure","members":{"Arn":{},"Content":{"shape":"So"},"CreationDate":{},"CustomConfig":{"shape":"S4"},"LastModifiedDate":{},"Layout":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["InAppTemplateResponse"],"payload":"InAppTemplateResponse"}},"GetJourney":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"}},"required":["JourneyId","ApplicationId"]},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"GetJourneyDateRangeKpi":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/kpis/daterange/{kpi-name}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndTime":{"shape":"S3c","location":"querystring","locationName":"end-time"},"JourneyId":{"location":"uri","locationName":"journey-id"},"KpiName":{"location":"uri","locationName":"kpi-name"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"StartTime":{"shape":"S3c","location":"querystring","locationName":"start-time"}},"required":["JourneyId","ApplicationId","KpiName"]},"output":{"type":"structure","members":{"JourneyDateRangeKpiResponse":{"type":"structure","members":{"ApplicationId":{},"EndTime":{"shape":"S3c"},"JourneyId":{},"KpiName":{},"KpiResult":{"shape":"S6q"},"NextToken":{},"StartTime":{"shape":"S3c"}},"required":["KpiResult","KpiName","JourneyId","EndTime","StartTime","ApplicationId"]}},"required":["JourneyDateRangeKpiResponse"],"payload":"JourneyDateRangeKpiResponse"}},"GetJourneyExecutionActivityMetrics":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/activities/{journey-activity-id}/execution-metrics","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyActivityId":{"location":"uri","locationName":"journey-activity-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"}},"required":["JourneyActivityId","ApplicationId","JourneyId"]},"output":{"type":"structure","members":{"JourneyExecutionActivityMetricsResponse":{"type":"structure","members":{"ActivityType":{},"ApplicationId":{},"JourneyActivityId":{},"JourneyId":{},"LastEvaluatedTime":{},"Metrics":{"shape":"S4"}},"required":["Metrics","JourneyId","LastEvaluatedTime","JourneyActivityId","ActivityType","ApplicationId"]}},"required":["JourneyExecutionActivityMetricsResponse"],"payload":"JourneyExecutionActivityMetricsResponse"}},"GetJourneyExecutionMetrics":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/execution-metrics","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"}},"required":["ApplicationId","JourneyId"]},"output":{"type":"structure","members":{"JourneyExecutionMetricsResponse":{"type":"structure","members":{"ApplicationId":{},"JourneyId":{},"LastEvaluatedTime":{},"Metrics":{"shape":"S4"}},"required":["Metrics","JourneyId","LastEvaluatedTime","ApplicationId"]}},"required":["JourneyExecutionMetricsResponse"],"payload":"JourneyExecutionMetricsResponse"}},"GetPushTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/push","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"PushNotificationTemplateResponse":{"type":"structure","members":{"ADM":{"shape":"S3m"},"APNS":{"shape":"S3n"},"Arn":{},"Baidu":{"shape":"S3m"},"CreationDate":{},"Default":{"shape":"S3o"},"DefaultSubstitutions":{},"GCM":{"shape":"S3m"},"LastModifiedDate":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateType","TemplateName"]}},"required":["PushNotificationTemplateResponse"],"payload":"PushNotificationTemplateResponse"}},"GetRecommenderConfiguration":{"http":{"method":"GET","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"}},"required":["RecommenderId"]},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"GetRecommenderConfigurations":{"http":{"method":"GET","requestUri":"/v1/recommenders","responseCode":200},"input":{"type":"structure","members":{"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}}},"output":{"type":"structure","members":{"ListRecommenderConfigurationsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S3t"}},"NextToken":{}},"required":["Item"]}},"required":["ListRecommenderConfigurationsResponse"],"payload":"ListRecommenderConfigurationsResponse"}},"GetSegment":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"GetSegmentExportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/jobs/export","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"ExportJobsResponse":{"shape":"S85"}},"required":["ExportJobsResponse"],"payload":"ExportJobsResponse"}},"GetSegmentImportJobs":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/jobs/import","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"ImportJobsResponse":{"shape":"S8d"}},"required":["ImportJobsResponse"],"payload":"ImportJobsResponse"}},"GetSegmentVersion":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/versions/{version}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Version":{"location":"uri","locationName":"version"}},"required":["SegmentId","Version","ApplicationId"]},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"GetSegmentVersions":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments/{segment-id}/versions","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"SegmentId":{"location":"uri","locationName":"segment-id"},"Token":{"location":"querystring","locationName":"token"}},"required":["SegmentId","ApplicationId"]},"output":{"type":"structure","members":{"SegmentsResponse":{"shape":"S9j"}},"required":["SegmentsResponse"],"payload":"SegmentsResponse"}},"GetSegments":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/segments","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SegmentsResponse":{"shape":"S9j"}},"required":["SegmentsResponse"],"payload":"SegmentsResponse"}},"GetSmsChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"GetSmsTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/sms","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"SMSTemplateResponse":{"type":"structure","members":{"Arn":{},"Body":{},"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["SMSTemplateResponse"],"payload":"SMSTemplateResponse"}},"GetUserEndpoints":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/users/{user-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"UserId":{"location":"uri","locationName":"user-id"}},"required":["ApplicationId","UserId"]},"output":{"type":"structure","members":{"EndpointsResponse":{"shape":"S64"}},"required":["EndpointsResponse"],"payload":"EndpointsResponse"}},"GetVoiceChannel":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"GetVoiceTemplate":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/voice","responseCode":200},"input":{"type":"structure","members":{"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName"]},"output":{"type":"structure","members":{"VoiceTemplateResponse":{"type":"structure","members":{"Arn":{},"Body":{},"CreationDate":{},"DefaultSubstitutions":{},"LanguageCode":{},"LastModifiedDate":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{},"VoiceId":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"required":["VoiceTemplateResponse"],"payload":"VoiceTemplateResponse"}},"ListJourneys":{"http":{"method":"GET","requestUri":"/v1/apps/{application-id}/journeys","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"PageSize":{"location":"querystring","locationName":"page-size"},"Token":{"location":"querystring","locationName":"token"}},"required":["ApplicationId"]},"output":{"type":"structure","members":{"JourneysResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S3i"}},"NextToken":{}},"required":["Item"]}},"required":["JourneysResponse"],"payload":"JourneysResponse"}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/v1/tags/{resource-arn}","responseCode":200},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"}},"required":["ResourceArn"]},"output":{"type":"structure","members":{"TagsModel":{"shape":"Sa5"}},"required":["TagsModel"],"payload":"TagsModel"}},"ListTemplateVersions":{"http":{"method":"GET","requestUri":"/v1/templates/{template-name}/{template-type}/versions","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"TemplateName":{"location":"uri","locationName":"template-name"},"TemplateType":{"location":"uri","locationName":"template-type"}},"required":["TemplateName","TemplateType"]},"output":{"type":"structure","members":{"TemplateVersionsResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"Message":{},"NextToken":{},"RequestID":{}},"required":["Item"]}},"required":["TemplateVersionsResponse"],"payload":"TemplateVersionsResponse"}},"ListTemplates":{"http":{"method":"GET","requestUri":"/v1/templates","responseCode":200},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"next-token"},"PageSize":{"location":"querystring","locationName":"page-size"},"Prefix":{"location":"querystring","locationName":"prefix"},"TemplateType":{"location":"querystring","locationName":"template-type"}}},"output":{"type":"structure","members":{"TemplatesResponse":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"Arn":{},"CreationDate":{},"DefaultSubstitutions":{},"LastModifiedDate":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TemplateName":{},"TemplateType":{},"Version":{}},"required":["LastModifiedDate","CreationDate","TemplateName","TemplateType"]}},"NextToken":{}},"required":["Item"]}},"required":["TemplatesResponse"],"payload":"TemplatesResponse"}},"PhoneNumberValidate":{"http":{"requestUri":"/v1/phone/number/validate","responseCode":200},"input":{"type":"structure","members":{"NumberValidateRequest":{"type":"structure","members":{"IsoCountryCode":{},"PhoneNumber":{}}}},"required":["NumberValidateRequest"],"payload":"NumberValidateRequest"},"output":{"type":"structure","members":{"NumberValidateResponse":{"type":"structure","members":{"Carrier":{},"City":{},"CleansedPhoneNumberE164":{},"CleansedPhoneNumberNational":{},"Country":{},"CountryCodeIso2":{},"CountryCodeNumeric":{},"County":{},"OriginalCountryCodeIso2":{},"OriginalPhoneNumber":{},"PhoneType":{},"PhoneTypeCode":{"type":"integer"},"Timezone":{},"ZipCode":{}}}},"required":["NumberValidateResponse"],"payload":"NumberValidateResponse"}},"PutEventStream":{"http":{"requestUri":"/v1/apps/{application-id}/eventstream","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteEventStream":{"type":"structure","members":{"DestinationStreamArn":{},"RoleArn":{}},"required":["RoleArn","DestinationStreamArn"]}},"required":["ApplicationId","WriteEventStream"],"payload":"WriteEventStream"},"output":{"type":"structure","members":{"EventStream":{"shape":"S5j"}},"required":["EventStream"],"payload":"EventStream"}},"PutEvents":{"http":{"requestUri":"/v1/apps/{application-id}/events","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EventsRequest":{"type":"structure","members":{"BatchItem":{"type":"map","key":{},"value":{"type":"structure","members":{"Endpoint":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}},"Events":{"type":"map","key":{},"value":{"type":"structure","members":{"AppPackageName":{},"AppTitle":{},"AppVersionCode":{},"Attributes":{"shape":"S4"},"ClientSdkVersion":{},"EventType":{},"Metrics":{"shape":"S5f"},"SdkName":{},"Session":{"type":"structure","members":{"Duration":{"type":"integer"},"Id":{},"StartTimestamp":{},"StopTimestamp":{}},"required":["StartTimestamp","Id"]},"Timestamp":{}},"required":["EventType","Timestamp"]}}},"required":["Endpoint","Events"]}}},"required":["BatchItem"]}},"required":["ApplicationId","EventsRequest"],"payload":"EventsRequest"},"output":{"type":"structure","members":{"EventsResponse":{"type":"structure","members":{"Results":{"type":"map","key":{},"value":{"type":"structure","members":{"EndpointItemResponse":{"type":"structure","members":{"Message":{},"StatusCode":{"type":"integer"}}},"EventsItemResponse":{"type":"map","key":{},"value":{"type":"structure","members":{"Message":{},"StatusCode":{"type":"integer"}}}}}}}}}},"required":["EventsResponse"],"payload":"EventsResponse"}},"RemoveAttributes":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/attributes/{attribute-type}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"AttributeType":{"location":"uri","locationName":"attribute-type"},"UpdateAttributesRequest":{"type":"structure","members":{"Blacklist":{"shape":"S14"}}}},"required":["AttributeType","ApplicationId","UpdateAttributesRequest"],"payload":"UpdateAttributesRequest"},"output":{"type":"structure","members":{"AttributesResource":{"type":"structure","members":{"ApplicationId":{},"AttributeType":{},"Attributes":{"shape":"S14"}},"required":["AttributeType","ApplicationId"]}},"required":["AttributesResource"],"payload":"AttributesResource"}},"SendMessages":{"http":{"requestUri":"/v1/apps/{application-id}/messages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"MessageRequest":{"type":"structure","members":{"Addresses":{"type":"map","key":{},"value":{"type":"structure","members":{"BodyOverride":{},"ChannelType":{},"Context":{"shape":"S4"},"RawContent":{},"Substitutions":{"shape":"S5b"},"TitleOverride":{}}}},"Context":{"shape":"S4"},"Endpoints":{"shape":"Sba"},"MessageConfiguration":{"shape":"Sbc"},"TemplateConfiguration":{"shape":"S1d"},"TraceId":{}},"required":["MessageConfiguration"]}},"required":["ApplicationId","MessageRequest"],"payload":"MessageRequest"},"output":{"type":"structure","members":{"MessageResponse":{"shape":"Sbr"}},"required":["MessageResponse"],"payload":"MessageResponse"}},"SendOTPMessage":{"http":{"requestUri":"/v1/apps/{application-id}/otp","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SendOTPMessageRequestParameters":{"type":"structure","members":{"AllowedAttempts":{"type":"integer"},"BrandName":{},"Channel":{},"CodeLength":{"type":"integer"},"DestinationIdentity":{},"EntityId":{},"Language":{},"OriginationIdentity":{},"ReferenceId":{},"TemplateId":{},"ValidityPeriod":{"type":"integer"}},"required":["BrandName","ReferenceId","Channel","DestinationIdentity","OriginationIdentity"]}},"required":["ApplicationId","SendOTPMessageRequestParameters"],"payload":"SendOTPMessageRequestParameters"},"output":{"type":"structure","members":{"MessageResponse":{"shape":"Sbr"}},"required":["MessageResponse"],"payload":"MessageResponse"}},"SendUsersMessages":{"http":{"requestUri":"/v1/apps/{application-id}/users-messages","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SendUsersMessageRequest":{"type":"structure","members":{"Context":{"shape":"S4"},"MessageConfiguration":{"shape":"Sbc"},"TemplateConfiguration":{"shape":"S1d"},"TraceId":{},"Users":{"shape":"Sba"}},"required":["MessageConfiguration","Users"]}},"required":["ApplicationId","SendUsersMessageRequest"],"payload":"SendUsersMessageRequest"},"output":{"type":"structure","members":{"SendUsersMessageResponse":{"type":"structure","members":{"ApplicationId":{},"RequestId":{},"Result":{"type":"map","key":{},"value":{"shape":"Sbs"}}},"required":["ApplicationId"]}},"required":["SendUsersMessageResponse"],"payload":"SendUsersMessageResponse"}},"TagResource":{"http":{"requestUri":"/v1/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagsModel":{"shape":"Sa5"}},"required":["ResourceArn","TagsModel"],"payload":"TagsModel"}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/v1/tags/{resource-arn}","responseCode":204},"input":{"type":"structure","members":{"ResourceArn":{"location":"uri","locationName":"resource-arn"},"TagKeys":{"shape":"S14","location":"querystring","locationName":"tagKeys"}},"required":["TagKeys","ResourceArn"]}},"UpdateAdmChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/adm","responseCode":200},"input":{"type":"structure","members":{"ADMChannelRequest":{"type":"structure","members":{"ClientId":{},"ClientSecret":{},"Enabled":{"type":"boolean"}},"required":["ClientSecret","ClientId"]},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","ADMChannelRequest"],"payload":"ADMChannelRequest"},"output":{"type":"structure","members":{"ADMChannelResponse":{"shape":"S4i"}},"required":["ADMChannelResponse"],"payload":"ADMChannelResponse"}},"UpdateApnsChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns","responseCode":200},"input":{"type":"structure","members":{"APNSChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSChannelRequest"],"payload":"APNSChannelRequest"},"output":{"type":"structure","members":{"APNSChannelResponse":{"shape":"S4l"}},"required":["APNSChannelResponse"],"payload":"APNSChannelResponse"}},"UpdateApnsSandboxChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_sandbox","responseCode":200},"input":{"type":"structure","members":{"APNSSandboxChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSSandboxChannelRequest"],"payload":"APNSSandboxChannelRequest"},"output":{"type":"structure","members":{"APNSSandboxChannelResponse":{"shape":"S4o"}},"required":["APNSSandboxChannelResponse"],"payload":"APNSSandboxChannelResponse"}},"UpdateApnsVoipChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_voip","responseCode":200},"input":{"type":"structure","members":{"APNSVoipChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSVoipChannelRequest"],"payload":"APNSVoipChannelRequest"},"output":{"type":"structure","members":{"APNSVoipChannelResponse":{"shape":"S4r"}},"required":["APNSVoipChannelResponse"],"payload":"APNSVoipChannelResponse"}},"UpdateApnsVoipSandboxChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/apns_voip_sandbox","responseCode":200},"input":{"type":"structure","members":{"APNSVoipSandboxChannelRequest":{"type":"structure","members":{"BundleId":{},"Certificate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"PrivateKey":{},"TeamId":{},"TokenKey":{},"TokenKeyId":{}}},"ApplicationId":{"location":"uri","locationName":"application-id"}},"required":["ApplicationId","APNSVoipSandboxChannelRequest"],"payload":"APNSVoipSandboxChannelRequest"},"output":{"type":"structure","members":{"APNSVoipSandboxChannelResponse":{"shape":"S4u"}},"required":["APNSVoipSandboxChannelResponse"],"payload":"APNSVoipSandboxChannelResponse"}},"UpdateApplicationSettings":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/settings","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"WriteApplicationSettingsRequest":{"type":"structure","members":{"CampaignHook":{"shape":"S1f"},"CloudWatchMetricsEnabled":{"type":"boolean"},"EventTaggingEnabled":{"type":"boolean"},"Limits":{"shape":"S1h"},"QuietTime":{"shape":"S1c"}}}},"required":["ApplicationId","WriteApplicationSettingsRequest"],"payload":"WriteApplicationSettingsRequest"},"output":{"type":"structure","members":{"ApplicationSettingsResource":{"shape":"S6x"}},"required":["ApplicationSettingsResource"],"payload":"ApplicationSettingsResource"}},"UpdateBaiduChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/baidu","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"BaiduChannelRequest":{"type":"structure","members":{"ApiKey":{},"Enabled":{"type":"boolean"},"SecretKey":{}},"required":["SecretKey","ApiKey"]}},"required":["ApplicationId","BaiduChannelRequest"],"payload":"BaiduChannelRequest"},"output":{"type":"structure","members":{"BaiduChannelResponse":{"shape":"S4z"}},"required":["BaiduChannelResponse"],"payload":"BaiduChannelResponse"}},"UpdateCampaign":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/campaigns/{campaign-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"CampaignId":{"location":"uri","locationName":"campaign-id"},"WriteCampaignRequest":{"shape":"S8"}},"required":["CampaignId","ApplicationId","WriteCampaignRequest"],"payload":"WriteCampaignRequest"},"output":{"type":"structure","members":{"CampaignResponse":{"shape":"S1j"}},"required":["CampaignResponse"],"payload":"CampaignResponse"}},"UpdateEmailChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/email","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EmailChannelRequest":{"type":"structure","members":{"ConfigurationSet":{},"Enabled":{"type":"boolean"},"FromAddress":{},"Identity":{},"RoleArn":{}},"required":["FromAddress","Identity"]}},"required":["ApplicationId","EmailChannelRequest"],"payload":"EmailChannelRequest"},"output":{"type":"structure","members":{"EmailChannelResponse":{"shape":"S54"}},"required":["EmailChannelResponse"],"payload":"EmailChannelResponse"}},"UpdateEmailTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/email","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"EmailTemplateRequest":{"shape":"S1p"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","EmailTemplateRequest"],"payload":"EmailTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateEndpoint":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/endpoints/{endpoint-id}","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointId":{"location":"uri","locationName":"endpoint-id"},"EndpointRequest":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}}},"required":["ApplicationId","EndpointId","EndpointRequest"],"payload":"EndpointRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateEndpointsBatch":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/endpoints","responseCode":202},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"EndpointBatchRequest":{"type":"structure","members":{"Item":{"type":"list","member":{"type":"structure","members":{"Address":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Id":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}}}},"required":["Item"]}},"required":["ApplicationId","EndpointBatchRequest"],"payload":"EndpointBatchRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateGcmChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/gcm","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"GCMChannelRequest":{"type":"structure","members":{"ApiKey":{},"Enabled":{"type":"boolean"}},"required":["ApiKey"]}},"required":["ApplicationId","GCMChannelRequest"],"payload":"GCMChannelRequest"},"output":{"type":"structure","members":{"GCMChannelResponse":{"shape":"S5m"}},"required":["GCMChannelResponse"],"payload":"GCMChannelResponse"}},"UpdateInAppTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/inapp","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"InAppTemplateRequest":{"shape":"S25"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","InAppTemplateRequest"],"payload":"InAppTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateJourney":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"WriteJourneyRequest":{"shape":"S29"}},"required":["JourneyId","ApplicationId","WriteJourneyRequest"],"payload":"WriteJourneyRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"UpdateJourneyState":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/journeys/{journey-id}/state","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"JourneyId":{"location":"uri","locationName":"journey-id"},"JourneyStateRequest":{"type":"structure","members":{"State":{}}}},"required":["JourneyId","ApplicationId","JourneyStateRequest"],"payload":"JourneyStateRequest"},"output":{"type":"structure","members":{"JourneyResponse":{"shape":"S3i"}},"required":["JourneyResponse"],"payload":"JourneyResponse"}},"UpdatePushTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/push","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"PushNotificationTemplateRequest":{"shape":"S3l"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","PushNotificationTemplateRequest"],"payload":"PushNotificationTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateRecommenderConfiguration":{"http":{"method":"PUT","requestUri":"/v1/recommenders/{recommender-id}","responseCode":200},"input":{"type":"structure","members":{"RecommenderId":{"location":"uri","locationName":"recommender-id"},"UpdateRecommenderConfiguration":{"type":"structure","members":{"Attributes":{"shape":"S4"},"Description":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","RecommendationProviderRoleArn"]}},"required":["RecommenderId","UpdateRecommenderConfiguration"],"payload":"UpdateRecommenderConfiguration"},"output":{"type":"structure","members":{"RecommenderConfigurationResponse":{"shape":"S3t"}},"required":["RecommenderConfigurationResponse"],"payload":"RecommenderConfigurationResponse"}},"UpdateSegment":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/segments/{segment-id}","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SegmentId":{"location":"uri","locationName":"segment-id"},"WriteSegmentRequest":{"shape":"S3v"}},"required":["SegmentId","ApplicationId","WriteSegmentRequest"],"payload":"WriteSegmentRequest"},"output":{"type":"structure","members":{"SegmentResponse":{"shape":"S46"}},"required":["SegmentResponse"],"payload":"SegmentResponse"}},"UpdateSmsChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/sms","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"SMSChannelRequest":{"type":"structure","members":{"Enabled":{"type":"boolean"},"SenderId":{},"ShortCode":{}}}},"required":["ApplicationId","SMSChannelRequest"],"payload":"SMSChannelRequest"},"output":{"type":"structure","members":{"SMSChannelResponse":{"shape":"S5z"}},"required":["SMSChannelResponse"],"payload":"SMSChannelResponse"}},"UpdateSmsTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/sms","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"SMSTemplateRequest":{"shape":"S4b"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"}},"required":["TemplateName","SMSTemplateRequest"],"payload":"SMSTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateTemplateActiveVersion":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/{template-type}/active-version","responseCode":200},"input":{"type":"structure","members":{"TemplateActiveVersionRequest":{"type":"structure","members":{"Version":{}}},"TemplateName":{"location":"uri","locationName":"template-name"},"TemplateType":{"location":"uri","locationName":"template-type"}},"required":["TemplateName","TemplateType","TemplateActiveVersionRequest"],"payload":"TemplateActiveVersionRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"UpdateVoiceChannel":{"http":{"method":"PUT","requestUri":"/v1/apps/{application-id}/channels/voice","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"VoiceChannelRequest":{"type":"structure","members":{"Enabled":{"type":"boolean"}}}},"required":["ApplicationId","VoiceChannelRequest"],"payload":"VoiceChannelRequest"},"output":{"type":"structure","members":{"VoiceChannelResponse":{"shape":"S68"}},"required":["VoiceChannelResponse"],"payload":"VoiceChannelResponse"}},"UpdateVoiceTemplate":{"http":{"method":"PUT","requestUri":"/v1/templates/{template-name}/voice","responseCode":202},"input":{"type":"structure","members":{"CreateNewVersion":{"location":"querystring","locationName":"create-new-version","type":"boolean"},"TemplateName":{"location":"uri","locationName":"template-name"},"Version":{"location":"querystring","locationName":"version"},"VoiceTemplateRequest":{"shape":"S4e"}},"required":["TemplateName","VoiceTemplateRequest"],"payload":"VoiceTemplateRequest"},"output":{"type":"structure","members":{"MessageBody":{"shape":"S57"}},"required":["MessageBody"],"payload":"MessageBody"}},"VerifyOTPMessage":{"http":{"requestUri":"/v1/apps/{application-id}/verify-otp","responseCode":200},"input":{"type":"structure","members":{"ApplicationId":{"location":"uri","locationName":"application-id"},"VerifyOTPMessageRequestParameters":{"type":"structure","members":{"DestinationIdentity":{},"Otp":{},"ReferenceId":{}},"required":["ReferenceId","Otp","DestinationIdentity"]}},"required":["ApplicationId","VerifyOTPMessageRequestParameters"],"payload":"VerifyOTPMessageRequestParameters"},"output":{"type":"structure","members":{"VerificationResponse":{"type":"structure","members":{"Valid":{"type":"boolean"}}}},"required":["VerificationResponse"],"payload":"VerificationResponse"}}},"shapes":{"S4":{"type":"map","key":{},"value":{}},"S6":{"type":"structure","members":{"Arn":{},"Id":{},"Name":{},"tags":{"shape":"S4","locationName":"tags"}},"required":["Id","Arn","Name"]},"S8":{"type":"structure","members":{"AdditionalTreatments":{"type":"list","member":{"type":"structure","members":{"CustomDeliveryConfiguration":{"shape":"Sb"},"MessageConfiguration":{"shape":"Se"},"Schedule":{"shape":"Sy"},"SizePercent":{"type":"integer"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{}},"required":["SizePercent"]}},"CustomDeliveryConfiguration":{"shape":"Sb"},"Description":{},"HoldoutPercent":{"type":"integer"},"Hook":{"shape":"S1f"},"IsPaused":{"type":"boolean"},"Limits":{"shape":"S1h"},"MessageConfiguration":{"shape":"Se"},"Name":{},"Schedule":{"shape":"Sy"},"SegmentId":{},"SegmentVersion":{"type":"integer"},"tags":{"shape":"S4","locationName":"tags"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{},"Priority":{"type":"integer"}}},"Sb":{"type":"structure","members":{"DeliveryUri":{},"EndpointTypes":{"shape":"Sc"}},"required":["DeliveryUri"]},"Sc":{"type":"list","member":{}},"Se":{"type":"structure","members":{"ADMMessage":{"shape":"Sf"},"APNSMessage":{"shape":"Sf"},"BaiduMessage":{"shape":"Sf"},"CustomMessage":{"type":"structure","members":{"Data":{}}},"DefaultMessage":{"shape":"Sf"},"EmailMessage":{"type":"structure","members":{"Body":{},"FromAddress":{},"HtmlBody":{},"Title":{}}},"GCMMessage":{"shape":"Sf"},"SMSMessage":{"type":"structure","members":{"Body":{},"MessageType":{},"OriginationNumber":{},"SenderId":{},"EntityId":{},"TemplateId":{}}},"InAppMessage":{"type":"structure","members":{"Body":{},"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{}}}}},"Sf":{"type":"structure","members":{"Action":{},"Body":{},"ImageIconUrl":{},"ImageSmallIconUrl":{},"ImageUrl":{},"JsonBody":{},"MediaUrl":{},"RawContent":{},"SilentPush":{"type":"boolean"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"So":{"type":"list","member":{"type":"structure","members":{"BackgroundColor":{},"BodyConfig":{"type":"structure","members":{"Alignment":{},"Body":{},"TextColor":{}},"required":["Alignment","TextColor","Body"]},"HeaderConfig":{"type":"structure","members":{"Alignment":{},"Header":{},"TextColor":{}},"required":["Alignment","Header","TextColor"]},"ImageUrl":{},"PrimaryBtn":{"shape":"St"},"SecondaryBtn":{"shape":"St"}}}},"St":{"type":"structure","members":{"Android":{"shape":"Su"},"DefaultConfig":{"type":"structure","members":{"BackgroundColor":{},"BorderRadius":{"type":"integer"},"ButtonAction":{},"Link":{},"Text":{},"TextColor":{}},"required":["ButtonAction","Text"]},"IOS":{"shape":"Su"},"Web":{"shape":"Su"}}},"Su":{"type":"structure","members":{"ButtonAction":{},"Link":{}},"required":["ButtonAction"]},"Sy":{"type":"structure","members":{"EndTime":{},"EventFilter":{"shape":"Sz"},"Frequency":{},"IsLocalTime":{"type":"boolean"},"QuietTime":{"shape":"S1c"},"StartTime":{},"Timezone":{}},"required":["StartTime"]},"Sz":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"FilterType":{}},"required":["FilterType","Dimensions"]},"S10":{"type":"structure","members":{"Attributes":{"shape":"S11"},"EventType":{"shape":"S15"},"Metrics":{"shape":"S17"}}},"S11":{"type":"map","key":{},"value":{"type":"structure","members":{"AttributeType":{},"Values":{"shape":"S14"}},"required":["Values"]}},"S14":{"type":"list","member":{}},"S15":{"type":"structure","members":{"DimensionType":{},"Values":{"shape":"S14"}},"required":["Values"]},"S17":{"type":"map","key":{},"value":{"type":"structure","members":{"ComparisonOperator":{},"Value":{"type":"double"}},"required":["ComparisonOperator","Value"]}},"S1c":{"type":"structure","members":{"End":{},"Start":{}}},"S1d":{"type":"structure","members":{"EmailTemplate":{"shape":"S1e"},"PushTemplate":{"shape":"S1e"},"SMSTemplate":{"shape":"S1e"},"VoiceTemplate":{"shape":"S1e"}}},"S1e":{"type":"structure","members":{"Name":{},"Version":{}}},"S1f":{"type":"structure","members":{"LambdaFunctionName":{},"Mode":{},"WebUrl":{}}},"S1h":{"type":"structure","members":{"Daily":{"type":"integer"},"MaximumDuration":{"type":"integer"},"MessagesPerSecond":{"type":"integer"},"Total":{"type":"integer"},"Session":{"type":"integer"}}},"S1j":{"type":"structure","members":{"AdditionalTreatments":{"type":"list","member":{"type":"structure","members":{"CustomDeliveryConfiguration":{"shape":"Sb"},"Id":{},"MessageConfiguration":{"shape":"Se"},"Schedule":{"shape":"Sy"},"SizePercent":{"type":"integer"},"State":{"shape":"S1m"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{}},"required":["Id","SizePercent"]}},"ApplicationId":{},"Arn":{},"CreationDate":{},"CustomDeliveryConfiguration":{"shape":"Sb"},"DefaultState":{"shape":"S1m"},"Description":{},"HoldoutPercent":{"type":"integer"},"Hook":{"shape":"S1f"},"Id":{},"IsPaused":{"type":"boolean"},"LastModifiedDate":{},"Limits":{"shape":"S1h"},"MessageConfiguration":{"shape":"Se"},"Name":{},"Schedule":{"shape":"Sy"},"SegmentId":{},"SegmentVersion":{"type":"integer"},"State":{"shape":"S1m"},"tags":{"shape":"S4","locationName":"tags"},"TemplateConfiguration":{"shape":"S1d"},"TreatmentDescription":{},"TreatmentName":{},"Version":{"type":"integer"},"Priority":{"type":"integer"}},"required":["LastModifiedDate","CreationDate","SegmentId","SegmentVersion","Id","Arn","ApplicationId"]},"S1m":{"type":"structure","members":{"CampaignStatus":{}}},"S1p":{"type":"structure","members":{"DefaultSubstitutions":{},"HtmlPart":{},"RecommenderId":{},"Subject":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"TextPart":{}}},"S1r":{"type":"structure","members":{"Arn":{},"Message":{},"RequestID":{}}},"S1v":{"type":"structure","members":{"ApplicationId":{},"CompletedPieces":{"type":"integer"},"CompletionDate":{},"CreationDate":{},"Definition":{"type":"structure","members":{"RoleArn":{},"S3UrlPrefix":{},"SegmentId":{},"SegmentVersion":{"type":"integer"}},"required":["S3UrlPrefix","RoleArn"]},"FailedPieces":{"type":"integer"},"Failures":{"shape":"S14"},"Id":{},"JobStatus":{},"TotalFailures":{"type":"integer"},"TotalPieces":{"type":"integer"},"TotalProcessed":{"type":"integer"},"Type":{}},"required":["JobStatus","CreationDate","Type","Definition","Id","ApplicationId"]},"S22":{"type":"structure","members":{"ApplicationId":{},"CompletedPieces":{"type":"integer"},"CompletionDate":{},"CreationDate":{},"Definition":{"type":"structure","members":{"DefineSegment":{"type":"boolean"},"ExternalId":{},"Format":{},"RegisterEndpoints":{"type":"boolean"},"RoleArn":{},"S3Url":{},"SegmentId":{},"SegmentName":{}},"required":["Format","S3Url","RoleArn"]},"FailedPieces":{"type":"integer"},"Failures":{"shape":"S14"},"Id":{},"JobStatus":{},"TotalFailures":{"type":"integer"},"TotalPieces":{"type":"integer"},"TotalProcessed":{"type":"integer"},"Type":{}},"required":["JobStatus","CreationDate","Type","Definition","Id","ApplicationId"]},"S25":{"type":"structure","members":{"Content":{"shape":"So"},"CustomConfig":{"shape":"S4"},"Layout":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S29":{"type":"structure","members":{"Activities":{"shape":"S2a"},"CreationDate":{},"LastModifiedDate":{},"Limits":{"shape":"S3a"},"LocalTime":{"type":"boolean"},"Name":{},"QuietTime":{"shape":"S1c"},"RefreshFrequency":{},"Schedule":{"shape":"S3b"},"StartActivity":{},"StartCondition":{"shape":"S3d"},"State":{},"WaitForQuietTime":{"type":"boolean"},"RefreshOnSegmentUpdate":{"type":"boolean"}},"required":["Name"]},"S2a":{"type":"map","key":{},"value":{"type":"structure","members":{"CUSTOM":{"type":"structure","members":{"DeliveryUri":{},"EndpointTypes":{"shape":"Sc"},"MessageConfig":{"type":"structure","members":{"Data":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"ConditionalSplit":{"type":"structure","members":{"Condition":{"type":"structure","members":{"Conditions":{"type":"list","member":{"shape":"S2h"}},"Operator":{}}},"EvaluationWaitTime":{"shape":"S2u"},"FalseActivity":{},"TrueActivity":{}}},"Description":{},"EMAIL":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"FromAddress":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"Holdout":{"type":"structure","members":{"NextActivity":{},"Percentage":{"type":"integer"}},"required":["Percentage"]},"MultiCondition":{"type":"structure","members":{"Branches":{"type":"list","member":{"type":"structure","members":{"Condition":{"shape":"S2h"},"NextActivity":{}}}},"DefaultActivity":{},"EvaluationWaitTime":{"shape":"S2u"}}},"PUSH":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"TimeToLive":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"RandomSplit":{"type":"structure","members":{"Branches":{"type":"list","member":{"type":"structure","members":{"NextActivity":{},"Percentage":{"type":"integer"}}}}}},"SMS":{"type":"structure","members":{"MessageConfig":{"type":"structure","members":{"MessageType":{},"OriginationNumber":{},"SenderId":{},"EntityId":{},"TemplateId":{}}},"NextActivity":{},"TemplateName":{},"TemplateVersion":{}}},"Wait":{"type":"structure","members":{"NextActivity":{},"WaitTime":{"shape":"S2u"}}},"ContactCenter":{"type":"structure","members":{"NextActivity":{}}}}}},"S2h":{"type":"structure","members":{"EventCondition":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"MessageActivity":{}}},"SegmentCondition":{"shape":"S2j"},"SegmentDimensions":{"shape":"S2k","locationName":"segmentDimensions"}}},"S2j":{"type":"structure","members":{"SegmentId":{}},"required":["SegmentId"]},"S2k":{"type":"structure","members":{"Attributes":{"shape":"S11"},"Behavior":{"type":"structure","members":{"Recency":{"type":"structure","members":{"Duration":{},"RecencyType":{}},"required":["Duration","RecencyType"]}}},"Demographic":{"type":"structure","members":{"AppVersion":{"shape":"S15"},"Channel":{"shape":"S15"},"DeviceType":{"shape":"S15"},"Make":{"shape":"S15"},"Model":{"shape":"S15"},"Platform":{"shape":"S15"}}},"Location":{"type":"structure","members":{"Country":{"shape":"S15"},"GPSPoint":{"type":"structure","members":{"Coordinates":{"type":"structure","members":{"Latitude":{"type":"double"},"Longitude":{"type":"double"}},"required":["Latitude","Longitude"]},"RangeInKilometers":{"type":"double"}},"required":["Coordinates"]}}},"Metrics":{"shape":"S17"},"UserAttributes":{"shape":"S11"}}},"S2u":{"type":"structure","members":{"WaitFor":{},"WaitUntil":{}}},"S3a":{"type":"structure","members":{"DailyCap":{"type":"integer"},"EndpointReentryCap":{"type":"integer"},"MessagesPerSecond":{"type":"integer"},"EndpointReentryInterval":{}}},"S3b":{"type":"structure","members":{"EndTime":{"shape":"S3c"},"StartTime":{"shape":"S3c"},"Timezone":{}}},"S3c":{"type":"timestamp","timestampFormat":"iso8601"},"S3d":{"type":"structure","members":{"Description":{},"EventStartCondition":{"type":"structure","members":{"EventFilter":{"type":"structure","members":{"Dimensions":{"shape":"S10"},"FilterType":{}},"required":["FilterType","Dimensions"]},"SegmentId":{}}},"SegmentStartCondition":{"shape":"S2j"}}},"S3i":{"type":"structure","members":{"Activities":{"shape":"S2a"},"ApplicationId":{},"CreationDate":{},"Id":{},"LastModifiedDate":{},"Limits":{"shape":"S3a"},"LocalTime":{"type":"boolean"},"Name":{},"QuietTime":{"shape":"S1c"},"RefreshFrequency":{},"Schedule":{"shape":"S3b"},"StartActivity":{},"StartCondition":{"shape":"S3d"},"State":{},"tags":{"shape":"S4","locationName":"tags"},"WaitForQuietTime":{"type":"boolean"},"RefreshOnSegmentUpdate":{"type":"boolean"},"JourneyChannelSettings":{"type":"structure","members":{"ConnectCampaignArn":{},"ConnectCampaignExecutionRoleArn":{}}}},"required":["Name","Id","ApplicationId"]},"S3l":{"type":"structure","members":{"ADM":{"shape":"S3m"},"APNS":{"shape":"S3n"},"Baidu":{"shape":"S3m"},"Default":{"shape":"S3o"},"DefaultSubstitutions":{},"GCM":{"shape":"S3m"},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S3m":{"type":"structure","members":{"Action":{},"Body":{},"ImageIconUrl":{},"ImageUrl":{},"RawContent":{},"SmallImageIconUrl":{},"Sound":{},"Title":{},"Url":{}}},"S3n":{"type":"structure","members":{"Action":{},"Body":{},"MediaUrl":{},"RawContent":{},"Sound":{},"Title":{},"Url":{}}},"S3o":{"type":"structure","members":{"Action":{},"Body":{},"Sound":{},"Title":{},"Url":{}}},"S3t":{"type":"structure","members":{"Attributes":{"shape":"S4"},"CreationDate":{},"Description":{},"Id":{},"LastModifiedDate":{},"Name":{},"RecommendationProviderIdType":{},"RecommendationProviderRoleArn":{},"RecommendationProviderUri":{},"RecommendationTransformerUri":{},"RecommendationsDisplayName":{},"RecommendationsPerMessage":{"type":"integer"}},"required":["RecommendationProviderUri","LastModifiedDate","CreationDate","RecommendationProviderRoleArn","Id"]},"S3v":{"type":"structure","members":{"Dimensions":{"shape":"S2k"},"Name":{},"SegmentGroups":{"shape":"S3w"},"tags":{"shape":"S4","locationName":"tags"}}},"S3w":{"type":"structure","members":{"Groups":{"type":"list","member":{"type":"structure","members":{"Dimensions":{"type":"list","member":{"shape":"S2k"}},"SourceSegments":{"type":"list","member":{"type":"structure","members":{"Id":{},"Version":{"type":"integer"}},"required":["Id"]}},"SourceType":{},"Type":{}}}},"Include":{}}},"S46":{"type":"structure","members":{"ApplicationId":{},"Arn":{},"CreationDate":{},"Dimensions":{"shape":"S2k"},"Id":{},"ImportDefinition":{"type":"structure","members":{"ChannelCounts":{"type":"map","key":{},"value":{"type":"integer"}},"ExternalId":{},"Format":{},"RoleArn":{},"S3Url":{},"Size":{"type":"integer"}},"required":["Format","S3Url","Size","ExternalId","RoleArn"]},"LastModifiedDate":{},"Name":{},"SegmentGroups":{"shape":"S3w"},"SegmentType":{},"tags":{"shape":"S4","locationName":"tags"},"Version":{"type":"integer"}},"required":["SegmentType","CreationDate","Id","Arn","ApplicationId"]},"S4b":{"type":"structure","members":{"Body":{},"DefaultSubstitutions":{},"RecommenderId":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{}}},"S4e":{"type":"structure","members":{"Body":{},"DefaultSubstitutions":{},"LanguageCode":{},"tags":{"shape":"S4","locationName":"tags"},"TemplateDescription":{},"VoiceId":{}}},"S4i":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4l":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4o":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4r":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4u":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"DefaultAuthenticationMethod":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"HasTokenKey":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S4z":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Credential":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Credential","Platform"]},"S54":{"type":"structure","members":{"ApplicationId":{},"ConfigurationSet":{},"CreationDate":{},"Enabled":{"type":"boolean"},"FromAddress":{},"HasCredential":{"type":"boolean"},"Id":{},"Identity":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"MessagesPerSecond":{"type":"integer"},"Platform":{},"RoleArn":{},"Version":{"type":"integer"}},"required":["Platform"]},"S57":{"type":"structure","members":{"Message":{},"RequestID":{}}},"S5a":{"type":"structure","members":{"Address":{},"ApplicationId":{},"Attributes":{"shape":"S5b"},"ChannelType":{},"CohortId":{},"CreationDate":{},"Demographic":{"shape":"S5d"},"EffectiveDate":{},"EndpointStatus":{},"Id":{},"Location":{"shape":"S5e"},"Metrics":{"shape":"S5f"},"OptOut":{},"RequestId":{},"User":{"shape":"S5g"}}},"S5b":{"type":"map","key":{},"value":{"shape":"S14"}},"S5d":{"type":"structure","members":{"AppVersion":{},"Locale":{},"Make":{},"Model":{},"ModelVersion":{},"Platform":{},"PlatformVersion":{},"Timezone":{}}},"S5e":{"type":"structure","members":{"City":{},"Country":{},"Latitude":{"type":"double"},"Longitude":{"type":"double"},"PostalCode":{},"Region":{}}},"S5f":{"type":"map","key":{},"value":{"type":"double"}},"S5g":{"type":"structure","members":{"UserAttributes":{"shape":"S5b"},"UserId":{}}},"S5j":{"type":"structure","members":{"ApplicationId":{},"DestinationStreamArn":{},"ExternalId":{},"LastModifiedDate":{},"LastUpdatedBy":{},"RoleArn":{}},"required":["ApplicationId","RoleArn","DestinationStreamArn"]},"S5m":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Credential":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Credential","Platform"]},"S5z":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"PromotionalMessagesPerSecond":{"type":"integer"},"SenderId":{},"ShortCode":{},"TransactionalMessagesPerSecond":{"type":"integer"},"Version":{"type":"integer"}},"required":["Platform"]},"S64":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S5a"}}},"required":["Item"]},"S68":{"type":"structure","members":{"ApplicationId":{},"CreationDate":{},"Enabled":{"type":"boolean"},"HasCredential":{"type":"boolean"},"Id":{},"IsArchived":{"type":"boolean"},"LastModifiedBy":{},"LastModifiedDate":{},"Platform":{},"Version":{"type":"integer"}},"required":["Platform"]},"S6q":{"type":"structure","members":{"Rows":{"type":"list","member":{"type":"structure","members":{"GroupedBys":{"shape":"S6t"},"Values":{"shape":"S6t"}},"required":["GroupedBys","Values"]}}},"required":["Rows"]},"S6t":{"type":"list","member":{"type":"structure","members":{"Key":{},"Type":{},"Value":{}},"required":["Type","Value","Key"]}},"S6x":{"type":"structure","members":{"ApplicationId":{},"CampaignHook":{"shape":"S1f"},"LastModifiedDate":{},"Limits":{"shape":"S1h"},"QuietTime":{"shape":"S1c"}},"required":["ApplicationId"]},"S7i":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S1j"}},"NextToken":{}},"required":["Item"]},"S85":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S1v"}},"NextToken":{}},"required":["Item"]},"S8d":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S22"}},"NextToken":{}},"required":["Item"]},"S9j":{"type":"structure","members":{"Item":{"type":"list","member":{"shape":"S46"}},"NextToken":{}},"required":["Item"]},"Sa5":{"type":"structure","members":{"tags":{"shape":"S4","locationName":"tags"}},"required":["tags"]},"Sba":{"type":"map","key":{},"value":{"type":"structure","members":{"BodyOverride":{},"Context":{"shape":"S4"},"RawContent":{},"Substitutions":{"shape":"S5b"},"TitleOverride":{}}}},"Sbc":{"type":"structure","members":{"ADMMessage":{"type":"structure","members":{"Action":{},"Body":{},"ConsolidationKey":{},"Data":{"shape":"S4"},"ExpiresAfter":{},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"MD5":{},"RawContent":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"Title":{},"Url":{}}},"APNSMessage":{"type":"structure","members":{"APNSPushType":{},"Action":{},"Badge":{"type":"integer"},"Body":{},"Category":{},"CollapseId":{},"Data":{"shape":"S4"},"MediaUrl":{},"PreferredAuthenticationMethod":{},"Priority":{},"RawContent":{},"SilentPush":{"type":"boolean"},"Sound":{},"Substitutions":{"shape":"S5b"},"ThreadId":{},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"BaiduMessage":{"type":"structure","members":{"Action":{},"Body":{},"Data":{"shape":"S4"},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"RawContent":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"DefaultMessage":{"type":"structure","members":{"Body":{},"Substitutions":{"shape":"S5b"}}},"DefaultPushNotificationMessage":{"type":"structure","members":{"Action":{},"Body":{},"Data":{"shape":"S4"},"SilentPush":{"type":"boolean"},"Substitutions":{"shape":"S5b"},"Title":{},"Url":{}}},"EmailMessage":{"type":"structure","members":{"Body":{},"FeedbackForwardingAddress":{},"FromAddress":{},"RawEmail":{"type":"structure","members":{"Data":{"type":"blob"}}},"ReplyToAddresses":{"shape":"S14"},"SimpleEmail":{"type":"structure","members":{"HtmlPart":{"shape":"Sbm"},"Subject":{"shape":"Sbm"},"TextPart":{"shape":"Sbm"}}},"Substitutions":{"shape":"S5b"}}},"GCMMessage":{"type":"structure","members":{"Action":{},"Body":{},"CollapseKey":{},"Data":{"shape":"S4"},"IconReference":{},"ImageIconUrl":{},"ImageUrl":{},"Priority":{},"RawContent":{},"RestrictedPackageName":{},"SilentPush":{"type":"boolean"},"SmallImageIconUrl":{},"Sound":{},"Substitutions":{"shape":"S5b"},"TimeToLive":{"type":"integer"},"Title":{},"Url":{}}},"SMSMessage":{"type":"structure","members":{"Body":{},"Keyword":{},"MediaUrl":{},"MessageType":{},"OriginationNumber":{},"SenderId":{},"Substitutions":{"shape":"S5b"},"EntityId":{},"TemplateId":{}}},"VoiceMessage":{"type":"structure","members":{"Body":{},"LanguageCode":{},"OriginationNumber":{},"Substitutions":{"shape":"S5b"},"VoiceId":{}}}}},"Sbm":{"type":"structure","members":{"Charset":{},"Data":{}}},"Sbr":{"type":"structure","members":{"ApplicationId":{},"EndpointResult":{"shape":"Sbs"},"RequestId":{},"Result":{"type":"map","key":{},"value":{"type":"structure","members":{"DeliveryStatus":{},"MessageId":{},"StatusCode":{"type":"integer"},"StatusMessage":{},"UpdatedToken":{}},"required":["DeliveryStatus","StatusCode"]}}},"required":["ApplicationId"]},"Sbs":{"type":"map","key":{},"value":{"type":"structure","members":{"Address":{},"DeliveryStatus":{},"MessageId":{},"StatusCode":{"type":"integer"},"StatusMessage":{},"UpdatedToken":{}},"required":["DeliveryStatus","StatusCode"]}}}} /***/ }), /* 318 */ @@ -52528,13 +52528,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 855 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-03","endpointPrefix":"outposts","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Outposts","serviceFullName":"AWS Outposts","serviceId":"Outposts","signatureVersion":"v4","signingName":"outposts","uid":"outposts-2019-12-03"},"operations":{"CreateOrder":{"http":{"requestUri":"/orders"},"input":{"type":"structure","required":["OutpostIdentifier","LineItems","PaymentOption"],"members":{"OutpostIdentifier":{},"LineItems":{"type":"list","member":{"type":"structure","members":{"CatalogItemId":{},"Quantity":{"type":"integer"}}}},"PaymentOption":{},"PaymentTerm":{}}},"output":{"type":"structure","members":{"Order":{"type":"structure","members":{"OutpostId":{},"OrderId":{},"Status":{},"LineItems":{"type":"list","member":{"type":"structure","members":{"CatalogItemId":{},"LineItemId":{},"Quantity":{"type":"integer"},"Status":{}}}},"PaymentOption":{},"OrderSubmissionDate":{"type":"timestamp"},"OrderFulfilledDate":{"type":"timestamp"}}}}}},"CreateOutpost":{"http":{"requestUri":"/outposts"},"input":{"type":"structure","required":["Name","SiteId"],"members":{"Name":{},"Description":{},"SiteId":{},"AvailabilityZone":{},"AvailabilityZoneId":{},"Tags":{"shape":"Sp"}}},"output":{"type":"structure","members":{"Outpost":{"shape":"St"}}}},"DeleteOutpost":{"http":{"method":"DELETE","requestUri":"/outposts/{OutpostId}"},"input":{"type":"structure","required":["OutpostId"],"members":{"OutpostId":{"location":"uri","locationName":"OutpostId"}}},"output":{"type":"structure","members":{}}},"DeleteSite":{"http":{"method":"DELETE","requestUri":"/sites/{SiteId}"},"input":{"type":"structure","required":["SiteId"],"members":{"SiteId":{"location":"uri","locationName":"SiteId"}}},"output":{"type":"structure","members":{}}},"GetOutpost":{"http":{"method":"GET","requestUri":"/outposts/{OutpostId}"},"input":{"type":"structure","required":["OutpostId"],"members":{"OutpostId":{"location":"uri","locationName":"OutpostId"}}},"output":{"type":"structure","members":{"Outpost":{"shape":"St"}}}},"GetOutpostInstanceTypes":{"http":{"method":"GET","requestUri":"/outposts/{OutpostId}/instanceTypes"},"input":{"type":"structure","required":["OutpostId"],"members":{"OutpostId":{"location":"uri","locationName":"OutpostId"},"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"InstanceTypes":{"type":"list","member":{"type":"structure","members":{"InstanceType":{}}}},"NextToken":{},"OutpostId":{},"OutpostArn":{}}}},"ListOutposts":{"http":{"method":"GET","requestUri":"/outposts"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"LifeCycleStatusFilter":{"location":"querystring","locationName":"LifeCycleStatusFilter","type":"list","member":{}},"AvailabilityZoneFilter":{"location":"querystring","locationName":"AvailabilityZoneFilter","type":"list","member":{}},"AvailabilityZoneIdFilter":{"location":"querystring","locationName":"AvailabilityZoneIdFilter","type":"list","member":{}}}},"output":{"type":"structure","members":{"Outposts":{"type":"list","member":{"shape":"St"}},"NextToken":{}}}},"ListSites":{"http":{"method":"GET","requestUri":"/sites"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"Sites":{"type":"list","member":{"type":"structure","members":{"SiteId":{},"AccountId":{},"Name":{},"Description":{},"Tags":{"shape":"Sp"},"SiteArn":{}}}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sp"}}}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"Sp"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}}},"shapes":{"Sp":{"type":"map","key":{},"value":{}},"St":{"type":"structure","members":{"OutpostId":{},"OwnerId":{},"OutpostArn":{},"SiteId":{},"Name":{},"Description":{},"LifeCycleStatus":{},"AvailabilityZone":{},"AvailabilityZoneId":{},"Tags":{"shape":"Sp"},"SiteArn":{}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2019-12-03","endpointPrefix":"outposts","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"Outposts","serviceFullName":"AWS Outposts","serviceId":"Outposts","signatureVersion":"v4","signingName":"outposts","uid":"outposts-2019-12-03"},"operations":{"CancelOrder":{"http":{"requestUri":"/orders/{OrderId}/cancel"},"input":{"type":"structure","required":["OrderId"],"members":{"OrderId":{"location":"uri","locationName":"OrderId"}}},"output":{"type":"structure","members":{}}},"CreateOrder":{"http":{"requestUri":"/orders"},"input":{"type":"structure","required":["OutpostIdentifier","LineItems","PaymentOption"],"members":{"OutpostIdentifier":{},"LineItems":{"type":"list","member":{"type":"structure","members":{"CatalogItemId":{},"Quantity":{"type":"integer"}}}},"PaymentOption":{},"PaymentTerm":{}}},"output":{"type":"structure","members":{"Order":{"shape":"Sd"}}}},"CreateOutpost":{"http":{"requestUri":"/outposts"},"input":{"type":"structure","required":["Name","SiteId"],"members":{"Name":{},"Description":{},"SiteId":{},"AvailabilityZone":{},"AvailabilityZoneId":{},"Tags":{"shape":"Sr"}}},"output":{"type":"structure","members":{"Outpost":{"shape":"Sv"}}}},"CreateSite":{"http":{"requestUri":"/sites"},"input":{"type":"structure","required":["Name"],"members":{"Name":{},"Description":{},"Notes":{},"Tags":{"shape":"Sr"},"OperatingAddress":{"shape":"S15"},"ShippingAddress":{"shape":"S15"},"RackPhysicalProperties":{"shape":"S1h"}}},"output":{"type":"structure","members":{"Site":{"shape":"S1s"}}}},"DeleteOutpost":{"http":{"method":"DELETE","requestUri":"/outposts/{OutpostId}"},"input":{"type":"structure","required":["OutpostId"],"members":{"OutpostId":{"location":"uri","locationName":"OutpostId"}}},"output":{"type":"structure","members":{}}},"DeleteSite":{"http":{"method":"DELETE","requestUri":"/sites/{SiteId}"},"input":{"type":"structure","required":["SiteId"],"members":{"SiteId":{"location":"uri","locationName":"SiteId"}}},"output":{"type":"structure","members":{}}},"GetCatalogItem":{"http":{"method":"GET","requestUri":"/catalog/item/{CatalogItemId}"},"input":{"type":"structure","required":["CatalogItemId"],"members":{"CatalogItemId":{"location":"uri","locationName":"CatalogItemId"}}},"output":{"type":"structure","members":{"CatalogItem":{"shape":"S20"}}}},"GetOrder":{"http":{"method":"GET","requestUri":"/orders/{OrderId}"},"input":{"type":"structure","required":["OrderId"],"members":{"OrderId":{"location":"uri","locationName":"OrderId"}}},"output":{"type":"structure","members":{"Order":{"shape":"Sd"}}}},"GetOutpost":{"http":{"method":"GET","requestUri":"/outposts/{OutpostId}"},"input":{"type":"structure","required":["OutpostId"],"members":{"OutpostId":{"location":"uri","locationName":"OutpostId"}}},"output":{"type":"structure","members":{"Outpost":{"shape":"Sv"}}}},"GetOutpostInstanceTypes":{"http":{"method":"GET","requestUri":"/outposts/{OutpostId}/instanceTypes"},"input":{"type":"structure","required":["OutpostId"],"members":{"OutpostId":{"location":"uri","locationName":"OutpostId"},"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"InstanceTypes":{"type":"list","member":{"type":"structure","members":{"InstanceType":{}}}},"NextToken":{},"OutpostId":{},"OutpostArn":{}}}},"GetSite":{"http":{"method":"GET","requestUri":"/sites/{SiteId}"},"input":{"type":"structure","required":["SiteId"],"members":{"SiteId":{"location":"uri","locationName":"SiteId"}}},"output":{"type":"structure","members":{"Site":{"shape":"S1s"}}}},"GetSiteAddress":{"http":{"method":"GET","requestUri":"/sites/{SiteId}/address"},"input":{"type":"structure","required":["SiteId","AddressType"],"members":{"SiteId":{"location":"uri","locationName":"SiteId"},"AddressType":{"location":"querystring","locationName":"AddressType"}}},"output":{"type":"structure","members":{"SiteId":{},"AddressType":{},"Address":{"shape":"S15"}}}},"ListCatalogItems":{"http":{"method":"GET","requestUri":"/catalog/items"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"ItemClassFilter":{"location":"querystring","locationName":"ItemClassFilter","type":"list","member":{}},"SupportedStorageFilter":{"shape":"S2b","location":"querystring","locationName":"SupportedStorageFilter"},"EC2FamilyFilter":{"location":"querystring","locationName":"EC2FamilyFilter","type":"list","member":{}}}},"output":{"type":"structure","members":{"CatalogItems":{"type":"list","member":{"shape":"S20"}},"NextToken":{}}}},"ListOrders":{"http":{"method":"GET","requestUri":"/list-orders"},"input":{"type":"structure","members":{"OutpostIdentifierFilter":{"location":"querystring","locationName":"OutpostIdentifierFilter"},"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"Orders":{"type":"list","member":{"type":"structure","members":{"OutpostId":{},"OrderId":{},"OrderType":{},"Status":{},"LineItemCountsByStatus":{"type":"map","key":{},"value":{"type":"integer"}},"OrderSubmissionDate":{"type":"timestamp"},"OrderFulfilledDate":{"type":"timestamp"}}}},"NextToken":{}}}},"ListOutposts":{"http":{"method":"GET","requestUri":"/outposts"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"},"LifeCycleStatusFilter":{"location":"querystring","locationName":"LifeCycleStatusFilter","type":"list","member":{}},"AvailabilityZoneFilter":{"location":"querystring","locationName":"AvailabilityZoneFilter","type":"list","member":{}},"AvailabilityZoneIdFilter":{"location":"querystring","locationName":"AvailabilityZoneIdFilter","type":"list","member":{}}}},"output":{"type":"structure","members":{"Outposts":{"type":"list","member":{"shape":"Sv"}},"NextToken":{}}}},"ListSites":{"http":{"method":"GET","requestUri":"/sites"},"input":{"type":"structure","members":{"NextToken":{"location":"querystring","locationName":"NextToken"},"MaxResults":{"location":"querystring","locationName":"MaxResults","type":"integer"}}},"output":{"type":"structure","members":{"Sites":{"type":"list","member":{"shape":"S1s"}},"NextToken":{}}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"}}},"output":{"type":"structure","members":{"Tags":{"shape":"Sr"}}}},"TagResource":{"http":{"requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","Tags"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"Tags":{"shape":"Sr"}}},"output":{"type":"structure","members":{}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{ResourceArn}"},"input":{"type":"structure","required":["ResourceArn","TagKeys"],"members":{"ResourceArn":{"location":"uri","locationName":"ResourceArn"},"TagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{}}}},"output":{"type":"structure","members":{}}},"UpdateSite":{"http":{"method":"PATCH","requestUri":"/sites/{SiteId}"},"input":{"type":"structure","required":["SiteId"],"members":{"SiteId":{"location":"uri","locationName":"SiteId"},"Name":{},"Description":{},"Notes":{}}},"output":{"type":"structure","members":{"Site":{"shape":"S1s"}}}},"UpdateSiteAddress":{"http":{"method":"PUT","requestUri":"/sites/{SiteId}/address"},"input":{"type":"structure","required":["SiteId","AddressType","Address"],"members":{"SiteId":{"location":"uri","locationName":"SiteId"},"AddressType":{},"Address":{"shape":"S15"}}},"output":{"type":"structure","members":{"AddressType":{},"Address":{"shape":"S15"}}}},"UpdateSiteRackPhysicalProperties":{"http":{"method":"PATCH","requestUri":"/sites/{SiteId}/rackPhysicalProperties"},"input":{"type":"structure","required":["SiteId"],"members":{"SiteId":{"location":"uri","locationName":"SiteId"},"PowerDrawKva":{},"PowerPhase":{},"PowerConnector":{},"PowerFeedDrop":{},"UplinkGbps":{},"UplinkCount":{},"FiberOpticCableType":{},"OpticalStandard":{},"MaximumSupportedWeightLbs":{}}},"output":{"type":"structure","members":{"Site":{"shape":"S1s"}}}}},"shapes":{"Sd":{"type":"structure","members":{"OutpostId":{},"OrderId":{},"Status":{},"LineItems":{"type":"list","member":{"type":"structure","members":{"CatalogItemId":{},"LineItemId":{},"Quantity":{"type":"integer"},"Status":{}}}},"PaymentOption":{},"OrderSubmissionDate":{"type":"timestamp"},"OrderFulfilledDate":{"type":"timestamp"}}},"Sr":{"type":"map","key":{},"value":{}},"Sv":{"type":"structure","members":{"OutpostId":{},"OwnerId":{},"OutpostArn":{},"SiteId":{},"Name":{},"Description":{},"LifeCycleStatus":{},"AvailabilityZone":{},"AvailabilityZoneId":{},"Tags":{"shape":"Sr"},"SiteArn":{}}},"S15":{"type":"structure","required":["AddressLine1","City","StateOrRegion","PostalCode","CountryCode"],"members":{"ContactName":{},"ContactPhoneNumber":{},"AddressLine1":{},"AddressLine2":{},"AddressLine3":{},"City":{},"StateOrRegion":{},"DistrictOrCounty":{},"PostalCode":{},"CountryCode":{},"Municipality":{}}},"S1h":{"type":"structure","members":{"PowerDrawKva":{},"PowerPhase":{},"PowerConnector":{},"PowerFeedDrop":{},"UplinkGbps":{},"UplinkCount":{},"FiberOpticCableType":{},"OpticalStandard":{},"MaximumSupportedWeightLbs":{}}},"S1s":{"type":"structure","members":{"SiteId":{},"AccountId":{},"Name":{},"Description":{},"Tags":{"shape":"Sr"},"SiteArn":{},"Notes":{},"OperatingAddressCountryCode":{},"OperatingAddressStateOrRegion":{},"OperatingAddressCity":{},"RackPhysicalProperties":{"shape":"S1h"}}},"S20":{"type":"structure","members":{"CatalogItemId":{},"ItemStatus":{},"EC2Capacities":{"type":"list","member":{"type":"structure","members":{"Family":{},"MaxSize":{},"Quantity":{}}}},"PowerKva":{"type":"float"},"WeightLbs":{"type":"integer"},"SupportedUplinkGbps":{"type":"list","member":{"type":"integer"}},"SupportedStorage":{"shape":"S2b"}}},"S2b":{"type":"list","member":{}}}} /***/ }), /* 856 */ /***/ (function(module, exports) { - module.exports = {"pagination":{"ListOutposts":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListSites":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}} + module.exports = {"pagination":{"ListCatalogItems":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListOrders":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListOutposts":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"},"ListSites":{"input_token":"NextToken","output_token":"NextToken","limit_key":"MaxResults"}}} /***/ }), /* 857 */ @@ -54241,13 +54241,13 @@ return /******/ (function(modules) { // webpackBootstrap /* 999 */ /***/ (function(module, exports) { - module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-02-26","endpointPrefix":"mgn","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"mgn","serviceFullName":"Application Migration Service","serviceId":"mgn","signatureVersion":"v4","signingName":"mgn","uid":"mgn-2020-02-26"},"operations":{"ChangeServerLifeCycleState":{"http":{"requestUri":"/ChangeServerLifeCycleState","responseCode":200},"input":{"type":"structure","required":["lifeCycle","sourceServerID"],"members":{"lifeCycle":{"type":"structure","required":["state"],"members":{"state":{}}},"sourceServerID":{}}},"output":{"shape":"S5"}},"CreateReplicationConfigurationTemplate":{"http":{"requestUri":"/CreateReplicationConfigurationTemplate","responseCode":201},"input":{"type":"structure","required":["associateDefaultSecurityGroup","bandwidthThrottling","createPublicIP","dataPlaneRouting","defaultLargeStagingDiskType","ebsEncryption","replicationServerInstanceType","replicationServersSecurityGroupsIDs","stagingAreaSubnetId","stagingAreaTags","useDedicatedReplicationServer"],"members":{"associateDefaultSecurityGroup":{"type":"boolean"},"bandwidthThrottling":{"type":"long"},"createPublicIP":{"type":"boolean"},"dataPlaneRouting":{},"defaultLargeStagingDiskType":{},"ebsEncryption":{},"ebsEncryptionKeyArn":{},"replicationServerInstanceType":{},"replicationServersSecurityGroupsIDs":{"shape":"S1j"},"stagingAreaSubnetId":{},"stagingAreaTags":{"shape":"S1c"},"tags":{"shape":"S1c"},"useDedicatedReplicationServer":{"type":"boolean"}}},"output":{"shape":"S1m"}},"DeleteJob":{"http":{"requestUri":"/DeleteJob","responseCode":204},"input":{"type":"structure","required":["jobID"],"members":{"jobID":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteReplicationConfigurationTemplate":{"http":{"requestUri":"/DeleteReplicationConfigurationTemplate","responseCode":204},"input":{"type":"structure","required":["replicationConfigurationTemplateID"],"members":{"replicationConfigurationTemplateID":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteSourceServer":{"http":{"requestUri":"/DeleteSourceServer","responseCode":204},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DescribeJobLogItems":{"http":{"requestUri":"/DescribeJobLogItems","responseCode":200},"input":{"type":"structure","required":["jobID"],"members":{"jobID":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"items":{"type":"list","member":{"type":"structure","members":{"event":{},"eventData":{"type":"structure","members":{"conversionServerID":{},"rawError":{},"sourceServerID":{},"targetInstanceID":{}}},"logDateTime":{}}}},"nextToken":{}}}},"DescribeJobs":{"http":{"requestUri":"/DescribeJobs","responseCode":200},"input":{"type":"structure","required":["filters"],"members":{"filters":{"type":"structure","members":{"fromDate":{},"jobIDs":{"type":"list","member":{}},"toDate":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"items":{"type":"list","member":{"shape":"S27"}},"nextToken":{}}}},"DescribeReplicationConfigurationTemplates":{"http":{"requestUri":"/DescribeReplicationConfigurationTemplates","responseCode":200},"input":{"type":"structure","required":["replicationConfigurationTemplateIDs"],"members":{"maxResults":{"type":"integer"},"nextToken":{},"replicationConfigurationTemplateIDs":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"items":{"type":"list","member":{"shape":"S1m"}},"nextToken":{}}}},"DescribeSourceServers":{"http":{"requestUri":"/DescribeSourceServers","responseCode":200},"input":{"type":"structure","required":["filters"],"members":{"filters":{"type":"structure","members":{"isArchived":{"type":"boolean"},"sourceServerIDs":{"type":"list","member":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"items":{"type":"list","member":{"shape":"S5"}},"nextToken":{}}}},"DisconnectFromService":{"http":{"requestUri":"/DisconnectFromService","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S5"}},"FinalizeCutover":{"http":{"requestUri":"/FinalizeCutover","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S5"}},"GetLaunchConfiguration":{"http":{"requestUri":"/GetLaunchConfiguration","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S2q"}},"GetReplicationConfiguration":{"http":{"requestUri":"/GetReplicationConfiguration","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S2w"}},"InitializeService":{"http":{"requestUri":"/InitializeService","responseCode":204},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1c"}}}},"MarkAsArchived":{"http":{"requestUri":"/MarkAsArchived","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S5"}},"RetryDataReplication":{"http":{"requestUri":"/RetryDataReplication","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S5"}},"StartCutover":{"http":{"requestUri":"/StartCutover","responseCode":202},"input":{"type":"structure","required":["sourceServerIDs"],"members":{"sourceServerIDs":{"type":"list","member":{}},"tags":{"shape":"S1c"}}},"output":{"type":"structure","members":{"job":{"shape":"S27"}}}},"StartTest":{"http":{"requestUri":"/StartTest","responseCode":202},"input":{"type":"structure","required":["sourceServerIDs"],"members":{"sourceServerIDs":{"type":"list","member":{}},"tags":{"shape":"S1c"}}},"output":{"type":"structure","members":{"job":{"shape":"S27"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S1c"}}},"idempotent":true},"TerminateTargetInstances":{"http":{"requestUri":"/TerminateTargetInstances","responseCode":202},"input":{"type":"structure","required":["sourceServerIDs"],"members":{"sourceServerIDs":{"type":"list","member":{}},"tags":{"shape":"S1c"}}},"output":{"type":"structure","members":{"job":{"shape":"S27"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{},"sensitive":true}}},"idempotent":true},"UpdateLaunchConfiguration":{"http":{"requestUri":"/UpdateLaunchConfiguration","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"copyPrivateIp":{"type":"boolean"},"copyTags":{"type":"boolean"},"launchDisposition":{},"licensing":{"shape":"S2s"},"name":{},"sourceServerID":{},"targetInstanceTypeRightSizingMethod":{}}},"output":{"shape":"S2q"},"idempotent":true},"UpdateReplicationConfiguration":{"http":{"requestUri":"/UpdateReplicationConfiguration","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"associateDefaultSecurityGroup":{"type":"boolean"},"bandwidthThrottling":{"type":"long"},"createPublicIP":{"type":"boolean"},"dataPlaneRouting":{},"defaultLargeStagingDiskType":{},"ebsEncryption":{},"ebsEncryptionKeyArn":{},"name":{},"replicatedDisks":{"shape":"S2x"},"replicationServerInstanceType":{},"replicationServersSecurityGroupsIDs":{"shape":"S1j"},"sourceServerID":{},"stagingAreaSubnetId":{},"stagingAreaTags":{"shape":"S1c"},"useDedicatedReplicationServer":{"type":"boolean"}}},"output":{"shape":"S2w"},"idempotent":true},"UpdateReplicationConfigurationTemplate":{"http":{"requestUri":"/UpdateReplicationConfigurationTemplate","responseCode":200},"input":{"type":"structure","required":["replicationConfigurationTemplateID"],"members":{"arn":{},"associateDefaultSecurityGroup":{"type":"boolean"},"bandwidthThrottling":{"type":"long"},"createPublicIP":{"type":"boolean"},"dataPlaneRouting":{},"defaultLargeStagingDiskType":{},"ebsEncryption":{},"ebsEncryptionKeyArn":{},"replicationConfigurationTemplateID":{},"replicationServerInstanceType":{},"replicationServersSecurityGroupsIDs":{"shape":"S1j"},"stagingAreaSubnetId":{},"stagingAreaTags":{"shape":"S1c"},"useDedicatedReplicationServer":{"type":"boolean"}}},"output":{"shape":"S1m"}}},"shapes":{"S5":{"type":"structure","members":{"arn":{},"dataReplicationInfo":{"type":"structure","members":{"dataReplicationError":{"type":"structure","members":{"error":{},"rawError":{}}},"dataReplicationInitiation":{"type":"structure","members":{"nextAttemptDateTime":{},"startDateTime":{},"steps":{"type":"list","member":{"type":"structure","members":{"name":{},"status":{}}}}}},"dataReplicationState":{},"etaDateTime":{},"lagDuration":{},"replicatedDisks":{"type":"list","member":{"type":"structure","members":{"backloggedStorageBytes":{"type":"long"},"deviceName":{},"replicatedStorageBytes":{"type":"long"},"rescannedStorageBytes":{"type":"long"},"totalStorageBytes":{"type":"long"}}}}}},"isArchived":{"type":"boolean"},"launchedInstance":{"type":"structure","members":{"ec2InstanceID":{},"firstBoot":{},"jobID":{}}},"lifeCycle":{"type":"structure","members":{"addedToServiceDateTime":{},"elapsedReplicationDuration":{},"firstByteDateTime":{},"lastCutover":{"type":"structure","members":{"finalized":{"type":"structure","members":{"apiCallDateTime":{}}},"initiated":{"type":"structure","members":{"apiCallDateTime":{},"jobID":{}}},"reverted":{"type":"structure","members":{"apiCallDateTime":{}}}}},"lastSeenByServiceDateTime":{},"lastTest":{"type":"structure","members":{"finalized":{"type":"structure","members":{"apiCallDateTime":{}}},"initiated":{"type":"structure","members":{"apiCallDateTime":{},"jobID":{}}},"reverted":{"type":"structure","members":{"apiCallDateTime":{}}}}},"state":{}}},"sourceProperties":{"type":"structure","members":{"cpus":{"type":"list","member":{"type":"structure","members":{"cores":{"type":"long"},"modelName":{}}}},"disks":{"type":"list","member":{"type":"structure","members":{"bytes":{"type":"long"},"deviceName":{}}}},"identificationHints":{"type":"structure","members":{"awsInstanceID":{},"fqdn":{},"hostname":{},"vmWareUuid":{}}},"lastUpdatedDateTime":{},"networkInterfaces":{"type":"list","member":{"type":"structure","members":{"ips":{"type":"list","member":{}},"isPrimary":{"type":"boolean"},"macAddress":{}}}},"os":{"type":"structure","members":{"fullString":{}}},"ramBytes":{"type":"long"},"recommendedInstanceType":{}}},"sourceServerID":{},"tags":{"shape":"S1c"}}},"S1c":{"type":"map","key":{},"value":{},"sensitive":true},"S1j":{"type":"list","member":{}},"S1m":{"type":"structure","required":["replicationConfigurationTemplateID"],"members":{"arn":{},"associateDefaultSecurityGroup":{"type":"boolean"},"bandwidthThrottling":{"type":"long"},"createPublicIP":{"type":"boolean"},"dataPlaneRouting":{},"defaultLargeStagingDiskType":{},"ebsEncryption":{},"ebsEncryptionKeyArn":{},"replicationConfigurationTemplateID":{},"replicationServerInstanceType":{},"replicationServersSecurityGroupsIDs":{"shape":"S1j"},"stagingAreaSubnetId":{},"stagingAreaTags":{"shape":"S1c"},"tags":{"shape":"S1c"},"useDedicatedReplicationServer":{"type":"boolean"}}},"S27":{"type":"structure","required":["jobID"],"members":{"arn":{},"creationDateTime":{},"endDateTime":{},"initiatedBy":{},"jobID":{},"participatingServers":{"type":"list","member":{"type":"structure","members":{"launchStatus":{},"sourceServerID":{}}}},"status":{},"tags":{"shape":"S1c"},"type":{}}},"S2q":{"type":"structure","members":{"copyPrivateIp":{"type":"boolean"},"copyTags":{"type":"boolean"},"ec2LaunchTemplateID":{},"launchDisposition":{},"licensing":{"shape":"S2s"},"name":{},"sourceServerID":{},"targetInstanceTypeRightSizingMethod":{}}},"S2s":{"type":"structure","members":{"osByol":{"type":"boolean"}}},"S2w":{"type":"structure","members":{"associateDefaultSecurityGroup":{"type":"boolean"},"bandwidthThrottling":{"type":"long"},"createPublicIP":{"type":"boolean"},"dataPlaneRouting":{},"defaultLargeStagingDiskType":{},"ebsEncryption":{},"ebsEncryptionKeyArn":{},"name":{},"replicatedDisks":{"shape":"S2x"},"replicationServerInstanceType":{},"replicationServersSecurityGroupsIDs":{"shape":"S1j"},"sourceServerID":{},"stagingAreaSubnetId":{},"stagingAreaTags":{"shape":"S1c"},"useDedicatedReplicationServer":{"type":"boolean"}}},"S2x":{"type":"list","member":{"type":"structure","members":{"deviceName":{},"iops":{"type":"long"},"isBootDisk":{"type":"boolean"},"stagingDiskType":{}}}}}} + module.exports = {"version":"2.0","metadata":{"apiVersion":"2020-02-26","endpointPrefix":"mgn","jsonVersion":"1.1","protocol":"rest-json","serviceAbbreviation":"mgn","serviceFullName":"Application Migration Service","serviceId":"mgn","signatureVersion":"v4","signingName":"mgn","uid":"mgn-2020-02-26"},"operations":{"ChangeServerLifeCycleState":{"http":{"requestUri":"/ChangeServerLifeCycleState","responseCode":200},"input":{"type":"structure","required":["lifeCycle","sourceServerID"],"members":{"lifeCycle":{"type":"structure","required":["state"],"members":{"state":{}}},"sourceServerID":{}}},"output":{"shape":"S5"}},"CreateReplicationConfigurationTemplate":{"http":{"requestUri":"/CreateReplicationConfigurationTemplate","responseCode":201},"input":{"type":"structure","required":["associateDefaultSecurityGroup","bandwidthThrottling","createPublicIP","dataPlaneRouting","defaultLargeStagingDiskType","ebsEncryption","replicationServerInstanceType","replicationServersSecurityGroupsIDs","stagingAreaSubnetId","stagingAreaTags","useDedicatedReplicationServer"],"members":{"associateDefaultSecurityGroup":{"type":"boolean"},"bandwidthThrottling":{"type":"long"},"createPublicIP":{"type":"boolean"},"dataPlaneRouting":{},"defaultLargeStagingDiskType":{},"ebsEncryption":{},"ebsEncryptionKeyArn":{},"replicationServerInstanceType":{},"replicationServersSecurityGroupsIDs":{"shape":"S1l"},"stagingAreaSubnetId":{},"stagingAreaTags":{"shape":"S1d"},"tags":{"shape":"S1d"},"useDedicatedReplicationServer":{"type":"boolean"}}},"output":{"shape":"S1o"}},"DeleteJob":{"http":{"requestUri":"/DeleteJob","responseCode":204},"input":{"type":"structure","required":["jobID"],"members":{"jobID":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteReplicationConfigurationTemplate":{"http":{"requestUri":"/DeleteReplicationConfigurationTemplate","responseCode":204},"input":{"type":"structure","required":["replicationConfigurationTemplateID"],"members":{"replicationConfigurationTemplateID":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteSourceServer":{"http":{"requestUri":"/DeleteSourceServer","responseCode":204},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"type":"structure","members":{}},"idempotent":true},"DeleteVcenterClient":{"http":{"requestUri":"/DeleteVcenterClient","responseCode":204},"input":{"type":"structure","required":["vcenterClientID"],"members":{"vcenterClientID":{}}},"idempotent":true},"DescribeJobLogItems":{"http":{"requestUri":"/DescribeJobLogItems","responseCode":200},"input":{"type":"structure","required":["jobID"],"members":{"jobID":{},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"items":{"type":"list","member":{"type":"structure","members":{"event":{},"eventData":{"type":"structure","members":{"conversionServerID":{},"rawError":{},"sourceServerID":{},"targetInstanceID":{}}},"logDateTime":{}}}},"nextToken":{}}}},"DescribeJobs":{"http":{"requestUri":"/DescribeJobs","responseCode":200},"input":{"type":"structure","required":["filters"],"members":{"filters":{"type":"structure","members":{"fromDate":{},"jobIDs":{"type":"list","member":{}},"toDate":{}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"items":{"type":"list","member":{"shape":"S2a"}},"nextToken":{}}}},"DescribeReplicationConfigurationTemplates":{"http":{"requestUri":"/DescribeReplicationConfigurationTemplates","responseCode":200},"input":{"type":"structure","required":["replicationConfigurationTemplateIDs"],"members":{"maxResults":{"type":"integer"},"nextToken":{},"replicationConfigurationTemplateIDs":{"type":"list","member":{}}}},"output":{"type":"structure","members":{"items":{"type":"list","member":{"shape":"S1o"}},"nextToken":{}}}},"DescribeSourceServers":{"http":{"requestUri":"/DescribeSourceServers","responseCode":200},"input":{"type":"structure","required":["filters"],"members":{"filters":{"type":"structure","members":{"isArchived":{"type":"boolean"},"lifeCycleStates":{"type":"list","member":{}},"replicationTypes":{"type":"list","member":{}},"sourceServerIDs":{"type":"list","member":{}}}},"maxResults":{"type":"integer"},"nextToken":{}}},"output":{"type":"structure","members":{"items":{"type":"list","member":{"shape":"S5"}},"nextToken":{}}}},"DescribeVcenterClients":{"http":{"method":"GET","requestUri":"/DescribeVcenterClients","responseCode":200},"input":{"type":"structure","members":{"maxResults":{"location":"querystring","locationName":"maxResults","type":"integer"},"nextToken":{"location":"querystring","locationName":"nextToken"}}},"output":{"type":"structure","members":{"items":{"type":"list","member":{"type":"structure","members":{"arn":{},"datacenterName":{},"hostname":{},"lastSeenDatetime":{},"sourceServerTags":{"shape":"S1d"},"tags":{"shape":"S1d"},"vcenterClientID":{},"vcenterUUID":{}}}},"nextToken":{}}}},"DisconnectFromService":{"http":{"requestUri":"/DisconnectFromService","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S5"}},"FinalizeCutover":{"http":{"requestUri":"/FinalizeCutover","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S5"}},"GetLaunchConfiguration":{"http":{"requestUri":"/GetLaunchConfiguration","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S2z"}},"GetReplicationConfiguration":{"http":{"requestUri":"/GetReplicationConfiguration","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S35"}},"InitializeService":{"http":{"requestUri":"/InitializeService","responseCode":204},"input":{"type":"structure","members":{}},"output":{"type":"structure","members":{}}},"ListTagsForResource":{"http":{"method":"GET","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"}}},"output":{"type":"structure","members":{"tags":{"shape":"S1d"}}}},"MarkAsArchived":{"http":{"requestUri":"/MarkAsArchived","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S5"}},"RetryDataReplication":{"http":{"requestUri":"/RetryDataReplication","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S5"}},"StartCutover":{"http":{"requestUri":"/StartCutover","responseCode":202},"input":{"type":"structure","required":["sourceServerIDs"],"members":{"sourceServerIDs":{"type":"list","member":{}},"tags":{"shape":"S1d"}}},"output":{"type":"structure","members":{"job":{"shape":"S2a"}}}},"StartReplication":{"http":{"requestUri":"/StartReplication","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"sourceServerID":{}}},"output":{"shape":"S5"}},"StartTest":{"http":{"requestUri":"/StartTest","responseCode":202},"input":{"type":"structure","required":["sourceServerIDs"],"members":{"sourceServerIDs":{"type":"list","member":{}},"tags":{"shape":"S1d"}}},"output":{"type":"structure","members":{"job":{"shape":"S2a"}}}},"TagResource":{"http":{"requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tags"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tags":{"shape":"S1d"}}},"idempotent":true},"TerminateTargetInstances":{"http":{"requestUri":"/TerminateTargetInstances","responseCode":202},"input":{"type":"structure","required":["sourceServerIDs"],"members":{"sourceServerIDs":{"type":"list","member":{}},"tags":{"shape":"S1d"}}},"output":{"type":"structure","members":{"job":{"shape":"S2a"}}}},"UntagResource":{"http":{"method":"DELETE","requestUri":"/tags/{resourceArn}","responseCode":200},"input":{"type":"structure","required":["resourceArn","tagKeys"],"members":{"resourceArn":{"location":"uri","locationName":"resourceArn"},"tagKeys":{"location":"querystring","locationName":"tagKeys","type":"list","member":{},"sensitive":true}}},"idempotent":true},"UpdateLaunchConfiguration":{"http":{"requestUri":"/UpdateLaunchConfiguration","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"copyPrivateIp":{"type":"boolean"},"copyTags":{"type":"boolean"},"launchDisposition":{},"licensing":{"shape":"S31"},"name":{},"sourceServerID":{},"targetInstanceTypeRightSizingMethod":{}}},"output":{"shape":"S2z"},"idempotent":true},"UpdateReplicationConfiguration":{"http":{"requestUri":"/UpdateReplicationConfiguration","responseCode":200},"input":{"type":"structure","required":["sourceServerID"],"members":{"associateDefaultSecurityGroup":{"type":"boolean"},"bandwidthThrottling":{"type":"long"},"createPublicIP":{"type":"boolean"},"dataPlaneRouting":{},"defaultLargeStagingDiskType":{},"ebsEncryption":{},"ebsEncryptionKeyArn":{},"name":{},"replicatedDisks":{"shape":"S36"},"replicationServerInstanceType":{},"replicationServersSecurityGroupsIDs":{"shape":"S1l"},"sourceServerID":{},"stagingAreaSubnetId":{},"stagingAreaTags":{"shape":"S1d"},"useDedicatedReplicationServer":{"type":"boolean"}}},"output":{"shape":"S35"},"idempotent":true},"UpdateReplicationConfigurationTemplate":{"http":{"requestUri":"/UpdateReplicationConfigurationTemplate","responseCode":200},"input":{"type":"structure","required":["replicationConfigurationTemplateID"],"members":{"arn":{},"associateDefaultSecurityGroup":{"type":"boolean"},"bandwidthThrottling":{"type":"long"},"createPublicIP":{"type":"boolean"},"dataPlaneRouting":{},"defaultLargeStagingDiskType":{},"ebsEncryption":{},"ebsEncryptionKeyArn":{},"replicationConfigurationTemplateID":{},"replicationServerInstanceType":{},"replicationServersSecurityGroupsIDs":{"shape":"S1l"},"stagingAreaSubnetId":{},"stagingAreaTags":{"shape":"S1d"},"useDedicatedReplicationServer":{"type":"boolean"}}},"output":{"shape":"S1o"}},"UpdateSourceServerReplicationType":{"http":{"requestUri":"/UpdateSourceServerReplicationType","responseCode":200},"input":{"type":"structure","required":["replicationType","sourceServerID"],"members":{"replicationType":{},"sourceServerID":{}}},"output":{"shape":"S5"}}},"shapes":{"S5":{"type":"structure","members":{"arn":{},"dataReplicationInfo":{"type":"structure","members":{"dataReplicationError":{"type":"structure","members":{"error":{},"rawError":{}}},"dataReplicationInitiation":{"type":"structure","members":{"nextAttemptDateTime":{},"startDateTime":{},"steps":{"type":"list","member":{"type":"structure","members":{"name":{},"status":{}}}}}},"dataReplicationState":{},"etaDateTime":{},"lagDuration":{},"lastSnapshotDateTime":{},"replicatedDisks":{"type":"list","member":{"type":"structure","members":{"backloggedStorageBytes":{"type":"long"},"deviceName":{},"replicatedStorageBytes":{"type":"long"},"rescannedStorageBytes":{"type":"long"},"totalStorageBytes":{"type":"long"}}}}}},"isArchived":{"type":"boolean"},"launchedInstance":{"type":"structure","members":{"ec2InstanceID":{},"firstBoot":{},"jobID":{}}},"lifeCycle":{"type":"structure","members":{"addedToServiceDateTime":{},"elapsedReplicationDuration":{},"firstByteDateTime":{},"lastCutover":{"type":"structure","members":{"finalized":{"type":"structure","members":{"apiCallDateTime":{}}},"initiated":{"type":"structure","members":{"apiCallDateTime":{},"jobID":{}}},"reverted":{"type":"structure","members":{"apiCallDateTime":{}}}}},"lastSeenByServiceDateTime":{},"lastTest":{"type":"structure","members":{"finalized":{"type":"structure","members":{"apiCallDateTime":{}}},"initiated":{"type":"structure","members":{"apiCallDateTime":{},"jobID":{}}},"reverted":{"type":"structure","members":{"apiCallDateTime":{}}}}},"state":{}}},"replicationType":{},"sourceProperties":{"type":"structure","members":{"cpus":{"type":"list","member":{"type":"structure","members":{"cores":{"type":"long"},"modelName":{}}}},"disks":{"type":"list","member":{"type":"structure","members":{"bytes":{"type":"long"},"deviceName":{}}}},"identificationHints":{"type":"structure","members":{"awsInstanceID":{},"fqdn":{},"hostname":{},"vmPath":{},"vmWareUuid":{}}},"lastUpdatedDateTime":{},"networkInterfaces":{"type":"list","member":{"type":"structure","members":{"ips":{"type":"list","member":{}},"isPrimary":{"type":"boolean"},"macAddress":{}}}},"os":{"type":"structure","members":{"fullString":{}}},"ramBytes":{"type":"long"},"recommendedInstanceType":{}}},"sourceServerID":{},"tags":{"shape":"S1d"},"vcenterClientID":{}}},"S1d":{"type":"map","key":{},"value":{},"sensitive":true},"S1l":{"type":"list","member":{}},"S1o":{"type":"structure","required":["replicationConfigurationTemplateID"],"members":{"arn":{},"associateDefaultSecurityGroup":{"type":"boolean"},"bandwidthThrottling":{"type":"long"},"createPublicIP":{"type":"boolean"},"dataPlaneRouting":{},"defaultLargeStagingDiskType":{},"ebsEncryption":{},"ebsEncryptionKeyArn":{},"replicationConfigurationTemplateID":{},"replicationServerInstanceType":{},"replicationServersSecurityGroupsIDs":{"shape":"S1l"},"stagingAreaSubnetId":{},"stagingAreaTags":{"shape":"S1d"},"tags":{"shape":"S1d"},"useDedicatedReplicationServer":{"type":"boolean"}}},"S2a":{"type":"structure","required":["jobID"],"members":{"arn":{},"creationDateTime":{},"endDateTime":{},"initiatedBy":{},"jobID":{},"participatingServers":{"type":"list","member":{"type":"structure","members":{"launchStatus":{},"sourceServerID":{}}}},"status":{},"tags":{"shape":"S1d"},"type":{}}},"S2z":{"type":"structure","members":{"copyPrivateIp":{"type":"boolean"},"copyTags":{"type":"boolean"},"ec2LaunchTemplateID":{},"launchDisposition":{},"licensing":{"shape":"S31"},"name":{},"sourceServerID":{},"targetInstanceTypeRightSizingMethod":{}}},"S31":{"type":"structure","members":{"osByol":{"type":"boolean"}}},"S35":{"type":"structure","members":{"associateDefaultSecurityGroup":{"type":"boolean"},"bandwidthThrottling":{"type":"long"},"createPublicIP":{"type":"boolean"},"dataPlaneRouting":{},"defaultLargeStagingDiskType":{},"ebsEncryption":{},"ebsEncryptionKeyArn":{},"name":{},"replicatedDisks":{"shape":"S36"},"replicationServerInstanceType":{},"replicationServersSecurityGroupsIDs":{"shape":"S1l"},"sourceServerID":{},"stagingAreaSubnetId":{},"stagingAreaTags":{"shape":"S1d"},"useDedicatedReplicationServer":{"type":"boolean"}}},"S36":{"type":"list","member":{"type":"structure","members":{"deviceName":{},"iops":{"type":"long"},"isBootDisk":{"type":"boolean"},"stagingDiskType":{}}}}}} /***/ }), /* 1000 */ /***/ (function(module, exports) { - module.exports = {"pagination":{"DescribeJobLogItems":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"items"},"DescribeJobs":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"items"},"DescribeReplicationConfigurationTemplates":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"items"},"DescribeSourceServers":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"items"}}} + module.exports = {"pagination":{"DescribeJobLogItems":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"items"},"DescribeJobs":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"items"},"DescribeReplicationConfigurationTemplates":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"items"},"DescribeSourceServers":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"items"},"DescribeVcenterClients":{"input_token":"nextToken","output_token":"nextToken","limit_key":"maxResults","result_key":"items"}}} /***/ }), /* 1001 */ diff --git a/dist/aws-sdk.js b/dist/aws-sdk.js index 8588f14c09..d40882da0d 100644 --- a/dist/aws-sdk.js +++ b/dist/aws-sdk.js @@ -1,4 +1,4 @@ -// AWS SDK for JavaScript v2.1036.0 +// AWS SDK for JavaScript v2.1037.0 // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i-1});var o=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]","[object DataView]"];t.exports={isEmptyData:i,convertToBuffer:a}},{"buffer/":427}],334:[function(e,t,r){function i(e,t){this.hash=new e,this.outer=new e;var r=a(e,t),i=new Uint8Array(e.BLOCK_SIZE);i.set(r);for(var s=0;se.BLOCK_SIZE){var i=new e;i.update(r),r=i.digest()}var a=new Uint8Array(e.BLOCK_SIZE);return a.set(r),a}var s=e("./browserHashUtils");t.exports=i,i.prototype.update=function(e){if(s.isEmptyData(e)||this.error)return this;try{this.hash.update(s.convertToBuffer(e))}catch(e){this.error=e}return this},i.prototype.digest=function(e){return this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest(e)}},{"./browserHashUtils":333}],335:[function(e,t,r){function i(){this.state=[1732584193,4023233417,2562383102,271733878],this.buffer=new DataView(new ArrayBuffer(c)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}function a(e,t,r,i,a,s){return((t=(t+e&4294967295)+(i+s&4294967295)&4294967295)<>>32-a)+r&4294967295}function s(e,t,r,i,s,o,n){return a(t&r|~t&i,e,t,s,o,n)}function o(e,t,r,i,s,o,n){return a(t&i|r&~i,e,t,s,o,n)}function n(e,t,r,i,s,o,n){return a(t^r^i,e,t,s,o,n)}function u(e,t,r,i,s,o,n){return a(r^(t|~i),e,t,s,o,n)}var p=e("./browserHashUtils"),m=e("buffer/").Buffer,c=64;t.exports=i,i.BLOCK_SIZE=c,i.prototype.update=function(e){if(p.isEmptyData(e))return this;if(this.finished)throw new Error("Attempted to update an already finished hash.");var t=p.convertToBuffer(e),r=0,i=t.byteLength;for(this.bytesHashed+=i;i>0;)this.buffer.setUint8(this.bufferLength++,t[r++]),i--,this.bufferLength===c&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=this,r=t.buffer,i=t.bufferLength,a=t.bytesHashed,s=8*a;if(r.setUint8(this.bufferLength++,128),i%c>=c-8){for(var o=this.bufferLength;o>>0,!0),r.setUint32(c-4,Math.floor(s/4294967296),!0),this.hashBuffer(),this.finished=!0}for(var n=new DataView(new ArrayBuffer(16)),o=0;o<4;o++)n.setUint32(4*o,this.state[o],!0);var u=new m(n.buffer,n.byteOffset,n.byteLength);return e?u.toString(e):u},i.prototype.hashBuffer=function(){var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],p=r[2],m=r[3];i=s(i,a,p,m,t.getUint32(0,!0),7,3614090360),m=s(m,i,a,p,t.getUint32(4,!0),12,3905402710),p=s(p,m,i,a,t.getUint32(8,!0),17,606105819),a=s(a,p,m,i,t.getUint32(12,!0),22,3250441966),i=s(i,a,p,m,t.getUint32(16,!0),7,4118548399),m=s(m,i,a,p,t.getUint32(20,!0),12,1200080426),p=s(p,m,i,a,t.getUint32(24,!0),17,2821735955),a=s(a,p,m,i,t.getUint32(28,!0),22,4249261313),i=s(i,a,p,m,t.getUint32(32,!0),7,1770035416),m=s(m,i,a,p,t.getUint32(36,!0),12,2336552879),p=s(p,m,i,a,t.getUint32(40,!0),17,4294925233),a=s(a,p,m,i,t.getUint32(44,!0),22,2304563134),i=s(i,a,p,m,t.getUint32(48,!0),7,1804603682),m=s(m,i,a,p,t.getUint32(52,!0),12,4254626195),p=s(p,m,i,a,t.getUint32(56,!0),17,2792965006),a=s(a,p,m,i,t.getUint32(60,!0),22,1236535329),i=o(i,a,p,m,t.getUint32(4,!0),5,4129170786),m=o(m,i,a,p,t.getUint32(24,!0),9,3225465664),p=o(p,m,i,a,t.getUint32(44,!0),14,643717713),a=o(a,p,m,i,t.getUint32(0,!0),20,3921069994),i=o(i,a,p,m,t.getUint32(20,!0),5,3593408605),m=o(m,i,a,p,t.getUint32(40,!0),9,38016083),p=o(p,m,i,a,t.getUint32(60,!0),14,3634488961),a=o(a,p,m,i,t.getUint32(16,!0),20,3889429448),i=o(i,a,p,m,t.getUint32(36,!0),5,568446438),m=o(m,i,a,p,t.getUint32(56,!0),9,3275163606),p=o(p,m,i,a,t.getUint32(12,!0),14,4107603335),a=o(a,p,m,i,t.getUint32(32,!0),20,1163531501),i=o(i,a,p,m,t.getUint32(52,!0),5,2850285829),m=o(m,i,a,p,t.getUint32(8,!0),9,4243563512),p=o(p,m,i,a,t.getUint32(28,!0),14,1735328473),a=o(a,p,m,i,t.getUint32(48,!0),20,2368359562),i=n(i,a,p,m,t.getUint32(20,!0),4,4294588738),m=n(m,i,a,p,t.getUint32(32,!0),11,2272392833),p=n(p,m,i,a,t.getUint32(44,!0),16,1839030562),a=n(a,p,m,i,t.getUint32(56,!0),23,4259657740),i=n(i,a,p,m,t.getUint32(4,!0),4,2763975236),m=n(m,i,a,p,t.getUint32(16,!0),11,1272893353),p=n(p,m,i,a,t.getUint32(28,!0),16,4139469664),a=n(a,p,m,i,t.getUint32(40,!0),23,3200236656),i=n(i,a,p,m,t.getUint32(52,!0),4,681279174),m=n(m,i,a,p,t.getUint32(0,!0),11,3936430074),p=n(p,m,i,a,t.getUint32(12,!0),16,3572445317),a=n(a,p,m,i,t.getUint32(24,!0),23,76029189),i=n(i,a,p,m,t.getUint32(36,!0),4,3654602809),m=n(m,i,a,p,t.getUint32(48,!0),11,3873151461),p=n(p,m,i,a,t.getUint32(60,!0),16,530742520),a=n(a,p,m,i,t.getUint32(8,!0),23,3299628645),i=u(i,a,p,m,t.getUint32(0,!0),6,4096336452),m=u(m,i,a,p,t.getUint32(28,!0),10,1126891415),p=u(p,m,i,a,t.getUint32(56,!0),15,2878612391),a=u(a,p,m,i,t.getUint32(20,!0),21,4237533241),i=u(i,a,p,m,t.getUint32(48,!0),6,1700485571),m=u(m,i,a,p,t.getUint32(12,!0),10,2399980690),p=u(p,m,i,a,t.getUint32(40,!0),15,4293915773),a=u(a,p,m,i,t.getUint32(4,!0),21,2240044497),i=u(i,a,p,m,t.getUint32(32,!0),6,1873313359),m=u(m,i,a,p,t.getUint32(60,!0),10,4264355552),p=u(p,m,i,a,t.getUint32(24,!0),15,2734768916),a=u(a,p,m,i,t.getUint32(52,!0),21,1309151649),i=u(i,a,p,m,t.getUint32(16,!0),6,4149444226),m=u(m,i,a,p,t.getUint32(44,!0),10,3174756917),p=u(p,m,i,a,t.getUint32(8,!0),15,718787259),a=u(a,p,m,i,t.getUint32(36,!0),21,3951481745),r[0]=i+r[0]&4294967295,r[1]=a+r[1]&4294967295,r[2]=p+r[2]&4294967295,r[3]=m+r[3]&4294967295}},{"./browserHashUtils":333,"buffer/":427}],336:[function(e,t,r){function i(){this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=new Uint32Array(80),this.offset=0,this.shift=24,this.totalLength=0}var a=e("buffer/").Buffer,s=e("./browserHashUtils");new Uint32Array([1518500249,1859775393,-1894007588,-899497514]),Math.pow(2,53);t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=e.length;this.totalLength+=8*t;for(var r=0;r14||14===this.offset&&this.shift<24)&&this.processBlock(),this.offset=14,this.shift=24,this.write(0),this.write(0),this.write(this.totalLength>0xffffffffff?this.totalLength/1099511627776:0),this.write(this.totalLength>4294967295?this.totalLength/4294967296:0);for(var t=24;t>=0;t-=8)this.write(this.totalLength>>t);var r=new a(20),i=new DataView(r.buffer);return i.setUint32(0,this.h0,!1),i.setUint32(4,this.h1,!1),i.setUint32(8,this.h2,!1),i.setUint32(12,this.h3,!1),i.setUint32(16,this.h4,!1),e?r.toString(e):r},i.prototype.processBlock=function(){for(var e=16;e<80;e++){var t=this.block[e-3]^this.block[e-8]^this.block[e-14]^this.block[e-16];this.block[e]=t<<1|t>>>31}var r,i,a=this.h0,s=this.h1,o=this.h2,n=this.h3,u=this.h4;for(e=0;e<80;e++){e<20?(r=n^s&(o^n),i=1518500249):e<40?(r=s^o^n,i=1859775393):e<60?(r=s&o|n&(s|o),i=2400959708):(r=s^o^n,i=3395469782);var p=(a<<5|a>>>27)+r+u+i+(0|this.block[e]);u=n,n=o,o=s<<30|s>>>2,s=a,a=p}for(this.h0=this.h0+a|0,this.h1=this.h1+s|0,this.h2=this.h2+o|0,this.h3=this.h3+n|0,this.h4=this.h4+u|0,this.offset=0,e=0;e<16;e++)this.block[e]=0}},{"./browserHashUtils":333,"buffer/":427}],337:[function(e,t,r){function i(){this.state=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}var a=e("buffer/").Buffer,s=e("./browserHashUtils"),o=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),n=Math.pow(2,53)-1;t.exports=i,i.BLOCK_SIZE=64,i.prototype.update=function(e){if(this.finished)throw new Error("Attempted to update an already finished hash.");if(s.isEmptyData(e))return this;e=s.convertToBuffer(e);var t=0,r=e.byteLength;if(this.bytesHashed+=r,8*this.bytesHashed>n)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=e[t++],r--,64===this.bufferLength&&(this.hashBuffer(),this.bufferLength=0);return this},i.prototype.digest=function(e){if(!this.finished){var t=8*this.bytesHashed,r=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),i=this.bufferLength;if(r.setUint8(this.bufferLength++,128),i%64>=56){for(var s=this.bufferLength;s<64;s++)r.setUint8(s,0);this.hashBuffer(),this.bufferLength=0}for(var s=this.bufferLength;s<56;s++)r.setUint8(s,0);r.setUint32(56,Math.floor(t/4294967296),!0),r.setUint32(60,t),this.hashBuffer(),this.finished=!0}for(var o=new a(32),s=0;s<8;s++)o[4*s]=this.state[s]>>>24&255,o[4*s+1]=this.state[s]>>>16&255,o[4*s+2]=this.state[s]>>>8&255,o[4*s+3]=this.state[s]>>>0&255;return e?o.toString(e):o},i.prototype.hashBuffer=function(){for(var e=this,t=e.buffer,r=e.state,i=r[0],a=r[1],s=r[2],n=r[3],u=r[4],p=r[5],m=r[6],c=r[7],l=0;l<64;l++){if(l<16)this.temp[l]=(255&t[4*l])<<24|(255&t[4*l+1])<<16|(255&t[4*l+2])<<8|255&t[4*l+3];else{var d=this.temp[l-2],y=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10;d=this.temp[l-15];var b=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3;this.temp[l]=(y+this.temp[l-7]|0)+(b+this.temp[l-16]|0)}var S=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&p^~u&m)|0)+(c+(o[l]+this.temp[l]|0)|0)|0,g=((i>>>2|i<<30)^(i>>>13|i<<19)^(i>>>22|i<<10))+(i&a^i&s^a&s)|0;c=m,m=p,p=u,u=n+S|0,n=s,s=a,a=i,i=S+g|0}r[0]+=i,r[1]+=a,r[2]+=s,r[3]+=n,r[4]+=u,r[5]+=p,r[6]+=m,r[7]+=c}},{"./browserHashUtils":333,"buffer/":427}],338:[function(e,t,r){(function(r){(function(){var r=e("./util");r.crypto.lib=e("./browserCryptoLib"),r.Buffer=e("buffer/").Buffer,r.url=e("url/"),r.querystring=e("querystring/"),r.realClock=e("./realclock/browserClock"),r.environment="js",r.createEventStream=e("./event-stream/buffered-create-event-stream").createEventStream,r.isBrowser=function(){return!0},r.isNode=function(){return!1};var i=e("./core");if(t.exports=i,e("./credentials"),e("./credentials/credential_provider_chain"),e("./credentials/temporary_credentials"),e("./credentials/chainable_temporary_credentials"),e("./credentials/web_identity_credentials"),e("./credentials/cognito_identity_credentials"),e("./credentials/saml_credentials"),i.XML.Parser=e("./xml/browser_parser"),e("./http/xhr"),void 0===a)var a={browser:!0}}).call(this)}).call(this,e("_process"))},{"./browserCryptoLib":332,"./core":342,"./credentials":343,"./credentials/chainable_temporary_credentials":344,"./credentials/cognito_identity_credentials":345,"./credentials/credential_provider_chain":346,"./credentials/saml_credentials":347,"./credentials/temporary_credentials":348,"./credentials/web_identity_credentials":349,"./event-stream/buffered-create-event-stream":357,"./http/xhr":365,"./realclock/browserClock":384,"./util":418,"./xml/browser_parser":419,_process:432,"buffer/":427,"querystring/":439,"url/":441}],339:[function(e,t,r){var i=e("../core"),a=i.util.url,s=i.util.crypto.lib,o=i.util.base64.encode,n=i.util.inherit,u=function(e){var t={"+":"-","=":"_","/":"~"};return e.replace(/[\+=\/]/g,function(e){return t[e]})},p=function(e,t){var r=s.createSign("RSA-SHA1");return r.write(e),u(r.sign(t,"base64"))},m=function(e,t,r,i){var a=JSON.stringify({Statement:[{Resource:e,Condition:{DateLessThan:{"AWS:EpochTime":t}}}]});return{Expires:t,"Key-Pair-Id":r,Signature:p(a.toString(),i)}},c=function(e,t,r){return e=e.replace(/\s/gm,""),{Policy:u(o(e)),"Key-Pair-Id":t,Signature:p(e,r)}},l=function(e){var t=e.split("://");if(t.length<2)throw new Error("Invalid URL.");return t[0].replace("*","")},d=function(e){var t=a.parse(e);return t.path.replace(/^\//,"")+(t.hash||"")},y=function(e){switch(l(e)){case"http":case"https":return e;case"rtmp":return d(e);default:throw new Error("Invalid URI scheme. Scheme must be one of http, https, or rtmp")}},b=function(e,t){if(!t||"function"!=typeof t)throw e;t(e)},S=function(e,t){if(!t||"function"!=typeof t)return e;t(null,e)};i.CloudFront.Signer=n({constructor:function(e,t){if(void 0===e||void 0===t)throw new Error("A key pair ID and private key are required");this.keyPairId=e,this.privateKey=t},getSignedCookie:function(e,t){var r="policy"in e?c(e.policy,this.keyPairId,this.privateKey):m(e.url,e.expires,this.keyPairId,this.privateKey),i={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(i["CloudFront-"+a]=r[a]);return S(i,t)},getSignedUrl:function(e,t){try{var r=y(e.url)}catch(e){return b(e,t)}var i=a.parse(e.url,!0),s=Object.prototype.hasOwnProperty.call(e,"policy")?c(e.policy,this.keyPairId,this.privateKey):m(r,e.expires,this.keyPairId,this.privateKey);i.search=null;for(var o in s)Object.prototype.hasOwnProperty.call(s,o)&&(i.query[o]=s[o]);try{var n="rtmp"===l(e.url)?d(a.format(i)):a.format(i)}catch(e){return b(e,t)}return S(n,t)}}),t.exports=i.CloudFront.Signer},{"../core":342}],340:[function(e,t,r){var i=e("./core");e("./credentials"),e("./credentials/credential_provider_chain");var a;i.Config=i.util.inherit({constructor:function(e){void 0===e&&(e={}),e=this.extractCredentials(e),i.util.each.call(this,this.keys,function(t,r){this.set(t,e[t],r)})},getCredentials:function(e){function t(t){e(t,t?null:a.credentials)}function r(e,t){return new i.util.error(t||new Error,{code:"CredentialsError",message:e,name:"CredentialsError"})}var a=this;a.credentials?"function"==typeof a.credentials.get?function(){a.credentials.get(function(e){e&&(e=r("Could not load credentials from "+a.credentials.constructor.name,e)),t(e)})}():function(){var e=null;a.credentials.accessKeyId&&a.credentials.secretAccessKey||(e=r("Missing credentials")),t(e)}():a.credentialProvider?a.credentialProvider.resolve(function(e,i){e&&(e=r("Could not load credentials from any providers",e)),a.credentials=i,t(e)}):t(r("No credentials to load"))},update:function(e,t){t=t||!1,e=this.extractCredentials(e),i.util.each.call(this,e,function(e,r){(t||Object.prototype.hasOwnProperty.call(this.keys,e)||i.Service.hasService(e))&&this.set(e,r)})},loadFromPath:function(e){ -this.clear();var t=JSON.parse(i.util.readFileSync(e)),r=new i.FileSystemCredentials(e),a=new i.CredentialProviderChain;return a.providers.unshift(r),a.resolve(function(e,r){if(e)throw e;t.credentials=r}),this.constructor(t),this},clear:function(){i.util.each.call(this,this.keys,function(e){delete this[e]}),this.set("credentials",void 0),this.set("credentialProvider",void 0)},set:function(e,t,r){void 0===t?(void 0===r&&(r=this.keys[e]),this[e]="function"==typeof r?r.call(this):r):"httpOptions"===e&&this[e]?this[e]=i.util.merge(this[e],t):this[e]=t},keys:{credentials:null,credentialProvider:null,region:null,logger:null,apiVersions:{},apiVersion:null,endpoint:void 0,httpOptions:{timeout:12e4},maxRetries:void 0,maxRedirects:10,paramValidation:!0,sslEnabled:!0,s3ForcePathStyle:!1,s3BucketEndpoint:!1,s3DisableBodySigning:!0,s3UsEast1RegionalEndpoint:"legacy",s3UseArnRegion:void 0,computeChecksums:!0,convertResponseTypes:!0,correctClockSkew:!1,customUserAgent:null,dynamoDbCrc32:!0,systemClockOffset:0,signatureVersion:null,signatureCache:!0,retryDelayOptions:{},useAccelerateEndpoint:!1,clientSideMonitoring:!1,endpointDiscoveryEnabled:void 0,endpointCacheSize:1e3,hostPrefixEnabled:!0,stsRegionalEndpoints:"legacy",useFipsEndpoint:!1,useDualstackEndpoint:!1},extractCredentials:function(e){return e.accessKeyId&&e.secretAccessKey&&(e=i.util.copy(e),e.credentials=new i.Credentials(e)),e},setPromisesDependency:function(e){a=e,null===e&&"function"==typeof Promise&&(a=Promise);var t=[i.Request,i.Credentials,i.CredentialProviderChain];i.S3&&(t.push(i.S3),i.S3.ManagedUpload&&t.push(i.S3.ManagedUpload)),i.util.addPromises(t,a)},getPromisesDependency:function(){return a}}),i.config=new i.Config},{"./core":342,"./credentials":343,"./credentials/credential_provider_chain":346}],341:[function(e,t,r){(function(r){(function(){function i(e,t){if("string"==typeof e){if(["legacy","regional"].indexOf(e.toLowerCase())>=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":342,_process:432}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1036.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":450,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":388,"./resource_waiter":389,"./response":390,"./sequential_executor":392,"./service":393,"./signers/request_signer":410,"./util":418,"./xml/builder":420}],343:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":342}],344:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":326,"../core":342}],345:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":258,"../../clients/sts":326,"../core":342}],346:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":342}],347:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],348:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],349:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":326,"../core":342}],350:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var i=0;i-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;i.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&a(t),new i(t)},i.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},i.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:i}},{"../core":342}],360:[function(e,t,r){function i(e,t,r){var i=s(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw a(i);if("event"!==o.value)return}var n=i.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=i.body:p[m]=e.parse(i.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.toLowerCase();throw s.util.error(new Error,t)}}function a(e,t){e=e||{};var a;if(e[t.clientConfig]&&(a=i(e[t.clientConfig],{code:"InvalidConfiguration",message:'invalid "'+t.clientConfig+'" configuration. Expect "legacy" or "regional". Got "'+e[t.clientConfig]+'".'})))return a;if(!s.util.isNode())return a;if(Object.prototype.hasOwnProperty.call(r.env,t.env)){if(a=i(r.env[t.env],{code:"InvalidEnvironmentalVariable",message:"invalid "+t.env+' environmental variable. Expect "legacy" or "regional". Got "'+r.env[t.env]+'".'}))return a}var o={};try{o=s.util.getProfilesFromSharedConfig(s.util.iniLoader)[r.env.AWS_PROFILE||s.util.defaultProfile]}catch(e){}if(o&&Object.prototype.hasOwnProperty.call(o,t.sharedConfig)){if(a=i(o[t.sharedConfig],{code:"InvalidConfiguration",message:"invalid "+t.sharedConfig+' profile config. Expect "legacy" or "regional". Got "'+o[t.sharedConfig]+'".'}))return a}return a}var s=e("./core");t.exports=a}).call(this)}).call(this,e("_process"))},{"./core":342,_process:432}],342:[function(e,t,r){var i={util:e("./util")};({}).toString(),t.exports=i,i.util.update(i,{VERSION:"2.1037.0",Signers:{},Protocol:{Json:e("./protocol/json"),Query:e("./protocol/query"),Rest:e("./protocol/rest"),RestJson:e("./protocol/rest_json"),RestXml:e("./protocol/rest_xml")},XML:{Builder:e("./xml/builder"),Parser:null},JSON:{Builder:e("./json/builder"),Parser:e("./json/parser")},Model:{Api:e("./model/api"),Operation:e("./model/operation"),Shape:e("./model/shape"),Paginator:e("./model/paginator"),ResourceWaiter:e("./model/resource_waiter")},apiLoader:e("./api_loader"),EndpointCache:e("../vendor/endpoint-cache").EndpointCache}),e("./sequential_executor"),e("./service"),e("./config"),e("./http"),e("./event_listeners"),e("./request"),e("./response"),e("./resource_waiter"),e("./signers/request_signer"),e("./param_validator"),i.events=new i.SequentialExecutor,i.util.memoizedProperty(i,"endpointCache",function(){return new i.EndpointCache(i.config.endpointCacheSize)},!0)},{"../vendor/endpoint-cache":450,"./api_loader":331,"./config":340,"./event_listeners":363,"./http":364,"./json/builder":366,"./json/parser":367,"./model/api":368,"./model/operation":370,"./model/paginator":371,"./model/resource_waiter":372,"./model/shape":373,"./param_validator":374,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./request":388,"./resource_waiter":389,"./response":390,"./sequential_executor":392,"./service":393,"./signers/request_signer":410,"./util":418,"./xml/builder":420}],343:[function(e,t,r){var i=e("./core");i.Credentials=i.util.inherit({constructor:function(){if(i.util.hideProperties(this,["secretAccessKey"]),this.expired=!1,this.expireTime=null,this.refreshCallbacks=[],1===arguments.length&&"object"==typeof arguments[0]){var e=arguments[0].credentials||arguments[0];this.accessKeyId=e.accessKeyId,this.secretAccessKey=e.secretAccessKey,this.sessionToken=e.sessionToken}else this.accessKeyId=arguments[0],this.secretAccessKey=arguments[1],this.sessionToken=arguments[2]},expiryWindow:15,needsRefresh:function(){var e=i.util.date.getDate().getTime(),t=new Date(e+1e3*this.expiryWindow);return!!(this.expireTime&&t>this.expireTime)||(this.expired||!this.accessKeyId||!this.secretAccessKey)},get:function(e){var t=this;this.needsRefresh()?this.refresh(function(r){r||(t.expired=!1),e&&e(r)}):e&&e()},refresh:function(e){this.expired=!1,e()},coalesceRefresh:function(e,t){var r=this;1===r.refreshCallbacks.push(e)&&r.load(function(e){i.util.arrayEach(r.refreshCallbacks,function(r){t?r(e):i.util.defer(function(){r(e)})}),r.refreshCallbacks.length=0})},load:function(e){e()}}),i.Credentials.addPromisesToClass=function(e){this.prototype.getPromise=i.util.promisifyMethod("get",e),this.prototype.refreshPromise=i.util.promisifyMethod("refresh",e)},i.Credentials.deletePromisesFromClass=function(){delete this.prototype.getPromise,delete this.prototype.refreshPromise},i.util.addPromises(i.Credentials)},{"./core":342}],344:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.ChainableTemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),e=e||{},this.errorCode="ChainableTemporaryCredentialsProviderFailure",this.expired=!0,this.tokenCodeFn=null;var t=i.util.copy(e.params)||{};if(t.RoleArn&&(t.RoleSessionName=t.RoleSessionName||"temporary-credentials"),t.SerialNumber){if(!e.tokenCodeFn||"function"!=typeof e.tokenCodeFn)throw new i.util.error(new Error("tokenCodeFn must be a function when params.SerialNumber is given"),{code:this.errorCode});this.tokenCodeFn=e.tokenCodeFn}var r=i.util.merge({params:t,credentials:e.masterCredentials||i.config.credentials},e.stsConfig||{});this.service=new a(r)},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this,r=t.service.config.params.RoleArn?"assumeRole":"getSessionToken";this.getTokenCode(function(i,a){var s={};if(i)return void e(i);a&&(s.TokenCode=a),t.service[r](s,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},getTokenCode:function(e){var t=this;this.tokenCodeFn?this.tokenCodeFn(this.service.config.params.SerialNumber,function(r,a){if(r){var s=r;return r instanceof Error&&(s=r.message),void e(i.util.error(new Error("Error fetching MFA token: "+s),{code:t.errorCode}))}e(null,a)}):e(null)}})},{"../../clients/sts":326,"../core":342}],345:[function(e,t,r){var i=e("../core"),a=e("../../clients/cognitoidentity"),s=e("../../clients/sts");i.CognitoIdentityCredentials=i.util.inherit(i.Credentials,{localStorageKey:{id:"aws.cognito.identity-id.",providers:"aws.cognito.identity-providers."},constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.data=null,this._identityId=null,this._clientConfig=i.util.copy(t||{}),this.loadCachedId();var r=this;Object.defineProperty(this,"identityId",{get:function(){return r.loadCachedId(),r._identityId||r.params.IdentityId},set:function(e){r._identityId=e}})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.data=null,t._identityId=null,t.getId(function(r){r?(t.clearIdOnNotAuthorized(r),e(r)):t.params.RoleArn?t.getCredentialsFromSTS(e):t.getCredentialsForIdentity(e)})},clearCachedId:function(){this._identityId=null,delete this.params.IdentityId;var e=this.params.IdentityPoolId,t=this.params.LoginId||"";delete this.storage[this.localStorageKey.id+e+t],delete this.storage[this.localStorageKey.providers+e+t]},clearIdOnNotAuthorized:function(e){var t=this;"NotAuthorizedException"==e.code&&t.clearCachedId()},getId:function(e){var t=this;if("string"==typeof t.params.IdentityId)return e(null,t.params.IdentityId);t.cognito.getId(function(r,i){!r&&i.IdentityId?(t.params.IdentityId=i.IdentityId,e(null,i.IdentityId)):e(r)})},loadCredentials:function(e,t){e&&t&&(t.expired=!1,t.accessKeyId=e.Credentials.AccessKeyId,t.secretAccessKey=e.Credentials.SecretKey,t.sessionToken=e.Credentials.SessionToken,t.expireTime=e.Credentials.Expiration)},getCredentialsForIdentity:function(e){var t=this;t.cognito.getCredentialsForIdentity(function(r,i){r?t.clearIdOnNotAuthorized(r):(t.cacheId(i),t.data=i,t.loadCredentials(t.data,t)),e(r)})},getCredentialsFromSTS:function(e){var t=this;t.cognito.getOpenIdToken(function(r,i){r?(t.clearIdOnNotAuthorized(r),e(r)):(t.cacheId(i),t.params.WebIdentityToken=i.Token,t.webIdentityCredentials.refresh(function(r){r||(t.data=t.webIdentityCredentials.data,t.sts.credentialsFrom(t.data,t)),e(r)}))})},loadCachedId:function(){var e=this;if(i.util.isBrowser()&&!e.params.IdentityId){var t=e.getStorage("id");if(t&&e.params.Logins){var r=Object.keys(e.params.Logins);0!==(e.getStorage("providers")||"").split(",").filter(function(e){return-1!==r.indexOf(e)}).length&&(e.params.IdentityId=t)}else t&&(e.params.IdentityId=t)}},createClients:function(){var e=this._clientConfig;if(this.webIdentityCredentials=this.webIdentityCredentials||new i.WebIdentityCredentials(this.params,e),!this.cognito){var t=i.util.merge({},e);t.params=this.params,this.cognito=new a(t)}this.sts=this.sts||new s(e)},cacheId:function(e){this._identityId=e.IdentityId,this.params.IdentityId=this._identityId,i.util.isBrowser()&&(this.setStorage("id",e.IdentityId),this.params.Logins&&this.setStorage("providers",Object.keys(this.params.Logins).join(",")))},getStorage:function(e){return this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]},setStorage:function(e,t){try{this.storage[this.localStorageKey[e]+this.params.IdentityPoolId+(this.params.LoginId||"")]=t}catch(e){}},storage:function(){try{var e=i.util.isBrowser()&&null!==window.localStorage&&"object"==typeof window.localStorage?window.localStorage:{};return e["aws.test-storage"]="foobar",delete e["aws.test-storage"],e}catch(e){return{}}}()})},{"../../clients/cognitoidentity":258,"../../clients/sts":326,"../core":342}],346:[function(e,t,r){var i=e("../core");i.CredentialProviderChain=i.util.inherit(i.Credentials,{constructor:function(e){this.providers=e||i.CredentialProviderChain.defaultProviders.slice(0),this.resolveCallbacks=[]},resolve:function(e){function t(e,o){if(!e&&o||a===s.length)return i.util.arrayEach(r.resolveCallbacks,function(t){t(e,o)}),void(r.resolveCallbacks.length=0);var n=s[a++];o="function"==typeof n?n.call():n,o.get?o.get(function(e){t(e,e?null:o)}):t(null,o)}var r=this;if(0===r.providers.length)return e(new Error("No providers")),r;if(1===r.resolveCallbacks.push(e)){var a=0,s=r.providers.slice(0);t()}return r}}),i.CredentialProviderChain.defaultProviders=[],i.CredentialProviderChain.addPromisesToClass=function(e){this.prototype.resolvePromise=i.util.promisifyMethod("resolve",e)},i.CredentialProviderChain.deletePromisesFromClass=function(){delete this.prototype.resolvePromise},i.util.addPromises(i.CredentialProviderChain)},{"../core":342}],347:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.SAMLCredentials=i.util.inherit(i.Credentials,{constructor:function(e){i.Credentials.call(this),this.expired=!0,this.params=e},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithSAML(function(r,i){r||t.service.credentialsFrom(i,t),e(r)})},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],348:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.TemporaryCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.loadMasterCredentials(t),this.expired=!0,this.params=e||{},this.params.RoleArn&&(this.params.RoleSessionName=this.params.RoleSessionName||"temporary-credentials")},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.masterCredentials.get(function(){t.service.config.credentials=t.masterCredentials,(t.params.RoleArn?t.service.assumeRole:t.service.getSessionToken).call(t.service,function(r,i){r||t.service.credentialsFrom(i,t),e(r)})})},loadMasterCredentials:function(e){for(this.masterCredentials=e||i.config.credentials;this.masterCredentials.masterCredentials;)this.masterCredentials=this.masterCredentials.masterCredentials;"function"!=typeof this.masterCredentials.get&&(this.masterCredentials=new i.Credentials(this.masterCredentials))},createClients:function(){this.service=this.service||new a({params:this.params})}})},{"../../clients/sts":326,"../core":342}],349:[function(e,t,r){var i=e("../core"),a=e("../../clients/sts");i.WebIdentityCredentials=i.util.inherit(i.Credentials,{constructor:function(e,t){i.Credentials.call(this),this.expired=!0,this.params=e,this.params.RoleSessionName=this.params.RoleSessionName||"web-identity",this.data=null,this._clientConfig=i.util.copy(t||{})},refresh:function(e){this.coalesceRefresh(e||i.util.fn.callback)},load:function(e){var t=this;t.createClients(),t.service.assumeRoleWithWebIdentity(function(r,i){t.data=null,r||(t.data=i,t.service.credentialsFrom(i,t)),e(r)})},createClients:function(){if(!this.service){var e=i.util.merge({},this._clientConfig);e.params=this.params,this.service=new a(e)}}})},{"../../clients/sts":326,"../core":342}],350:[function(e,t,r){(function(r){(function(){function i(e){var t=e.service,r=t.api||{},i={};return t.config.region&&(i.region=t.config.region),r.serviceId&&(i.serviceId=r.serviceId),t.config.credentials.accessKeyId&&(i.accessKeyId=t.config.credentials.accessKeyId),i}function a(e,t,r){r&&void 0!==t&&null!==t&&"structure"===r.type&&r.required&&r.required.length>0&&b.arrayEach(r.required,function(i){var s=r.members[i];if(!0===s.endpointDiscoveryId){var o=s.isLocationName?s.name:i;e[o]=String(t[i])}else a(e,t[i],s)})}function s(e,t){var r={};return a(r,e.params,t),r}function o(e){var t=e.service,r=t.api,a=r.operations?r.operations[e.operation]:void 0,o=a?a.input:void 0,n=s(e,o),p=i(e);Object.keys(n).length>0&&(p=b.update(p,n),a&&(p.operation=a.name));var m=y.endpointCache.get(p);if(!m||1!==m.length||""!==m[0].Address)if(m&&m.length>0)e.httpRequest.updateEndpoint(m[0].Address);else{var c=t.makeRequest(r.endpointOperation,{Operation:a.name,Identifiers:n});u(c),c.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),c.removeListener("retry",y.EventListeners.Core.RETRY_CHECK),y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}]),c.send(function(e,t){t&&t.Endpoints?y.endpointCache.put(p,t.Endpoints):e&&y.endpointCache.put(p,[{Address:"",CachePeriodInMinutes:1}])})}}function n(e,t){var r=e.service,a=r.api,o=a.operations?a.operations[e.operation]:void 0,n=o?o.input:void 0,p=s(e,n),m=i(e);Object.keys(p).length>0&&(m=b.update(m,p),o&&(m.operation=o.name));var c=y.EndpointCache.getKeyString(m),l=y.endpointCache.get(c);if(l&&1===l.length&&""===l[0].Address)return g[c]||(g[c]=[]),void g[c].push({request:e,callback:t});if(l&&l.length>0)e.httpRequest.updateEndpoint(l[0].Address),t();else{var d=r.makeRequest(a.endpointOperation,{Operation:o.name,Identifiers:p});d.removeListener("validate",y.EventListeners.Core.VALIDATE_PARAMETERS),u(d),y.endpointCache.put(c,[{Address:"",CachePeriodInMinutes:60}]),d.send(function(r,i){if(r){if(e.response.error=b.error(r,{retryable:!1}),y.endpointCache.remove(m),g[c]){var a=g[c];b.arrayEach(a,function(e){e.request.response.error=b.error(r,{retryable:!1}),e.callback()}),delete g[c]}}else if(i&&(y.endpointCache.put(c,i.Endpoints),e.httpRequest.updateEndpoint(i.Endpoints[0].Address),g[c])){var a=g[c];b.arrayEach(a,function(e){e.request.httpRequest.updateEndpoint(i.Endpoints[0].Address),e.callback()}),delete g[c]}t()})}}function u(e){var t=e.service.api,r=t.apiVersion;r&&!e.httpRequest.headers["x-amz-api-version"]&&(e.httpRequest.headers["x-amz-api-version"]=r)}function p(e){var t=e.error,r=e.httpResponse;if(t&&("InvalidEndpointException"===t.code||421===r.statusCode)){var a=e.request,o=a.service.api.operations||{},n=o[a.operation]?o[a.operation].input:void 0,u=s(a,n),p=i(a);Object.keys(u).length>0&&(p=b.update(p,u),o[a.operation]&&(p.operation=o[a.operation].name)),y.endpointCache.remove(p)}}function m(e){if(e._originalConfig&&e._originalConfig.endpoint&&!0===e._originalConfig.endpointDiscoveryEnabled)throw b.error(new Error,{code:"ConfigurationException",message:"Custom endpoint is supplied; endpointDiscoveryEnabled must not be true."});var t=y.config[e.serviceIdentifier]||{};return Boolean(y.config.endpoint||t.endpoint||e._originalConfig&&e._originalConfig.endpoint)}function c(e){return["false","0"].indexOf(e)>=0}function l(e){var t=e.service||{};if(void 0!==t.config.endpointDiscoveryEnabled)return t.config.endpointDiscoveryEnabled;if(!b.isBrowser()){for(var i=0;i-1&&0===++e[t];t--);}var s=e("../core").util,o=s.buffer.toBuffer;i.fromNumber=function(e){if(e>0x8000000000000000||e<-0x8000000000000000)throw new Error(e+" is too large (or, if negative, too small) to represent as an Int64");for(var t=new Uint8Array(8),r=7,s=Math.abs(Math.round(e));r>-1&&s>0;r--,s/=256)t[r]=s;return e<0&&a(t),new i(t)},i.prototype.valueOf=function(){var e=this.bytes.slice(0),t=128&e[0];return t&&a(e),parseInt(e.toString("hex"),16)*(t?-1:1)},i.prototype.toString=function(){return String(this.valueOf())},t.exports={Int64:i}},{"../core":342}],360:[function(e,t,r){function i(e,t,r){var i=s(t),o=i.headers[":message-type"];if(o){if("error"===o.value)throw a(i);if("event"!==o.value)return}var n=i.headers[":event-type"],u=r.members[n.value];if(u){var p={},m=u.eventPayloadMemberName;if(m){var c=u.members[m];"binary"===c.type?p[m]=i.body:p[m]=e.parse(i.body.toString(),c)}for(var l=u.eventHeaderMemberNames,d=0;d=0)return e.httpRequest.headers["X-Amz-Content-Sha256"]="UNSIGNED-PAYLOAD",t();a.util.computeSha256(s,function(r,i){r?t(r):(e.httpRequest.headers["X-Amz-Content-Sha256"]=i,t())})}else t()}}),e("SET_CONTENT_LENGTH","afterBuild",function(e){var t=i(e),r=a.util.getRequestPayloadShape(e);if(void 0===e.httpRequest.headers["Content-Length"])try{var s=a.util.string.byteLength(e.httpRequest.body);e.httpRequest.headers["Content-Length"]=s}catch(i){if(r&&r.isStreaming){if(r.requiresLength)throw i;if(t.indexOf("unsigned-body")>=0)return void(e.httpRequest.headers["Transfer-Encoding"]="chunked");throw i}throw i}}),e("SET_HTTP_HOST","afterBuild",function(e){e.httpRequest.headers.Host=e.httpRequest.endpoint.host}),e("RESTART","restart",function(){var e=this.response.error;e&&e.retryable&&(this.httpRequest=new a.HttpRequest(this.service.endpoint,this.service.region),this.response.retryCount=600?this.emit("sign",[this],function(e){e?t(e):o()}):o()}),e("HTTP_HEADERS","httpHeaders",function(e,t,r,i){r.httpResponse.statusCode=e,r.httpResponse.statusMessage=i,r.httpResponse.headers=t,r.httpResponse.body=a.util.buffer.toBuffer(""),r.httpResponse.buffers=[],r.httpResponse.numBytes=0;var s=t.date||t.Date,o=r.request.service;if(s){var n=Date.parse(s);o.config.correctClockSkew&&o.isClockSkewed(n)&&o.applyClockOffset(n)}}),e("HTTP_DATA","httpData",function(e,t){if(e){if(a.util.isNode()){t.httpResponse.numBytes+=e.length;var r=t.httpResponse.headers["content-length"],i={loaded:t.httpResponse.numBytes,total:r};t.request.emit("httpDownloadProgress",[i,t])}t.httpResponse.buffers.push(a.util.buffer.toBuffer(e))}}),e("HTTP_DONE","httpDone",function(e){if(e.httpResponse.buffers&&e.httpResponse.buffers.length>0){var t=a.util.buffer.concat(e.httpResponse.buffers);e.httpResponse.body=t}delete e.httpResponse.numBytes,delete e.httpResponse.buffers}),e("FINALIZE_ERROR","retry",function(e){e.httpResponse.statusCode&&(e.error.statusCode=e.httpResponse.statusCode,void 0===e.error.retryable&&(e.error.retryable=this.service.retryableError(e.error,this)))}),e("INVALIDATE_CREDENTIALS","retry",function(e){if(e.error)switch(e.error.code){case"RequestExpired":case"ExpiredTokenException":case"ExpiredToken":e.error.retryable=!0,e.request.service.config.credentials.expired=!0}}),e("EXPIRED_SIGNATURE","retry",function(e){var t=e.error;t&&"string"==typeof t.code&&"string"==typeof t.message&&t.code.match(/Signature/)&&t.message.match(/expired/)&&(e.error.retryable=!0)}),e("CLOCK_SKEWED","retry",function(e){e.error&&this.service.clockSkewError(e.error)&&this.service.config.correctClockSkew&&(e.error.retryable=!0)}),e("REDIRECT","retry",function(e){e.error&&e.error.statusCode>=300&&e.error.statusCode<400&&e.httpResponse.headers.location&&(this.httpRequest.endpoint=new a.Endpoint(e.httpResponse.headers.location),this.httpRequest.headers.Host=this.httpRequest.endpoint.host,e.error.redirect=!0,e.error.retryable=!0)}),e("RETRY_CHECK","retry",function(e){e.error&&(e.error.redirect&&e.redirectCount=0?(e.error=null,setTimeout(t,r)):t()})}),CorePost:(new s).addNamedListeners(function(e){e("EXTRACT_REQUEST_ID","extractData",a.util.extractRequestId),e("EXTRACT_REQUEST_ID","extractError",a.util.extractRequestId),e("ENOTFOUND_ERROR","httpError",function(e){if("NetworkingError"===e.code&&function(e){return"ENOTFOUND"===e.errno||"number"==typeof e.errno&&"function"==typeof a.util.getSystemErrorName&&["EAI_NONAME","EAI_NODATA"].indexOf(a.util.getSystemErrorName(e.errno)>=0)}(e)){var t="Inaccessible host: `"+e.hostname+"' at port `"+e.port+"'. This service may not be available in the `"+e.region+"' region.";this.response.error=a.util.error(new Error(t),{code:"UnknownEndpoint",region:e.region,hostname:e.hostname,retryable:!0,originalError:e})}})}),Logger:(new s).addNamedListeners(function(t){t("LOG_REQUEST","complete",function(t){function r(e,t){if(!t)return t;if(e.isSensitive)return"***SensitiveInformation***";switch(e.type){case"structure":var i={};return a.util.each(t,function(t,a){Object.prototype.hasOwnProperty.call(e.members,t)?i[t]=r(e.members[t],a):i[t]=a}),i;case"list":var s=[];return a.util.arrayEach(t,function(t,i){s.push(r(e.member,t))}),s;case"map":var o={};return a.util.each(t,function(t,i){o[t]=r(e.value,i)}),o;default:return t}}var i=t.request,s=i.service.config.logger;if(s){var o=function(){var o=t.request.service.getSkewCorrectedDate().getTime(),n=(o-i.startTime.getTime())/1e3,u=!!s.isTTY,p=t.httpResponse.statusCode,m=i.params;if(i.service.api.operations&&i.service.api.operations[i.operation]&&i.service.api.operations[i.operation].input){m=r(i.service.api.operations[i.operation].input,i.params)}var c=e("util").inspect(m,!0,null),l="";return u&&(l+=""),l+="[AWS "+i.service.serviceIdentifier+" "+p,l+=" "+n.toString()+"s "+t.retryCount+" retries]",u&&(l+=""),l+=" "+a.util.string.lowerFirst(i.operation),l+="("+c+")",u&&(l+=""),l}();"function"==typeof s.log?s.log(o):"function"==typeof s.write&&s.write(o+"\n")}})}),Json:(new s).addNamedListeners(function(t){var r=e("./protocol/json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Rest:(new s).addNamedListeners(function(t){var r=e("./protocol/rest");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestJson:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_json");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),RestXml:(new s).addNamedListeners(function(t){var r=e("./protocol/rest_xml");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)}),Query:(new s).addNamedListeners(function(t){var r=e("./protocol/query");t("BUILD","build",r.buildRequest),t("EXTRACT_DATA","extractData",r.extractData),t("EXTRACT_ERROR","extractError",r.extractError)})}},{"./core":342,"./discover_endpoint":350,"./protocol/json":377,"./protocol/query":378,"./protocol/rest":379,"./protocol/rest_json":380,"./protocol/rest_xml":381,"./sequential_executor":392,util:444}],364:[function(e,t,r){var i=e("./core"),a=i.util.inherit;i.Endpoint=a({constructor:function(e,t){if(i.util.hideProperties(this,["slashes","auth","hash","search","query"]),void 0===e||null===e)throw new Error("Invalid endpoint: "+e);if("string"!=typeof e)return i.util.copy(e);if(!e.match(/^http/)){e=((t&&void 0!==t.sslEnabled?t.sslEnabled:i.config.sslEnabled)?"https":"http")+"://"+e}i.util.update(this,i.util.urlParse(e)),this.port?this.port=parseInt(this.port,10):this.port="https:"===this.protocol?443:80}}),i.HttpRequest=a({constructor:function(e,t){e=new i.Endpoint(e),this.method="POST",this.path=e.path||"/",this.headers={},this.body="",this.endpoint=e,this.region=t,this._userAgent="",this.setUserAgent()},setUserAgent:function(){this._userAgent=this.headers[this.getUserAgentHeaderName()]=i.util.userAgent()},getUserAgentHeaderName:function(){return(i.util.isBrowser()?"X-Amz-":"")+"User-Agent"},appendToUserAgent:function(e){"string"==typeof e&&e&&(this._userAgent+=" "+e),this.headers[this.getUserAgentHeaderName()]=this._userAgent},getUserAgent:function(){return this._userAgent},pathname:function(){return this.path.split("?",1)[0]},search:function(){var e=this.path.split("?",2)[1];return e?(e=i.util.queryStringParse(e),i.util.queryParamsToString(e)):""},updateEndpoint:function(e){var t=new i.Endpoint(e);this.endpoint=t,this.path=t.path||"/",this.headers.Host&&(this.headers.Host=t.host)}}),i.HttpResponse=a({constructor:function(){this.statusCode=void 0,this.headers={},this.body=void 0,this.streaming=!1,this.stream=null},createUnbufferedStream:function(){return this.streaming=!0,this.stream}}),i.HttpClient=a({}),i.HttpClient.getInstance=function(){return void 0===this.singleton&&(this.singleton=new this),this.singleton}},{"./core":342}],365:[function(e,t,r){var i=e("../core"),a=e("events").EventEmitter;e("../http"),i.XHRClient=i.util.inherit({handleRequest:function(e,t,r,s){var o=this,n=e.endpoint,u=new a,p=n.protocol+"//"+n.hostname;80!==n.port&&443!==n.port&&(p+=":"+n.port),p+=e.path;var m=new XMLHttpRequest,c=!1;e.stream=m,m.addEventListener("readystatechange",function(){try{if(0===m.status)return}catch(e){return}this.readyState>=this.HEADERS_RECEIVED&&!c&&(u.statusCode=m.status,u.headers=o.parseHeaders(m.getAllResponseHeaders()),u.emit("headers",u.statusCode,u.headers,m.statusText),c=!0),this.readyState===this.DONE&&o.finishRequest(m,u)},!1),m.upload.addEventListener("progress",function(e){u.emit("sendProgress",e)}),m.addEventListener("progress",function(e){u.emit("receiveProgress",e)},!1),m.addEventListener("timeout",function(){s(i.util.error(new Error("Timeout"),{code:"TimeoutError"}))},!1),m.addEventListener("error",function(){s(i.util.error(new Error("Network Failure"),{code:"NetworkingError"}))},!1),m.addEventListener("abort",function(){s(i.util.error(new Error("Request aborted"),{code:"RequestAbortedError"}))},!1),r(u),m.open(e.method,p,!1!==t.xhrAsync),i.util.each(e.headers,function(e,t){"Content-Length"!==e&&"User-Agent"!==e&&"Host"!==e&&m.setRequestHeader(e,t)}),t.timeout&&!1!==t.xhrAsync&&(m.timeout=t.timeout),t.xhrWithCredentials&&(m.withCredentials=!0);try{m.responseType="arraybuffer"}catch(e){}try{e.body?m.send(e.body):m.send()}catch(t){if(!e.body||"object"!=typeof e.body.buffer)throw t;m.send(e.body.buffer)}return u},parseHeaders:function(e){var t={};return i.util.arrayEach(e.split(/\r?\n/),function(e){var r=e.split(":",1)[0],i=e.substring(r.length+2);r.length>0&&(t[r.toLowerCase()]=i)}),t},finishRequest:function(e,t){var r;if("arraybuffer"===e.responseType&&e.response){var a=e.response;r=new i.util.Buffer(a.byteLength);for(var s=new Uint8Array(a),o=0;o-1?t||"":t,this.isJsonValue?JSON.parse(t):t&&"function"==typeof t.toString?t.toString():t},this.toWireFormat=function(e){return this.isJsonValue?JSON.stringify(e):e}}function l(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseFloat(e)},this.toWireFormat=this.toType}function d(){s.apply(this,arguments),this.toType=function(e){return null===e||void 0===e?null:parseInt(e,10)},this.toWireFormat=this.toType}function y(){s.apply(this,arguments),this.toType=function(e){var t=h.base64.decode(e);if(this.isSensitive&&h.isNode()&&"function"==typeof h.Buffer.alloc){var r=h.Buffer.alloc(t.length,t);t.fill(0),t=r}return t},this.toWireFormat=h.base64.encode}function b(){y.apply(this,arguments)}function S(){s.apply(this,arguments),this.toType=function(e){return"boolean"==typeof e?e:null===e||void 0===e?null:"true"===e}}var g=e("./collection"),h=e("../util");s.normalizedTypes={character:"string",double:"float",long:"integer",short:"integer",biginteger:"integer",bigdecimal:"float",blob:"binary"},s.types={structure:n,list:u,map:p,boolean:S,timestamp:m,float:l,integer:d,string:c,base64:b,binary:y},s.resolve=function(e,t){if(e.shape){var r=t.api.shapes[e.shape];if(!r)throw new Error("Cannot find shape reference: "+e.shape);return r}return null},s.create=function(e,t,r){if(e.isShape)return e;var i=s.resolve(e,t);if(i){var a=Object.keys(e);t.documentation||(a=a.filter(function(e){return!e.match(/documentation/)}));var o=function(){i.constructor.call(this,e,t,r)};return o.prototype=i,new o}e.type||(e.members?e.type="structure":e.member?e.type="list":e.key?e.type="map":e.type="string");var n=e.type;if(s.normalizedTypes[e.type]&&(e.type=s.normalizedTypes[e.type]),s.types[e.type])return new s.types[e.type](e,t,r);throw new Error("Unrecognized shape type: "+n)},s.shapes={StructureShape:n,ListShape:u,MapShape:p,StringShape:c,BooleanShape:S,Base64Shape:b},t.exports=s},{"../util":418,"./collection":369}],374:[function(e,t,r){var i=e("./core");i.ParamValidator=i.util.inherit({constructor:function(e){!0!==e&&void 0!==e||(e={min:!0}),this.validation=e},validate:function(e,t,r){if(this.errors=[],this.validateMember(e,t||{},r||"params"),this.errors.length>1){var a=this.errors.join("\n* ");throw a="There were "+this.errors.length+" validation errors:\n* "+a,i.util.error(new Error(a),{code:"MultipleValidationErrors",errors:this.errors})}if(1===this.errors.length)throw this.errors[0];return!0},fail:function(e,t){this.errors.push(i.util.error(new Error(t),{code:e}))},validateStructure:function(e,t,r){this.validateType(t,r,["object"],"structure");for(var i,a=0;e.required&&a= 1, but found "'+t+'" for '+r)},validatePattern:function(e,t,r){this.validation.pattern&&void 0!==e.pattern&&(new RegExp(e.pattern).test(t)||this.fail("PatternMatchError",'Provided value "'+t+'" does not match regex pattern /'+e.pattern+"/ for "+r))},validateRange:function(e,t,r,i){this.validation.min&&void 0!==e.min&&t= "+e.min+", but found "+t+" for "+r),this.validation.max&&void 0!==e.max&&t>e.max&&this.fail("MaxRangeError","Expected "+i+" <= "+e.max+", but found "+t+" for "+r)},validateEnum:function(e,t,r){this.validation.enum&&void 0!==e.enum&&-1===e.enum.indexOf(t)&&this.fail("EnumError","Found string value of "+t+", but expected "+e.enum.join("|")+" for "+r)},validateType:function(e,t,r,a){if(null===e||void 0===e)return!1;for(var s=!1,o=0;o63)throw u.error(new Error,{code:"ValidationError",message:"Hostname label length should be between 1 to 63 characters, inclusive."});if(!r.test(e))throw p.util.error(new Error,{code:"ValidationError",message:e+" is not hostname compatible."})})}var u=e("../util"),p=e("../core");t.exports={populateHostPrefix:i}},{"../core":342,"../util":418}],377:[function(e,t,r){function i(e){var t=e.httpRequest,r=e.service.api,i=r.targetPrefix+"."+r.operations[e.operation].name,a=r.jsonVersion||"1.0",s=r.operations[e.operation].input,o=new n;1===a&&(a="1.0"),t.body=o.build(e.params||{},s),t.headers["Content-Type"]="application/x-amz-json-"+a,t.headers["X-Amz-Target"]=i,p(e)}function a(e){var t={},r=e.httpResponse;if(t.code=r.headers["x-amzn-errortype"]||"UnknownError","string"==typeof t.code&&(t.code=t.code.split(":")[0]),r.body.length>0)try{var i=JSON.parse(r.body.toString()),a=i.__type||i.code||i.Code;a&&(t.code=a.split("#").pop()),"RequestEntityTooLarge"===t.code?t.message="Request body must be less than 1 MB":t.message=i.message||i.Message||null}catch(i){t.statusCode=r.statusCode,t.message=r.statusMessage}else t.statusCode=r.statusCode,t.message=r.statusCode.toString();e.error=o.error(new Error,t)}function s(e){var t=e.httpResponse.body.toString()||"{}";if(!1===e.request.service.config.convertResponseTypes)e.data=JSON.parse(t);else{var r=e.request.service.api.operations[e.request.operation],i=r.output||{},a=new u;e.data=a.parse(t,i)}}var o=e("../util"),n=e("../json/builder"),u=e("../json/parser"),p=e("./helpers").populateHostPrefix;t.exports={buildRequest:i,extractError:a,extractData:s}},{"../json/builder":366,"../json/parser":367,"../util":418,"./helpers":376}],378:[function(e,t,r){function i(e){var t=e.service.api.operations[e.operation],r=e.httpRequest;r.headers["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8",r.params={Version:e.service.api.apiVersion,Action:t.name},(new u).serialize(e.params,t.input,function(e,t){r.params[e]=t}),r.body=n.queryParamsToString(r.params),m(e)}function a(e){var t,r=e.httpResponse.body.toString();if(r.match("=0?"&":"?";var n=[];m.arrayEach(Object.keys(s).sort(),function(e){Array.isArray(s[e])||(s[e]=[s[e]]);for(var t=0;t0){t=new n.XML.Parser;var c=t.parse(i.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:a,extractError:s,extractData:o}},{"../core":342,"../util":418,"./rest":379}],382:[function(e,t,r){function i(){}function a(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,i){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=a(s);n=e?e+"."+n:n,u(n,o,s,i)}})}function o(e,t,r,i){var a=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+a+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,i),u(e+m,s,r.value,i)})}function n(e,t,r,i){var s=r.member||{};if(0===t.length)return void i.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(a(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,i)})}function u(e,t,r,i){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,i):"list"===r.type?n(e,t,r,i):"map"===r.type?o(e,t,r,i):i(e,r.toWireFormat(t).toString()))}var p=e("../util");i.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=i},{"../util":418}],383:[function(e,t,r){var i=e("../core"),a=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};i.RDS.Signer=i.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=i.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new i.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),a=new i.Service(u),a.api=s;var p=a.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,i){i&&(i=r.convertUrlToAuthToken(i)),t(e,i)})},modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=i.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||i.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":342}],384:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],385:[function(e,t,r){function i(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function a(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:i,isGlobalRegion:a,getRealRegion:s}},{}],386:[function(e,t,r){function i(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function a(e){var t=e.config.region,r=i(t),a=e.api.endpointPrefix;return[[t,a],[r,a],[t,"*"],[r,"*"],["*",a],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=a(e),r=e.config.useFipsEndpoint,i=e.config.useDualstackEndpoint,o=0;o=0){u=!0;var p=0}var m=function(){u&&p!==n?a.emit("error",i.util.error(new Error("Stream content length mismatch. Received "+p+" of "+n+" bytes."),{code:"StreamContentLengthMismatch"})):2===i.HttpClient.streamsApiVersion?a.end():a.emit("end")},c=o.httpResponse.createUnbufferedStream();if(2===i.HttpClient.streamsApiVersion)if(u){var l=new e.PassThrough;l._write=function(t){return t&&t.length&&(p+=t.length),e.PassThrough.prototype._write.apply(this,arguments)},l.on("end",m),a.on("error",function(e){u=!1,c.unpipe(l),l.emit("end"),l.end()}),c.pipe(l).pipe(a,{end:!1})}else c.pipe(a);else u&&c.on("data",function(e){e&&e.length&&(p+=e.length)}),c.on("data",function(e){a.emit("data",e)}),c.on("end",m);c.on("error",function(e){u=!1,a.emit("error",e)})}}),a},emitEvent:function(e,t,r){"function"==typeof t&&(r=t,t=null),r||(r=function(){}),t||(t=this.eventParameters(e,this.response)),i.SequentialExecutor.prototype.emit.call(this,e,t,function(e){e&&(this.response.error=e),r.call(this,e)})},eventParameters:function(e){switch(e){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(e,t){return t||"function"!=typeof e||(t=e,e=null),(new i.Signers.Presign).sign(this.toGet(),e,t)},isPresigned:function(){return Object.prototype.hasOwnProperty.call(this.httpRequest.headers,"presigned-expires")},toUnauthenticated:function(){return this._unAuthenticated=!0,this.removeListener("validate",i.EventListeners.Core.VALIDATE_CREDENTIALS),this.removeListener("sign",i.EventListeners.Core.SIGN),this},toGet:function(){return"query"!==this.service.api.protocol&&"ec2"!==this.service.api.protocol||(this.removeListener("build",this.buildAsGet),this.addListener("build",this.buildAsGet)),this},buildAsGet:function(e){e.httpRequest.method="GET",e.httpRequest.path=e.service.endpoint.path+"?"+e.httpRequest.body,e.httpRequest.body="",delete e.httpRequest.headers["Content-Length"],delete e.httpRequest.headers["Content-Type"]},haltHandlersOnError:function(){this._haltHandlersOnError=!0}}),i.Request.addPromisesToClass=function(e){this.prototype.promise=function(){var t=this;return this.httpRequest.appendToUserAgent("promise"),new e(function(e,r){t.on("complete",function(t){t.error?r(t.error):e(Object.defineProperty(t.data||{},"$response",{value:t}))}),t.runTo()})}},i.Request.deletePromisesFromClass=function(){delete this.prototype.promise},i.util.addPromises(i.Request),i.util.mixin(i.Request,i.SequentialExecutor)}).call(this)}).call(this,e("_process"))},{"./core":342,"./state_machine":417,_process:432,jmespath:431}],389:[function(e,t,r){function i(e){var t=e.request._waiter,r=t.config.acceptors,i=!1,a="retry";r.forEach(function(r){if(!i){var s=t.matchers[r.matcher];s&&s(e,r.expected,r.argument)&&(i=!0,a=r.state)}}),!i&&e.error&&(a="failure"),"success"===a?t.setSuccess(e):t.setError(e,"retry"===a)}var a=e("./core"),s=a.util.inherit,o=e("jmespath");a.ResourceWaiter=s({constructor:function(e,t){this.service=e,this.state=t,this.loadWaiterConfig(this.state)},service:null,state:null,config:null,matchers:{path:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}return o.strictDeepEqual(i,t)},pathAll:function(e,t,r){try{var i=o.search(e.data,r)}catch(e){return!1}Array.isArray(i)||(i=[i]);var a=i.length;if(!a)return!1;for(var s=0;s=1&&t.doneParts===t.numParts&&t.finishMultiPart()}))}r&&t.fillQueue.call(t)},abort:function(){var e=this;!0===e.isDoneChunking&&1===e.totalPartNumbers&&e.singlePart?e.singlePart.abort():e.cleanup(i.util.error(new Error("Request aborted by user"),{code:"RequestAbortedError",retryable:!1}))},validateBody:function(){var e=this;if(e.body=e.service.config.params.Body,"string"==typeof e.body)e.body=i.util.buffer.toBuffer(e.body);else if(!e.body)throw new Error("params.Body is required");e.sliceFn=i.util.arraySliceFn(e.body)},bindServiceObject:function(e){e=e||{};var t=this;if(t.service){var r=t.service,a=i.util.copy(r.config);a.signatureVersion=r.getSignatureVersion(),t.service=new r.constructor.__super__(a),t.service.config.params=i.util.merge(t.service.config.params||{},e),Object.defineProperty(t.service,"_originalConfig",{get:function(){return r._originalConfig},enumerable:!1,configurable:!0})}else t.service=new i.S3({params:e})},adjustTotalBytes:function(){var e=this;try{e.totalBytes=a(e.body)}catch(e){}if(e.totalBytes){var t=Math.ceil(e.totalBytes/e.maxTotalParts);t>e.partSize&&(e.partSize=t)}else e.totalBytes=void 0},isDoneChunking:!1,partPos:0,totalChunkedBytes:0,totalUploadedBytes:0,totalBytes:void 0,numParts:0,totalPartNumbers:0,activeParts:0,doneParts:0,parts:null,completeInfo:null,failed:!1,multipartReq:null,partBuffers:null,partBufferLength:0,fillBuffer:function(){var e=this,t=a(e.body);if(0===t)return e.isDoneChunking=!0,e.numParts=1,void e.nextChunk(e.body);for(;e.activeParts=e.queueSize)){var t=e.body.read(e.partSize-e.partBufferLength)||e.body.read();if(t&&(e.partBuffers.push(t),e.partBufferLength+=t.length,e.totalChunkedBytes+=t.length),e.partBufferLength>=e.partSize){var r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers);if(e.partBuffers=[],e.partBufferLength=0,r.length>e.partSize){var i=r.slice(e.partSize);e.partBuffers.push(i),e.partBufferLength+=i.length,r=r.slice(0,e.partSize)}e.nextChunk(r)}e.isDoneChunking&&!e.isDoneSending&&(r=1===e.partBuffers.length?e.partBuffers[0]:s.concat(e.partBuffers),e.partBuffers=[],e.partBufferLength=0,e.totalBytes=e.totalChunkedBytes,e.isDoneSending=!0,(0===e.numParts||r.length>0)&&(e.numParts++,e.nextChunk(r))),e.body.read(0)}},nextChunk:function(e){var t=this;if(t.failed)return null;var r=++t.totalPartNumbers;if(t.isDoneChunking&&1===r){var a={Body:e};this.tags&&(a.Tagging=this.getTaggingHeader());var s=t.service.putObject(a);return s._managedUpload=t,s.on("httpUploadProgress",t.progress).send(t.finishSinglePart),t.singlePart=s,null}if(t.service.config.params.ContentMD5){var o=i.util.error(new Error("The Content-MD5 you specified is invalid for multi-part uploads."),{code:"InvalidDigest",retryable:!1});return t.cleanup(o),null}if(t.completeInfo[r]&&null!==t.completeInfo[r].ETag)return null;t.activeParts++,t.service.config.params.UploadId?t.uploadPart(e,r):t.multipartReq?t.queueChunks(e,r):(t.multipartReq=t.service.createMultipartUpload(),t.multipartReq.on("success",function(e){t.service.config.params.UploadId=e.data.UploadId,t.multipartReq=null}),t.queueChunks(e,r),t.multipartReq.on("error",function(e){t.cleanup(e)}),t.multipartReq.send())},getTaggingHeader:function(){for(var e=[],t=0;t-1&&r.splice(a,1)}return this},removeAllListeners:function(e){return e?delete this._events[e]:this._events={},this},emit:function(e,t,r){r||(r=function(){});var i=this.listeners(e),a=i.length;return this.callListeners(i,t,r),a>0},callListeners:function(e,t,r,a){function s(a){if(a&&(n=i.util.error(n||new Error,a),o._haltHandlersOnError))return r.call(o,n);o.callListeners(e,t,r,n)}for(var o=this,n=a||null;e.length>0;){var u=e.shift();if(u._isAsync)return void u.apply(o,t.concat([s]));try{u.apply(o,t)}catch(e){n=i.util.error(n||new Error,e)}if(n&&o._haltHandlersOnError)return void r.call(o,n)}r.call(o,n)},addListeners:function(e){var t=this;return e._events&&(e=e._events),i.util.each(e,function(e,r){"function"==typeof r&&(r=[r]),i.util.arrayEach(r,function(r){t.on(e,r)})}),t},addNamedListener:function(e,t,r,i){return this[e]=r,this.addListener(t,r,i),this},addNamedAsyncListener:function(e,t,r,i){return r._isAsync=!0,this.addNamedListener(e,t,r,i)},addNamedListeners:function(e){var t=this;return e(function(){t.addNamedListener.apply(t,arguments)},function(){t.addNamedAsyncListener.apply(t,arguments)}),this}}),i.SequentialExecutor.prototype.addListener=i.SequentialExecutor.prototype.on,t.exports=i.SequentialExecutor},{"./core":342}],393:[function(e,t,r){(function(r){(function(){var i=e("./core"),a=e("./model/api"),s=e("./region_config"),o=i.util.inherit,n=0,u=e("./region/utils");i.Service=o({constructor:function(e){if(!this.loadServiceClass)throw i.util.error(new Error,"Service must be constructed with `new' operator");if(e){if(e.region){var t=e.region;u.isFipsRegion(t)&&(e.region=u.getRealRegion(t),e.useFipsEndpoint=!0),u.isGlobalRegion(t)&&(e.region=u.getRealRegion(t))}"boolean"==typeof e.useDualstack&&"boolean"!=typeof e.useDualstackEndpoint&&(e.useDualstackEndpoint=e.useDualstack)}var r=this.loadServiceClass(e||{});if(r){var a=i.util.copy(e),s=new r(e);return Object.defineProperty(s,"_originalConfig",{get:function(){return a},enumerable:!1,configurable:!0}),s._clientId=++n,s}this.initialize(e)},initialize:function(e){var t=i.config[this.serviceIdentifier];if(this.config=new i.Config(i.config),t&&this.config.update(t,!0),e&&this.config.update(e,!0),this.validateService(),this.config.endpoint||s.configureEndpoint(this),this.config.endpoint=this.endpointFromTemplate(this.config.endpoint),this.setEndpoint(this.config.endpoint),i.SequentialExecutor.call(this),i.Service.addDefaultMonitoringListeners(this),(this.config.clientSideMonitoring||i.Service._clientSideMonitoring)&&this.publisher){var a=this.publisher;this.addNamedListener("PUBLISH_API_CALL","apiCall",function(e){r.nextTick(function(){a.eventHandler(e)})}),this.addNamedListener("PUBLISH_API_ATTEMPT","apiCallAttempt",function(e){r.nextTick(function(){a.eventHandler(e)})})}},validateService:function(){},loadServiceClass:function(e){var t=e;if(i.util.isEmpty(this.api)){if(t.apiConfig)return i.Service.defineServiceApi(this.constructor,t.apiConfig);if(this.constructor.services){t=new i.Config(i.config),t.update(e,!0);var r=t.apiVersions[this.constructor.serviceIdentifier];return r=r||t.apiVersion,this.getLatestServiceClass(r)}return null}return null},getLatestServiceClass:function(e){return e=this.getLatestServiceVersion(e),null===this.constructor.services[e]&&i.Service.defineServiceApi(this.constructor,e),this.constructor.services[e]},getLatestServiceVersion:function(e){if(!this.constructor.services||0===this.constructor.services.length)throw new Error("No services defined on "+this.constructor.serviceIdentifier);if(e?i.util.isType(e,Date)&&(e=i.util.date.iso8601(e).split("T")[0]):e="latest",Object.hasOwnProperty(this.constructor.services,e))return e;for(var t=Object.keys(this.constructor.services).sort(),r=null,a=t.length-1;a>=0;a--)if("*"!==t[a][t[a].length-1]&&(r=t[a]),t[a].substr(0,10)<=e)return r;throw new Error("Could not find "+this.constructor.serviceIdentifier+" API to satisfy version constraint `"+e+"'")},api:{},defaultRetryCount:3,customizeRequests:function(e){if(e){if("function"!=typeof e)throw new Error("Invalid callback type '"+typeof e+"' provided in customizeRequests");this.customRequestHandler=e}else this.customRequestHandler=null},makeRequest:function(e,t,r){if("function"==typeof t&&(r=t,t=null),t=t||{},this.config.params){var a=this.api.operations[e];a&&(t=i.util.copy(t),i.util.each(this.config.params,function(e,r){a.input.members[e]&&(void 0!==t[e]&&null!==t[e]||(t[e]=r))}))}var s=new i.Request(this,e,t);return this.addAllRequestListeners(s),this.attachMonitoringEmitter(s),r&&s.send(r),s},makeUnauthenticatedRequest:function(e,t,r){"function"==typeof t&&(r=t,t={});var i=this.makeRequest(e,t).toUnauthenticated();return r?i.send(r):i},waitFor:function(e,t,r){return new i.ResourceWaiter(this,e).wait(t,r)},addAllRequestListeners:function(e){for(var t=[i.events,i.EventListeners.Core,this.serviceInterface(),i.EventListeners.CorePost],r=0;r299?(a.code&&(r.FinalAwsException=a.code),a.message&&(r.FinalAwsExceptionMessage=a.message)):((a.code||a.name)&&(r.FinalSdkException=a.code||a.name),a.message&&(r.FinalSdkExceptionMessage=a.message))}return r},apiAttemptEvent:function(e){var t=e.service.api.operations[e.operation],r={Type:"ApiCallAttempt",Api:t?t.name:e.operation,Version:1,Service:e.service.api.serviceId||e.service.api.endpointPrefix,Fqdn:e.httpRequest.endpoint.hostname,UserAgent:e.httpRequest.getUserAgent()},i=e.response;return i.httpResponse.statusCode&&(r.HttpStatusCode=i.httpResponse.statusCode),!e._unAuthenticated&&e.service.config.credentials&&e.service.config.credentials.accessKeyId&&(r.AccessKey=e.service.config.credentials.accessKeyId),i.httpResponse.headers?(e.httpRequest.headers["x-amz-security-token"]&&(r.SessionToken=e.httpRequest.headers["x-amz-security-token"]),i.httpResponse.headers["x-amzn-requestid"]&&(r.XAmznRequestId=i.httpResponse.headers["x-amzn-requestid"]),i.httpResponse.headers["x-amz-request-id"]&&(r.XAmzRequestId=i.httpResponse.headers["x-amz-request-id"]),i.httpResponse.headers["x-amz-id-2"]&&(r.XAmzId2=i.httpResponse.headers["x-amz-id-2"]),r):r},attemptFailEvent:function(e){var t=this.apiAttemptEvent(e),r=e.response,i=r.error;return r.httpResponse.statusCode>299?(i.code&&(t.AwsException=i.code),i.message&&(t.AwsExceptionMessage=i.message)):((i.code||i.name)&&(t.SdkException=i.code||i.name),i.message&&(t.SdkExceptionMessage=i.message)),t},attachMonitoringEmitter:function(e){var t,r,a,s,o,n,u=0,p=this;e.on("validate",function(){s=i.util.realClock.now(),n=Date.now()},!0),e.on("sign",function(){r=i.util.realClock.now(),t=Date.now(),o=e.httpRequest.region,u++},!0),e.on("validateResponse",function(){a=Math.round(i.util.realClock.now()-r)}),e.addNamedListener("API_CALL_ATTEMPT","success",function(){var r=p.apiAttemptEvent(e);r.Timestamp=t,r.AttemptLatency=a>=0?a:0,r.Region=o,p.emit("apiCallAttempt",[r])}),e.addNamedListener("API_CALL_ATTEMPT_RETRY","retry",function(){var s=p.attemptFailEvent(e);s.Timestamp=t,a=a||Math.round(i.util.realClock.now()-r),s.AttemptLatency=a>=0?a:0,s.Region=o,p.emit("apiCallAttempt",[s])}),e.addNamedListener("API_CALL","complete",function(){var t=p.apiCallEvent(e);if(t.AttemptCount=u,!(t.AttemptCount<=0)){t.Timestamp=n;var r=Math.round(i.util.realClock.now()-s);t.Latency=r>=0?r:0;var a=e.response;a.error&&a.error.retryable&&"number"==typeof a.retryCount&&"number"==typeof a.maxRetries&&a.retryCount>=a.maxRetries&&(t.MaxRetriesExceeded=1),p.emit("apiCall",[t])}})},setupRequestListeners:function(e){},getSigningName:function(){return this.api.signingName||this.api.endpointPrefix},getSignerClass:function(e){var t,r=null,a="";if(e){r=(e.service.api.operations||{})[e.operation]||null,a=r?r.authtype:""}return t=this.config.signatureVersion?this.config.signatureVersion:"v4"===a||"v4-unsigned-body"===a?"v4":this.api.signatureVersion,i.Signers.RequestSigner.getVersion(t)},serviceInterface:function(){switch(this.api.protocol){case"ec2":case"query":return i.EventListeners.Query;case"json":return i.EventListeners.Json;case"rest-json":return i.EventListeners.RestJson;case"rest-xml":return i.EventListeners.RestXml}if(this.api.protocol)throw new Error("Invalid service `protocol' "+this.api.protocol+" in API config")},successfulResponse:function(e){return e.httpResponse.statusCode<300},numRetries:function(){return void 0!==this.config.maxRetries?this.config.maxRetries:this.defaultRetryCount},retryDelays:function(e,t){return i.util.calculateRetryDelay(e,this.config.retryDelayOptions,t)},retryableError:function(e){return!!this.timeoutError(e)||(!!this.networkingError(e)||(!!this.expiredCredentialsError(e)||(!!this.throttledError(e)||e.statusCode>=500)))},networkingError:function(e){return"NetworkingError"===e.code},timeoutError:function(e){return"TimeoutError"===e.code},expiredCredentialsError:function(e){return"ExpiredTokenException"===e.code},clockSkewError:function(e){switch(e.code){case"RequestTimeTooSkewed":case"RequestExpired":case"InvalidSignatureException":case"SignatureDoesNotMatch":case"AuthFailure":case"RequestInTheFuture":return!0;default:return!1}},getSkewCorrectedDate:function(){return new Date(Date.now()+this.config.systemClockOffset)},applyClockOffset:function(e){e&&(this.config.systemClockOffset=e-Date.now())},isClockSkewed:function(e){if(e)return Math.abs(this.getSkewCorrectedDate().getTime()-e)>=3e5},throttledError:function(e){if(429===e.statusCode)return!0;switch(e.code){case"ProvisionedThroughputExceededException":case"Throttling":case"ThrottlingException":case"RequestLimitExceeded":case"RequestThrottled":case"RequestThrottledException":case"TooManyRequestsException":case"TransactionInProgressException":case"EC2ThrottledException":return!0;default:return!1}},endpointFromTemplate:function(e){if("string"!=typeof e)return e;var t=e;return t=t.replace(/\{service\}/g,this.api.endpointPrefix),t=t.replace(/\{region\}/g,this.config.region),t=t.replace(/\{scheme\}/g,this.config.sslEnabled?"https":"http")},setEndpoint:function(e){this.endpoint=new i.Endpoint(e,this.config)},paginationConfig:function(e,t){var r=this.api.operations[e].paginator;if(!r){if(t){var a=new Error;throw i.util.error(a,"No pagination configuration for "+e)}return null}return r}}),i.util.update(i.Service,{defineMethods:function(e){i.util.each(e.prototype.api.operations,function(t){if(!e.prototype[t]){"none"===e.prototype.api.operations[t].authtype?e.prototype[t]=function(e,r){return this.makeUnauthenticatedRequest(t,e,r)}:e.prototype[t]=function(e,r){return this.makeRequest(t,e,r)}}})},defineService:function(e,t,r){i.Service._serviceMap[e]=!0,Array.isArray(t)||(r=t,t=[]);var a=o(i.Service,r||{});if("string"==typeof e){i.Service.addVersions(a,t);var s=a.serviceIdentifier||e;a.serviceIdentifier=s}else a.prototype.api=e,i.Service.defineMethods(a);if(i.SequentialExecutor.call(this.prototype),!this.prototype.publisher&&i.util.clientSideMonitoring){var n=i.util.clientSideMonitoring.Publisher,u=i.util.clientSideMonitoring.configProvider,p=u();this.prototype.publisher=new n(p),p.enabled&&(i.Service._clientSideMonitoring=!0)}return i.SequentialExecutor.call(a.prototype),i.Service.addDefaultMonitoringListeners(a.prototype),a},addVersions:function(e,t){Array.isArray(t)||(t=[t]),e.services=e.services||{};for(var r=0;r=0){throw i.util.error(new Error,{name:"InvalidEndpoint",message:"AWS.IotData requires an explicit `endpoint' configuration option."})}},setupRequestListeners:function(e){e.addListener("validateResponse",this.validateResponseBody),a.indexOf(e.operation)>-1&&e.addListener("extractData",i.util.convertPayloadToString)},validateResponseBody:function(e){var t=e.httpResponse.body.toString()||"{}",r=t.trim();r&&"{"===r.charAt(0)||(e.httpResponse.body="")}})},{"../core":342}],399:[function(e,t,r){var i=e("../core");i.util.update(i.Lambda.prototype,{setupRequestListeners:function(e){"invoke"===e.operation&&e.addListener("extractData",i.util.convertPayloadToString)}})},{"../core":342}],400:[function(e,t,r){var i=e("../core");i.util.update(i.MachineLearning.prototype,{setupRequestListeners:function(e){"predict"===e.operation&&e.addListener("build",this.buildEndpoint)},buildEndpoint:function(e){var t=e.params.PredictEndpoint;t&&(e.httpRequest.endpoint=new i.Endpoint(t))}})},{"../core":342}],401:[function(e,t,r){e("../polly/presigner")},{"../polly/presigner":375}],402:[function(e,t,r){var i=e("../core"),a=e("./rdsutil");e("../rds/signer");var s=["copyDBSnapshot","createDBInstanceReadReplica","createDBCluster","copyDBClusterSnapshot","startDBInstanceAutomatedBackupsReplication"];i.util.update(i.RDS.prototype,{setupRequestListeners:function(e){a.setupRequestListeners(this,e,s)}})},{"../core":342,"../rds/signer":383,"./rdsutil":403}],403:[function(e,t,r){var i=e("../core"),a={setupRequestListeners:function(e,t,r){if(-1!==r.indexOf(t.operation)&&t.params.SourceRegion)if(t.params=i.util.copy(t.params),t.params.PreSignedUrl||t.params.SourceRegion===e.config.region)delete t.params.SourceRegion;else{var s=!!e.config.paramValidation;s&&t.removeListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS),t.onAsync("validate",a.buildCrossRegionPresignedUrl),s&&t.addListener("validate",i.EventListeners.Core.VALIDATE_PARAMETERS)}},buildCrossRegionPresignedUrl:function(e,t){var r=i.util.copy(e.service.config);r.region=e.params.SourceRegion,delete e.params.SourceRegion,delete r.endpoint,delete r.params,r.signatureVersion="v4";var a=e.service.config.region,s=new e.service.constructor(r),o=s[e.operation](i.util.copy(e.params));o.on("build",function(e){var t=e.httpRequest;t.params.DestinationRegion=a,t.body=i.util.queryParamsToString(t.params)}),o.presign(function(r,i){r?t(r):(e.params.PreSignedUrl=i,t())})}};t.exports=a},{"../core":342}],404:[function(e,t,r){var i=e("../core");i.util.update(i.Route53.prototype,{setupRequestListeners:function(e){e.on("build",this.sanitizeUrl)},sanitizeUrl:function(e){var t=e.httpRequest.path;e.httpRequest.path=t.replace(/\/%2F\w+%2F/,"/")},retryableError:function(e){return"PriorRequestNotComplete"===e.code&&400===e.statusCode||i.Service.prototype.retryableError.call(this,e)}})},{"../core":342}],405:[function(e,t,r){var i=e("../core"),a=e("../signers/v4_credentials"),s=e("../config_regional_endpoint"),o=e("./s3util"),n=e("../region_config");e("../s3/managed_upload");var u={completeMultipartUpload:!0,copyObject:!0,uploadPartCopy:!0},p=["AuthorizationHeaderMalformed","BadRequest","PermanentRedirect",301];i.util.update(i.S3.prototype,{getSignatureVersion:function(e){var t=this.api.signatureVersion,r=this._originalConfig?this._originalConfig.signatureVersion:null,i=this.config.signatureVersion,a=!!e&&e.isPresigned();return r?r="v2"===r?"s3":r:(!0!==a?t="v4":i&&(t=i),t)},getSigningName:function(e){if(e&&"writeGetObjectResponse"===e.operation)return"s3-object-lambda";var t=i.Service.prototype.getSigningName;return e&&e._parsedArn&&e._parsedArn.service?e._parsedArn.service:t.call(this)},getSignerClass:function(e){var t=this.getSignatureVersion(e);return i.Signers.RequestSigner.getVersion(t)},validateService:function(){var e,t=[];if(this.config.region||(this.config.region="us-east-1"),!this.config.endpoint&&this.config.s3BucketEndpoint&&t.push("An endpoint must be provided when configuring `s3BucketEndpoint` to true."),1===t.length?e=t[0]:t.length>1&&(e="Multiple configuration errors:\n"+t.join("\n")),e)throw i.util.error(new Error,{name:"InvalidEndpoint",message:e})},shouldDisableBodySigning:function(e){var t=this.getSignerClass();return!0===this.config.s3DisableBodySigning&&t===i.Signers.V4&&"https:"===e.httpRequest.endpoint.protocol},setupRequestListeners:function(e){if(e.addListener("validate",this.validateScheme),e.addListener("validate",this.validateBucketName,!0),e.addListener("validate",this.optInUsEast1RegionalEndpoint,!0),e.removeListener("validate",i.EventListeners.Core.VALIDATE_REGION),e.addListener("build",this.addContentType),e.addListener("build",this.computeContentMd5),e.addListener("build",this.computeSseCustomerKeyMd5),e.addListener("build",this.populateURI),e.addListener("afterBuild",this.addExpect100Continue),e.addListener("extractError",this.extractError),e.addListener("extractData",i.util.hoistPayloadMember),e.addListener("extractData",this.extractData),e.addListener("extractData",this.extractErrorFrom200Response),e.addListener("beforePresign",this.prepareSignedUrl),this.shouldDisableBodySigning(e)&&(e.removeListener("afterBuild",i.EventListeners.Core.COMPUTE_SHA256),e.addListener("afterBuild",this.disableBodySigning)),"createBucket"!==e.operation&&o.isArnInParam(e,"Bucket"))return e._parsedArn=i.util.ARN.parse(e.params.Bucket),e.removeListener("validate",this.validateBucketName),e.removeListener("build",this.populateURI),"s3"===e._parsedArn.service?(e.addListener("validate",o.validateS3AccessPointArn),e.addListener("validate",this.validateArnResourceType),e.addListener("validate",this.validateArnRegion)):"s3-outposts"===e._parsedArn.service&&(e.addListener("validate",o.validateOutpostsAccessPointArn),e.addListener("validate",o.validateOutpostsArn),e.addListener("validate",o.validateArnRegion)),e.addListener("validate",o.validateArnAccount),e.addListener("validate",o.validateArnService),e.addListener("build",this.populateUriFromAccessPointArn),void e.addListener("build",o.validatePopulateUriFromArn);e.addListener("validate",this.validateBucketEndpoint),e.addListener("validate",this.correctBucketRegionFromCache),e.onAsync("extractError",this.requestBucketRegion),i.util.isBrowser()&&e.onAsync("retry",this.reqRegionForNetworkingError)},validateScheme:function(e){var t=e.params,r=e.httpRequest.endpoint.protocol;if((t.SSECustomerKey||t.CopySourceSSECustomerKey)&&"https:"!==r)throw i.util.error(new Error,{code:"ConfigError",message:"Cannot send SSE keys over HTTP. Set 'sslEnabled'to 'true' in your configuration"})},validateBucketEndpoint:function(e){if(!e.params.Bucket&&e.service.config.s3BucketEndpoint){throw i.util.error(new Error,{code:"ConfigError",message:"Cannot send requests to root API with `s3BucketEndpoint` set."})}},validateArnRegion:function(e){o.validateArnRegion(e,{allowFipsEndpoint:!0})},validateArnResourceType:function(e){var t=e._parsedArn.resource;if(0!==t.indexOf("accesspoint:")&&0!==t.indexOf("accesspoint/"))throw i.util.error(new Error,{code:"InvalidARN",message:"ARN resource should begin with 'accesspoint/'"})},validateBucketName:function(e){var t=e.service,r=t.getSignatureVersion(e),a=e.params&&e.params.Bucket,s=e.params&&e.params.Key,o=a&&a.indexOf("/");if(a&&o>=0)if("string"==typeof s&&o>0){e.params=i.util.copy(e.params);var n=a.substr(o+1)||"";e.params.Key=n+"/"+s,e.params.Bucket=a.substr(0,o)}else if("v4"===r){var u="Bucket names cannot contain forward slashes. Bucket: "+a;throw i.util.error(new Error,{code:"InvalidBucket",message:u})}},isValidAccelerateOperation:function(e){return-1===["createBucket","deleteBucket","listBuckets"].indexOf(e)},optInUsEast1RegionalEndpoint:function(e){var t=e.service,r=t.config;if(r.s3UsEast1RegionalEndpoint=s(t._originalConfig,{env:"AWS_S3_US_EAST_1_REGIONAL_ENDPOINT",sharedConfig:"s3_us_east_1_regional_endpoint",clientConfig:"s3UsEast1RegionalEndpoint"}), diff --git a/lib/core.js b/lib/core.js index a29a5f026c..0d8a78ccd7 100644 --- a/lib/core.js +++ b/lib/core.js @@ -20,7 +20,7 @@ AWS.util.update(AWS, { /** * @constant */ - VERSION: '2.1036.0', + VERSION: '2.1037.0', /** * @api private diff --git a/package.json b/package.json index d24e299cb7..2f3cfe6b68 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "aws-sdk", "description": "AWS SDK for JavaScript", - "version": "2.1036.0", + "version": "2.1037.0", "author": { "name": "Amazon Web Services", "email": "",