From 77b6968988559d355ab953b6436eafe6a76e4a92 Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Wed, 24 Jul 2019 18:29:13 +0000 Subject: [PATCH] Release v1.21.4 --- CHANGELOG.md | 14 + aws/endpoints/defaults.go | 49 +- aws/version.go | 2 +- models/apis/ec2/2016-11-15/api-2.json | 15 +- models/apis/ec2/2016-11-15/docs-2.json | 21 +- models/apis/glue/2017-03-31/api-2.json | 26 +- models/apis/glue/2017-03-31/docs-2.json | 195 +- models/apis/pinpoint/2016-12-01/api-2.json | 13176 ++++++++++-------- models/apis/pinpoint/2016-12-01/docs-2.json | 58 +- models/apis/sts/2011-06-15/api-2.json | 25 + models/apis/sts/2011-06-15/docs-2.json | 23 +- models/endpoints/endpoints.json | 49 +- service/ec2/api.go | 97 +- service/glue/api.go | 337 +- service/kafka/api.go | 2 +- service/pinpoint/api.go | 752 +- service/pinpoint/pinpointiface/interface.go | 8 + service/sts/api.go | 171 +- service/sts/stsiface/interface.go | 4 + 19 files changed, 8918 insertions(+), 6106 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9ad918c6a8..e93b5421e49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +Release v1.21.4 (2019-07-24) +=== + +### Service Client Updates +* `service/ec2`: Updates service API and documentation + * This release introduces support for split tunnel with AWS Client VPN, and also adds support for opt-in Regions in DescribeRegions API. In addition, customers can now also tag Launch Templates on creation. +* `aws/endpoints`: Updated Regions and Endpoints metadata. +* `service/glue`: Updates service API and documentation + * This release provides GlueVersion option for Job APIs and WorkerType option for DevEndpoint APIs. Job APIs enable users to pick specific GlueVersion for a specific job and pin the job to a specific runtime environment. DevEndpoint APIs enable users to pick different WorkerType for memory intensive workload. +* `service/pinpoint`: Updates service API and documentation + * This release adds support for programmatic access to many of the same campaign metrics that are displayed on the Amazon Pinpoint console. You can now use the Amazon Pinpoint API to monitor and assess performance data for campaigns, and integrate metrics data with other reporting tools. We update the metrics data continuously, resulting in a data latency timeframe that is limited to approximately two hours. +* `service/sts`: Updates service API and documentation + * New STS GetAccessKeyInfo API operation that returns the account identifier for the specified access key ID. + Release v1.21.3 (2019-07-23) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index d01fe2408ba..ab480b5d756 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -1797,13 +1797,48 @@ var awsPartition = partition{ "ioteventsdata": service{ Endpoints: endpoints{ - "ap-northeast-1": endpoint{}, - "ap-southeast-2": endpoint{}, - "eu-central-1": endpoint{}, - "eu-west-1": endpoint{}, - "us-east-1": endpoint{}, - "us-east-2": endpoint{}, - "us-west-2": endpoint{}, + "ap-northeast-1": endpoint{ + Hostname: "data.iotevents.ap-northeast-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ap-northeast-1", + }, + }, + "ap-southeast-2": endpoint{ + Hostname: "data.iotevents.ap-southeast-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ap-southeast-2", + }, + }, + "eu-central-1": endpoint{ + Hostname: "data.iotevents.eu-central-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "eu-central-1", + }, + }, + "eu-west-1": endpoint{ + Hostname: "data.iotevents.eu-west-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "eu-west-1", + }, + }, + "us-east-1": endpoint{ + Hostname: "data.iotevents.us-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-1", + }, + }, + "us-east-2": endpoint{ + Hostname: "data.iotevents.us-east-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-east-2", + }, + }, + "us-west-2": endpoint{ + Hostname: "data.iotevents.us-west-2.amazonaws.com", + CredentialScope: credentialScope{ + Region: "us-west-2", + }, + }, }, }, "iotthingsgraph": service{ diff --git a/aws/version.go b/aws/version.go index 0821bf36054..58196f40d77 100644 --- a/aws/version.go +++ b/aws/version.go @@ -5,4 +5,4 @@ package aws const SDKName = "aws-sdk-go" // SDKVersion is the version of this SDK -const SDKVersion = "1.21.3" +const SDKVersion = "1.21.4" diff --git a/models/apis/ec2/2016-11-15/api-2.json b/models/apis/ec2/2016-11-15/api-2.json index c0302abbca0..02ffac858b4 100755 --- a/models/apis/ec2/2016-11-15/api-2.json +++ b/models/apis/ec2/2016-11-15/api-2.json @@ -5653,6 +5653,7 @@ "DnsServers":{"shape":"ValueStringList"}, "TransportProtocol":{"shape":"TransportProtocol"}, "Description":{"shape":"String"}, + "SplitTunnel":{"shape":"Boolean"}, "DryRun":{"shape":"Boolean"}, "ClientToken":{ "shape":"String", @@ -6094,7 +6095,11 @@ "ClientToken":{"shape":"String"}, "LaunchTemplateName":{"shape":"LaunchTemplateName"}, "VersionDescription":{"shape":"VersionDescription"}, - "LaunchTemplateData":{"shape":"RequestLaunchTemplateData"} + "LaunchTemplateData":{"shape":"RequestLaunchTemplateData"}, + "TagSpecifications":{ + "shape":"TagSpecificationList", + "locationName":"TagSpecification" + } } }, "CreateLaunchTemplateResult":{ @@ -9687,7 +9692,8 @@ "DryRun":{ "shape":"Boolean", "locationName":"dryRun" - } + }, + "AllRegions":{"shape":"Boolean"} } }, "DescribeRegionsResult":{ @@ -16390,6 +16396,7 @@ "ConnectionLogOptions":{"shape":"ConnectionLogOptions"}, "DnsServers":{"shape":"DnsServersOptionsModifyStructure"}, "Description":{"shape":"String"}, + "SplitTunnel":{"shape":"Boolean"}, "DryRun":{"shape":"Boolean"} } }, @@ -18651,6 +18658,10 @@ "RegionName":{ "shape":"String", "locationName":"regionName" + }, + "OptInStatus":{ + "shape":"String", + "locationName":"optInStatus" } } }, diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 719efcc05fb..c98764371c6 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -47,7 +47,7 @@ "CreateCustomerGateway": "

Provides information to AWS about your VPN customer gateway device. The customer gateway is the appliance at your end of the VPN connection. (The device on the AWS side of the VPN connection is the virtual private gateway.) You must provide the Internet-routable IP address of the customer gateway's external interface. The IP address must be static and may be behind a device performing network address translation (NAT).

For devices that use Border Gateway Protocol (BGP), you can also provide the device's BGP Autonomous System Number (ASN). You can use an existing ASN assigned to your network. If you don't have an ASN already, you can use a private ASN (in the 64512 - 65534 range).

Amazon EC2 supports all 2-byte ASN numbers in the range of 1 - 65534, with the exception of 7224, which is reserved in the us-east-1 Region, and 9059, which is reserved in the eu-west-1 Region.

For more information, see AWS Site-to-Site VPN in the AWS Site-to-Site VPN User Guide.

You cannot create more than one customer gateway with the same VPN type, IP address, and BGP ASN parameter values. If you run an identical request more than one time, the first request creates the customer gateway, and subsequent requests return information about the existing customer gateway. The subsequent requests do not create new customer gateway resources.

", "CreateDefaultSubnet": "

Creates a default subnet with a size /20 IPv4 CIDR block in the specified Availability Zone in your default VPC. You can have only one default subnet per Availability Zone. For more information, see Creating a Default Subnet in the Amazon Virtual Private Cloud User Guide.

", "CreateDefaultVpc": "

Creates a default VPC with a size /16 IPv4 CIDR block and a default subnet in each Availability Zone. For more information about the components of a default VPC, see Default VPC and Default Subnets in the Amazon Virtual Private Cloud User Guide. You cannot specify the components of the default VPC yourself.

If you deleted your previous default VPC, you can create a default VPC. You cannot have more than one default VPC per Region.

If your account supports EC2-Classic, you cannot use this action to create a default VPC in a Region that supports EC2-Classic. If you want a default VPC in a Region that supports EC2-Classic, see \"I really want a default VPC for my existing EC2 account. Is that possible?\" in the Default VPCs FAQ.

", - "CreateDhcpOptions": "

Creates a set of DHCP options for your VPC. After creating the set, you must associate it with the VPC, causing all existing and new instances that you launch in the VPC to use this set of DHCP options. The following are the individual DHCP options you can specify. For more information about the options, see RFC 2132.

Your VPC automatically starts out with a set of DHCP options that includes only a DNS server that we provide (AmazonProvidedDNS). If you create a set of options, and if your VPC has an internet gateway, make sure to set the domain-name-servers option either to AmazonProvidedDNS or to a domain name server of your choice. For more information, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide.

", + "CreateDhcpOptions": "

Creates a set of DHCP options for your VPC. After creating the set, you must associate it with the VPC, causing all existing and new instances that you launch in the VPC to use this set of DHCP options. The following are the individual DHCP options you can specify. For more information about the options, see RFC 2132.

Your VPC automatically starts out with a set of DHCP options that includes only a DNS server that we provide (AmazonProvidedDNS). If you create a set of options, and if your VPC has an internet gateway, make sure to set the domain-name-servers option either to AmazonProvidedDNS or to a domain name server of your choice. For more information, see DHCP Options Sets in the Amazon Virtual Private Cloud User Guide.

", "CreateEgressOnlyInternetGateway": "

[IPv6 only] Creates an egress-only internet gateway for your VPC. An egress-only internet gateway is used to enable outbound communication over IPv6 from instances in your VPC to the internet, and prevents hosts outside of your VPC from initiating an IPv6 connection with your instance.

", "CreateFleet": "

Launches an EC2 Fleet.

You can create a single EC2 Fleet that includes multiple launch specifications that vary by instance type, AMI, Availability Zone, or subnet.

For more information, see Launching an EC2 Fleet in the Amazon Elastic Compute Cloud User Guide.

", "CreateFlowLogs": "

Creates one or more flow logs to capture information about IP traffic for a specific network interface, subnet, or VPC.

Flow log data for a monitored network interface is recorded as flow log records, which are log events consisting of fields that describe the traffic flow. For more information, see Flow Log Records in the Amazon Virtual Private Cloud User Guide.

When publishing to CloudWatch Logs, flow log records are published to a log group, and each network interface has a unique log stream in the log group. When publishing to Amazon S3, flow log records for all of the monitored network interfaces are published to a single log file object that is stored in the specified bucket.

For more information, see VPC Flow Logs in the Amazon Virtual Private Cloud User Guide.

", @@ -187,7 +187,7 @@ "DescribePrefixLists": "

Describes available AWS services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service. A prefix list ID is required for creating an outbound security group rule that allows traffic from a VPC to access an AWS service through a gateway VPC endpoint. Currently, the services that support this action are Amazon S3 and Amazon DynamoDB.

", "DescribePrincipalIdFormat": "

Describes the ID format settings for the root user and all IAM roles and IAM users that have explicitly specified a longer ID (17-character ID) preference.

By default, all IAM roles and IAM users default to the same ID settings as the root user, unless they explicitly override the settings. This request is useful for identifying those IAM users and IAM roles that have overridden the default ID settings.

The following resource types support longer IDs: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

", "DescribePublicIpv4Pools": "

Describes the specified IPv4 address pools.

", - "DescribeRegions": "

Describes the Regions that are currently available to you. The API returns a list of all the Regions, including Regions that are disabled for your account. For information about enabling Regions for your account, see Enabling and Disabling Regions in the AWS Billing and Cost Management User Guide.

For a list of the Regions supported by Amazon EC2, see Regions and Endpoints.

", + "DescribeRegions": "

Describes the Regions that are enabled for your account, or all Regions.

For a list of the Regions supported by Amazon EC2, see Regions and Endpoints.

For information about enabling and disabling Regions for your account, see Managing AWS Regions in the AWS General Reference.

", "DescribeReservedInstances": "

Describes one or more of the Reserved Instances that you purchased.

For more information about Reserved Instances, see Reserved Instances in the Amazon Elastic Compute Cloud User Guide.

", "DescribeReservedInstancesListings": "

Describes your account's Reserved Instance listings in the Reserved Instance Marketplace.

The Reserved Instance Marketplace matches sellers who want to resell Reserved Instance capacity that they no longer need with buyers who want to purchase additional capacity. Reserved Instances bought and sold through the Reserved Instance Marketplace work like any other Reserved Instances.

As a seller, you choose to list some or all of your Reserved Instances, and you specify the upfront price to receive for them. Your Reserved Instances are then listed in the Reserved Instance Marketplace and are available for purchase.

As a buyer, you specify the configuration of the Reserved Instance to purchase, and the Marketplace matches what you're searching for with what's available. The Marketplace first sells the lowest priced Reserved Instances to you, and continues to sell available Reserved Instance listings to you until your demand is met. You are charged based on the total price of all of the listings that you purchase.

For more information, see Reserved Instance Marketplace in the Amazon Elastic Compute Cloud User Guide.

", "DescribeReservedInstancesModifications": "

Describes the modifications made to your Reserved Instances. If no parameter is specified, information about all your Reserved Instances modification requests is returned. If a modification ID is specified, only information about the specific modification is returned.

For more information, see Modifying Reserved Instances in the Amazon Elastic Compute Cloud User Guide.

", @@ -975,7 +975,7 @@ "CapacityReservation$EbsOptimized": "

Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.

", "CapacityReservation$EphemeralStorage": "

Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.

", "ClassicLinkDnsSupport$ClassicLinkDnsSupported": "

Indicates whether ClassicLink DNS support is enabled for the VPC.

", - "ClientVpnEndpoint$SplitTunnel": "

Indicates whether VPN split tunneling is supported.

", + "ClientVpnEndpoint$SplitTunnel": "

Indicates whether split-tunnel is enabled in the AWS Client VPN endpoint endpoint.

For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.

", "ConfirmProductInstanceRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ConfirmProductInstanceResult$Return": "

The return value of the request. Returns true if the specified product code is owned by the requester and associated with the specified instance.

", "ConnectionLogOptions$Enabled": "

Indicates whether connection logging is enabled.

", @@ -988,6 +988,7 @@ "CreateCapacityReservationRequest$EbsOptimized": "

Indicates whether the Capacity Reservation supports EBS-optimized instances. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS- optimized instance.

", "CreateCapacityReservationRequest$EphemeralStorage": "

Indicates whether the Capacity Reservation supports instances with temporary, block-level storage.

", "CreateCapacityReservationRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "CreateClientVpnEndpointRequest$SplitTunnel": "

Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint endpoint.

By default, split-tunnel on a VPN endpoint is disabled.

For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.

", "CreateClientVpnEndpointRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "CreateClientVpnRouteRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "CreateCustomerGatewayRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -1137,6 +1138,7 @@ "DescribePrefixListsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribePrincipalIdFormatRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeRegionsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", + "DescribeRegionsRequest$AllRegions": "

Indicates whether to display all Regions, including Regions that are disabled for your account.

", "DescribeReservedInstancesOfferingsRequest$IncludeMarketplace": "

Include Reserved Instance Marketplace offerings in the response.

", "DescribeReservedInstancesOfferingsRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "DescribeReservedInstancesRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -1272,6 +1274,7 @@ "LaunchTemplatesMonitoringRequest$Enabled": "

Specify true to enable detailed monitoring. Otherwise, basic monitoring is enabled.

", "ModifyCapacityReservationRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ModifyCapacityReservationResult$Return": "

Information about the Capacity Reservation.

", + "ModifyClientVpnEndpointRequest$SplitTunnel": "

Indicates whether the VPN is split-tunnel.

For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client VPN Endpoint in the AWS Client VPN Administrator Guide.

", "ModifyClientVpnEndpointRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", "ModifyClientVpnEndpointResult$Return": "

Returns true if the request succeeds; otherwise, it returns an error.

", "ModifyEbsDefaultKmsKeyIdRequest$DryRun": "

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

", @@ -2021,7 +2024,7 @@ "CopyTagsFromSource": { "base": null, "refs": { - "CreateSnapshotsRequest$CopyTagsFromSource": "

Copies the tags from the specified instance to all snapshots.

" + "CreateSnapshotsRequest$CopyTagsFromSource": "

Copies the tags from the specified volume to corresponding snapshot.

" } }, "CpuOptions": { @@ -4980,7 +4983,7 @@ "DescribeNatGatewaysRequest$Filter": "

One or more filters.

", "DescribeNetworkAclsRequest$Filters": "

One or more filters.

", "DescribeNetworkInterfacePermissionsRequest$Filters": "

One or more filters.

", - "DescribeNetworkInterfacesRequest$Filters": "

One or more filters.

", + "DescribeNetworkInterfacesRequest$Filters": "

One or more filters.

", "DescribePlacementGroupsRequest$Filters": "

The filters.

", "DescribePrefixListsRequest$Filters": "

One or more filters.

", "DescribeRegionsRequest$Filters": "

The filters.

", @@ -7689,7 +7692,7 @@ "refs": { "CreateFleetInstance$Platform": "

The value is Windows for Windows instances; otherwise blank.

", "DescribeFleetsInstances$Platform": "

The value is Windows for Windows instances; otherwise blank.

", - "Image$Platform": "

This value is set for Windows AMIs; otherwise, it is blank.

", + "Image$Platform": "

This value is set to windows for Windows AMIs; otherwise, it is blank.

", "ImportInstanceRequest$Platform": "

The instance operating system.

", "ImportInstanceTaskDetails$Platform": "

The instance operating system.

", "Instance$Platform": "

The value is Windows for Windows instances; otherwise blank.

" @@ -8033,7 +8036,7 @@ "RegionNameStringList": { "base": null, "refs": { - "DescribeRegionsRequest$RegionNames": "

The names of the Regions.

" + "DescribeRegionsRequest$RegionNames": "

The names of the Regions. You can specify any Regions, whether they are enabled and disabled for your account.

" } }, "RegisterImageRequest": { @@ -8442,7 +8445,7 @@ "LaunchTemplateTagSpecificationRequest$ResourceType": "

The type of resource to tag. Currently, the resource types that support tagging on creation are instance and volume. To tag a resource after it has been created, see CreateTags.

", "SpotFleetTagSpecification$ResourceType": "

The type of resource. Currently, the only resource type that is supported is instance.

", "TagDescription$ResourceType": "

The resource type.

", - "TagSpecification$ResourceType": "

The type of resource to tag. Currently, the resource types that support tagging on creation are fleet, dedicated-host, instance, snapshot, and volume. To tag a resource after it has been created, see CreateTags.

" + "TagSpecification$ResourceType": "

The type of resource to tag. Currently, the resource types that support tagging on creation are: capacity-reservation | client-vpn-endpoint | dedicated-host | fleet | instance | launch-template | snapshot | transit-gateway | transit-gateway-attachment | transit-gateway-route-table | volume.

To tag a resource after it has been created, see CreateTags.

" } }, "ResponseError": { @@ -10279,6 +10282,7 @@ "PurchaseScheduledInstancesRequest$ClientToken": "

Unique, case-sensitive identifier that ensures the idempotency of the request. For more information, see Ensuring Idempotency.

", "Region$Endpoint": "

The Region service endpoint.

", "Region$RegionName": "

The name of the Region.

", + "Region$OptInStatus": "

The Region opt-in status. The possible values are opt-in-not-required, opted-in, and not-opted-in.

", "RegionNameStringList$member": null, "RegisterImageRequest$ImageLocation": "

The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the aws-exec-read canned access control list (ACL) to ensure that it can be accessed by Amazon EC2. For more information, see Canned ACLs in the Amazon S3 Service Developer Guide.

", "RegisterImageRequest$Description": "

A description for your AMI.

", @@ -10902,6 +10906,7 @@ "CreateCapacityReservationRequest$TagSpecifications": "

The tags to apply to the Capacity Reservation during launch.

", "CreateClientVpnEndpointRequest$TagSpecifications": "

The tags to apply to the Client VPN endpoint during creation.

", "CreateFleetRequest$TagSpecifications": "

The key-value pair for tagging the EC2 Fleet request on creation. The value for ResourceType must be fleet, otherwise the fleet request fails. To tag instances at launch, specify the tags in the launch template. For information about tagging after launch, see Tagging Your Resources.

", + "CreateLaunchTemplateRequest$TagSpecifications": "

The tags to apply to the launch template during creation.

", "CreateSnapshotRequest$TagSpecifications": "

The tags to apply to the snapshot during creation.

", "CreateSnapshotsRequest$TagSpecifications": "

Tags to apply to every snapshot specified by the instance.

", "CreateTrafficMirrorFilterRequest$TagSpecifications": "

The tags to assign to a Traffic Mirror filter.

", diff --git a/models/apis/glue/2017-03-31/api-2.json b/models/apis/glue/2017-03-31/api-2.json index b9eeabff19e..411b3342b31 100644 --- a/models/apis/glue/2017-03-31/api-2.json +++ b/models/apis/glue/2017-03-31/api-2.json @@ -2472,6 +2472,8 @@ "PublicKey":{"shape":"GenericString"}, "PublicKeys":{"shape":"PublicKeysList"}, "NumberOfNodes":{"shape":"IntegerValue"}, + "WorkerType":{"shape":"WorkerType"}, + "NumberOfWorkers":{"shape":"NullableInteger"}, "ExtraPythonLibsS3Path":{"shape":"GenericString"}, "ExtraJarsS3Path":{"shape":"GenericString"}, "SecurityConfiguration":{"shape":"NameString"}, @@ -2490,6 +2492,8 @@ "YarnEndpointAddress":{"shape":"GenericString"}, "ZeppelinRemoteSparkInterpreterPort":{"shape":"IntegerValue"}, "NumberOfNodes":{"shape":"IntegerValue"}, + "WorkerType":{"shape":"WorkerType"}, + "NumberOfWorkers":{"shape":"NullableInteger"}, "AvailabilityZone":{"shape":"GenericString"}, "VpcId":{"shape":"GenericString"}, "ExtraPythonLibsS3Path":{"shape":"GenericString"}, @@ -2541,8 +2545,9 @@ "SecurityConfiguration":{"shape":"NameString"}, "Tags":{"shape":"TagsMap"}, "NotificationProperty":{"shape":"NotificationProperty"}, + "GlueVersion":{"shape":"GlueVersionString"}, "NumberOfWorkers":{"shape":"NullableInteger"}, - "WorkerType":{"shape":"NameString"} + "WorkerType":{"shape":"WorkerType"} } }, "CreateJobResponse":{ @@ -3023,6 +3028,8 @@ "ZeppelinRemoteSparkInterpreterPort":{"shape":"IntegerValue"}, "PublicAddress":{"shape":"GenericString"}, "Status":{"shape":"GenericString"}, + "WorkerType":{"shape":"WorkerType"}, + "NumberOfWorkers":{"shape":"NullableInteger"}, "NumberOfNodes":{"shape":"IntegerValue"}, "AvailabilityZone":{"shape":"GenericString"}, "VpcId":{"shape":"GenericString"}, @@ -3772,6 +3779,12 @@ "min":1, "pattern":"arn:aws:glue:.*" }, + "GlueVersionString":{ + "type":"string", + "max":255, + "min":1, + "pattern":"^\\w+\\.\\w+$" + }, "GrokClassifier":{ "type":"structure", "required":[ @@ -3883,7 +3896,8 @@ "WorkerType":{"shape":"WorkerType"}, "NumberOfWorkers":{"shape":"NullableInteger"}, "SecurityConfiguration":{"shape":"NameString"}, - "NotificationProperty":{"shape":"NotificationProperty"} + "NotificationProperty":{"shape":"NotificationProperty"}, + "GlueVersion":{"shape":"GlueVersionString"} } }, "JobBookmarkEntry":{ @@ -3960,7 +3974,8 @@ "NumberOfWorkers":{"shape":"NullableInteger"}, "SecurityConfiguration":{"shape":"NameString"}, "LogGroupName":{"shape":"GenericString"}, - "NotificationProperty":{"shape":"NotificationProperty"} + "NotificationProperty":{"shape":"NotificationProperty"}, + "GlueVersion":{"shape":"GlueVersionString"} } }, "JobRunList":{ @@ -4000,7 +4015,8 @@ "WorkerType":{"shape":"WorkerType"}, "NumberOfWorkers":{"shape":"NullableInteger"}, "SecurityConfiguration":{"shape":"NameString"}, - "NotificationProperty":{"shape":"NotificationProperty"} + "NotificationProperty":{"shape":"NotificationProperty"}, + "GlueVersion":{"shape":"GlueVersionString"} } }, "JsonClassifier":{ @@ -4687,7 +4703,7 @@ "MaxCapacity":{"shape":"NullableDouble"}, "SecurityConfiguration":{"shape":"NameString"}, "NotificationProperty":{"shape":"NotificationProperty"}, - "WorkerType":{"shape":"NameString"}, + "WorkerType":{"shape":"WorkerType"}, "NumberOfWorkers":{"shape":"NullableInteger"} } }, diff --git a/models/apis/glue/2017-03-31/docs-2.json b/models/apis/glue/2017-03-31/docs-2.json index 84577acae31..1ce456b9843 100644 --- a/models/apis/glue/2017-03-31/docs-2.json +++ b/models/apis/glue/2017-03-31/docs-2.json @@ -8,7 +8,7 @@ "BatchDeleteTable": "

Deletes multiple tables at once.

After completing this operation, you will no longer have access to the table versions and partitions that belong to the deleted table. AWS Glue deletes these \"orphaned\" resources asynchronously in a timely manner, at the discretion of the service.

To ensure immediate deletion of all related resources, before calling BatchDeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition or BatchDeletePartition, to delete any resources that belong to the table.

", "BatchDeleteTableVersion": "

Deletes a specified batch of versions of a table.

", "BatchGetCrawlers": "

Returns a list of resource metadata for a given list of crawler names. After calling the ListCrawlers operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.

", - "BatchGetDevEndpoints": "

Returns a list of resource metadata for a given list of DevEndpoint names. After calling the ListDevEndpoints operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.

", + "BatchGetDevEndpoints": "

Returns a list of resource metadata for a given list of development endpoint names. After calling the ListDevEndpoints operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.

", "BatchGetJobs": "

Returns a list of resource metadata for a given list of job names. After calling the ListJobs operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.

", "BatchGetPartition": "

Retrieves partitions in a batch request.

", "BatchGetTriggers": "

Returns a list of resource metadata for a given list of trigger names. After calling the ListTriggers operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.

", @@ -18,11 +18,11 @@ "CreateConnection": "

Creates a connection definition in the Data Catalog.

", "CreateCrawler": "

Creates a new crawler with specified targets, role, configuration, and optional schedule. At least one crawl target must be specified, in the s3Targets field, the jdbcTargets field, or the DynamoDBTargets field.

", "CreateDatabase": "

Creates a new database in a Data Catalog.

", - "CreateDevEndpoint": "

Creates a new DevEndpoint.

", + "CreateDevEndpoint": "

Creates a new development endpoint.

", "CreateJob": "

Creates a new job definition.

", "CreatePartition": "

Creates a new partition.

", "CreateScript": "

Transforms a directed acyclic graph (DAG) into code.

", - "CreateSecurityConfiguration": "

Creates a new security configuration.

", + "CreateSecurityConfiguration": "

Creates a new security configuration. A security configuration is a set of security properties that can be used by AWS Glue. You can use a security configuration to encrypt data at rest. For information about using security configurations in AWS Glue, see Encrypting Data Written by Crawlers, Jobs, and Development Endpoints.

", "CreateTable": "

Creates a new table definition in the Data Catalog.

", "CreateTrigger": "

Creates a new trigger.

", "CreateUserDefinedFunction": "

Creates a new function definition in the Data Catalog.

", @@ -31,7 +31,7 @@ "DeleteConnection": "

Deletes a connection from the Data Catalog.

", "DeleteCrawler": "

Removes a specified crawler from the AWS Glue Data Catalog, unless the crawler state is RUNNING.

", "DeleteDatabase": "

Removes a specified Database from a Data Catalog.

After completing this operation, you will no longer have access to the tables (and all table versions and partitions that might belong to the tables) and the user-defined functions in the deleted database. AWS Glue deletes these \"orphaned\" resources asynchronously in a timely manner, at the discretion of the service.

To ensure immediate deletion of all related resources, before calling DeleteDatabase, use DeleteTableVersion or BatchDeleteTableVersion, DeletePartition or BatchDeletePartition, DeleteUserDefinedFunction, and DeleteTable or BatchDeleteTable, to delete any resources that belong to the database.

", - "DeleteDevEndpoint": "

Deletes a specified DevEndpoint.

", + "DeleteDevEndpoint": "

Deletes a specified development endpoint.

", "DeleteJob": "

Deletes a specified job definition. If the job definition is not found, no exception is thrown.

", "DeletePartition": "

Deletes a specified partition.

", "DeleteResourcePolicy": "

Deletes a specified policy.

", @@ -53,8 +53,8 @@ "GetDatabase": "

Retrieves the definition of a specified database.

", "GetDatabases": "

Retrieves all Databases defined in a given Data Catalog.

", "GetDataflowGraph": "

Transforms a Python script into a directed acyclic graph (DAG).

", - "GetDevEndpoint": "

Retrieves information about a specified DevEndpoint.

When you create a development endpoint in a virtual private cloud (VPC), AWS Glue returns only a private IP address, and the public IP address field is not populated. When you create a non-VPC development endpoint, AWS Glue returns only a public IP address.

", - "GetDevEndpoints": "

Retrieves all the DevEndpoints in this AWS account.

When you create a development endpoint in a virtual private cloud (VPC), AWS Glue returns only a private IP address and the public IP address field is not populated. When you create a non-VPC development endpoint, AWS Glue returns only a public IP address.

", + "GetDevEndpoint": "

Retrieves information about a specified development endpoint.

When you create a development endpoint in a virtual private cloud (VPC), AWS Glue returns only a private IP address, and the public IP address field is not populated. When you create a non-VPC development endpoint, AWS Glue returns only a public IP address.

", + "GetDevEndpoints": "

Retrieves all the development endpoints in this AWS account.

When you create a development endpoint in a virtual private cloud (VPC), AWS Glue returns only a private IP address and the public IP address field is not populated. When you create a non-VPC development endpoint, AWS Glue returns only a public IP address.

", "GetJob": "

Retrieves an existing job definition.

", "GetJobRun": "

Retrieves the metadata for a given job run.

", "GetJobRuns": "

Retrieves metadata for all runs of a given job definition.

", @@ -104,7 +104,7 @@ "UpdateCrawler": "

Updates a crawler. If a crawler is running, you must stop it using StopCrawler before updating it.

", "UpdateCrawlerSchedule": "

Updates the schedule of a crawler using a cron expression.

", "UpdateDatabase": "

Updates an existing database definition in a Data Catalog.

", - "UpdateDevEndpoint": "

Updates a specified DevEndpoint.

", + "UpdateDevEndpoint": "

Updates a specified development endpoint.

", "UpdateJob": "

Updates an existing job definition.

", "UpdatePartition": "

Updates a partition.

", "UpdateTable": "

Updates a metadata table in the Data Catalog.

", @@ -342,7 +342,7 @@ "refs": { "CreateTriggerRequest$StartOnCreation": "

Set to true to start SCHEDULED and CONDITIONAL triggers when created. True is not supported for ON_DEMAND triggers.

", "GetJobRunRequest$PredecessorsIncluded": "

True if a list of predecessor runs should be returned.

", - "UpdateDevEndpointRequest$UpdateEtlLibraries": "

True if the list of custom libraries to be loaded in the development endpoint needs to be updated, or False otherwise.

" + "UpdateDevEndpointRequest$UpdateEtlLibraries": "

True if the list of custom libraries to be loaded in the development endpoint needs to be updated, or False if otherwise.

" } }, "BoundedPartitionValueList": { @@ -472,9 +472,9 @@ } }, "CloudWatchEncryption": { - "base": "

Specifies how CloudWatch data should be encrypted.

", + "base": "

Specifies how Amazon CloudWatch data should be encrypted.

", "refs": { - "EncryptionConfiguration$CloudWatchEncryption": "

The encryption configuration for CloudWatch.

" + "EncryptionConfiguration$CloudWatchEncryption": "

The encryption configuration for Amazon CloudWatch.

" } }, "CloudWatchEncryptionMode": { @@ -1209,23 +1209,23 @@ } }, "DevEndpoint": { - "base": "

A development endpoint where a developer can remotely debug ETL scripts.

", + "base": "

A development endpoint where a developer can remotely debug extract, transform, and load (ETL) scripts.

", "refs": { "DevEndpointList$member": null, - "GetDevEndpointResponse$DevEndpoint": "

A DevEndpoint definition.

" + "GetDevEndpointResponse$DevEndpoint": "

A DevEndpoint definition.

" } }, "DevEndpointCustomLibraries": { - "base": "

Custom libraries to be loaded into a DevEndpoint.

", + "base": "

Custom libraries to be loaded into a development endpoint.

", "refs": { - "UpdateDevEndpointRequest$CustomLibraries": "

Custom Python or Java libraries to be loaded in the DevEndpoint.

" + "UpdateDevEndpointRequest$CustomLibraries": "

Custom Python or Java libraries to be loaded in the DevEndpoint.

" } }, "DevEndpointList": { "base": null, "refs": { - "BatchGetDevEndpointsResponse$DevEndpoints": "

A list of DevEndpoint definitions.

", - "GetDevEndpointsResponse$DevEndpoints": "

A list of DevEndpoint definitions.

" + "BatchGetDevEndpointsResponse$DevEndpoints": "

A list of DevEndpoint definitions.

", + "GetDevEndpointsResponse$DevEndpoints": "

A list of DevEndpoint definitions.

" } }, "DevEndpointNameList": { @@ -1237,8 +1237,8 @@ "DevEndpointNames": { "base": null, "refs": { - "BatchGetDevEndpointsRequest$DevEndpointNames": "

The list of DevEndpoint names, which may be the names returned from the ListDevEndpoint operation.

", - "BatchGetDevEndpointsResponse$DevEndpointsNotFound": "

A list of DevEndpoints not found.

" + "BatchGetDevEndpointsRequest$DevEndpointNames": "

The list of DevEndpoint names, which might be the names returned from the ListDevEndpoint operation.

", + "BatchGetDevEndpointsResponse$DevEndpointsNotFound": "

A list of DevEndpoints not found.

" } }, "DynamoDBTarget": { @@ -1359,44 +1359,44 @@ "GenericString": { "base": null, "refs": { - "CreateDevEndpointRequest$EndpointName": "

The name to be assigned to the new DevEndpoint.

", - "CreateDevEndpointRequest$SubnetId": "

The subnet ID for the new DevEndpoint to use.

", - "CreateDevEndpointRequest$PublicKey": "

The public key to be used by this DevEndpoint for authentication. This attribute is provided for backward compatibility, as the recommended attribute to use is public keys.

", - "CreateDevEndpointRequest$ExtraPythonLibsS3Path": "

Path(s) to one or more Python libraries in an S3 bucket that should be loaded in your DevEndpoint. Multiple values must be complete paths separated by a comma.

Please note that only pure Python libraries can currently be used on a DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not yet supported.

", - "CreateDevEndpointRequest$ExtraJarsS3Path": "

Path to one or more Java Jars in an S3 bucket that should be loaded in your DevEndpoint.

", - "CreateDevEndpointResponse$EndpointName": "

The name assigned to the new DevEndpoint.

", - "CreateDevEndpointResponse$Status": "

The current status of the new DevEndpoint.

", - "CreateDevEndpointResponse$SubnetId": "

The subnet ID assigned to the new DevEndpoint.

", - "CreateDevEndpointResponse$YarnEndpointAddress": "

The address of the YARN endpoint used by this DevEndpoint.

", - "CreateDevEndpointResponse$AvailabilityZone": "

The AWS availability zone where this DevEndpoint is located.

", - "CreateDevEndpointResponse$VpcId": "

The ID of the VPC used by this DevEndpoint.

", - "CreateDevEndpointResponse$ExtraPythonLibsS3Path": "

Path(s) to one or more Python libraries in an S3 bucket that will be loaded in your DevEndpoint.

", - "CreateDevEndpointResponse$ExtraJarsS3Path": "

Path to one or more Java Jars in an S3 bucket that will be loaded in your DevEndpoint.

", - "CreateDevEndpointResponse$FailureReason": "

The reason for a current failure in this DevEndpoint.

", + "CreateDevEndpointRequest$EndpointName": "

The name to be assigned to the new DevEndpoint.

", + "CreateDevEndpointRequest$SubnetId": "

The subnet ID for the new DevEndpoint to use.

", + "CreateDevEndpointRequest$PublicKey": "

The public key to be used by this DevEndpoint for authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys.

", + "CreateDevEndpointRequest$ExtraPythonLibsS3Path": "

The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your DevEndpoint. Multiple values must be complete paths separated by a comma.

You can only use pure Python libraries with a DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not yet supported.

", + "CreateDevEndpointRequest$ExtraJarsS3Path": "

The path to one or more Java .jar files in an S3 bucket that should be loaded in your DevEndpoint.

", + "CreateDevEndpointResponse$EndpointName": "

The name assigned to the new DevEndpoint.

", + "CreateDevEndpointResponse$Status": "

The current status of the new DevEndpoint.

", + "CreateDevEndpointResponse$SubnetId": "

The subnet ID assigned to the new DevEndpoint.

", + "CreateDevEndpointResponse$YarnEndpointAddress": "

The address of the YARN endpoint used by this DevEndpoint.

", + "CreateDevEndpointResponse$AvailabilityZone": "

The AWS Availability Zone where this DevEndpoint is located.

", + "CreateDevEndpointResponse$VpcId": "

The ID of the virtual private cloud (VPC) used by this DevEndpoint.

", + "CreateDevEndpointResponse$ExtraPythonLibsS3Path": "

The paths to one or more Python libraries in an S3 bucket that will be loaded in your DevEndpoint.

", + "CreateDevEndpointResponse$ExtraJarsS3Path": "

Path to one or more Java .jar files in an S3 bucket that will be loaded in your DevEndpoint.

", + "CreateDevEndpointResponse$FailureReason": "

The reason for a current failure in this DevEndpoint.

", "CreateTriggerRequest$Schedule": "

A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

This field is required when the trigger type is SCHEDULED.

", "CreateWorkflowRequest$Description": "

A description of the workflow.

", - "DeleteDevEndpointRequest$EndpointName": "

The name of the DevEndpoint.

", - "DevEndpoint$EndpointName": "

The name of the DevEndpoint.

", - "DevEndpoint$SubnetId": "

The subnet ID for this DevEndpoint.

", - "DevEndpoint$YarnEndpointAddress": "

The YARN endpoint address used by this DevEndpoint.

", - "DevEndpoint$PrivateAddress": "

A private IP address to access the DevEndpoint within a VPC, if the DevEndpoint is created within one. The PrivateAddress field is present only when you create the DevEndpoint within your virtual private cloud (VPC).

", - "DevEndpoint$PublicAddress": "

The public IP address used by this DevEndpoint. The PublicAddress field is present only when you create a non-VPC (virtual private cloud) DevEndpoint.

", - "DevEndpoint$Status": "

The current status of this DevEndpoint.

", - "DevEndpoint$AvailabilityZone": "

The AWS availability zone where this DevEndpoint is located.

", - "DevEndpoint$VpcId": "

The ID of the virtual private cloud (VPC) used by this DevEndpoint.

", - "DevEndpoint$ExtraPythonLibsS3Path": "

Path(s) to one or more Python libraries in an S3 bucket that should be loaded in your DevEndpoint. Multiple values must be complete paths separated by a comma.

Please note that only pure Python libraries can currently be used on a DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not yet supported.

", - "DevEndpoint$ExtraJarsS3Path": "

Path to one or more Java Jars in an S3 bucket that should be loaded in your DevEndpoint.

Please note that only pure Java/Scala libraries can currently be used on a DevEndpoint.

", - "DevEndpoint$FailureReason": "

The reason for a current failure in this DevEndpoint.

", + "DeleteDevEndpointRequest$EndpointName": "

The name of the DevEndpoint.

", + "DevEndpoint$EndpointName": "

The name of the DevEndpoint.

", + "DevEndpoint$SubnetId": "

The subnet ID for this DevEndpoint.

", + "DevEndpoint$YarnEndpointAddress": "

The YARN endpoint address used by this DevEndpoint.

", + "DevEndpoint$PrivateAddress": "

A private IP address to access the DevEndpoint within a VPC if the DevEndpoint is created within one. The PrivateAddress field is present only when you create the DevEndpoint within your VPC.

", + "DevEndpoint$PublicAddress": "

The public IP address used by this DevEndpoint. The PublicAddress field is present only when you create a non-virtual private cloud (VPC) DevEndpoint.

", + "DevEndpoint$Status": "

The current status of this DevEndpoint.

", + "DevEndpoint$AvailabilityZone": "

The AWS Availability Zone where this DevEndpoint is located.

", + "DevEndpoint$VpcId": "

The ID of the virtual private cloud (VPC) used by this DevEndpoint.

", + "DevEndpoint$ExtraPythonLibsS3Path": "

The paths to one or more Python libraries in an Amazon S3 bucket that should be loaded in your DevEndpoint. Multiple values must be complete paths separated by a comma.

You can only use pure Python libraries with a DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not currently supported.

", + "DevEndpoint$ExtraJarsS3Path": "

The path to one or more Java .jar files in an S3 bucket that should be loaded in your DevEndpoint.

You can only use pure Java/Scala libraries with a DevEndpoint.

", + "DevEndpoint$FailureReason": "

The reason for a current failure in this DevEndpoint.

", "DevEndpoint$LastUpdateStatus": "

The status of the last update.

", - "DevEndpoint$PublicKey": "

The public key to be used by this DevEndpoint for authentication. This attribute is provided for backward compatibility, as the recommended attribute to use is public keys.

", - "DevEndpointCustomLibraries$ExtraPythonLibsS3Path": "

Path(s) to one or more Python libraries in an S3 bucket that should be loaded in your DevEndpoint. Multiple values must be complete paths separated by a comma.

Please note that only pure Python libraries can currently be used on a DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not yet supported.

", - "DevEndpointCustomLibraries$ExtraJarsS3Path": "

Path to one or more Java Jars in an S3 bucket that should be loaded in your DevEndpoint.

Please note that only pure Java/Scala libraries can currently be used on a DevEndpoint.

", + "DevEndpoint$PublicKey": "

The public key to be used by this DevEndpoint for authentication. This attribute is provided for backward compatibility because the recommended attribute to use is public keys.

", + "DevEndpointCustomLibraries$ExtraPythonLibsS3Path": "

The paths to one or more Python libraries in an Amazon Simple Storage Service (Amazon S3) bucket that should be loaded in your DevEndpoint. Multiple values must be complete paths separated by a comma.

You can only use pure Python libraries with a DevEndpoint. Libraries that rely on C extensions, such as the pandas Python data analysis library, are not currently supported.

", + "DevEndpointCustomLibraries$ExtraJarsS3Path": "

The path to one or more Java .jar files in an S3 bucket that should be loaded in your DevEndpoint.

You can only use pure Java/Scala libraries with a DevEndpoint.

", "DevEndpointNames$member": null, "GenericMap$key": null, "GenericMap$value": null, - "GetDevEndpointRequest$EndpointName": "

Name of the DevEndpoint for which to retrieve information.

", + "GetDevEndpointRequest$EndpointName": "

Name of the DevEndpoint to retrieve information for.

", "GetDevEndpointsRequest$NextToken": "

A continuation token, if this is a continuation call.

", - "GetDevEndpointsResponse$NextToken": "

A continuation token, if not all DevEndpoint definitions have yet been returned.

", + "GetDevEndpointsResponse$NextToken": "

A continuation token, if not all DevEndpoint definitions have yet been returned.

", "GetJobRunsRequest$NextToken": "

A continuation token, if this is a continuation call.

", "GetJobRunsResponse$NextToken": "

A continuation token, if not all requested job runs have been returned.

", "GetJobsRequest$NextToken": "

A continuation token, if this is a continuation call.

", @@ -1424,8 +1424,8 @@ "StringList$member": null, "Trigger$Schedule": "

A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

", "TriggerUpdate$Schedule": "

A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

", - "UpdateDevEndpointRequest$EndpointName": "

The name of the DevEndpoint to be updated.

", - "UpdateDevEndpointRequest$PublicKey": "

The public key for the DevEndpoint to use.

", + "UpdateDevEndpointRequest$EndpointName": "

The name of the DevEndpoint to be updated.

", + "UpdateDevEndpointRequest$PublicKey": "

The public key for the DevEndpoint to use.

", "UpdateWorkflowRequest$Description": "

The description of the workflow.

", "Workflow$Description": "

A description of the workflow.

", "WorkflowRunProperties$value": null @@ -1836,6 +1836,15 @@ "UntagResourceRequest$ResourceArn": "

The Amazon Resource Name (ARN) of the resource from which to remove the tags.

" } }, + "GlueVersionString": { + "base": null, + "refs": { + "CreateJobRequest$GlueVersion": "

Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark.

For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.

Jobs that are created without specifying a Glue version default to Glue 0.9.

", + "Job$GlueVersion": "

Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark.

For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.

Jobs that are created without specifying a Glue version default to Glue 0.9.

", + "JobRun$GlueVersion": "

Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark.

For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.

Jobs that are created without specifying a Glue version default to Glue 0.9.

", + "JobUpdate$GlueVersion": "

Glue version determines the versions of Apache Spark and Python that AWS Glue supports. The Python version indicates the version supported for jobs of type Spark.

For more information about the available AWS Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.

" + } + }, "GrokClassifier": { "base": "

A classifier that uses grok patterns.

", "refs": { @@ -1911,14 +1920,14 @@ "IntegerValue": { "base": null, "refs": { - "CreateDevEndpointRequest$NumberOfNodes": "

The number of AWS Glue Data Processing Units (DPUs) to allocate to this DevEndpoint.

", + "CreateDevEndpointRequest$NumberOfNodes": "

The number of AWS Glue Data Processing Units (DPUs) to allocate to this DevEndpoint.

", "CreateDevEndpointResponse$ZeppelinRemoteSparkInterpreterPort": "

The Apache Zeppelin port for the remote Apache Spark interpreter.

", "CreateDevEndpointResponse$NumberOfNodes": "

The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.

", "CreateJobRequest$AllocatedCapacity": "

This parameter is deprecated. Use MaxCapacity instead.

The number of AWS Glue data processing units (DPUs) to allocate to this Job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page.

", "DevEndpoint$ZeppelinRemoteSparkInterpreterPort": "

The Apache Zeppelin port for the remote Apache Spark interpreter.

", - "DevEndpoint$NumberOfNodes": "

The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.

", + "DevEndpoint$NumberOfNodes": "

The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint.

", "Job$AllocatedCapacity": "

This field is deprecated. Use MaxCapacity instead.

The number of AWS Glue data processing units (DPUs) allocated to runs of this job. You can allocate from 2 to 100 DPUs; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page.

", - "JobBookmarkEntry$Version": "

Version of the job.

", + "JobBookmarkEntry$Version": "

The version of the job.

", "JobBookmarkEntry$Run": "

The run ID number.

", "JobBookmarkEntry$Attempt": "

The attempt ID number.

", "JobRun$AllocatedCapacity": "

This field is deprecated. Use MaxCapacity instead.

The number of AWS Glue data processing units (DPUs) allocated to this JobRun. From 2 to 100 DPUs can be allocated; the default is 10. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB of memory. For more information, see the AWS Glue pricing page.

", @@ -1962,21 +1971,21 @@ } }, "JobBookmarkEntry": { - "base": "

Defines a point which a job can resume processing.

", + "base": "

Defines a point that a job can resume processing.

", "refs": { "ResetJobBookmarkResponse$JobBookmarkEntry": "

The reset bookmark entry.

" } }, "JobBookmarksEncryption": { - "base": "

Specifies how Job bookmark data should be encrypted.

", + "base": "

Specifies how job bookmark data should be encrypted.

", "refs": { - "EncryptionConfiguration$JobBookmarksEncryption": "

The encryption configuration for Job Bookmarks.

" + "EncryptionConfiguration$JobBookmarksEncryption": "

The encryption configuration for job bookmarks.

" } }, "JobBookmarksEncryptionMode": { "base": null, "refs": { - "JobBookmarksEncryption$JobBookmarksEncryptionMode": "

The encryption mode to use for Job bookmarks data.

" + "JobBookmarksEncryption$JobBookmarksEncryptionMode": "

The encryption mode to use for job bookmarks data.

" } }, "JobCommand": { @@ -1997,7 +2006,7 @@ "JobName": { "base": null, "refs": { - "JobBookmarkEntry$JobName": "

Name of the job in question.

", + "JobBookmarkEntry$JobName": "

The name of the job in question.

", "ResetJobBookmarkRequest$JobName": "

The name of the job in question.

" } }, @@ -2071,9 +2080,9 @@ "KmsKeyArn": { "base": null, "refs": { - "CloudWatchEncryption$KmsKeyArn": "

The AWS ARN of the KMS key to be used to encrypt the data.

", - "JobBookmarksEncryption$KmsKeyArn": "

The AWS ARN of the KMS key to be used to encrypt the data.

", - "S3Encryption$KmsKeyArn": "

The AWS ARN of the KMS key to be used to encrypt the data.

" + "CloudWatchEncryption$KmsKeyArn": "

The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

", + "JobBookmarksEncryption$KmsKeyArn": "

The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

", + "S3Encryption$KmsKeyArn": "

The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.

" } }, "Language": { @@ -2193,10 +2202,10 @@ "MapValue": { "base": null, "refs": { - "CreateDevEndpointRequest$Arguments": "

A map of arguments used to configure the DevEndpoint.

", - "CreateDevEndpointResponse$Arguments": "

The map of arguments used to configure this DevEndpoint.

", - "DevEndpoint$Arguments": "

A map of arguments used to configure the DevEndpoint.

Note that currently, we only support \"--enable-glue-datacatalog\": \"\" as a valid argument.

", - "UpdateDevEndpointRequest$AddArguments": "

The map of arguments to add the map of arguments used to configure the DevEndpoint.

" + "CreateDevEndpointRequest$Arguments": "

A map of arguments used to configure the DevEndpoint.

", + "CreateDevEndpointResponse$Arguments": "

The map of arguments used to configure this DevEndpoint.

", + "DevEndpoint$Arguments": "

A map of arguments used to configure the DevEndpoint.

Currently, only \"--enable-glue-datacatalog\": \"\" is supported as a valid argument.

", + "UpdateDevEndpointRequest$AddArguments": "

The map of arguments to add the map of arguments used to configure the DevEndpoint.

" } }, "MappingEntry": { @@ -2309,12 +2318,11 @@ "CrawlerNameList$member": null, "CreateCrawlerRequest$Name": "

Name of the new crawler.

", "CreateCsvClassifierRequest$Name": "

The name of the classifier.

", - "CreateDevEndpointRequest$SecurityConfiguration": "

The name of the SecurityConfiguration structure to be used with this DevEndpoint.

", - "CreateDevEndpointResponse$SecurityConfiguration": "

The name of the SecurityConfiguration structure being used with this DevEndpoint.

", + "CreateDevEndpointRequest$SecurityConfiguration": "

The name of the SecurityConfiguration structure to be used with this DevEndpoint.

", + "CreateDevEndpointResponse$SecurityConfiguration": "

The name of the SecurityConfiguration structure being used with this DevEndpoint.

", "CreateGrokClassifierRequest$Name": "

The name of the new classifier.

", "CreateJobRequest$Name": "

The name you assign to this job definition. It must be unique in your account.

", "CreateJobRequest$SecurityConfiguration": "

The name of the SecurityConfiguration structure to be used with this job.

", - "CreateJobRequest$WorkerType": "

The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.

", "CreateJobResponse$Name": "

The unique name that was provided for this job definition.

", "CreateJsonClassifierRequest$Name": "

The name of the classifier.

", "CreatePartitionRequest$DatabaseName": "

The name of the metadata database in which the partition is to be created.

", @@ -2353,7 +2361,7 @@ "DeleteUserDefinedFunctionRequest$FunctionName": "

The name of the function definition to be deleted.

", "DeleteWorkflowRequest$Name": "

Name of the workflow to be deleted.

", "DeleteWorkflowResponse$Name": "

Name of the workflow specified in input.

", - "DevEndpoint$SecurityConfiguration": "

The name of the SecurityConfiguration structure to be used with this DevEndpoint.

", + "DevEndpoint$SecurityConfiguration": "

The name of the SecurityConfiguration structure to be used with this DevEndpoint.

", "DevEndpointNameList$member": null, "Edge$SourceId": "

The unique of the node within the workflow where the edge starts.

", "Edge$DestinationId": "

The unique of the node within the workflow where the edge ends.

", @@ -2418,7 +2426,6 @@ "StartCrawlerScheduleRequest$CrawlerName": "

Name of the crawler to schedule.

", "StartJobRunRequest$JobName": "

The name of the job definition to use.

", "StartJobRunRequest$SecurityConfiguration": "

The name of the SecurityConfiguration structure to be used with this job run.

", - "StartJobRunRequest$WorkerType": "

The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.

", "StartTriggerRequest$Name": "

The name of the trigger to start.

", "StartTriggerResponse$Name": "

The name of the trigger that was started.

", "StartWorkflowRunRequest$Name": "

The name of the workflow to start.

", @@ -2563,7 +2570,10 @@ "NullableInteger": { "base": null, "refs": { + "CreateDevEndpointRequest$NumberOfWorkers": "

The number of workers of a defined workerType that are allocated to the development endpoint.

The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X.

", + "CreateDevEndpointResponse$NumberOfWorkers": "

The number of workers of a defined workerType that are allocated to the development endpoint.

", "CreateJobRequest$NumberOfWorkers": "

The number of workers of a defined workerType that are allocated when a job runs.

The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X.

", + "DevEndpoint$NumberOfWorkers": "

The number of workers of a defined workerType that are allocated to the development endpoint.

The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X.

", "Job$NumberOfWorkers": "

The number of workers of a defined workerType that are allocated when a job runs.

The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X.

", "JobRun$NumberOfWorkers": "

The number of workers of a defined workerType that are allocated when a job runs.

The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X.

", "JobUpdate$NumberOfWorkers": "

The number of workers of a defined workerType that are allocated when a job runs.

The maximum number of workers you can define are 299 for G.1X, and 149 for G.2X.

", @@ -2751,10 +2761,10 @@ "PublicKeysList": { "base": null, "refs": { - "CreateDevEndpointRequest$PublicKeys": "

A list of public keys to be used by the DevEndpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.

If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys: call the UpdateDevEndpoint API with the public key content in the deletePublicKeys attribute, and the list of new keys in the addPublicKeys attribute.

", - "DevEndpoint$PublicKeys": "

A list of public keys to be used by the DevEndpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.

If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys: call the UpdateDevEndpoint API with the public key content in the deletePublicKeys attribute, and the list of new keys in the addPublicKeys attribute.

", - "UpdateDevEndpointRequest$AddPublicKeys": "

The list of public keys for the DevEndpoint to use.

", - "UpdateDevEndpointRequest$DeletePublicKeys": "

The list of public keys to be deleted from the DevEndpoint.

" + "CreateDevEndpointRequest$PublicKeys": "

A list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.

If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the UpdateDevEndpoint API with the public key content in the deletePublicKeys attribute, and the list of new keys in the addPublicKeys attribute.

", + "DevEndpoint$PublicKeys": "

A list of public keys to be used by the DevEndpoints for authentication. Using this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.

If you previously created an endpoint with a public key, you must remove that key to be able to set a list of public keys. Call the UpdateDevEndpoint API operation with the public key content in the deletePublicKeys attribute, and the list of new keys in the addPublicKeys attribute.

", + "UpdateDevEndpointRequest$AddPublicKeys": "

The list of public keys for the DevEndpoint to use.

", + "UpdateDevEndpointRequest$DeletePublicKeys": "

The list of public keys to be deleted from the DevEndpoint.

" } }, "PutDataCatalogEncryptionSettingsRequest": { @@ -2846,9 +2856,9 @@ "RoleArn": { "base": null, "refs": { - "CreateDevEndpointRequest$RoleArn": "

The IAM role for the DevEndpoint.

", - "CreateDevEndpointResponse$RoleArn": "

The AWS ARN of the role assigned to the new DevEndpoint.

", - "DevEndpoint$RoleArn": "

The AWS ARN of the IAM role used in this DevEndpoint.

" + "CreateDevEndpointRequest$RoleArn": "

The IAM role for the DevEndpoint.

", + "CreateDevEndpointResponse$RoleArn": "

The Amazon Resource Name (ARN) of the role assigned to the new DevEndpoint.

", + "DevEndpoint$RoleArn": "

The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint.

" } }, "RoleString": { @@ -2868,7 +2878,7 @@ } }, "S3Encryption": { - "base": "

Specifies how S3 data should be encrypted.

", + "base": "

Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.

", "refs": { "S3EncryptionList$member": null } @@ -2876,13 +2886,13 @@ "S3EncryptionList": { "base": null, "refs": { - "EncryptionConfiguration$S3Encryption": "

The encryption configuration for S3 data.

" + "EncryptionConfiguration$S3Encryption": "

The encryption configuration for Amazon Simple Storage Service (Amazon S3) data.

" } }, "S3EncryptionMode": { "base": null, "refs": { - "S3Encryption$S3EncryptionMode": "

The encryption mode to use for S3 data.

" + "S3Encryption$S3EncryptionMode": "

The encryption mode to use for Amazon S3 data.

" } }, "S3Target": { @@ -2955,7 +2965,7 @@ "SecurityConfiguration": { "base": "

Specifies a security configuration.

", "refs": { - "GetSecurityConfigurationResponse$SecurityConfiguration": "

The requested security configuration

", + "GetSecurityConfigurationResponse$SecurityConfiguration": "

The requested security configuration.

", "SecurityConfigurationList$member": null } }, @@ -3081,10 +3091,10 @@ "StringList": { "base": null, "refs": { - "CreateDevEndpointRequest$SecurityGroupIds": "

Security group IDs for the security groups to be used by the new DevEndpoint.

", - "CreateDevEndpointResponse$SecurityGroupIds": "

The security groups assigned to the new DevEndpoint.

", - "DevEndpoint$SecurityGroupIds": "

A list of security group identifiers used in this DevEndpoint.

", - "UpdateDevEndpointRequest$DeleteArguments": "

The list of argument keys to be deleted from the map of arguments used to configure the DevEndpoint.

" + "CreateDevEndpointRequest$SecurityGroupIds": "

Security group IDs for the security groups to be used by the new DevEndpoint.

", + "CreateDevEndpointResponse$SecurityGroupIds": "

The security groups assigned to the new DevEndpoint.

", + "DevEndpoint$SecurityGroupIds": "

A list of security group identifiers used in this DevEndpoint.

", + "UpdateDevEndpointRequest$DeleteArguments": "

The list of argument keys to be deleted from the map of arguments used to configure the DevEndpoint.

" } }, "Table": { @@ -3194,7 +3204,7 @@ "base": null, "refs": { "CreateCrawlerRequest$Tags": "

The tags to use with this crawler request. You can use tags to limit access to the crawler. For more information, see AWS Tags in AWS Glue.

", - "CreateDevEndpointRequest$Tags": "

The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in AWS Glue, see AWS Tags in AWS Glue in the developer guide.

", + "CreateDevEndpointRequest$Tags": "

The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in AWS Glue, see AWS Tags in AWS Glue in the developer guide.

", "CreateJobRequest$Tags": "

The tags to use with this job. You may use tags to limit access to the job. For more information about tags in AWS Glue, see AWS Tags in AWS Glue in the developer guide.

", "CreateTriggerRequest$Tags": "

The tags to use with this trigger. You may use tags to limit access to the trigger. For more information about tags in AWS Glue, see AWS Tags in AWS Glue in the developer guide.

", "CreateWorkflowRequest$Tags": "

The tags to be used with this workflow.

", @@ -3256,10 +3266,10 @@ "refs": { "Crawl$StartedOn": "

The date and time on which the crawl started.

", "Crawl$CompletedOn": "

The date and time on which the crawl completed.

", - "CreateDevEndpointResponse$CreatedTimestamp": "

The point in time at which this DevEndpoint was created.

", + "CreateDevEndpointResponse$CreatedTimestamp": "

The point in time at which this DevEndpoint was created.

", "CreateSecurityConfigurationResponse$CreatedTimestamp": "

The time at which the new security configuration was created.

", "DevEndpoint$CreatedTimestamp": "

The point in time at which this DevEndpoint was created.

", - "DevEndpoint$LastModifiedTimestamp": "

The point in time at which this DevEndpoint was last modified.

", + "DevEndpoint$LastModifiedTimestamp": "

The point in time at which this DevEndpoint was last modified.

", "Job$CreatedOn": "

The time and date that this job definition was created.

", "Job$LastModifiedOn": "

The last point in time when this job definition was modified.

", "JobRun$StartedOn": "

The date and time at which this job run was started.

", @@ -3609,9 +3619,14 @@ "WorkerType": { "base": null, "refs": { + "CreateDevEndpointRequest$WorkerType": "

The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.

", + "CreateDevEndpointResponse$WorkerType": "

The type of predefined worker that is allocated to the development endpoint. May be a value of Standard, G.1X, or G.2X.

", + "CreateJobRequest$WorkerType": "

The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.

", + "DevEndpoint$WorkerType": "

The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.

", "Job$WorkerType": "

The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.

", "JobRun$WorkerType": "

The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.

", - "JobUpdate$WorkerType": "

The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.

" + "JobUpdate$WorkerType": "

The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.

", + "StartJobRunRequest$WorkerType": "

The type of predefined worker that is allocated when a job runs. Accepts a value of Standard, G.1X, or G.2X.

" } }, "Workflow": { diff --git a/models/apis/pinpoint/2016-12-01/api-2.json b/models/apis/pinpoint/2016-12-01/api-2.json index 82f100f34b0..3710b8abc95 100644 --- a/models/apis/pinpoint/2016-12-01/api-2.json +++ b/models/apis/pinpoint/2016-12-01/api-2.json @@ -1,7088 +1,8526 @@ { - "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" + "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" : { - "name" : "CreateApp", - "http" : { - "method" : "POST", - "requestUri" : "/v1/apps", - "responseCode" : 201 - }, - "input" : { - "shape" : "CreateAppRequest" - }, - "output" : { - "shape" : "CreateAppResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "CreateCampaign" : { - "name" : "CreateCampaign", - "http" : { - "method" : "POST", - "requestUri" : "/v1/apps/{application-id}/campaigns", - "responseCode" : 201 - }, - "input" : { - "shape" : "CreateCampaignRequest" - }, - "output" : { - "shape" : "CreateCampaignResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "CreateExportJob" : { - "name" : "CreateExportJob", - "http" : { - "method" : "POST", - "requestUri" : "/v1/apps/{application-id}/jobs/export", - "responseCode" : 202 - }, - "input" : { - "shape" : "CreateExportJobRequest" - }, - "output" : { - "shape" : "CreateExportJobResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "CreateImportJob" : { - "name" : "CreateImportJob", - "http" : { - "method" : "POST", - "requestUri" : "/v1/apps/{application-id}/jobs/import", - "responseCode" : 201 - }, - "input" : { - "shape" : "CreateImportJobRequest" - }, - "output" : { - "shape" : "CreateImportJobResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "CreateSegment" : { - "name" : "CreateSegment", - "http" : { - "method" : "POST", - "requestUri" : "/v1/apps/{application-id}/segments", - "responseCode" : 201 - }, - "input" : { - "shape" : "CreateSegmentRequest" - }, - "output" : { - "shape" : "CreateSegmentResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteAdmChannel" : { - "name" : "DeleteAdmChannel", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/channels/adm", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteAdmChannelRequest" - }, - "output" : { - "shape" : "DeleteAdmChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteApnsChannel" : { - "name" : "DeleteApnsChannel", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/channels/apns", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteApnsChannelRequest" - }, - "output" : { - "shape" : "DeleteApnsChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteApnsSandboxChannel" : { - "name" : "DeleteApnsSandboxChannel", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/channels/apns_sandbox", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteApnsSandboxChannelRequest" - }, - "output" : { - "shape" : "DeleteApnsSandboxChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteApnsVoipChannel" : { - "name" : "DeleteApnsVoipChannel", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/channels/apns_voip", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteApnsVoipChannelRequest" - }, - "output" : { - "shape" : "DeleteApnsVoipChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteApnsVoipSandboxChannel" : { - "name" : "DeleteApnsVoipSandboxChannel", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/channels/apns_voip_sandbox", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteApnsVoipSandboxChannelRequest" - }, - "output" : { - "shape" : "DeleteApnsVoipSandboxChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteApp" : { - "name" : "DeleteApp", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteAppRequest" - }, - "output" : { - "shape" : "DeleteAppResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteBaiduChannel" : { - "name" : "DeleteBaiduChannel", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/channels/baidu", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteBaiduChannelRequest" - }, - "output" : { - "shape" : "DeleteBaiduChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteCampaign" : { - "name" : "DeleteCampaign", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteCampaignRequest" - }, - "output" : { - "shape" : "DeleteCampaignResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteEmailChannel" : { - "name" : "DeleteEmailChannel", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/channels/email", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteEmailChannelRequest" - }, - "output" : { - "shape" : "DeleteEmailChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteEndpoint" : { - "name" : "DeleteEndpoint", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/endpoints/{endpoint-id}", - "responseCode" : 202 - }, - "input" : { - "shape" : "DeleteEndpointRequest" - }, - "output" : { - "shape" : "DeleteEndpointResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteEventStream" : { - "name" : "DeleteEventStream", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/eventstream", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteEventStreamRequest" - }, - "output" : { - "shape" : "DeleteEventStreamResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteGcmChannel" : { - "name" : "DeleteGcmChannel", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/channels/gcm", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteGcmChannelRequest" - }, - "output" : { - "shape" : "DeleteGcmChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteSegment" : { - "name" : "DeleteSegment", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteSegmentRequest" - }, - "output" : { - "shape" : "DeleteSegmentResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteSmsChannel" : { - "name" : "DeleteSmsChannel", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/channels/sms", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteSmsChannelRequest" - }, - "output" : { - "shape" : "DeleteSmsChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteUserEndpoints" : { - "name" : "DeleteUserEndpoints", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/users/{user-id}", - "responseCode" : 202 - }, - "input" : { - "shape" : "DeleteUserEndpointsRequest" - }, - "output" : { - "shape" : "DeleteUserEndpointsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "DeleteVoiceChannel" : { - "name" : "DeleteVoiceChannel", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/apps/{application-id}/channels/voice", - "responseCode" : 200 - }, - "input" : { - "shape" : "DeleteVoiceChannelRequest" - }, - "output" : { - "shape" : "DeleteVoiceChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetAdmChannel" : { - "name" : "GetAdmChannel", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels/adm", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetAdmChannelRequest" - }, - "output" : { - "shape" : "GetAdmChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetApnsChannel" : { - "name" : "GetApnsChannel", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels/apns", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetApnsChannelRequest" - }, - "output" : { - "shape" : "GetApnsChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetApnsSandboxChannel" : { - "name" : "GetApnsSandboxChannel", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels/apns_sandbox", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetApnsSandboxChannelRequest" - }, - "output" : { - "shape" : "GetApnsSandboxChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetApnsVoipChannel" : { - "name" : "GetApnsVoipChannel", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels/apns_voip", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetApnsVoipChannelRequest" - }, - "output" : { - "shape" : "GetApnsVoipChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetApnsVoipSandboxChannel" : { - "name" : "GetApnsVoipSandboxChannel", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels/apns_voip_sandbox", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetApnsVoipSandboxChannelRequest" - }, - "output" : { - "shape" : "GetApnsVoipSandboxChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetApp" : { - "name" : "GetApp", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetAppRequest" - }, - "output" : { - "shape" : "GetAppResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetApplicationSettings" : { - "name" : "GetApplicationSettings", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/settings", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetApplicationSettingsRequest" - }, - "output" : { - "shape" : "GetApplicationSettingsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetApps" : { - "name" : "GetApps", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetAppsRequest" - }, - "output" : { - "shape" : "GetAppsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetBaiduChannel" : { - "name" : "GetBaiduChannel", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels/baidu", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetBaiduChannelRequest" - }, - "output" : { - "shape" : "GetBaiduChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetCampaign" : { - "name" : "GetCampaign", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetCampaignRequest" - }, - "output" : { - "shape" : "GetCampaignResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetCampaignActivities" : { - "name" : "GetCampaignActivities", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/activities", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetCampaignActivitiesRequest" - }, - "output" : { - "shape" : "GetCampaignActivitiesResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetCampaignVersion" : { - "name" : "GetCampaignVersion", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetCampaignVersionRequest" - }, - "output" : { - "shape" : "GetCampaignVersionResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetCampaignVersions" : { - "name" : "GetCampaignVersions", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}/versions", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetCampaignVersionsRequest" - }, - "output" : { - "shape" : "GetCampaignVersionsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetCampaigns" : { - "name" : "GetCampaigns", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/campaigns", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetCampaignsRequest" - }, - "output" : { - "shape" : "GetCampaignsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetChannels" : { - "name" : "GetChannels", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetChannelsRequest" - }, - "output" : { - "shape" : "GetChannelsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetEmailChannel" : { - "name" : "GetEmailChannel", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels/email", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetEmailChannelRequest" - }, - "output" : { - "shape" : "GetEmailChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetEndpoint" : { - "name" : "GetEndpoint", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/endpoints/{endpoint-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetEndpointRequest" - }, - "output" : { - "shape" : "GetEndpointResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetEventStream" : { - "name" : "GetEventStream", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/eventstream", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetEventStreamRequest" - }, - "output" : { - "shape" : "GetEventStreamResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetExportJob" : { - "name" : "GetExportJob", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/jobs/export/{job-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetExportJobRequest" - }, - "output" : { - "shape" : "GetExportJobResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetExportJobs" : { - "name" : "GetExportJobs", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/jobs/export", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetExportJobsRequest" - }, - "output" : { - "shape" : "GetExportJobsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetGcmChannel" : { - "name" : "GetGcmChannel", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels/gcm", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetGcmChannelRequest" - }, - "output" : { - "shape" : "GetGcmChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetImportJob" : { - "name" : "GetImportJob", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/jobs/import/{job-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetImportJobRequest" - }, - "output" : { - "shape" : "GetImportJobResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetImportJobs" : { - "name" : "GetImportJobs", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/jobs/import", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetImportJobsRequest" - }, - "output" : { - "shape" : "GetImportJobsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetSegment" : { - "name" : "GetSegment", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetSegmentRequest" - }, - "output" : { - "shape" : "GetSegmentResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetSegmentExportJobs" : { - "name" : "GetSegmentExportJobs", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/jobs/export", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetSegmentExportJobsRequest" - }, - "output" : { - "shape" : "GetSegmentExportJobsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetSegmentImportJobs" : { - "name" : "GetSegmentImportJobs", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/jobs/import", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetSegmentImportJobsRequest" - }, - "output" : { - "shape" : "GetSegmentImportJobsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetSegmentVersion" : { - "name" : "GetSegmentVersion", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetSegmentVersionRequest" - }, - "output" : { - "shape" : "GetSegmentVersionResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetSegmentVersions" : { - "name" : "GetSegmentVersions", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}/versions", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetSegmentVersionsRequest" - }, - "output" : { - "shape" : "GetSegmentVersionsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetSegments" : { - "name" : "GetSegments", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/segments", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetSegmentsRequest" - }, - "output" : { - "shape" : "GetSegmentsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetSmsChannel" : { - "name" : "GetSmsChannel", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels/sms", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetSmsChannelRequest" - }, - "output" : { - "shape" : "GetSmsChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetUserEndpoints" : { - "name" : "GetUserEndpoints", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/users/{user-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetUserEndpointsRequest" - }, - "output" : { - "shape" : "GetUserEndpointsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "GetVoiceChannel" : { - "name" : "GetVoiceChannel", - "http" : { - "method" : "GET", - "requestUri" : "/v1/apps/{application-id}/channels/voice", - "responseCode" : 200 - }, - "input" : { - "shape" : "GetVoiceChannelRequest" - }, - "output" : { - "shape" : "GetVoiceChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "ListTagsForResource" : { - "name" : "ListTagsForResource", - "http" : { - "method" : "GET", - "requestUri" : "/v1/tags/{resource-arn}", - "responseCode" : 200 - }, - "input" : { - "shape" : "ListTagsForResourceRequest" - }, - "output" : { - "shape" : "ListTagsForResourceResponse" - }, - "errors" : [ ] - }, - "PhoneNumberValidate" : { - "name" : "PhoneNumberValidate", - "http" : { - "method" : "POST", - "requestUri" : "/v1/phone/number/validate", - "responseCode" : 200 - }, - "input" : { - "shape" : "PhoneNumberValidateRequest" - }, - "output" : { - "shape" : "PhoneNumberValidateResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "PutEventStream" : { - "name" : "PutEventStream", - "http" : { - "method" : "POST", - "requestUri" : "/v1/apps/{application-id}/eventstream", - "responseCode" : 200 - }, - "input" : { - "shape" : "PutEventStreamRequest" - }, - "output" : { - "shape" : "PutEventStreamResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "PutEvents" : { - "name" : "PutEvents", - "http" : { - "method" : "POST", - "requestUri" : "/v1/apps/{application-id}/events", - "responseCode" : 202 - }, - "input" : { - "shape" : "PutEventsRequest" - }, - "output" : { - "shape" : "PutEventsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "RemoveAttributes" : { - "name" : "RemoveAttributes", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/attributes/{attribute-type}", - "responseCode" : 200 - }, - "input" : { - "shape" : "RemoveAttributesRequest" - }, - "output" : { - "shape" : "RemoveAttributesResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "SendMessages" : { - "name" : "SendMessages", - "http" : { - "method" : "POST", - "requestUri" : "/v1/apps/{application-id}/messages", - "responseCode" : 200 - }, - "input" : { - "shape" : "SendMessagesRequest" - }, - "output" : { - "shape" : "SendMessagesResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "SendUsersMessages" : { - "name" : "SendUsersMessages", - "http" : { - "method" : "POST", - "requestUri" : "/v1/apps/{application-id}/users-messages", - "responseCode" : 200 - }, - "input" : { - "shape" : "SendUsersMessagesRequest" - }, - "output" : { - "shape" : "SendUsersMessagesResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "TagResource" : { - "name" : "TagResource", - "http" : { - "method" : "POST", - "requestUri" : "/v1/tags/{resource-arn}", - "responseCode" : 204 - }, - "input" : { - "shape" : "TagResourceRequest" - }, - "errors" : [ ] - }, - "UntagResource" : { - "name" : "UntagResource", - "http" : { - "method" : "DELETE", - "requestUri" : "/v1/tags/{resource-arn}", - "responseCode" : 204 - }, - "input" : { - "shape" : "UntagResourceRequest" - }, - "errors" : [ ] - }, - "UpdateAdmChannel" : { - "name" : "UpdateAdmChannel", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/channels/adm", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateAdmChannelRequest" - }, - "output" : { - "shape" : "UpdateAdmChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateApnsChannel" : { - "name" : "UpdateApnsChannel", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/channels/apns", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateApnsChannelRequest" - }, - "output" : { - "shape" : "UpdateApnsChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateApnsSandboxChannel" : { - "name" : "UpdateApnsSandboxChannel", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/channels/apns_sandbox", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateApnsSandboxChannelRequest" - }, - "output" : { - "shape" : "UpdateApnsSandboxChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateApnsVoipChannel" : { - "name" : "UpdateApnsVoipChannel", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/channels/apns_voip", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateApnsVoipChannelRequest" - }, - "output" : { - "shape" : "UpdateApnsVoipChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateApnsVoipSandboxChannel" : { - "name" : "UpdateApnsVoipSandboxChannel", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/channels/apns_voip_sandbox", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateApnsVoipSandboxChannelRequest" - }, - "output" : { - "shape" : "UpdateApnsVoipSandboxChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateApplicationSettings" : { - "name" : "UpdateApplicationSettings", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/settings", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateApplicationSettingsRequest" - }, - "output" : { - "shape" : "UpdateApplicationSettingsResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateBaiduChannel" : { - "name" : "UpdateBaiduChannel", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/channels/baidu", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateBaiduChannelRequest" - }, - "output" : { - "shape" : "UpdateBaiduChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateCampaign" : { - "name" : "UpdateCampaign", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/campaigns/{campaign-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateCampaignRequest" - }, - "output" : { - "shape" : "UpdateCampaignResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateEmailChannel" : { - "name" : "UpdateEmailChannel", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/channels/email", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateEmailChannelRequest" - }, - "output" : { - "shape" : "UpdateEmailChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateEndpoint" : { - "name" : "UpdateEndpoint", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/endpoints/{endpoint-id}", - "responseCode" : 202 - }, - "input" : { - "shape" : "UpdateEndpointRequest" - }, - "output" : { - "shape" : "UpdateEndpointResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateEndpointsBatch" : { - "name" : "UpdateEndpointsBatch", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/endpoints", - "responseCode" : 202 - }, - "input" : { - "shape" : "UpdateEndpointsBatchRequest" - }, - "output" : { - "shape" : "UpdateEndpointsBatchResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateGcmChannel" : { - "name" : "UpdateGcmChannel", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/channels/gcm", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateGcmChannelRequest" - }, - "output" : { - "shape" : "UpdateGcmChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateSegment" : { - "name" : "UpdateSegment", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/segments/{segment-id}", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateSegmentRequest" - }, - "output" : { - "shape" : "UpdateSegmentResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateSmsChannel" : { - "name" : "UpdateSmsChannel", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/channels/sms", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateSmsChannelRequest" - }, - "output" : { - "shape" : "UpdateSmsChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - }, - "UpdateVoiceChannel" : { - "name" : "UpdateVoiceChannel", - "http" : { - "method" : "PUT", - "requestUri" : "/v1/apps/{application-id}/channels/voice", - "responseCode" : 200 - }, - "input" : { - "shape" : "UpdateVoiceChannelRequest" - }, - "output" : { - "shape" : "UpdateVoiceChannelResponse" - }, - "errors" : [ { - "shape" : "BadRequestException" - }, { - "shape" : "InternalServerErrorException" - }, { - "shape" : "ForbiddenException" - }, { - "shape" : "NotFoundException" - }, { - "shape" : "MethodNotAllowedException" - }, { - "shape" : "TooManyRequestsException" - } ] - } - }, - "shapes" : { - "ADMChannelRequest" : { - "type" : "structure", - "members" : { - "ClientId" : { - "shape" : "__string" + "operations": { + "CreateApp": { + "name": "CreateApp", + "http": { + "method": "POST", + "requestUri": "/v1/apps", + "responseCode": 201 + }, + "input": { + "shape": "CreateAppRequest" + }, + "output": { + "shape": "CreateAppResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" }, - "ClientSecret" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "ClientSecret", "ClientId" ] + ] }, - "ADMChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "CreateCampaign": { + "name": "CreateCampaign", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/campaigns", + "responseCode": 201 + }, + "input": { + "shape": "CreateCampaignRequest" + }, + "output": { + "shape": "CreateCampaignResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "CreationDate" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "ForbiddenException" }, - "HasCredential" : { - "shape" : "__boolean" + { + "shape": "NotFoundException" }, - "Id" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] + }, + "CreateExportJob": { + "name": "CreateExportJob", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/jobs/export", + "responseCode": 202 + }, + "input": { + "shape": "CreateExportJobRequest" + }, + "output": { + "shape": "CreateExportJobResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "IsArchived" : { - "shape" : "__boolean" + { + "shape": "InternalServerErrorException" }, - "LastModifiedBy" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "LastModifiedDate" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "Platform" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Version" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "Platform" ] + ] }, - "ADMMessage" : { - "type" : "structure", - "members" : { - "Action" : { - "shape" : "Action" + "CreateImportJob": { + "name": "CreateImportJob", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/jobs/import", + "responseCode": 201 + }, + "input": { + "shape": "CreateImportJobRequest" + }, + "output": { + "shape": "CreateImportJobResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Body" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "ConsolidationKey" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "Data" : { - "shape" : "MapOf__string" + { + "shape": "NotFoundException" }, - "ExpiresAfter" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "IconReference" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" + } + ] + }, + "CreateSegment": { + "name": "CreateSegment", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/segments", + "responseCode": 201 + }, + "input": { + "shape": "CreateSegmentRequest" + }, + "output": { + "shape": "CreateSegmentResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "ImageIconUrl" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "ImageUrl" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "MD5" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "RawContent" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "SilentPush" : { - "shape" : "__boolean" + { + "shape": "TooManyRequestsException" + } + ] + }, + "DeleteAdmChannel": { + "name": "DeleteAdmChannel", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/channels/adm", + "responseCode": 200 + }, + "input": { + "shape": "DeleteAdmChannelRequest" + }, + "output": { + "shape": "DeleteAdmChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "SmallImageIconUrl" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Sound" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + { + "shape": "NotFoundException" }, - "Title" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Url" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - } + ] }, - "APNSChannelRequest" : { - "type" : "structure", - "members" : { - "BundleId" : { - "shape" : "__string" - }, - "Certificate" : { - "shape" : "__string" - }, - "DefaultAuthenticationMethod" : { - "shape" : "__string" + "DeleteApnsChannel": { + "name": "DeleteApnsChannel", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/channels/apns", + "responseCode": 200 + }, + "input": { + "shape": "DeleteApnsChannelRequest" + }, + "output": { + "shape": "DeleteApnsChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "InternalServerErrorException" }, - "PrivateKey" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "TeamId" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "TokenKey" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "TokenKeyId" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - } + ] }, - "APNSChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" - }, - "CreationDate" : { - "shape" : "__string" + "DeleteApnsSandboxChannel": { + "name": "DeleteApnsSandboxChannel", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/channels/apns_sandbox", + "responseCode": 200 + }, + "input": { + "shape": "DeleteApnsSandboxChannelRequest" + }, + "output": { + "shape": "DeleteApnsSandboxChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "DefaultAuthenticationMethod" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "ForbiddenException" }, - "HasCredential" : { - "shape" : "__boolean" + { + "shape": "NotFoundException" }, - "HasTokenKey" : { - "shape" : "__boolean" + { + "shape": "MethodNotAllowedException" }, - "Id" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" + } + ] + }, + "DeleteApnsVoipChannel": { + "name": "DeleteApnsVoipChannel", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/channels/apns_voip", + "responseCode": 200 + }, + "input": { + "shape": "DeleteApnsVoipChannelRequest" + }, + "output": { + "shape": "DeleteApnsVoipChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "IsArchived" : { - "shape" : "__boolean" + { + "shape": "InternalServerErrorException" }, - "LastModifiedBy" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "LastModifiedDate" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "Platform" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Version" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "Platform" ] + ] }, - "APNSMessage" : { - "type" : "structure", - "members" : { - "Action" : { - "shape" : "Action" - }, - "Badge" : { - "shape" : "__integer" + "DeleteApnsVoipSandboxChannel": { + "name": "DeleteApnsVoipSandboxChannel", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/channels/apns_voip_sandbox", + "responseCode": 200 + }, + "input": { + "shape": "DeleteApnsVoipSandboxChannelRequest" + }, + "output": { + "shape": "DeleteApnsVoipSandboxChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Body" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Category" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "CollapseId" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "Data" : { - "shape" : "MapOf__string" + { + "shape": "MethodNotAllowedException" }, - "MediaUrl" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" + } + ] + }, + "DeleteApp": { + "name": "DeleteApp", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteAppRequest" + }, + "output": { + "shape": "DeleteAppResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "PreferredAuthenticationMethod" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Priority" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "RawContent" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "SilentPush" : { - "shape" : "__boolean" + { + "shape": "MethodNotAllowedException" }, - "Sound" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" + } + ] + }, + "DeleteBaiduChannel": { + "name": "DeleteBaiduChannel", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/channels/baidu", + "responseCode": 200 + }, + "input": { + "shape": "DeleteBaiduChannelRequest" + }, + "output": { + "shape": "DeleteBaiduChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + { + "shape": "InternalServerErrorException" }, - "ThreadId" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "TimeToLive" : { - "shape" : "__integer" + { + "shape": "NotFoundException" }, - "Title" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Url" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - } + ] }, - "APNSSandboxChannelRequest" : { - "type" : "structure", - "members" : { - "BundleId" : { - "shape" : "__string" - }, - "Certificate" : { - "shape" : "__string" - }, - "DefaultAuthenticationMethod" : { - "shape" : "__string" + "DeleteCampaign": { + "name": "DeleteCampaign", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteCampaignRequest" + }, + "output": { + "shape": "DeleteCampaignResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "InternalServerErrorException" }, - "PrivateKey" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "TeamId" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "TokenKey" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "TokenKeyId" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - } + ] }, - "APNSSandboxChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" - }, - "CreationDate" : { - "shape" : "__string" + "DeleteEmailChannel": { + "name": "DeleteEmailChannel", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/channels/email", + "responseCode": 200 + }, + "input": { + "shape": "DeleteEmailChannelRequest" + }, + "output": { + "shape": "DeleteEmailChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "DefaultAuthenticationMethod" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "ForbiddenException" }, - "HasCredential" : { - "shape" : "__boolean" + { + "shape": "NotFoundException" }, - "HasTokenKey" : { - "shape" : "__boolean" + { + "shape": "MethodNotAllowedException" }, - "Id" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" + } + ] + }, + "DeleteEndpoint": { + "name": "DeleteEndpoint", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/endpoints/{endpoint-id}", + "responseCode": 202 + }, + "input": { + "shape": "DeleteEndpointRequest" + }, + "output": { + "shape": "DeleteEndpointResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "IsArchived" : { - "shape" : "__boolean" + { + "shape": "InternalServerErrorException" }, - "LastModifiedBy" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "LastModifiedDate" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "Platform" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Version" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "Platform" ] + ] }, - "APNSVoipChannelRequest" : { - "type" : "structure", - "members" : { - "BundleId" : { - "shape" : "__string" - }, - "Certificate" : { - "shape" : "__string" - }, - "DefaultAuthenticationMethod" : { - "shape" : "__string" + "DeleteEventStream": { + "name": "DeleteEventStream", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/eventstream", + "responseCode": 200 + }, + "input": { + "shape": "DeleteEventStreamRequest" + }, + "output": { + "shape": "DeleteEventStreamResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "InternalServerErrorException" }, - "PrivateKey" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "TeamId" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "TokenKey" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "TokenKeyId" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - } + ] }, - "APNSVoipChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" - }, - "CreationDate" : { - "shape" : "__string" + "DeleteGcmChannel": { + "name": "DeleteGcmChannel", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/channels/gcm", + "responseCode": 200 + }, + "input": { + "shape": "DeleteGcmChannelRequest" + }, + "output": { + "shape": "DeleteGcmChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "DefaultAuthenticationMethod" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "ForbiddenException" }, - "HasCredential" : { - "shape" : "__boolean" + { + "shape": "NotFoundException" }, - "HasTokenKey" : { - "shape" : "__boolean" + { + "shape": "MethodNotAllowedException" }, - "Id" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" + } + ] + }, + "DeleteSegment": { + "name": "DeleteSegment", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/segments/{segment-id}", + "responseCode": 200 + }, + "input": { + "shape": "DeleteSegmentRequest" + }, + "output": { + "shape": "DeleteSegmentResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "IsArchived" : { - "shape" : "__boolean" + { + "shape": "InternalServerErrorException" }, - "LastModifiedBy" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "LastModifiedDate" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "Platform" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Version" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "Platform" ] + ] }, - "APNSVoipSandboxChannelRequest" : { - "type" : "structure", - "members" : { - "BundleId" : { - "shape" : "__string" - }, - "Certificate" : { - "shape" : "__string" - }, - "DefaultAuthenticationMethod" : { - "shape" : "__string" + "DeleteSmsChannel": { + "name": "DeleteSmsChannel", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/channels/sms", + "responseCode": 200 + }, + "input": { + "shape": "DeleteSmsChannelRequest" + }, + "output": { + "shape": "DeleteSmsChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "InternalServerErrorException" }, - "PrivateKey" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "TeamId" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "TokenKey" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "TokenKeyId" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - } + ] }, - "APNSVoipSandboxChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" - }, - "CreationDate" : { - "shape" : "__string" + "DeleteUserEndpoints": { + "name": "DeleteUserEndpoints", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/users/{user-id}", + "responseCode": 202 + }, + "input": { + "shape": "DeleteUserEndpointsRequest" + }, + "output": { + "shape": "DeleteUserEndpointsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "DefaultAuthenticationMethod" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "ForbiddenException" }, - "HasCredential" : { - "shape" : "__boolean" + { + "shape": "NotFoundException" }, - "HasTokenKey" : { - "shape" : "__boolean" + { + "shape": "MethodNotAllowedException" }, - "Id" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" + } + ] + }, + "DeleteVoiceChannel": { + "name": "DeleteVoiceChannel", + "http": { + "method": "DELETE", + "requestUri": "/v1/apps/{application-id}/channels/voice", + "responseCode": 200 + }, + "input": { + "shape": "DeleteVoiceChannelRequest" + }, + "output": { + "shape": "DeleteVoiceChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "IsArchived" : { - "shape" : "__boolean" + { + "shape": "InternalServerErrorException" }, - "LastModifiedBy" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "LastModifiedDate" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "Platform" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Version" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "Platform" ] + ] }, - "Action" : { - "type" : "string", - "enum" : [ "OPEN_APP", "DEEP_LINK", "URL" ] - }, - "ActivitiesResponse" : { - "type" : "structure", - "members" : { - "Item" : { - "shape" : "ListOfActivityResponse" - }, - "NextToken" : { - "shape" : "__string" - } + "GetAdmChannel": { + "name": "GetAdmChannel", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels/adm", + "responseCode": 200 }, - "required" : [ "Item" ] - }, - "ActivityResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" - }, - "CampaignId" : { - "shape" : "__string" - }, - "End" : { - "shape" : "__string" + "input": { + "shape": "GetAdmChannelRequest" + }, + "output": { + "shape": "GetAdmChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Id" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Result" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "ScheduledStart" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "Start" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "State" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" + } + ] + }, + "GetApnsChannel": { + "name": "GetApnsChannel", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels/apns", + "responseCode": 200 + }, + "input": { + "shape": "GetApnsChannelRequest" + }, + "output": { + "shape": "GetApnsChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "SuccessfulEndpointCount" : { - "shape" : "__integer" + { + "shape": "InternalServerErrorException" }, - "TimezonesCompletedCount" : { - "shape" : "__integer" + { + "shape": "ForbiddenException" }, - "TimezonesTotalCount" : { - "shape" : "__integer" + { + "shape": "NotFoundException" }, - "TotalEndpointCount" : { - "shape" : "__integer" + { + "shape": "MethodNotAllowedException" }, - "TreatmentId" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "CampaignId", "Id", "ApplicationId" ] + ] }, - "AddressConfiguration" : { - "type" : "structure", - "members" : { - "BodyOverride" : { - "shape" : "__string" + "GetApnsSandboxChannel": { + "name": "GetApnsSandboxChannel", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels/apns_sandbox", + "responseCode": 200 + }, + "input": { + "shape": "GetApnsSandboxChannelRequest" + }, + "output": { + "shape": "GetApnsSandboxChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "ChannelType" : { - "shape" : "ChannelType" + { + "shape": "InternalServerErrorException" }, - "Context" : { - "shape" : "MapOf__string" + { + "shape": "ForbiddenException" }, - "RawContent" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + { + "shape": "MethodNotAllowedException" }, - "TitleOverride" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - } + ] }, - "ApplicationResponse" : { - "type" : "structure", - "members" : { - "Arn" : { - "shape" : "__string" + "GetApnsVoipChannel": { + "name": "GetApnsVoipChannel", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels/apns_voip", + "responseCode": 200 + }, + "input": { + "shape": "GetApnsVoipChannelRequest" + }, + "output": { + "shape": "GetApnsVoipChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" }, - "Id" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "Name" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "tags" : { - "shape" : "MapOf__string", - "locationName" : "tags" + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "Id", "Arn", "Name" ] + ] }, - "ApplicationSettingsResource" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "GetApnsVoipSandboxChannel": { + "name": "GetApnsVoipSandboxChannel", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels/apns_voip_sandbox", + "responseCode": 200 + }, + "input": { + "shape": "GetApnsVoipSandboxChannelRequest" + }, + "output": { + "shape": "GetApnsVoipSandboxChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "CampaignHook" : { - "shape" : "CampaignHook" + { + "shape": "InternalServerErrorException" }, - "LastModifiedDate" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "Limits" : { - "shape" : "CampaignLimits" + { + "shape": "NotFoundException" }, - "QuietTime" : { - "shape" : "QuietTime" - } - }, - "required" : [ "ApplicationId" ] - }, - "ApplicationsResponse" : { - "type" : "structure", - "members" : { - "Item" : { - "shape" : "ListOfApplicationResponse" + { + "shape": "MethodNotAllowedException" }, - "NextToken" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - } + ] }, - "AttributeDimension" : { - "type" : "structure", - "members" : { - "AttributeType" : { - "shape" : "AttributeType" - }, - "Values" : { - "shape" : "ListOf__string" - } + "GetApp": { + "name": "GetApp", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}", + "responseCode": 200 }, - "required" : [ "Values" ] - }, - "AttributeType" : { - "type" : "string", - "enum" : [ "INCLUSIVE", "EXCLUSIVE" ] - }, - "AttributesResource" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "input": { + "shape": "GetAppRequest" + }, + "output": { + "shape": "GetAppResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "AttributeType" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Attributes" : { - "shape" : "ListOf__string" - } - }, - "required" : [ "AttributeType", "ApplicationId" ] - }, - "BadRequestException" : { - "type" : "structure", - "members" : { - "Message" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "RequestID" : { - "shape" : "__string" - } - }, - "exception" : true, - "error" : { - "httpStatusCode" : 400 - } - }, - "BaiduChannelRequest" : { - "type" : "structure", - "members" : { - "ApiKey" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "MethodNotAllowedException" }, - "SecretKey" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "SecretKey", "ApiKey" ] + ] }, - "BaiduChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "GetApplicationDateRangeKpi": { + "name": "GetApplicationDateRangeKpi", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/kpis/daterange/{kpi-name}", + "responseCode": 200 + }, + "input": { + "shape": "GetApplicationDateRangeKpiRequest" + }, + "output": { + "shape": "GetApplicationDateRangeKpiResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "CreationDate" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Credential" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "NotFoundException" }, - "HasCredential" : { - "shape" : "__boolean" + { + "shape": "MethodNotAllowedException" }, - "Id" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" + } + ] + }, + "GetApplicationSettings": { + "name": "GetApplicationSettings", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/settings", + "responseCode": 200 + }, + "input": { + "shape": "GetApplicationSettingsRequest" + }, + "output": { + "shape": "GetApplicationSettingsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "IsArchived" : { - "shape" : "__boolean" + { + "shape": "InternalServerErrorException" }, - "LastModifiedBy" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "LastModifiedDate" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "Platform" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Version" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "Credential", "Platform" ] + ] }, - "BaiduMessage" : { - "type" : "structure", - "members" : { - "Action" : { - "shape" : "Action" + "GetApps": { + "name": "GetApps", + "http": { + "method": "GET", + "requestUri": "/v1/apps", + "responseCode": 200 + }, + "input": { + "shape": "GetAppsRequest" + }, + "output": { + "shape": "GetAppsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" }, - "Body" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "Data" : { - "shape" : "MapOf__string" + { + "shape": "NotFoundException" }, - "IconReference" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] + }, + "GetBaiduChannel": { + "name": "GetBaiduChannel", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels/baidu", + "responseCode": 200 + }, + "input": { + "shape": "GetBaiduChannelRequest" + }, + "output": { + "shape": "GetBaiduChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "ImageIconUrl" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "ImageUrl" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "RawContent" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "SilentPush" : { - "shape" : "__boolean" + { + "shape": "MethodNotAllowedException" }, - "SmallImageIconUrl" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" + } + ] + }, + "GetCampaign": { + "name": "GetCampaign", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}", + "responseCode": 200 + }, + "input": { + "shape": "GetCampaignRequest" + }, + "output": { + "shape": "GetCampaignResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Sound" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + { + "shape": "ForbiddenException" }, - "TimeToLive" : { - "shape" : "__integer" + { + "shape": "NotFoundException" }, - "Title" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Url" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - } + ] }, - "CampaignEmailMessage" : { - "type" : "structure", - "members" : { - "Body" : { - "shape" : "__string" + "GetCampaignActivities": { + "name": "GetCampaignActivities", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}/activities", + "responseCode": 200 + }, + "input": { + "shape": "GetCampaignActivitiesRequest" + }, + "output": { + "shape": "GetCampaignActivitiesResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "FromAddress" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "HtmlBody" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "Title" : { - "shape" : "__string" - } - }, - "required" : [ "Title" ] - }, - "CampaignEventFilter" : { - "type" : "structure", - "members" : { - "Dimensions" : { - "shape" : "EventDimensions" + { + "shape": "NotFoundException" }, - "FilterType" : { - "shape" : "FilterType" + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "FilterType", "Dimensions" ] + ] }, - "CampaignHook" : { - "type" : "structure", - "members" : { - "LambdaFunctionName" : { - "shape" : "__string" + "GetCampaignDateRangeKpi": { + "name": "GetCampaignDateRangeKpi", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name}", + "responseCode": 200 + }, + "input": { + "shape": "GetCampaignDateRangeKpiRequest" + }, + "output": { + "shape": "GetCampaignDateRangeKpiResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Mode" : { - "shape" : "Mode" + { + "shape": "InternalServerErrorException" }, - "WebUrl" : { - "shape" : "__string" - } - } - }, - "CampaignLimits" : { - "type" : "structure", - "members" : { - "Daily" : { - "shape" : "__integer" + { + "shape": "ForbiddenException" }, - "MaximumDuration" : { - "shape" : "__integer" + { + "shape": "NotFoundException" }, - "MessagesPerSecond" : { - "shape" : "__integer" + { + "shape": "MethodNotAllowedException" }, - "Total" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" } - } + ] }, - "CampaignResponse" : { - "type" : "structure", - "members" : { - "AdditionalTreatments" : { - "shape" : "ListOfTreatmentResource" - }, - "ApplicationId" : { - "shape" : "__string" + "GetCampaignVersion": { + "name": "GetCampaignVersion", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}/versions/{version}", + "responseCode": 200 + }, + "input": { + "shape": "GetCampaignVersionRequest" + }, + "output": { + "shape": "GetCampaignVersionResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Arn" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "CreationDate" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "DefaultState" : { - "shape" : "CampaignState" + { + "shape": "NotFoundException" }, - "Description" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "HoldoutPercent" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" + } + ] + }, + "GetCampaignVersions": { + "name": "GetCampaignVersions", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}/versions", + "responseCode": 200 + }, + "input": { + "shape": "GetCampaignVersionsRequest" + }, + "output": { + "shape": "GetCampaignVersionsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Hook" : { - "shape" : "CampaignHook" + { + "shape": "InternalServerErrorException" }, - "Id" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "IsPaused" : { - "shape" : "__boolean" + { + "shape": "NotFoundException" }, - "LastModifiedDate" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Limits" : { - "shape" : "CampaignLimits" + { + "shape": "TooManyRequestsException" + } + ] + }, + "GetCampaigns": { + "name": "GetCampaigns", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/campaigns", + "responseCode": 200 + }, + "input": { + "shape": "GetCampaignsRequest" + }, + "output": { + "shape": "GetCampaignsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "MessageConfiguration" : { - "shape" : "MessageConfiguration" + { + "shape": "InternalServerErrorException" }, - "Name" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "Schedule" : { - "shape" : "Schedule" + { + "shape": "NotFoundException" }, - "SegmentId" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "SegmentVersion" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" + } + ] + }, + "GetChannels": { + "name": "GetChannels", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels", + "responseCode": 200 + }, + "input": { + "shape": "GetChannelsRequest" + }, + "output": { + "shape": "GetChannelsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "State" : { - "shape" : "CampaignState" + { + "shape": "InternalServerErrorException" }, - "tags" : { - "shape" : "MapOf__string", - "locationName" : "tags" + { + "shape": "ForbiddenException" }, - "TreatmentDescription" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "TreatmentName" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Version" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "LastModifiedDate", "CreationDate", "SegmentId", "SegmentVersion", "Id", "Arn", "ApplicationId" ] + ] }, - "CampaignSmsMessage" : { - "type" : "structure", - "members" : { - "Body" : { - "shape" : "__string" + "GetEmailChannel": { + "name": "GetEmailChannel", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels/email", + "responseCode": 200 + }, + "input": { + "shape": "GetEmailChannelRequest" + }, + "output": { + "shape": "GetEmailChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "MessageType" : { - "shape" : "MessageType" + { + "shape": "InternalServerErrorException" }, - "SenderId" : { - "shape" : "__string" - } - } - }, - "CampaignState" : { - "type" : "structure", - "members" : { - "CampaignStatus" : { - "shape" : "CampaignStatus" - } - } - }, - "CampaignStatus" : { - "type" : "string", - "enum" : [ "SCHEDULED", "EXECUTING", "PENDING_NEXT_RUN", "COMPLETED", "PAUSED", "DELETED" ] - }, - "CampaignsResponse" : { - "type" : "structure", - "members" : { - "Item" : { - "shape" : "ListOfCampaignResponse" + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" }, - "NextToken" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "Item" ] + ] }, - "ChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "GetEndpoint": { + "name": "GetEndpoint", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/endpoints/{endpoint-id}", + "responseCode": 200 + }, + "input": { + "shape": "GetEndpointRequest" + }, + "output": { + "shape": "GetEndpointResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" }, - "CreationDate" : { - "shape" : "__string" + { + "shape": "ForbiddenException" }, - "Enabled" : { - "shape" : "__boolean" + { + "shape": "NotFoundException" }, - "HasCredential" : { - "shape" : "__boolean" + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] + }, + "GetEventStream": { + "name": "GetEventStream", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/eventstream", + "responseCode": 200 + }, + "input": { + "shape": "GetEventStreamRequest" + }, + "output": { + "shape": "GetEventStreamResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Id" : { - "shape" : "__string" + { + "shape": "InternalServerErrorException" }, - "IsArchived" : { - "shape" : "__boolean" + { + "shape": "ForbiddenException" }, - "LastModifiedBy" : { - "shape" : "__string" + { + "shape": "NotFoundException" }, - "LastModifiedDate" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Version" : { - "shape" : "__integer" + { + "shape": "TooManyRequestsException" } - } - }, - "ChannelType" : { - "type" : "string", - "enum" : [ "GCM", "APNS", "APNS_SANDBOX", "APNS_VOIP", "APNS_VOIP_SANDBOX", "ADM", "SMS", "VOICE", "EMAIL", "BAIDU", "CUSTOM" ] + ] }, - "ChannelsResponse" : { - "type" : "structure", - "members" : { - "Channels" : { - "shape" : "MapOfChannelResponse" - } + "GetExportJob": { + "name": "GetExportJob", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/jobs/export/{job-id}", + "responseCode": 200 }, - "required" : [ "Channels" ] - }, - "CreateAppRequest" : { - "type" : "structure", - "members" : { - "CreateApplicationRequest" : { - "shape" : "CreateApplicationRequest" - } + "input": { + "shape": "GetExportJobRequest" }, - "required" : [ "CreateApplicationRequest" ], - "payload" : "CreateApplicationRequest" - }, - "CreateAppResponse" : { - "type" : "structure", - "members" : { - "ApplicationResponse" : { - "shape" : "ApplicationResponse" - } + "output": { + "shape": "GetExportJobResponse" }, - "required" : [ "ApplicationResponse" ], - "payload" : "ApplicationResponse" - }, - "CreateApplicationRequest" : { - "type" : "structure", - "members" : { - "Name" : { - "shape" : "__string" + "errors": [ + { + "shape": "BadRequestException" }, - "tags" : { - "shape" : "MapOf__string", - "locationName" : "tags" - } - }, - "required" : [ "Name" ] - }, - "CreateCampaignRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" }, - "WriteCampaignRequest" : { - "shape" : "WriteCampaignRequest" + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "ApplicationId", "WriteCampaignRequest" ], - "payload" : "WriteCampaignRequest" + ] }, - "CreateCampaignResponse" : { - "type" : "structure", - "members" : { - "CampaignResponse" : { - "shape" : "CampaignResponse" - } + "GetExportJobs": { + "name": "GetExportJobs", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/jobs/export", + "responseCode": 200 }, - "required" : [ "CampaignResponse" ], - "payload" : "CampaignResponse" - }, - "CreateExportJobRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "input": { + "shape": "GetExportJobsRequest" + }, + "output": { + "shape": "GetExportJobsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" }, - "ExportJobRequest" : { - "shape" : "ExportJobRequest" + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "ApplicationId", "ExportJobRequest" ], - "payload" : "ExportJobRequest" + ] }, - "CreateExportJobResponse" : { - "type" : "structure", - "members" : { - "ExportJobResponse" : { - "shape" : "ExportJobResponse" - } + "GetGcmChannel": { + "name": "GetGcmChannel", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels/gcm", + "responseCode": 200 }, - "required" : [ "ExportJobResponse" ], - "payload" : "ExportJobResponse" - }, - "CreateImportJobRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "input": { + "shape": "GetGcmChannelRequest" + }, + "output": { + "shape": "GetGcmChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" }, - "ImportJobRequest" : { - "shape" : "ImportJobRequest" + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "ApplicationId", "ImportJobRequest" ], - "payload" : "ImportJobRequest" + ] }, - "CreateImportJobResponse" : { - "type" : "structure", - "members" : { - "ImportJobResponse" : { - "shape" : "ImportJobResponse" - } + "GetImportJob": { + "name": "GetImportJob", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/jobs/import/{job-id}", + "responseCode": 200 }, - "required" : [ "ImportJobResponse" ], - "payload" : "ImportJobResponse" - }, - "CreateSegmentRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "input": { + "shape": "GetImportJobRequest" + }, + "output": { + "shape": "GetImportJobResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" }, - "WriteSegmentRequest" : { - "shape" : "WriteSegmentRequest" + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "ApplicationId", "WriteSegmentRequest" ], - "payload" : "WriteSegmentRequest" + ] }, - "CreateSegmentResponse" : { - "type" : "structure", - "members" : { - "SegmentResponse" : { - "shape" : "SegmentResponse" - } + "GetImportJobs": { + "name": "GetImportJobs", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/jobs/import", + "responseCode": 200 }, - "required" : [ "SegmentResponse" ], - "payload" : "SegmentResponse" - }, - "DefaultMessage" : { - "type" : "structure", - "members" : { - "Body" : { - "shape" : "__string" + "input": { + "shape": "GetImportJobsRequest" + }, + "output": { + "shape": "GetImportJobsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - } + ] }, - "DefaultPushNotificationMessage" : { - "type" : "structure", - "members" : { - "Action" : { - "shape" : "Action" - }, - "Body" : { - "shape" : "__string" + "GetSegment": { + "name": "GetSegment", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/segments/{segment-id}", + "responseCode": 200 + }, + "input": { + "shape": "GetSegmentRequest" + }, + "output": { + "shape": "GetSegmentResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "Data" : { - "shape" : "MapOf__string" + { + "shape": "InternalServerErrorException" }, - "SilentPush" : { - "shape" : "__boolean" + { + "shape": "ForbiddenException" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + { + "shape": "NotFoundException" }, - "Title" : { - "shape" : "__string" + { + "shape": "MethodNotAllowedException" }, - "Url" : { - "shape" : "__string" + { + "shape": "TooManyRequestsException" } - } + ] }, - "DeleteAdmChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "GetSegmentExportJobs": { + "name": "GetSegmentExportJobs", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/segments/{segment-id}/jobs/export", + "responseCode": 200 }, - "required" : [ "ApplicationId" ] - }, - "DeleteAdmChannelResponse" : { - "type" : "structure", - "members" : { - "ADMChannelResponse" : { - "shape" : "ADMChannelResponse" - } + "input": { + "shape": "GetSegmentExportJobsRequest" }, - "required" : [ "ADMChannelResponse" ], - "payload" : "ADMChannelResponse" - }, - "DeleteApnsChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "output": { + "shape": "GetSegmentExportJobsResponse" }, - "required" : [ "ApplicationId" ] - }, - "DeleteApnsChannelResponse" : { - "type" : "structure", - "members" : { - "APNSChannelResponse" : { - "shape" : "APNSChannelResponse" + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "APNSChannelResponse" ], - "payload" : "APNSChannelResponse" + ] }, - "DeleteApnsSandboxChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "GetSegmentImportJobs": { + "name": "GetSegmentImportJobs", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/segments/{segment-id}/jobs/import", + "responseCode": 200 }, - "required" : [ "ApplicationId" ] - }, - "DeleteApnsSandboxChannelResponse" : { - "type" : "structure", - "members" : { - "APNSSandboxChannelResponse" : { - "shape" : "APNSSandboxChannelResponse" - } + "input": { + "shape": "GetSegmentImportJobsRequest" }, - "required" : [ "APNSSandboxChannelResponse" ], - "payload" : "APNSSandboxChannelResponse" - }, - "DeleteApnsVoipChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "output": { + "shape": "GetSegmentImportJobsResponse" }, - "required" : [ "ApplicationId" ] - }, - "DeleteApnsVoipChannelResponse" : { - "type" : "structure", - "members" : { - "APNSVoipChannelResponse" : { - "shape" : "APNSVoipChannelResponse" + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "APNSVoipChannelResponse" ], - "payload" : "APNSVoipChannelResponse" + ] }, - "DeleteApnsVoipSandboxChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "GetSegmentVersion": { + "name": "GetSegmentVersion", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/segments/{segment-id}/versions/{version}", + "responseCode": 200 }, - "required" : [ "ApplicationId" ] - }, - "DeleteApnsVoipSandboxChannelResponse" : { - "type" : "structure", - "members" : { - "APNSVoipSandboxChannelResponse" : { - "shape" : "APNSVoipSandboxChannelResponse" - } + "input": { + "shape": "GetSegmentVersionRequest" }, - "required" : [ "APNSVoipSandboxChannelResponse" ], - "payload" : "APNSVoipSandboxChannelResponse" - }, - "DeleteAppRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "output": { + "shape": "GetSegmentVersionResponse" }, - "required" : [ "ApplicationId" ] - }, - "DeleteAppResponse" : { - "type" : "structure", - "members" : { - "ApplicationResponse" : { - "shape" : "ApplicationResponse" + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "ApplicationResponse" ], - "payload" : "ApplicationResponse" + ] }, - "DeleteBaiduChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "GetSegmentVersions": { + "name": "GetSegmentVersions", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/segments/{segment-id}/versions", + "responseCode": 200 }, - "required" : [ "ApplicationId" ] - }, - "DeleteBaiduChannelResponse" : { - "type" : "structure", - "members" : { - "BaiduChannelResponse" : { - "shape" : "BaiduChannelResponse" + "input": { + "shape": "GetSegmentVersionsRequest" + }, + "output": { + "shape": "GetSegmentVersionsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "GetSegments": { + "name": "GetSegments", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/segments", + "responseCode": 200 }, - "required" : [ "BaiduChannelResponse" ], - "payload" : "BaiduChannelResponse" + "input": { + "shape": "GetSegmentsRequest" + }, + "output": { + "shape": "GetSegmentsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteCampaignRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "GetSmsChannel": { + "name": "GetSmsChannel", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels/sms", + "responseCode": 200 + }, + "input": { + "shape": "GetSmsChannelRequest" + }, + "output": { + "shape": "GetSmsChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" }, - "CampaignId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "campaign-id" + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "GetUserEndpoints": { + "name": "GetUserEndpoints", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/users/{user-id}", + "responseCode": 200 + }, + "input": { + "shape": "GetUserEndpointsRequest" + }, + "output": { + "shape": "GetUserEndpointsResponse" }, - "required" : [ "CampaignId", "ApplicationId" ] + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteCampaignResponse" : { - "type" : "structure", - "members" : { - "CampaignResponse" : { - "shape" : "CampaignResponse" + "GetVoiceChannel": { + "name": "GetVoiceChannel", + "http": { + "method": "GET", + "requestUri": "/v1/apps/{application-id}/channels/voice", + "responseCode": 200 + }, + "input": { + "shape": "GetVoiceChannelRequest" + }, + "output": { + "shape": "GetVoiceChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "ListTagsForResource": { + "name": "ListTagsForResource", + "http": { + "method": "GET", + "requestUri": "/v1/tags/{resource-arn}", + "responseCode": 200 + }, + "input": { + "shape": "ListTagsForResourceRequest" }, - "required" : [ "CampaignResponse" ], - "payload" : "CampaignResponse" + "output": { + "shape": "ListTagsForResourceResponse" + }, + "errors": [ + + ] }, - "DeleteEmailChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "PhoneNumberValidate": { + "name": "PhoneNumberValidate", + "http": { + "method": "POST", + "requestUri": "/v1/phone/number/validate", + "responseCode": 200 }, - "required" : [ "ApplicationId" ] + "input": { + "shape": "PhoneNumberValidateRequest" + }, + "output": { + "shape": "PhoneNumberValidateResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteEmailChannelResponse" : { - "type" : "structure", - "members" : { - "EmailChannelResponse" : { - "shape" : "EmailChannelResponse" + "PutEventStream": { + "name": "PutEventStream", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/eventstream", + "responseCode": 200 + }, + "input": { + "shape": "PutEventStreamRequest" + }, + "output": { + "shape": "PutEventStreamResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "PutEvents": { + "name": "PutEvents", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/events", + "responseCode": 202 + }, + "input": { + "shape": "PutEventsRequest" }, - "required" : [ "EmailChannelResponse" ], - "payload" : "EmailChannelResponse" + "output": { + "shape": "PutEventsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteEndpointRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "RemoveAttributes": { + "name": "RemoveAttributes", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/attributes/{attribute-type}", + "responseCode": 200 + }, + "input": { + "shape": "RemoveAttributesRequest" + }, + "output": { + "shape": "RemoveAttributesResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" }, - "EndpointId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "endpoint-id" + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "SendMessages": { + "name": "SendMessages", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/messages", + "responseCode": 200 + }, + "input": { + "shape": "SendMessagesRequest" }, - "required" : [ "ApplicationId", "EndpointId" ] + "output": { + "shape": "SendMessagesResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteEndpointResponse" : { - "type" : "structure", - "members" : { - "EndpointResponse" : { - "shape" : "EndpointResponse" + "SendUsersMessages": { + "name": "SendUsersMessages", + "http": { + "method": "POST", + "requestUri": "/v1/apps/{application-id}/users-messages", + "responseCode": 200 + }, + "input": { + "shape": "SendUsersMessagesRequest" + }, + "output": { + "shape": "SendUsersMessagesResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "TagResource": { + "name": "TagResource", + "http": { + "method": "POST", + "requestUri": "/v1/tags/{resource-arn}", + "responseCode": 204 + }, + "input": { + "shape": "TagResourceRequest" }, - "required" : [ "EndpointResponse" ], - "payload" : "EndpointResponse" + "errors": [ + + ] }, - "DeleteEventStreamRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "UntagResource": { + "name": "UntagResource", + "http": { + "method": "DELETE", + "requestUri": "/v1/tags/{resource-arn}", + "responseCode": 204 }, - "required" : [ "ApplicationId" ] + "input": { + "shape": "UntagResourceRequest" + }, + "errors": [ + + ] }, - "DeleteEventStreamResponse" : { - "type" : "structure", - "members" : { - "EventStream" : { - "shape" : "EventStream" - } + "UpdateAdmChannel": { + "name": "UpdateAdmChannel", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/channels/adm", + "responseCode": 200 }, - "required" : [ "EventStream" ], - "payload" : "EventStream" + "input": { + "shape": "UpdateAdmChannelRequest" + }, + "output": { + "shape": "UpdateAdmChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteGcmChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "UpdateApnsChannel": { + "name": "UpdateApnsChannel", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/channels/apns", + "responseCode": 200 + }, + "input": { + "shape": "UpdateApnsChannelRequest" + }, + "output": { + "shape": "UpdateApnsChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "UpdateApnsSandboxChannel": { + "name": "UpdateApnsSandboxChannel", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/channels/apns_sandbox", + "responseCode": 200 + }, + "input": { + "shape": "UpdateApnsSandboxChannelRequest" }, - "required" : [ "ApplicationId" ] + "output": { + "shape": "UpdateApnsSandboxChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteGcmChannelResponse" : { - "type" : "structure", - "members" : { - "GCMChannelResponse" : { - "shape" : "GCMChannelResponse" + "UpdateApnsVoipChannel": { + "name": "UpdateApnsVoipChannel", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/channels/apns_voip", + "responseCode": 200 + }, + "input": { + "shape": "UpdateApnsVoipChannelRequest" + }, + "output": { + "shape": "UpdateApnsVoipChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "UpdateApnsVoipSandboxChannel": { + "name": "UpdateApnsVoipSandboxChannel", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/channels/apns_voip_sandbox", + "responseCode": 200 + }, + "input": { + "shape": "UpdateApnsVoipSandboxChannelRequest" + }, + "output": { + "shape": "UpdateApnsVoipSandboxChannelResponse" }, - "required" : [ "GCMChannelResponse" ], - "payload" : "GCMChannelResponse" + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteSegmentRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "UpdateApplicationSettings": { + "name": "UpdateApplicationSettings", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/settings", + "responseCode": 200 + }, + "input": { + "shape": "UpdateApplicationSettingsRequest" + }, + "output": { + "shape": "UpdateApplicationSettingsResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" }, - "SegmentId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "segment-id" + { + "shape": "TooManyRequestsException" } + ] + }, + "UpdateBaiduChannel": { + "name": "UpdateBaiduChannel", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/channels/baidu", + "responseCode": 200 + }, + "input": { + "shape": "UpdateBaiduChannelRequest" + }, + "output": { + "shape": "UpdateBaiduChannelResponse" }, - "required" : [ "SegmentId", "ApplicationId" ] + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteSegmentResponse" : { - "type" : "structure", - "members" : { - "SegmentResponse" : { - "shape" : "SegmentResponse" + "UpdateCampaign": { + "name": "UpdateCampaign", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/campaigns/{campaign-id}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateCampaignRequest" + }, + "output": { + "shape": "UpdateCampaignResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "UpdateEmailChannel": { + "name": "UpdateEmailChannel", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/channels/email", + "responseCode": 200 }, - "required" : [ "SegmentResponse" ], - "payload" : "SegmentResponse" + "input": { + "shape": "UpdateEmailChannelRequest" + }, + "output": { + "shape": "UpdateEmailChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteSmsChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "UpdateEndpoint": { + "name": "UpdateEndpoint", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/endpoints/{endpoint-id}", + "responseCode": 202 + }, + "input": { + "shape": "UpdateEndpointRequest" + }, + "output": { + "shape": "UpdateEndpointResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "UpdateEndpointsBatch": { + "name": "UpdateEndpointsBatch", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/endpoints", + "responseCode": 202 + }, + "input": { + "shape": "UpdateEndpointsBatchRequest" }, - "required" : [ "ApplicationId" ] + "output": { + "shape": "UpdateEndpointsBatchResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteSmsChannelResponse" : { - "type" : "structure", - "members" : { - "SMSChannelResponse" : { - "shape" : "SMSChannelResponse" + "UpdateGcmChannel": { + "name": "UpdateGcmChannel", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/channels/gcm", + "responseCode": 200 + }, + "input": { + "shape": "UpdateGcmChannelRequest" + }, + "output": { + "shape": "UpdateGcmChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } + ] + }, + "UpdateSegment": { + "name": "UpdateSegment", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/segments/{segment-id}", + "responseCode": 200 + }, + "input": { + "shape": "UpdateSegmentRequest" + }, + "output": { + "shape": "UpdateSegmentResponse" }, - "required" : [ "SMSChannelResponse" ], - "payload" : "SMSChannelResponse" + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" + } + ] }, - "DeleteUserEndpointsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "UpdateSmsChannel": { + "name": "UpdateSmsChannel", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/channels/sms", + "responseCode": 200 + }, + "input": { + "shape": "UpdateSmsChannelRequest" + }, + "output": { + "shape": "UpdateSmsChannelResponse" + }, + "errors": [ + { + "shape": "BadRequestException" }, - "UserId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "user-id" + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "MethodNotAllowedException" + }, + { + "shape": "TooManyRequestsException" } - }, - "required" : [ "ApplicationId", "UserId" ] + ] }, - "DeleteUserEndpointsResponse" : { - "type" : "structure", - "members" : { - "EndpointsResponse" : { - "shape" : "EndpointsResponse" - } + "UpdateVoiceChannel": { + "name": "UpdateVoiceChannel", + "http": { + "method": "PUT", + "requestUri": "/v1/apps/{application-id}/channels/voice", + "responseCode": 200 }, - "required" : [ "EndpointsResponse" ], - "payload" : "EndpointsResponse" - }, - "DeleteVoiceChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "input": { + "shape": "UpdateVoiceChannelRequest" }, - "required" : [ "ApplicationId" ] - }, - "DeleteVoiceChannelResponse" : { - "type" : "structure", - "members" : { - "VoiceChannelResponse" : { - "shape" : "VoiceChannelResponse" - } + "output": { + "shape": "UpdateVoiceChannelResponse" }, - "required" : [ "VoiceChannelResponse" ], - "payload" : "VoiceChannelResponse" - }, - "DeliveryStatus" : { - "type" : "string", - "enum" : [ "SUCCESSFUL", "THROTTLED", "TEMPORARY_FAILURE", "PERMANENT_FAILURE", "UNKNOWN_FAILURE", "OPT_OUT", "DUPLICATE" ] - }, - "DimensionType" : { - "type" : "string", - "enum" : [ "INCLUSIVE", "EXCLUSIVE" ] - }, - "DirectMessageConfiguration" : { - "type" : "structure", - "members" : { - "ADMMessage" : { - "shape" : "ADMMessage" - }, - "APNSMessage" : { - "shape" : "APNSMessage" + "errors": [ + { + "shape": "BadRequestException" }, - "BaiduMessage" : { - "shape" : "BaiduMessage" + { + "shape": "InternalServerErrorException" }, - "DefaultMessage" : { - "shape" : "DefaultMessage" + { + "shape": "ForbiddenException" }, - "DefaultPushNotificationMessage" : { - "shape" : "DefaultPushNotificationMessage" + { + "shape": "NotFoundException" }, - "EmailMessage" : { - "shape" : "EmailMessage" + { + "shape": "MethodNotAllowedException" }, - "GCMMessage" : { - "shape" : "GCMMessage" + { + "shape": "TooManyRequestsException" + } + ] + } + }, + "shapes": { + "ADMChannelRequest": { + "type": "structure", + "members": { + "ClientId": { + "shape": "__string" }, - "SMSMessage" : { - "shape" : "SMSMessage" + "ClientSecret": { + "shape": "__string" }, - "VoiceMessage" : { - "shape" : "VoiceMessage" + "Enabled": { + "shape": "__boolean" } - } - }, - "Duration" : { - "type" : "string", - "enum" : [ "HR_24", "DAY_7", "DAY_14", "DAY_30" ] + }, + "required": [ + "ClientSecret", + "ClientId" + ] }, - "EmailChannelRequest" : { - "type" : "structure", - "members" : { - "ConfigurationSet" : { - "shape" : "__string" + "ADMChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "CreationDate": { + "shape": "__string" + }, + "Enabled": { + "shape": "__boolean" + }, + "HasCredential": { + "shape": "__boolean" + }, + "Id": { + "shape": "__string" }, - "Enabled" : { - "shape" : "__boolean" + "IsArchived": { + "shape": "__boolean" }, - "FromAddress" : { - "shape" : "__string" + "LastModifiedBy": { + "shape": "__string" }, - "Identity" : { - "shape" : "__string" + "LastModifiedDate": { + "shape": "__string" }, - "RoleArn" : { - "shape" : "__string" + "Platform": { + "shape": "__string" + }, + "Version": { + "shape": "__integer" } }, - "required" : [ "FromAddress", "Identity" ] + "required": [ + "Platform" + ] }, - "EmailChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "ADMMessage": { + "type": "structure", + "members": { + "Action": { + "shape": "Action" + }, + "Body": { + "shape": "__string" }, - "ConfigurationSet" : { - "shape" : "__string" + "ConsolidationKey": { + "shape": "__string" }, - "CreationDate" : { - "shape" : "__string" + "Data": { + "shape": "MapOf__string" }, - "Enabled" : { - "shape" : "__boolean" + "ExpiresAfter": { + "shape": "__string" }, - "FromAddress" : { - "shape" : "__string" + "IconReference": { + "shape": "__string" }, - "HasCredential" : { - "shape" : "__boolean" + "ImageIconUrl": { + "shape": "__string" }, - "Id" : { - "shape" : "__string" + "ImageUrl": { + "shape": "__string" }, - "Identity" : { - "shape" : "__string" + "MD5": { + "shape": "__string" }, - "IsArchived" : { - "shape" : "__boolean" + "RawContent": { + "shape": "__string" }, - "LastModifiedBy" : { - "shape" : "__string" + "SilentPush": { + "shape": "__boolean" }, - "LastModifiedDate" : { - "shape" : "__string" + "SmallImageIconUrl": { + "shape": "__string" }, - "MessagesPerSecond" : { - "shape" : "__integer" + "Sound": { + "shape": "__string" }, - "Platform" : { - "shape" : "__string" + "Substitutions": { + "shape": "MapOfListOf__string" }, - "RoleArn" : { - "shape" : "__string" + "Title": { + "shape": "__string" }, - "Version" : { - "shape" : "__integer" + "Url": { + "shape": "__string" } - }, - "required" : [ "Platform" ] + } }, - "EmailMessage" : { - "type" : "structure", - "members" : { - "Body" : { - "shape" : "__string" + "APNSChannelRequest": { + "type": "structure", + "members": { + "BundleId": { + "shape": "__string" }, - "FeedbackForwardingAddress" : { - "shape" : "__string" + "Certificate": { + "shape": "__string" }, - "FromAddress" : { - "shape" : "__string" + "DefaultAuthenticationMethod": { + "shape": "__string" }, - "RawEmail" : { - "shape" : "RawEmail" + "Enabled": { + "shape": "__boolean" }, - "ReplyToAddresses" : { - "shape" : "ListOf__string" + "PrivateKey": { + "shape": "__string" }, - "SimpleEmail" : { - "shape" : "SimpleEmail" + "TeamId": { + "shape": "__string" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + "TokenKey": { + "shape": "__string" + }, + "TokenKeyId": { + "shape": "__string" } } }, - "EndpointBatchItem" : { - "type" : "structure", - "members" : { - "Address" : { - "shape" : "__string" + "APNSChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" }, - "Attributes" : { - "shape" : "MapOfListOf__string" + "CreationDate": { + "shape": "__string" }, - "ChannelType" : { - "shape" : "ChannelType" + "DefaultAuthenticationMethod": { + "shape": "__string" }, - "Demographic" : { - "shape" : "EndpointDemographic" + "Enabled": { + "shape": "__boolean" }, - "EffectiveDate" : { - "shape" : "__string" + "HasCredential": { + "shape": "__boolean" }, - "EndpointStatus" : { - "shape" : "__string" + "HasTokenKey": { + "shape": "__boolean" }, - "Id" : { - "shape" : "__string" + "Id": { + "shape": "__string" }, - "Location" : { - "shape" : "EndpointLocation" + "IsArchived": { + "shape": "__boolean" }, - "Metrics" : { - "shape" : "MapOf__double" + "LastModifiedBy": { + "shape": "__string" }, - "OptOut" : { - "shape" : "__string" + "LastModifiedDate": { + "shape": "__string" }, - "RequestId" : { - "shape" : "__string" + "Platform": { + "shape": "__string" }, - "User" : { - "shape" : "EndpointUser" - } - } - }, - "EndpointBatchRequest" : { - "type" : "structure", - "members" : { - "Item" : { - "shape" : "ListOfEndpointBatchItem" + "Version": { + "shape": "__integer" } }, - "required" : [ "Item" ] + "required": [ + "Platform" + ] }, - "EndpointDemographic" : { - "type" : "structure", - "members" : { - "AppVersion" : { - "shape" : "__string" + "APNSMessage": { + "type": "structure", + "members": { + "Action": { + "shape": "Action" }, - "Locale" : { - "shape" : "__string" + "Badge": { + "shape": "__integer" }, - "Make" : { - "shape" : "__string" + "Body": { + "shape": "__string" }, - "Model" : { - "shape" : "__string" + "Category": { + "shape": "__string" }, - "ModelVersion" : { - "shape" : "__string" + "CollapseId": { + "shape": "__string" }, - "Platform" : { - "shape" : "__string" + "Data": { + "shape": "MapOf__string" }, - "PlatformVersion" : { - "shape" : "__string" + "MediaUrl": { + "shape": "__string" }, - "Timezone" : { - "shape" : "__string" - } - } - }, - "EndpointItemResponse" : { - "type" : "structure", - "members" : { - "Message" : { - "shape" : "__string" + "PreferredAuthenticationMethod": { + "shape": "__string" }, - "StatusCode" : { - "shape" : "__integer" - } - } - }, - "EndpointLocation" : { - "type" : "structure", - "members" : { - "City" : { - "shape" : "__string" + "Priority": { + "shape": "__string" + }, + "RawContent": { + "shape": "__string" + }, + "SilentPush": { + "shape": "__boolean" }, - "Country" : { - "shape" : "__string" + "Sound": { + "shape": "__string" }, - "Latitude" : { - "shape" : "__double" + "Substitutions": { + "shape": "MapOfListOf__string" }, - "Longitude" : { - "shape" : "__double" + "ThreadId": { + "shape": "__string" }, - "PostalCode" : { - "shape" : "__string" + "TimeToLive": { + "shape": "__integer" }, - "Region" : { - "shape" : "__string" + "Title": { + "shape": "__string" + }, + "Url": { + "shape": "__string" } } }, - "EndpointMessageResult" : { - "type" : "structure", - "members" : { - "Address" : { - "shape" : "__string" + "APNSSandboxChannelRequest": { + "type": "structure", + "members": { + "BundleId": { + "shape": "__string" + }, + "Certificate": { + "shape": "__string" }, - "DeliveryStatus" : { - "shape" : "DeliveryStatus" + "DefaultAuthenticationMethod": { + "shape": "__string" }, - "MessageId" : { - "shape" : "__string" + "Enabled": { + "shape": "__boolean" }, - "StatusCode" : { - "shape" : "__integer" + "PrivateKey": { + "shape": "__string" }, - "StatusMessage" : { - "shape" : "__string" + "TeamId": { + "shape": "__string" }, - "UpdatedToken" : { - "shape" : "__string" + "TokenKey": { + "shape": "__string" + }, + "TokenKeyId": { + "shape": "__string" } - }, - "required" : [ "DeliveryStatus", "StatusCode" ] + } }, - "EndpointRequest" : { - "type" : "structure", - "members" : { - "Address" : { - "shape" : "__string" + "APNSSandboxChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "CreationDate": { + "shape": "__string" }, - "Attributes" : { - "shape" : "MapOfListOf__string" + "DefaultAuthenticationMethod": { + "shape": "__string" }, - "ChannelType" : { - "shape" : "ChannelType" + "Enabled": { + "shape": "__boolean" }, - "Demographic" : { - "shape" : "EndpointDemographic" + "HasCredential": { + "shape": "__boolean" }, - "EffectiveDate" : { - "shape" : "__string" + "HasTokenKey": { + "shape": "__boolean" }, - "EndpointStatus" : { - "shape" : "__string" + "Id": { + "shape": "__string" }, - "Location" : { - "shape" : "EndpointLocation" + "IsArchived": { + "shape": "__boolean" }, - "Metrics" : { - "shape" : "MapOf__double" + "LastModifiedBy": { + "shape": "__string" }, - "OptOut" : { - "shape" : "__string" + "LastModifiedDate": { + "shape": "__string" }, - "RequestId" : { - "shape" : "__string" + "Platform": { + "shape": "__string" }, - "User" : { - "shape" : "EndpointUser" + "Version": { + "shape": "__integer" } - } + }, + "required": [ + "Platform" + ] }, - "EndpointResponse" : { - "type" : "structure", - "members" : { - "Address" : { - "shape" : "__string" + "APNSVoipChannelRequest": { + "type": "structure", + "members": { + "BundleId": { + "shape": "__string" }, - "ApplicationId" : { - "shape" : "__string" + "Certificate": { + "shape": "__string" }, - "Attributes" : { - "shape" : "MapOfListOf__string" + "DefaultAuthenticationMethod": { + "shape": "__string" }, - "ChannelType" : { - "shape" : "ChannelType" + "Enabled": { + "shape": "__boolean" }, - "CohortId" : { - "shape" : "__string" + "PrivateKey": { + "shape": "__string" }, - "CreationDate" : { - "shape" : "__string" + "TeamId": { + "shape": "__string" }, - "Demographic" : { - "shape" : "EndpointDemographic" + "TokenKey": { + "shape": "__string" }, - "EffectiveDate" : { - "shape" : "__string" + "TokenKeyId": { + "shape": "__string" + } + } + }, + "APNSVoipChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "CreationDate": { + "shape": "__string" }, - "EndpointStatus" : { - "shape" : "__string" + "DefaultAuthenticationMethod": { + "shape": "__string" }, - "Id" : { - "shape" : "__string" + "Enabled": { + "shape": "__boolean" }, - "Location" : { - "shape" : "EndpointLocation" + "HasCredential": { + "shape": "__boolean" }, - "Metrics" : { - "shape" : "MapOf__double" + "HasTokenKey": { + "shape": "__boolean" }, - "OptOut" : { - "shape" : "__string" + "Id": { + "shape": "__string" }, - "RequestId" : { - "shape" : "__string" + "IsArchived": { + "shape": "__boolean" }, - "User" : { - "shape" : "EndpointUser" + "LastModifiedBy": { + "shape": "__string" + }, + "LastModifiedDate": { + "shape": "__string" + }, + "Platform": { + "shape": "__string" + }, + "Version": { + "shape": "__integer" } - } + }, + "required": [ + "Platform" + ] }, - "EndpointSendConfiguration" : { - "type" : "structure", - "members" : { - "BodyOverride" : { - "shape" : "__string" + "APNSVoipSandboxChannelRequest": { + "type": "structure", + "members": { + "BundleId": { + "shape": "__string" + }, + "Certificate": { + "shape": "__string" + }, + "DefaultAuthenticationMethod": { + "shape": "__string" + }, + "Enabled": { + "shape": "__boolean" }, - "Context" : { - "shape" : "MapOf__string" + "PrivateKey": { + "shape": "__string" }, - "RawContent" : { - "shape" : "__string" + "TeamId": { + "shape": "__string" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + "TokenKey": { + "shape": "__string" }, - "TitleOverride" : { - "shape" : "__string" + "TokenKeyId": { + "shape": "__string" } } }, - "EndpointUser" : { - "type" : "structure", - "members" : { - "UserAttributes" : { - "shape" : "MapOfListOf__string" + "APNSVoipSandboxChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "CreationDate": { + "shape": "__string" + }, + "DefaultAuthenticationMethod": { + "shape": "__string" + }, + "Enabled": { + "shape": "__boolean" + }, + "HasCredential": { + "shape": "__boolean" }, - "UserId" : { - "shape" : "__string" + "HasTokenKey": { + "shape": "__boolean" + }, + "Id": { + "shape": "__string" + }, + "IsArchived": { + "shape": "__boolean" + }, + "LastModifiedBy": { + "shape": "__string" + }, + "LastModifiedDate": { + "shape": "__string" + }, + "Platform": { + "shape": "__string" + }, + "Version": { + "shape": "__integer" } - } + }, + "required": [ + "Platform" + ] }, - "EndpointsResponse" : { - "type" : "structure", - "members" : { - "Item" : { - "shape" : "ListOfEndpointResponse" + "Action": { + "type": "string", + "enum": [ + "OPEN_APP", + "DEEP_LINK", + "URL" + ] + }, + "ActivitiesResponse": { + "type": "structure", + "members": { + "Item": { + "shape": "ListOfActivityResponse" + }, + "NextToken": { + "shape": "__string" } }, - "required" : [ "Item" ] + "required": [ + "Item" + ] }, - "Event" : { - "type" : "structure", - "members" : { - "AppPackageName" : { - "shape" : "__string" + "ActivityResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "CampaignId": { + "shape": "__string" + }, + "End": { + "shape": "__string" }, - "AppTitle" : { - "shape" : "__string" + "Id": { + "shape": "__string" }, - "AppVersionCode" : { - "shape" : "__string" + "Result": { + "shape": "__string" }, - "Attributes" : { - "shape" : "MapOf__string" + "ScheduledStart": { + "shape": "__string" }, - "ClientSdkVersion" : { - "shape" : "__string" + "Start": { + "shape": "__string" }, - "EventType" : { - "shape" : "__string" + "State": { + "shape": "__string" }, - "Metrics" : { - "shape" : "MapOf__double" + "SuccessfulEndpointCount": { + "shape": "__integer" }, - "SdkName" : { - "shape" : "__string" + "TimezonesCompletedCount": { + "shape": "__integer" }, - "Session" : { - "shape" : "Session" + "TimezonesTotalCount": { + "shape": "__integer" }, - "Timestamp" : { - "shape" : "__string" + "TotalEndpointCount": { + "shape": "__integer" + }, + "TreatmentId": { + "shape": "__string" } }, - "required" : [ "EventType", "Timestamp" ] + "required": [ + "CampaignId", + "Id", + "ApplicationId" + ] }, - "EventDimensions" : { - "type" : "structure", - "members" : { - "Attributes" : { - "shape" : "MapOfAttributeDimension" + "AddressConfiguration": { + "type": "structure", + "members": { + "BodyOverride": { + "shape": "__string" + }, + "ChannelType": { + "shape": "ChannelType" + }, + "Context": { + "shape": "MapOf__string" + }, + "RawContent": { + "shape": "__string" }, - "EventType" : { - "shape" : "SetDimension" + "Substitutions": { + "shape": "MapOfListOf__string" }, - "Metrics" : { - "shape" : "MapOfMetricDimension" + "TitleOverride": { + "shape": "__string" } } }, - "EventItemResponse" : { - "type" : "structure", - "members" : { - "Message" : { - "shape" : "__string" + "ApplicationDateRangeKpiResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" }, - "StatusCode" : { - "shape" : "__integer" + "EndTime": { + "shape": "__timestampIso8601" + }, + "KpiName": { + "shape": "__string" + }, + "KpiResult": { + "shape": "BaseKpiResult" + }, + "NextToken": { + "shape": "__string" + }, + "StartTime": { + "shape": "__timestampIso8601" } - } + }, + "required": [ + "KpiResult", + "KpiName", + "EndTime", + "StartTime", + "ApplicationId" + ] }, - "EventStream" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "ApplicationResponse": { + "type": "structure", + "members": { + "Arn": { + "shape": "__string" + }, + "Id": { + "shape": "__string" + }, + "Name": { + "shape": "__string" }, - "DestinationStreamArn" : { - "shape" : "__string" + "tags": { + "shape": "MapOf__string", + "locationName": "tags" + } + }, + "required": [ + "Id", + "Arn", + "Name" + ] + }, + "ApplicationSettingsResource": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" }, - "ExternalId" : { - "shape" : "__string" + "CampaignHook": { + "shape": "CampaignHook" }, - "LastModifiedDate" : { - "shape" : "__string" + "LastModifiedDate": { + "shape": "__string" }, - "LastUpdatedBy" : { - "shape" : "__string" + "Limits": { + "shape": "CampaignLimits" }, - "RoleArn" : { - "shape" : "__string" + "QuietTime": { + "shape": "QuietTime" } }, - "required" : [ "ApplicationId", "RoleArn", "DestinationStreamArn" ] + "required": [ + "ApplicationId" + ] + }, + "ApplicationsResponse": { + "type": "structure", + "members": { + "Item": { + "shape": "ListOfApplicationResponse" + }, + "NextToken": { + "shape": "__string" + } + } }, - "EventsBatch" : { - "type" : "structure", - "members" : { - "Endpoint" : { - "shape" : "PublicEndpoint" + "AttributeDimension": { + "type": "structure", + "members": { + "AttributeType": { + "shape": "AttributeType" }, - "Events" : { - "shape" : "MapOfEvent" + "Values": { + "shape": "ListOf__string" } }, - "required" : [ "Endpoint", "Events" ] + "required": [ + "Values" + ] + }, + "AttributeType": { + "type": "string", + "enum": [ + "INCLUSIVE", + "EXCLUSIVE" + ] }, - "EventsRequest" : { - "type" : "structure", - "members" : { - "BatchItem" : { - "shape" : "MapOfEventsBatch" + "AttributesResource": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "AttributeType": { + "shape": "__string" + }, + "Attributes": { + "shape": "ListOf__string" } }, - "required" : [ "BatchItem" ] + "required": [ + "AttributeType", + "ApplicationId" + ] }, - "EventsResponse" : { - "type" : "structure", - "members" : { - "Results" : { - "shape" : "MapOfItemResponse" + "BadRequestException": { + "type": "structure", + "members": { + "Message": { + "shape": "__string" + }, + "RequestID": { + "shape": "__string" } + }, + "exception": true, + "error": { + "httpStatusCode": 400 } }, - "ExportJobRequest" : { - "type" : "structure", - "members" : { - "RoleArn" : { - "shape" : "__string" + "BaiduChannelRequest": { + "type": "structure", + "members": { + "ApiKey": { + "shape": "__string" }, - "S3UrlPrefix" : { - "shape" : "__string" + "Enabled": { + "shape": "__boolean" }, - "SegmentId" : { - "shape" : "__string" - }, - "SegmentVersion" : { - "shape" : "__integer" + "SecretKey": { + "shape": "__string" } }, - "required" : [ "S3UrlPrefix", "RoleArn" ] + "required": [ + "SecretKey", + "ApiKey" + ] }, - "ExportJobResource" : { - "type" : "structure", - "members" : { - "RoleArn" : { - "shape" : "__string" + "BaiduChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "CreationDate": { + "shape": "__string" + }, + "Credential": { + "shape": "__string" + }, + "Enabled": { + "shape": "__boolean" }, - "S3UrlPrefix" : { - "shape" : "__string" + "HasCredential": { + "shape": "__boolean" }, - "SegmentId" : { - "shape" : "__string" + "Id": { + "shape": "__string" }, - "SegmentVersion" : { - "shape" : "__integer" + "IsArchived": { + "shape": "__boolean" + }, + "LastModifiedBy": { + "shape": "__string" + }, + "LastModifiedDate": { + "shape": "__string" + }, + "Platform": { + "shape": "__string" + }, + "Version": { + "shape": "__integer" } }, - "required" : [ "S3UrlPrefix", "RoleArn" ] + "required": [ + "Credential", + "Platform" + ] }, - "ExportJobResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "BaiduMessage": { + "type": "structure", + "members": { + "Action": { + "shape": "Action" }, - "CompletedPieces" : { - "shape" : "__integer" + "Body": { + "shape": "__string" }, - "CompletionDate" : { - "shape" : "__string" + "Data": { + "shape": "MapOf__string" }, - "CreationDate" : { - "shape" : "__string" + "IconReference": { + "shape": "__string" }, - "Definition" : { - "shape" : "ExportJobResource" + "ImageIconUrl": { + "shape": "__string" }, - "FailedPieces" : { - "shape" : "__integer" + "ImageUrl": { + "shape": "__string" }, - "Failures" : { - "shape" : "ListOf__string" + "RawContent": { + "shape": "__string" }, - "Id" : { - "shape" : "__string" + "SilentPush": { + "shape": "__boolean" }, - "JobStatus" : { - "shape" : "JobStatus" + "SmallImageIconUrl": { + "shape": "__string" }, - "TotalFailures" : { - "shape" : "__integer" + "Sound": { + "shape": "__string" }, - "TotalPieces" : { - "shape" : "__integer" + "Substitutions": { + "shape": "MapOfListOf__string" }, - "TotalProcessed" : { - "shape" : "__integer" + "TimeToLive": { + "shape": "__integer" }, - "Type" : { - "shape" : "__string" + "Title": { + "shape": "__string" + }, + "Url": { + "shape": "__string" + } + } + }, + "BaseKpiResult": { + "type": "structure", + "members": { + "Rows": { + "shape": "ListOfResultRow" } }, - "required" : [ "JobStatus", "CreationDate", "Type", "Definition", "Id", "ApplicationId" ] + "required": [ + "Rows" + ] }, - "ExportJobsResponse" : { - "type" : "structure", - "members" : { - "Item" : { - "shape" : "ListOfExportJobResponse" + "CampaignDateRangeKpiResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" }, - "NextToken" : { - "shape" : "__string" + "CampaignId": { + "shape": "__string" + }, + "EndTime": { + "shape": "__timestampIso8601" + }, + "KpiName": { + "shape": "__string" + }, + "KpiResult": { + "shape": "BaseKpiResult" + }, + "NextToken": { + "shape": "__string" + }, + "StartTime": { + "shape": "__timestampIso8601" } }, - "required" : [ "Item" ] - }, - "FilterType" : { - "type" : "string", - "enum" : [ "SYSTEM", "ENDPOINT" ] + "required": [ + "KpiResult", + "KpiName", + "EndTime", + "CampaignId", + "StartTime", + "ApplicationId" + ] }, - "ForbiddenException" : { - "type" : "structure", - "members" : { - "Message" : { - "shape" : "__string" + "CampaignEmailMessage": { + "type": "structure", + "members": { + "Body": { + "shape": "__string" + }, + "FromAddress": { + "shape": "__string" + }, + "HtmlBody": { + "shape": "__string" }, - "RequestID" : { - "shape" : "__string" + "Title": { + "shape": "__string" } }, - "exception" : true, - "error" : { - "httpStatusCode" : 403 - } - }, - "Format" : { - "type" : "string", - "enum" : [ "CSV", "JSON" ] + "required": [ + "Title" + ] }, - "Frequency" : { - "type" : "string", - "enum" : [ "ONCE", "HOURLY", "DAILY", "WEEKLY", "MONTHLY", "EVENT" ] - }, - "GCMChannelRequest" : { - "type" : "structure", - "members" : { - "ApiKey" : { - "shape" : "__string" + "CampaignEventFilter": { + "type": "structure", + "members": { + "Dimensions": { + "shape": "EventDimensions" }, - "Enabled" : { - "shape" : "__boolean" + "FilterType": { + "shape": "FilterType" } }, - "required" : [ "ApiKey" ] + "required": [ + "FilterType", + "Dimensions" + ] + }, + "CampaignHook": { + "type": "structure", + "members": { + "LambdaFunctionName": { + "shape": "__string" + }, + "Mode": { + "shape": "Mode" + }, + "WebUrl": { + "shape": "__string" + } + } }, - "GCMChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "CampaignLimits": { + "type": "structure", + "members": { + "Daily": { + "shape": "__integer" }, - "CreationDate" : { - "shape" : "__string" + "MaximumDuration": { + "shape": "__integer" }, - "Credential" : { - "shape" : "__string" + "MessagesPerSecond": { + "shape": "__integer" }, - "Enabled" : { - "shape" : "__boolean" + "Total": { + "shape": "__integer" + } + } + }, + "CampaignResponse": { + "type": "structure", + "members": { + "AdditionalTreatments": { + "shape": "ListOfTreatmentResource" }, - "HasCredential" : { - "shape" : "__boolean" + "ApplicationId": { + "shape": "__string" }, - "Id" : { - "shape" : "__string" + "Arn": { + "shape": "__string" }, - "IsArchived" : { - "shape" : "__boolean" + "CreationDate": { + "shape": "__string" }, - "LastModifiedBy" : { - "shape" : "__string" + "DefaultState": { + "shape": "CampaignState" }, - "LastModifiedDate" : { - "shape" : "__string" + "Description": { + "shape": "__string" }, - "Platform" : { - "shape" : "__string" + "HoldoutPercent": { + "shape": "__integer" }, - "Version" : { - "shape" : "__integer" - } - }, - "required" : [ "Credential", "Platform" ] - }, - "GCMMessage" : { - "type" : "structure", - "members" : { - "Action" : { - "shape" : "Action" + "Hook": { + "shape": "CampaignHook" }, - "Body" : { - "shape" : "__string" + "Id": { + "shape": "__string" }, - "CollapseKey" : { - "shape" : "__string" + "IsPaused": { + "shape": "__boolean" }, - "Data" : { - "shape" : "MapOf__string" + "LastModifiedDate": { + "shape": "__string" }, - "IconReference" : { - "shape" : "__string" + "Limits": { + "shape": "CampaignLimits" }, - "ImageIconUrl" : { - "shape" : "__string" + "MessageConfiguration": { + "shape": "MessageConfiguration" }, - "ImageUrl" : { - "shape" : "__string" + "Name": { + "shape": "__string" }, - "Priority" : { - "shape" : "__string" + "Schedule": { + "shape": "Schedule" }, - "RawContent" : { - "shape" : "__string" + "SegmentId": { + "shape": "__string" }, - "RestrictedPackageName" : { - "shape" : "__string" + "SegmentVersion": { + "shape": "__integer" }, - "SilentPush" : { - "shape" : "__boolean" + "State": { + "shape": "CampaignState" }, - "SmallImageIconUrl" : { - "shape" : "__string" + "tags": { + "shape": "MapOf__string", + "locationName": "tags" }, - "Sound" : { - "shape" : "__string" + "TreatmentDescription": { + "shape": "__string" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + "TreatmentName": { + "shape": "__string" }, - "TimeToLive" : { - "shape" : "__integer" + "Version": { + "shape": "__integer" + } + }, + "required": [ + "LastModifiedDate", + "CreationDate", + "SegmentId", + "SegmentVersion", + "Id", + "Arn", + "ApplicationId" + ] + }, + "CampaignSmsMessage": { + "type": "structure", + "members": { + "Body": { + "shape": "__string" }, - "Title" : { - "shape" : "__string" + "MessageType": { + "shape": "MessageType" }, - "Url" : { - "shape" : "__string" + "SenderId": { + "shape": "__string" } } }, - "GPSCoordinates" : { - "type" : "structure", - "members" : { - "Latitude" : { - "shape" : "__double" - }, - "Longitude" : { - "shape" : "__double" + "CampaignState": { + "type": "structure", + "members": { + "CampaignStatus": { + "shape": "CampaignStatus" } - }, - "required" : [ "Latitude", "Longitude" ] + } }, - "GPSPointDimension" : { - "type" : "structure", - "members" : { - "Coordinates" : { - "shape" : "GPSCoordinates" + "CampaignStatus": { + "type": "string", + "enum": [ + "SCHEDULED", + "EXECUTING", + "PENDING_NEXT_RUN", + "COMPLETED", + "PAUSED", + "DELETED" + ] + }, + "CampaignsResponse": { + "type": "structure", + "members": { + "Item": { + "shape": "ListOfCampaignResponse" }, - "RangeInKilometers" : { - "shape" : "__double" + "NextToken": { + "shape": "__string" } }, - "required" : [ "Coordinates" ] + "required": [ + "Item" + ] }, - "GetAdmChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "ChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "CreationDate": { + "shape": "__string" + }, + "Enabled": { + "shape": "__boolean" + }, + "HasCredential": { + "shape": "__boolean" + }, + "Id": { + "shape": "__string" + }, + "IsArchived": { + "shape": "__boolean" + }, + "LastModifiedBy": { + "shape": "__string" + }, + "LastModifiedDate": { + "shape": "__string" + }, + "Version": { + "shape": "__integer" + } + } + }, + "ChannelType": { + "type": "string", + "enum": [ + "GCM", + "APNS", + "APNS_SANDBOX", + "APNS_VOIP", + "APNS_VOIP_SANDBOX", + "ADM", + "SMS", + "VOICE", + "EMAIL", + "BAIDU", + "CUSTOM" + ] + }, + "ChannelsResponse": { + "type": "structure", + "members": { + "Channels": { + "shape": "MapOfChannelResponse" + } + }, + "required": [ + "Channels" + ] + }, + "CreateAppRequest": { + "type": "structure", + "members": { + "CreateApplicationRequest": { + "shape": "CreateApplicationRequest" + } + }, + "required": [ + "CreateApplicationRequest" + ], + "payload": "CreateApplicationRequest" + }, + "CreateAppResponse": { + "type": "structure", + "members": { + "ApplicationResponse": { + "shape": "ApplicationResponse" + } + }, + "required": [ + "ApplicationResponse" + ], + "payload": "ApplicationResponse" + }, + "CreateApplicationRequest": { + "type": "structure", + "members": { + "Name": { + "shape": "__string" + }, + "tags": { + "shape": "MapOf__string", + "locationName": "tags" + } + }, + "required": [ + "Name" + ] + }, + "CreateCampaignRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "WriteCampaignRequest": { + "shape": "WriteCampaignRequest" + } + }, + "required": [ + "ApplicationId", + "WriteCampaignRequest" + ], + "payload": "WriteCampaignRequest" + }, + "CreateCampaignResponse": { + "type": "structure", + "members": { + "CampaignResponse": { + "shape": "CampaignResponse" + } + }, + "required": [ + "CampaignResponse" + ], + "payload": "CampaignResponse" + }, + "CreateExportJobRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "ExportJobRequest": { + "shape": "ExportJobRequest" + } + }, + "required": [ + "ApplicationId", + "ExportJobRequest" + ], + "payload": "ExportJobRequest" + }, + "CreateExportJobResponse": { + "type": "structure", + "members": { + "ExportJobResponse": { + "shape": "ExportJobResponse" } }, - "required" : [ "ApplicationId" ] + "required": [ + "ExportJobResponse" + ], + "payload": "ExportJobResponse" + }, + "CreateImportJobRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "ImportJobRequest": { + "shape": "ImportJobRequest" + } + }, + "required": [ + "ApplicationId", + "ImportJobRequest" + ], + "payload": "ImportJobRequest" + }, + "CreateImportJobResponse": { + "type": "structure", + "members": { + "ImportJobResponse": { + "shape": "ImportJobResponse" + } + }, + "required": [ + "ImportJobResponse" + ], + "payload": "ImportJobResponse" + }, + "CreateSegmentRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "WriteSegmentRequest": { + "shape": "WriteSegmentRequest" + } + }, + "required": [ + "ApplicationId", + "WriteSegmentRequest" + ], + "payload": "WriteSegmentRequest" }, - "GetAdmChannelResponse" : { - "type" : "structure", - "members" : { - "ADMChannelResponse" : { - "shape" : "ADMChannelResponse" + "CreateSegmentResponse": { + "type": "structure", + "members": { + "SegmentResponse": { + "shape": "SegmentResponse" + } + }, + "required": [ + "SegmentResponse" + ], + "payload": "SegmentResponse" + }, + "DefaultMessage": { + "type": "structure", + "members": { + "Body": { + "shape": "__string" + }, + "Substitutions": { + "shape": "MapOfListOf__string" } - }, - "required" : [ "ADMChannelResponse" ], - "payload" : "ADMChannelResponse" + } }, - "GetApnsChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "DefaultPushNotificationMessage": { + "type": "structure", + "members": { + "Action": { + "shape": "Action" + }, + "Body": { + "shape": "__string" + }, + "Data": { + "shape": "MapOf__string" + }, + "SilentPush": { + "shape": "__boolean" + }, + "Substitutions": { + "shape": "MapOfListOf__string" + }, + "Title": { + "shape": "__string" + }, + "Url": { + "shape": "__string" + } + } + }, + "DeleteAdmChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" } }, - "required" : [ "ApplicationId" ] + "required": [ + "ApplicationId" + ] }, - "GetApnsChannelResponse" : { - "type" : "structure", - "members" : { - "APNSChannelResponse" : { - "shape" : "APNSChannelResponse" - } + "DeleteAdmChannelResponse": { + "type": "structure", + "members": { + "ADMChannelResponse": { + "shape": "ADMChannelResponse" + } }, - "required" : [ "APNSChannelResponse" ], - "payload" : "APNSChannelResponse" + "required": [ + "ADMChannelResponse" + ], + "payload": "ADMChannelResponse" }, - "GetApnsSandboxChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "DeleteApnsChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } }, - "required" : [ "ApplicationId" ] + "required": [ + "ApplicationId" + ] }, - "GetApnsSandboxChannelResponse" : { - "type" : "structure", - "members" : { - "APNSSandboxChannelResponse" : { - "shape" : "APNSSandboxChannelResponse" - } + "DeleteApnsChannelResponse": { + "type": "structure", + "members": { + "APNSChannelResponse": { + "shape": "APNSChannelResponse" + } }, - "required" : [ "APNSSandboxChannelResponse" ], - "payload" : "APNSSandboxChannelResponse" + "required": [ + "APNSChannelResponse" + ], + "payload": "APNSChannelResponse" }, - "GetApnsVoipChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } + "DeleteApnsSandboxChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "DeleteApnsSandboxChannelResponse": { + "type": "structure", + "members": { + "APNSSandboxChannelResponse": { + "shape": "APNSSandboxChannelResponse" + } }, - "required" : [ "ApplicationId" ] + "required": [ + "APNSSandboxChannelResponse" + ], + "payload": "APNSSandboxChannelResponse" + }, + "DeleteApnsVoipChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "DeleteApnsVoipChannelResponse": { + "type": "structure", + "members": { + "APNSVoipChannelResponse": { + "shape": "APNSVoipChannelResponse" + } + }, + "required": [ + "APNSVoipChannelResponse" + ], + "payload": "APNSVoipChannelResponse" + }, + "DeleteApnsVoipSandboxChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "DeleteApnsVoipSandboxChannelResponse": { + "type": "structure", + "members": { + "APNSVoipSandboxChannelResponse": { + "shape": "APNSVoipSandboxChannelResponse" + } + }, + "required": [ + "APNSVoipSandboxChannelResponse" + ], + "payload": "APNSVoipSandboxChannelResponse" + }, + "DeleteAppRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "DeleteAppResponse": { + "type": "structure", + "members": { + "ApplicationResponse": { + "shape": "ApplicationResponse" + } + }, + "required": [ + "ApplicationResponse" + ], + "payload": "ApplicationResponse" + }, + "DeleteBaiduChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "DeleteBaiduChannelResponse": { + "type": "structure", + "members": { + "BaiduChannelResponse": { + "shape": "BaiduChannelResponse" + } + }, + "required": [ + "BaiduChannelResponse" + ], + "payload": "BaiduChannelResponse" + }, + "DeleteCampaignRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "CampaignId": { + "shape": "__string", + "location": "uri", + "locationName": "campaign-id" + } + }, + "required": [ + "CampaignId", + "ApplicationId" + ] + }, + "DeleteCampaignResponse": { + "type": "structure", + "members": { + "CampaignResponse": { + "shape": "CampaignResponse" + } + }, + "required": [ + "CampaignResponse" + ], + "payload": "CampaignResponse" + }, + "DeleteEmailChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "DeleteEmailChannelResponse": { + "type": "structure", + "members": { + "EmailChannelResponse": { + "shape": "EmailChannelResponse" + } + }, + "required": [ + "EmailChannelResponse" + ], + "payload": "EmailChannelResponse" + }, + "DeleteEndpointRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "EndpointId": { + "shape": "__string", + "location": "uri", + "locationName": "endpoint-id" + } + }, + "required": [ + "ApplicationId", + "EndpointId" + ] + }, + "DeleteEndpointResponse": { + "type": "structure", + "members": { + "EndpointResponse": { + "shape": "EndpointResponse" + } + }, + "required": [ + "EndpointResponse" + ], + "payload": "EndpointResponse" + }, + "DeleteEventStreamRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "DeleteEventStreamResponse": { + "type": "structure", + "members": { + "EventStream": { + "shape": "EventStream" + } + }, + "required": [ + "EventStream" + ], + "payload": "EventStream" + }, + "DeleteGcmChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "DeleteGcmChannelResponse": { + "type": "structure", + "members": { + "GCMChannelResponse": { + "shape": "GCMChannelResponse" + } + }, + "required": [ + "GCMChannelResponse" + ], + "payload": "GCMChannelResponse" + }, + "DeleteSegmentRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "SegmentId": { + "shape": "__string", + "location": "uri", + "locationName": "segment-id" + } + }, + "required": [ + "SegmentId", + "ApplicationId" + ] + }, + "DeleteSegmentResponse": { + "type": "structure", + "members": { + "SegmentResponse": { + "shape": "SegmentResponse" + } + }, + "required": [ + "SegmentResponse" + ], + "payload": "SegmentResponse" + }, + "DeleteSmsChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "DeleteSmsChannelResponse": { + "type": "structure", + "members": { + "SMSChannelResponse": { + "shape": "SMSChannelResponse" + } + }, + "required": [ + "SMSChannelResponse" + ], + "payload": "SMSChannelResponse" + }, + "DeleteUserEndpointsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "UserId": { + "shape": "__string", + "location": "uri", + "locationName": "user-id" + } + }, + "required": [ + "ApplicationId", + "UserId" + ] + }, + "DeleteUserEndpointsResponse": { + "type": "structure", + "members": { + "EndpointsResponse": { + "shape": "EndpointsResponse" + } + }, + "required": [ + "EndpointsResponse" + ], + "payload": "EndpointsResponse" + }, + "DeleteVoiceChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "DeleteVoiceChannelResponse": { + "type": "structure", + "members": { + "VoiceChannelResponse": { + "shape": "VoiceChannelResponse" + } + }, + "required": [ + "VoiceChannelResponse" + ], + "payload": "VoiceChannelResponse" + }, + "DeliveryStatus": { + "type": "string", + "enum": [ + "SUCCESSFUL", + "THROTTLED", + "TEMPORARY_FAILURE", + "PERMANENT_FAILURE", + "UNKNOWN_FAILURE", + "OPT_OUT", + "DUPLICATE" + ] + }, + "DimensionType": { + "type": "string", + "enum": [ + "INCLUSIVE", + "EXCLUSIVE" + ] + }, + "DirectMessageConfiguration": { + "type": "structure", + "members": { + "ADMMessage": { + "shape": "ADMMessage" + }, + "APNSMessage": { + "shape": "APNSMessage" + }, + "BaiduMessage": { + "shape": "BaiduMessage" + }, + "DefaultMessage": { + "shape": "DefaultMessage" + }, + "DefaultPushNotificationMessage": { + "shape": "DefaultPushNotificationMessage" + }, + "EmailMessage": { + "shape": "EmailMessage" + }, + "GCMMessage": { + "shape": "GCMMessage" + }, + "SMSMessage": { + "shape": "SMSMessage" + }, + "VoiceMessage": { + "shape": "VoiceMessage" + } + } + }, + "Duration": { + "type": "string", + "enum": [ + "HR_24", + "DAY_7", + "DAY_14", + "DAY_30" + ] }, - "GetApnsVoipChannelResponse" : { - "type" : "structure", - "members" : { - "APNSVoipChannelResponse" : { - "shape" : "APNSVoipChannelResponse" + "EmailChannelRequest": { + "type": "structure", + "members": { + "ConfigurationSet": { + "shape": "__string" + }, + "Enabled": { + "shape": "__boolean" + }, + "FromAddress": { + "shape": "__string" + }, + "Identity": { + "shape": "__string" + }, + "RoleArn": { + "shape": "__string" } }, - "required" : [ "APNSVoipChannelResponse" ], - "payload" : "APNSVoipChannelResponse" + "required": [ + "FromAddress", + "Identity" + ] }, - "GetApnsVoipSandboxChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "EmailChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "ConfigurationSet": { + "shape": "__string" + }, + "CreationDate": { + "shape": "__string" + }, + "Enabled": { + "shape": "__boolean" + }, + "FromAddress": { + "shape": "__string" + }, + "HasCredential": { + "shape": "__boolean" + }, + "Id": { + "shape": "__string" + }, + "Identity": { + "shape": "__string" + }, + "IsArchived": { + "shape": "__boolean" + }, + "LastModifiedBy": { + "shape": "__string" + }, + "LastModifiedDate": { + "shape": "__string" + }, + "MessagesPerSecond": { + "shape": "__integer" + }, + "Platform": { + "shape": "__string" + }, + "RoleArn": { + "shape": "__string" + }, + "Version": { + "shape": "__integer" } }, - "required" : [ "ApplicationId" ] + "required": [ + "Platform" + ] }, - "GetApnsVoipSandboxChannelResponse" : { - "type" : "structure", - "members" : { - "APNSVoipSandboxChannelResponse" : { - "shape" : "APNSVoipSandboxChannelResponse" + "EmailMessage": { + "type": "structure", + "members": { + "Body": { + "shape": "__string" + }, + "FeedbackForwardingAddress": { + "shape": "__string" + }, + "FromAddress": { + "shape": "__string" + }, + "RawEmail": { + "shape": "RawEmail" + }, + "ReplyToAddresses": { + "shape": "ListOf__string" + }, + "SimpleEmail": { + "shape": "SimpleEmail" + }, + "Substitutions": { + "shape": "MapOfListOf__string" } - }, - "required" : [ "APNSVoipSandboxChannelResponse" ], - "payload" : "APNSVoipSandboxChannelResponse" + } }, - "GetAppRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "EndpointBatchItem": { + "type": "structure", + "members": { + "Address": { + "shape": "__string" + }, + "Attributes": { + "shape": "MapOfListOf__string" + }, + "ChannelType": { + "shape": "ChannelType" + }, + "Demographic": { + "shape": "EndpointDemographic" + }, + "EffectiveDate": { + "shape": "__string" + }, + "EndpointStatus": { + "shape": "__string" + }, + "Id": { + "shape": "__string" + }, + "Location": { + "shape": "EndpointLocation" + }, + "Metrics": { + "shape": "MapOf__double" + }, + "OptOut": { + "shape": "__string" + }, + "RequestId": { + "shape": "__string" + }, + "User": { + "shape": "EndpointUser" } - }, - "required" : [ "ApplicationId" ] + } }, - "GetAppResponse" : { - "type" : "structure", - "members" : { - "ApplicationResponse" : { - "shape" : "ApplicationResponse" + "EndpointBatchRequest": { + "type": "structure", + "members": { + "Item": { + "shape": "ListOfEndpointBatchItem" } }, - "required" : [ "ApplicationResponse" ], - "payload" : "ApplicationResponse" + "required": [ + "Item" + ] }, - "GetApplicationSettingsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "EndpointDemographic": { + "type": "structure", + "members": { + "AppVersion": { + "shape": "__string" + }, + "Locale": { + "shape": "__string" + }, + "Make": { + "shape": "__string" + }, + "Model": { + "shape": "__string" + }, + "ModelVersion": { + "shape": "__string" + }, + "Platform": { + "shape": "__string" + }, + "PlatformVersion": { + "shape": "__string" + }, + "Timezone": { + "shape": "__string" } - }, - "required" : [ "ApplicationId" ] + } }, - "GetApplicationSettingsResponse" : { - "type" : "structure", - "members" : { - "ApplicationSettingsResource" : { - "shape" : "ApplicationSettingsResource" + "EndpointItemResponse": { + "type": "structure", + "members": { + "Message": { + "shape": "__string" + }, + "StatusCode": { + "shape": "__integer" } - }, - "required" : [ "ApplicationSettingsResource" ], - "payload" : "ApplicationSettingsResource" + } }, - "GetAppsRequest" : { - "type" : "structure", - "members" : { - "PageSize" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "page-size" + "EndpointLocation": { + "type": "structure", + "members": { + "City": { + "shape": "__string" + }, + "Country": { + "shape": "__string" }, - "Token" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "token" + "Latitude": { + "shape": "__double" + }, + "Longitude": { + "shape": "__double" + }, + "PostalCode": { + "shape": "__string" + }, + "Region": { + "shape": "__string" } } }, - "GetAppsResponse" : { - "type" : "structure", - "members" : { - "ApplicationsResponse" : { - "shape" : "ApplicationsResponse" + "EndpointMessageResult": { + "type": "structure", + "members": { + "Address": { + "shape": "__string" + }, + "DeliveryStatus": { + "shape": "DeliveryStatus" + }, + "MessageId": { + "shape": "__string" + }, + "StatusCode": { + "shape": "__integer" + }, + "StatusMessage": { + "shape": "__string" + }, + "UpdatedToken": { + "shape": "__string" } }, - "required" : [ "ApplicationsResponse" ], - "payload" : "ApplicationsResponse" + "required": [ + "DeliveryStatus", + "StatusCode" + ] }, - "GetBaiduChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "EndpointRequest": { + "type": "structure", + "members": { + "Address": { + "shape": "__string" + }, + "Attributes": { + "shape": "MapOfListOf__string" + }, + "ChannelType": { + "shape": "ChannelType" + }, + "Demographic": { + "shape": "EndpointDemographic" + }, + "EffectiveDate": { + "shape": "__string" + }, + "EndpointStatus": { + "shape": "__string" + }, + "Location": { + "shape": "EndpointLocation" + }, + "Metrics": { + "shape": "MapOf__double" + }, + "OptOut": { + "shape": "__string" + }, + "RequestId": { + "shape": "__string" + }, + "User": { + "shape": "EndpointUser" } - }, - "required" : [ "ApplicationId" ] + } }, - "GetBaiduChannelResponse" : { - "type" : "structure", - "members" : { - "BaiduChannelResponse" : { - "shape" : "BaiduChannelResponse" + "EndpointResponse": { + "type": "structure", + "members": { + "Address": { + "shape": "__string" + }, + "ApplicationId": { + "shape": "__string" + }, + "Attributes": { + "shape": "MapOfListOf__string" + }, + "ChannelType": { + "shape": "ChannelType" + }, + "CohortId": { + "shape": "__string" + }, + "CreationDate": { + "shape": "__string" + }, + "Demographic": { + "shape": "EndpointDemographic" + }, + "EffectiveDate": { + "shape": "__string" + }, + "EndpointStatus": { + "shape": "__string" + }, + "Id": { + "shape": "__string" + }, + "Location": { + "shape": "EndpointLocation" + }, + "Metrics": { + "shape": "MapOf__double" + }, + "OptOut": { + "shape": "__string" + }, + "RequestId": { + "shape": "__string" + }, + "User": { + "shape": "EndpointUser" } - }, - "required" : [ "BaiduChannelResponse" ], - "payload" : "BaiduChannelResponse" + } }, - "GetCampaignActivitiesRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "EndpointSendConfiguration": { + "type": "structure", + "members": { + "BodyOverride": { + "shape": "__string" }, - "CampaignId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "campaign-id" + "Context": { + "shape": "MapOf__string" }, - "PageSize" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "page-size" + "RawContent": { + "shape": "__string" }, - "Token" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "token" - } - }, - "required" : [ "ApplicationId", "CampaignId" ] - }, - "GetCampaignActivitiesResponse" : { - "type" : "structure", - "members" : { - "ActivitiesResponse" : { - "shape" : "ActivitiesResponse" + "Substitutions": { + "shape": "MapOfListOf__string" + }, + "TitleOverride": { + "shape": "__string" } - }, - "required" : [ "ActivitiesResponse" ], - "payload" : "ActivitiesResponse" + } }, - "GetCampaignRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "EndpointUser": { + "type": "structure", + "members": { + "UserAttributes": { + "shape": "MapOfListOf__string" }, - "CampaignId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "campaign-id" + "UserId": { + "shape": "__string" } - }, - "required" : [ "CampaignId", "ApplicationId" ] + } }, - "GetCampaignResponse" : { - "type" : "structure", - "members" : { - "CampaignResponse" : { - "shape" : "CampaignResponse" + "EndpointsResponse": { + "type": "structure", + "members": { + "Item": { + "shape": "ListOfEndpointResponse" } }, - "required" : [ "CampaignResponse" ], - "payload" : "CampaignResponse" + "required": [ + "Item" + ] }, - "GetCampaignVersionRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "Event": { + "type": "structure", + "members": { + "AppPackageName": { + "shape": "__string" }, - "CampaignId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "campaign-id" + "AppTitle": { + "shape": "__string" }, - "Version" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "version" - } - }, - "required" : [ "Version", "ApplicationId", "CampaignId" ] - }, - "GetCampaignVersionResponse" : { - "type" : "structure", - "members" : { - "CampaignResponse" : { - "shape" : "CampaignResponse" - } - }, - "required" : [ "CampaignResponse" ], - "payload" : "CampaignResponse" - }, - "GetCampaignVersionsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "AppVersionCode": { + "shape": "__string" }, - "CampaignId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "campaign-id" + "Attributes": { + "shape": "MapOf__string" }, - "PageSize" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "page-size" + "ClientSdkVersion": { + "shape": "__string" }, - "Token" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "token" - } - }, - "required" : [ "ApplicationId", "CampaignId" ] - }, - "GetCampaignVersionsResponse" : { - "type" : "structure", - "members" : { - "CampaignsResponse" : { - "shape" : "CampaignsResponse" + "EventType": { + "shape": "__string" + }, + "Metrics": { + "shape": "MapOf__double" + }, + "SdkName": { + "shape": "__string" + }, + "Session": { + "shape": "Session" + }, + "Timestamp": { + "shape": "__string" } }, - "required" : [ "CampaignsResponse" ], - "payload" : "CampaignsResponse" + "required": [ + "EventType", + "Timestamp" + ] }, - "GetCampaignsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "EventDimensions": { + "type": "structure", + "members": { + "Attributes": { + "shape": "MapOfAttributeDimension" }, - "PageSize" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "page-size" + "EventType": { + "shape": "SetDimension" }, - "Token" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "token" + "Metrics": { + "shape": "MapOfMetricDimension" } - }, - "required" : [ "ApplicationId" ] + } }, - "GetCampaignsResponse" : { - "type" : "structure", - "members" : { - "CampaignsResponse" : { - "shape" : "CampaignsResponse" + "EventItemResponse": { + "type": "structure", + "members": { + "Message": { + "shape": "__string" + }, + "StatusCode": { + "shape": "__integer" } - }, - "required" : [ "CampaignsResponse" ], - "payload" : "CampaignsResponse" + } }, - "GetChannelsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "EventStream": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "DestinationStreamArn": { + "shape": "__string" + }, + "ExternalId": { + "shape": "__string" + }, + "LastModifiedDate": { + "shape": "__string" + }, + "LastUpdatedBy": { + "shape": "__string" + }, + "RoleArn": { + "shape": "__string" } }, - "required" : [ "ApplicationId" ] + "required": [ + "ApplicationId", + "RoleArn", + "DestinationStreamArn" + ] }, - "GetChannelsResponse" : { - "type" : "structure", - "members" : { - "ChannelsResponse" : { - "shape" : "ChannelsResponse" + "EventsBatch": { + "type": "structure", + "members": { + "Endpoint": { + "shape": "PublicEndpoint" + }, + "Events": { + "shape": "MapOfEvent" } }, - "required" : [ "ChannelsResponse" ], - "payload" : "ChannelsResponse" + "required": [ + "Endpoint", + "Events" + ] }, - "GetEmailChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "EventsRequest": { + "type": "structure", + "members": { + "BatchItem": { + "shape": "MapOfEventsBatch" } }, - "required" : [ "ApplicationId" ] + "required": [ + "BatchItem" + ] }, - "GetEmailChannelResponse" : { - "type" : "structure", - "members" : { - "EmailChannelResponse" : { - "shape" : "EmailChannelResponse" + "EventsResponse": { + "type": "structure", + "members": { + "Results": { + "shape": "MapOfItemResponse" } - }, - "required" : [ "EmailChannelResponse" ], - "payload" : "EmailChannelResponse" + } }, - "GetEndpointRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "ExportJobRequest": { + "type": "structure", + "members": { + "RoleArn": { + "shape": "__string" }, - "EndpointId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "endpoint-id" - } - }, - "required" : [ "ApplicationId", "EndpointId" ] - }, - "GetEndpointResponse" : { - "type" : "structure", - "members" : { - "EndpointResponse" : { - "shape" : "EndpointResponse" + "S3UrlPrefix": { + "shape": "__string" + }, + "SegmentId": { + "shape": "__string" + }, + "SegmentVersion": { + "shape": "__integer" } }, - "required" : [ "EndpointResponse" ], - "payload" : "EndpointResponse" + "required": [ + "S3UrlPrefix", + "RoleArn" + ] }, - "GetEventStreamRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "ExportJobResource": { + "type": "structure", + "members": { + "RoleArn": { + "shape": "__string" + }, + "S3UrlPrefix": { + "shape": "__string" + }, + "SegmentId": { + "shape": "__string" + }, + "SegmentVersion": { + "shape": "__integer" } }, - "required" : [ "ApplicationId" ] + "required": [ + "S3UrlPrefix", + "RoleArn" + ] }, - "GetEventStreamResponse" : { - "type" : "structure", - "members" : { - "EventStream" : { - "shape" : "EventStream" + "ExportJobResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "CompletedPieces": { + "shape": "__integer" + }, + "CompletionDate": { + "shape": "__string" + }, + "CreationDate": { + "shape": "__string" + }, + "Definition": { + "shape": "ExportJobResource" + }, + "FailedPieces": { + "shape": "__integer" + }, + "Failures": { + "shape": "ListOf__string" + }, + "Id": { + "shape": "__string" + }, + "JobStatus": { + "shape": "JobStatus" + }, + "TotalFailures": { + "shape": "__integer" + }, + "TotalPieces": { + "shape": "__integer" + }, + "TotalProcessed": { + "shape": "__integer" + }, + "Type": { + "shape": "__string" } }, - "required" : [ "EventStream" ], - "payload" : "EventStream" + "required": [ + "JobStatus", + "CreationDate", + "Type", + "Definition", + "Id", + "ApplicationId" + ] }, - "GetExportJobRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "ExportJobsResponse": { + "type": "structure", + "members": { + "Item": { + "shape": "ListOfExportJobResponse" }, - "JobId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "job-id" + "NextToken": { + "shape": "__string" } }, - "required" : [ "ApplicationId", "JobId" ] + "required": [ + "Item" + ] }, - "GetExportJobResponse" : { - "type" : "structure", - "members" : { - "ExportJobResponse" : { - "shape" : "ExportJobResponse" - } - }, - "required" : [ "ExportJobResponse" ], - "payload" : "ExportJobResponse" + "FilterType": { + "type": "string", + "enum": [ + "SYSTEM", + "ENDPOINT" + ] }, - "GetExportJobsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "ForbiddenException": { + "type": "structure", + "members": { + "Message": { + "shape": "__string" }, - "PageSize" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "page-size" - }, - "Token" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "token" - } - }, - "required" : [ "ApplicationId" ] - }, - "GetExportJobsResponse" : { - "type" : "structure", - "members" : { - "ExportJobsResponse" : { - "shape" : "ExportJobsResponse" + "RequestID": { + "shape": "__string" } }, - "required" : [ "ExportJobsResponse" ], - "payload" : "ExportJobsResponse" + "exception": true, + "error": { + "httpStatusCode": 403 + } }, - "GetGcmChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } - }, - "required" : [ "ApplicationId" ] + "Format": { + "type": "string", + "enum": [ + "CSV", + "JSON" + ] }, - "GetGcmChannelResponse" : { - "type" : "structure", - "members" : { - "GCMChannelResponse" : { - "shape" : "GCMChannelResponse" - } - }, - "required" : [ "GCMChannelResponse" ], - "payload" : "GCMChannelResponse" + "Frequency": { + "type": "string", + "enum": [ + "ONCE", + "HOURLY", + "DAILY", + "WEEKLY", + "MONTHLY", + "EVENT" + ] }, - "GetImportJobRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "GCMChannelRequest": { + "type": "structure", + "members": { + "ApiKey": { + "shape": "__string" }, - "JobId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "job-id" - } - }, - "required" : [ "ApplicationId", "JobId" ] - }, - "GetImportJobResponse" : { - "type" : "structure", - "members" : { - "ImportJobResponse" : { - "shape" : "ImportJobResponse" + "Enabled": { + "shape": "__boolean" } }, - "required" : [ "ImportJobResponse" ], - "payload" : "ImportJobResponse" + "required": [ + "ApiKey" + ] }, - "GetImportJobsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "GCMChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" }, - "PageSize" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "page-size" + "CreationDate": { + "shape": "__string" }, - "Token" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "token" - } - }, - "required" : [ "ApplicationId" ] - }, - "GetImportJobsResponse" : { - "type" : "structure", - "members" : { - "ImportJobsResponse" : { - "shape" : "ImportJobsResponse" - } - }, - "required" : [ "ImportJobsResponse" ], - "payload" : "ImportJobsResponse" - }, - "GetSegmentExportJobsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "Credential": { + "shape": "__string" }, - "PageSize" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "page-size" + "Enabled": { + "shape": "__boolean" }, - "SegmentId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "segment-id" + "HasCredential": { + "shape": "__boolean" }, - "Token" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "token" - } - }, - "required" : [ "SegmentId", "ApplicationId" ] - }, - "GetSegmentExportJobsResponse" : { - "type" : "structure", - "members" : { - "ExportJobsResponse" : { - "shape" : "ExportJobsResponse" - } - }, - "required" : [ "ExportJobsResponse" ], - "payload" : "ExportJobsResponse" - }, - "GetSegmentImportJobsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "Id": { + "shape": "__string" }, - "PageSize" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "page-size" + "IsArchived": { + "shape": "__boolean" }, - "SegmentId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "segment-id" + "LastModifiedBy": { + "shape": "__string" }, - "Token" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "token" - } - }, - "required" : [ "SegmentId", "ApplicationId" ] - }, - "GetSegmentImportJobsResponse" : { - "type" : "structure", - "members" : { - "ImportJobsResponse" : { - "shape" : "ImportJobsResponse" - } - }, - "required" : [ "ImportJobsResponse" ], - "payload" : "ImportJobsResponse" - }, - "GetSegmentRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "LastModifiedDate": { + "shape": "__string" }, - "SegmentId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "segment-id" - } - }, - "required" : [ "SegmentId", "ApplicationId" ] - }, - "GetSegmentResponse" : { - "type" : "structure", - "members" : { - "SegmentResponse" : { - "shape" : "SegmentResponse" + "Platform": { + "shape": "__string" + }, + "Version": { + "shape": "__integer" } }, - "required" : [ "SegmentResponse" ], - "payload" : "SegmentResponse" + "required": [ + "Credential", + "Platform" + ] }, - "GetSegmentVersionRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "GCMMessage": { + "type": "structure", + "members": { + "Action": { + "shape": "Action" + }, + "Body": { + "shape": "__string" + }, + "CollapseKey": { + "shape": "__string" + }, + "Data": { + "shape": "MapOf__string" + }, + "IconReference": { + "shape": "__string" + }, + "ImageIconUrl": { + "shape": "__string" + }, + "ImageUrl": { + "shape": "__string" }, - "SegmentId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "segment-id" + "Priority": { + "shape": "__string" }, - "Version" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "version" + "RawContent": { + "shape": "__string" + }, + "RestrictedPackageName": { + "shape": "__string" + }, + "SilentPush": { + "shape": "__boolean" + }, + "SmallImageIconUrl": { + "shape": "__string" + }, + "Sound": { + "shape": "__string" + }, + "Substitutions": { + "shape": "MapOfListOf__string" + }, + "TimeToLive": { + "shape": "__integer" + }, + "Title": { + "shape": "__string" + }, + "Url": { + "shape": "__string" } - }, - "required" : [ "SegmentId", "Version", "ApplicationId" ] + } }, - "GetSegmentVersionResponse" : { - "type" : "structure", - "members" : { - "SegmentResponse" : { - "shape" : "SegmentResponse" + "GPSCoordinates": { + "type": "structure", + "members": { + "Latitude": { + "shape": "__double" + }, + "Longitude": { + "shape": "__double" } }, - "required" : [ "SegmentResponse" ], - "payload" : "SegmentResponse" + "required": [ + "Latitude", + "Longitude" + ] }, - "GetSegmentVersionsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "PageSize" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "page-size" + "GPSPointDimension": { + "type": "structure", + "members": { + "Coordinates": { + "shape": "GPSCoordinates" }, - "SegmentId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "segment-id" - }, - "Token" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "token" + "RangeInKilometers": { + "shape": "__double" } }, - "required" : [ "SegmentId", "ApplicationId" ] + "required": [ + "Coordinates" + ] }, - "GetSegmentVersionsResponse" : { - "type" : "structure", - "members" : { - "SegmentsResponse" : { - "shape" : "SegmentsResponse" + "GetAdmChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" } }, - "required" : [ "SegmentsResponse" ], - "payload" : "SegmentsResponse" + "required": [ + "ApplicationId" + ] }, - "GetSegmentsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "PageSize" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "page-size" - }, - "Token" : { - "shape" : "__string", - "location" : "querystring", - "locationName" : "token" + "GetAdmChannelResponse": { + "type": "structure", + "members": { + "ADMChannelResponse": { + "shape": "ADMChannelResponse" } }, - "required" : [ "ApplicationId" ] + "required": [ + "ADMChannelResponse" + ], + "payload": "ADMChannelResponse" }, - "GetSegmentsResponse" : { - "type" : "structure", - "members" : { - "SegmentsResponse" : { - "shape" : "SegmentsResponse" + "GetApnsChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" } }, - "required" : [ "SegmentsResponse" ], - "payload" : "SegmentsResponse" + "required": [ + "ApplicationId" + ] }, - "GetSmsChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "GetApnsChannelResponse": { + "type": "structure", + "members": { + "APNSChannelResponse": { + "shape": "APNSChannelResponse" } }, - "required" : [ "ApplicationId" ] + "required": [ + "APNSChannelResponse" + ], + "payload": "APNSChannelResponse" }, - "GetSmsChannelResponse" : { - "type" : "structure", - "members" : { - "SMSChannelResponse" : { - "shape" : "SMSChannelResponse" + "GetApnsSandboxChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetApnsSandboxChannelResponse": { + "type": "structure", + "members": { + "APNSSandboxChannelResponse": { + "shape": "APNSSandboxChannelResponse" + } + }, + "required": [ + "APNSSandboxChannelResponse" + ], + "payload": "APNSSandboxChannelResponse" + }, + "GetApnsVoipChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetApnsVoipChannelResponse": { + "type": "structure", + "members": { + "APNSVoipChannelResponse": { + "shape": "APNSVoipChannelResponse" + } + }, + "required": [ + "APNSVoipChannelResponse" + ], + "payload": "APNSVoipChannelResponse" + }, + "GetApnsVoipSandboxChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetApnsVoipSandboxChannelResponse": { + "type": "structure", + "members": { + "APNSVoipSandboxChannelResponse": { + "shape": "APNSVoipSandboxChannelResponse" + } + }, + "required": [ + "APNSVoipSandboxChannelResponse" + ], + "payload": "APNSVoipSandboxChannelResponse" + }, + "GetAppRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetAppResponse": { + "type": "structure", + "members": { + "ApplicationResponse": { + "shape": "ApplicationResponse" + } + }, + "required": [ + "ApplicationResponse" + ], + "payload": "ApplicationResponse" + }, + "GetApplicationDateRangeKpiRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "EndTime": { + "shape": "__timestampIso8601", + "location": "querystring", + "locationName": "end-time" + }, + "KpiName": { + "shape": "__string", + "location": "uri", + "locationName": "kpi-name" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "next-token" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "StartTime": { + "shape": "__timestampIso8601", + "location": "querystring", + "locationName": "start-time" + } + }, + "required": [ + "ApplicationId", + "KpiName" + ] + }, + "GetApplicationDateRangeKpiResponse": { + "type": "structure", + "members": { + "ApplicationDateRangeKpiResponse": { + "shape": "ApplicationDateRangeKpiResponse" + } + }, + "required": [ + "ApplicationDateRangeKpiResponse" + ], + "payload": "ApplicationDateRangeKpiResponse" + }, + "GetApplicationSettingsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetApplicationSettingsResponse": { + "type": "structure", + "members": { + "ApplicationSettingsResource": { + "shape": "ApplicationSettingsResource" + } + }, + "required": [ + "ApplicationSettingsResource" + ], + "payload": "ApplicationSettingsResource" + }, + "GetAppsRequest": { + "type": "structure", + "members": { + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "Token": { + "shape": "__string", + "location": "querystring", + "locationName": "token" } - }, - "required" : [ "SMSChannelResponse" ], - "payload" : "SMSChannelResponse" + } }, - "GetUserEndpointsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "GetAppsResponse": { + "type": "structure", + "members": { + "ApplicationsResponse": { + "shape": "ApplicationsResponse" + } + }, + "required": [ + "ApplicationsResponse" + ], + "payload": "ApplicationsResponse" + }, + "GetBaiduChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetBaiduChannelResponse": { + "type": "structure", + "members": { + "BaiduChannelResponse": { + "shape": "BaiduChannelResponse" + } + }, + "required": [ + "BaiduChannelResponse" + ], + "payload": "BaiduChannelResponse" + }, + "GetCampaignActivitiesRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "CampaignId": { + "shape": "__string", + "location": "uri", + "locationName": "campaign-id" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "Token": { + "shape": "__string", + "location": "querystring", + "locationName": "token" + } + }, + "required": [ + "ApplicationId", + "CampaignId" + ] + }, + "GetCampaignActivitiesResponse": { + "type": "structure", + "members": { + "ActivitiesResponse": { + "shape": "ActivitiesResponse" + } + }, + "required": [ + "ActivitiesResponse" + ], + "payload": "ActivitiesResponse" + }, + "GetCampaignDateRangeKpiRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "CampaignId": { + "shape": "__string", + "location": "uri", + "locationName": "campaign-id" + }, + "EndTime": { + "shape": "__timestampIso8601", + "location": "querystring", + "locationName": "end-time" + }, + "KpiName": { + "shape": "__string", + "location": "uri", + "locationName": "kpi-name" + }, + "NextToken": { + "shape": "__string", + "location": "querystring", + "locationName": "next-token" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "StartTime": { + "shape": "__timestampIso8601", + "location": "querystring", + "locationName": "start-time" + } + }, + "required": [ + "ApplicationId", + "KpiName", + "CampaignId" + ] + }, + "GetCampaignDateRangeKpiResponse": { + "type": "structure", + "members": { + "CampaignDateRangeKpiResponse": { + "shape": "CampaignDateRangeKpiResponse" + } + }, + "required": [ + "CampaignDateRangeKpiResponse" + ], + "payload": "CampaignDateRangeKpiResponse" + }, + "GetCampaignRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "CampaignId": { + "shape": "__string", + "location": "uri", + "locationName": "campaign-id" + } + }, + "required": [ + "CampaignId", + "ApplicationId" + ] + }, + "GetCampaignResponse": { + "type": "structure", + "members": { + "CampaignResponse": { + "shape": "CampaignResponse" + } + }, + "required": [ + "CampaignResponse" + ], + "payload": "CampaignResponse" + }, + "GetCampaignVersionRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "CampaignId": { + "shape": "__string", + "location": "uri", + "locationName": "campaign-id" + }, + "Version": { + "shape": "__string", + "location": "uri", + "locationName": "version" + } + }, + "required": [ + "Version", + "ApplicationId", + "CampaignId" + ] + }, + "GetCampaignVersionResponse": { + "type": "structure", + "members": { + "CampaignResponse": { + "shape": "CampaignResponse" + } + }, + "required": [ + "CampaignResponse" + ], + "payload": "CampaignResponse" + }, + "GetCampaignVersionsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "CampaignId": { + "shape": "__string", + "location": "uri", + "locationName": "campaign-id" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "Token": { + "shape": "__string", + "location": "querystring", + "locationName": "token" + } + }, + "required": [ + "ApplicationId", + "CampaignId" + ] + }, + "GetCampaignVersionsResponse": { + "type": "structure", + "members": { + "CampaignsResponse": { + "shape": "CampaignsResponse" + } + }, + "required": [ + "CampaignsResponse" + ], + "payload": "CampaignsResponse" + }, + "GetCampaignsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "Token": { + "shape": "__string", + "location": "querystring", + "locationName": "token" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetCampaignsResponse": { + "type": "structure", + "members": { + "CampaignsResponse": { + "shape": "CampaignsResponse" + } + }, + "required": [ + "CampaignsResponse" + ], + "payload": "CampaignsResponse" + }, + "GetChannelsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetChannelsResponse": { + "type": "structure", + "members": { + "ChannelsResponse": { + "shape": "ChannelsResponse" + } + }, + "required": [ + "ChannelsResponse" + ], + "payload": "ChannelsResponse" + }, + "GetEmailChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetEmailChannelResponse": { + "type": "structure", + "members": { + "EmailChannelResponse": { + "shape": "EmailChannelResponse" + } + }, + "required": [ + "EmailChannelResponse" + ], + "payload": "EmailChannelResponse" + }, + "GetEndpointRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "EndpointId": { + "shape": "__string", + "location": "uri", + "locationName": "endpoint-id" + } + }, + "required": [ + "ApplicationId", + "EndpointId" + ] + }, + "GetEndpointResponse": { + "type": "structure", + "members": { + "EndpointResponse": { + "shape": "EndpointResponse" + } + }, + "required": [ + "EndpointResponse" + ], + "payload": "EndpointResponse" + }, + "GetEventStreamRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetEventStreamResponse": { + "type": "structure", + "members": { + "EventStream": { + "shape": "EventStream" + } + }, + "required": [ + "EventStream" + ], + "payload": "EventStream" + }, + "GetExportJobRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "JobId": { + "shape": "__string", + "location": "uri", + "locationName": "job-id" + } + }, + "required": [ + "ApplicationId", + "JobId" + ] + }, + "GetExportJobResponse": { + "type": "structure", + "members": { + "ExportJobResponse": { + "shape": "ExportJobResponse" + } + }, + "required": [ + "ExportJobResponse" + ], + "payload": "ExportJobResponse" + }, + "GetExportJobsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "Token": { + "shape": "__string", + "location": "querystring", + "locationName": "token" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetExportJobsResponse": { + "type": "structure", + "members": { + "ExportJobsResponse": { + "shape": "ExportJobsResponse" + } + }, + "required": [ + "ExportJobsResponse" + ], + "payload": "ExportJobsResponse" + }, + "GetGcmChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetGcmChannelResponse": { + "type": "structure", + "members": { + "GCMChannelResponse": { + "shape": "GCMChannelResponse" + } + }, + "required": [ + "GCMChannelResponse" + ], + "payload": "GCMChannelResponse" + }, + "GetImportJobRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "JobId": { + "shape": "__string", + "location": "uri", + "locationName": "job-id" + } + }, + "required": [ + "ApplicationId", + "JobId" + ] + }, + "GetImportJobResponse": { + "type": "structure", + "members": { + "ImportJobResponse": { + "shape": "ImportJobResponse" + } + }, + "required": [ + "ImportJobResponse" + ], + "payload": "ImportJobResponse" + }, + "GetImportJobsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "Token": { + "shape": "__string", + "location": "querystring", + "locationName": "token" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetImportJobsResponse": { + "type": "structure", + "members": { + "ImportJobsResponse": { + "shape": "ImportJobsResponse" + } + }, + "required": [ + "ImportJobsResponse" + ], + "payload": "ImportJobsResponse" + }, + "GetSegmentExportJobsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "SegmentId": { + "shape": "__string", + "location": "uri", + "locationName": "segment-id" + }, + "Token": { + "shape": "__string", + "location": "querystring", + "locationName": "token" + } + }, + "required": [ + "SegmentId", + "ApplicationId" + ] + }, + "GetSegmentExportJobsResponse": { + "type": "structure", + "members": { + "ExportJobsResponse": { + "shape": "ExportJobsResponse" + } + }, + "required": [ + "ExportJobsResponse" + ], + "payload": "ExportJobsResponse" + }, + "GetSegmentImportJobsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "SegmentId": { + "shape": "__string", + "location": "uri", + "locationName": "segment-id" + }, + "Token": { + "shape": "__string", + "location": "querystring", + "locationName": "token" + } + }, + "required": [ + "SegmentId", + "ApplicationId" + ] + }, + "GetSegmentImportJobsResponse": { + "type": "structure", + "members": { + "ImportJobsResponse": { + "shape": "ImportJobsResponse" + } + }, + "required": [ + "ImportJobsResponse" + ], + "payload": "ImportJobsResponse" + }, + "GetSegmentRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "SegmentId": { + "shape": "__string", + "location": "uri", + "locationName": "segment-id" + } + }, + "required": [ + "SegmentId", + "ApplicationId" + ] + }, + "GetSegmentResponse": { + "type": "structure", + "members": { + "SegmentResponse": { + "shape": "SegmentResponse" + } + }, + "required": [ + "SegmentResponse" + ], + "payload": "SegmentResponse" + }, + "GetSegmentVersionRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "SegmentId": { + "shape": "__string", + "location": "uri", + "locationName": "segment-id" + }, + "Version": { + "shape": "__string", + "location": "uri", + "locationName": "version" + } + }, + "required": [ + "SegmentId", + "Version", + "ApplicationId" + ] + }, + "GetSegmentVersionResponse": { + "type": "structure", + "members": { + "SegmentResponse": { + "shape": "SegmentResponse" + } + }, + "required": [ + "SegmentResponse" + ], + "payload": "SegmentResponse" + }, + "GetSegmentVersionsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "SegmentId": { + "shape": "__string", + "location": "uri", + "locationName": "segment-id" + }, + "Token": { + "shape": "__string", + "location": "querystring", + "locationName": "token" + } + }, + "required": [ + "SegmentId", + "ApplicationId" + ] + }, + "GetSegmentVersionsResponse": { + "type": "structure", + "members": { + "SegmentsResponse": { + "shape": "SegmentsResponse" + } + }, + "required": [ + "SegmentsResponse" + ], + "payload": "SegmentsResponse" + }, + "GetSegmentsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "PageSize": { + "shape": "__string", + "location": "querystring", + "locationName": "page-size" + }, + "Token": { + "shape": "__string", + "location": "querystring", + "locationName": "token" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetSegmentsResponse": { + "type": "structure", + "members": { + "SegmentsResponse": { + "shape": "SegmentsResponse" + } + }, + "required": [ + "SegmentsResponse" + ], + "payload": "SegmentsResponse" + }, + "GetSmsChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId" + ] + }, + "GetSmsChannelResponse": { + "type": "structure", + "members": { + "SMSChannelResponse": { + "shape": "SMSChannelResponse" + } + }, + "required": [ + "SMSChannelResponse" + ], + "payload": "SMSChannelResponse" + }, + "GetUserEndpointsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" }, - "UserId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "user-id" + "UserId": { + "shape": "__string", + "location": "uri", + "locationName": "user-id" } }, - "required" : [ "ApplicationId", "UserId" ] + "required": [ + "ApplicationId", + "UserId" + ] }, - "GetUserEndpointsResponse" : { - "type" : "structure", - "members" : { - "EndpointsResponse" : { - "shape" : "EndpointsResponse" + "GetUserEndpointsResponse": { + "type": "structure", + "members": { + "EndpointsResponse": { + "shape": "EndpointsResponse" } }, - "required" : [ "EndpointsResponse" ], - "payload" : "EndpointsResponse" + "required": [ + "EndpointsResponse" + ], + "payload": "EndpointsResponse" }, - "GetVoiceChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "GetVoiceChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" } }, - "required" : [ "ApplicationId" ] + "required": [ + "ApplicationId" + ] }, - "GetVoiceChannelResponse" : { - "type" : "structure", - "members" : { - "VoiceChannelResponse" : { - "shape" : "VoiceChannelResponse" + "GetVoiceChannelResponse": { + "type": "structure", + "members": { + "VoiceChannelResponse": { + "shape": "VoiceChannelResponse" } }, - "required" : [ "VoiceChannelResponse" ], - "payload" : "VoiceChannelResponse" + "required": [ + "VoiceChannelResponse" + ], + "payload": "VoiceChannelResponse" }, - "ImportJobRequest" : { - "type" : "structure", - "members" : { - "DefineSegment" : { - "shape" : "__boolean" + "ImportJobRequest": { + "type": "structure", + "members": { + "DefineSegment": { + "shape": "__boolean" }, - "ExternalId" : { - "shape" : "__string" + "ExternalId": { + "shape": "__string" }, - "Format" : { - "shape" : "Format" + "Format": { + "shape": "Format" }, - "RegisterEndpoints" : { - "shape" : "__boolean" + "RegisterEndpoints": { + "shape": "__boolean" }, - "RoleArn" : { - "shape" : "__string" + "RoleArn": { + "shape": "__string" }, - "S3Url" : { - "shape" : "__string" + "S3Url": { + "shape": "__string" }, - "SegmentId" : { - "shape" : "__string" + "SegmentId": { + "shape": "__string" }, - "SegmentName" : { - "shape" : "__string" + "SegmentName": { + "shape": "__string" } }, - "required" : [ "Format", "S3Url", "RoleArn" ] + "required": [ + "Format", + "S3Url", + "RoleArn" + ] }, - "ImportJobResource" : { - "type" : "structure", - "members" : { - "DefineSegment" : { - "shape" : "__boolean" + "ImportJobResource": { + "type": "structure", + "members": { + "DefineSegment": { + "shape": "__boolean" }, - "ExternalId" : { - "shape" : "__string" + "ExternalId": { + "shape": "__string" }, - "Format" : { - "shape" : "Format" + "Format": { + "shape": "Format" }, - "RegisterEndpoints" : { - "shape" : "__boolean" + "RegisterEndpoints": { + "shape": "__boolean" }, - "RoleArn" : { - "shape" : "__string" + "RoleArn": { + "shape": "__string" }, - "S3Url" : { - "shape" : "__string" + "S3Url": { + "shape": "__string" }, - "SegmentId" : { - "shape" : "__string" + "SegmentId": { + "shape": "__string" }, - "SegmentName" : { - "shape" : "__string" + "SegmentName": { + "shape": "__string" } }, - "required" : [ "Format", "S3Url", "RoleArn" ] + "required": [ + "Format", + "S3Url", + "RoleArn" + ] }, - "ImportJobResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "ImportJobResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" }, - "CompletedPieces" : { - "shape" : "__integer" + "CompletedPieces": { + "shape": "__integer" }, - "CompletionDate" : { - "shape" : "__string" + "CompletionDate": { + "shape": "__string" }, - "CreationDate" : { - "shape" : "__string" + "CreationDate": { + "shape": "__string" }, - "Definition" : { - "shape" : "ImportJobResource" + "Definition": { + "shape": "ImportJobResource" }, - "FailedPieces" : { - "shape" : "__integer" + "FailedPieces": { + "shape": "__integer" }, - "Failures" : { - "shape" : "ListOf__string" + "Failures": { + "shape": "ListOf__string" }, - "Id" : { - "shape" : "__string" + "Id": { + "shape": "__string" }, - "JobStatus" : { - "shape" : "JobStatus" + "JobStatus": { + "shape": "JobStatus" }, - "TotalFailures" : { - "shape" : "__integer" + "TotalFailures": { + "shape": "__integer" }, - "TotalPieces" : { - "shape" : "__integer" + "TotalPieces": { + "shape": "__integer" }, - "TotalProcessed" : { - "shape" : "__integer" + "TotalProcessed": { + "shape": "__integer" }, - "Type" : { - "shape" : "__string" + "Type": { + "shape": "__string" } }, - "required" : [ "JobStatus", "CreationDate", "Type", "Definition", "Id", "ApplicationId" ] + "required": [ + "JobStatus", + "CreationDate", + "Type", + "Definition", + "Id", + "ApplicationId" + ] }, - "ImportJobsResponse" : { - "type" : "structure", - "members" : { - "Item" : { - "shape" : "ListOfImportJobResponse" + "ImportJobsResponse": { + "type": "structure", + "members": { + "Item": { + "shape": "ListOfImportJobResponse" }, - "NextToken" : { - "shape" : "__string" + "NextToken": { + "shape": "__string" } }, - "required" : [ "Item" ] + "required": [ + "Item" + ] }, - "Include" : { - "type" : "string", - "enum" : [ "ALL", "ANY", "NONE" ] + "Include": { + "type": "string", + "enum": [ + "ALL", + "ANY", + "NONE" + ] }, - "InternalServerErrorException" : { - "type" : "structure", - "members" : { - "Message" : { - "shape" : "__string" + "InternalServerErrorException": { + "type": "structure", + "members": { + "Message": { + "shape": "__string" }, - "RequestID" : { - "shape" : "__string" + "RequestID": { + "shape": "__string" } }, - "exception" : true, - "error" : { - "httpStatusCode" : 500 + "exception": true, + "error": { + "httpStatusCode": 500 } }, - "ItemResponse" : { - "type" : "structure", - "members" : { - "EndpointItemResponse" : { - "shape" : "EndpointItemResponse" + "ItemResponse": { + "type": "structure", + "members": { + "EndpointItemResponse": { + "shape": "EndpointItemResponse" }, - "EventsItemResponse" : { - "shape" : "MapOfEventItemResponse" + "EventsItemResponse": { + "shape": "MapOfEventItemResponse" } } }, - "JobStatus" : { - "type" : "string", - "enum" : [ "CREATED", "INITIALIZING", "PROCESSING", "COMPLETING", "COMPLETED", "FAILING", "FAILED" ] + "JobStatus": { + "type": "string", + "enum": [ + "CREATED", + "INITIALIZING", + "PROCESSING", + "COMPLETING", + "COMPLETED", + "FAILING", + "FAILED" + ] }, - "ListTagsForResourceRequest" : { - "type" : "structure", - "members" : { - "ResourceArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "resource-arn" + "ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "shape": "__string", + "location": "uri", + "locationName": "resource-arn" } }, - "required" : [ "ResourceArn" ] + "required": [ + "ResourceArn" + ] }, - "ListTagsForResourceResponse" : { - "type" : "structure", - "members" : { - "TagsModel" : { - "shape" : "TagsModel" + "ListTagsForResourceResponse": { + "type": "structure", + "members": { + "TagsModel": { + "shape": "TagsModel" } }, - "required" : [ "TagsModel" ], - "payload" : "TagsModel" + "required": [ + "TagsModel" + ], + "payload": "TagsModel" }, - "Message" : { - "type" : "structure", - "members" : { - "Action" : { - "shape" : "Action" + "Message": { + "type": "structure", + "members": { + "Action": { + "shape": "Action" }, - "Body" : { - "shape" : "__string" + "Body": { + "shape": "__string" }, - "ImageIconUrl" : { - "shape" : "__string" + "ImageIconUrl": { + "shape": "__string" }, - "ImageSmallIconUrl" : { - "shape" : "__string" + "ImageSmallIconUrl": { + "shape": "__string" }, - "ImageUrl" : { - "shape" : "__string" + "ImageUrl": { + "shape": "__string" }, - "JsonBody" : { - "shape" : "__string" + "JsonBody": { + "shape": "__string" }, - "MediaUrl" : { - "shape" : "__string" + "MediaUrl": { + "shape": "__string" }, - "RawContent" : { - "shape" : "__string" + "RawContent": { + "shape": "__string" }, - "SilentPush" : { - "shape" : "__boolean" + "SilentPush": { + "shape": "__boolean" }, - "TimeToLive" : { - "shape" : "__integer" + "TimeToLive": { + "shape": "__integer" }, - "Title" : { - "shape" : "__string" + "Title": { + "shape": "__string" }, - "Url" : { - "shape" : "__string" + "Url": { + "shape": "__string" } } }, - "MessageBody" : { - "type" : "structure", - "members" : { - "Message" : { - "shape" : "__string" + "MessageBody": { + "type": "structure", + "members": { + "Message": { + "shape": "__string" }, - "RequestID" : { - "shape" : "__string" + "RequestID": { + "shape": "__string" } } }, - "MessageConfiguration" : { - "type" : "structure", - "members" : { - "ADMMessage" : { - "shape" : "Message" + "MessageConfiguration": { + "type": "structure", + "members": { + "ADMMessage": { + "shape": "Message" }, - "APNSMessage" : { - "shape" : "Message" + "APNSMessage": { + "shape": "Message" }, - "BaiduMessage" : { - "shape" : "Message" + "BaiduMessage": { + "shape": "Message" }, - "DefaultMessage" : { - "shape" : "Message" + "DefaultMessage": { + "shape": "Message" }, - "EmailMessage" : { - "shape" : "CampaignEmailMessage" + "EmailMessage": { + "shape": "CampaignEmailMessage" }, - "GCMMessage" : { - "shape" : "Message" + "GCMMessage": { + "shape": "Message" }, - "SMSMessage" : { - "shape" : "CampaignSmsMessage" + "SMSMessage": { + "shape": "CampaignSmsMessage" } } }, - "MessageRequest" : { - "type" : "structure", - "members" : { - "Addresses" : { - "shape" : "MapOfAddressConfiguration" + "MessageRequest": { + "type": "structure", + "members": { + "Addresses": { + "shape": "MapOfAddressConfiguration" }, - "Context" : { - "shape" : "MapOf__string" + "Context": { + "shape": "MapOf__string" }, - "Endpoints" : { - "shape" : "MapOfEndpointSendConfiguration" + "Endpoints": { + "shape": "MapOfEndpointSendConfiguration" }, - "MessageConfiguration" : { - "shape" : "DirectMessageConfiguration" + "MessageConfiguration": { + "shape": "DirectMessageConfiguration" }, - "TraceId" : { - "shape" : "__string" + "TraceId": { + "shape": "__string" } }, - "required" : [ "MessageConfiguration" ] + "required": [ + "MessageConfiguration" + ] }, - "MessageResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "MessageResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" }, - "EndpointResult" : { - "shape" : "MapOfEndpointMessageResult" + "EndpointResult": { + "shape": "MapOfEndpointMessageResult" }, - "RequestId" : { - "shape" : "__string" + "RequestId": { + "shape": "__string" }, - "Result" : { - "shape" : "MapOfMessageResult" + "Result": { + "shape": "MapOfMessageResult" } }, - "required" : [ "ApplicationId" ] + "required": [ + "ApplicationId" + ] }, - "MessageResult" : { - "type" : "structure", - "members" : { - "DeliveryStatus" : { - "shape" : "DeliveryStatus" + "MessageResult": { + "type": "structure", + "members": { + "DeliveryStatus": { + "shape": "DeliveryStatus" }, - "MessageId" : { - "shape" : "__string" + "MessageId": { + "shape": "__string" }, - "StatusCode" : { - "shape" : "__integer" + "StatusCode": { + "shape": "__integer" }, - "StatusMessage" : { - "shape" : "__string" + "StatusMessage": { + "shape": "__string" }, - "UpdatedToken" : { - "shape" : "__string" + "UpdatedToken": { + "shape": "__string" } }, - "required" : [ "DeliveryStatus", "StatusCode" ] + "required": [ + "DeliveryStatus", + "StatusCode" + ] }, - "MessageType" : { - "type" : "string", - "enum" : [ "TRANSACTIONAL", "PROMOTIONAL" ] + "MessageType": { + "type": "string", + "enum": [ + "TRANSACTIONAL", + "PROMOTIONAL" + ] }, - "MethodNotAllowedException" : { - "type" : "structure", - "members" : { - "Message" : { - "shape" : "__string" + "MethodNotAllowedException": { + "type": "structure", + "members": { + "Message": { + "shape": "__string" }, - "RequestID" : { - "shape" : "__string" + "RequestID": { + "shape": "__string" } }, - "exception" : true, - "error" : { - "httpStatusCode" : 405 + "exception": true, + "error": { + "httpStatusCode": 405 } }, - "MetricDimension" : { - "type" : "structure", - "members" : { - "ComparisonOperator" : { - "shape" : "__string" + "MetricDimension": { + "type": "structure", + "members": { + "ComparisonOperator": { + "shape": "__string" }, - "Value" : { - "shape" : "__double" + "Value": { + "shape": "__double" } }, - "required" : [ "ComparisonOperator", "Value" ] + "required": [ + "ComparisonOperator", + "Value" + ] }, - "Mode" : { - "type" : "string", - "enum" : [ "DELIVERY", "FILTER" ] + "Mode": { + "type": "string", + "enum": [ + "DELIVERY", + "FILTER" + ] }, - "NotFoundException" : { - "type" : "structure", - "members" : { - "Message" : { - "shape" : "__string" + "NotFoundException": { + "type": "structure", + "members": { + "Message": { + "shape": "__string" }, - "RequestID" : { - "shape" : "__string" + "RequestID": { + "shape": "__string" } }, - "exception" : true, - "error" : { - "httpStatusCode" : 404 + "exception": true, + "error": { + "httpStatusCode": 404 } }, - "NumberValidateRequest" : { - "type" : "structure", - "members" : { - "IsoCountryCode" : { - "shape" : "__string" + "NumberValidateRequest": { + "type": "structure", + "members": { + "IsoCountryCode": { + "shape": "__string" }, - "PhoneNumber" : { - "shape" : "__string" + "PhoneNumber": { + "shape": "__string" } } }, - "NumberValidateResponse" : { - "type" : "structure", - "members" : { - "Carrier" : { - "shape" : "__string" + "NumberValidateResponse": { + "type": "structure", + "members": { + "Carrier": { + "shape": "__string" }, - "City" : { - "shape" : "__string" + "City": { + "shape": "__string" }, - "CleansedPhoneNumberE164" : { - "shape" : "__string" + "CleansedPhoneNumberE164": { + "shape": "__string" }, - "CleansedPhoneNumberNational" : { - "shape" : "__string" + "CleansedPhoneNumberNational": { + "shape": "__string" }, - "Country" : { - "shape" : "__string" + "Country": { + "shape": "__string" }, - "CountryCodeIso2" : { - "shape" : "__string" + "CountryCodeIso2": { + "shape": "__string" }, - "CountryCodeNumeric" : { - "shape" : "__string" + "CountryCodeNumeric": { + "shape": "__string" }, - "County" : { - "shape" : "__string" + "County": { + "shape": "__string" }, - "OriginalCountryCodeIso2" : { - "shape" : "__string" + "OriginalCountryCodeIso2": { + "shape": "__string" }, - "OriginalPhoneNumber" : { - "shape" : "__string" + "OriginalPhoneNumber": { + "shape": "__string" }, - "PhoneType" : { - "shape" : "__string" + "PhoneType": { + "shape": "__string" }, - "PhoneTypeCode" : { - "shape" : "__integer" + "PhoneTypeCode": { + "shape": "__integer" }, - "Timezone" : { - "shape" : "__string" + "Timezone": { + "shape": "__string" }, - "ZipCode" : { - "shape" : "__string" + "ZipCode": { + "shape": "__string" } } }, - "PhoneNumberValidateRequest" : { - "type" : "structure", - "members" : { - "NumberValidateRequest" : { - "shape" : "NumberValidateRequest" + "PhoneNumberValidateRequest": { + "type": "structure", + "members": { + "NumberValidateRequest": { + "shape": "NumberValidateRequest" } }, - "required" : [ "NumberValidateRequest" ], - "payload" : "NumberValidateRequest" + "required": [ + "NumberValidateRequest" + ], + "payload": "NumberValidateRequest" }, - "PhoneNumberValidateResponse" : { - "type" : "structure", - "members" : { - "NumberValidateResponse" : { - "shape" : "NumberValidateResponse" + "PhoneNumberValidateResponse": { + "type": "structure", + "members": { + "NumberValidateResponse": { + "shape": "NumberValidateResponse" } }, - "required" : [ "NumberValidateResponse" ], - "payload" : "NumberValidateResponse" + "required": [ + "NumberValidateResponse" + ], + "payload": "NumberValidateResponse" }, - "PublicEndpoint" : { - "type" : "structure", - "members" : { - "Address" : { - "shape" : "__string" + "PublicEndpoint": { + "type": "structure", + "members": { + "Address": { + "shape": "__string" }, - "Attributes" : { - "shape" : "MapOfListOf__string" + "Attributes": { + "shape": "MapOfListOf__string" }, - "ChannelType" : { - "shape" : "ChannelType" + "ChannelType": { + "shape": "ChannelType" }, - "Demographic" : { - "shape" : "EndpointDemographic" + "Demographic": { + "shape": "EndpointDemographic" }, - "EffectiveDate" : { - "shape" : "__string" + "EffectiveDate": { + "shape": "__string" }, - "EndpointStatus" : { - "shape" : "__string" + "EndpointStatus": { + "shape": "__string" }, - "Location" : { - "shape" : "EndpointLocation" + "Location": { + "shape": "EndpointLocation" }, - "Metrics" : { - "shape" : "MapOf__double" + "Metrics": { + "shape": "MapOf__double" }, - "OptOut" : { - "shape" : "__string" + "OptOut": { + "shape": "__string" }, - "RequestId" : { - "shape" : "__string" + "RequestId": { + "shape": "__string" }, - "User" : { - "shape" : "EndpointUser" + "User": { + "shape": "EndpointUser" } } }, - "PutEventStreamRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "PutEventStreamRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" }, - "WriteEventStream" : { - "shape" : "WriteEventStream" + "WriteEventStream": { + "shape": "WriteEventStream" } }, - "required" : [ "ApplicationId", "WriteEventStream" ], - "payload" : "WriteEventStream" + "required": [ + "ApplicationId", + "WriteEventStream" + ], + "payload": "WriteEventStream" }, - "PutEventStreamResponse" : { - "type" : "structure", - "members" : { - "EventStream" : { - "shape" : "EventStream" + "PutEventStreamResponse": { + "type": "structure", + "members": { + "EventStream": { + "shape": "EventStream" } }, - "required" : [ "EventStream" ], - "payload" : "EventStream" + "required": [ + "EventStream" + ], + "payload": "EventStream" }, - "PutEventsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "PutEventsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" }, - "EventsRequest" : { - "shape" : "EventsRequest" + "EventsRequest": { + "shape": "EventsRequest" } }, - "required" : [ "ApplicationId", "EventsRequest" ], - "payload" : "EventsRequest" + "required": [ + "ApplicationId", + "EventsRequest" + ], + "payload": "EventsRequest" }, - "PutEventsResponse" : { - "type" : "structure", - "members" : { - "EventsResponse" : { - "shape" : "EventsResponse" + "PutEventsResponse": { + "type": "structure", + "members": { + "EventsResponse": { + "shape": "EventsResponse" } }, - "required" : [ "EventsResponse" ], - "payload" : "EventsResponse" + "required": [ + "EventsResponse" + ], + "payload": "EventsResponse" }, - "QuietTime" : { - "type" : "structure", - "members" : { - "End" : { - "shape" : "__string" + "QuietTime": { + "type": "structure", + "members": { + "End": { + "shape": "__string" }, - "Start" : { - "shape" : "__string" + "Start": { + "shape": "__string" } } }, - "RawEmail" : { - "type" : "structure", - "members" : { - "Data" : { - "shape" : "__blob" + "RawEmail": { + "type": "structure", + "members": { + "Data": { + "shape": "__blob" } } }, - "__blob" : { - "type" : "blob" - }, - "RecencyDimension" : { - "type" : "structure", - "members" : { - "Duration" : { - "shape" : "Duration" + "__blob": { + "type": "blob" + }, + "RecencyDimension": { + "type": "structure", + "members": { + "Duration": { + "shape": "Duration" }, - "RecencyType" : { - "shape" : "RecencyType" + "RecencyType": { + "shape": "RecencyType" } }, - "required" : [ "Duration", "RecencyType" ] + "required": [ + "Duration", + "RecencyType" + ] }, - "RecencyType" : { - "type" : "string", - "enum" : [ "ACTIVE", "INACTIVE" ] + "RecencyType": { + "type": "string", + "enum": [ + "ACTIVE", + "INACTIVE" + ] }, - "RemoveAttributesRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "RemoveAttributesRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" }, - "AttributeType" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "attribute-type" + "AttributeType": { + "shape": "__string", + "location": "uri", + "locationName": "attribute-type" }, - "UpdateAttributesRequest" : { - "shape" : "UpdateAttributesRequest" + "UpdateAttributesRequest": { + "shape": "UpdateAttributesRequest" + } + }, + "required": [ + "AttributeType", + "ApplicationId", + "UpdateAttributesRequest" + ], + "payload": "UpdateAttributesRequest" + }, + "RemoveAttributesResponse": { + "type": "structure", + "members": { + "AttributesResource": { + "shape": "AttributesResource" } }, - "required" : [ "AttributeType", "ApplicationId", "UpdateAttributesRequest" ], - "payload" : "UpdateAttributesRequest" + "required": [ + "AttributesResource" + ], + "payload": "AttributesResource" }, - "RemoveAttributesResponse" : { - "type" : "structure", - "members" : { - "AttributesResource" : { - "shape" : "AttributesResource" + "ResultRow": { + "type": "structure", + "members": { + "GroupedBys": { + "shape": "ListOfResultRowValue" + }, + "Values": { + "shape": "ListOfResultRowValue" } }, - "required" : [ "AttributesResource" ], - "payload" : "AttributesResource" + "required": [ + "GroupedBys", + "Values" + ] }, - "SMSChannelRequest" : { - "type" : "structure", - "members" : { - "Enabled" : { - "shape" : "__boolean" + "ResultRowValue": { + "type": "structure", + "members": { + "Key": { + "shape": "__string" }, - "SenderId" : { - "shape" : "__string" + "Type": { + "shape": "__string" + }, + "Value": { + "shape": "__string" + } + }, + "required": [ + "Type", + "Value", + "Key" + ] + }, + "SMSChannelRequest": { + "type": "structure", + "members": { + "Enabled": { + "shape": "__boolean" }, - "ShortCode" : { - "shape" : "__string" + "SenderId": { + "shape": "__string" + }, + "ShortCode": { + "shape": "__string" } } }, - "SMSChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "SMSChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" }, - "CreationDate" : { - "shape" : "__string" + "CreationDate": { + "shape": "__string" }, - "Enabled" : { - "shape" : "__boolean" + "Enabled": { + "shape": "__boolean" }, - "HasCredential" : { - "shape" : "__boolean" + "HasCredential": { + "shape": "__boolean" }, - "Id" : { - "shape" : "__string" + "Id": { + "shape": "__string" }, - "IsArchived" : { - "shape" : "__boolean" + "IsArchived": { + "shape": "__boolean" }, - "LastModifiedBy" : { - "shape" : "__string" + "LastModifiedBy": { + "shape": "__string" }, - "LastModifiedDate" : { - "shape" : "__string" + "LastModifiedDate": { + "shape": "__string" }, - "Platform" : { - "shape" : "__string" + "Platform": { + "shape": "__string" }, - "PromotionalMessagesPerSecond" : { - "shape" : "__integer" + "PromotionalMessagesPerSecond": { + "shape": "__integer" }, - "SenderId" : { - "shape" : "__string" + "SenderId": { + "shape": "__string" }, - "ShortCode" : { - "shape" : "__string" + "ShortCode": { + "shape": "__string" }, - "TransactionalMessagesPerSecond" : { - "shape" : "__integer" + "TransactionalMessagesPerSecond": { + "shape": "__integer" }, - "Version" : { - "shape" : "__integer" + "Version": { + "shape": "__integer" } }, - "required" : [ "Platform" ] + "required": [ + "Platform" + ] }, - "SMSMessage" : { - "type" : "structure", - "members" : { - "Body" : { - "shape" : "__string" + "SMSMessage": { + "type": "structure", + "members": { + "Body": { + "shape": "__string" }, - "Keyword" : { - "shape" : "__string" + "Keyword": { + "shape": "__string" }, - "MessageType" : { - "shape" : "MessageType" + "MessageType": { + "shape": "MessageType" }, - "OriginationNumber" : { - "shape" : "__string" + "OriginationNumber": { + "shape": "__string" }, - "SenderId" : { - "shape" : "__string" + "SenderId": { + "shape": "__string" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + "Substitutions": { + "shape": "MapOfListOf__string" } } }, - "Schedule" : { - "type" : "structure", - "members" : { - "EndTime" : { - "shape" : "__string" + "Schedule": { + "type": "structure", + "members": { + "EndTime": { + "shape": "__string" }, - "EventFilter" : { - "shape" : "CampaignEventFilter" + "EventFilter": { + "shape": "CampaignEventFilter" }, - "Frequency" : { - "shape" : "Frequency" + "Frequency": { + "shape": "Frequency" }, - "IsLocalTime" : { - "shape" : "__boolean" + "IsLocalTime": { + "shape": "__boolean" }, - "QuietTime" : { - "shape" : "QuietTime" + "QuietTime": { + "shape": "QuietTime" }, - "StartTime" : { - "shape" : "__string" + "StartTime": { + "shape": "__string" }, - "Timezone" : { - "shape" : "__string" + "Timezone": { + "shape": "__string" } }, - "required" : [ "StartTime" ] + "required": [ + "StartTime" + ] }, - "SegmentBehaviors" : { - "type" : "structure", - "members" : { - "Recency" : { - "shape" : "RecencyDimension" + "SegmentBehaviors": { + "type": "structure", + "members": { + "Recency": { + "shape": "RecencyDimension" } } }, - "SegmentDemographics" : { - "type" : "structure", - "members" : { - "AppVersion" : { - "shape" : "SetDimension" + "SegmentDemographics": { + "type": "structure", + "members": { + "AppVersion": { + "shape": "SetDimension" }, - "Channel" : { - "shape" : "SetDimension" + "Channel": { + "shape": "SetDimension" }, - "DeviceType" : { - "shape" : "SetDimension" + "DeviceType": { + "shape": "SetDimension" }, - "Make" : { - "shape" : "SetDimension" + "Make": { + "shape": "SetDimension" }, - "Model" : { - "shape" : "SetDimension" + "Model": { + "shape": "SetDimension" }, - "Platform" : { - "shape" : "SetDimension" + "Platform": { + "shape": "SetDimension" } } }, - "SegmentDimensions" : { - "type" : "structure", - "members" : { - "Attributes" : { - "shape" : "MapOfAttributeDimension" + "SegmentDimensions": { + "type": "structure", + "members": { + "Attributes": { + "shape": "MapOfAttributeDimension" }, - "Behavior" : { - "shape" : "SegmentBehaviors" + "Behavior": { + "shape": "SegmentBehaviors" }, - "Demographic" : { - "shape" : "SegmentDemographics" + "Demographic": { + "shape": "SegmentDemographics" }, - "Location" : { - "shape" : "SegmentLocation" + "Location": { + "shape": "SegmentLocation" }, - "Metrics" : { - "shape" : "MapOfMetricDimension" + "Metrics": { + "shape": "MapOfMetricDimension" }, - "UserAttributes" : { - "shape" : "MapOfAttributeDimension" + "UserAttributes": { + "shape": "MapOfAttributeDimension" } } }, - "SegmentGroup" : { - "type" : "structure", - "members" : { - "Dimensions" : { - "shape" : "ListOfSegmentDimensions" + "SegmentGroup": { + "type": "structure", + "members": { + "Dimensions": { + "shape": "ListOfSegmentDimensions" }, - "SourceSegments" : { - "shape" : "ListOfSegmentReference" + "SourceSegments": { + "shape": "ListOfSegmentReference" }, - "SourceType" : { - "shape" : "SourceType" + "SourceType": { + "shape": "SourceType" }, - "Type" : { - "shape" : "Type" + "Type": { + "shape": "Type" } } }, - "SegmentGroupList" : { - "type" : "structure", - "members" : { - "Groups" : { - "shape" : "ListOfSegmentGroup" + "SegmentGroupList": { + "type": "structure", + "members": { + "Groups": { + "shape": "ListOfSegmentGroup" }, - "Include" : { - "shape" : "Include" + "Include": { + "shape": "Include" } } }, - "SegmentImportResource" : { - "type" : "structure", - "members" : { - "ChannelCounts" : { - "shape" : "MapOf__integer" + "SegmentImportResource": { + "type": "structure", + "members": { + "ChannelCounts": { + "shape": "MapOf__integer" }, - "ExternalId" : { - "shape" : "__string" + "ExternalId": { + "shape": "__string" }, - "Format" : { - "shape" : "Format" + "Format": { + "shape": "Format" }, - "RoleArn" : { - "shape" : "__string" + "RoleArn": { + "shape": "__string" }, - "S3Url" : { - "shape" : "__string" + "S3Url": { + "shape": "__string" }, - "Size" : { - "shape" : "__integer" + "Size": { + "shape": "__integer" } }, - "required" : [ "Format", "S3Url", "Size", "ExternalId", "RoleArn" ] + "required": [ + "Format", + "S3Url", + "Size", + "ExternalId", + "RoleArn" + ] }, - "SegmentLocation" : { - "type" : "structure", - "members" : { - "Country" : { - "shape" : "SetDimension" + "SegmentLocation": { + "type": "structure", + "members": { + "Country": { + "shape": "SetDimension" }, - "GPSPoint" : { - "shape" : "GPSPointDimension" + "GPSPoint": { + "shape": "GPSPointDimension" } } }, - "SegmentReference" : { - "type" : "structure", - "members" : { - "Id" : { - "shape" : "__string" + "SegmentReference": { + "type": "structure", + "members": { + "Id": { + "shape": "__string" }, - "Version" : { - "shape" : "__integer" + "Version": { + "shape": "__integer" } }, - "required" : [ "Id" ] + "required": [ + "Id" + ] }, - "SegmentResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "SegmentResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" }, - "Arn" : { - "shape" : "__string" + "Arn": { + "shape": "__string" }, - "CreationDate" : { - "shape" : "__string" + "CreationDate": { + "shape": "__string" }, - "Dimensions" : { - "shape" : "SegmentDimensions" + "Dimensions": { + "shape": "SegmentDimensions" }, - "Id" : { - "shape" : "__string" + "Id": { + "shape": "__string" }, - "ImportDefinition" : { - "shape" : "SegmentImportResource" + "ImportDefinition": { + "shape": "SegmentImportResource" }, - "LastModifiedDate" : { - "shape" : "__string" + "LastModifiedDate": { + "shape": "__string" }, - "Name" : { - "shape" : "__string" + "Name": { + "shape": "__string" }, - "SegmentGroups" : { - "shape" : "SegmentGroupList" + "SegmentGroups": { + "shape": "SegmentGroupList" }, - "SegmentType" : { - "shape" : "SegmentType" + "SegmentType": { + "shape": "SegmentType" }, - "tags" : { - "shape" : "MapOf__string", - "locationName" : "tags" + "tags": { + "shape": "MapOf__string", + "locationName": "tags" }, - "Version" : { - "shape" : "__integer" + "Version": { + "shape": "__integer" } }, - "required" : [ "SegmentType", "CreationDate", "Id", "Arn", "ApplicationId" ] + "required": [ + "SegmentType", + "CreationDate", + "Id", + "Arn", + "ApplicationId" + ] }, - "SegmentType" : { - "type" : "string", - "enum" : [ "DIMENSIONAL", "IMPORT" ] + "SegmentType": { + "type": "string", + "enum": [ + "DIMENSIONAL", + "IMPORT" + ] }, - "SegmentsResponse" : { - "type" : "structure", - "members" : { - "Item" : { - "shape" : "ListOfSegmentResponse" + "SegmentsResponse": { + "type": "structure", + "members": { + "Item": { + "shape": "ListOfSegmentResponse" }, - "NextToken" : { - "shape" : "__string" + "NextToken": { + "shape": "__string" } }, - "required" : [ "Item" ] + "required": [ + "Item" + ] }, - "SendMessagesRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "SendMessagesRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" }, - "MessageRequest" : { - "shape" : "MessageRequest" + "MessageRequest": { + "shape": "MessageRequest" } }, - "required" : [ "ApplicationId", "MessageRequest" ], - "payload" : "MessageRequest" + "required": [ + "ApplicationId", + "MessageRequest" + ], + "payload": "MessageRequest" }, - "SendMessagesResponse" : { - "type" : "structure", - "members" : { - "MessageResponse" : { - "shape" : "MessageResponse" + "SendMessagesResponse": { + "type": "structure", + "members": { + "MessageResponse": { + "shape": "MessageResponse" } }, - "required" : [ "MessageResponse" ], - "payload" : "MessageResponse" + "required": [ + "MessageResponse" + ], + "payload": "MessageResponse" }, - "SendUsersMessageRequest" : { - "type" : "structure", - "members" : { - "Context" : { - "shape" : "MapOf__string" + "SendUsersMessageRequest": { + "type": "structure", + "members": { + "Context": { + "shape": "MapOf__string" }, - "MessageConfiguration" : { - "shape" : "DirectMessageConfiguration" + "MessageConfiguration": { + "shape": "DirectMessageConfiguration" }, - "TraceId" : { - "shape" : "__string" + "TraceId": { + "shape": "__string" }, - "Users" : { - "shape" : "MapOfEndpointSendConfiguration" + "Users": { + "shape": "MapOfEndpointSendConfiguration" } }, - "required" : [ "MessageConfiguration", "Users" ] + "required": [ + "MessageConfiguration", + "Users" + ] }, - "SendUsersMessageResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "SendUsersMessageResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" }, - "RequestId" : { - "shape" : "__string" + "RequestId": { + "shape": "__string" }, - "Result" : { - "shape" : "MapOfMapOfEndpointMessageResult" + "Result": { + "shape": "MapOfMapOfEndpointMessageResult" } }, - "required" : [ "ApplicationId" ] + "required": [ + "ApplicationId" + ] }, - "SendUsersMessagesRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "SendUsersMessagesRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" }, - "SendUsersMessageRequest" : { - "shape" : "SendUsersMessageRequest" + "SendUsersMessageRequest": { + "shape": "SendUsersMessageRequest" } }, - "required" : [ "ApplicationId", "SendUsersMessageRequest" ], - "payload" : "SendUsersMessageRequest" + "required": [ + "ApplicationId", + "SendUsersMessageRequest" + ], + "payload": "SendUsersMessageRequest" }, - "SendUsersMessagesResponse" : { - "type" : "structure", - "members" : { - "SendUsersMessageResponse" : { - "shape" : "SendUsersMessageResponse" + "SendUsersMessagesResponse": { + "type": "structure", + "members": { + "SendUsersMessageResponse": { + "shape": "SendUsersMessageResponse" } }, - "required" : [ "SendUsersMessageResponse" ], - "payload" : "SendUsersMessageResponse" + "required": [ + "SendUsersMessageResponse" + ], + "payload": "SendUsersMessageResponse" }, - "Session" : { - "type" : "structure", - "members" : { - "Duration" : { - "shape" : "__integer" + "Session": { + "type": "structure", + "members": { + "Duration": { + "shape": "__integer" }, - "Id" : { - "shape" : "__string" + "Id": { + "shape": "__string" }, - "StartTimestamp" : { - "shape" : "__string" + "StartTimestamp": { + "shape": "__string" }, - "StopTimestamp" : { - "shape" : "__string" + "StopTimestamp": { + "shape": "__string" } }, - "required" : [ "StartTimestamp", "Id" ] + "required": [ + "StartTimestamp", + "Id" + ] }, - "SetDimension" : { - "type" : "structure", - "members" : { - "DimensionType" : { - "shape" : "DimensionType" + "SetDimension": { + "type": "structure", + "members": { + "DimensionType": { + "shape": "DimensionType" }, - "Values" : { - "shape" : "ListOf__string" + "Values": { + "shape": "ListOf__string" } }, - "required" : [ "Values" ] + "required": [ + "Values" + ] }, - "SimpleEmail" : { - "type" : "structure", - "members" : { - "HtmlPart" : { - "shape" : "SimpleEmailPart" + "SimpleEmail": { + "type": "structure", + "members": { + "HtmlPart": { + "shape": "SimpleEmailPart" }, - "Subject" : { - "shape" : "SimpleEmailPart" + "Subject": { + "shape": "SimpleEmailPart" }, - "TextPart" : { - "shape" : "SimpleEmailPart" + "TextPart": { + "shape": "SimpleEmailPart" } } }, - "SimpleEmailPart" : { - "type" : "structure", - "members" : { - "Charset" : { - "shape" : "__string" + "SimpleEmailPart": { + "type": "structure", + "members": { + "Charset": { + "shape": "__string" }, - "Data" : { - "shape" : "__string" + "Data": { + "shape": "__string" } } }, - "SourceType" : { - "type" : "string", - "enum" : [ "ALL", "ANY", "NONE" ] - }, - "TagResourceRequest" : { - "type" : "structure", - "members" : { - "ResourceArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "resource-arn" - }, - "TagsModel" : { - "shape" : "TagsModel" - } - }, - "required" : [ "ResourceArn", "TagsModel" ], - "payload" : "TagsModel" - }, - "TagsModel" : { - "type" : "structure", - "members" : { - "tags" : { - "shape" : "MapOf__string", - "locationName" : "tags" - } - }, - "required" : [ "tags" ] - }, - "TooManyRequestsException" : { - "type" : "structure", - "members" : { - "Message" : { - "shape" : "__string" - }, - "RequestID" : { - "shape" : "__string" - } - }, - "exception" : true, - "error" : { - "httpStatusCode" : 429 + "SourceType": { + "type": "string", + "enum": [ + "ALL", + "ANY", + "NONE" + ] + }, + "TagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "shape": "__string", + "location": "uri", + "locationName": "resource-arn" + }, + "TagsModel": { + "shape": "TagsModel" + } + }, + "required": [ + "ResourceArn", + "TagsModel" + ], + "payload": "TagsModel" + }, + "TagsModel": { + "type": "structure", + "members": { + "tags": { + "shape": "MapOf__string", + "locationName": "tags" + } + }, + "required": [ + "tags" + ] + }, + "TooManyRequestsException": { + "type": "structure", + "members": { + "Message": { + "shape": "__string" + }, + "RequestID": { + "shape": "__string" + } + }, + "exception": true, + "error": { + "httpStatusCode": 429 } }, - "TreatmentResource" : { - "type" : "structure", - "members" : { - "Id" : { - "shape" : "__string" - }, - "MessageConfiguration" : { - "shape" : "MessageConfiguration" - }, - "Schedule" : { - "shape" : "Schedule" - }, - "SizePercent" : { - "shape" : "__integer" - }, - "State" : { - "shape" : "CampaignState" - }, - "TreatmentDescription" : { - "shape" : "__string" - }, - "TreatmentName" : { - "shape" : "__string" - } - }, - "required" : [ "Id", "SizePercent" ] - }, - "Type" : { - "type" : "string", - "enum" : [ "ALL", "ANY", "NONE" ] - }, - "UntagResourceRequest" : { - "type" : "structure", - "members" : { - "ResourceArn" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "resource-arn" - }, - "TagKeys" : { - "shape" : "ListOf__string", - "location" : "querystring", - "locationName" : "tagKeys" - } - }, - "required" : [ "TagKeys", "ResourceArn" ] - }, - "UpdateAdmChannelRequest" : { - "type" : "structure", - "members" : { - "ADMChannelRequest" : { - "shape" : "ADMChannelRequest" - }, - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } - }, - "required" : [ "ApplicationId", "ADMChannelRequest" ], - "payload" : "ADMChannelRequest" - }, - "UpdateAdmChannelResponse" : { - "type" : "structure", - "members" : { - "ADMChannelResponse" : { - "shape" : "ADMChannelResponse" - } - }, - "required" : [ "ADMChannelResponse" ], - "payload" : "ADMChannelResponse" - }, - "UpdateApnsChannelRequest" : { - "type" : "structure", - "members" : { - "APNSChannelRequest" : { - "shape" : "APNSChannelRequest" - }, - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } - }, - "required" : [ "ApplicationId", "APNSChannelRequest" ], - "payload" : "APNSChannelRequest" - }, - "UpdateApnsChannelResponse" : { - "type" : "structure", - "members" : { - "APNSChannelResponse" : { - "shape" : "APNSChannelResponse" - } - }, - "required" : [ "APNSChannelResponse" ], - "payload" : "APNSChannelResponse" - }, - "UpdateApnsSandboxChannelRequest" : { - "type" : "structure", - "members" : { - "APNSSandboxChannelRequest" : { - "shape" : "APNSSandboxChannelRequest" - }, - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } - }, - "required" : [ "ApplicationId", "APNSSandboxChannelRequest" ], - "payload" : "APNSSandboxChannelRequest" - }, - "UpdateApnsSandboxChannelResponse" : { - "type" : "structure", - "members" : { - "APNSSandboxChannelResponse" : { - "shape" : "APNSSandboxChannelResponse" - } - }, - "required" : [ "APNSSandboxChannelResponse" ], - "payload" : "APNSSandboxChannelResponse" - }, - "UpdateApnsVoipChannelRequest" : { - "type" : "structure", - "members" : { - "APNSVoipChannelRequest" : { - "shape" : "APNSVoipChannelRequest" + "TreatmentResource": { + "type": "structure", + "members": { + "Id": { + "shape": "__string" }, - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } - }, - "required" : [ "ApplicationId", "APNSVoipChannelRequest" ], - "payload" : "APNSVoipChannelRequest" - }, - "UpdateApnsVoipChannelResponse" : { - "type" : "structure", - "members" : { - "APNSVoipChannelResponse" : { - "shape" : "APNSVoipChannelResponse" - } - }, - "required" : [ "APNSVoipChannelResponse" ], - "payload" : "APNSVoipChannelResponse" - }, - "UpdateApnsVoipSandboxChannelRequest" : { - "type" : "structure", - "members" : { - "APNSVoipSandboxChannelRequest" : { - "shape" : "APNSVoipSandboxChannelRequest" + "MessageConfiguration": { + "shape": "MessageConfiguration" + }, + "Schedule": { + "shape": "Schedule" }, - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - } - }, - "required" : [ "ApplicationId", "APNSVoipSandboxChannelRequest" ], - "payload" : "APNSVoipSandboxChannelRequest" - }, - "UpdateApnsVoipSandboxChannelResponse" : { - "type" : "structure", - "members" : { - "APNSVoipSandboxChannelResponse" : { - "shape" : "APNSVoipSandboxChannelResponse" - } - }, - "required" : [ "APNSVoipSandboxChannelResponse" ], - "payload" : "APNSVoipSandboxChannelResponse" - }, - "UpdateApplicationSettingsRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" + "SizePercent": { + "shape": "__integer" + }, + "State": { + "shape": "CampaignState" }, - "WriteApplicationSettingsRequest" : { - "shape" : "WriteApplicationSettingsRequest" - } - }, - "required" : [ "ApplicationId", "WriteApplicationSettingsRequest" ], - "payload" : "WriteApplicationSettingsRequest" - }, - "UpdateApplicationSettingsResponse" : { - "type" : "structure", - "members" : { - "ApplicationSettingsResource" : { - "shape" : "ApplicationSettingsResource" - } - }, - "required" : [ "ApplicationSettingsResource" ], - "payload" : "ApplicationSettingsResource" + "TreatmentDescription": { + "shape": "__string" + }, + "TreatmentName": { + "shape": "__string" + } + }, + "required": [ + "Id", + "SizePercent" + ] }, - "UpdateAttributesRequest" : { - "type" : "structure", - "members" : { - "Blacklist" : { - "shape" : "ListOf__string" + "Type": { + "type": "string", + "enum": [ + "ALL", + "ANY", + "NONE" + ] + }, + "UntagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "shape": "__string", + "location": "uri", + "locationName": "resource-arn" + }, + "TagKeys": { + "shape": "ListOf__string", + "location": "querystring", + "locationName": "tagKeys" + } + }, + "required": [ + "TagKeys", + "ResourceArn" + ] + }, + "UpdateAdmChannelRequest": { + "type": "structure", + "members": { + "ADMChannelRequest": { + "shape": "ADMChannelRequest" + }, + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId", + "ADMChannelRequest" + ], + "payload": "ADMChannelRequest" + }, + "UpdateAdmChannelResponse": { + "type": "structure", + "members": { + "ADMChannelResponse": { + "shape": "ADMChannelResponse" + } + }, + "required": [ + "ADMChannelResponse" + ], + "payload": "ADMChannelResponse" + }, + "UpdateApnsChannelRequest": { + "type": "structure", + "members": { + "APNSChannelRequest": { + "shape": "APNSChannelRequest" + }, + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId", + "APNSChannelRequest" + ], + "payload": "APNSChannelRequest" + }, + "UpdateApnsChannelResponse": { + "type": "structure", + "members": { + "APNSChannelResponse": { + "shape": "APNSChannelResponse" + } + }, + "required": [ + "APNSChannelResponse" + ], + "payload": "APNSChannelResponse" + }, + "UpdateApnsSandboxChannelRequest": { + "type": "structure", + "members": { + "APNSSandboxChannelRequest": { + "shape": "APNSSandboxChannelRequest" + }, + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId", + "APNSSandboxChannelRequest" + ], + "payload": "APNSSandboxChannelRequest" + }, + "UpdateApnsSandboxChannelResponse": { + "type": "structure", + "members": { + "APNSSandboxChannelResponse": { + "shape": "APNSSandboxChannelResponse" + } + }, + "required": [ + "APNSSandboxChannelResponse" + ], + "payload": "APNSSandboxChannelResponse" + }, + "UpdateApnsVoipChannelRequest": { + "type": "structure", + "members": { + "APNSVoipChannelRequest": { + "shape": "APNSVoipChannelRequest" + }, + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId", + "APNSVoipChannelRequest" + ], + "payload": "APNSVoipChannelRequest" + }, + "UpdateApnsVoipChannelResponse": { + "type": "structure", + "members": { + "APNSVoipChannelResponse": { + "shape": "APNSVoipChannelResponse" + } + }, + "required": [ + "APNSVoipChannelResponse" + ], + "payload": "APNSVoipChannelResponse" + }, + "UpdateApnsVoipSandboxChannelRequest": { + "type": "structure", + "members": { + "APNSVoipSandboxChannelRequest": { + "shape": "APNSVoipSandboxChannelRequest" + }, + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + } + }, + "required": [ + "ApplicationId", + "APNSVoipSandboxChannelRequest" + ], + "payload": "APNSVoipSandboxChannelRequest" + }, + "UpdateApnsVoipSandboxChannelResponse": { + "type": "structure", + "members": { + "APNSVoipSandboxChannelResponse": { + "shape": "APNSVoipSandboxChannelResponse" + } + }, + "required": [ + "APNSVoipSandboxChannelResponse" + ], + "payload": "APNSVoipSandboxChannelResponse" + }, + "UpdateApplicationSettingsRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "WriteApplicationSettingsRequest": { + "shape": "WriteApplicationSettingsRequest" + } + }, + "required": [ + "ApplicationId", + "WriteApplicationSettingsRequest" + ], + "payload": "WriteApplicationSettingsRequest" + }, + "UpdateApplicationSettingsResponse": { + "type": "structure", + "members": { + "ApplicationSettingsResource": { + "shape": "ApplicationSettingsResource" + } + }, + "required": [ + "ApplicationSettingsResource" + ], + "payload": "ApplicationSettingsResource" + }, + "UpdateAttributesRequest": { + "type": "structure", + "members": { + "Blacklist": { + "shape": "ListOf__string" } } }, - "UpdateBaiduChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "BaiduChannelRequest" : { - "shape" : "BaiduChannelRequest" - } - }, - "required" : [ "ApplicationId", "BaiduChannelRequest" ], - "payload" : "BaiduChannelRequest" - }, - "UpdateBaiduChannelResponse" : { - "type" : "structure", - "members" : { - "BaiduChannelResponse" : { - "shape" : "BaiduChannelResponse" - } - }, - "required" : [ "BaiduChannelResponse" ], - "payload" : "BaiduChannelResponse" - }, - "UpdateCampaignRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "CampaignId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "campaign-id" - }, - "WriteCampaignRequest" : { - "shape" : "WriteCampaignRequest" - } - }, - "required" : [ "CampaignId", "ApplicationId", "WriteCampaignRequest" ], - "payload" : "WriteCampaignRequest" - }, - "UpdateCampaignResponse" : { - "type" : "structure", - "members" : { - "CampaignResponse" : { - "shape" : "CampaignResponse" - } - }, - "required" : [ "CampaignResponse" ], - "payload" : "CampaignResponse" - }, - "UpdateEmailChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "EmailChannelRequest" : { - "shape" : "EmailChannelRequest" - } - }, - "required" : [ "ApplicationId", "EmailChannelRequest" ], - "payload" : "EmailChannelRequest" - }, - "UpdateEmailChannelResponse" : { - "type" : "structure", - "members" : { - "EmailChannelResponse" : { - "shape" : "EmailChannelResponse" - } - }, - "required" : [ "EmailChannelResponse" ], - "payload" : "EmailChannelResponse" - }, - "UpdateEndpointRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "EndpointId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "endpoint-id" - }, - "EndpointRequest" : { - "shape" : "EndpointRequest" - } - }, - "required" : [ "ApplicationId", "EndpointId", "EndpointRequest" ], - "payload" : "EndpointRequest" - }, - "UpdateEndpointResponse" : { - "type" : "structure", - "members" : { - "MessageBody" : { - "shape" : "MessageBody" - } - }, - "required" : [ "MessageBody" ], - "payload" : "MessageBody" - }, - "UpdateEndpointsBatchRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "EndpointBatchRequest" : { - "shape" : "EndpointBatchRequest" - } - }, - "required" : [ "ApplicationId", "EndpointBatchRequest" ], - "payload" : "EndpointBatchRequest" - }, - "UpdateEndpointsBatchResponse" : { - "type" : "structure", - "members" : { - "MessageBody" : { - "shape" : "MessageBody" - } - }, - "required" : [ "MessageBody" ], - "payload" : "MessageBody" - }, - "UpdateGcmChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "GCMChannelRequest" : { - "shape" : "GCMChannelRequest" - } - }, - "required" : [ "ApplicationId", "GCMChannelRequest" ], - "payload" : "GCMChannelRequest" - }, - "UpdateGcmChannelResponse" : { - "type" : "structure", - "members" : { - "GCMChannelResponse" : { - "shape" : "GCMChannelResponse" - } - }, - "required" : [ "GCMChannelResponse" ], - "payload" : "GCMChannelResponse" - }, - "UpdateSegmentRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "SegmentId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "segment-id" - }, - "WriteSegmentRequest" : { - "shape" : "WriteSegmentRequest" - } - }, - "required" : [ "SegmentId", "ApplicationId", "WriteSegmentRequest" ], - "payload" : "WriteSegmentRequest" - }, - "UpdateSegmentResponse" : { - "type" : "structure", - "members" : { - "SegmentResponse" : { - "shape" : "SegmentResponse" - } - }, - "required" : [ "SegmentResponse" ], - "payload" : "SegmentResponse" - }, - "UpdateSmsChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "SMSChannelRequest" : { - "shape" : "SMSChannelRequest" - } - }, - "required" : [ "ApplicationId", "SMSChannelRequest" ], - "payload" : "SMSChannelRequest" - }, - "UpdateSmsChannelResponse" : { - "type" : "structure", - "members" : { - "SMSChannelResponse" : { - "shape" : "SMSChannelResponse" - } - }, - "required" : [ "SMSChannelResponse" ], - "payload" : "SMSChannelResponse" - }, - "UpdateVoiceChannelRequest" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string", - "location" : "uri", - "locationName" : "application-id" - }, - "VoiceChannelRequest" : { - "shape" : "VoiceChannelRequest" - } - }, - "required" : [ "ApplicationId", "VoiceChannelRequest" ], - "payload" : "VoiceChannelRequest" - }, - "UpdateVoiceChannelResponse" : { - "type" : "structure", - "members" : { - "VoiceChannelResponse" : { - "shape" : "VoiceChannelResponse" - } - }, - "required" : [ "VoiceChannelResponse" ], - "payload" : "VoiceChannelResponse" - }, - "VoiceChannelRequest" : { - "type" : "structure", - "members" : { - "Enabled" : { - "shape" : "__boolean" + "UpdateBaiduChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "BaiduChannelRequest": { + "shape": "BaiduChannelRequest" + } + }, + "required": [ + "ApplicationId", + "BaiduChannelRequest" + ], + "payload": "BaiduChannelRequest" + }, + "UpdateBaiduChannelResponse": { + "type": "structure", + "members": { + "BaiduChannelResponse": { + "shape": "BaiduChannelResponse" + } + }, + "required": [ + "BaiduChannelResponse" + ], + "payload": "BaiduChannelResponse" + }, + "UpdateCampaignRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "CampaignId": { + "shape": "__string", + "location": "uri", + "locationName": "campaign-id" + }, + "WriteCampaignRequest": { + "shape": "WriteCampaignRequest" + } + }, + "required": [ + "CampaignId", + "ApplicationId", + "WriteCampaignRequest" + ], + "payload": "WriteCampaignRequest" + }, + "UpdateCampaignResponse": { + "type": "structure", + "members": { + "CampaignResponse": { + "shape": "CampaignResponse" + } + }, + "required": [ + "CampaignResponse" + ], + "payload": "CampaignResponse" + }, + "UpdateEmailChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "EmailChannelRequest": { + "shape": "EmailChannelRequest" + } + }, + "required": [ + "ApplicationId", + "EmailChannelRequest" + ], + "payload": "EmailChannelRequest" + }, + "UpdateEmailChannelResponse": { + "type": "structure", + "members": { + "EmailChannelResponse": { + "shape": "EmailChannelResponse" + } + }, + "required": [ + "EmailChannelResponse" + ], + "payload": "EmailChannelResponse" + }, + "UpdateEndpointRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "EndpointId": { + "shape": "__string", + "location": "uri", + "locationName": "endpoint-id" + }, + "EndpointRequest": { + "shape": "EndpointRequest" + } + }, + "required": [ + "ApplicationId", + "EndpointId", + "EndpointRequest" + ], + "payload": "EndpointRequest" + }, + "UpdateEndpointResponse": { + "type": "structure", + "members": { + "MessageBody": { + "shape": "MessageBody" + } + }, + "required": [ + "MessageBody" + ], + "payload": "MessageBody" + }, + "UpdateEndpointsBatchRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "EndpointBatchRequest": { + "shape": "EndpointBatchRequest" + } + }, + "required": [ + "ApplicationId", + "EndpointBatchRequest" + ], + "payload": "EndpointBatchRequest" + }, + "UpdateEndpointsBatchResponse": { + "type": "structure", + "members": { + "MessageBody": { + "shape": "MessageBody" + } + }, + "required": [ + "MessageBody" + ], + "payload": "MessageBody" + }, + "UpdateGcmChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "GCMChannelRequest": { + "shape": "GCMChannelRequest" + } + }, + "required": [ + "ApplicationId", + "GCMChannelRequest" + ], + "payload": "GCMChannelRequest" + }, + "UpdateGcmChannelResponse": { + "type": "structure", + "members": { + "GCMChannelResponse": { + "shape": "GCMChannelResponse" + } + }, + "required": [ + "GCMChannelResponse" + ], + "payload": "GCMChannelResponse" + }, + "UpdateSegmentRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "SegmentId": { + "shape": "__string", + "location": "uri", + "locationName": "segment-id" + }, + "WriteSegmentRequest": { + "shape": "WriteSegmentRequest" + } + }, + "required": [ + "SegmentId", + "ApplicationId", + "WriteSegmentRequest" + ], + "payload": "WriteSegmentRequest" + }, + "UpdateSegmentResponse": { + "type": "structure", + "members": { + "SegmentResponse": { + "shape": "SegmentResponse" + } + }, + "required": [ + "SegmentResponse" + ], + "payload": "SegmentResponse" + }, + "UpdateSmsChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "SMSChannelRequest": { + "shape": "SMSChannelRequest" + } + }, + "required": [ + "ApplicationId", + "SMSChannelRequest" + ], + "payload": "SMSChannelRequest" + }, + "UpdateSmsChannelResponse": { + "type": "structure", + "members": { + "SMSChannelResponse": { + "shape": "SMSChannelResponse" + } + }, + "required": [ + "SMSChannelResponse" + ], + "payload": "SMSChannelResponse" + }, + "UpdateVoiceChannelRequest": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string", + "location": "uri", + "locationName": "application-id" + }, + "VoiceChannelRequest": { + "shape": "VoiceChannelRequest" + } + }, + "required": [ + "ApplicationId", + "VoiceChannelRequest" + ], + "payload": "VoiceChannelRequest" + }, + "UpdateVoiceChannelResponse": { + "type": "structure", + "members": { + "VoiceChannelResponse": { + "shape": "VoiceChannelResponse" + } + }, + "required": [ + "VoiceChannelResponse" + ], + "payload": "VoiceChannelResponse" + }, + "VoiceChannelRequest": { + "type": "structure", + "members": { + "Enabled": { + "shape": "__boolean" } } }, - "VoiceChannelResponse" : { - "type" : "structure", - "members" : { - "ApplicationId" : { - "shape" : "__string" + "VoiceChannelResponse": { + "type": "structure", + "members": { + "ApplicationId": { + "shape": "__string" + }, + "CreationDate": { + "shape": "__string" }, - "CreationDate" : { - "shape" : "__string" + "Enabled": { + "shape": "__boolean" }, - "Enabled" : { - "shape" : "__boolean" + "HasCredential": { + "shape": "__boolean" }, - "HasCredential" : { - "shape" : "__boolean" + "Id": { + "shape": "__string" }, - "Id" : { - "shape" : "__string" + "IsArchived": { + "shape": "__boolean" }, - "IsArchived" : { - "shape" : "__boolean" + "LastModifiedBy": { + "shape": "__string" }, - "LastModifiedBy" : { - "shape" : "__string" + "LastModifiedDate": { + "shape": "__string" }, - "LastModifiedDate" : { - "shape" : "__string" + "OriginationNumber": { + "shape": "__string" }, - "Platform" : { - "shape" : "__string" + "Platform": { + "shape": "__string" }, - "Version" : { - "shape" : "__integer" + "Version": { + "shape": "__integer" } }, - "required" : [ "Platform" ] + "required": [ + "Platform" + ] }, - "VoiceMessage" : { - "type" : "structure", - "members" : { - "Body" : { - "shape" : "__string" + "VoiceMessage": { + "type": "structure", + "members": { + "Body": { + "shape": "__string" }, - "LanguageCode" : { - "shape" : "__string" + "LanguageCode": { + "shape": "__string" }, - "OriginationNumber" : { - "shape" : "__string" + "OriginationNumber": { + "shape": "__string" }, - "Substitutions" : { - "shape" : "MapOfListOf__string" + "Substitutions": { + "shape": "MapOfListOf__string" }, - "VoiceId" : { - "shape" : "__string" + "VoiceId": { + "shape": "__string" } } }, - "WriteApplicationSettingsRequest" : { - "type" : "structure", - "members" : { - "CampaignHook" : { - "shape" : "CampaignHook" + "WriteApplicationSettingsRequest": { + "type": "structure", + "members": { + "CampaignHook": { + "shape": "CampaignHook" }, - "CloudWatchMetricsEnabled" : { - "shape" : "__boolean" + "CloudWatchMetricsEnabled": { + "shape": "__boolean" }, - "Limits" : { - "shape" : "CampaignLimits" + "Limits": { + "shape": "CampaignLimits" }, - "QuietTime" : { - "shape" : "QuietTime" + "QuietTime": { + "shape": "QuietTime" } } }, - "WriteCampaignRequest" : { - "type" : "structure", - "members" : { - "AdditionalTreatments" : { - "shape" : "ListOfWriteTreatmentResource" + "WriteCampaignRequest": { + "type": "structure", + "members": { + "AdditionalTreatments": { + "shape": "ListOfWriteTreatmentResource" }, - "Description" : { - "shape" : "__string" + "Description": { + "shape": "__string" }, - "HoldoutPercent" : { - "shape" : "__integer" + "HoldoutPercent": { + "shape": "__integer" }, - "Hook" : { - "shape" : "CampaignHook" + "Hook": { + "shape": "CampaignHook" }, - "IsPaused" : { - "shape" : "__boolean" + "IsPaused": { + "shape": "__boolean" }, - "Limits" : { - "shape" : "CampaignLimits" + "Limits": { + "shape": "CampaignLimits" }, - "MessageConfiguration" : { - "shape" : "MessageConfiguration" + "MessageConfiguration": { + "shape": "MessageConfiguration" }, - "Name" : { - "shape" : "__string" + "Name": { + "shape": "__string" }, - "Schedule" : { - "shape" : "Schedule" + "Schedule": { + "shape": "Schedule" }, - "SegmentId" : { - "shape" : "__string" + "SegmentId": { + "shape": "__string" }, - "SegmentVersion" : { - "shape" : "__integer" + "SegmentVersion": { + "shape": "__integer" }, - "tags" : { - "shape" : "MapOf__string", - "locationName" : "tags" + "tags": { + "shape": "MapOf__string", + "locationName": "tags" }, - "TreatmentDescription" : { - "shape" : "__string" + "TreatmentDescription": { + "shape": "__string" }, - "TreatmentName" : { - "shape" : "__string" + "TreatmentName": { + "shape": "__string" } } }, - "WriteEventStream" : { - "type" : "structure", - "members" : { - "DestinationStreamArn" : { - "shape" : "__string" + "WriteEventStream": { + "type": "structure", + "members": { + "DestinationStreamArn": { + "shape": "__string" }, - "RoleArn" : { - "shape" : "__string" + "RoleArn": { + "shape": "__string" } }, - "required" : [ "RoleArn", "DestinationStreamArn" ] + "required": [ + "RoleArn", + "DestinationStreamArn" + ] }, - "WriteSegmentRequest" : { - "type" : "structure", - "members" : { - "Dimensions" : { - "shape" : "SegmentDimensions" + "WriteSegmentRequest": { + "type": "structure", + "members": { + "Dimensions": { + "shape": "SegmentDimensions" }, - "Name" : { - "shape" : "__string" + "Name": { + "shape": "__string" }, - "SegmentGroups" : { - "shape" : "SegmentGroupList" + "SegmentGroups": { + "shape": "SegmentGroupList" }, - "tags" : { - "shape" : "MapOf__string", - "locationName" : "tags" + "tags": { + "shape": "MapOf__string", + "locationName": "tags" } } }, - "WriteTreatmentResource" : { - "type" : "structure", - "members" : { - "MessageConfiguration" : { - "shape" : "MessageConfiguration" + "WriteTreatmentResource": { + "type": "structure", + "members": { + "MessageConfiguration": { + "shape": "MessageConfiguration" }, - "Schedule" : { - "shape" : "Schedule" + "Schedule": { + "shape": "Schedule" }, - "SizePercent" : { - "shape" : "__integer" + "SizePercent": { + "shape": "__integer" }, - "TreatmentDescription" : { - "shape" : "__string" + "TreatmentDescription": { + "shape": "__string" }, - "TreatmentName" : { - "shape" : "__string" + "TreatmentName": { + "shape": "__string" } }, - "required" : [ "SizePercent" ] + "required": [ + "SizePercent" + ] }, - "__boolean" : { - "type" : "boolean" + "__boolean": { + "type": "boolean" }, - "__double" : { - "type" : "double" + "__double": { + "type": "double" }, - "__integer" : { - "type" : "integer" + "__integer": { + "type": "integer" + }, + "ListOfActivityResponse": { + "type": "list", + "member": { + "shape": "ActivityResponse" + } + }, + "ListOfApplicationResponse": { + "type": "list", + "member": { + "shape": "ApplicationResponse" + } }, - "ListOfActivityResponse" : { - "type" : "list", - "member" : { - "shape" : "ActivityResponse" + "ListOfCampaignResponse": { + "type": "list", + "member": { + "shape": "CampaignResponse" } }, - "ListOfApplicationResponse" : { - "type" : "list", - "member" : { - "shape" : "ApplicationResponse" + "ListOfEndpointBatchItem": { + "type": "list", + "member": { + "shape": "EndpointBatchItem" } }, - "ListOfCampaignResponse" : { - "type" : "list", - "member" : { - "shape" : "CampaignResponse" + "ListOfEndpointResponse": { + "type": "list", + "member": { + "shape": "EndpointResponse" } }, - "ListOfEndpointBatchItem" : { - "type" : "list", - "member" : { - "shape" : "EndpointBatchItem" + "ListOfExportJobResponse": { + "type": "list", + "member": { + "shape": "ExportJobResponse" } }, - "ListOfEndpointResponse" : { - "type" : "list", - "member" : { - "shape" : "EndpointResponse" + "ListOfImportJobResponse": { + "type": "list", + "member": { + "shape": "ImportJobResponse" } }, - "ListOfExportJobResponse" : { - "type" : "list", - "member" : { - "shape" : "ExportJobResponse" + "ListOfResultRow": { + "type": "list", + "member": { + "shape": "ResultRow" } }, - "ListOfImportJobResponse" : { - "type" : "list", - "member" : { - "shape" : "ImportJobResponse" + "ListOfResultRowValue": { + "type": "list", + "member": { + "shape": "ResultRowValue" } }, - "ListOfSegmentDimensions" : { - "type" : "list", - "member" : { - "shape" : "SegmentDimensions" + "ListOfSegmentDimensions": { + "type": "list", + "member": { + "shape": "SegmentDimensions" } }, - "ListOfSegmentGroup" : { - "type" : "list", - "member" : { - "shape" : "SegmentGroup" + "ListOfSegmentGroup": { + "type": "list", + "member": { + "shape": "SegmentGroup" } }, - "ListOfSegmentReference" : { - "type" : "list", - "member" : { - "shape" : "SegmentReference" + "ListOfSegmentReference": { + "type": "list", + "member": { + "shape": "SegmentReference" } }, - "ListOfSegmentResponse" : { - "type" : "list", - "member" : { - "shape" : "SegmentResponse" + "ListOfSegmentResponse": { + "type": "list", + "member": { + "shape": "SegmentResponse" } }, - "ListOfTreatmentResource" : { - "type" : "list", - "member" : { - "shape" : "TreatmentResource" + "ListOfTreatmentResource": { + "type": "list", + "member": { + "shape": "TreatmentResource" } }, - "ListOfWriteTreatmentResource" : { - "type" : "list", - "member" : { - "shape" : "WriteTreatmentResource" + "ListOfWriteTreatmentResource": { + "type": "list", + "member": { + "shape": "WriteTreatmentResource" } }, - "ListOf__string" : { - "type" : "list", - "member" : { - "shape" : "__string" + "ListOf__string": { + "type": "list", + "member": { + "shape": "__string" } }, - "__long" : { - "type" : "long" + "__long": { + "type": "long" }, - "MapOfAddressConfiguration" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfAddressConfiguration": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "AddressConfiguration" + "value": { + "shape": "AddressConfiguration" } }, - "MapOfAttributeDimension" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfAttributeDimension": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "AttributeDimension" + "value": { + "shape": "AttributeDimension" } }, - "MapOfChannelResponse" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfChannelResponse": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "ChannelResponse" + "value": { + "shape": "ChannelResponse" } }, - "MapOfEndpointMessageResult" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfEndpointMessageResult": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "EndpointMessageResult" + "value": { + "shape": "EndpointMessageResult" } }, - "MapOfEndpointSendConfiguration" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfEndpointSendConfiguration": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "EndpointSendConfiguration" + "value": { + "shape": "EndpointSendConfiguration" } }, - "MapOfEvent" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfEvent": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "Event" + "value": { + "shape": "Event" } }, - "MapOfEventItemResponse" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfEventItemResponse": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "EventItemResponse" + "value": { + "shape": "EventItemResponse" } }, - "MapOfEventsBatch" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfEventsBatch": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "EventsBatch" + "value": { + "shape": "EventsBatch" } }, - "MapOfItemResponse" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfItemResponse": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "ItemResponse" + "value": { + "shape": "ItemResponse" } }, - "MapOfMessageResult" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfMessageResult": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "MessageResult" + "value": { + "shape": "MessageResult" } }, - "MapOfMetricDimension" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfMetricDimension": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "MetricDimension" + "value": { + "shape": "MetricDimension" } }, - "MapOf__double" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOf__double": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "__double" + "value": { + "shape": "__double" } }, - "MapOf__integer" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOf__integer": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "__integer" + "value": { + "shape": "__integer" } }, - "MapOfListOf__string" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfListOf__string": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "ListOf__string" + "value": { + "shape": "ListOf__string" } }, - "MapOfMapOfEndpointMessageResult" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOfMapOfEndpointMessageResult": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "MapOfEndpointMessageResult" + "value": { + "shape": "MapOfEndpointMessageResult" } }, - "MapOf__string" : { - "type" : "map", - "key" : { - "shape" : "__string" + "MapOf__string": { + "type": "map", + "key": { + "shape": "__string" }, - "value" : { - "shape" : "__string" + "value": { + "shape": "__string" } }, - "__string" : { - "type" : "string" + "__string": { + "type": "string" }, - "__timestampIso8601" : { - "type" : "timestamp", - "timestampFormat" : "iso8601" + "__timestampIso8601": { + "type": "timestamp", + "timestampFormat": "iso8601" }, - "__timestampUnix" : { - "type" : "timestamp", - "timestampFormat" : "unixTimestamp" + "__timestampUnix": { + "type": "timestamp", + "timestampFormat": "unixTimestamp" } } } diff --git a/models/apis/pinpoint/2016-12-01/docs-2.json b/models/apis/pinpoint/2016-12-01/docs-2.json index 545cc2b47e3..9f960bcba62 100644 --- a/models/apis/pinpoint/2016-12-01/docs-2.json +++ b/models/apis/pinpoint/2016-12-01/docs-2.json @@ -29,11 +29,13 @@ "GetApnsVoipChannel" : "

Retrieves information about the status and settings of the APNs VoIP channel for an application.

", "GetApnsVoipSandboxChannel" : "

Retrieves information about the status and settings of the APNs VoIP sandbox channel for an application.

", "GetApp" : "

Retrieves information about an application.

", + "GetApplicationDateRangeKpi" : "

Retrieves (queries) pre-aggregated data for a standard metric that applies to an application.

", "GetApplicationSettings" : "

Retrieves information about the settings for an application.

", "GetApps" : "

Retrieves information about all of your applications.

", "GetBaiduChannel" : "

Retrieves information about the status and settings of the Baidu Cloud Push channel for an application.

", "GetCampaign" : "

Retrieves information about the status, configuration, and other settings for a campaign.

", "GetCampaignActivities" : "

Retrieves information about the activity performed by a campaign.

", + "GetCampaignDateRangeKpi" : "

Retrieves (queries) pre-aggregated data for a standard metric that applies to a campaign.

", "GetCampaignVersion" : "

Retrieves information about the status, configuration, and other settings for a specific version of a campaign.

", "GetCampaignVersions" : "

Retrieves information about the status, configuration, and other settings for all versions of a specific campaign.

", "GetCampaigns" : "

Retrieves information about the status, configuration, and other settings for all the campaigns that are associated with an application.

", @@ -160,6 +162,10 @@ "MapOfAddressConfiguration$member" : null } }, + "ApplicationDateRangeKpiResponse" : { + "base" : "

Provides the results of a query that retrieved the data for a standard metric that applies to an application, and provides information about that query.

", + "refs" : { } + }, "ApplicationResponse" : { "base" : "

Provides information about an application.

", "refs" : { @@ -208,6 +214,17 @@ "DirectMessageConfiguration$BaiduMessage" : "

The default push notification message for the Baidu (Baidu Cloud Push) channel. This message overrides the default push notification message (DefaultPushNotificationMessage).

" } }, + "BaseKpiResult" : { + "base" : "

Provides the results of a query that retrieved the data for a standard metric that applies to an application or campaign.

", + "refs" : { + "ApplicationDateRangeKpiResponse$KpiResult" : "

An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.

", + "CampaignDateRangeKpiResponse$KpiResult" : "

An array of objects that contains the results of the query. Each object contains the value for the metric and metadata about that value.

" + } + }, + "CampaignDateRangeKpiResponse" : { + "base" : "

Provides the results of a query that retrieved the data for a standard metric that applies to a campaign, and provides information about that query.

", + "refs" : { } + }, "CampaignEmailMessage" : { "base" : "

Specifies the content and \"From\" address for an email message that's sent to recipients of a campaign.

", "refs" : { @@ -666,6 +683,18 @@ "RecencyDimension$RecencyType" : "

The type of recency dimension to use for the segment. Valid values are: ACTIVE, endpoints that were active within the specified duration are included in the segment; and, INACTIVE, endpoints that weren't active within the specified duration are included in the segment.

" } }, + "ResultRow" : { + "base" : "

Provides the results of a query that retrieved the data for a standard metric that applies to an application or campaign.

", + "refs" : { + "ListOfResultRow$member" : null + } + }, + "ResultRowValue" : { + "base" : "

Provides a single value and metadata about that value as part of an array of query results for a standard metric that applies to an application or campaign.

", + "refs" : { + "ListOfResultRowValue$member" : null + } + }, "SMSChannelRequest" : { "base" : "

Specifies the status and settings of the SMS channel for an application.

", "refs" : { } @@ -1044,6 +1073,19 @@ "ImportJobsResponse$Item" : "

An array of responses, one for each import job that's associated with the application (Import Jobs resource) or segment (Segment Import Jobs resource).

" } }, + "ListOfResultRow" : { + "base" : null, + "refs" : { + "BaseKpiResult$Rows" : "

An array of objects that provides the results of a query that retrieved the data for a standard metric that applies to an application or campaign.

" + } + }, + "ListOfResultRowValue" : { + "base" : null, + "refs" : { + "ResultRow$GroupedBys" : "

An array of objects that defines the field and field values that were used to group data in a result set that contains multiple results. This value is null if the data in a result set isn’t grouped.

", + "ResultRow$Values" : "

An array of objects that provides pre-aggregated values for a standard metric that applies to an application or campaign.

" + } + }, "ListOfSegmentDimensions" : { "base" : null, "refs" : { @@ -1332,6 +1374,11 @@ "AddressConfiguration$BodyOverride" : "

The message body to use instead of the default message body. This value overrides the default message body.

", "AddressConfiguration$RawContent" : "

The raw, JSON-formatted string to use as the payload for the notification message. This value overrides the message.

", "AddressConfiguration$TitleOverride" : "

The message title to use instead of the default message title. This value overrides the default message title.

", + "ApplicationDateRangeKpiResponse$ApplicationId" : "

The unique identifier for the application that the metric applies to.

", + "ApplicationDateRangeKpiResponse$EndTime" : "

The last date or date and time of the date range that was used to filter the query results, in ISO 8601 format. The date range is inclusive.

", + "ApplicationDateRangeKpiResponse$KpiName" : "

The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of valid values, see the Amazon Pinpoint Developer Guide.

", + "ApplicationDateRangeKpiResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the App Metrics resource. The App Metrics resource returns all results in a single page.

", + "ApplicationDateRangeKpiResponse$StartTime" : "

The first date or date and time of the date range that was used to filter the query results, in ISO 8601 format. The date range is inclusive.

", "ApplicationResponse$Arn" : "

The Amazon Resource Name (ARN) of the application.

", "ApplicationResponse$Id" : "

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

", "ApplicationResponse$Name" : "

The display name of the application. This name is displayed as the Project name on the Amazon Pinpoint console.

", @@ -1358,6 +1405,12 @@ "BaiduMessage$Sound" : "

The sound to play when the recipient receives the push notification. You can use the default stream or specify the file name of a sound resource that's bundled in your app. On an Android platform, the sound file must reside in /res/raw/.

", "BaiduMessage$Title" : "

The title to display above the notification message on the recipient's device.

", "BaiduMessage$Url" : "

The URL to open in the recipient's default mobile browser, if a recipient taps the push notification and the value of the Action property is URL.

", + "CampaignDateRangeKpiResponse$ApplicationId" : "

The unique identifier for the application that the metric applies to.

", + "CampaignDateRangeKpiResponse$CampaignId" : "

The unique identifier for the campaign that the metric applies to.

", + "CampaignDateRangeKpiResponse$EndTime" : "

The last date or date and time of the date range that was used to filter the query results, in ISO 8601 format. The date range is inclusive.

", + "CampaignDateRangeKpiResponse$KpiName" : "

The name of the metric, also referred to as a key performance indicator (KPI), that the data was retrieved for. This value describes the associated metric and consists of two or more terms, which are comprised of lowercase alphanumeric characters, separated by a hyphen. For a list of valid values, see the Amazon Pinpoint Developer Guide.

", + "CampaignDateRangeKpiResponse$NextToken" : "

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null for the Campaign Metrics resource. The Campaign Metrics resource returns all results in a single page.

", + "CampaignDateRangeKpiResponse$StartTime" : "

The first date or date and time of the date range that was used to filter the query results, in ISO 8601 format. The date range is inclusive.

", "CampaignEmailMessage$Body" : "

The body of the email for recipients whose email clients don't support HTML content.

", "CampaignEmailMessage$FromAddress" : "

The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.

", "CampaignEmailMessage$HtmlBody" : "

The body of the email, in HTML format, for recipients whose email clients support HTML content.

", @@ -1527,7 +1580,7 @@ "MetricDimension$ComparisonOperator" : "

The operator to use when comparing metric values. Valid values are: GREATER_THAN, LESS_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN_OR_EQUAL, and EQUAL.

", "NumberValidateRequest$IsoCountryCode" : "

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the phone number was originally registered.

", "NumberValidateRequest$PhoneNumber" : "

The phone number to retrieve information about. The phone number that you provide should include a valid numeric country code. Otherwise, the operation might result in an error.

", - "NumberValidateResponse$Carrier" : "

The carrier or service provider that the phone number is currently registered with.

", + "NumberValidateResponse$Carrier" : "

The carrier or service provider that the phone number is currently registered with. In some countries and regions, this value may be the carrier or service provider that the phone number was originally registered with.

", "NumberValidateResponse$City" : "

The name of the city where the phone number was originally registered.

", "NumberValidateResponse$CleansedPhoneNumberE164" : "

The cleansed phone number, in E.164 format, for the location where the phone number was originally registered.

", "NumberValidateResponse$CleansedPhoneNumberNational" : "

The cleansed phone number, in the format for the location where the phone number was originally registered.

", @@ -1548,6 +1601,9 @@ "QuietTime$End" : "

The specific time when quiet time ends. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.

", "QuietTime$Start" : "

The specific time when quiet time begins. This value has to use 24-hour notation and be in HH:MM format, where HH is the hour (with a leading zero, if applicable) and MM is the minutes. For example, use 02:30 to represent 2:30 AM, or 14:30 to represent 2:30 PM.

", "RawEmail$Data" : "

The email message, represented as a raw MIME message. The entire message must be base64 encoded.

", + "ResultRowValue$Key" : "

The name of the field that Amazon Pinpoint uses to store the value specified by the Value property.

", + "ResultRowValue$Type" : "

The data type of the value specified by the Value property.

", + "ResultRowValue$Value" : "

In a Values object, the value for the metric that the query retrieved data for. In a GroupedBys object, the value for the field that was used to group data in a result set that contains multiple results (Values objects).

", "SMSChannelRequest$SenderId" : "

The identity that you want to display on recipients' devices when they receive messages from the SMS channel.

", "SMSChannelRequest$ShortCode" : "

The registered short code that you want to use when you send messages through the SMS channel.

", "SMSChannelResponse$ApplicationId" : "

The unique identifier for the application that the SMS channel applies to.

", diff --git a/models/apis/sts/2011-06-15/api-2.json b/models/apis/sts/2011-06-15/api-2.json index 85e714b4637..814702f3aad 100644 --- a/models/apis/sts/2011-06-15/api-2.json +++ b/models/apis/sts/2011-06-15/api-2.json @@ -86,6 +86,18 @@ {"shape":"InvalidAuthorizationMessageException"} ] }, + "GetAccessKeyInfo":{ + "name":"GetAccessKeyInfo", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetAccessKeyInfoRequest"}, + "output":{ + "shape":"GetAccessKeyInfoResponse", + "resultWrapper":"GetAccessKeyInfoResult" + } + }, "GetCallerIdentity":{ "name":"GetCallerIdentity", "http":{ @@ -277,6 +289,19 @@ "Arn":{"shape":"arnType"} } }, + "GetAccessKeyInfoRequest":{ + "type":"structure", + "required":["AccessKeyId"], + "members":{ + "AccessKeyId":{"shape":"accessKeyIdType"} + } + }, + "GetAccessKeyInfoResponse":{ + "type":"structure", + "members":{ + "Account":{"shape":"accountType"} + } + }, "GetCallerIdentityRequest":{ "type":"structure", "members":{ diff --git a/models/apis/sts/2011-06-15/docs-2.json b/models/apis/sts/2011-06-15/docs-2.json index 626fc4cd9be..e14b7a37492 100644 --- a/models/apis/sts/2011-06-15/docs-2.json +++ b/models/apis/sts/2011-06-15/docs-2.json @@ -6,6 +6,7 @@ "AssumeRoleWithSAML": "

Returns a set of temporary security credentials for users who have been authenticated via a SAML authentication response. This operation provides a mechanism for tying an enterprise identity store or directory to role-based AWS access without user-specific credentials or configuration. For a comparison of AssumeRoleWithSAML with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS API operations in the IAM User Guide.

The temporary security credentials returned by this operation consist of an access key ID, a secret access key, and a security token. Applications can use these temporary security credentials to sign calls to AWS services.

By default, the temporary security credentials created by AssumeRoleWithSAML last for one hour. However, you can use the optional DurationSeconds parameter to specify the duration of your session. Your role session lasts for the duration that you specify, or until the time specified in the SAML authentication response's SessionNotOnOrAfter value, whichever is shorter. You can provide a DurationSeconds value from 900 seconds (15 minutes) up to the maximum session duration setting for the role. This setting can have a value from 1 hour to 12 hours. To learn how to view the maximum value for your role, see View the Maximum Session Duration Setting for a Role in the IAM User Guide. The maximum session duration limit applies when you use the AssumeRole* API operations or the assume-role* CLI commands. However the limit does not apply when you use those operations to create a console URL. For more information, see Using IAM Roles in the IAM User Guide.

The temporary security credentials created by AssumeRoleWithSAML can be used to make API calls to any AWS service with the following exception: you cannot call the STS GetFederationToken or GetSessionToken API operations.

(Optional) You can pass inline or managed session policies to this operation. You can pass a single JSON policy document to use as an inline session policy. You can also specify up to 10 managed policies to use as managed session policies. The plain text that you use for both inline and managed session policies shouldn't exceed 2048 characters. Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent AWS API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide.

Before your application can call AssumeRoleWithSAML, you must configure your SAML identity provider (IdP) to issue the claims required by AWS. Additionally, you must use AWS Identity and Access Management (IAM) to create a SAML provider entity in your AWS account that represents your identity provider. You must also create an IAM role that specifies this SAML provider in its trust policy.

Calling AssumeRoleWithSAML does not require the use of AWS security credentials. The identity of the caller is validated by using keys in the metadata document that is uploaded for the SAML provider entity for your identity provider.

Calling AssumeRoleWithSAML can result in an entry in your AWS CloudTrail logs. The entry includes the value in the NameID element of the SAML assertion. We recommend that you use a NameIDType that is not associated with any personally identifiable information (PII). For example, you could instead use the Persistent Identifier (urn:oasis:names:tc:SAML:2.0:nameid-format:persistent).

For more information, see the following resources:

", "AssumeRoleWithWebIdentity": "

Returns a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider. Example providers include Amazon Cognito, Login with Amazon, Facebook, Google, or any OpenID Connect-compatible identity provider.

For mobile applications, we recommend that you use Amazon Cognito. You can use Amazon Cognito with the AWS SDK for iOS Developer Guide and the AWS SDK for Android Developer Guide to uniquely identify a user. You can also supply the user with a consistent identity throughout the lifetime of an application.

To learn more about Amazon Cognito, see Amazon Cognito Overview in AWS SDK for Android Developer Guide and Amazon Cognito Overview in the AWS SDK for iOS Developer Guide.

Calling AssumeRoleWithWebIdentity does not require the use of AWS security credentials. Therefore, you can distribute an application (for example, on mobile devices) that requests temporary security credentials without including long-term AWS credentials in the application. You also don't need to deploy server-based proxy services that use long-term AWS credentials. Instead, the identity of the caller is validated by using a token from the web identity provider. For a comparison of AssumeRoleWithWebIdentity with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS API operations in the IAM User Guide.

The temporary security credentials returned by this API consist of an access key ID, a secret access key, and a security token. Applications can use these temporary security credentials to sign calls to AWS service API operations.

By default, the temporary security credentials created by AssumeRoleWithWebIdentity last for one hour. However, you can use the optional DurationSeconds parameter to specify the duration of your session. You can provide a value from 900 seconds (15 minutes) up to the maximum session duration setting for the role. This setting can have a value from 1 hour to 12 hours. To learn how to view the maximum value for your role, see View the Maximum Session Duration Setting for a Role in the IAM User Guide. The maximum session duration limit applies when you use the AssumeRole* API operations or the assume-role* CLI commands. However the limit does not apply when you use those operations to create a console URL. For more information, see Using IAM Roles in the IAM User Guide.

The temporary security credentials created by AssumeRoleWithWebIdentity can be used to make API calls to any AWS service with the following exception: you cannot call the STS GetFederationToken or GetSessionToken API operations.

(Optional) You can pass inline or managed session policies to this operation. You can pass a single JSON policy document to use as an inline session policy. You can also specify up to 10 managed policies to use as managed session policies. The plain text that you use for both inline and managed session policies shouldn't exceed 2048 characters. Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent AWS API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide.

Before your application can call AssumeRoleWithWebIdentity, you must have an identity token from a supported identity provider and create a role that the application can assume. The role that your application assumes must trust the identity provider that is associated with the identity token. In other words, the identity provider must be specified in the role's trust policy.

Calling AssumeRoleWithWebIdentity can result in an entry in your AWS CloudTrail logs. The entry includes the Subject of the provided Web Identity Token. We recommend that you avoid using any personally identifiable information (PII) in this field. For example, you could instead use a GUID or a pairwise identifier, as suggested in the OIDC specification.

For more information about how to use web identity federation and the AssumeRoleWithWebIdentity API, see the following resources:

", "DecodeAuthorizationMessage": "

Decodes additional information about the authorization status of a request from an encoded message returned in response to an AWS request.

For example, if a user is not authorized to perform an operation that he or she has requested, the request returns a Client.UnauthorizedOperation response (an HTTP 403 response). Some AWS operations additionally return an encoded message that can provide details about this authorization failure.

Only certain AWS operations return an encoded authorization message. The documentation for an individual operation indicates whether that operation returns an encoded message in addition to returning an HTTP code.

The message is encoded because the details of the authorization status can constitute privileged information that the user who requested the operation should not see. To decode an authorization status message, a user must be granted permissions via an IAM policy to request the DecodeAuthorizationMessage (sts:DecodeAuthorizationMessage) action.

The decoded message includes the following type of information:

", + "GetAccessKeyInfo": "

Returns the account identifier for the specified access key ID.

Access keys consist of two parts: an access key ID (for example, AKIAIOSFODNN7EXAMPLE) and a secret access key (for example, wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY). For more information about access keys, see Managing Access Keys for IAM Users in the IAM User Guide.

When you pass an access key ID to this operation, it returns the ID of the AWS account to which the keys belong. Access key IDs beginning with AKIA are long-term credentials for an IAM user or the AWS account root user. Access key IDs beginning with ASIA are temporary credentials that are created using STS operations. If the account in the response belongs to you, you can sign in as the root user and review your root user access keys. Then, you can pull a credentials report to learn which IAM user owns the keys. To learn who requested the temporary credentials for an ASIA access key, view the STS events in your CloudTrail logs.

This operation does not indicate the state of the access key. The key might be active, inactive, or deleted. Active keys might not have permissions to perform an operation. Providing a deleted keys might return an error that the key doesn't exist.

", "GetCallerIdentity": "

Returns details about the IAM identity whose credentials are used to call the API.

", "GetFederationToken": "

Returns a set of temporary security credentials (consisting of an access key ID, a secret access key, and a security token) for a federated user. A typical use is in a proxy application that gets temporary security credentials on behalf of distributed applications inside a corporate network. You must call the GetFederationToken operation using the long-term security credentials of an IAM user. As a result, this call is appropriate in contexts where those credentials can be safely stored, usually in a server-based application. For a comparison of GetFederationToken with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS API operations in the IAM User Guide.

You can create a mobile-based or browser-based app that can authenticate users using a web identity provider like Login with Amazon, Facebook, Google, or an OpenID Connect-compatible identity provider. In this case, we recommend that you use Amazon Cognito or AssumeRoleWithWebIdentity. For more information, see Federation Through a Web-based Identity Provider.

You can also call GetFederationToken using the security credentials of an AWS account root user, but we do not recommend it. Instead, we recommend that you create an IAM user for the purpose of the proxy application. Then attach a policy to the IAM user that limits federated users to only the actions and resources that they need to access. For more information, see IAM Best Practices in the IAM User Guide.

The temporary credentials are valid for the specified duration, from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours). The default is 43,200 seconds (12 hours). Temporary credentials that are obtained by using AWS account root user credentials have a maximum duration of 3,600 seconds (1 hour).

The temporary security credentials created by GetFederationToken can be used to make API calls to any AWS service with the following exceptions:

Permissions

You must pass an inline or managed session policy to this operation. You can pass a single JSON policy document to use as an inline session policy. You can also specify up to 10 managed policies to use as managed session policies. The plain text that you use for both inline and managed session policies shouldn't exceed 2048 characters.

Though the session policy parameters are optional, if you do not pass a policy, then the resulting federated user session has no permissions. The only exception is when the credentials are used to access a resource that has a resource-based policy that specifically references the federated user session in the Principal element of the policy. When you pass session policies, the session permissions are the intersection of the IAM user policies and the session policies that you pass. This gives you a way to further restrict the permissions for a federated user. You cannot use session policies to grant more permissions than those that are defined in the permissions policy of the IAM user. For more information, see Session Policies in the IAM User Guide. For information about using GetFederationToken to create temporary security credentials, see GetFederationToken—Federation Through a Custom Identity Broker.

", "GetSessionToken": "

Returns a set of temporary credentials for an AWS account or IAM user. The credentials consist of an access key ID, a secret access key, and a security token. Typically, you use GetSessionToken if you want to use MFA to protect programmatic calls to specific AWS API operations like Amazon EC2 StopInstances. MFA-enabled IAM users would need to call GetSessionToken and submit an MFA code that is associated with their MFA device. Using the temporary security credentials that are returned from the call, IAM users can then make programmatic calls to API operations that require MFA authentication. If you do not supply a correct MFA code, then the API returns an access denied error. For a comparison of GetSessionToken with the other API operations that produce temporary credentials, see Requesting Temporary Security Credentials and Comparing the AWS STS API operations in the IAM User Guide.

The GetSessionToken operation must be called by using the long-term AWS security credentials of the AWS account root user or an IAM user. Credentials that are created by IAM users are valid for the duration that you specify. This duration can range from 900 seconds (15 minutes) up to a maximum of 129,600 seconds (36 hours), with a default of 43,200 seconds (12 hours). Credentials based on account credentials can range from 900 seconds (15 minutes) up to 3,600 seconds (1 hour), with a default of 1 hour.

The temporary security credentials created by GetSessionToken can be used to make API calls to any AWS service with the following exceptions:

We recommend that you do not call GetSessionToken with AWS account root user credentials. Instead, follow our best practices by creating one or more IAM users, giving them the necessary permissions, and using IAM users for everyday interaction with AWS.

The credentials that are returned by GetSessionToken are based on permissions associated with the user whose credentials were used to call the operation. If GetSessionToken is called using AWS account root user credentials, the temporary credentials have root user permissions. Similarly, if GetSessionToken is called using the credentials of an IAM user, the temporary credentials have the same permissions as the IAM user.

For more information about using GetSessionToken to create temporary credentials, go to Temporary Credentials for Users in Untrusted Environments in the IAM User Guide.

" @@ -87,6 +88,16 @@ "GetFederationTokenResponse$FederatedUser": "

Identifiers for the federated user associated with the credentials (such as arn:aws:sts::123456789012:federated-user/Bob or 123456789012:Bob). You can use the federated user's ARN in your resource-based policies, such as an Amazon S3 bucket policy.

" } }, + "GetAccessKeyInfoRequest": { + "base": null, + "refs": { + } + }, + "GetAccessKeyInfoResponse": { + "base": null, + "refs": { + } + }, "GetCallerIdentityRequest": { "base": null, "refs": { @@ -192,7 +203,8 @@ "accessKeyIdType": { "base": null, "refs": { - "Credentials$AccessKeyId": "

The access key ID that identifies the temporary security credentials.

" + "Credentials$AccessKeyId": "

The access key ID that identifies the temporary security credentials.

", + "GetAccessKeyInfoRequest$AccessKeyId": "

The identifier of an access key.

This parameter allows (through its regex pattern) a string of characters that can consist of any upper- or lowercased letter or digit.

" } }, "accessKeySecretType": { @@ -204,6 +216,7 @@ "accountType": { "base": null, "refs": { + "GetAccessKeyInfoResponse$Account": "

The number used to identify the AWS account.

", "GetCallerIdentityResponse$Account": "

The AWS account ID number of the account that owns or contains the calling entity.

" } }, @@ -217,7 +230,7 @@ "AssumedRoleUser$Arn": "

The ARN of the temporary security credentials that are returned from the AssumeRole action. For more information about ARNs and how to use them in policies, see IAM Identifiers in Using IAM.

", "FederatedUser$Arn": "

The ARN that specifies the federated user that is associated with the credentials. For more information about ARNs and how to use them in policies, see IAM Identifiers in Using IAM.

", "GetCallerIdentityResponse$Arn": "

The AWS ARN associated with the calling entity.

", - "PolicyDescriptorType$arn": "

The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

" + "PolicyDescriptorType$arn": "

The Amazon Resource Name (ARN) of the IAM managed policy to use as a session policy for the role. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

" } }, "assumedRoleIdType": { @@ -323,9 +336,9 @@ "policyDescriptorListType": { "base": null, "refs": { - "AssumeRoleRequest$PolicyArns": "

The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as managed session policies. The policies must exist in the same account as the role.

This parameter is optional. You can provide up to 10 managed policy ARNs. However, the plain text that you use for both inline and managed session policies shouldn't exceed 2048 characters. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

The characters in this parameter count towards the 2048 character session policy guideline. However, an AWS conversion compresses the session policies into a packed binary format that has a separate limit. This is the enforced limit. The PackedPolicySize response element indicates by percentage how close the policy is to the upper size limit.

Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent AWS API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide.

", - "AssumeRoleWithSAMLRequest$PolicyArns": "

The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as managed session policies. The policies must exist in the same account as the role.

This parameter is optional. You can provide up to 10 managed policy ARNs. However, the plain text that you use for both inline and managed session policies shouldn't exceed 2048 characters. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

The characters in this parameter count towards the 2048 character session policy guideline. However, an AWS conversion compresses the session policies into a packed binary format that has a separate limit. This is the enforced limit. The PackedPolicySize response element indicates by percentage how close the policy is to the upper size limit.

Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent AWS API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide.

", - "AssumeRoleWithWebIdentityRequest$PolicyArns": "

The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as managed session policies. The policies must exist in the same account as the role.

This parameter is optional. You can provide up to 10 managed policy ARNs. However, the plain text that you use for both inline and managed session policies shouldn't exceed 2048 characters. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

The characters in this parameter count towards the 2048 character session policy guideline. However, an AWS conversion compresses the session policies into a packed binary format that has a separate limit. This is the enforced limit. The PackedPolicySize response element indicates by percentage how close the policy is to the upper size limit.

Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent AWS API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide.

", + "AssumeRoleRequest$PolicyArns": "

The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as managed session policies. The policies must exist in the same account as the role.

This parameter is optional. You can provide up to 10 managed policy ARNs. However, the plain text that you use for both inline and managed session policies shouldn't exceed 2048 characters. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

The characters in this parameter count towards the 2048 character session policy guideline. However, an AWS conversion compresses the session policies into a packed binary format that has a separate limit. This is the enforced limit. The PackedPolicySize response element indicates by percentage how close the policy is to the upper size limit.

Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent AWS API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide.

", + "AssumeRoleWithSAMLRequest$PolicyArns": "

The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as managed session policies. The policies must exist in the same account as the role.

This parameter is optional. You can provide up to 10 managed policy ARNs. However, the plain text that you use for both inline and managed session policies shouldn't exceed 2048 characters. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

The characters in this parameter count towards the 2048 character session policy guideline. However, an AWS conversion compresses the session policies into a packed binary format that has a separate limit. This is the enforced limit. The PackedPolicySize response element indicates by percentage how close the policy is to the upper size limit.

Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent AWS API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide.

", + "AssumeRoleWithWebIdentityRequest$PolicyArns": "

The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as managed session policies. The policies must exist in the same account as the role.

This parameter is optional. You can provide up to 10 managed policy ARNs. However, the plain text that you use for both inline and managed session policies shouldn't exceed 2048 characters. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

The characters in this parameter count towards the 2048 character session policy guideline. However, an AWS conversion compresses the session policies into a packed binary format that has a separate limit. This is the enforced limit. The PackedPolicySize response element indicates by percentage how close the policy is to the upper size limit.

Passing policies to this operation returns new temporary credentials. The resulting session's permissions are the intersection of the role's identity-based policy and the session policies. You can use the role's temporary credentials in subsequent AWS API calls to access resources in the account that owns the role. You cannot use session policies to grant more permissions than those allowed by the identity-based policy of the role that is being assumed. For more information, see Session Policies in the IAM User Guide.

", "GetFederationTokenRequest$PolicyArns": "

The Amazon Resource Names (ARNs) of the IAM managed policies that you want to use as a managed session policy. The policies must exist in the same account as the IAM user that is requesting federated access.

You must pass an inline or managed session policy to this operation. You can pass a single JSON policy document to use as an inline session policy. You can also specify up to 10 managed policies to use as managed session policies. The plain text that you use for both inline and managed session policies shouldn't exceed 2048 characters. You can provide up to 10 managed policy ARNs. For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.

This parameter is optional. However, if you do not pass any session policies, then the resulting federated user session has no permissions. The only exception is when the credentials are used to access a resource that has a resource-based policy that specifically references the federated user session in the Principal element of the policy.

When you pass session policies, the session permissions are the intersection of the IAM user policies and the session policies that you pass. This gives you a way to further restrict the permissions for a federated user. You cannot use session policies to grant more permissions than those that are defined in the permissions policy of the IAM user. For more information, see Session Policies in the IAM User Guide.

The characters in this parameter count towards the 2048 character session policy guideline. However, an AWS conversion compresses the session policies into a packed binary format that has a separate limit. This is the enforced limit. The PackedPolicySize response element indicates by percentage how close the policy is to the upper size limit.

" } }, diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index e581fd94280..0010be3da33 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -1669,13 +1669,48 @@ }, "ioteventsdata" : { "endpoints" : { - "ap-northeast-1" : { }, - "ap-southeast-2" : { }, - "eu-central-1" : { }, - "eu-west-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-2" : { } + "ap-northeast-1" : { + "credentialScope" : { + "region" : "ap-northeast-1" + }, + "hostname" : "data.iotevents.ap-northeast-1.amazonaws.com" + }, + "ap-southeast-2" : { + "credentialScope" : { + "region" : "ap-southeast-2" + }, + "hostname" : "data.iotevents.ap-southeast-2.amazonaws.com" + }, + "eu-central-1" : { + "credentialScope" : { + "region" : "eu-central-1" + }, + "hostname" : "data.iotevents.eu-central-1.amazonaws.com" + }, + "eu-west-1" : { + "credentialScope" : { + "region" : "eu-west-1" + }, + "hostname" : "data.iotevents.eu-west-1.amazonaws.com" + }, + "us-east-1" : { + "credentialScope" : { + "region" : "us-east-1" + }, + "hostname" : "data.iotevents.us-east-1.amazonaws.com" + }, + "us-east-2" : { + "credentialScope" : { + "region" : "us-east-2" + }, + "hostname" : "data.iotevents.us-east-2.amazonaws.com" + }, + "us-west-2" : { + "credentialScope" : { + "region" : "us-west-2" + }, + "hostname" : "data.iotevents.us-west-2.amazonaws.com" + } } }, "iotthingsgraph" : { diff --git a/service/ec2/api.go b/service/ec2/api.go index 123276e92e8..b94393c01a6 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -3744,9 +3744,9 @@ func (c *EC2) CreateDhcpOptionsRequest(input *CreateDhcpOptionsInput) (req *requ // * domain-name-servers - The IP addresses of up to four domain name servers, // or AmazonProvidedDNS. The default DHCP option set specifies AmazonProvidedDNS. // If specifying more than one domain name server, specify the IP addresses -// in a single parameter, separated by commas. ITo have your instance to -// receive a custom DNS hostname as specified in domain-name, you must set -// domain-name-servers to a custom DNS server. +// in a single parameter, separated by commas. To have your instance receive +// a custom DNS hostname as specified in domain-name, you must set domain-name-servers +// to a custom DNS server. // // * domain-name - If you're using AmazonProvidedDNS in us-east-1, specify // ec2.internal. If you're using AmazonProvidedDNS in another Region, specify @@ -16763,15 +16763,15 @@ func (c *EC2) DescribeRegionsRequest(input *DescribeRegionsInput) (req *request. // DescribeRegions API operation for Amazon Elastic Compute Cloud. // -// Describes the Regions that are currently available to you. The API returns -// a list of all the Regions, including Regions that are disabled for your account. -// For information about enabling Regions for your account, see Enabling and -// Disabling Regions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-account-payment.html#manage-account-payment-enable-disable-regions) -// in the AWS Billing and Cost Management User Guide. +// Describes the Regions that are enabled for your account, or all Regions. // // For a list of the Regions supported by Amazon EC2, see Regions and Endpoints // (https://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region). // +// For information about enabling and disabling Regions for your account, see +// Managing AWS Regions (https://docs.aws.amazon.com/general/latest/gr/rande-manage.html) +// in the AWS General Reference. +// // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. @@ -37419,7 +37419,12 @@ type ClientVpnEndpoint struct { // The ARN of the server certificate. ServerCertificateArn *string `locationName:"serverCertificateArn" type:"string"` - // Indicates whether VPN split tunneling is supported. + // Indicates whether split-tunnel is enabled in the AWS Client VPN endpoint + // endpoint. + // + // For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client + // VPN Endpoint (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) + // in the AWS Client VPN Administrator Guide. SplitTunnel *bool `locationName:"splitTunnel" type:"boolean"` // The current state of the Client VPN endpoint. @@ -38870,6 +38875,16 @@ type CreateClientVpnEndpointInput struct { // ServerCertificateArn is a required field ServerCertificateArn *string `type:"string" required:"true"` + // Indicates whether split-tunnel is enabled on the AWS Client VPN endpoint + // endpoint. + // + // By default, split-tunnel on a VPN endpoint is disabled. + // + // For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client + // VPN Endpoint (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) + // in the AWS Client VPN Administrator Guide. + SplitTunnel *bool `type:"boolean"` + // The tags to apply to the Client VPN endpoint during creation. TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` @@ -38959,6 +38974,12 @@ func (s *CreateClientVpnEndpointInput) SetServerCertificateArn(v string) *Create return s } +// SetSplitTunnel sets the SplitTunnel field's value. +func (s *CreateClientVpnEndpointInput) SetSplitTunnel(v bool) *CreateClientVpnEndpointInput { + s.SplitTunnel = &v + return s +} + // SetTagSpecifications sets the TagSpecifications field's value. func (s *CreateClientVpnEndpointInput) SetTagSpecifications(v []*TagSpecification) *CreateClientVpnEndpointInput { s.TagSpecifications = v @@ -40585,6 +40606,9 @@ type CreateLaunchTemplateInput struct { // LaunchTemplateName is a required field LaunchTemplateName *string `min:"3" type:"string" required:"true"` + // The tags to apply to the launch template during creation. + TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` + // A description for the first version of the launch template. VersionDescription *string `type:"string"` } @@ -40647,6 +40671,12 @@ func (s *CreateLaunchTemplateInput) SetLaunchTemplateName(v string) *CreateLaunc return s } +// SetTagSpecifications sets the TagSpecifications field's value. +func (s *CreateLaunchTemplateInput) SetTagSpecifications(v []*TagSpecification) *CreateLaunchTemplateInput { + s.TagSpecifications = v + return s +} + // SetVersionDescription sets the VersionDescription field's value. func (s *CreateLaunchTemplateInput) SetVersionDescription(v string) *CreateLaunchTemplateInput { s.VersionDescription = &v @@ -42015,7 +42045,7 @@ func (s *CreateSnapshotInput) SetVolumeId(v string) *CreateSnapshotInput { type CreateSnapshotsInput struct { _ struct{} `type:"structure"` - // Copies the tags from the specified instance to all snapshots. + // Copies the tags from the specified volume to corresponding snapshot. CopyTagsFromSource *string `type:"string" enum:"CopyTagsFromSource"` // A description propagated to every snapshot specified by the instance. @@ -53856,7 +53886,7 @@ type DescribeNetworkInterfacesInput struct { // // * attachment.attachment-id - The ID of the interface attachment. // - // * attachment.attach.time - The time that the network interface was attached + // * attachment.attach-time - The time that the network interface was attached // to an instance. // // * attachment.delete-on-termination - Indicates whether the attachment @@ -54406,6 +54436,10 @@ func (s *DescribePublicIpv4PoolsOutput) SetPublicIpv4Pools(v []*PublicIpv4Pool) type DescribeRegionsInput struct { _ struct{} `type:"structure"` + // Indicates whether to display all Regions, including Regions that are disabled + // for your account. + AllRegions *bool `type:"boolean"` + // Checks whether you have the required permissions for the action, without // actually making the request, and provides an error response. If you have // the required permissions, the error response is DryRunOperation. Otherwise, @@ -54419,7 +54453,8 @@ type DescribeRegionsInput struct { // * region-name - The name of the Region (for example, us-east-1). Filters []*Filter `locationName:"Filter" locationNameList:"Filter" type:"list"` - // The names of the Regions. + // The names of the Regions. You can specify any Regions, whether they are enabled + // and disabled for your account. RegionNames []*string `locationName:"RegionName" locationNameList:"RegionName" type:"list"` } @@ -54433,6 +54468,12 @@ func (s DescribeRegionsInput) GoString() string { return s.String() } +// SetAllRegions sets the AllRegions field's value. +func (s *DescribeRegionsInput) SetAllRegions(v bool) *DescribeRegionsInput { + s.AllRegions = &v + return s +} + // SetDryRun sets the DryRun field's value. func (s *DescribeRegionsInput) SetDryRun(v bool) *DescribeRegionsInput { s.DryRun = &v @@ -66175,7 +66216,7 @@ type Image struct { // The AWS account ID of the image owner. OwnerId *string `locationName:"imageOwnerId" type:"string"` - // This value is set for Windows AMIs; otherwise, it is blank. + // This value is set to windows for Windows AMIs; otherwise, it is blank. Platform *string `locationName:"platform" type:"string" enum:"PlatformValues"` // Any product codes associated with the AMI. @@ -72124,6 +72165,13 @@ type ModifyClientVpnEndpointInput struct { // The ARN of the server certificate to be used. The server certificate must // be provisioned in AWS Certificate Manager (ACM). ServerCertificateArn *string `type:"string"` + + // Indicates whether the VPN is split-tunnel. + // + // For information about split-tunnel VPN endpoints, see Split-Tunnel AWS Client + // VPN Endpoint (https://docs.aws.amazon.com/vpn/latest/clientvpn-admin/split-tunnel-vpn.html) + // in the AWS Client VPN Administrator Guide. + SplitTunnel *bool `type:"boolean"` } // String returns the string representation @@ -72185,6 +72233,12 @@ func (s *ModifyClientVpnEndpointInput) SetServerCertificateArn(v string) *Modify return s } +// SetSplitTunnel sets the SplitTunnel field's value. +func (s *ModifyClientVpnEndpointInput) SetSplitTunnel(v bool) *ModifyClientVpnEndpointInput { + s.SplitTunnel = &v + return s +} + type ModifyClientVpnEndpointOutput struct { _ struct{} `type:"structure"` @@ -78582,6 +78636,10 @@ type Region struct { // The Region service endpoint. Endpoint *string `locationName:"regionEndpoint" type:"string"` + // The Region opt-in status. The possible values are opt-in-not-required, opted-in, + // and not-opted-in. + OptInStatus *string `locationName:"optInStatus" type:"string"` + // The name of the Region. RegionName *string `locationName:"regionName" type:"string"` } @@ -78602,6 +78660,12 @@ func (s *Region) SetEndpoint(v string) *Region { return s } +// SetOptInStatus sets the OptInStatus field's value. +func (s *Region) SetOptInStatus(v string) *Region { + s.OptInStatus = &v + return s +} + // SetRegionName sets the RegionName field's value. func (s *Region) SetRegionName(v string) *Region { s.RegionName = &v @@ -88103,8 +88167,11 @@ type TagSpecification struct { _ struct{} `type:"structure"` // The type of resource to tag. Currently, the resource types that support tagging - // on creation are fleet, dedicated-host, instance, snapshot, and volume. To - // tag a resource after it has been created, see CreateTags. + // on creation are: capacity-reservation | client-vpn-endpoint | dedicated-host + // | fleet | instance | launch-template | snapshot | transit-gateway | transit-gateway-attachment + // | transit-gateway-route-table | volume. + // + // To tag a resource after it has been created, see CreateTags. ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` // The tags to apply to the resource. diff --git a/service/glue/api.go b/service/glue/api.go index ef36229ba9f..37ad1b01807 100644 --- a/service/glue/api.go +++ b/service/glue/api.go @@ -594,8 +594,8 @@ func (c *Glue) BatchGetDevEndpointsRequest(input *BatchGetDevEndpointsInput) (re // BatchGetDevEndpoints API operation for AWS Glue. // -// Returns a list of resource metadata for a given list of DevEndpoint names. -// After calling the ListDevEndpoints operation, you can call this operation +// Returns a list of resource metadata for a given list of development endpoint +// names. After calling the ListDevEndpoints operation, you can call this operation // to access the data to which you have been granted permissions. This operation // supports all IAM permissions, including permission conditions that uses tags. // @@ -1491,7 +1491,7 @@ func (c *Glue) CreateDevEndpointRequest(input *CreateDevEndpointInput) (req *req // CreateDevEndpoint API operation for AWS Glue. // -// Creates a new DevEndpoint. +// Creates a new development endpoint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -1871,7 +1871,11 @@ func (c *Glue) CreateSecurityConfigurationRequest(input *CreateSecurityConfigura // CreateSecurityConfiguration API operation for AWS Glue. // -// Creates a new security configuration. +// Creates a new security configuration. A security configuration is a set of +// security properties that can be used by AWS Glue. You can use a security +// configuration to encrypt data at rest. For information about using security +// configurations in AWS Glue, see Encrypting Data Written by Crawlers, Jobs, +// and Development Endpoints (https://docs.aws.amazon.com/glue/latest/dg/encryption-security-configuration.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -2709,7 +2713,7 @@ func (c *Glue) DeleteDevEndpointRequest(input *DeleteDevEndpointInput) (req *req // DeleteDevEndpoint API operation for AWS Glue. // -// Deletes a specified DevEndpoint. +// Deletes a specified development endpoint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -4894,7 +4898,7 @@ func (c *Glue) GetDevEndpointRequest(input *GetDevEndpointInput) (req *request.R // GetDevEndpoint API operation for AWS Glue. // -// Retrieves information about a specified DevEndpoint. +// Retrieves information about a specified development endpoint. // // When you create a development endpoint in a virtual private cloud (VPC), // AWS Glue returns only a private IP address, and the public IP address field @@ -4993,7 +4997,7 @@ func (c *Glue) GetDevEndpointsRequest(input *GetDevEndpointsInput) (req *request // GetDevEndpoints API operation for AWS Glue. // -// Retrieves all the DevEndpoints in this AWS account. +// Retrieves all the development endpoints in this AWS account. // // When you create a development endpoint in a virtual private cloud (VPC), // AWS Glue returns only a private IP address and the public IP address field @@ -10329,7 +10333,7 @@ func (c *Glue) UpdateDevEndpointRequest(input *UpdateDevEndpointInput) (req *req // UpdateDevEndpoint API operation for AWS Glue. // -// Updates a specified DevEndpoint. +// Updates a specified development endpoint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -11638,8 +11642,8 @@ func (s *BatchGetCrawlersOutput) SetCrawlersNotFound(v []*string) *BatchGetCrawl type BatchGetDevEndpointsInput struct { _ struct{} `type:"structure"` - // The list of DevEndpoint names, which may be the names returned from the ListDevEndpoint - // operation. + // The list of DevEndpoint names, which might be the names returned from the + // ListDevEndpoint operation. // // DevEndpointNames is a required field DevEndpointNames []*string `min:"1" type:"list" required:"true"` @@ -12448,14 +12452,14 @@ func (s *Classifier) SetXMLClassifier(v *XMLClassifier) *Classifier { return s } -// Specifies how CloudWatch data should be encrypted. +// Specifies how Amazon CloudWatch data should be encrypted. type CloudWatchEncryption struct { _ struct{} `type:"structure"` // The encryption mode to use for CloudWatch data. CloudWatchEncryptionMode *string `type:"string" enum:"CloudWatchEncryptionMode"` - // The AWS ARN of the KMS key to be used to encrypt the data. + // The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. KmsKeyArn *string `type:"string"` } @@ -14125,33 +14129,40 @@ type CreateDevEndpointInput struct { // EndpointName is a required field EndpointName *string `type:"string" required:"true"` - // Path to one or more Java Jars in an S3 bucket that should be loaded in your - // DevEndpoint. + // The path to one or more Java .jar files in an S3 bucket that should be loaded + // in your DevEndpoint. ExtraJarsS3Path *string `type:"string"` - // Path(s) to one or more Python libraries in an S3 bucket that should be loaded - // in your DevEndpoint. Multiple values must be complete paths separated by - // a comma. + // The paths to one or more Python libraries in an Amazon S3 bucket that should + // be loaded in your DevEndpoint. Multiple values must be complete paths separated + // by a comma. // - // Please note that only pure Python libraries can currently be used on a DevEndpoint. - // Libraries that rely on C extensions, such as the pandas (http://pandas.pydata.org/) - // Python data analysis library, are not yet supported. + // You can only use pure Python libraries with a DevEndpoint. Libraries that + // rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python + // data analysis library, are not yet supported. ExtraPythonLibsS3Path *string `type:"string"` // The number of AWS Glue Data Processing Units (DPUs) to allocate to this DevEndpoint. NumberOfNodes *int64 `type:"integer"` + // The number of workers of a defined workerType that are allocated to the development + // endpoint. + // + // The maximum number of workers you can define are 299 for G.1X, and 149 for + // G.2X. + NumberOfWorkers *int64 `type:"integer"` + // The public key to be used by this DevEndpoint for authentication. This attribute - // is provided for backward compatibility, as the recommended attribute to use - // is public keys. + // is provided for backward compatibility because the recommended attribute + // to use is public keys. PublicKey *string `type:"string"` - // A list of public keys to be used by the DevEndpoints for authentication. + // A list of public keys to be used by the development endpoints for authentication. // The use of this attribute is preferred over a single public key because the // public keys allow you to have a different private key per client. // // If you previously created an endpoint with a public key, you must remove - // that key to be able to set a list of public keys: call the UpdateDevEndpoint + // that key to be able to set a list of public keys. Call the UpdateDevEndpoint // API with the public key content in the deletePublicKeys attribute, and the // list of new keys in the addPublicKeys attribute. PublicKeys []*string `type:"list"` @@ -14172,9 +14183,24 @@ type CreateDevEndpointInput struct { // The tags to use with this DevEndpoint. You may use tags to limit access to // the DevEndpoint. For more information about tags in AWS Glue, see AWS Tags - // in AWS Glue (http://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) + // in AWS Glue (https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html) // in the developer guide. Tags map[string]*string `type:"map"` + + // The type of predefined worker that is allocated to the development endpoint. + // Accepts a value of Standard, G.1X, or G.2X. + // + // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of + // memory and a 50GB disk, and 2 executors per worker. + // + // * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of + // memory, 64 GB disk), and provides 1 executor per worker. We recommend + // this worker type for memory-intensive jobs. + // + // * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of + // memory, 128 GB disk), and provides 1 executor per worker. We recommend + // this worker type for memory-intensive jobs. + WorkerType *string `type:"string" enum:"WorkerType"` } // String returns the string representation @@ -14236,6 +14262,12 @@ func (s *CreateDevEndpointInput) SetNumberOfNodes(v int64) *CreateDevEndpointInp return s } +// SetNumberOfWorkers sets the NumberOfWorkers field's value. +func (s *CreateDevEndpointInput) SetNumberOfWorkers(v int64) *CreateDevEndpointInput { + s.NumberOfWorkers = &v + return s +} + // SetPublicKey sets the PublicKey field's value. func (s *CreateDevEndpointInput) SetPublicKey(v string) *CreateDevEndpointInput { s.PublicKey = &v @@ -14278,13 +14310,19 @@ func (s *CreateDevEndpointInput) SetTags(v map[string]*string) *CreateDevEndpoin return s } +// SetWorkerType sets the WorkerType field's value. +func (s *CreateDevEndpointInput) SetWorkerType(v string) *CreateDevEndpointInput { + s.WorkerType = &v + return s +} + type CreateDevEndpointOutput struct { _ struct{} `type:"structure"` // The map of arguments used to configure this DevEndpoint. Arguments map[string]*string `type:"map"` - // The AWS availability zone where this DevEndpoint is located. + // The AWS Availability Zone where this DevEndpoint is located. AvailabilityZone *string `type:"string"` // The point in time at which this DevEndpoint was created. @@ -14293,11 +14331,11 @@ type CreateDevEndpointOutput struct { // The name assigned to the new DevEndpoint. EndpointName *string `type:"string"` - // Path to one or more Java Jars in an S3 bucket that will be loaded in your - // DevEndpoint. + // Path to one or more Java .jar files in an S3 bucket that will be loaded in + // your DevEndpoint. ExtraJarsS3Path *string `type:"string"` - // Path(s) to one or more Python libraries in an S3 bucket that will be loaded + // The paths to one or more Python libraries in an S3 bucket that will be loaded // in your DevEndpoint. ExtraPythonLibsS3Path *string `type:"string"` @@ -14307,7 +14345,11 @@ type CreateDevEndpointOutput struct { // The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint. NumberOfNodes *int64 `type:"integer"` - // The AWS ARN of the role assigned to the new DevEndpoint. + // The number of workers of a defined workerType that are allocated to the development + // endpoint. + NumberOfWorkers *int64 `type:"integer"` + + // The Amazon Resource Name (ARN) of the role assigned to the new DevEndpoint. RoleArn *string `type:"string"` // The name of the SecurityConfiguration structure being used with this DevEndpoint. @@ -14322,9 +14364,13 @@ type CreateDevEndpointOutput struct { // The subnet ID assigned to the new DevEndpoint. SubnetId *string `type:"string"` - // The ID of the VPC used by this DevEndpoint. + // The ID of the virtual private cloud (VPC) used by this DevEndpoint. VpcId *string `type:"string"` + // The type of predefined worker that is allocated to the development endpoint. + // May be a value of Standard, G.1X, or G.2X. + WorkerType *string `type:"string" enum:"WorkerType"` + // The address of the YARN endpoint used by this DevEndpoint. YarnEndpointAddress *string `type:"string"` @@ -14390,6 +14436,12 @@ func (s *CreateDevEndpointOutput) SetNumberOfNodes(v int64) *CreateDevEndpointOu return s } +// SetNumberOfWorkers sets the NumberOfWorkers field's value. +func (s *CreateDevEndpointOutput) SetNumberOfWorkers(v int64) *CreateDevEndpointOutput { + s.NumberOfWorkers = &v + return s +} + // SetRoleArn sets the RoleArn field's value. func (s *CreateDevEndpointOutput) SetRoleArn(v string) *CreateDevEndpointOutput { s.RoleArn = &v @@ -14426,6 +14478,12 @@ func (s *CreateDevEndpointOutput) SetVpcId(v string) *CreateDevEndpointOutput { return s } +// SetWorkerType sets the WorkerType field's value. +func (s *CreateDevEndpointOutput) SetWorkerType(v string) *CreateDevEndpointOutput { + s.WorkerType = &v + return s +} + // SetYarnEndpointAddress sets the YarnEndpointAddress field's value. func (s *CreateDevEndpointOutput) SetYarnEndpointAddress(v string) *CreateDevEndpointOutput { s.YarnEndpointAddress = &v @@ -14564,6 +14622,17 @@ type CreateJobInput struct { // for this job. ExecutionProperty *ExecutionProperty `type:"structure"` + // Glue version determines the versions of Apache Spark and Python that AWS + // Glue supports. The Python version indicates the version supported for jobs + // of type Spark. + // + // For more information about the available AWS Glue versions and corresponding + // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) + // in the developer guide. + // + // Jobs that are created without specifying a Glue version default to Glue 0.9. + GlueVersion *string `min:"1" type:"string"` + // This field is reserved for future use. LogUri *string `type:"string"` @@ -14635,7 +14704,7 @@ type CreateJobInput struct { // * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of // memory, 128 GB disk), and provides 1 executor per worker. We recommend // this worker type for memory-intensive jobs. - WorkerType *string `min:"1" type:"string"` + WorkerType *string `type:"string" enum:"WorkerType"` } // String returns the string representation @@ -14654,6 +14723,9 @@ func (s *CreateJobInput) Validate() error { if s.Command == nil { invalidParams.Add(request.NewErrParamRequired("Command")) } + if s.GlueVersion != nil && len(*s.GlueVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1)) + } if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } @@ -14669,9 +14741,6 @@ func (s *CreateJobInput) Validate() error { if s.Timeout != nil && *s.Timeout < 1 { invalidParams.Add(request.NewErrParamMinValue("Timeout", 1)) } - if s.WorkerType != nil && len(*s.WorkerType) < 1 { - invalidParams.Add(request.NewErrParamMinLen("WorkerType", 1)) - } if s.NotificationProperty != nil { if err := s.NotificationProperty.Validate(); err != nil { invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams)) @@ -14720,6 +14789,12 @@ func (s *CreateJobInput) SetExecutionProperty(v *ExecutionProperty) *CreateJobIn return s } +// SetGlueVersion sets the GlueVersion field's value. +func (s *CreateJobInput) SetGlueVersion(v string) *CreateJobInput { + s.GlueVersion = &v + return s +} + // SetLogUri sets the LogUri field's value. func (s *CreateJobInput) SetLogUri(v string) *CreateJobInput { s.LogUri = &v @@ -16945,17 +17020,17 @@ func (s *DeleteWorkflowOutput) SetName(v string) *DeleteWorkflowOutput { return s } -// A development endpoint where a developer can remotely debug ETL scripts. +// A development endpoint where a developer can remotely debug extract, transform, +// and load (ETL) scripts. type DevEndpoint struct { _ struct{} `type:"structure"` // A map of arguments used to configure the DevEndpoint. // - // Note that currently, we only support "--enable-glue-datacatalog": "" as a - // valid argument. + // Currently, only "--enable-glue-datacatalog": "" is supported as a valid argument. Arguments map[string]*string `type:"map"` - // The AWS availability zone where this DevEndpoint is located. + // The AWS Availability Zone where this DevEndpoint is located. AvailabilityZone *string `type:"string"` // The point in time at which this DevEndpoint was created. @@ -16964,20 +17039,19 @@ type DevEndpoint struct { // The name of the DevEndpoint. EndpointName *string `type:"string"` - // Path to one or more Java Jars in an S3 bucket that should be loaded in your - // DevEndpoint. + // The path to one or more Java .jar files in an S3 bucket that should be loaded + // in your DevEndpoint. // - // Please note that only pure Java/Scala libraries can currently be used on - // a DevEndpoint. + // You can only use pure Java/Scala libraries with a DevEndpoint. ExtraJarsS3Path *string `type:"string"` - // Path(s) to one or more Python libraries in an S3 bucket that should be loaded - // in your DevEndpoint. Multiple values must be complete paths separated by - // a comma. + // The paths to one or more Python libraries in an Amazon S3 bucket that should + // be loaded in your DevEndpoint. Multiple values must be complete paths separated + // by a comma. // - // Please note that only pure Python libraries can currently be used on a DevEndpoint. - // Libraries that rely on C extensions, such as the pandas (http://pandas.pydata.org/) - // Python data analysis library, are not yet supported. + // You can only use pure Python libraries with a DevEndpoint. Libraries that + // rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python + // data analysis library, are not currently supported. ExtraPythonLibsS3Path *string `type:"string"` // The reason for a current failure in this DevEndpoint. @@ -16992,31 +17066,38 @@ type DevEndpoint struct { // The number of AWS Glue Data Processing Units (DPUs) allocated to this DevEndpoint. NumberOfNodes *int64 `type:"integer"` - // A private IP address to access the DevEndpoint within a VPC, if the DevEndpoint + // The number of workers of a defined workerType that are allocated to the development + // endpoint. + // + // The maximum number of workers you can define are 299 for G.1X, and 149 for + // G.2X. + NumberOfWorkers *int64 `type:"integer"` + + // A private IP address to access the DevEndpoint within a VPC if the DevEndpoint // is created within one. The PrivateAddress field is present only when you - // create the DevEndpoint within your virtual private cloud (VPC). + // create the DevEndpoint within your VPC. PrivateAddress *string `type:"string"` // The public IP address used by this DevEndpoint. The PublicAddress field is - // present only when you create a non-VPC (virtual private cloud) DevEndpoint. + // present only when you create a non-virtual private cloud (VPC) DevEndpoint. PublicAddress *string `type:"string"` // The public key to be used by this DevEndpoint for authentication. This attribute - // is provided for backward compatibility, as the recommended attribute to use - // is public keys. + // is provided for backward compatibility because the recommended attribute + // to use is public keys. PublicKey *string `type:"string"` // A list of public keys to be used by the DevEndpoints for authentication. - // The use of this attribute is preferred over a single public key because the - // public keys allow you to have a different private key per client. + // Using this attribute is preferred over a single public key because the public + // keys allow you to have a different private key per client. // // If you previously created an endpoint with a public key, you must remove - // that key to be able to set a list of public keys: call the UpdateDevEndpoint - // API with the public key content in the deletePublicKeys attribute, and the - // list of new keys in the addPublicKeys attribute. + // that key to be able to set a list of public keys. Call the UpdateDevEndpoint + // API operation with the public key content in the deletePublicKeys attribute, + // and the list of new keys in the addPublicKeys attribute. PublicKeys []*string `type:"list"` - // The AWS ARN of the IAM role used in this DevEndpoint. + // The Amazon Resource Name (ARN) of the IAM role used in this DevEndpoint. RoleArn *string `type:"string"` // The name of the SecurityConfiguration structure to be used with this DevEndpoint. @@ -17034,6 +17115,21 @@ type DevEndpoint struct { // The ID of the virtual private cloud (VPC) used by this DevEndpoint. VpcId *string `type:"string"` + // The type of predefined worker that is allocated to the development endpoint. + // Accepts a value of Standard, G.1X, or G.2X. + // + // * For the Standard worker type, each worker provides 4 vCPU, 16 GB of + // memory and a 50GB disk, and 2 executors per worker. + // + // * For the G.1X worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of + // memory, 64 GB disk), and provides 1 executor per worker. We recommend + // this worker type for memory-intensive jobs. + // + // * For the G.2X worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of + // memory, 128 GB disk), and provides 1 executor per worker. We recommend + // this worker type for memory-intensive jobs. + WorkerType *string `type:"string" enum:"WorkerType"` + // The YARN endpoint address used by this DevEndpoint. YarnEndpointAddress *string `type:"string"` @@ -17111,6 +17207,12 @@ func (s *DevEndpoint) SetNumberOfNodes(v int64) *DevEndpoint { return s } +// SetNumberOfWorkers sets the NumberOfWorkers field's value. +func (s *DevEndpoint) SetNumberOfWorkers(v int64) *DevEndpoint { + s.NumberOfWorkers = &v + return s +} + // SetPrivateAddress sets the PrivateAddress field's value. func (s *DevEndpoint) SetPrivateAddress(v string) *DevEndpoint { s.PrivateAddress = &v @@ -17171,6 +17273,12 @@ func (s *DevEndpoint) SetVpcId(v string) *DevEndpoint { return s } +// SetWorkerType sets the WorkerType field's value. +func (s *DevEndpoint) SetWorkerType(v string) *DevEndpoint { + s.WorkerType = &v + return s +} + // SetYarnEndpointAddress sets the YarnEndpointAddress field's value. func (s *DevEndpoint) SetYarnEndpointAddress(v string) *DevEndpoint { s.YarnEndpointAddress = &v @@ -17183,24 +17291,23 @@ func (s *DevEndpoint) SetZeppelinRemoteSparkInterpreterPort(v int64) *DevEndpoin return s } -// Custom libraries to be loaded into a DevEndpoint. +// Custom libraries to be loaded into a development endpoint. type DevEndpointCustomLibraries struct { _ struct{} `type:"structure"` - // Path to one or more Java Jars in an S3 bucket that should be loaded in your - // DevEndpoint. + // The path to one or more Java .jar files in an S3 bucket that should be loaded + // in your DevEndpoint. // - // Please note that only pure Java/Scala libraries can currently be used on - // a DevEndpoint. + // You can only use pure Java/Scala libraries with a DevEndpoint. ExtraJarsS3Path *string `type:"string"` - // Path(s) to one or more Python libraries in an S3 bucket that should be loaded - // in your DevEndpoint. Multiple values must be complete paths separated by - // a comma. + // The paths to one or more Python libraries in an Amazon Simple Storage Service + // (Amazon S3) bucket that should be loaded in your DevEndpoint. Multiple values + // must be complete paths separated by a comma. // - // Please note that only pure Python libraries can currently be used on a DevEndpoint. - // Libraries that rely on C extensions, such as the pandas (http://pandas.pydata.org/) - // Python data analysis library, are not yet supported. + // You can only use pure Python libraries with a DevEndpoint. Libraries that + // rely on C extensions, such as the pandas (http://pandas.pydata.org/) Python + // data analysis library, are not currently supported. ExtraPythonLibsS3Path *string `type:"string"` } @@ -17339,13 +17446,14 @@ func (s *EncryptionAtRest) SetSseAwsKmsKeyId(v string) *EncryptionAtRest { type EncryptionConfiguration struct { _ struct{} `type:"structure"` - // The encryption configuration for CloudWatch. + // The encryption configuration for Amazon CloudWatch. CloudWatchEncryption *CloudWatchEncryption `type:"structure"` - // The encryption configuration for Job Bookmarks. + // The encryption configuration for job bookmarks. JobBookmarksEncryption *JobBookmarksEncryption `type:"structure"` - // The encryption configuration for S3 data. + // The encryption configuration for Amazon Simple Storage Service (Amazon S3) + // data. S3Encryption []*S3Encryption `type:"list"` } @@ -18394,7 +18502,7 @@ func (s *GetDataflowGraphOutput) SetDagNodes(v []*CodeGenNode) *GetDataflowGraph type GetDevEndpointInput struct { _ struct{} `type:"structure"` - // Name of the DevEndpoint for which to retrieve information. + // Name of the DevEndpoint to retrieve information for. // // EndpointName is a required field EndpointName *string `type:"string" required:"true"` @@ -19534,7 +19642,7 @@ func (s *GetSecurityConfigurationInput) SetName(v string) *GetSecurityConfigurat type GetSecurityConfigurationOutput struct { _ struct{} `type:"structure"` - // The requested security configuration + // The requested security configuration. SecurityConfiguration *SecurityConfiguration `type:"structure"` } @@ -21091,6 +21199,17 @@ type Job struct { // for this job. ExecutionProperty *ExecutionProperty `type:"structure"` + // Glue version determines the versions of Apache Spark and Python that AWS + // Glue supports. The Python version indicates the version supported for jobs + // of type Spark. + // + // For more information about the available AWS Glue versions and corresponding + // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) + // in the developer guide. + // + // Jobs that are created without specifying a Glue version default to Glue 0.9. + GlueVersion *string `min:"1" type:"string"` + // The last point in time when this job definition was modified. LastModifiedOn *time.Time `type:"timestamp"` @@ -21211,6 +21330,12 @@ func (s *Job) SetExecutionProperty(v *ExecutionProperty) *Job { return s } +// SetGlueVersion sets the GlueVersion field's value. +func (s *Job) SetGlueVersion(v string) *Job { + s.GlueVersion = &v + return s +} + // SetLastModifiedOn sets the LastModifiedOn field's value. func (s *Job) SetLastModifiedOn(v time.Time) *Job { s.LastModifiedOn = &v @@ -21277,7 +21402,7 @@ func (s *Job) SetWorkerType(v string) *Job { return s } -// Defines a point which a job can resume processing. +// Defines a point that a job can resume processing. type JobBookmarkEntry struct { _ struct{} `type:"structure"` @@ -21287,13 +21412,13 @@ type JobBookmarkEntry struct { // The bookmark itself. JobBookmark *string `type:"string"` - // Name of the job in question. + // The name of the job in question. JobName *string `type:"string"` // The run ID number. Run *int64 `type:"integer"` - // Version of the job. + // The version of the job. Version *int64 `type:"integer"` } @@ -21337,14 +21462,14 @@ func (s *JobBookmarkEntry) SetVersion(v int64) *JobBookmarkEntry { return s } -// Specifies how Job bookmark data should be encrypted. +// Specifies how job bookmark data should be encrypted. type JobBookmarksEncryption struct { _ struct{} `type:"structure"` - // The encryption mode to use for Job bookmarks data. + // The encryption mode to use for job bookmarks data. JobBookmarksEncryptionMode *string `type:"string" enum:"JobBookmarksEncryptionMode"` - // The AWS ARN of the KMS key to be used to encrypt the data. + // The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. KmsKeyArn *string `type:"string"` } @@ -21481,6 +21606,17 @@ type JobRun struct { // The amount of time (in seconds) that the job run consumed resources. ExecutionTime *int64 `type:"integer"` + // Glue version determines the versions of Apache Spark and Python that AWS + // Glue supports. The Python version indicates the version supported for jobs + // of type Spark. + // + // For more information about the available AWS Glue versions and corresponding + // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) + // in the developer guide. + // + // Jobs that are created without specifying a Glue version default to Glue 0.9. + GlueVersion *string `min:"1" type:"string"` + // The ID of this job run. Id *string `min:"1" type:"string"` @@ -21611,6 +21747,12 @@ func (s *JobRun) SetExecutionTime(v int64) *JobRun { return s } +// SetGlueVersion sets the GlueVersion field's value. +func (s *JobRun) SetGlueVersion(v string) *JobRun { + s.GlueVersion = &v + return s +} + // SetId sets the Id field's value. func (s *JobRun) SetId(v string) *JobRun { s.Id = &v @@ -21744,6 +21886,15 @@ type JobUpdate struct { // for this job. ExecutionProperty *ExecutionProperty `type:"structure"` + // Glue version determines the versions of Apache Spark and Python that AWS + // Glue supports. The Python version indicates the version supported for jobs + // of type Spark. + // + // For more information about the available AWS Glue versions and corresponding + // Spark and Python versions, see Glue version (https://docs.aws.amazon.com/glue/latest/dg/add-job.html) + // in the developer guide. + GlueVersion *string `min:"1" type:"string"` + // This field is reserved for future use. LogUri *string `type:"string"` @@ -21819,6 +21970,9 @@ func (s JobUpdate) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *JobUpdate) Validate() error { invalidParams := request.ErrInvalidParams{Context: "JobUpdate"} + if s.GlueVersion != nil && len(*s.GlueVersion) < 1 { + invalidParams.Add(request.NewErrParamMinLen("GlueVersion", 1)) + } if s.SecurityConfiguration != nil && len(*s.SecurityConfiguration) < 1 { invalidParams.Add(request.NewErrParamMinLen("SecurityConfiguration", 1)) } @@ -21873,6 +22027,12 @@ func (s *JobUpdate) SetExecutionProperty(v *ExecutionProperty) *JobUpdate { return s } +// SetGlueVersion sets the GlueVersion field's value. +func (s *JobUpdate) SetGlueVersion(v string) *JobUpdate { + s.GlueVersion = &v + return s +} + // SetLogUri sets the LogUri field's value. func (s *JobUpdate) SetLogUri(v string) *JobUpdate { s.LogUri = &v @@ -23556,14 +23716,14 @@ func (s *ResourceUri) SetUri(v string) *ResourceUri { return s } -// Specifies how S3 data should be encrypted. +// Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted. type S3Encryption struct { _ struct{} `type:"structure"` - // The AWS ARN of the KMS key to be used to encrypt the data. + // The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data. KmsKeyArn *string `type:"string"` - // The encryption mode to use for S3 data. + // The encryption mode to use for Amazon S3 data. S3EncryptionMode *string `type:"string" enum:"S3EncryptionMode"` } @@ -24091,7 +24251,7 @@ type StartJobRunInput struct { // // * For the G.2X worker type, each worker provides 8 vCPU, 32 GB of memory // and a 128GB disk, and 1 executor per worker. - WorkerType *string `min:"1" type:"string"` + WorkerType *string `type:"string" enum:"WorkerType"` } // String returns the string representation @@ -24122,9 +24282,6 @@ func (s *StartJobRunInput) Validate() error { if s.Timeout != nil && *s.Timeout < 1 { invalidParams.Add(request.NewErrParamMinValue("Timeout", 1)) } - if s.WorkerType != nil && len(*s.WorkerType) < 1 { - invalidParams.Add(request.NewErrParamMinLen("WorkerType", 1)) - } if s.NotificationProperty != nil { if err := s.NotificationProperty.Validate(); err != nil { invalidParams.AddNested("NotificationProperty", err.(request.ErrInvalidParams)) @@ -26114,7 +26271,7 @@ type UpdateDevEndpointInput struct { PublicKey *string `type:"string"` // True if the list of custom libraries to be loaded in the development endpoint - // needs to be updated, or False otherwise. + // needs to be updated, or False if otherwise. UpdateEtlLibraries *bool `type:"boolean"` } diff --git a/service/kafka/api.go b/service/kafka/api.go index bef73a71c73..28b8752e5dd 100644 --- a/service/kafka/api.go +++ b/service/kafka/api.go @@ -2683,7 +2683,7 @@ type CreateClusterInput struct { // KafkaVersion is a required field KafkaVersion *string `locationName:"kafkaVersion" min:"1" type:"string" required:"true"` - // The number of Kafka broker nodes in the Amazon MSK cluster. + // The number of broker nodes in the cluster. // // NumberOfBrokerNodes is a required field NumberOfBrokerNodes *int64 `locationName:"numberOfBrokerNodes" min:"1" type:"integer" required:"true"` diff --git a/service/pinpoint/api.go b/service/pinpoint/api.go index 201422197f8..c19d3957917 100644 --- a/service/pinpoint/api.go +++ b/service/pinpoint/api.go @@ -4,6 +4,7 @@ package pinpoint import ( "fmt" + "time" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/awsutil" @@ -2567,6 +2568,101 @@ func (c *Pinpoint) GetAppWithContext(ctx aws.Context, input *GetAppInput, opts . return out, req.Send() } +const opGetApplicationDateRangeKpi = "GetApplicationDateRangeKpi" + +// GetApplicationDateRangeKpiRequest generates a "aws/request.Request" representing the +// client's request for the GetApplicationDateRangeKpi operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetApplicationDateRangeKpi for more information on using the GetApplicationDateRangeKpi +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetApplicationDateRangeKpiRequest method. +// req, resp := client.GetApplicationDateRangeKpiRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationDateRangeKpi +func (c *Pinpoint) GetApplicationDateRangeKpiRequest(input *GetApplicationDateRangeKpiInput) (req *request.Request, output *GetApplicationDateRangeKpiOutput) { + op := &request.Operation{ + Name: opGetApplicationDateRangeKpi, + HTTPMethod: "GET", + HTTPPath: "/v1/apps/{application-id}/kpis/daterange/{kpi-name}", + } + + if input == nil { + input = &GetApplicationDateRangeKpiInput{} + } + + output = &GetApplicationDateRangeKpiOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetApplicationDateRangeKpi API operation for Amazon Pinpoint. +// +// Retrieves (queries) pre-aggregated data for a standard metric that applies +// to an application. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Pinpoint's +// API operation GetApplicationDateRangeKpi for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Provides information about an API request or response. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Provides information about an API request or response. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Provides information about an API request or response. +// +// * ErrCodeNotFoundException "NotFoundException" +// Provides information about an API request or response. +// +// * ErrCodeMethodNotAllowedException "MethodNotAllowedException" +// Provides information about an API request or response. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// Provides information about an API request or response. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetApplicationDateRangeKpi +func (c *Pinpoint) GetApplicationDateRangeKpi(input *GetApplicationDateRangeKpiInput) (*GetApplicationDateRangeKpiOutput, error) { + req, out := c.GetApplicationDateRangeKpiRequest(input) + return out, req.Send() +} + +// GetApplicationDateRangeKpiWithContext is the same as GetApplicationDateRangeKpi with the addition of +// the ability to pass a context and additional request options. +// +// See GetApplicationDateRangeKpi for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Pinpoint) GetApplicationDateRangeKpiWithContext(ctx aws.Context, input *GetApplicationDateRangeKpiInput, opts ...request.Option) (*GetApplicationDateRangeKpiOutput, error) { + req, out := c.GetApplicationDateRangeKpiRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetApplicationSettings = "GetApplicationSettings" // GetApplicationSettingsRequest generates a "aws/request.Request" representing the @@ -3039,6 +3135,101 @@ func (c *Pinpoint) GetCampaignActivitiesWithContext(ctx aws.Context, input *GetC return out, req.Send() } +const opGetCampaignDateRangeKpi = "GetCampaignDateRangeKpi" + +// GetCampaignDateRangeKpiRequest generates a "aws/request.Request" representing the +// client's request for the GetCampaignDateRangeKpi operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetCampaignDateRangeKpi for more information on using the GetCampaignDateRangeKpi +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetCampaignDateRangeKpiRequest method. +// req, resp := client.GetCampaignDateRangeKpiRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignDateRangeKpi +func (c *Pinpoint) GetCampaignDateRangeKpiRequest(input *GetCampaignDateRangeKpiInput) (req *request.Request, output *GetCampaignDateRangeKpiOutput) { + op := &request.Operation{ + Name: opGetCampaignDateRangeKpi, + HTTPMethod: "GET", + HTTPPath: "/v1/apps/{application-id}/campaigns/{campaign-id}/kpis/daterange/{kpi-name}", + } + + if input == nil { + input = &GetCampaignDateRangeKpiInput{} + } + + output = &GetCampaignDateRangeKpiOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetCampaignDateRangeKpi API operation for Amazon Pinpoint. +// +// Retrieves (queries) pre-aggregated data for a standard metric that applies +// to a campaign. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Pinpoint's +// API operation GetCampaignDateRangeKpi for usage and error information. +// +// Returned Error Codes: +// * ErrCodeBadRequestException "BadRequestException" +// Provides information about an API request or response. +// +// * ErrCodeInternalServerErrorException "InternalServerErrorException" +// Provides information about an API request or response. +// +// * ErrCodeForbiddenException "ForbiddenException" +// Provides information about an API request or response. +// +// * ErrCodeNotFoundException "NotFoundException" +// Provides information about an API request or response. +// +// * ErrCodeMethodNotAllowedException "MethodNotAllowedException" +// Provides information about an API request or response. +// +// * ErrCodeTooManyRequestsException "TooManyRequestsException" +// Provides information about an API request or response. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignDateRangeKpi +func (c *Pinpoint) GetCampaignDateRangeKpi(input *GetCampaignDateRangeKpiInput) (*GetCampaignDateRangeKpiOutput, error) { + req, out := c.GetCampaignDateRangeKpiRequest(input) + return out, req.Send() +} + +// GetCampaignDateRangeKpiWithContext is the same as GetCampaignDateRangeKpi with the addition of +// the ability to pass a context and additional request options. +// +// See GetCampaignDateRangeKpi for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *Pinpoint) GetCampaignDateRangeKpiWithContext(ctx aws.Context, input *GetCampaignDateRangeKpiInput, opts ...request.Option) (*GetCampaignDateRangeKpiOutput, error) { + req, out := c.GetCampaignDateRangeKpiRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetCampaignVersion = "GetCampaignVersion" // GetCampaignVersionRequest generates a "aws/request.Request" representing the @@ -8997,6 +9188,95 @@ func (s *AddressConfiguration) SetTitleOverride(v string) *AddressConfiguration return s } +// Provides the results of a query that retrieved the data for a standard metric +// that applies to an application, and provides information about that query. +type ApplicationDateRangeKpiResponse struct { + _ struct{} `type:"structure"` + + // The unique identifier for the application that the metric applies to. + // + // ApplicationId is a required field + ApplicationId *string `type:"string" required:"true"` + + // The last date or date and time of the date range that was used to filter + // the query results, in ISO 8601 format. The date range is inclusive. + // + // EndTime is a required field + EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The name of the metric, also referred to as a key performance indicator (KPI), + // that the data was retrieved for. This value describes the associated metric + // and consists of two or more terms, which are comprised of lowercase alphanumeric + // characters, separated by a hyphen. For a list of valid values, see the Amazon + // Pinpoint Developer Guide (developerguide.html). + // + // KpiName is a required field + KpiName *string `type:"string" required:"true"` + + // An array of objects that contains the results of the query. Each object contains + // the value for the metric and metadata about that value. + // + // KpiResult is a required field + KpiResult *BaseKpiResult `type:"structure" required:"true"` + + // The string to use in a subsequent request to get the next page of results + // in a paginated response. This value is null for the App Metrics resource. + // The App Metrics resource returns all results in a single page. + NextToken *string `type:"string"` + + // The first date or date and time of the date range that was used to filter + // the query results, in ISO 8601 format. The date range is inclusive. + // + // StartTime is a required field + StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation +func (s ApplicationDateRangeKpiResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ApplicationDateRangeKpiResponse) GoString() string { + return s.String() +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *ApplicationDateRangeKpiResponse) SetApplicationId(v string) *ApplicationDateRangeKpiResponse { + s.ApplicationId = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *ApplicationDateRangeKpiResponse) SetEndTime(v time.Time) *ApplicationDateRangeKpiResponse { + s.EndTime = &v + return s +} + +// SetKpiName sets the KpiName field's value. +func (s *ApplicationDateRangeKpiResponse) SetKpiName(v string) *ApplicationDateRangeKpiResponse { + s.KpiName = &v + return s +} + +// SetKpiResult sets the KpiResult field's value. +func (s *ApplicationDateRangeKpiResponse) SetKpiResult(v *BaseKpiResult) *ApplicationDateRangeKpiResponse { + s.KpiResult = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *ApplicationDateRangeKpiResponse) SetNextToken(v string) *ApplicationDateRangeKpiResponse { + s.NextToken = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *ApplicationDateRangeKpiResponse) SetStartTime(v time.Time) *ApplicationDateRangeKpiResponse { + s.StartTime = &v + return s +} + // Provides information about an application. type ApplicationResponse struct { _ struct{} `type:"structure"` @@ -9639,6 +9919,134 @@ func (s *BaiduMessage) SetUrl(v string) *BaiduMessage { return s } +// Provides the results of a query that retrieved the data for a standard metric +// that applies to an application or campaign. +type BaseKpiResult struct { + _ struct{} `type:"structure"` + + // An array of objects that provides the results of a query that retrieved the + // data for a standard metric that applies to an application or campaign. + // + // Rows is a required field + Rows []*ResultRow `type:"list" required:"true"` +} + +// String returns the string representation +func (s BaseKpiResult) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s BaseKpiResult) GoString() string { + return s.String() +} + +// SetRows sets the Rows field's value. +func (s *BaseKpiResult) SetRows(v []*ResultRow) *BaseKpiResult { + s.Rows = v + return s +} + +// Provides the results of a query that retrieved the data for a standard metric +// that applies to a campaign, and provides information about that query. +type CampaignDateRangeKpiResponse struct { + _ struct{} `type:"structure"` + + // The unique identifier for the application that the metric applies to. + // + // ApplicationId is a required field + ApplicationId *string `type:"string" required:"true"` + + // The unique identifier for the campaign that the metric applies to. + // + // CampaignId is a required field + CampaignId *string `type:"string" required:"true"` + + // The last date or date and time of the date range that was used to filter + // the query results, in ISO 8601 format. The date range is inclusive. + // + // EndTime is a required field + EndTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` + + // The name of the metric, also referred to as a key performance indicator (KPI), + // that the data was retrieved for. This value describes the associated metric + // and consists of two or more terms, which are comprised of lowercase alphanumeric + // characters, separated by a hyphen. For a list of valid values, see the Amazon + // Pinpoint Developer Guide (developerguide.html). + // + // KpiName is a required field + KpiName *string `type:"string" required:"true"` + + // An array of objects that contains the results of the query. Each object contains + // the value for the metric and metadata about that value. + // + // KpiResult is a required field + KpiResult *BaseKpiResult `type:"structure" required:"true"` + + // The string to use in a subsequent request to get the next page of results + // in a paginated response. This value is null for the Campaign Metrics resource. + // The Campaign Metrics resource returns all results in a single page. + NextToken *string `type:"string"` + + // The first date or date and time of the date range that was used to filter + // the query results, in ISO 8601 format. The date range is inclusive. + // + // StartTime is a required field + StartTime *time.Time `type:"timestamp" timestampFormat:"iso8601" required:"true"` +} + +// String returns the string representation +func (s CampaignDateRangeKpiResponse) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CampaignDateRangeKpiResponse) GoString() string { + return s.String() +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *CampaignDateRangeKpiResponse) SetApplicationId(v string) *CampaignDateRangeKpiResponse { + s.ApplicationId = &v + return s +} + +// SetCampaignId sets the CampaignId field's value. +func (s *CampaignDateRangeKpiResponse) SetCampaignId(v string) *CampaignDateRangeKpiResponse { + s.CampaignId = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *CampaignDateRangeKpiResponse) SetEndTime(v time.Time) *CampaignDateRangeKpiResponse { + s.EndTime = &v + return s +} + +// SetKpiName sets the KpiName field's value. +func (s *CampaignDateRangeKpiResponse) SetKpiName(v string) *CampaignDateRangeKpiResponse { + s.KpiName = &v + return s +} + +// SetKpiResult sets the KpiResult field's value. +func (s *CampaignDateRangeKpiResponse) SetKpiResult(v *BaseKpiResult) *CampaignDateRangeKpiResponse { + s.KpiResult = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *CampaignDateRangeKpiResponse) SetNextToken(v string) *CampaignDateRangeKpiResponse { + s.NextToken = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *CampaignDateRangeKpiResponse) SetStartTime(v time.Time) *CampaignDateRangeKpiResponse { + s.StartTime = &v + return s +} + // Specifies the content and "From" address for an email message that's sent // to recipients of a campaign. type CampaignEmailMessage struct { @@ -15107,6 +15515,118 @@ func (s *GetAppOutput) SetApplicationResponse(v *ApplicationResponse) *GetAppOut return s } +type GetApplicationDateRangeKpiInput struct { + _ struct{} `type:"structure"` + + // ApplicationId is a required field + ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` + + EndTime *time.Time `location:"querystring" locationName:"end-time" type:"timestamp" timestampFormat:"iso8601"` + + // KpiName is a required field + KpiName *string `location:"uri" locationName:"kpi-name" type:"string" required:"true"` + + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + + PageSize *string `location:"querystring" locationName:"page-size" type:"string"` + + StartTime *time.Time `location:"querystring" locationName:"start-time" type:"timestamp" timestampFormat:"iso8601"` +} + +// String returns the string representation +func (s GetApplicationDateRangeKpiInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetApplicationDateRangeKpiInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetApplicationDateRangeKpiInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetApplicationDateRangeKpiInput"} + if s.ApplicationId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationId")) + } + if s.ApplicationId != nil && len(*s.ApplicationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationId", 1)) + } + if s.KpiName == nil { + invalidParams.Add(request.NewErrParamRequired("KpiName")) + } + if s.KpiName != nil && len(*s.KpiName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KpiName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *GetApplicationDateRangeKpiInput) SetApplicationId(v string) *GetApplicationDateRangeKpiInput { + s.ApplicationId = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *GetApplicationDateRangeKpiInput) SetEndTime(v time.Time) *GetApplicationDateRangeKpiInput { + s.EndTime = &v + return s +} + +// SetKpiName sets the KpiName field's value. +func (s *GetApplicationDateRangeKpiInput) SetKpiName(v string) *GetApplicationDateRangeKpiInput { + s.KpiName = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetApplicationDateRangeKpiInput) SetNextToken(v string) *GetApplicationDateRangeKpiInput { + s.NextToken = &v + return s +} + +// SetPageSize sets the PageSize field's value. +func (s *GetApplicationDateRangeKpiInput) SetPageSize(v string) *GetApplicationDateRangeKpiInput { + s.PageSize = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *GetApplicationDateRangeKpiInput) SetStartTime(v time.Time) *GetApplicationDateRangeKpiInput { + s.StartTime = &v + return s +} + +type GetApplicationDateRangeKpiOutput struct { + _ struct{} `type:"structure" payload:"ApplicationDateRangeKpiResponse"` + + // Provides the results of a query that retrieved the data for a standard metric + // that applies to an application, and provides information about that query. + // + // ApplicationDateRangeKpiResponse is a required field + ApplicationDateRangeKpiResponse *ApplicationDateRangeKpiResponse `type:"structure" required:"true"` +} + +// String returns the string representation +func (s GetApplicationDateRangeKpiOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetApplicationDateRangeKpiOutput) GoString() string { + return s.String() +} + +// SetApplicationDateRangeKpiResponse sets the ApplicationDateRangeKpiResponse field's value. +func (s *GetApplicationDateRangeKpiOutput) SetApplicationDateRangeKpiResponse(v *ApplicationDateRangeKpiResponse) *GetApplicationDateRangeKpiOutput { + s.ApplicationDateRangeKpiResponse = v + return s +} + type GetApplicationSettingsInput struct { _ struct{} `type:"structure"` @@ -15387,6 +15907,133 @@ func (s *GetCampaignActivitiesOutput) SetActivitiesResponse(v *ActivitiesRespons return s } +type GetCampaignDateRangeKpiInput struct { + _ struct{} `type:"structure"` + + // ApplicationId is a required field + ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` + + // CampaignId is a required field + CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"` + + EndTime *time.Time `location:"querystring" locationName:"end-time" type:"timestamp" timestampFormat:"iso8601"` + + // KpiName is a required field + KpiName *string `location:"uri" locationName:"kpi-name" type:"string" required:"true"` + + NextToken *string `location:"querystring" locationName:"next-token" type:"string"` + + PageSize *string `location:"querystring" locationName:"page-size" type:"string"` + + StartTime *time.Time `location:"querystring" locationName:"start-time" type:"timestamp" timestampFormat:"iso8601"` +} + +// String returns the string representation +func (s GetCampaignDateRangeKpiInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCampaignDateRangeKpiInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetCampaignDateRangeKpiInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetCampaignDateRangeKpiInput"} + if s.ApplicationId == nil { + invalidParams.Add(request.NewErrParamRequired("ApplicationId")) + } + if s.ApplicationId != nil && len(*s.ApplicationId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ApplicationId", 1)) + } + if s.CampaignId == nil { + invalidParams.Add(request.NewErrParamRequired("CampaignId")) + } + if s.CampaignId != nil && len(*s.CampaignId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CampaignId", 1)) + } + if s.KpiName == nil { + invalidParams.Add(request.NewErrParamRequired("KpiName")) + } + if s.KpiName != nil && len(*s.KpiName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KpiName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetApplicationId sets the ApplicationId field's value. +func (s *GetCampaignDateRangeKpiInput) SetApplicationId(v string) *GetCampaignDateRangeKpiInput { + s.ApplicationId = &v + return s +} + +// SetCampaignId sets the CampaignId field's value. +func (s *GetCampaignDateRangeKpiInput) SetCampaignId(v string) *GetCampaignDateRangeKpiInput { + s.CampaignId = &v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *GetCampaignDateRangeKpiInput) SetEndTime(v time.Time) *GetCampaignDateRangeKpiInput { + s.EndTime = &v + return s +} + +// SetKpiName sets the KpiName field's value. +func (s *GetCampaignDateRangeKpiInput) SetKpiName(v string) *GetCampaignDateRangeKpiInput { + s.KpiName = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetCampaignDateRangeKpiInput) SetNextToken(v string) *GetCampaignDateRangeKpiInput { + s.NextToken = &v + return s +} + +// SetPageSize sets the PageSize field's value. +func (s *GetCampaignDateRangeKpiInput) SetPageSize(v string) *GetCampaignDateRangeKpiInput { + s.PageSize = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *GetCampaignDateRangeKpiInput) SetStartTime(v time.Time) *GetCampaignDateRangeKpiInput { + s.StartTime = &v + return s +} + +type GetCampaignDateRangeKpiOutput struct { + _ struct{} `type:"structure" payload:"CampaignDateRangeKpiResponse"` + + // Provides the results of a query that retrieved the data for a standard metric + // that applies to a campaign, and provides information about that query. + // + // CampaignDateRangeKpiResponse is a required field + CampaignDateRangeKpiResponse *CampaignDateRangeKpiResponse `type:"structure" required:"true"` +} + +// String returns the string representation +func (s GetCampaignDateRangeKpiOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetCampaignDateRangeKpiOutput) GoString() string { + return s.String() +} + +// SetCampaignDateRangeKpiResponse sets the CampaignDateRangeKpiResponse field's value. +func (s *GetCampaignDateRangeKpiOutput) SetCampaignDateRangeKpiResponse(v *CampaignDateRangeKpiResponse) *GetCampaignDateRangeKpiOutput { + s.CampaignDateRangeKpiResponse = v + return s +} + type GetCampaignInput struct { _ struct{} `type:"structure"` @@ -18328,7 +18975,8 @@ type NumberValidateResponse struct { _ struct{} `type:"structure"` // The carrier or service provider that the phone number is currently registered - // with. + // with. In some countries and regions, this value may be the carrier or service + // provider that the phone number was originally registered with. Carrier *string `type:"string"` // The name of the city where the phone number was originally registered. @@ -19051,6 +19699,100 @@ func (s *RemoveAttributesOutput) SetAttributesResource(v *AttributesResource) *R return s } +// Provides the results of a query that retrieved the data for a standard metric +// that applies to an application or campaign. +type ResultRow struct { + _ struct{} `type:"structure"` + + // An array of objects that defines the field and field values that were used + // to group data in a result set that contains multiple results. This value + // is null if the data in a result set isn’t grouped. + // + // GroupedBys is a required field + GroupedBys []*ResultRowValue `type:"list" required:"true"` + + // An array of objects that provides pre-aggregated values for a standard metric + // that applies to an application or campaign. + // + // Values is a required field + Values []*ResultRowValue `type:"list" required:"true"` +} + +// String returns the string representation +func (s ResultRow) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResultRow) GoString() string { + return s.String() +} + +// SetGroupedBys sets the GroupedBys field's value. +func (s *ResultRow) SetGroupedBys(v []*ResultRowValue) *ResultRow { + s.GroupedBys = v + return s +} + +// SetValues sets the Values field's value. +func (s *ResultRow) SetValues(v []*ResultRowValue) *ResultRow { + s.Values = v + return s +} + +// Provides a single value and metadata about that value as part of an array +// of query results for a standard metric that applies to an application or +// campaign. +type ResultRowValue struct { + _ struct{} `type:"structure"` + + // The name of the field that Amazon Pinpoint uses to store the value specified + // by the Value property. + // + // Key is a required field + Key *string `type:"string" required:"true"` + + // The data type of the value specified by the Value property. + // + // Type is a required field + Type *string `type:"string" required:"true"` + + // In a Values object, the value for the metric that the query retrieved data + // for. In a GroupedBys object, the value for the field that was used to group + // data in a result set that contains multiple results (Values objects). + // + // Value is a required field + Value *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s ResultRowValue) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ResultRowValue) GoString() string { + return s.String() +} + +// SetKey sets the Key field's value. +func (s *ResultRowValue) SetKey(v string) *ResultRowValue { + s.Key = &v + return s +} + +// SetType sets the Type field's value. +func (s *ResultRowValue) SetType(v string) *ResultRowValue { + s.Type = &v + return s +} + +// SetValue sets the Value field's value. +func (s *ResultRowValue) SetValue(v string) *ResultRowValue { + s.Value = &v + return s +} + // Specifies the status and settings of the SMS channel for an application. type SMSChannelRequest struct { _ struct{} `type:"structure"` @@ -22372,6 +23114,8 @@ type VoiceChannelResponse struct { // The date and time, in ISO 8601 format, when the voice channel was last modified. LastModifiedDate *string `type:"string"` + OriginationNumber *string `type:"string"` + // The type of messaging or notification platform for the channel. For the voice // channel, this value is VOICE. // @@ -22440,6 +23184,12 @@ func (s *VoiceChannelResponse) SetLastModifiedDate(v string) *VoiceChannelRespon return s } +// SetOriginationNumber sets the OriginationNumber field's value. +func (s *VoiceChannelResponse) SetOriginationNumber(v string) *VoiceChannelResponse { + s.OriginationNumber = &v + return s +} + // SetPlatform sets the Platform field's value. func (s *VoiceChannelResponse) SetPlatform(v string) *VoiceChannelResponse { s.Platform = &v diff --git a/service/pinpoint/pinpointiface/interface.go b/service/pinpoint/pinpointiface/interface.go index c2f9b3f837e..777602280b5 100644 --- a/service/pinpoint/pinpointiface/interface.go +++ b/service/pinpoint/pinpointiface/interface.go @@ -168,6 +168,10 @@ type PinpointAPI interface { GetAppWithContext(aws.Context, *pinpoint.GetAppInput, ...request.Option) (*pinpoint.GetAppOutput, error) GetAppRequest(*pinpoint.GetAppInput) (*request.Request, *pinpoint.GetAppOutput) + GetApplicationDateRangeKpi(*pinpoint.GetApplicationDateRangeKpiInput) (*pinpoint.GetApplicationDateRangeKpiOutput, error) + GetApplicationDateRangeKpiWithContext(aws.Context, *pinpoint.GetApplicationDateRangeKpiInput, ...request.Option) (*pinpoint.GetApplicationDateRangeKpiOutput, error) + GetApplicationDateRangeKpiRequest(*pinpoint.GetApplicationDateRangeKpiInput) (*request.Request, *pinpoint.GetApplicationDateRangeKpiOutput) + GetApplicationSettings(*pinpoint.GetApplicationSettingsInput) (*pinpoint.GetApplicationSettingsOutput, error) GetApplicationSettingsWithContext(aws.Context, *pinpoint.GetApplicationSettingsInput, ...request.Option) (*pinpoint.GetApplicationSettingsOutput, error) GetApplicationSettingsRequest(*pinpoint.GetApplicationSettingsInput) (*request.Request, *pinpoint.GetApplicationSettingsOutput) @@ -188,6 +192,10 @@ type PinpointAPI interface { GetCampaignActivitiesWithContext(aws.Context, *pinpoint.GetCampaignActivitiesInput, ...request.Option) (*pinpoint.GetCampaignActivitiesOutput, error) GetCampaignActivitiesRequest(*pinpoint.GetCampaignActivitiesInput) (*request.Request, *pinpoint.GetCampaignActivitiesOutput) + GetCampaignDateRangeKpi(*pinpoint.GetCampaignDateRangeKpiInput) (*pinpoint.GetCampaignDateRangeKpiOutput, error) + GetCampaignDateRangeKpiWithContext(aws.Context, *pinpoint.GetCampaignDateRangeKpiInput, ...request.Option) (*pinpoint.GetCampaignDateRangeKpiOutput, error) + GetCampaignDateRangeKpiRequest(*pinpoint.GetCampaignDateRangeKpiInput) (*request.Request, *pinpoint.GetCampaignDateRangeKpiOutput) + GetCampaignVersion(*pinpoint.GetCampaignVersionInput) (*pinpoint.GetCampaignVersionOutput, error) GetCampaignVersionWithContext(aws.Context, *pinpoint.GetCampaignVersionInput, ...request.Option) (*pinpoint.GetCampaignVersionOutput, error) GetCampaignVersionRequest(*pinpoint.GetCampaignVersionInput) (*request.Request, *pinpoint.GetCampaignVersionOutput) diff --git a/service/sts/api.go b/service/sts/api.go index 9e610591a19..d22c38b53f4 100644 --- a/service/sts/api.go +++ b/service/sts/api.go @@ -702,6 +702,102 @@ func (c *STS) DecodeAuthorizationMessageWithContext(ctx aws.Context, input *Deco return out, req.Send() } +const opGetAccessKeyInfo = "GetAccessKeyInfo" + +// GetAccessKeyInfoRequest generates a "aws/request.Request" representing the +// client's request for the GetAccessKeyInfo operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See GetAccessKeyInfo for more information on using the GetAccessKeyInfo +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the GetAccessKeyInfoRequest method. +// req, resp := client.GetAccessKeyInfoRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetAccessKeyInfo +func (c *STS) GetAccessKeyInfoRequest(input *GetAccessKeyInfoInput) (req *request.Request, output *GetAccessKeyInfoOutput) { + op := &request.Operation{ + Name: opGetAccessKeyInfo, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetAccessKeyInfoInput{} + } + + output = &GetAccessKeyInfoOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetAccessKeyInfo API operation for AWS Security Token Service. +// +// Returns the account identifier for the specified access key ID. +// +// Access keys consist of two parts: an access key ID (for example, AKIAIOSFODNN7EXAMPLE) +// and a secret access key (for example, wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY). +// For more information about access keys, see Managing Access Keys for IAM +// Users (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html) +// in the IAM User Guide. +// +// When you pass an access key ID to this operation, it returns the ID of the +// AWS account to which the keys belong. Access key IDs beginning with AKIA +// are long-term credentials for an IAM user or the AWS account root user. Access +// key IDs beginning with ASIA are temporary credentials that are created using +// STS operations. If the account in the response belongs to you, you can sign +// in as the root user and review your root user access keys. Then, you can +// pull a credentials report (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_getting-report) +// to learn which IAM user owns the keys. To learn who requested the temporary +// credentials for an ASIA access key, view the STS events in your CloudTrail +// logs (https://docs.aws.amazon.com/IAM/latest/UserGuide/cloudtrail-integration). +// +// This operation does not indicate the state of the access key. The key might +// be active, inactive, or deleted. Active keys might not have permissions to +// perform an operation. Providing a deleted keys might return an error that +// the key doesn't exist. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Security Token Service's +// API operation GetAccessKeyInfo for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/sts-2011-06-15/GetAccessKeyInfo +func (c *STS) GetAccessKeyInfo(input *GetAccessKeyInfoInput) (*GetAccessKeyInfoOutput, error) { + req, out := c.GetAccessKeyInfoRequest(input) + return out, req.Send() +} + +// GetAccessKeyInfoWithContext is the same as GetAccessKeyInfo with the addition of +// the ability to pass a context and additional request options. +// +// See GetAccessKeyInfo for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *STS) GetAccessKeyInfoWithContext(ctx aws.Context, input *GetAccessKeyInfoInput, opts ...request.Option) (*GetAccessKeyInfoOutput, error) { + req, out := c.GetAccessKeyInfoRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetCallerIdentity = "GetCallerIdentity" // GetCallerIdentityRequest generates a "aws/request.Request" representing the @@ -1129,7 +1225,7 @@ type AssumeRoleInput struct { // This parameter is optional. You can provide up to 10 managed policy ARNs. // However, the plain text that you use for both inline and managed session // policies shouldn't exceed 2048 characters. For more information about ARNs, - // see Amazon Resource Names (ARNs) and AWS Service Namespaces (general/latest/gr/aws-arns-and-namespaces.html) + // see Amazon Resource Names (ARNs) and AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. // // The characters in this parameter count towards the 2048 character session @@ -1407,7 +1503,7 @@ type AssumeRoleWithSAMLInput struct { // This parameter is optional. You can provide up to 10 managed policy ARNs. // However, the plain text that you use for both inline and managed session // policies shouldn't exceed 2048 characters. For more information about ARNs, - // see Amazon Resource Names (ARNs) and AWS Service Namespaces (general/latest/gr/aws-arns-and-namespaces.html) + // see Amazon Resource Names (ARNs) and AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. // // The characters in this parameter count towards the 2048 character session @@ -1702,7 +1798,7 @@ type AssumeRoleWithWebIdentityInput struct { // This parameter is optional. You can provide up to 10 managed policy ARNs. // However, the plain text that you use for both inline and managed session // policies shouldn't exceed 2048 characters. For more information about ARNs, - // see Amazon Resource Names (ARNs) and AWS Service Namespaces (general/latest/gr/aws-arns-and-namespaces.html) + // see Amazon Resource Names (ARNs) and AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. // // The characters in this parameter count towards the 2048 character session @@ -2156,6 +2252,73 @@ func (s *FederatedUser) SetFederatedUserId(v string) *FederatedUser { return s } +type GetAccessKeyInfoInput struct { + _ struct{} `type:"structure"` + + // The identifier of an access key. + // + // This parameter allows (through its regex pattern) a string of characters + // that can consist of any upper- or lowercased letter or digit. + // + // AccessKeyId is a required field + AccessKeyId *string `min:"16" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetAccessKeyInfoInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetAccessKeyInfoInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetAccessKeyInfoInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetAccessKeyInfoInput"} + if s.AccessKeyId == nil { + invalidParams.Add(request.NewErrParamRequired("AccessKeyId")) + } + if s.AccessKeyId != nil && len(*s.AccessKeyId) < 16 { + invalidParams.Add(request.NewErrParamMinLen("AccessKeyId", 16)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccessKeyId sets the AccessKeyId field's value. +func (s *GetAccessKeyInfoInput) SetAccessKeyId(v string) *GetAccessKeyInfoInput { + s.AccessKeyId = &v + return s +} + +type GetAccessKeyInfoOutput struct { + _ struct{} `type:"structure"` + + // The number used to identify the AWS account. + Account *string `type:"string"` +} + +// String returns the string representation +func (s GetAccessKeyInfoOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetAccessKeyInfoOutput) GoString() string { + return s.String() +} + +// SetAccount sets the Account field's value. +func (s *GetAccessKeyInfoOutput) SetAccount(v string) *GetAccessKeyInfoOutput { + s.Account = &v + return s +} + type GetCallerIdentityInput struct { _ struct{} `type:"structure"` } @@ -2545,7 +2708,7 @@ type PolicyDescriptorType struct { // The Amazon Resource Name (ARN) of the IAM managed policy to use as a session // policy for the role. For more information about ARNs, see Amazon Resource - // Names (ARNs) and AWS Service Namespaces (general/latest/gr/aws-arns-and-namespaces.html) + // Names (ARNs) and AWS Service Namespaces (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html) // in the AWS General Reference. Arn *string `locationName:"arn" min:"20" type:"string"` } diff --git a/service/sts/stsiface/interface.go b/service/sts/stsiface/interface.go index 1eba20b0025..e2e1d6efe55 100644 --- a/service/sts/stsiface/interface.go +++ b/service/sts/stsiface/interface.go @@ -76,6 +76,10 @@ type STSAPI interface { DecodeAuthorizationMessageWithContext(aws.Context, *sts.DecodeAuthorizationMessageInput, ...request.Option) (*sts.DecodeAuthorizationMessageOutput, error) DecodeAuthorizationMessageRequest(*sts.DecodeAuthorizationMessageInput) (*request.Request, *sts.DecodeAuthorizationMessageOutput) + GetAccessKeyInfo(*sts.GetAccessKeyInfoInput) (*sts.GetAccessKeyInfoOutput, error) + GetAccessKeyInfoWithContext(aws.Context, *sts.GetAccessKeyInfoInput, ...request.Option) (*sts.GetAccessKeyInfoOutput, error) + GetAccessKeyInfoRequest(*sts.GetAccessKeyInfoInput) (*request.Request, *sts.GetAccessKeyInfoOutput) + GetCallerIdentity(*sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error) GetCallerIdentityWithContext(aws.Context, *sts.GetCallerIdentityInput, ...request.Option) (*sts.GetCallerIdentityOutput, error) GetCallerIdentityRequest(*sts.GetCallerIdentityInput) (*request.Request, *sts.GetCallerIdentityOutput)