From 24609bd7cd48b578021d62323cb61bf2569ad7e1 Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Mon, 11 Oct 2021 18:14:00 +0000 Subject: [PATCH] Release v1.41.0 (2021-10-11) === ### Service Client Updates * `service/ec2`: Updates service documentation * Documentation update for Amazon EC2. * `service/elasticloadbalancingv2`: Updates service API and documentation * `service/frauddetector`: Updates service API, documentation, and paginators * `service/medialive`: Updates service API and documentation * This release adds support for Transport Stream files as an input type to MediaLive encoders. ### SDK Features * Update SDK's serialization of REST-JSON API input and Content-Type * Updates the SDK's serialization of REST-JSON based API input parameters into HTTP request message payload, and Content-Type are set correctly. API operations with input structure members that are modeled to be serialized to the request payload will always have at least an empty JSON object serialized. Even if all members targeting the payload are nil. Also fixes REST-JSON serialization so that Content-Type is not sent if the input parameter has no members target the request payload. --- CHANGELOG.md | 15 + CHANGELOG_PENDING.md | 2 - aws/version.go | 2 +- models/apis/ec2/2016-11-15/docs-2.json | 128 +- .../2015-12-01/api-2.json | 13 +- .../2015-12-01/docs-2.json | 11 +- .../apis/frauddetector/2019-11-15/api-2.json | 453 ++- .../apis/frauddetector/2019-11-15/docs-2.json | 309 +- .../2019-11-15/paginators-1.json | 5 + models/apis/medialive/2017-10-14/api-2.json | 153 +- models/apis/medialive/2017-10-14/docs-2.json | 72 +- service/ec2/api.go | 301 +- service/elbv2/api.go | 41 + service/frauddetector/api.go | 3506 +++++++++++++---- service/frauddetector/errors.go | 17 +- .../frauddetectoriface/interface.go | 39 + service/mediaconvert/api.go | 6 +- service/medialive/api.go | 484 ++- service/medialive/medialiveiface/interface.go | 4 + 19 files changed, 4546 insertions(+), 1015 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5bfbd943c4..97652ebfca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +Release v1.41.0 (2021-10-11) +=== + +### Service Client Updates +* `service/ec2`: Updates service documentation + * Documentation update for Amazon EC2. +* `service/elasticloadbalancingv2`: Updates service API and documentation +* `service/frauddetector`: Updates service API, documentation, and paginators +* `service/medialive`: Updates service API and documentation + * This release adds support for Transport Stream files as an input type to MediaLive encoders. + +### SDK Features +* Update SDK's serialization of REST-JSON API input and Content-Type + * Updates the SDK's serialization of REST-JSON based API input parameters into HTTP request message payload, and Content-Type are set correctly. API operations with input structure members that are modeled to be serialized to the request payload will always have at least an empty JSON object serialized. Even if all members targeting the payload are nil. Also fixes REST-JSON serialization so that Content-Type is not sent if the input parameter has no members target the request payload. + Release v1.40.59 (2021-10-08) === diff --git a/CHANGELOG_PENDING.md b/CHANGELOG_PENDING.md index 3f199cbecb..8a1927a39c 100644 --- a/CHANGELOG_PENDING.md +++ b/CHANGELOG_PENDING.md @@ -1,6 +1,4 @@ ### SDK Features -* Update SDK's serialization of REST-JSON API input and Content-Type - * Updates the SDK's serialization of REST-JSON based API input parameters into HTTP request message payload, and Content-Type are set correctly. API operations with input structure members that are modeled to be serialized to the request payload will always have at least an empty JSON object serialized. Even if all members targeting the payload are nil. Also fixes REST-JSON serialization so that Content-Type is not sent if the input parameter has no members target the request payload. ### SDK Enhancements diff --git a/aws/version.go b/aws/version.go index cdee44b1e0..4a04d190b2 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.40.59" +const SDKVersion = "1.41.0" diff --git a/models/apis/ec2/2016-11-15/docs-2.json b/models/apis/ec2/2016-11-15/docs-2.json index 91b576abe2..4102d8c27c 100755 --- a/models/apis/ec2/2016-11-15/docs-2.json +++ b/models/apis/ec2/2016-11-15/docs-2.json @@ -60,13 +60,13 @@ "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 EC2 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.

", - "CreateFpgaImage": "

Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).

The create operation is asynchronous. To verify that the AFI is ready for use, check the output logs.

An AFI contains the FPGA bitstream that is ready to download to an FPGA. You can securely deploy an AFI on multiple FPGA-accelerated instances. For more information, see the AWS FPGA Hardware Development Kit.

", + "CreateFpgaImage": "

Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP).

The create operation is asynchronous. To verify that the AFI is ready for use, check the output logs.

An AFI contains the FPGA bitstream that is ready to download to an FPGA. You can securely deploy an AFI on multiple FPGA-accelerated instances. For more information, see the Amazon Web Services FPGA Hardware Development Kit.

", "CreateImage": "

Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped.

If you customized your instance with instance store volumes or Amazon EBS volumes in addition to the root device volume, the new AMI contains block device mapping information for those volumes. When you launch an instance from this new AMI, the instance automatically launches with those additional volumes.

For more information, see Creating Amazon EBS-Backed Linux AMIs in the Amazon Elastic Compute Cloud User Guide.

", "CreateInstanceEventWindow": "

Creates an event window in which scheduled events for the associated Amazon EC2 instances can run.

You can define either a set of time ranges or a cron expression when creating the event window, but not both. All event window times are in UTC.

You can create up to 200 event windows per Amazon Web Services Region.

When you create the event window, targets (instance IDs, Dedicated Host IDs, or tags) are not yet associated with it. To ensure that the event window can be used, you must associate one or more targets with it by using the AssociateInstanceEventWindow API.

Event windows are applicable only for scheduled events that stop, reboot, or terminate instances.

Event windows are not applicable for:

For more information, see Define event windows for scheduled events in the Amazon EC2 User Guide.

", "CreateInstanceExportTask": "

Exports a running or stopped instance to an Amazon S3 bucket.

For information about the supported operating systems, image formats, and known limitations for the types of instances you can export, see Exporting an instance as a VM Using VM Import/Export in the VM Import/Export User Guide.

", "CreateInternetGateway": "

Creates an internet gateway for use with a VPC. After creating the internet gateway, you attach it to a VPC using AttachInternetGateway.

For more information about your VPC and internet gateway, see the Amazon Virtual Private Cloud User Guide.

", "CreateKeyPair": "

Creates an ED25519 or 2048-bit RSA key pair with the specified name. Amazon EC2 stores the public key and displays the private key for you to save to a file. The private key is returned as an unencrypted PEM encoded PKCS#1 private key. If a key with the specified name already exists, Amazon EC2 returns an error.

The key pair returned to you is available only in the Amazon Web Services Region in which you create it. If you prefer, you can create your own key pair using a third-party tool and upload it to any Region using ImportKeyPair.

You can have up to 5,000 key pairs per Amazon Web Services Region.

For more information, see Amazon EC2 key pairs in the Amazon Elastic Compute Cloud User Guide.

", - "CreateLaunchTemplate": "

Creates a launch template. A launch template contains the parameters to launch an instance. When you launch an instance using RunInstances, you can specify a launch template instead of providing the launch parameters in the request. For more information, see Launching an instance from a launch templatein the Amazon Elastic Compute Cloud User Guide.

", + "CreateLaunchTemplate": "

Creates a launch template. A launch template contains the parameters to launch an instance. When you launch an instance using RunInstances, you can specify a launch template instead of providing the launch parameters in the request. For more information, see Launching an instance from a launch template in the Amazon Elastic Compute Cloud User Guide.

", "CreateLaunchTemplateVersion": "

Creates a new version for a launch template. You can specify an existing version of launch template from which to base the new version.

Launch template versions are numbered in the order in which they are created. You cannot specify, change, or replace the numbering of launch template versions.

For more information, see Managing launch template versionsin the Amazon Elastic Compute Cloud User Guide.

", "CreateLocalGatewayRoute": "

Creates a static route for the specified local gateway route table.

", "CreateLocalGatewayRouteTableVpcAssociation": "

Associates the specified VPC with the specified local gateway route table.

", @@ -92,7 +92,7 @@ "CreateSubnetCidrReservation": "

Creates a subnet CIDR reservation. For information about subnet CIDR reservations, see Subnet CIDR reservations in the Amazon Virtual Private Cloud User Guide.

", "CreateTags": "

Adds or overwrites only the specified tags for the specified Amazon EC2 resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.

For more information about tags, see Tagging Your Resources in the Amazon Elastic Compute Cloud User Guide. For more information about creating IAM policies that control users' access to resources based on tags, see Supported Resource-Level Permissions for Amazon EC2 API Actions in the Amazon Elastic Compute Cloud User Guide.

", "CreateTrafficMirrorFilter": "

Creates a Traffic Mirror filter.

A Traffic Mirror filter is a set of rules that defines the traffic to mirror.

By default, no traffic is mirrored. To mirror traffic, use CreateTrafficMirrorFilterRule to add Traffic Mirror rules to the filter. The rules you add define what traffic gets mirrored. You can also use ModifyTrafficMirrorFilterNetworkServices to mirror supported network services.

", - "CreateTrafficMirrorFilterRule": "

Creates a Traffic Mirror filter rule.

A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.

You need the Traffic Mirror filter ID when you create the rule.

", + "CreateTrafficMirrorFilterRule": "

Creates a Traffic Mirror filter rule.

A Traffic Mirror rule defines the Traffic Mirror source traffic to mirror.

You need the Traffic Mirror filter ID when you create the rule.

", "CreateTrafficMirrorSession": "

Creates a Traffic Mirror session.

A Traffic Mirror session actively copies packets from a Traffic Mirror source to a Traffic Mirror target. Create a filter, and then assign it to the session to define a subset of the traffic to mirror, for example all TCP traffic.

The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in a different VPC connected via VPC peering or a transit gateway.

By default, no traffic is mirrored. Use CreateTrafficMirrorFilter to create filter rules that specify the traffic to mirror.

", "CreateTrafficMirrorTarget": "

Creates a target for your Traffic Mirror session.

A Traffic Mirror target is the destination for mirrored traffic. The Traffic Mirror source and the Traffic Mirror target (monitoring appliances) can be in the same VPC, or in different VPCs connected via VPC peering or a transit gateway.

A Traffic Mirror target can be a network interface, or a Network Load Balancer.

To use the target in a Traffic Mirror session, use CreateTrafficMirrorSession.

", "CreateTransitGateway": "

Creates a transit gateway.

You can use a transit gateway to interconnect your virtual private clouds (VPC) and on-premises networks. After the transit gateway enters the available state, you can attach your VPCs and VPN connections to the transit gateway.

To attach your VPCs, use CreateTransitGatewayVpcAttachment.

To attach a VPN connection, use CreateCustomerGateway to create a customer gateway and specify the ID of the customer gateway and the ID of the transit gateway in a call to CreateVpnConnection.

When you create a transit gateway, we create a default transit gateway route table and use it as the default association route table and the default propagation route table. You can use CreateTransitGatewayRouteTable to create additional transit gateway route tables. If you disable automatic route propagation, we do not create a default transit gateway route table. You can use EnableTransitGatewayRouteTablePropagation to propagate routes from a resource attachment to a transit gateway route table. If you disable automatic associations, you can use AssociateTransitGatewayRouteTable to associate a resource attachment with a transit gateway route table.

", @@ -106,9 +106,9 @@ "CreateTransitGatewayVpcAttachment": "

Attaches the specified VPC to the specified transit gateway.

If you attach a VPC with a CIDR range that overlaps the CIDR range of a VPC that is already attached, the new VPC CIDR range is not propagated to the default propagation route table.

To send VPC traffic to an attached transit gateway, add a route to the VPC route table using CreateRoute.

", "CreateVolume": "

Creates an EBS volume that can be attached to an instance in the same Availability Zone.

You can create a new empty volume or restore a volume from an EBS snapshot. Any Amazon Web Services Marketplace product codes from the snapshot are propagated to the volume.

You can create encrypted volumes. Encrypted volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are also automatically encrypted. For more information, see Amazon EBS encryption in the Amazon Elastic Compute Cloud User Guide.

You can tag your volumes during creation. For more information, see Tag your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.

For more information, see Create an Amazon EBS volume in the Amazon Elastic Compute Cloud User Guide.

", "CreateVpc": "

Creates a VPC with the specified IPv4 CIDR block. The smallest VPC you can create uses a /28 netmask (16 IPv4 addresses), and the largest uses a /16 netmask (65,536 IPv4 addresses). For more information about how large to make your VPC, see Your VPC and subnets in the Amazon Virtual Private Cloud User Guide.

You can optionally request an IPv6 CIDR block for the VPC. You can request an Amazon-provided IPv6 CIDR block from Amazon's pool of IPv6 addresses, or an IPv6 CIDR block from an IPv6 address pool that you provisioned through bring your own IP addresses (BYOIP).

By default, each instance you launch in the VPC has the default DHCP options, which include only a default DNS server that we provide (AmazonProvidedDNS). For more information, see DHCP options sets in the Amazon Virtual Private Cloud User Guide.

You can specify the instance tenancy value for the VPC when you create it. You can't change this value for the VPC after you create it. For more information, see Dedicated Instances in the Amazon Elastic Compute Cloud User Guide.

", - "CreateVpcEndpoint": "

Creates a VPC endpoint for a specified service. An endpoint enables you to create a private connection between your VPC and the service. The service may be provided by AWS, an AWS Marketplace Partner, or another AWS account. For more information, see VPC Endpoints in the Amazon Virtual Private Cloud User Guide.

A gateway endpoint serves as a target for a route in your route table for traffic destined for the AWS service. You can specify an endpoint policy to attach to the endpoint, which will control access to the service from your VPC. You can also specify the VPC route tables that use the endpoint.

An interface endpoint is a network interface in your subnet that serves as an endpoint for communicating with the specified service. You can specify the subnets in which to create an endpoint, and the security groups to associate with the endpoint network interface.

A GatewayLoadBalancer endpoint is a network interface in your subnet that serves an endpoint for communicating with a Gateway Load Balancer that you've configured as a VPC endpoint service.

Use DescribeVpcEndpointServices to get a list of supported services.

", + "CreateVpcEndpoint": "

Creates a VPC endpoint for a specified service. An endpoint enables you to create a private connection between your VPC and the service. The service may be provided by Amazon Web Services, an Amazon Web Services Marketplace Partner, or another Amazon Web Services account. For more information, see VPC Endpoints in the Amazon Virtual Private Cloud User Guide.

A gateway endpoint serves as a target for a route in your route table for traffic destined for the Amazon Web Service. You can specify an endpoint policy to attach to the endpoint, which will control access to the service from your VPC. You can also specify the VPC route tables that use the endpoint.

An interface endpoint is a network interface in your subnet that serves as an endpoint for communicating with the specified service. You can specify the subnets in which to create an endpoint, and the security groups to associate with the endpoint network interface.

A GatewayLoadBalancer endpoint is a network interface in your subnet that serves an endpoint for communicating with a Gateway Load Balancer that you've configured as a VPC endpoint service.

Use DescribeVpcEndpointServices to get a list of supported services.

", "CreateVpcEndpointConnectionNotification": "

Creates a connection notification for a specified VPC endpoint or VPC endpoint service. A connection notification notifies you of specific endpoint events. You must create an SNS topic to receive notifications. For more information, see Create a Topic in the Amazon Simple Notification Service Developer Guide.

You can create a connection notification for interface endpoints only.

", - "CreateVpcEndpointServiceConfiguration": "

Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect.

To create an endpoint service configuration, you must first create one of the following for your service:

For more information, see VPC Endpoint Services in the Amazon Virtual Private Cloud User Guide.

If you set the private DNS name, you must prove that you own the private DNS domain name. For more information, see VPC Endpoint Service Private DNS Name Verification in the Amazon Virtual Private Cloud User Guide.

", + "CreateVpcEndpointServiceConfiguration": "

Creates a VPC endpoint service configuration to which service consumers (Amazon Web Services accounts, IAM users, and IAM roles) can connect.

To create an endpoint service configuration, you must first create one of the following for your service:

For more information, see VPC Endpoint Services in the Amazon Virtual Private Cloud User Guide.

If you set the private DNS name, you must prove that you own the private DNS domain name. For more information, see VPC Endpoint Service Private DNS Name Verification in the Amazon Virtual Private Cloud User Guide.

", "CreateVpcPeeringConnection": "

Requests a VPC peering connection between two VPCs: a requester VPC that you own and an accepter VPC with which to create the connection. The accepter VPC can belong to another Amazon Web Services account and can be in a different Region to the requester VPC. The requester VPC and accepter VPC cannot have overlapping CIDR blocks.

Limitations and rules apply to a VPC peering connection. For more information, see the limitations section in the VPC Peering Guide.

The owner of the accepter VPC must accept the peering request to activate the peering connection. The VPC peering connection request expires after 7 days, after which it cannot be accepted or rejected.

If you create a VPC peering connection request between VPCs with overlapping CIDR blocks, the VPC peering connection has a status of failed.

", "CreateVpnConnection": "

Creates a VPN connection between an existing virtual private gateway or transit gateway and a customer gateway. The supported connection type is ipsec.1.

The response includes information that you need to give to your network administrator to configure your customer gateway.

We strongly recommend that you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway device.

If you decide to shut down your VPN connection for any reason and later create a new VPN connection, you must reconfigure your customer gateway with the new information returned from this call.

This is an idempotent operation. If you perform the operation more than once, Amazon EC2 doesn't return an error.

For more information, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User Guide.

", "CreateVpnConnectionRoute": "

Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway. The static route allows traffic to be routed from the virtual private gateway to the VPN customer gateway.

For more information, see Amazon Web Services Site-to-Site VPN in the Amazon Web Services Site-to-Site VPN User Guide.

", @@ -178,7 +178,7 @@ "DescribeAddresses": "

Describes the specified Elastic IP addresses or all of your Elastic IP addresses.

An Elastic IP address is for use in either the EC2-Classic platform or in a VPC. For more information, see Elastic IP Addresses in the Amazon Elastic Compute Cloud User Guide.

", "DescribeAddressesAttribute": "

Describes the attributes of the specified Elastic IP addresses. For requirements, see Using reverse DNS for email applications.

", "DescribeAggregateIdFormat": "

Describes the longer ID format settings for all resource types in a specific Region. This request is useful for performing a quick audit to determine whether a specific Region is fully opted in for longer IDs (17-character IDs).

This request only returns information about resource types that support longer IDs.

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.

", - "DescribeAvailabilityZones": "

Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you. If there is an event impacting a zone, you can use this request to view the state and any provided messages for that zone.

For more information about Availability Zones, Local Zones, and Wavelength Zones, see Regions, Zones and Outposts in the Amazon Elastic Compute Cloud User Guide.

", + "DescribeAvailabilityZones": "

Describes the Availability Zones, Local Zones, and Wavelength Zones that are available to you. If there is an event impacting a zone, you can use this request to view the state and any provided messages for that zone.

For more information about Availability Zones, Local Zones, and Wavelength Zones, see Regions and zones in the Amazon Elastic Compute Cloud User Guide.

", "DescribeBundleTasks": "

Describes the specified bundle tasks or all of your bundle tasks.

Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage with the Amazon S3 bucket name and image manifest name you provided to the bundle task.

", "DescribeByoipCidrs": "

Describes the IP address ranges that were specified in calls to ProvisionByoipCidr.

To describe the address pools that were created when you provisioned the address ranges, use DescribePublicIpv4Pools or DescribeIpv6Pools.

", "DescribeCapacityReservationFleets": "

Describes one or more Capacity Reservation Fleets.

", @@ -199,17 +199,17 @@ "DescribeExportImageTasks": "

Describes the specified export image tasks or all of your export image tasks.

", "DescribeExportTasks": "

Describes the specified export instance tasks or all of your export instance tasks.

", "DescribeFastSnapshotRestores": "

Describes the state of fast snapshot restores for your snapshots.

", - "DescribeFleetHistory": "

Describes the events for the specified EC2 Fleet during the specified time.

EC2 Fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event. EC2 Fleet events are available for 48 hours.

For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide.

", + "DescribeFleetHistory": "

Describes the events for the specified EC2 Fleet during the specified time.

EC2 Fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event. EC2 Fleet events are available for 48 hours.

For more information, see Monitor fleet events using Amazon EventBridge in the Amazon EC2 User Guide.

", "DescribeFleetInstances": "

Describes the running instances for the specified EC2 Fleet.

For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide.

", "DescribeFleets": "

Describes the specified EC2 Fleets or all of your EC2 Fleets.

For more information, see Monitoring your EC2 Fleet in the Amazon EC2 User Guide.

", "DescribeFlowLogs": "

Describes one or more flow logs. To view the information in your flow logs (the log streams for the network interfaces), you must use the CloudWatch Logs console or the CloudWatch Logs API.

", "DescribeFpgaImageAttribute": "

Describes the specified attribute of the specified Amazon FPGA Image (AFI).

", - "DescribeFpgaImages": "

Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs, private AFIs that you own, and AFIs owned by other AWS accounts for which you have load permissions.

", + "DescribeFpgaImages": "

Describes the Amazon FPGA Images (AFIs) available to you. These include public AFIs, private AFIs that you own, and AFIs owned by other Amazon Web Services accounts for which you have load permissions.

", "DescribeHostReservationOfferings": "

Describes the Dedicated Host reservations that are available to purchase.

The results describe all of the Dedicated Host reservation offerings, including offerings that might not match the instance family and Region of your Dedicated Hosts. When purchasing an offering, ensure that the instance family and Region of the offering matches that of the Dedicated Hosts with which it is to be associated. For more information about supported instance types, see Dedicated Hosts in the Amazon EC2 User Guide.

", "DescribeHostReservations": "

Describes reservations that are associated with Dedicated Hosts in your account.

", "DescribeHosts": "

Describes the specified Dedicated Hosts or all your Dedicated Hosts.

The results describe only the Dedicated Hosts in the Region you're currently using. All listed instances consume capacity on your Dedicated Host. Dedicated Hosts that have recently been released are listed with the state released.

", "DescribeIamInstanceProfileAssociations": "

Describes your IAM instance profile associations.

", - "DescribeIdFormat": "

Describes the ID format settings for your resources on a per-Region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types.

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.

These settings apply to the IAM user who makes the request; they do not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user, unless they explicitly override the settings by running the ModifyIdFormat command. Resources created with longer IDs are visible to all IAM users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type.

", + "DescribeIdFormat": "

Describes the ID format settings for your resources on a per-Region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types.

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.

These settings apply to the IAM user who makes the request; they do not apply to the entire Amazon Web Services account. By default, an IAM user defaults to the same settings as the root user, unless they explicitly override the settings by running the ModifyIdFormat command. Resources created with longer IDs are visible to all IAM users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type.

", "DescribeIdentityIdFormat": "

Describes the ID format settings for resources for the specified IAM user, IAM role, or root user. For example, you can view the resource types that are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide.

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.

These settings apply to the principal specified in the request. They do not apply to the principal that makes the request.

", "DescribeImageAttribute": "

Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.

", "DescribeImages": "

Describes the specified images (AMIs, AKIs, and ARIs) available to you or all of the images available to you.

The images available to you include public images, private images that you own, and private images owned by other Amazon Web Services accounts for which you have explicit launch permissions.

Recently deregistered images appear in the returned results for a short interval and then return empty results. After all instances that reference a deregistered AMI are terminated, specifying the ID of the image will eventually return an error indicating that the AMI ID cannot be found.

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

Describes available Amazon Web Services 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.

We recommend that you use DescribeManagedPrefixLists instead.

", "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 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.

", + "DescribeRegions": "

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

For a list of the Regions supported by Amazon EC2, see Amazon Elastic Compute Cloud endpoints and quotas.

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

", "DescribeReplaceRootVolumeTasks": "

Describes a root volume replacement task. For more information, see Replace a root volume in the Amazon Elastic Compute Cloud User Guide.

", "DescribeReservedInstances": "

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

For more information about Reserved Instances, see Reserved Instances in the Amazon EC2 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 EC2 User Guide.

", @@ -263,7 +263,7 @@ "DescribeSnapshots": "

Describes the specified EBS snapshots available to you or all of the EBS snapshots available to you.

The snapshots available to you include public snapshots, private snapshots that you own, and private snapshots owned by other Amazon Web Services accounts for which you have explicit create volume permissions.

The create volume permissions fall into the following categories:

The list of snapshots returned can be filtered by specifying snapshot IDs, snapshot owners, or Amazon Web Services accounts with create volume permissions. If no options are specified, Amazon EC2 returns all snapshots for which you have create volume permissions.

If you specify one or more snapshot IDs, only snapshots that have the specified IDs are returned. If you specify an invalid snapshot ID, an error is returned. If you specify a snapshot ID for which you do not have access, it is not included in the returned results.

If you specify one or more snapshot owners using the OwnerIds option, only snapshots from the specified owners and for which you have access are returned. The results can include the Amazon Web Services account IDs of the specified owners, amazon for snapshots owned by Amazon, or self for snapshots that you own.

If you specify a list of restorable users, only snapshots with create snapshot permissions for those users are returned. You can specify Amazon Web Services account IDs (if you own the snapshots), self for snapshots for which you own or have explicit permissions, or all for public snapshots.

If you are describing a long list of snapshots, we recommend that you paginate the output to make the list more manageable. The MaxResults parameter sets the maximum number of results returned in a single page. If the list of results exceeds your MaxResults value, then that number of results is returned along with a NextToken value that can be passed to a subsequent DescribeSnapshots request to retrieve the remaining results.

To get the state of fast snapshot restores for a snapshot, use DescribeFastSnapshotRestores.

For more information about EBS snapshots, see Amazon EBS snapshots in the Amazon Elastic Compute Cloud User Guide.

", "DescribeSpotDatafeedSubscription": "

Describes the data feed for Spot Instances. For more information, see Spot Instance data feed in the Amazon EC2 User Guide for Linux Instances.

", "DescribeSpotFleetInstances": "

Describes the running instances for the specified Spot Fleet.

", - "DescribeSpotFleetRequestHistory": "

Describes the events for the specified Spot Fleet request during the specified time.

Spot Fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event. Spot Fleet events are available for 48 hours.

", + "DescribeSpotFleetRequestHistory": "

Describes the events for the specified Spot Fleet request during the specified time.

Spot Fleet events are delayed by up to 30 seconds before they can be described. This ensures that you can query by the last evaluated time and not miss a recorded event. Spot Fleet events are available for 48 hours.

For more information, see Monitor fleet events using Amazon EventBridge in the Amazon EC2 User Guide for Linux Instances.

", "DescribeSpotFleetRequests": "

Describes your Spot Fleet requests.

Spot Fleet requests are deleted 48 hours after they are canceled and their instances are terminated.

", "DescribeSpotInstanceRequests": "

Describes the specified Spot Instance requests.

You can use DescribeSpotInstanceRequests to find a running Spot Instance by examining the response. If the status of the Spot Instance is fulfilled, the instance ID appears in the response and contains the identifier of the instance. Alternatively, you can use DescribeInstances with a filter to look for instances where the instance lifecycle is spot.

We recommend that you set MaxResults to a value between 5 and 1000 to limit the number of results returned. This paginates the output, which makes the list more manageable and returns the results faster. If the list of results exceeds your MaxResults value, then that number of results is returned along with a NextToken value that can be passed to a subsequent DescribeSpotInstanceRequests request to retrieve the remaining results.

Spot Instance requests are deleted four hours after they are canceled and their instances are terminated.

", "DescribeSpotPriceHistory": "

Describes the Spot price history. For more information, see Spot Instance pricing history in the Amazon EC2 User Guide for Linux Instances.

When you specify a start and end time, the operation returns the prices of the instance types within that time range. It also returns the last price change before the start time, which is the effective price as of the start time.

", @@ -361,7 +361,7 @@ "GetTransitGatewayPrefixListReferences": "

Gets information about the prefix list references in a specified transit gateway route table.

", "GetTransitGatewayRouteTableAssociations": "

Gets information about the associations for the specified transit gateway route table.

", "GetTransitGatewayRouteTablePropagations": "

Gets information about the route table propagations for the specified transit gateway route table.

", - "GetVpnConnectionDeviceSampleConfiguration": "

Download an AWS-provided sample configuration file to be used with the customer gateway device specified for your Site-to-Site VPN connection.

", + "GetVpnConnectionDeviceSampleConfiguration": "

Download an Amazon Web Services-provided sample configuration file to be used with the customer gateway device specified for your Site-to-Site VPN connection.

", "GetVpnConnectionDeviceTypes": "

Obtain a list of customer gateway devices for which sample configuration files can be provided. The request has no additional parameters. You can also see the list of device types with sample configuration files available under Your customer gateway device in the Amazon Web Services Site-to-Site VPN User Guide.

", "ImportClientVpnClientCertificateRevocationList": "

Uploads a client certificate revocation list to the specified Client VPN endpoint. Uploading a client certificate revocation list overwrites the existing client certificate revocation list.

Uploading a client certificate revocation list resets existing client connections.

", "ImportImage": "

Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI).

For more information, see Importing a VM as an image using VM Import/Export in the VM Import/Export User Guide.

", @@ -379,7 +379,7 @@ "ModifyFleet": "

Modifies the specified EC2 Fleet.

You can only modify an EC2 Fleet request of type maintain.

While the EC2 Fleet is being modified, it is in the modifying state.

To scale up your EC2 Fleet, increase its target capacity. The EC2 Fleet launches the additional Spot Instances according to the allocation strategy for the EC2 Fleet request. If the allocation strategy is lowest-price, the EC2 Fleet launches instances using the Spot Instance pool with the lowest price. If the allocation strategy is diversified, the EC2 Fleet distributes the instances across the Spot Instance pools. If the allocation strategy is capacity-optimized, EC2 Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching.

To scale down your EC2 Fleet, decrease its target capacity. First, the EC2 Fleet cancels any open requests that exceed the new target capacity. You can request that the EC2 Fleet terminate Spot Instances until the size of the fleet no longer exceeds the new target capacity. If the allocation strategy is lowest-price, the EC2 Fleet terminates the instances with the highest price per unit. If the allocation strategy is capacity-optimized, the EC2 Fleet terminates the instances in the Spot Instance pools that have the least available Spot Instance capacity. If the allocation strategy is diversified, the EC2 Fleet terminates instances across the Spot Instance pools. Alternatively, you can request that the EC2 Fleet keep the fleet at its current size, but not replace any Spot Instances that are interrupted or that you terminate manually.

If you are finished with your EC2 Fleet for now, but will use it again later, you can set the target capacity to 0.

", "ModifyFpgaImageAttribute": "

Modifies the specified attribute of the specified Amazon FPGA Image (AFI).

", "ModifyHosts": "

Modify the auto-placement setting of a Dedicated Host. When auto-placement is enabled, any instances that you launch with a tenancy of host but without a specific host ID are placed onto any available Dedicated Host in your account that has auto-placement enabled. When auto-placement is disabled, you need to provide a host ID to have the instance launch onto a specific host. If no host ID is provided, the instance is launched onto a suitable host with auto-placement enabled.

You can also use this API action to modify a Dedicated Host to support either multiple instance types in an instance family, or to support a specific instance type only.

", - "ModifyIdFormat": "

Modifies the ID format for the specified resource on a per-Region basis. You can specify that resources should receive longer IDs (17-character IDs) when they are created.

This request can only be used to modify longer ID settings for resource types that are within the opt-in period. Resources currently in their opt-in period include: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | route-table | route-table-association | security-group | subnet | subnet-cidr-block-association | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

This setting applies to the IAM user who makes the request; it does not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user. If you're using this action as the root user, then these settings apply to the entire account, unless an IAM user explicitly overrides these settings for themselves. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide.

Resources created with longer IDs are visible to all IAM roles and users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type.

", + "ModifyIdFormat": "

Modifies the ID format for the specified resource on a per-Region basis. You can specify that resources should receive longer IDs (17-character IDs) when they are created.

This request can only be used to modify longer ID settings for resource types that are within the opt-in period. Resources currently in their opt-in period include: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | route-table | route-table-association | security-group | subnet | subnet-cidr-block-association | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

This setting applies to the IAM user who makes the request; it does not apply to the entire Amazon Web Services account. By default, an IAM user defaults to the same settings as the root user. If you're using this action as the root user, then these settings apply to the entire account, unless an IAM user explicitly overrides these settings for themselves. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide.

Resources created with longer IDs are visible to all IAM roles and users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type.

", "ModifyIdentityIdFormat": "

Modifies the ID format of a resource for a specified IAM user, IAM role, or the root user for an account; or all IAM users, IAM roles, and the root user for an account. You can specify that resources should receive longer IDs (17-character IDs) when they are created.

This request can only be used to modify longer ID settings for resource types that are within the opt-in period. Resources currently in their opt-in period include: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | route-table | route-table-association | security-group | subnet | subnet-cidr-block-association | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway.

For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide.

This setting applies to the principal specified in the request; it does not apply to the principal that makes the request.

Resources created with longer IDs are visible to all IAM roles and users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type.

", "ModifyImageAttribute": "

Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time. You can use the Attribute parameter to specify the attribute or one of the following parameters: Description or LaunchPermission.

Images with an Amazon Web Services Marketplace product code cannot be made public.

To enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport on an instance and create an AMI from the instance.

", "ModifyInstanceAttribute": "

Modifies the specified attribute of the specified instance. You can specify only one attribute at a time.

Note: Using this action to change the security groups associated with an elastic network interface (ENI) attached to an instance in a VPC can result in an error if the instance has more than one ENI. To change the security groups associated with an ENI attached to an instance that has multiple ENIs, we recommend that you use the ModifyNetworkInterfaceAttribute action.

To modify some attributes, the instance must be stopped. For more information, see Modifying attributes of a stopped instance in the Amazon EC2 User Guide.

", @@ -397,7 +397,7 @@ "ModifySnapshotAttribute": "

Adds or removes permission settings for the specified snapshot. You may add or remove specified Amazon Web Services account IDs from a snapshot's list of create volume permissions, but you cannot do both in a single operation. If you need to both add and remove account IDs for a snapshot, you must use multiple operations. You can make up to 500 modifications to a snapshot in a single operation.

Encrypted snapshots and snapshots with Amazon Web Services Marketplace product codes cannot be made public. Snapshots encrypted with your default KMS key cannot be shared with other accounts.

For more information about modifying snapshot permissions, see Share a snapshot in the Amazon Elastic Compute Cloud User Guide.

", "ModifySpotFleetRequest": "

Modifies the specified Spot Fleet request.

You can only modify a Spot Fleet request of type maintain.

While the Spot Fleet request is being modified, it is in the modifying state.

To scale up your Spot Fleet, increase its target capacity. The Spot Fleet launches the additional Spot Instances according to the allocation strategy for the Spot Fleet request. If the allocation strategy is lowestPrice, the Spot Fleet launches instances using the Spot Instance pool with the lowest price. If the allocation strategy is diversified, the Spot Fleet distributes the instances across the Spot Instance pools. If the allocation strategy is capacityOptimized, Spot Fleet launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching.

To scale down your Spot Fleet, decrease its target capacity. First, the Spot Fleet cancels any open requests that exceed the new target capacity. You can request that the Spot Fleet terminate Spot Instances until the size of the fleet no longer exceeds the new target capacity. If the allocation strategy is lowestPrice, the Spot Fleet terminates the instances with the highest price per unit. If the allocation strategy is capacityOptimized, the Spot Fleet terminates the instances in the Spot Instance pools that have the least available Spot Instance capacity. If the allocation strategy is diversified, the Spot Fleet terminates instances across the Spot Instance pools. Alternatively, you can request that the Spot Fleet keep the fleet at its current size, but not replace any Spot Instances that are interrupted or that you terminate manually.

If you are finished with your Spot Fleet for now, but will use it again later, you can set the target capacity to 0.

", "ModifySubnetAttribute": "

Modifies a subnet attribute. You can only modify one attribute at a time.

", - "ModifyTrafficMirrorFilterNetworkServices": "

Allows or restricts mirroring network services.

By default, Amazon DNS network services are not eligible for Traffic Mirror. Use AddNetworkServices to add network services to a Traffic Mirror filter. When a network service is added to the Traffic Mirror filter, all traffic related to that network service will be mirrored. When you no longer want to mirror network services, use RemoveNetworkServices to remove the network services from the Traffic Mirror filter.

For information about filter rule properties, see Network Services in the Traffic Mirroring User Guide .

", + "ModifyTrafficMirrorFilterNetworkServices": "

Allows or restricts mirroring network services.

By default, Amazon DNS network services are not eligible for Traffic Mirror. Use AddNetworkServices to add network services to a Traffic Mirror filter. When a network service is added to the Traffic Mirror filter, all traffic related to that network service will be mirrored. When you no longer want to mirror network services, use RemoveNetworkServices to remove the network services from the Traffic Mirror filter.

", "ModifyTrafficMirrorFilterRule": "

Modifies the specified Traffic Mirror rule.

DestinationCidrBlock and SourceCidrBlock must both be an IPv4 range or an IPv6 range.

", "ModifyTrafficMirrorSession": "

Modifies a Traffic Mirror session.

", "ModifyTransitGateway": "

Modifies the specified transit gateway. When you modify a transit gateway, the modified options are applied to new transit gateway attachments only. Your existing transit gateway attachments are not modified.

", @@ -409,7 +409,7 @@ "ModifyVpcEndpoint": "

Modifies attributes of a specified VPC endpoint. The attributes that you can modify depend on the type of VPC endpoint (interface, gateway, or Gateway Load Balancer). For more information, see VPC Endpoints in the Amazon Virtual Private Cloud User Guide.

", "ModifyVpcEndpointConnectionNotification": "

Modifies a connection notification for VPC endpoint or VPC endpoint service. You can change the SNS topic for the notification, or the events for which to be notified.

", "ModifyVpcEndpointServiceConfiguration": "

Modifies the attributes of your VPC endpoint service configuration. You can change the Network Load Balancers or Gateway Load Balancers for your service, and you can specify whether acceptance is required for requests to connect to your endpoint service through an interface VPC endpoint.

If you set or modify the private DNS name, you must prove that you own the private DNS domain name. For more information, see VPC Endpoint Service Private DNS Name Verification in the Amazon Virtual Private Cloud User Guide.

", - "ModifyVpcEndpointServicePermissions": "

Modifies the permissions for your VPC endpoint service. You can add or remove permissions for service consumers (IAM users, IAM roles, and AWS accounts) to connect to your endpoint service.

If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.

", + "ModifyVpcEndpointServicePermissions": "

Modifies the permissions for your VPC endpoint service. You can add or remove permissions for service consumers (IAM users, IAM roles, and Amazon Web Services accounts) to connect to your endpoint service.

If you grant permissions to all principals, the service is public. Any users who know the name of a public service can send a request to attach an endpoint. If the service does not require manual approval, attachments are automatically approved.

", "ModifyVpcPeeringConnectionOptions": "

Modifies the VPC peering connection options on one side of a VPC peering connection. You can do the following:

If the peered VPCs are in the same Amazon Web Services account, you can enable DNS resolution for queries from the local VPC. This ensures that queries from the local VPC resolve to private IP addresses in the peer VPC. This option is not available if the peered VPCs are in different different Amazon Web Services accounts or different Regions. For peered VPCs in different Amazon Web Services accounts, each Amazon Web Services account owner must initiate a separate request to modify the peering connection options. For inter-region peering connections, you must use the Region for the requester VPC to modify the requester VPC peering options and the Region for the accepter VPC to modify the accepter VPC peering options. To verify which VPCs are the accepter and the requester for a VPC peering connection, use the DescribeVpcPeeringConnections command.

", "ModifyVpcTenancy": "

Modifies the instance tenancy attribute of the specified VPC. You can change the instance tenancy attribute of a VPC to default only. You cannot change the instance tenancy attribute to dedicated.

After you modify the tenancy of the VPC, any new instances that you launch into the VPC have a tenancy of default, unless you specify otherwise during launch. The tenancy of any existing instances in the VPC is not affected.

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

", "ModifyVpnConnection": "

Modifies the customer gateway or the target gateway of an Amazon Web Services Site-to-Site VPN connection. To modify the target gateway, the following migration options are available:

Before you perform the migration to the new gateway, you must configure the new gateway. Use CreateVpnGateway to create a virtual private gateway, or CreateTransitGateway to create a transit gateway.

This step is required when you migrate from a virtual private gateway with static routes to a transit gateway.

You must delete the static routes before you migrate to the new gateway.

Keep a copy of the static route before you delete it. You will need to add back these routes to the transit gateway after the VPN connection migration is complete.

After you migrate to the new gateway, you might need to modify your VPC route table. Use CreateRoute and DeleteRoute to make the changes described in Update VPC route tables in the Amazon Web Services Site-to-Site VPN User Guide.

When the new gateway is a transit gateway, modify the transit gateway route table to allow traffic between the VPC and the Amazon Web Services Site-to-Site VPN connection. Use CreateTransitGatewayRoute to add the routes.

If you deleted VPN static routes, you must add the static routes to the transit gateway route table.

After you perform this operation, the VPN endpoint's IP addresses on the Amazon Web Services side and the tunnel options remain intact. Your Amazon Web Services Site-to-Site VPN connection will be temporarily unavailable for a brief period while we provision the new endpoints.

", @@ -2023,7 +2023,7 @@ "SearchTransitGatewayRoutesResult$AdditionalRoutesAvailable": "

Indicates whether there are additional routes available.

", "SecurityGroupRule$IsEgress": "

Indicates whether the security group rule is an outbound rule.

", "SendDiagnosticInterruptRequest$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.

", - "ServiceConfiguration$AcceptanceRequired": "

Indicates whether requests from other AWS accounts to create an endpoint to the service must first be accepted.

", + "ServiceConfiguration$AcceptanceRequired": "

Indicates whether requests from other Amazon Web Services accounts to create an endpoint to the service must first be accepted.

", "ServiceConfiguration$ManagesVpcEndpoints": "

Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.

", "ServiceDetail$VpcEndpointPolicySupported": "

Indicates whether the service supports endpoint policies.

", "ServiceDetail$AcceptanceRequired": "

Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.

", @@ -7189,7 +7189,7 @@ "DescribeFleetInstancesRequest$Filters": "

The filters.

", "DescribeFleetsRequest$Filters": "

The filters.

", "DescribeFlowLogsRequest$Filter": "

One or more filters.

", - "DescribeFpgaImagesRequest$Filters": "

The filters.

", + "DescribeFpgaImagesRequest$Filters": "

The filters.

", "DescribeHostReservationOfferingsRequest$Filter": "

The filters.

", "DescribeHostReservationsRequest$Filter": "

The filters.

", "DescribeHostsRequest$Filter": "

The filters.

", @@ -7259,7 +7259,7 @@ "DescribeVolumesRequest$Filters": "

The filters.

", "DescribeVpcClassicLinkRequest$Filters": "

One or more filters.

", "DescribeVpcEndpointConnectionNotificationsRequest$Filters": "

One or more filters.

", - "DescribeVpcEndpointConnectionsRequest$Filters": "

One or more filters.

", + "DescribeVpcEndpointConnectionsRequest$Filters": "

One or more filters.

", "DescribeVpcEndpointServiceConfigurationsRequest$Filters": "

One or more filters.

", "DescribeVpcEndpointServicePermissionsRequest$Filters": "

One or more filters.

", "DescribeVpcEndpointServicesRequest$Filters": "

One or more filters.

", @@ -8963,8 +8963,8 @@ "InstanceMetadataEndpointState": { "base": null, "refs": { - "InstanceMetadataOptionsRequest$HttpEndpoint": "

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

", - "InstanceMetadataOptionsResponse$HttpEndpoint": "

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

", + "InstanceMetadataOptionsRequest$HttpEndpoint": "

Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

", + "InstanceMetadataOptionsResponse$HttpEndpoint": "

Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled.

", "ModifyInstanceMetadataOptionsRequest$HttpEndpoint": "

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the existing state is maintained.

If you specify a value of disabled, you will not be able to access your instance metadata.

" } }, @@ -8991,7 +8991,7 @@ "base": null, "refs": { "InstanceMetadataOptionsRequest$HttpProtocolIpv6": "

Enables or disables the IPv6 endpoint for the instance metadata service.

", - "InstanceMetadataOptionsResponse$HttpProtocolIpv6": "

Whether or not the IPv6 endpoint for the instance metadata service is enabled or disabled.

", + "InstanceMetadataOptionsResponse$HttpProtocolIpv6": "

Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.

", "ModifyInstanceMetadataOptionsRequest$HttpProtocolIpv6": "

Enables or disables the IPv6 endpoint for the instance metadata service.

" } }, @@ -10864,7 +10864,7 @@ "ModifyAvailabilityZoneOptInStatus": { "base": null, "refs": { - "ModifyAvailabilityZoneGroupRequest$OptInStatus": "

Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The only valid value is opted-in. You must contact AWS Support to opt out of a Local Zone group, or Wavelength Zone group.

" + "ModifyAvailabilityZoneGroupRequest$OptInStatus": "

Indicates whether you are opted in to the Local Zone group or Wavelength Zone group. The only valid value is opted-in. You must contact Amazon Web Services Support to opt out of a Local Zone or Wavelength Zone group.

" } }, "ModifyCapacityReservationFleetRequest": { @@ -11845,7 +11845,7 @@ "OwnerStringList": { "base": null, "refs": { - "DescribeFpgaImagesRequest$Owners": "

Filters the AFI by owner. Specify an AWS account ID, self (owner is the sender of the request), or an AWS owner alias (valid values are amazon | aws-marketplace).

", + "DescribeFpgaImagesRequest$Owners": "

Filters the AFI by owner. Specify an Amazon Web Services account ID, self (owner is the sender of the request), or an Amazon Web Services owner alias (valid values are amazon | aws-marketplace).

", "DescribeImagesRequest$Owners": "

Scopes the results to images with the specified owners. You can specify a combination of Amazon Web Services account IDs, self, amazon, and aws-marketplace. If you omit this parameter, the results include all images for which you have launch permissions, regardless of ownership.

", "DescribeSnapshotsRequest$OwnerIds": "

Scopes the results to snapshots with the specified owners. You can specify a combination of Amazon Web Services account IDs, self, and amazon.

" } @@ -13295,7 +13295,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. To tag the Spot Fleet request on creation, use the TagSpecifications parameter in SpotFleetRequestConfigData .

", "TagDescription$ResourceType": "

The resource type.

", - "TagSpecification$ResourceType": "

The type of resource to tag on creation. The possible values are: capacity-reservation | carrier-gateway | client-vpn-endpoint | customer-gateway | dedicated-host | dhcp-options | egress-only-internet-gateway | elastic-gpu | elastic-ip | export-image-task | export-instance-task | fleet | fpga-image | host-reservation | image | import-image-task | import-snapshot-task | instance | instance-event-window | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template | local-gateway-route-table-vpc-association | natgateway | network-acl | network-insights-analysis | network-insights-path | network-interface | placement-group | prefix-list | reserved-instances | route-table | security-group | security-group-rule | snapshot | spot-fleet-request | spot-instances-request | subnet | traffic-mirror-filter | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment | transit-gateway-multicast-domain | transit-gateway-route-table | volume | vpc | vpc-endpoint | vpc-endpoint-service | vpc-flow-log | vpc-peering-connection | vpn-connection | vpn-gateway.

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

" + "TagSpecification$ResourceType": "

The type of resource to tag on creation.

" } }, "ResponseError": { @@ -14366,18 +14366,18 @@ "Address$NetworkInterfaceOwnerId": "

The ID of the Amazon Web Services account that owns the network interface.

", "Address$PrivateIpAddress": "

The private IP address associated with the Elastic IP address.

", "Address$PublicIpv4Pool": "

The ID of an address pool.

", - "Address$NetworkBorderGroup": "

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.

", + "Address$NetworkBorderGroup": "

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

", "Address$CustomerOwnedIp": "

The customer-owned IP address.

", "Address$CustomerOwnedIpv4Pool": "

The ID of the customer-owned address pool.

", "Address$CarrierIp": "

The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

", "AddressAttribute$PtrRecord": "

The pointer (PTR) record for the IP address.

", "AdvertiseByoipCidrRequest$Cidr": "

The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.

", - "AllocateAddressRequest$NetworkBorderGroup": "

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

Use DescribeAvailabilityZones to view the network border groups.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will receive an InvalidParameterCombination error. For more information, see Error Codes.

", + "AllocateAddressRequest$NetworkBorderGroup": "

A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.

Use DescribeAvailabilityZones to view the network border groups.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 Classic, you receive an InvalidParameterCombination error.

", "AllocateAddressRequest$CustomerOwnedIpv4Pool": "

The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.

", "AllocateAddressResult$PublicIp": "

The Elastic IP address.

", "AllocateAddressResult$AllocationId": "

[EC2-VPC] The ID that Amazon Web Services assigns to represent the allocation of the Elastic IP address for use with instances in a VPC.

", "AllocateAddressResult$PublicIpv4Pool": "

The ID of an address pool.

", - "AllocateAddressResult$NetworkBorderGroup": "

The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.

", + "AllocateAddressResult$NetworkBorderGroup": "

The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

", "AllocateAddressResult$CustomerOwnedIp": "

The customer-owned IP address.

", "AllocateAddressResult$CustomerOwnedIpv4Pool": "

The ID of the customer-owned address pool.

", "AllocateAddressResult$CarrierIp": "

The carrier IP address. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

", @@ -14546,8 +14546,8 @@ "ClientVpnRoute$Description": "

A brief description of the route.

", "ClientVpnRouteStatus$Message": "

A message about the status of the Client VPN endpoint route, if applicable.

", "CoipAddressUsage$AllocationId": "

The allocation ID of the address.

", - "CoipAddressUsage$AwsAccountId": "

The AWS account ID.

", - "CoipAddressUsage$AwsService": "

The AWS service.

", + "CoipAddressUsage$AwsAccountId": "

The Amazon Web Services account ID.

", + "CoipAddressUsage$AwsService": "

The Amazon Web Services service.

", "CoipAddressUsage$CoIp": "

The customer-owned IP address.

", "ConfirmProductInstanceRequest$ProductCode": "

The product code. This must be a product code that you own.

", "ConfirmProductInstanceResult$OwnerId": "

The Amazon Web Services account ID of the instance owner. This is only present if the product code is attached to the instance.

", @@ -14566,7 +14566,7 @@ "CopyFpgaImageRequest$Description": "

The description for the new AFI.

", "CopyFpgaImageRequest$Name": "

The name for the new AFI. The default is the name of the source AFI.

", "CopyFpgaImageRequest$SourceRegion": "

The Region that contains the source AFI.

", - "CopyFpgaImageRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

", + "CopyFpgaImageRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

", "CopyFpgaImageResult$FpgaImageId": "

The ID of the new AFI.

", "CopyImageRequest$ClientToken": "

Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.

", "CopyImageRequest$Description": "

A description for the new AMI in the destination Region.

", @@ -14613,7 +14613,7 @@ "CreateFlowLogsRequest$DeliverLogsPermissionArn": "

The ARN for the IAM role that permits Amazon EC2 to publish flow logs to a CloudWatch Logs log group in your account.

If you specify LogDestinationType as s3, do not specify DeliverLogsPermissionArn or LogGroupName.

", "CreateFlowLogsRequest$LogGroupName": "

The name of a new or existing CloudWatch Logs log group where Amazon EC2 publishes your flow logs.

If you specify LogDestinationType as s3, do not specify DeliverLogsPermissionArn or LogGroupName.

", "CreateFlowLogsRequest$LogDestination": "

Specifies the destination to which the flow log data is to be published. Flow log data can be published to a CloudWatch Logs log group or an Amazon S3 bucket. The value specified for this parameter depends on the value specified for LogDestinationType.

If LogDestinationType is not specified or cloud-watch-logs, specify the Amazon Resource Name (ARN) of the CloudWatch Logs log group. For example, to publish to a log group called my-logs, specify arn:aws:logs:us-east-1:123456789012:log-group:my-logs. Alternatively, use LogGroupName instead.

If LogDestinationType is s3, specify the ARN of the Amazon S3 bucket. You can also specify a subfolder in the bucket. To specify a subfolder in the bucket, use the following ARN format: bucket_ARN/subfolder_name/. For example, to specify a subfolder named my-logs in a bucket named my-bucket, use the following ARN: arn:aws:s3:::my-bucket/my-logs/. You cannot use AWSLogs as a subfolder name. This is a reserved term.

", - "CreateFlowLogsRequest$LogFormat": "

The fields to include in the flow log record, in the order in which they should appear. For a list of available fields, see Flow log records. If you omit this parameter, the flow log is created using the default format. If you specify this parameter, you must specify at least one field.

Specify the fields using the ${field-id} format, separated by spaces. For the CLI, use single quotation marks (' ') to surround the parameter value.

", + "CreateFlowLogsRequest$LogFormat": "

The fields to include in the flow log record, in the order in which they should appear. For a list of available fields, see Flow log records. If you omit this parameter, the flow log is created using the default format. If you specify this parameter, you must specify at least one field.

Specify the fields using the ${field-id} format, separated by spaces. For the CLI, surround this parameter value with single quotes on Linux or double quotes on Windows.

", "CreateFlowLogsResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", "CreateFpgaImageRequest$Description": "

A description for the AFI.

", "CreateFpgaImageRequest$Name": "

A name for the AFI.

", @@ -14675,20 +14675,20 @@ "CreateSubnetRequest$Ipv6CidrBlock": "

The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.

", "CreateSubnetRequest$OutpostArn": "

The Amazon Resource Name (ARN) of the Outpost. If you specify an Outpost ARN, you must also specify the Availability Zone of the Outpost subnet.

", "CreateTrafficMirrorFilterRequest$Description": "

The description of the Traffic Mirror filter.

", - "CreateTrafficMirrorFilterRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", - "CreateTrafficMirrorFilterResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", + "CreateTrafficMirrorFilterRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorFilterResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateTrafficMirrorFilterRuleRequest$DestinationCidrBlock": "

The destination CIDR block to assign to the Traffic Mirror rule.

", "CreateTrafficMirrorFilterRuleRequest$SourceCidrBlock": "

The source CIDR block to assign to the Traffic Mirror rule.

", "CreateTrafficMirrorFilterRuleRequest$Description": "

The description of the Traffic Mirror rule.

", - "CreateTrafficMirrorFilterRuleRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", - "CreateTrafficMirrorFilterRuleResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", + "CreateTrafficMirrorFilterRuleRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorFilterRuleResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateTrafficMirrorSessionRequest$Description": "

The description of the Traffic Mirror session.

", - "CreateTrafficMirrorSessionRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", - "CreateTrafficMirrorSessionResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", + "CreateTrafficMirrorSessionRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorSessionResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateTrafficMirrorTargetRequest$NetworkLoadBalancerArn": "

The Amazon Resource Name (ARN) of the Network Load Balancer that is associated with the target.

", "CreateTrafficMirrorTargetRequest$Description": "

The description of the Traffic Mirror target.

", - "CreateTrafficMirrorTargetRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", - "CreateTrafficMirrorTargetResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", + "CreateTrafficMirrorTargetRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", + "CreateTrafficMirrorTargetResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateTransitGatewayConnectPeerRequest$TransitGatewayAddress": "

The peer IP address (GRE outer IP address) on the transit gateway side of the Connect peer, which must be specified from a transit gateway CIDR block. If not specified, Amazon automatically assigns the first available IP address from the transit gateway CIDR block.

", "CreateTransitGatewayConnectPeerRequest$PeerAddress": "

The peer IP address (GRE outer IP address) on the appliance side of the Connect peer.

", "CreateTransitGatewayPeeringAttachmentRequest$PeerAccountId": "

The ID of the Amazon Web Services account that owns the peer transit gateway.

", @@ -14700,14 +14700,14 @@ "CreateVolumeRequest$OutpostArn": "

The Amazon Resource Name (ARN) of the Outpost.

", "CreateVolumeRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensure Idempotency.

", "CreateVpcEndpointConnectionNotificationRequest$ConnectionNotificationArn": "

The ARN of the SNS topic for the notifications.

", - "CreateVpcEndpointConnectionNotificationRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", + "CreateVpcEndpointConnectionNotificationRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateVpcEndpointConnectionNotificationResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", "CreateVpcEndpointRequest$ServiceName": "

The service name. To get a list of available services, use the DescribeVpcEndpointServices request, or get the name from the service provider.

", "CreateVpcEndpointRequest$PolicyDocument": "

(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.

", - "CreateVpcEndpointRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", + "CreateVpcEndpointRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateVpcEndpointResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", "CreateVpcEndpointServiceConfigurationRequest$PrivateDnsName": "

(Interface endpoint configuration) The private DNS name to assign to the VPC endpoint service.

", - "CreateVpcEndpointServiceConfigurationRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.

", + "CreateVpcEndpointServiceConfigurationRequest$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

", "CreateVpcEndpointServiceConfigurationResult$ClientToken": "

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

", "CreateVpcPeeringConnectionRequest$PeerOwnerId": "

The Amazon Web Services account ID of the owner of the accepter VPC.

Default: Your Amazon Web Services account ID

", "CreateVpcPeeringConnectionRequest$PeerVpcId": "

The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request.

", @@ -14977,7 +14977,7 @@ "EnableFastSnapshotRestoreSuccessItem$OwnerId": "

The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.

", "EnableFastSnapshotRestoreSuccessItem$OwnerAlias": "

The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.

", "EventInformation$EventDescription": "

The description of the event.

", - "EventInformation$EventSubType": "

The event.

The following are the error events:

The following are the fleetRequestChange events:

The following are the instanceChange events:

The following are the Information events:

", + "EventInformation$EventSubType": "

The event.

error events:

fleetRequestChange events:

instanceChange events:

Information events:

", "EventInformation$InstanceId": "

The ID of the instance. This information is available only for instanceChange events.

", "ExecutableByStringList$member": null, "Explanation$Direction": "

The direction. The following are possible values:

", @@ -15047,8 +15047,8 @@ "FpgaImage$FpgaImageGlobalId": "

The global FPGA image identifier (AGFI ID).

", "FpgaImage$Name": "

The name of the AFI.

", "FpgaImage$Description": "

The description of the AFI.

", - "FpgaImage$ShellVersion": "

The version of the AWS Shell that was used to create the bitstream.

", - "FpgaImage$OwnerId": "

The AWS account ID of the AFI owner.

", + "FpgaImage$ShellVersion": "

The version of the Amazon Web Services Shell that was used to create the bitstream.

", + "FpgaImage$OwnerId": "

The ID of the Amazon Web Services account that owns the AFI.

", "FpgaImage$OwnerAlias": "

The alias of the AFI owner. Possible values include self, amazon, and aws-marketplace.

", "FpgaImageAttribute$FpgaImageId": "

The ID of the AFI.

", "FpgaImageAttribute$Name": "

The name of the AFI.

", @@ -15152,7 +15152,7 @@ "ImportImageRequest$LicenseType": "

The license type to be used for the Amazon Machine Image (AMI) after importing.

By default, we detect the source-system operating system (OS) and apply the appropriate license. Specify AWS to replace the source-system license with an Amazon Web Services license, if appropriate. Specify BYOL to retain the source-system license, if appropriate.

To use BYOL, you must have existing licenses with rights to use these licenses in a third party cloud, such as Amazon Web Services. For more information, see Prerequisites in the VM Import/Export User Guide.

", "ImportImageRequest$Platform": "

The operating system of the virtual machine.

Valid values: Windows | Linux

", "ImportImageRequest$RoleName": "

The name of the role to use when not using the default role, 'vmimport'.

", - "ImportImageRequest$UsageOperation": "

The usage operation value. For more information, see AMI billing information fields in the Amazon Elastic Compute Cloud User Guide.

", + "ImportImageRequest$UsageOperation": "

The usage operation value. For more information, see Licensing options in the VM Import/Export User Guide.

", "ImportImageResult$Architecture": "

The architecture of the virtual machine.

", "ImportImageResult$Description": "

A description of the import task.

", "ImportImageResult$Hypervisor": "

The target hypervisor of the import task.

", @@ -15344,31 +15344,31 @@ "LaunchTemplateVersion$CreatedBy": "

The principal that created the version.

", "LicenseConfiguration$LicenseConfigurationArn": "

The Amazon Resource Name (ARN) of the license configuration.

", "LicenseConfigurationRequest$LicenseConfigurationArn": "

The Amazon Resource Name (ARN) of the license configuration.

", - "LoadPermission$UserId": "

The AWS account ID.

", - "LoadPermissionRequest$UserId": "

The AWS account ID.

", + "LoadPermission$UserId": "

The Amazon Web Services account ID.

", + "LoadPermissionRequest$UserId": "

The Amazon Web Services account ID.

", "LocalGateway$OutpostArn": "

The Amazon Resource Name (ARN) of the Outpost.

", - "LocalGateway$OwnerId": "

The AWS account ID that owns the local gateway.

", + "LocalGateway$OwnerId": "

The ID of the Amazon Web Services account that owns the local gateway.

", "LocalGateway$State": "

The state of the local gateway.

", "LocalGatewayRoute$DestinationCidrBlock": "

The CIDR block used for destination matches.

", - "LocalGatewayRoute$OwnerId": "

The AWS account ID that owns the local gateway route.

", + "LocalGatewayRoute$OwnerId": "

The ID of the Amazon Web Services account that owns the local gateway route.

", "LocalGatewayRouteTable$LocalGatewayRouteTableId": "

The ID of the local gateway route table.

", "LocalGatewayRouteTable$OutpostArn": "

The Amazon Resource Name (ARN) of the Outpost.

", - "LocalGatewayRouteTable$OwnerId": "

The AWS account ID that owns the local gateway route table.

", + "LocalGatewayRouteTable$OwnerId": "

The ID of the Amazon Web Services account that owns the local gateway route table.

", "LocalGatewayRouteTable$State": "

The state of the local gateway route table.

", "LocalGatewayRouteTableVirtualInterfaceGroupAssociation$LocalGatewayId": "

The ID of the local gateway.

", - "LocalGatewayRouteTableVirtualInterfaceGroupAssociation$OwnerId": "

The AWS account ID that owns the local gateway virtual interface group association.

", + "LocalGatewayRouteTableVirtualInterfaceGroupAssociation$OwnerId": "

The ID of the Amazon Web Services account that owns the local gateway virtual interface group association.

", "LocalGatewayRouteTableVirtualInterfaceGroupAssociation$State": "

The state of the association.

", "LocalGatewayRouteTableVpcAssociation$LocalGatewayRouteTableId": "

The ID of the local gateway route table.

", "LocalGatewayRouteTableVpcAssociation$LocalGatewayId": "

The ID of the local gateway.

", "LocalGatewayRouteTableVpcAssociation$VpcId": "

The ID of the VPC.

", - "LocalGatewayRouteTableVpcAssociation$OwnerId": "

The AWS account ID that owns the local gateway route table for the association.

", + "LocalGatewayRouteTableVpcAssociation$OwnerId": "

The ID of the Amazon Web Services account that owns the local gateway route table for the association.

", "LocalGatewayRouteTableVpcAssociation$State": "

The state of the association.

", "LocalGatewayVirtualInterface$LocalGatewayId": "

The ID of the local gateway.

", "LocalGatewayVirtualInterface$LocalAddress": "

The local address.

", "LocalGatewayVirtualInterface$PeerAddress": "

The peer address.

", - "LocalGatewayVirtualInterface$OwnerId": "

The AWS account ID that owns the local gateway virtual interface.

", + "LocalGatewayVirtualInterface$OwnerId": "

The ID of the Amazon Web Services account that owns the local gateway virtual interface.

", "LocalGatewayVirtualInterfaceGroup$LocalGatewayId": "

The ID of the local gateway.

", - "LocalGatewayVirtualInterfaceGroup$OwnerId": "

The AWS account ID that owns the local gateway virtual interface group.

", + "LocalGatewayVirtualInterfaceGroup$OwnerId": "

The ID of the Amazon Web Services account that owns the local gateway virtual interface group.

", "ManagedPrefixList$AddressFamily": "

The IP address version.

", "ManagedPrefixList$StateMessage": "

The state message.

", "ManagedPrefixList$PrefixListName": "

The name of the prefix list.

", @@ -15567,7 +15567,7 @@ "RegisterTransitGatewayMulticastGroupMembersRequest$GroupIpAddress": "

The IP address assigned to the transit gateway multicast group.

", "RegisterTransitGatewayMulticastGroupSourcesRequest$GroupIpAddress": "

The IP address assigned to the transit gateway multicast group.

", "ReleaseAddressRequest$PublicIp": "

[EC2-Classic] The Elastic IP address. Required for EC2-Classic.

", - "ReleaseAddressRequest$NetworkBorderGroup": "

The set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.

If you provide an incorrect network border group, you will receive an InvalidAddress.NotFound error. For more information, see Error Codes.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you will receive an InvalidParameterCombination error. For more information, see Error Codes.

", + "ReleaseAddressRequest$NetworkBorderGroup": "

The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

If you provide an incorrect network border group, you receive an InvalidAddress.NotFound error.

You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you receive an InvalidParameterCombination error.

", "RemovePrefixListEntry$Cidr": "

The CIDR block.

", "ReplaceNetworkAclAssociationResult$NewAssociationId": "

The ID of the new association.

", "ReplaceNetworkAclEntryRequest$CidrBlock": "

The IPv4 network range to allow or deny, in CIDR notation (for example 172.16.0.0/24).

", @@ -15729,7 +15729,7 @@ "ServiceConfiguration$PrivateDnsName": "

The private DNS name for the service.

", "ServiceDetail$ServiceName": "

The Amazon Resource Name (ARN) of the service.

", "ServiceDetail$ServiceId": "

The ID of the endpoint service.

", - "ServiceDetail$Owner": "

The AWS account ID of the service owner.

", + "ServiceDetail$Owner": "

The Amazon Web Services account ID of the service owner.

", "ServiceDetail$PrivateDnsName": "

The private DNS name for the service.

", "Snapshot$DataEncryptionKeyId": "

The data encryption key identifier for the snapshot. This value is a unique identifier that corresponds to the data encryption key that was used to encrypt the original volume or snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, and vice versa, if snapshots share the same data encryption key identifier, then they belong to the same volume/snapshot lineage. This parameter is only returned by DescribeSnapshots.

", "Snapshot$Description": "

The description for the snapshot.

", @@ -15997,13 +15997,13 @@ "VpcEndpoint$VpcId": "

The ID of the VPC to which the endpoint is associated.

", "VpcEndpoint$ServiceName": "

The name of the service to which the endpoint is associated.

", "VpcEndpoint$PolicyDocument": "

The policy document associated with the endpoint, if applicable.

", - "VpcEndpoint$OwnerId": "

The ID of the AWS account that owns the VPC endpoint.

", + "VpcEndpoint$OwnerId": "

The ID of the Amazon Web Services account that owns the VPC endpoint.

", "VpcEndpointConnection$ServiceId": "

The ID of the service to which the endpoint is connected.

", "VpcEndpointConnection$VpcEndpointId": "

The ID of the VPC endpoint.

", - "VpcEndpointConnection$VpcEndpointOwner": "

The AWS account ID of the owner of the VPC endpoint.

", + "VpcEndpointConnection$VpcEndpointOwner": "

The ID of the Amazon Web Services account that owns the VPC endpoint.

", "VpcIpv6CidrBlockAssociation$AssociationId": "

The association ID for the IPv6 CIDR block.

", "VpcIpv6CidrBlockAssociation$Ipv6CidrBlock": "

The IPv6 CIDR block.

", - "VpcIpv6CidrBlockAssociation$NetworkBorderGroup": "

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses, for example, us-east-1-wl1-bos-wlz-1.

", + "VpcIpv6CidrBlockAssociation$NetworkBorderGroup": "

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses, for example, us-east-1-wl1-bos-wlz-1.

", "VpcIpv6CidrBlockAssociation$Ipv6Pool": "

The ID of the IPv6 address pool from which the IPv6 CIDR block is allocated.

", "VpcPeeringConnection$VpcPeeringConnectionId": "

The ID of the VPC peering connection.

", "VpcPeeringConnectionStateReason$Message": "

A message that provides more information about the status, if applicable.

", @@ -16546,8 +16546,8 @@ "TrafficDirection": { "base": null, "refs": { - "CreateTrafficMirrorFilterRuleRequest$TrafficDirection": "

The type of traffic (ingress | egress).

", - "ModifyTrafficMirrorFilterRuleRequest$TrafficDirection": "

The type of traffic (ingress | egress) to assign to the rule.

", + "CreateTrafficMirrorFilterRuleRequest$TrafficDirection": "

The type of traffic.

", + "ModifyTrafficMirrorFilterRuleRequest$TrafficDirection": "

The type of traffic to assign to the rule.

", "TrafficMirrorFilterRule$TrafficDirection": "

The traffic direction assigned to the Traffic Mirror rule.

" } }, @@ -16649,7 +16649,7 @@ "TrafficMirrorRuleAction": { "base": null, "refs": { - "CreateTrafficMirrorFilterRuleRequest$RuleAction": "

The action to take (accept | reject) on the filtered traffic.

", + "CreateTrafficMirrorFilterRuleRequest$RuleAction": "

The action to take on the filtered traffic.

", "ModifyTrafficMirrorFilterRuleRequest$RuleAction": "

The action to assign to the rule.

", "TrafficMirrorFilterRule$RuleAction": "

The action assigned to the Traffic Mirror rule.

" } @@ -17574,7 +17574,7 @@ "UserIdStringList": { "base": null, "refs": { - "ModifyFpgaImageAttributeRequest$UserIds": "

The AWS account IDs. This parameter is valid only when modifying the loadPermission attribute.

", + "ModifyFpgaImageAttributeRequest$UserIds": "

The Amazon Web Services account IDs. This parameter is valid only when modifying the loadPermission attribute.

", "ModifyImageAttributeRequest$UserIds": "

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

", "ModifySnapshotAttributeRequest$UserIds": "

The account ID to modify for the snapshot.

" } diff --git a/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json b/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json index bc1a105950..352ba30977 100644 --- a/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json +++ b/models/apis/elasticloadbalancingv2/2015-12-01/api-2.json @@ -969,7 +969,8 @@ "UnhealthyThresholdCount":{"shape":"HealthCheckThresholdCount"}, "Matcher":{"shape":"Matcher"}, "TargetType":{"shape":"TargetTypeEnum"}, - "Tags":{"shape":"TagList"} + "Tags":{"shape":"TagList"}, + "IpAddressType":{"shape":"TargetGroupIpAddressTypeEnum"} } }, "CreateTargetGroupOutput":{ @@ -2133,7 +2134,8 @@ "Matcher":{"shape":"Matcher"}, "LoadBalancerArns":{"shape":"LoadBalancerArns"}, "TargetType":{"shape":"TargetTypeEnum"}, - "ProtocolVersion":{"shape":"ProtocolVersion"} + "ProtocolVersion":{"shape":"ProtocolVersion"}, + "IpAddressType":{"shape":"TargetGroupIpAddressTypeEnum"} } }, "TargetGroupArn":{"type":"string"}, @@ -2169,6 +2171,13 @@ "type":"list", "member":{"shape":"TargetGroupAttribute"} }, + "TargetGroupIpAddressTypeEnum":{ + "type":"string", + "enum":[ + "ipv4", + "ipv6" + ] + }, "TargetGroupList":{ "type":"list", "member":{"shape":"TargetGroupTuple"} diff --git a/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json b/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json index 4bc886bdfb..4044b89054 100644 --- a/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json +++ b/models/apis/elasticloadbalancingv2/2015-12-01/docs-2.json @@ -702,7 +702,7 @@ "HttpCode": { "base": null, "refs": { - "Matcher$HttpCode": "

For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, \"200,202\") or a range of values (for example, \"200-299\").

For Network Load Balancers and Gateway Load Balancers, this must be \"200–399\".

" + "Matcher$HttpCode": "

For Application Load Balancers, you can specify values between 200 and 499, and the default value is 200. You can specify multiple values (for example, \"200,202\") or a range of values (for example, \"200-299\").

For Network Load Balancers and Gateway Load Balancers, this must be \"200–399\".

Note that when using shorthand syntax, some values such as commas need to be escaped.

" } }, "HttpHeaderConditionConfig": { @@ -990,7 +990,7 @@ } }, "Matcher": { - "base": "

The codes to use when checking for a successful response from a target. If the protocol version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.

", + "base": "

The codes to use when checking for a successful response from a target. If the protocol version is gRPC, these are gRPC codes. Otherwise, these are HTTP codes.

", "refs": { "CreateTargetGroupInput$Matcher": "

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.

", "ModifyTargetGroupInput$Matcher": "

[HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for a successful response from a target.

With Network Load Balancers, you can't modify this setting.

", @@ -1599,6 +1599,13 @@ "ModifyTargetGroupAttributesOutput$Attributes": "

Information about the attributes.

" } }, + "TargetGroupIpAddressTypeEnum": { + "base": null, + "refs": { + "CreateTargetGroupInput$IpAddressType": "

The type of IP address used for this target group. The possible values are ipv4 and ipv6. This is an optional parameter. If not specified, the IP address type defaults to ipv4.

", + "TargetGroup$IpAddressType": "

The type of IP address used for this target group. The possible values are ipv4 and ipv6. This is an optional parameter. If not specified, the IP address type defaults to ipv4.

" + } + }, "TargetGroupList": { "base": null, "refs": { diff --git a/models/apis/frauddetector/2019-11-15/api-2.json b/models/apis/frauddetector/2019-11-15/api-2.json index c17e56e334..72f20ad40a 100644 --- a/models/apis/frauddetector/2019-11-15/api-2.json +++ b/models/apis/frauddetector/2019-11-15/api-2.json @@ -42,6 +42,22 @@ {"shape":"AccessDeniedException"} ] }, + "CancelBatchImportJob":{ + "name":"CancelBatchImportJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CancelBatchImportJobRequest"}, + "output":{"shape":"CancelBatchImportJobResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, "CancelBatchPredictionJob":{ "name":"CancelBatchPredictionJob", "http":{ @@ -58,6 +74,22 @@ {"shape":"AccessDeniedException"} ] }, + "CreateBatchImportJob":{ + "name":"CreateBatchImportJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateBatchImportJobRequest"}, + "output":{"shape":"CreateBatchImportJobResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, "CreateBatchPredictionJob":{ "name":"CreateBatchPredictionJob", "http":{ @@ -151,6 +183,21 @@ {"shape":"AccessDeniedException"} ] }, + "DeleteBatchImportJob":{ + "name":"DeleteBatchImportJob", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteBatchImportJobRequest"}, + "output":{"shape":"DeleteBatchImportJobResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, "DeleteBatchPredictionJob":{ "name":"DeleteBatchPredictionJob", "http":{ @@ -161,7 +208,6 @@ "output":{"shape":"DeleteBatchPredictionJobResult"}, "errors":[ {"shape":"ValidationException"}, - {"shape":"ResourceNotFoundException"}, {"shape":"InternalServerException"}, {"shape":"ThrottlingException"}, {"shape":"AccessDeniedException"} @@ -247,6 +293,23 @@ {"shape":"AccessDeniedException"} ] }, + "DeleteEventsByEventType":{ + "name":"DeleteEventsByEventType", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteEventsByEventTypeRequest"}, + "output":{"shape":"DeleteEventsByEventTypeResult"}, + "errors":[ + {"shape":"ConflictException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, "DeleteExternalModel":{ "name":"DeleteExternalModel", "http":{ @@ -390,6 +453,22 @@ {"shape":"AccessDeniedException"} ] }, + "GetBatchImportJobs":{ + "name":"GetBatchImportJobs", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetBatchImportJobsRequest"}, + "output":{"shape":"GetBatchImportJobsResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, "GetBatchPredictionJobs":{ "name":"GetBatchPredictionJobs", "http":{ @@ -406,6 +485,22 @@ {"shape":"AccessDeniedException"} ] }, + "GetDeleteEventsByEventTypeStatus":{ + "name":"GetDeleteEventsByEventTypeStatus", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetDeleteEventsByEventTypeStatusRequest"}, + "output":{"shape":"GetDeleteEventsByEventTypeStatusResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, "GetDetectorVersion":{ "name":"GetDetectorVersion", "http":{ @@ -454,6 +549,22 @@ {"shape":"AccessDeniedException"} ] }, + "GetEvent":{ + "name":"GetEvent", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetEventRequest"}, + "output":{"shape":"GetEventResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, "GetEventPrediction":{ "name":"GetEventPrediction", "http":{ @@ -742,6 +853,23 @@ {"shape":"ConflictException"} ] }, + "SendEvent":{ + "name":"SendEvent", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"SendEventRequest"}, + "output":{"shape":"SendEventResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ConflictException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"} + ] + }, "TagResource":{ "name":"TagResource", "http":{ @@ -822,6 +950,23 @@ {"shape":"ConflictException"} ] }, + "UpdateEventLabel":{ + "name":"UpdateEventLabel", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateEventLabelRequest"}, + "output":{"shape":"UpdateEventLabelResult"}, + "errors":[ + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"}, + {"shape":"ThrottlingException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ConflictException"} + ] + }, "UpdateModel":{ "name":"UpdateModel", "http":{ @@ -997,6 +1142,28 @@ "errors":{"shape":"BatchGetVariableErrorList"} } }, + "BatchImport":{ + "type":"structure", + "members":{ + "jobId":{"shape":"identifier"}, + "status":{"shape":"AsyncJobStatus"}, + "failureReason":{"shape":"string"}, + "startTime":{"shape":"time"}, + "completionTime":{"shape":"time"}, + "inputPath":{"shape":"s3BucketLocation"}, + "outputPath":{"shape":"s3BucketLocation"}, + "eventTypeName":{"shape":"identifier"}, + "iamRoleArn":{"shape":"iamRoleArn"}, + "arn":{"shape":"fraudDetectorArn"}, + "processedRecordsCount":{"shape":"Integer"}, + "failedRecordsCount":{"shape":"Integer"}, + "totalRecordsCount":{"shape":"Integer"} + } + }, + "BatchImportList":{ + "type":"list", + "member":{"shape":"BatchImport"} + }, "BatchPrediction":{ "type":"structure", "members":{ @@ -1021,6 +1188,18 @@ "type":"list", "member":{"shape":"BatchPrediction"} }, + "CancelBatchImportJobRequest":{ + "type":"structure", + "required":["jobId"], + "members":{ + "jobId":{"shape":"identifier"} + } + }, + "CancelBatchImportJobResult":{ + "type":"structure", + "members":{ + } + }, "CancelBatchPredictionJobRequest":{ "type":"structure", "required":["jobId"], @@ -1041,6 +1220,29 @@ }, "exception":true }, + "CreateBatchImportJobRequest":{ + "type":"structure", + "required":[ + "jobId", + "inputPath", + "outputPath", + "eventTypeName", + "iamRoleArn" + ], + "members":{ + "jobId":{"shape":"identifier"}, + "inputPath":{"shape":"s3BucketLocation"}, + "outputPath":{"shape":"s3BucketLocation"}, + "eventTypeName":{"shape":"identifier"}, + "iamRoleArn":{"shape":"iamRoleArn"}, + "tags":{"shape":"tagList"} + } + }, + "CreateBatchImportJobResult":{ + "type":"structure", + "members":{ + } + }, "CreateBatchPredictionJobRequest":{ "type":"structure", "required":[ @@ -1087,7 +1289,7 @@ "type":"structure", "members":{ "detectorId":{"shape":"identifier"}, - "detectorVersionId":{"shape":"nonEmptyString"}, + "detectorVersionId":{"shape":"wholeNumberVersionString"}, "status":{"shape":"DetectorVersionStatus"} } }, @@ -1125,6 +1327,7 @@ "trainingDataSource":{"shape":"TrainingDataSourceEnum"}, "trainingDataSchema":{"shape":"TrainingDataSchema"}, "externalEventsDetail":{"shape":"ExternalEventsDetail"}, + "ingestedEventsDetail":{"shape":"IngestedEventsDetail"}, "tags":{"shape":"tagList"} } }, @@ -1133,7 +1336,7 @@ "members":{ "modelId":{"shape":"modelIdentifier"}, "modelType":{"shape":"ModelTypeEnum"}, - "modelVersionNumber":{"shape":"nonEmptyString"}, + "modelVersionNumber":{"shape":"floatVersionString"}, "status":{"shape":"string"} } }, @@ -1214,6 +1417,19 @@ "fieldLevelMessages":{"shape":"fieldValidationMessageList"} } }, + "DeleteAuditHistory":{"type":"boolean"}, + "DeleteBatchImportJobRequest":{ + "type":"structure", + "required":["jobId"], + "members":{ + "jobId":{"shape":"identifier"} + } + }, + "DeleteBatchImportJobResult":{ + "type":"structure", + "members":{ + } + }, "DeleteBatchPredictionJobRequest":{ "type":"structure", "required":["jobId"], @@ -1274,7 +1490,8 @@ ], "members":{ "eventId":{"shape":"identifier"}, - "eventTypeName":{"shape":"identifier"} + "eventTypeName":{"shape":"identifier"}, + "deleteAuditHistory":{"shape":"DeleteAuditHistory"} } }, "DeleteEventResult":{ @@ -1294,6 +1511,20 @@ "members":{ } }, + "DeleteEventsByEventTypeRequest":{ + "type":"structure", + "required":["eventTypeName"], + "members":{ + "eventTypeName":{"shape":"identifier"} + } + }, + "DeleteEventsByEventTypeResult":{ + "type":"structure", + "members":{ + "eventTypeName":{"shape":"identifier"}, + "eventsDeletionStatus":{"shape":"string"} + } + }, "DeleteExternalModelRequest":{ "type":"structure", "required":["modelEndpoint"], @@ -1455,7 +1686,7 @@ "DetectorVersionSummary":{ "type":"structure", "members":{ - "detectorVersionId":{"shape":"nonEmptyString"}, + "detectorVersionId":{"shape":"wholeNumberVersionString"}, "status":{"shape":"DetectorVersionStatus"}, "description":{"shape":"description"}, "lastUpdatedTime":{"shape":"time"} @@ -1479,7 +1710,7 @@ ], "members":{ "entityType":{"shape":"string"}, - "entityId":{"shape":"identifier"} + "entityId":{"shape":"entityRestrictedString"} }, "sensitive":true }, @@ -1493,6 +1724,30 @@ "arn":{"shape":"fraudDetectorArn"} } }, + "Event":{ + "type":"structure", + "members":{ + "eventId":{"shape":"string"}, + "eventTypeName":{"shape":"string"}, + "eventTimestamp":{"shape":"string"}, + "eventVariables":{"shape":"EventAttributeMap"}, + "currentLabel":{"shape":"string"}, + "labelTimestamp":{"shape":"string"}, + "entities":{"shape":"listOfEntities"} + } + }, + "EventAttributeMap":{ + "type":"map", + "key":{"shape":"attributeKey"}, + "value":{"shape":"attributeValue"} + }, + "EventIngestion":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, "EventType":{ "type":"structure", "members":{ @@ -1501,6 +1756,8 @@ "eventVariables":{"shape":"ListOfStrings"}, "labels":{"shape":"ListOfStrings"}, "entityTypes":{"shape":"NonEmptyListOfStrings"}, + "eventIngestion":{"shape":"EventIngestion"}, + "ingestedEventStatistics":{"shape":"IngestedEventStatistics"}, "lastUpdatedTime":{"shape":"time"}, "createdTime":{"shape":"time"}, "arn":{"shape":"fraudDetectorArn"} @@ -1540,7 +1797,7 @@ }, "ExternalModelEndpointDataBlobMap":{ "type":"map", - "key":{"shape":"string"}, + "key":{"shape":"sageMakerEndpointIdentifier"}, "value":{"shape":"ModelEndpointDataBlob"}, "sensitive":true }, @@ -1591,6 +1848,21 @@ "type":{"shape":"string"} } }, + "GetBatchImportJobsRequest":{ + "type":"structure", + "members":{ + "jobId":{"shape":"identifier"}, + "maxResults":{"shape":"batchImportsMaxPageSize"}, + "nextToken":{"shape":"string"} + } + }, + "GetBatchImportJobsResult":{ + "type":"structure", + "members":{ + "batchImports":{"shape":"BatchImportList"}, + "nextToken":{"shape":"string"} + } + }, "GetBatchPredictionJobsRequest":{ "type":"structure", "members":{ @@ -1606,6 +1878,20 @@ "nextToken":{"shape":"string"} } }, + "GetDeleteEventsByEventTypeStatusRequest":{ + "type":"structure", + "required":["eventTypeName"], + "members":{ + "eventTypeName":{"shape":"identifier"} + } + }, + "GetDeleteEventsByEventTypeStatusResult":{ + "type":"structure", + "members":{ + "eventTypeName":{"shape":"identifier"}, + "eventsDeletionStatus":{"shape":"AsyncJobStatus"} + } + }, "GetDetectorVersionRequest":{ "type":"structure", "required":[ @@ -1692,6 +1978,23 @@ "externalModelOutputs":{"shape":"ListOfExternalModelOutputs"} } }, + "GetEventRequest":{ + "type":"structure", + "required":[ + "eventId", + "eventTypeName" + ], + "members":{ + "eventId":{"shape":"string"}, + "eventTypeName":{"shape":"string"} + } + }, + "GetEventResult":{ + "type":"structure", + "members":{ + "event":{"shape":"Event"} + } + }, "GetEventTypesRequest":{ "type":"structure", "members":{ @@ -1765,6 +2068,7 @@ "trainingDataSource":{"shape":"TrainingDataSourceEnum"}, "trainingDataSchema":{"shape":"TrainingDataSchema"}, "externalEventsDetail":{"shape":"ExternalEventsDetail"}, + "ingestedEventsDetail":{"shape":"IngestedEventsDetail"}, "status":{"shape":"string"}, "arn":{"shape":"fraudDetectorArn"} } @@ -1833,6 +2137,34 @@ "nextToken":{"shape":"string"} } }, + "IngestedEventStatistics":{ + "type":"structure", + "members":{ + "numberOfEvents":{"shape":"Long"}, + "eventDataSizeInBytes":{"shape":"Long"}, + "leastRecentEvent":{"shape":"time"}, + "mostRecentEvent":{"shape":"time"}, + "lastUpdatedTime":{"shape":"time"} + } + }, + "IngestedEventsDetail":{ + "type":"structure", + "required":["ingestedEventsTimeWindow"], + "members":{ + "ingestedEventsTimeWindow":{"shape":"IngestedEventsTimeWindow"} + } + }, + "IngestedEventsTimeWindow":{ + "type":"structure", + "required":[ + "startTime", + "endTime" + ], + "members":{ + "startTime":{"shape":"time"}, + "endTime":{"shape":"time"} + } + }, "Integer":{"type":"integer"}, "InternalServerException":{ "type":"structure", @@ -1874,7 +2206,8 @@ "type":"structure", "required":["labelMapper"], "members":{ - "labelMapper":{"shape":"labelMapper"} + "labelMapper":{"shape":"labelMapper"}, + "unlabeledEventsTreatment":{"shape":"UnlabeledEventsTreatment"} } }, "Language":{ @@ -1934,6 +2267,7 @@ "variableImportance":{"shape":"float"} } }, + "Long":{"type":"long"}, "MetricDataPoint":{ "type":"structure", "members":{ @@ -1976,8 +2310,8 @@ "eventTypeName":{"shape":"identifier"}, "format":{"shape":"ModelInputDataFormat"}, "useEventVariables":{"shape":"UseEventVariables"}, - "jsonInputTemplate":{"shape":"string"}, - "csvInputTemplate":{"shape":"string"} + "jsonInputTemplate":{"shape":"modelInputTemplate"}, + "csvInputTemplate":{"shape":"modelInputTemplate"} } }, "ModelInputDataFormat":{ @@ -2021,7 +2355,10 @@ }, "ModelTypeEnum":{ "type":"string", - "enum":["ONLINE_FRAUD_INSIGHTS"] + "enum":[ + "ONLINE_FRAUD_INSIGHTS", + "TRANSACTION_FRAUD_INSIGHTS" + ] }, "ModelVersion":{ "type":"structure", @@ -2033,7 +2370,7 @@ "members":{ "modelId":{"shape":"modelIdentifier"}, "modelType":{"shape":"ModelTypeEnum"}, - "modelVersionNumber":{"shape":"nonEmptyString"}, + "modelVersionNumber":{"shape":"floatVersionString"}, "arn":{"shape":"fraudDetectorArn"} } }, @@ -2047,6 +2384,7 @@ "trainingDataSource":{"shape":"TrainingDataSourceEnum"}, "trainingDataSchema":{"shape":"TrainingDataSchema"}, "externalEventsDetail":{"shape":"ExternalEventsDetail"}, + "ingestedEventsDetail":{"shape":"IngestedEventsDetail"}, "trainingResult":{"shape":"TrainingResult"}, "lastUpdatedTime":{"shape":"time"}, "createdTime":{"shape":"time"}, @@ -2137,6 +2475,7 @@ "eventVariables":{"shape":"NonEmptyListOfStrings"}, "labels":{"shape":"ListOfStrings"}, "entityTypes":{"shape":"NonEmptyListOfStrings"}, + "eventIngestion":{"shape":"EventIngestion"}, "tags":{"shape":"tagList"} } }, @@ -2281,6 +2620,30 @@ "max":100, "min":50 }, + "SendEventRequest":{ + "type":"structure", + "required":[ + "eventId", + "eventTypeName", + "eventTimestamp", + "eventVariables", + "entities" + ], + "members":{ + "eventId":{"shape":"identifier"}, + "eventTypeName":{"shape":"identifier"}, + "eventTimestamp":{"shape":"utcTimestampISO8601"}, + "eventVariables":{"shape":"EventVariableMap"}, + "assignedLabel":{"shape":"identifier"}, + "labelTimestamp":{"shape":"utcTimestampISO8601"}, + "entities":{"shape":"listOfEntities"} + } + }, + "SendEventResult":{ + "type":"structure", + "members":{ + } + }, "Tag":{ "type":"structure", "required":[ @@ -2335,7 +2698,10 @@ }, "TrainingDataSourceEnum":{ "type":"string", - "enum":["EXTERNAL_EVENTS"] + "enum":[ + "EXTERNAL_EVENTS", + "INGESTED_EVENTS" + ] }, "TrainingMetrics":{ "type":"structure", @@ -2352,6 +2718,14 @@ "variableImportanceMetrics":{"shape":"VariableImportanceMetrics"} } }, + "UnlabeledEventsTreatment":{ + "type":"string", + "enum":[ + "IGNORE", + "FRAUD", + "LEGIT" + ] + }, "UntagResourceRequest":{ "type":"structure", "required":[ @@ -2427,6 +2801,26 @@ "members":{ } }, + "UpdateEventLabelRequest":{ + "type":"structure", + "required":[ + "eventId", + "eventTypeName", + "assignedLabel", + "labelTimestamp" + ], + "members":{ + "eventId":{"shape":"identifier"}, + "eventTypeName":{"shape":"identifier"}, + "assignedLabel":{"shape":"identifier"}, + "labelTimestamp":{"shape":"utcTimestampISO8601"} + } + }, + "UpdateEventLabelResult":{ + "type":"structure", + "members":{ + } + }, "UpdateModelRequest":{ "type":"structure", "required":[ @@ -2456,6 +2850,7 @@ "modelType":{"shape":"ModelTypeEnum"}, "majorVersionNumber":{"shape":"wholeNumberVersionString"}, "externalEventsDetail":{"shape":"ExternalEventsDetail"}, + "ingestedEventsDetail":{"shape":"IngestedEventsDetail"}, "tags":{"shape":"tagList"} } }, @@ -2598,6 +2993,23 @@ "max":100, "min":50 }, + "attributeKey":{ + "type":"string", + "max":64, + "min":1 + }, + "attributeValue":{ + "type":"string", + "max":256, + "min":1, + "sensitive":true + }, + "batchImportsMaxPageSize":{ + "type":"integer", + "box":true, + "max":50, + "min":1 + }, "batchPredictionsMaxPageSize":{ "type":"integer", "box":true, @@ -2615,6 +3027,12 @@ "max":128, "min":1 }, + "entityRestrictedString":{ + "type":"string", + "max":256, + "min":1, + "pattern":"^[0-9A-Za-z_.@+-]+$" + }, "entityTypeList":{ "type":"list", "member":{"shape":"EntityType"} @@ -2698,6 +3116,11 @@ "min":1, "pattern":"^[0-9a-z_]+$" }, + "modelInputTemplate":{ + "type":"string", + "max":2000, + "min":1 + }, "modelList":{ "type":"list", "member":{"shape":"Model"} @@ -2712,10 +3135,6 @@ "max":10, "min":1 }, - "nonEmptyString":{ - "type":"string", - "min":1 - }, "ruleExpression":{ "type":"string", "max":4096, diff --git a/models/apis/frauddetector/2019-11-15/docs-2.json b/models/apis/frauddetector/2019-11-15/docs-2.json index 2aa6b634ea..b78c4c092f 100644 --- a/models/apis/frauddetector/2019-11-15/docs-2.json +++ b/models/apis/frauddetector/2019-11-15/docs-2.json @@ -4,19 +4,23 @@ "operations": { "BatchCreateVariable": "

Creates a batch of variables.

", "BatchGetVariable": "

Gets a batch of variables.

", + "CancelBatchImportJob": "

Cancels an in-progress batch import job.

", "CancelBatchPredictionJob": "

Cancels the specified batch prediction job.

", + "CreateBatchImportJob": "

Creates a batch import job.

", "CreateBatchPredictionJob": "

Creates a batch prediction job.

", "CreateDetectorVersion": "

Creates a detector version. The detector version starts in a DRAFT status.

", "CreateModel": "

Creates a model using the specified model type.

", "CreateModelVersion": "

Creates a version of the model using the specified model type and model id.

", "CreateRule": "

Creates a rule for use with the specified detector.

", "CreateVariable": "

Creates a variable.

", + "DeleteBatchImportJob": "

Deletes data that was batch imported to Amazon Fraud Detector.

", "DeleteBatchPredictionJob": "

Deletes a batch prediction job.

", "DeleteDetector": "

Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.

When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.

", "DeleteDetectorVersion": "

Deletes the detector version. You cannot delete detector versions that are in ACTIVE status.

When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.

", "DeleteEntityType": "

Deletes an entity type.

You cannot delete an entity type that is included in an event type.

When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.

", "DeleteEvent": "

Deletes the specified event.

When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector.

", - "DeleteEventType": "

Deletes an event type.

You cannot delete an event type that is used in a detector or a model.

When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.

", + "DeleteEventType": "

Deletes an event type.

You cannot delete an event type that is used in a detector or a model.

When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.

", + "DeleteEventsByEventType": "

Deletes all events of a particular event type.

", "DeleteExternalModel": "

Removes a SageMaker model from Amazon Fraud Detector.

You can remove an Amazon SageMaker model if it is not associated with a detector version. Removing a SageMaker model disconnects it from Amazon Fraud Detector, but the model remains available in SageMaker.

", "DeleteLabel": "

Deletes a label.

You cannot delete labels that are included in an event type in Amazon Fraud Detector.

You cannot delete a label assigned to an event ID. You must first delete the relevant event ID.

When you delete a label, Amazon Fraud Detector permanently deletes that label and the data is no longer stored in Amazon Fraud Detector.

", "DeleteModel": "

Deletes a model.

You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.

When you delete a model, Amazon Fraud Detector permanently deletes that model and the data is no longer stored in Amazon Fraud Detector.

", @@ -26,14 +30,17 @@ "DeleteVariable": "

Deletes a variable.

You can't delete variables that are included in an event type in Amazon Fraud Detector.

Amazon Fraud Detector automatically deletes model output variables and SageMaker model output variables when you delete the model. You can't delete these variables manually.

When you delete a variable, Amazon Fraud Detector permanently deletes that variable and the data is no longer stored in Amazon Fraud Detector.

", "DescribeDetector": "

Gets all versions for a specified detector.

", "DescribeModelVersions": "

Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version.

", + "GetBatchImportJobs": "

Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchImportJobsResponse as part of your request. A null pagination token fetches the records from the beginning.

", "GetBatchPredictionJobs": "

Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.

", + "GetDeleteEventsByEventTypeStatus": "

Retrieves the status of a DeleteEventsByEventType action.

", "GetDetectorVersion": "

Gets a particular detector version.

", "GetDetectors": "

Gets all detectors or a single detector if a detectorId is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetDetectorsResponse as part of your request. A null pagination token fetches the records from the beginning.

", "GetEntityTypes": "

Gets all entity types or a specific entity type if a name is specified. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEntityTypesResponse as part of your request. A null pagination token fetches the records from the beginning.

", + "GetEvent": "

Retrieves details of events stored with Amazon Fraud Detector. This action does not retrieve prediction results.

", "GetEventPrediction": "

Evaluates an event against a detector version. If a version ID is not provided, the detector’s (ACTIVE) version is used.

", "GetEventTypes": "

Gets all event types or a specific event type if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse as part of your request. A null pagination token fetches the records from the beginning.

", "GetExternalModels": "

Gets the details for one or more Amazon SageMaker models that have been imported into the service. This is a paginated API. If you provide a null maxResults, this actions retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetExternalModelsResult as part of your request. A null pagination token fetches the records from the beginning.

", - "GetKMSEncryptionKey": "

Gets the encryption key if a Key Management Service (KMS) customer master key (CMK) has been specified to be used to encrypt content in Amazon Fraud Detector.

", + "GetKMSEncryptionKey": "

Gets the encryption key if a KMS key has been specified to be used to encrypt content in Amazon Fraud Detector.

", "GetLabels": "

Gets all labels or a specific label if name is provided. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 10 and 50. To get the next page results, provide the pagination token from the GetGetLabelsResponse as part of your request. A null pagination token fetches the records from the beginning.

", "GetModelVersion": "

Gets the details of the specified model version.

", "GetModels": "

Gets one or more models. Gets all models for the Amazon Web Services account if no model type and no model id provided. Gets all models for the Amazon Web Services account and model type, if the model type is specified but model id is not provided. Gets a specific model if (model type, model id) tuple is specified.

This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 10 records per page. If you provide a maxResults, the value must be between 1 and 10. To get the next page results, provide the pagination token from the response as part of your request. A null pagination token fetches the records from the beginning.

", @@ -45,17 +52,19 @@ "PutEntityType": "

Creates or updates an entity type. An entity represents who is performing the event. As part of a fraud prediction, you pass the entity ID to indicate the specific entity who performed the event. An entity type classifies the entity. Example classifications include customer, merchant, or account.

", "PutEventType": "

Creates or updates an event type. An event is a business activity that is evaluated for fraud risk. With Amazon Fraud Detector, you generate fraud predictions for events. An event type defines the structure for an event sent to Amazon Fraud Detector. This includes the variables sent as part of the event, the entity performing the event (such as a customer), and the labels that classify the event. Example event types include online payment transactions, account registrations, and authentications.

", "PutExternalModel": "

Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables.

", - "PutKMSEncryptionKey": "

Specifies the Key Management Service (KMS) customer master key (CMK) to be used to encrypt content in Amazon Fraud Detector.

", + "PutKMSEncryptionKey": "

Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector.

", "PutLabel": "

Creates or updates label. A label classifies an event as fraudulent or legitimate. Labels are associated with event types and used to train supervised machine learning models in Amazon Fraud Detector.

", "PutOutcome": "

Creates or updates an outcome.

", + "SendEvent": "

Stores events in Amazon Fraud Detector without generating fraud predictions for those events. For example, you can use SendEvent to upload a historical dataset, which you can then later use to train a model.

", "TagResource": "

Assigns tags to a resource.

", "UntagResource": "

Removes tags from a resource.

", "UpdateDetectorVersion": "

Updates a detector version. The detector version attributes that you can update include models, external model endpoints, rules, rule execution mode, and description. You can only update a DRAFT detector version.

", "UpdateDetectorVersionMetadata": "

Updates the detector version's description. You can update the metadata for any detector version (DRAFT, ACTIVE, or INACTIVE).

", "UpdateDetectorVersionStatus": "

Updates the detector version’s status. You can perform the following promotions or demotions using UpdateDetectorVersionStatus: DRAFT to ACTIVE, ACTIVE to INACTIVE, and INACTIVE to ACTIVE.

", - "UpdateModel": "

Updates a model. You can update the description attribute using this action.

", + "UpdateEventLabel": "

Updates the specified event with a new label.

", + "UpdateModel": "

Updates model description.

", "UpdateModelVersion": "

Updates a model version. Updating a model version retrains an existing model version using updated training data and produces a new minor version of the model. You can update the training data set location and data access role attributes using this action. This action creates and trains a new minor version of the model, for example version 1.01, 1.02, 1.03.

", - "UpdateModelVersionStatus": "

Updates the status of a model version.

You can perform the following status updates:

  1. Change the TRAINING_COMPLETE status to ACTIVE.

  2. Change ACTIVEto INACTIVE.

", + "UpdateModelVersionStatus": "

Updates the status of a model version.

You can perform the following status updates:

  1. Change the TRAINING_COMPLETE status to ACTIVE.

  2. Change ACTIVE to INACTIVE.

", "UpdateRuleMetadata": "

Updates a rule's metadata. The description attribute can be updated.

", "UpdateRuleVersion": "

Updates a rule version resulting in a new rule version. Updates a rule version resulting in a new rule version (version 1, 2, 3 ...).

", "UpdateVariable": "

Updates a variable.

" @@ -69,7 +78,9 @@ "AsyncJobStatus": { "base": null, "refs": { - "BatchPrediction$status": "

The batch prediction status.

" + "BatchImport$status": "

The status of the batch import job.

", + "BatchPrediction$status": "

The batch prediction status.

", + "GetDeleteEventsByEventTypeStatusResult$eventsDeletionStatus": "

The deletion status.

" } }, "BatchCreateVariableError": { @@ -116,6 +127,18 @@ "refs": { } }, + "BatchImport": { + "base": "

The batch import job details.

", + "refs": { + "BatchImportList$member": null + } + }, + "BatchImportList": { + "base": null, + "refs": { + "GetBatchImportJobsResult$batchImports": "

An array containing the details of each batch import job.

" + } + }, "BatchPrediction": { "base": "

The batch prediction details.

", "refs": { @@ -128,6 +151,16 @@ "GetBatchPredictionJobsResult$batchPredictions": "

An array containing the details of each batch prediction job.

" } }, + "CancelBatchImportJobRequest": { + "base": null, + "refs": { + } + }, + "CancelBatchImportJobResult": { + "base": null, + "refs": { + } + }, "CancelBatchPredictionJobRequest": { "base": null, "refs": { @@ -139,7 +172,17 @@ } }, "ConflictException": { - "base": "

An exception indicating there was a conflict during a delete operation. The following delete operations can cause a conflict exception:

", + "base": "

An exception indicating there was a conflict during a delete operation.

", + "refs": { + } + }, + "CreateBatchImportJobRequest": { + "base": null, + "refs": { + } + }, + "CreateBatchImportJobResult": { + "base": null, "refs": { } }, @@ -229,6 +272,22 @@ "TrainingResult$dataValidationMetrics": "

The validation metrics.

" } }, + "DeleteAuditHistory": { + "base": null, + "refs": { + "DeleteEventRequest$deleteAuditHistory": "

Specifies whether or not to delete any predictions associated with the event.

" + } + }, + "DeleteBatchImportJobRequest": { + "base": null, + "refs": { + } + }, + "DeleteBatchImportJobResult": { + "base": null, + "refs": { + } + }, "DeleteBatchPredictionJobRequest": { "base": null, "refs": { @@ -289,6 +348,16 @@ "refs": { } }, + "DeleteEventsByEventTypeRequest": { + "base": null, + "refs": { + } + }, + "DeleteEventsByEventTypeResult": { + "base": null, + "refs": { + } + }, "DeleteExternalModelRequest": { "base": null, "refs": { @@ -436,6 +505,25 @@ "entityTypeList$member": null } }, + "Event": { + "base": "

The event details.

", + "refs": { + "GetEventResult$event": "

The details of the event.

" + } + }, + "EventAttributeMap": { + "base": null, + "refs": { + "Event$eventVariables": "

Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

" + } + }, + "EventIngestion": { + "base": null, + "refs": { + "EventType$eventIngestion": "

If Enabled, Amazon Fraud Detector stores event data when you generate a prediction and uses that data to update calculated variables in near real-time. Amazon Fraud Detector uses this data, known as INGESTED_EVENTS, to train your model and improve fraud predictions.

", + "PutEventTypeRequest$eventIngestion": "

Specifies if ingenstion is enabled or disabled.

" + } + }, "EventType": { "base": "

The event type details.

", "refs": { @@ -445,16 +533,17 @@ "EventVariableMap": { "base": null, "refs": { - "GetEventPredictionRequest$eventVariables": "

Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

To ensure highest possible fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:

For Amazon Fraud Detector trained models:

If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.

For External models ( for example, imported SageMaker):

If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.

" + "GetEventPredictionRequest$eventVariables": "

Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

You must provide at least one eventVariable

To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:

For Amazon Fraud Detector trained models:

If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.

For imported SageMaker models:

If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.

", + "SendEventRequest$eventVariables": "

Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

" } }, "ExternalEventsDetail": { "base": "

Details for the external events data used for model version training.

", "refs": { - "CreateModelVersionRequest$externalEventsDetail": "

Details for the external events data used for model version training. Required if trainingDataSource is EXTERNAL_EVENTS.

", - "GetModelVersionResult$externalEventsDetail": "

The event details.

", - "ModelVersionDetail$externalEventsDetail": "

The event details.

", - "UpdateModelVersionRequest$externalEventsDetail": "

The event details.

" + "CreateModelVersionRequest$externalEventsDetail": "

Details of the external events data used for model version training. Required if trainingDataSource is EXTERNAL_EVENTS.

", + "GetModelVersionResult$externalEventsDetail": "

The details of the external events data used for training the model version. This will be populated if the trainingDataSource is EXTERNAL_EVENTS

", + "ModelVersionDetail$externalEventsDetail": "

The external events data details. This will be populated if the trainingDataSource for the model version is specified as EXTERNAL_EVENTS.

", + "UpdateModelVersionRequest$externalEventsDetail": "

The details of the external events data used for training the model version. Required if trainingDataSource is EXTERNAL_EVENTS.

" } }, "ExternalModel": { @@ -511,6 +600,16 @@ "fileValidationMessageList$member": null } }, + "GetBatchImportJobsRequest": { + "base": null, + "refs": { + } + }, + "GetBatchImportJobsResult": { + "base": null, + "refs": { + } + }, "GetBatchPredictionJobsRequest": { "base": null, "refs": { @@ -521,6 +620,16 @@ "refs": { } }, + "GetDeleteEventsByEventTypeStatusRequest": { + "base": null, + "refs": { + } + }, + "GetDeleteEventsByEventTypeStatusResult": { + "base": null, + "refs": { + } + }, "GetDetectorVersionRequest": { "base": null, "refs": { @@ -561,6 +670,16 @@ "refs": { } }, + "GetEventRequest": { + "base": null, + "refs": { + } + }, + "GetEventResult": { + "base": null, + "refs": { + } + }, "GetEventTypesRequest": { "base": null, "refs": { @@ -646,9 +765,33 @@ "refs": { } }, + "IngestedEventStatistics": { + "base": "

Data about the stored events.

", + "refs": { + "EventType$ingestedEventStatistics": "

Data about the stored events.

" + } + }, + "IngestedEventsDetail": { + "base": "

The details of the ingested event.

", + "refs": { + "CreateModelVersionRequest$ingestedEventsDetail": "

Details of the ingested events data used for model version training. Required if trainingDataSource is INGESTED_EVENTS.

", + "GetModelVersionResult$ingestedEventsDetail": "

The details of the ingested events data used for training the model version. This will be populated if the trainingDataSource is INGESTED_EVENTS.

", + "ModelVersionDetail$ingestedEventsDetail": "

The ingested events data details. This will be populated if the trainingDataSource for the model version is specified as INGESTED_EVENTS.

", + "UpdateModelVersionRequest$ingestedEventsDetail": "

The details of the ingested event used for training the model version. Required if your trainingDataSource is INGESTED_EVENTS.

" + } + }, + "IngestedEventsTimeWindow": { + "base": "

The start and stop time of the ingested events.

", + "refs": { + "IngestedEventsDetail$ingestedEventsTimeWindow": "

The start and stop time of the ingested events.

" + } + }, "Integer": { "base": null, "refs": { + "BatchImport$processedRecordsCount": "

The number of records processed by batch import job.

", + "BatchImport$failedRecordsCount": "

The number of records that failed to import.

", + "BatchImport$totalRecordsCount": "

The total number of records in the batch import job.

", "BatchPrediction$processedRecordsCount": "

The number of records processed by the batch prediction job.

", "BatchPrediction$totalRecordsCount": "

The total number of records in the batch prediction job.

" } @@ -758,6 +901,13 @@ "ListOfLogOddsMetrics$member": null } }, + "Long": { + "base": null, + "refs": { + "IngestedEventStatistics$numberOfEvents": "

The number of stored events.

", + "IngestedEventStatistics$eventDataSizeInBytes": "

The total size of the stored events.

" + } + }, "MetricDataPoint": { "base": "

Model performance metrics data points.

", "refs": { @@ -976,12 +1126,12 @@ } }, "ResourceNotFoundException": { - "base": "

An exception indicating the specified resource was not found. This can occur if you submit a request, such as CreateBatchPredictionJob, but the detector name or version does not exist.

", + "base": "

An exception indicating the specified resource was not found.

", "refs": { } }, "ResourceUnavailableException": { - "base": "

An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model.

", + "base": "

An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model.

", "refs": { } }, @@ -1036,6 +1186,16 @@ "GetRulesRequest$maxResults": "

The maximum number of rules to return for the request.

" } }, + "SendEventRequest": { + "base": null, + "refs": { + } + }, + "SendEventResult": { + "base": null, + "refs": { + } + }, "Tag": { "base": "

A key and value pair.

", "refs": { @@ -1091,6 +1251,12 @@ "ModelVersionDetail$trainingResult": "

The training results.

" } }, + "UnlabeledEventsTreatment": { + "base": null, + "refs": { + "LabelSchema$unlabeledEventsTreatment": "

The action to take for unlabeled events.

" + } + }, "UntagResourceRequest": { "base": null, "refs": { @@ -1131,6 +1297,16 @@ "refs": { } }, + "UpdateEventLabelRequest": { + "base": null, + "refs": { + } + }, + "UpdateEventLabelResult": { + "base": null, + "refs": { + } + }, "UpdateModelRequest": { "base": null, "refs": { @@ -1239,6 +1415,24 @@ "GetVariablesRequest$maxResults": "

The max size per page determined for the get variable request.

" } }, + "attributeKey": { + "base": null, + "refs": { + "EventAttributeMap$key": null + } + }, + "attributeValue": { + "base": null, + "refs": { + "EventAttributeMap$value": null + } + }, + "batchImportsMaxPageSize": { + "base": null, + "refs": { + "GetBatchImportJobsRequest$maxResults": "

The maximum number of objects to return for request.

" + } + }, "batchPredictionsMaxPageSize": { "base": null, "refs": { @@ -1284,6 +1478,12 @@ "UpdateRuleVersionRequest$description": "

The description.

" } }, + "entityRestrictedString": { + "base": null, + "refs": { + "Entity$entityId": "

The entity ID. If you do not know the entityId, you can pass unknown, which is areserved string literal.

" + } + }, "entityTypeList": { "base": null, "refs": { @@ -1336,10 +1536,12 @@ "base": null, "refs": { "BatchPrediction$detectorVersion": "

The detector version.

", + "CreateModelVersionResult$modelVersionNumber": "

The model version number of the model version created.

", "DeleteModelVersionRequest$modelVersionNumber": "

The model version number of the model version to delete.

", "DescribeModelVersionsRequest$modelVersionNumber": "

The model version number.

", "GetModelVersionRequest$modelVersionNumber": "

The model version number.

", "GetModelVersionResult$modelVersionNumber": "

The model version number.

", + "ModelVersion$modelVersionNumber": "

The model version number.

", "ModelVersionDetail$modelVersionNumber": "

The model version number.

", "UpdateModelVersionResult$modelVersionNumber": "

The model version number of the model version updated.

", "UpdateModelVersionStatusRequest$modelVersionNumber": "

The model version number.

" @@ -1348,6 +1550,7 @@ "fraudDetectorArn": { "base": null, "refs": { + "BatchImport$arn": "

The ARN of the batch import job.

", "BatchPrediction$arn": "

The ARN of batch prediction job.

", "DescribeDetectorResult$arn": "

The detector ARN.

", "Detector$arn": "

The detector ARN.

", @@ -1371,7 +1574,9 @@ "iamRoleArn": { "base": null, "refs": { + "BatchImport$iamRoleArn": "

The ARN of the IAM role to use for this job request.

", "BatchPrediction$iamRoleArn": "

The ARN of the IAM role to use for this job request.

", + "CreateBatchImportJobRequest$iamRoleArn": "

The ARN of the IAM role created for Amazon S3 bucket that holds your data file. The IAM role must have read and write permissions to both input and output S3 buckets.

", "CreateBatchPredictionJobRequest$iamRoleArn": "

The ARN of the IAM role to use for this job request.

", "ExternalEventsDetail$dataAccessRoleArn": "

The ARN of the role that provides Amazon Fraud Detector access to the data location.

" } @@ -1379,10 +1584,15 @@ "identifier": { "base": null, "refs": { + "BatchImport$jobId": "

The ID of the batch import job.

", + "BatchImport$eventTypeName": "

The name of the event type.

", "BatchPrediction$jobId": "

The job ID for the batch prediction.

", "BatchPrediction$eventTypeName": "

The name of the event type.

", "BatchPrediction$detectorName": "

The name of the detector.

", + "CancelBatchImportJobRequest$jobId": "

The ID of an in-progress batch import job to cancel.

Amazon Fraud Detector will throw an error if the batch import job is in FAILED, CANCELED, or COMPLETED state.

", "CancelBatchPredictionJobRequest$jobId": "

The ID of the batch prediction job to cancel.

", + "CreateBatchImportJobRequest$jobId": "

The ID of the batch import job. The ID cannot be of a past job, unless the job exists in CREATE_FAILED state.

", + "CreateBatchImportJobRequest$eventTypeName": "

The name of the event type.

", "CreateBatchPredictionJobRequest$jobId": "

The ID of the batch prediction job.

", "CreateBatchPredictionJobRequest$eventTypeName": "

The name of the event type.

", "CreateBatchPredictionJobRequest$detectorName": "

The name of the detector.

", @@ -1390,6 +1600,7 @@ "CreateDetectorVersionResult$detectorId": "

The ID for the created version's parent detector.

", "CreateRuleRequest$ruleId": "

The rule ID.

", "CreateRuleRequest$detectorId": "

The detector ID for the rule's parent detector.

", + "DeleteBatchImportJobRequest$jobId": "

The ID of the batch import job to delete.

", "DeleteBatchPredictionJobRequest$jobId": "

The ID of the batch prediction job to delete.

", "DeleteDetectorRequest$detectorId": "

The ID of the detector to delete.

", "DeleteDetectorVersionRequest$detectorId": "

The ID of the parent detector for the detector version to delete.

", @@ -1397,14 +1608,18 @@ "DeleteEventRequest$eventId": "

The ID of the event to delete.

", "DeleteEventRequest$eventTypeName": "

The name of the event type.

", "DeleteEventTypeRequest$name": "

The name of the event type to delete.

", + "DeleteEventsByEventTypeRequest$eventTypeName": "

The name of the event type.

", + "DeleteEventsByEventTypeResult$eventTypeName": "

Name of event type for which to delete the events.

", "DeleteLabelRequest$name": "

The name of the label to delete.

", "DeleteOutcomeRequest$name": "

The name of the outcome to delete.

", "DescribeDetectorRequest$detectorId": "

The detector ID.

", "DescribeDetectorResult$detectorId": "

The detector ID.

", "Detector$detectorId": "

The detector ID.

", "Detector$eventTypeName": "

The name of the event type.

", - "Entity$entityId": "

The entity ID. If you do not know the entityId, you can pass unknown, which is areserved string literal.

", + "GetBatchImportJobsRequest$jobId": "

The ID of the batch import job to get.

", "GetBatchPredictionJobsRequest$jobId": "

The batch prediction job for which to get the details.

", + "GetDeleteEventsByEventTypeStatusRequest$eventTypeName": "

Name of event type for which to get the deletion status.

", + "GetDeleteEventsByEventTypeStatusResult$eventTypeName": "

The event type name.

", "GetDetectorVersionRequest$detectorId": "

The detector ID.

", "GetDetectorVersionResult$detectorId": "

The detector ID.

", "GetDetectorsRequest$detectorId": "

The detector ID.

", @@ -1426,9 +1641,15 @@ "Rule$ruleId": "

The rule ID.

", "RuleDetail$ruleId": "

The rule ID.

", "RuleDetail$detectorId": "

The detector for which the rule is associated.

", + "SendEventRequest$eventId": "

The event ID to upload.

", + "SendEventRequest$eventTypeName": "

The event type name of the event.

", + "SendEventRequest$assignedLabel": "

The label to associate with the event. Required if specifying labelTimestamp.

", "UpdateDetectorVersionMetadataRequest$detectorId": "

The detector ID.

", "UpdateDetectorVersionRequest$detectorId": "

The parent detector ID for the detector version you want to update.

", - "UpdateDetectorVersionStatusRequest$detectorId": "

The detector ID.

" + "UpdateDetectorVersionStatusRequest$detectorId": "

The detector ID.

", + "UpdateEventLabelRequest$eventId": "

The ID of the event associated with the label to update.

", + "UpdateEventLabelRequest$eventTypeName": "

The event type of the event associated with the label to update.

", + "UpdateEventLabelRequest$assignedLabel": "

The new label to assign to the event.

" } }, "integer": { @@ -1459,7 +1680,9 @@ "listOfEntities": { "base": null, "refs": { - "GetEventPredictionRequest$entities": "

The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use \"UNKNOWN.\"

" + "Event$entities": "

The event entities.

", + "GetEventPredictionRequest$entities": "

The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use \"UNKNOWN.\"

", + "SendEventRequest$entities": "

An array of entities.

" } }, "metricDataPointsList": { @@ -1489,6 +1712,13 @@ "UpdateModelVersionStatusRequest$modelId": "

The model ID of the model version to update.

" } }, + "modelInputTemplate": { + "base": null, + "refs": { + "ModelInputConfiguration$jsonInputTemplate": "

Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for variable names in the template will be replaced with the variable values before being sent to SageMaker.

", + "ModelInputConfiguration$csvInputTemplate": "

Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for variable-names in the template will be replaced with the variable values before being sent to SageMaker.

" + } + }, "modelList": { "base": null, "refs": { @@ -1508,15 +1738,6 @@ "GetModelsRequest$maxResults": "

The maximum number of objects to return for the request.

" } }, - "nonEmptyString": { - "base": null, - "refs": { - "CreateDetectorVersionResult$detectorVersionId": "

The ID for the created detector.

", - "CreateModelVersionResult$modelVersionNumber": "

The model version number of the model version created.

", - "DetectorVersionSummary$detectorVersionId": "

The detector version ID.

", - "ModelVersion$modelVersionNumber": "

The model version number.

" - } - }, "ruleExpression": { "base": null, "refs": { @@ -1528,8 +1749,12 @@ "s3BucketLocation": { "base": null, "refs": { + "BatchImport$inputPath": "

The Amazon S3 location of your data file for batch import.

", + "BatchImport$outputPath": "

The Amazon S3 location of your output file.

", "BatchPrediction$inputPath": "

The Amazon S3 location of your training file.

", "BatchPrediction$outputPath": "

The Amazon S3 location of your output file.

", + "CreateBatchImportJobRequest$inputPath": "

The URI that points to the Amazon S3 location of your data file.

", + "CreateBatchImportJobRequest$outputPath": "

The URI that points to the Amazon S3 location for storing your results.

", "CreateBatchPredictionJobRequest$inputPath": "

The Amazon S3 location of your training file.

", "CreateBatchPredictionJobRequest$outputPath": "

The Amazon S3 location of your output file.

", "ExternalEventsDetail$dataLocation": "

The Amazon S3 bucket location for the data.

" @@ -1539,6 +1764,7 @@ "base": null, "refs": { "DeleteExternalModelRequest$modelEndpoint": "

The endpoint of the Amazon Sagemaker model to delete.

", + "ExternalModelEndpointDataBlobMap$key": null, "PutExternalModelRequest$modelEndpoint": "

The model endpoints name.

" } }, @@ -1550,6 +1776,7 @@ "BatchCreateVariableError$message": "

The error message.

", "BatchGetVariableError$name": "

The error name.

", "BatchGetVariableError$message": "

The error message.

", + "BatchImport$failureReason": "

The reason batch import job failed.

", "BatchPrediction$failureReason": "

The reason a batch prediction job failed.

", "ConflictException$message": null, "CreateModelRequest$eventTypeName": "

The name of the event type.

", @@ -1560,6 +1787,7 @@ "CreateVariableRequest$variableType": "

The variable type. For more information see Variable types.

Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT

", "CsvIndexToVariableMap$key": null, "CsvIndexToVariableMap$value": null, + "DeleteEventsByEventTypeResult$eventsDeletionStatus": "

The status of the delete request.

", "DeleteVariableRequest$name": "

The name of the variable to delete.

", "DescribeDetectorRequest$nextToken": "

The next token from the previous response.

", "DescribeDetectorResult$nextToken": "

The next token to be used for subsequent requests.

", @@ -1567,10 +1795,14 @@ "DescribeModelVersionsResult$nextToken": "

The next token.

", "Entity$entityType": "

The entity type.

", "EntityType$name": "

The entity type name.

", + "Event$eventId": "

The event ID.

", + "Event$eventTypeName": "

The event type.

", + "Event$eventTimestamp": "

The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

", + "Event$currentLabel": "

The label associated with the event.

", + "Event$labelTimestamp": "

The timestamp associated with the label to update. The timestamp must be specified using ISO 8601 standard in UTC.

", "EventType$name": "

The event type name.

", "ExternalModel$modelEndpoint": "

The Amazon SageMaker model endpoints.

", "ExternalModel$invokeModelEndpointRoleArn": "

The role used to invoke the model.

", - "ExternalModelEndpointDataBlobMap$key": null, "ExternalModelPredictionMap$key": null, "ExternalModelPredictionMap$value": null, "ExternalModelSummary$modelEndpoint": "

The endpoint of the Amazon SageMaker model.

", @@ -1582,6 +1814,8 @@ "FileValidationMessage$title": "

The message title.

", "FileValidationMessage$content": "

The message content.

", "FileValidationMessage$type": "

The message type.

", + "GetBatchImportJobsRequest$nextToken": "

The next token from the previous request.

", + "GetBatchImportJobsResult$nextToken": "

The next token for the subsequent resquest.

", "GetBatchPredictionJobsRequest$nextToken": "

The next token from the previous request.

", "GetBatchPredictionJobsResult$nextToken": "

The next token for the subsequent request.

", "GetDetectorsRequest$nextToken": "

The next token for the subsequent request.

", @@ -1591,6 +1825,8 @@ "GetEventPredictionRequest$detectorId": "

The detector ID.

", "GetEventPredictionRequest$eventId": "

The unique ID used to identify the event.

", "GetEventPredictionRequest$eventTypeName": "

The event type associated with the detector specified for the prediction.

", + "GetEventRequest$eventId": "

The ID of the event to retrieve.

", + "GetEventRequest$eventTypeName": "

The event type of the event to retrieve.

", "GetEventTypesRequest$nextToken": "

The next token for the subsequent request.

", "GetEventTypesResult$nextToken": "

The next page token.

", "GetExternalModelsRequest$modelEndpoint": "

The Amazon SageMaker model endpoint.

", @@ -1618,8 +1854,6 @@ "LogOddsMetric$variableName": "

The name of the variable.

", "LogOddsMetric$variableType": "

The type of variable.

", "Model$eventTypeName": "

The name of the event type.

", - "ModelInputConfiguration$jsonInputTemplate": "

Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for variable names in the template will be replaced with the variable values before being sent to SageMaker.

", - "ModelInputConfiguration$csvInputTemplate": "

Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for variable-names in the template will be replaced with the variable values before being sent to SageMaker.

", "ModelPredictionMap$key": null, "ModelVersionDetail$status": "

The status of the model version.

", "NameList$member": null, @@ -1665,6 +1899,7 @@ "base": null, "refs": { "BatchCreateVariableRequest$tags": "

A collection of key and value pairs.

", + "CreateBatchImportJobRequest$tags": "

A collection of key-value pairs associated with this request.

", "CreateBatchPredictionJobRequest$tags": "

A collection of key and value pairs.

", "CreateDetectorVersionRequest$tags": "

A collection of key and value pairs.

", "CreateModelRequest$tags": "

A collection of key and value pairs.

", @@ -1692,8 +1927,10 @@ "time": { "base": null, "refs": { + "BatchImport$startTime": "

Timestamp of when the batch import job started.

", + "BatchImport$completionTime": "

Timestamp of when batch import job completed.

", "BatchPrediction$startTime": "

Timestamp of when the batch prediction job started.

", - "BatchPrediction$completionTime": "

Timestamp of when the batch prediction job comleted.

", + "BatchPrediction$completionTime": "

Timestamp of when the batch prediction job completed.

", "BatchPrediction$lastHeartbeatTime": "

Timestamp of most recent heartbeat indicating the batch prediction job was making progress.

", "Detector$lastUpdatedTime": "

Timestamp of when the detector was last updated.

", "Detector$createdTime": "

Timestamp of when the detector was created.

", @@ -1706,6 +1943,11 @@ "ExternalModel$createdTime": "

Timestamp of when the model was last created.

", "GetDetectorVersionResult$lastUpdatedTime": "

The timestamp when the detector version was last updated.

", "GetDetectorVersionResult$createdTime": "

The timestamp when the detector version was created.

", + "IngestedEventStatistics$leastRecentEvent": "

The oldest stored event.

", + "IngestedEventStatistics$mostRecentEvent": "

The newest stored event.

", + "IngestedEventStatistics$lastUpdatedTime": "

Timestamp of when the stored event was last updated.

", + "IngestedEventsTimeWindow$startTime": "

Timestamp of the first ingensted event.

", + "IngestedEventsTimeWindow$endTime": "

Timestamp of the final ingested event.

", "Label$lastUpdatedTime": "

Timestamp of when the label was last updated.

", "Label$createdTime": "

Timestamp of when the event type was created.

", "Model$createdTime": "

Timestamp of when the model was created.

", @@ -1723,7 +1965,10 @@ "utcTimestampISO8601": { "base": null, "refs": { - "GetEventPredictionRequest$eventTimestamp": "

Timestamp that defines when the event under evaluation occurred.

" + "GetEventPredictionRequest$eventTimestamp": "

Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

", + "SendEventRequest$eventTimestamp": "

The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

", + "SendEventRequest$labelTimestamp": "

The timestamp associated with the label. Required if specifying assignedLabel.

", + "UpdateEventLabelRequest$labelTimestamp": "

The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.

" } }, "variableName": { @@ -1742,7 +1987,9 @@ "base": null, "refs": { "CreateBatchPredictionJobRequest$detectorVersion": "

The detector version.

", + "CreateDetectorVersionResult$detectorVersionId": "

The ID for the created detector.

", "DeleteDetectorVersionRequest$detectorVersionId": "

The ID of the detector version to delete.

", + "DetectorVersionSummary$detectorVersionId": "

The detector version ID.

", "GetDetectorVersionRequest$detectorVersionId": "

The detector version ID.

", "GetDetectorVersionResult$detectorVersionId": "

The detector version ID.

", "GetEventPredictionRequest$detectorVersionId": "

The detector version ID.

", diff --git a/models/apis/frauddetector/2019-11-15/paginators-1.json b/models/apis/frauddetector/2019-11-15/paginators-1.json index b67febd1c2..cf1e320513 100644 --- a/models/apis/frauddetector/2019-11-15/paginators-1.json +++ b/models/apis/frauddetector/2019-11-15/paginators-1.json @@ -5,6 +5,11 @@ "output_token": "nextToken", "limit_key": "maxResults" }, + "GetBatchImportJobs": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults" + }, "GetBatchPredictionJobs": { "input_token": "nextToken", "output_token": "nextToken", diff --git a/models/apis/medialive/2017-10-14/api-2.json b/models/apis/medialive/2017-10-14/api-2.json index 5680ea2a43..828c9a0a9e 100644 --- a/models/apis/medialive/2017-10-14/api-2.json +++ b/models/apis/medialive/2017-10-14/api-2.json @@ -258,6 +258,46 @@ } ] }, + "ClaimDevice": { + "name": "ClaimDevice", + "http": { + "method": "POST", + "requestUri": "/prod/claimDevice", + "responseCode": 200 + }, + "input": { + "shape": "ClaimDeviceRequest" + }, + "output": { + "shape": "ClaimDeviceResponse" + }, + "errors": [ + { + "shape": "BadRequestException" + }, + { + "shape": "UnprocessableEntityException" + }, + { + "shape": "InternalServerErrorException" + }, + { + "shape": "ForbiddenException" + }, + { + "shape": "BadGatewayException" + }, + { + "shape": "NotFoundException" + }, + { + "shape": "GatewayTimeoutException" + }, + { + "shape": "TooManyRequestsException" + } + ] + }, "CreateChannel": { "name": "CreateChannel", "http": { @@ -2485,6 +2525,10 @@ "shape": "AudioDescriptionAudioTypeControl", "locationName": "audioTypeControl" }, + "AudioWatermarkingSettings": { + "shape": "AudioWatermarkSettings", + "locationName": "audioWatermarkingSettings" + }, "CodecSettings": { "shape": "AudioCodecSettings", "locationName": "codecSettings" @@ -2734,6 +2778,15 @@ "VISUAL_IMPAIRED_COMMENTARY" ] }, + "AudioWatermarkSettings": { + "type": "structure", + "members": { + "NielsenWatermarksSettings": { + "shape": "NielsenWatermarksSettings", + "locationName": "nielsenWatermarksSettings" + } + } + }, "AuthenticationScheme": { "type": "string", "enum": [ @@ -3710,6 +3763,20 @@ } } }, + "ClaimDeviceRequest": { + "type": "structure", + "members": { + "Id": { + "shape": "__string", + "locationName": "id" + } + } + }, + "ClaimDeviceResponse": { + "type": "structure", + "members": { + } + }, "ColorSpacePassthroughSettings": { "type": "structure", "members": { @@ -8191,7 +8258,8 @@ "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", - "AWS_CDI" + "AWS_CDI", + "TS_FILE" ] }, "InputVpcRequest": { @@ -9992,6 +10060,28 @@ } } }, + "NielsenCBET": { + "type": "structure", + "members": { + "CbetCheckDigitString": { + "shape": "__stringMin2Max2", + "locationName": "cbetCheckDigitString" + }, + "CbetStepaside": { + "shape": "NielsenWatermarksCbetStepaside", + "locationName": "cbetStepaside" + }, + "Csid": { + "shape": "__stringMin1Max7", + "locationName": "csid" + } + }, + "required": [ + "CbetCheckDigitString", + "CbetStepaside", + "Csid" + ] + }, "NielsenConfiguration": { "type": "structure", "members": { @@ -10005,6 +10095,23 @@ } } }, + "NielsenNaesIiNw": { + "type": "structure", + "members": { + "CheckDigitString": { + "shape": "__stringMin2Max2", + "locationName": "checkDigitString" + }, + "Sid": { + "shape": "__doubleMin1Max65535", + "locationName": "sid" + } + }, + "required": [ + "CheckDigitString", + "Sid" + ] + }, "NielsenPcmToId3TaggingState": { "type": "string", "enum": [ @@ -10012,6 +10119,37 @@ "ENABLED" ] }, + "NielsenWatermarksCbetStepaside": { + "type": "string", + "enum": [ + "DISABLED", + "ENABLED" + ] + }, + "NielsenWatermarksDistributionTypes": { + "type": "string", + "enum": [ + "FINAL_DISTRIBUTOR", + "PROGRAM_CONTENT" + ] + }, + "NielsenWatermarksSettings": { + "type": "structure", + "members": { + "NielsenCbetSettings": { + "shape": "NielsenCBET", + "locationName": "nielsenCbetSettings" + }, + "NielsenDistributionType": { + "shape": "NielsenWatermarksDistributionTypes", + "locationName": "nielsenDistributionType" + }, + "NielsenNaesIiNwSettings": { + "shape": "NielsenNaesIiNw", + "locationName": "nielsenNaesIiNwSettings" + } + } + }, "NotFoundException": { "type": "structure", "members": { @@ -12725,6 +12863,9 @@ "__doubleMin1": { "type": "double" }, + "__doubleMin1Max65535": { + "type": "double" + }, "__doubleMinNegative59Max0": { "type": "double" }, @@ -13326,6 +13467,16 @@ "min": 1, "max": 35 }, + "__stringMin1Max7": { + "type": "string", + "min": 1, + "max": 7 + }, + "__stringMin2Max2": { + "type": "string", + "min": 2, + "max": 2 + }, "__stringMin32Max32": { "type": "string", "min": 32, diff --git a/models/apis/medialive/2017-10-14/docs-2.json b/models/apis/medialive/2017-10-14/docs-2.json index b6b6973536..bd42346d92 100644 --- a/models/apis/medialive/2017-10-14/docs-2.json +++ b/models/apis/medialive/2017-10-14/docs-2.json @@ -8,6 +8,7 @@ "BatchStop": "Stops running resources", "BatchUpdateSchedule": "Update a channel schedule", "CancelInputDeviceTransfer": "Cancel an input device transfer that you have requested.", + "ClaimDevice": "Send a request to claim an AWS Elemental device that you have purchased from a third-party vendor. After the request succeeds, you will own the device.", "CreateChannel": "Creates a new channel", "CreateInput": "Create an input", "CreateInputSecurityGroup": "Creates a Input Security Group", @@ -337,6 +338,12 @@ "AudioDescription$AudioType": "Applies only if audioTypeControl is useConfigured. The values for audioType are defined in ISO-IEC 13818-1." } }, + "AudioWatermarkSettings": { + "base": "Audio Watermark Settings", + "refs": { + "AudioDescription$AudioWatermarkingSettings": "Settings to configure one or more solutions that insert audio watermarks in the audio encode" + } + }, "AuthenticationScheme": { "base": "Authentication Scheme", "refs": { @@ -611,6 +618,11 @@ "__listOfChannelSummary$member": null } }, + "ClaimDeviceRequest": { + "base": "Request to claim an AWS Elemental device that you have purchased from a third-party vendor.", + "refs": { + } + }, "ColorSpacePassthroughSettings": { "base": "Passthrough applies no color space conversion to the output", "refs": { @@ -1899,9 +1911,9 @@ } }, "InputSourceType": { - "base": "There are two types of input sources, static and dynamic. If an input source is dynamic you can\nchange the source url of the input dynamically using an input switch action. However, the only input type\nto support a dynamic url at this time is MP4_FILE. By default all input sources are static.\n", + "base": "There are two types of input sources, static and dynamic. If an input source is dynamic you can\nchange the source url of the input dynamically using an input switch action. Currently, two input types\nsupport a dynamic url at this time, MP4_FILE and TS_FILE. By default all input sources are static.\n", "refs": { - "Input$InputSourceType": "Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes\nduring input switch actions. Presently, this functionality only works with MP4_FILE inputs.\n" + "Input$InputSourceType": "Certain pull input sources can be dynamic, meaning that they can have their URL's dynamically changes\nduring input switch actions. Presently, this functionality only works with MP4_FILE and TS_FILE inputs.\n" } }, "InputSpecification": { @@ -1932,7 +1944,7 @@ } }, "InputType": { - "base": null, + "base": "The different types of inputs that AWS Elemental MediaLive supports.", "refs": { "CreateInput$Type": null, "Input$Type": null @@ -2475,18 +2487,48 @@ "InputSettings$NetworkInputSettings": "Input settings." } }, + "NielsenCBET": { + "base": "Nielsen CBET", + "refs": { + "NielsenWatermarksSettings$NielsenCbetSettings": "Complete these fields only if you want to insert watermarks of type Nielsen CBET" + } + }, "NielsenConfiguration": { "base": "Nielsen Configuration", "refs": { "EncoderSettings$NielsenConfiguration": "Nielsen configuration settings." } }, + "NielsenNaesIiNw": { + "base": "Nielsen Naes Ii Nw", + "refs": { + "NielsenWatermarksSettings$NielsenNaesIiNwSettings": "Complete these fields only if you want to insert watermarks of type Nielsen NAES II (N2) and Nielsen NAES VI (NW)." + } + }, "NielsenPcmToId3TaggingState": { "base": "State of Nielsen PCM to ID3 tagging", "refs": { "NielsenConfiguration$NielsenPcmToId3Tagging": "Enables Nielsen PCM to ID3 tagging" } }, + "NielsenWatermarksCbetStepaside": { + "base": "Nielsen Watermarks Cbet Stepaside", + "refs": { + "NielsenCBET$CbetStepaside": "Determines the method of CBET insertion mode when prior encoding is detected on the same layer." + } + }, + "NielsenWatermarksDistributionTypes": { + "base": "Nielsen Watermarks Distribution Types", + "refs": { + "NielsenWatermarksSettings$NielsenDistributionType": "Choose the distribution types that you want to assign to the watermarks:\n- PROGRAM_CONTENT\n- FINAL_DISTRIBUTOR" + } + }, + "NielsenWatermarksSettings": { + "base": "Nielsen Watermarks Settings", + "refs": { + "AudioWatermarkSettings$NielsenWatermarksSettings": "Settings to configure Nielsen Watermarks in the audio encode" + } + }, "NotFoundException": { "base": null, "refs": { @@ -3300,14 +3342,14 @@ "VpcOutputSettings": { "base": "The properties for a private VPC Output\nWhen this property is specified, the output egress addresses will be created in a user specified VPC\n", "refs": { - "CreateChannel$Vpc": "Settings for VPC output" + "CreateChannel$Vpc": "Settings for the VPC outputs" } }, "VpcOutputSettingsDescription": { "base": "The properties for a private VPC Output\n", "refs": { "Channel$Vpc": "Settings for VPC output", - "ChannelSummary$Vpc": "Settings for VPC output" + "ChannelSummary$Vpc": "Settings for any VPC outputs." } }, "WavCodingMode": { @@ -3393,6 +3435,12 @@ "M2tsSettings$SegmentationTime": "The length in seconds of each segment. Required unless markers is set to _none_." } }, + "__doubleMin1Max65535": { + "base": null, + "refs": { + "NielsenNaesIiNw$Sid": "Enter the Nielsen Source ID (SID) to include in the watermark" + } + }, "__doubleMinNegative59Max0": { "base": null, "refs": { @@ -4264,6 +4312,7 @@ "ChannelSummary$Id": "The unique id of the channel.", "ChannelSummary$Name": "The name of the channel. (user-mutable)", "ChannelSummary$RoleArn": "The Amazon Resource Name (ARN) of the role assumed when running the Channel.", + "ClaimDeviceRequest$Id": "The id of the device you want to claim.", "CreateChannel$Name": "Name of channel.", "CreateChannel$RequestId": "Unique request ID to be specified. This is needed to prevent retries from\ncreating multiple resources.\n", "CreateChannel$Reserved": "Deprecated field that's only usable by whitelisted customers.", @@ -4506,6 +4555,19 @@ "AudioDescription$LanguageCode": "RFC 5646 language code representing the language of the audio output track. Only used if languageControlMode is useConfigured, or there is no ISO 639 language code specified in the input." } }, + "__stringMin1Max7": { + "base": null, + "refs": { + "NielsenCBET$Csid": "Enter the CBET Source ID (CSID) to use in the watermark" + } + }, + "__stringMin2Max2": { + "base": null, + "refs": { + "NielsenCBET$CbetCheckDigitString": "Enter the CBET check digits to use in the watermark.", + "NielsenNaesIiNw$CheckDigitString": "Enter the check digit string for the watermark" + } + }, "__stringMin32Max32": { "base": null, "refs": { diff --git a/service/ec2/api.go b/service/ec2/api.go index 71bd6706ef..91b9d92b06 100644 --- a/service/ec2/api.go +++ b/service/ec2/api.go @@ -4884,7 +4884,8 @@ func (c *EC2) CreateFpgaImageRequest(input *CreateFpgaImageInput) (req *request. // // An AFI contains the FPGA bitstream that is ready to download to an FPGA. // You can securely deploy an AFI on multiple FPGA-accelerated instances. For -// more information, see the AWS FPGA Hardware Development Kit (https://github.com/aws/aws-fpga/). +// more information, see the Amazon Web Services FPGA Hardware Development Kit +// (https://github.com/aws/aws-fpga/). // // 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 @@ -5386,8 +5387,8 @@ func (c *EC2) CreateLaunchTemplateRequest(input *CreateLaunchTemplateInput) (req // Creates a launch template. A launch template contains the parameters to launch // an instance. When you launch an instance using RunInstances, you can specify // a launch template instead of providing the launch parameters in the request. -// For more information, see Launching an instance from a launch template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html)in -// the Amazon Elastic Compute Cloud User Guide. +// For more information, see Launching an instance from a launch template (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html) +// in the Amazon Elastic Compute Cloud User Guide. // // 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 @@ -8710,14 +8711,15 @@ func (c *EC2) CreateVpcEndpointRequest(input *CreateVpcEndpointInput) (req *requ // // Creates a VPC endpoint for a specified service. An endpoint enables you to // create a private connection between your VPC and the service. The service -// may be provided by AWS, an AWS Marketplace Partner, or another AWS account. -// For more information, see VPC Endpoints (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints.html) +// may be provided by Amazon Web Services, an Amazon Web Services Marketplace +// Partner, or another Amazon Web Services account. For more information, see +// VPC Endpoints (https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints.html) // in the Amazon Virtual Private Cloud User Guide. // // A gateway endpoint serves as a target for a route in your route table for -// traffic destined for the AWS service. You can specify an endpoint policy -// to attach to the endpoint, which will control access to the service from -// your VPC. You can also specify the VPC route tables that use the endpoint. +// traffic destined for the Amazon Web Service. You can specify an endpoint +// policy to attach to the endpoint, which will control access to the service +// from your VPC. You can also specify the VPC route tables that use the endpoint. // // An interface endpoint is a network interface in your subnet that serves as // an endpoint for communicating with the specified service. You can specify @@ -8882,8 +8884,8 @@ func (c *EC2) CreateVpcEndpointServiceConfigurationRequest(input *CreateVpcEndpo // CreateVpcEndpointServiceConfiguration API operation for Amazon Elastic Compute Cloud. // -// Creates a VPC endpoint service configuration to which service consumers (AWS -// accounts, IAM users, and IAM roles) can connect. +// Creates a VPC endpoint service configuration to which service consumers (Amazon +// Web Services accounts, IAM users, and IAM roles) can connect. // // To create an endpoint service configuration, you must first create one of // the following for your service: @@ -14416,7 +14418,7 @@ func (c *EC2) DescribeAvailabilityZonesRequest(input *DescribeAvailabilityZonesI // this request to view the state and any provided messages for that zone. // // For more information about Availability Zones, Local Zones, and Wavelength -// Zones, see Regions, Zones and Outposts (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) +// Zones, see Regions and zones (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html) // in the Amazon Elastic Compute Cloud User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -16875,7 +16877,7 @@ func (c *EC2) DescribeFleetHistoryRequest(input *DescribeFleetHistoryInput) (req // This ensures that you can query by the last evaluated time and not miss a // recorded event. EC2 Fleet events are available for 48 hours. // -// For more information, see Monitoring your EC2 Fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet.html#monitor-ec2-fleet) +// For more information, see Monitor fleet events using Amazon EventBridge (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html) // in the Amazon EC2 User Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -17377,8 +17379,8 @@ func (c *EC2) DescribeFpgaImagesRequest(input *DescribeFpgaImagesInput) (req *re // DescribeFpgaImages API operation for Amazon Elastic Compute Cloud. // // Describes the Amazon FPGA Images (AFIs) available to you. These include public -// AFIs, private AFIs that you own, and AFIs owned by other AWS accounts for -// which you have load permissions. +// AFIs, private AFIs that you own, and AFIs owned by other Amazon Web Services +// accounts for which you have load permissions. // // 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 @@ -18058,11 +18060,12 @@ func (c *EC2) DescribeIdFormatRequest(input *DescribeIdFormatInput) (req *reques // | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway. // // These settings apply to the IAM user who makes the request; they do not apply -// to the entire AWS account. By default, an IAM user defaults to the same settings -// as the root user, unless they explicitly override the settings by running -// the ModifyIdFormat command. Resources created with longer IDs are visible -// to all IAM users, regardless of these settings and provided that they have -// permission to use the relevant Describe command for the resource type. +// to the entire Amazon Web Services account. By default, an IAM user defaults +// to the same settings as the root user, unless they explicitly override the +// settings by running the ModifyIdFormat command. Resources created with longer +// IDs are visible to all IAM users, regardless of these settings and provided +// that they have permission to use the relevant Describe command for the resource +// type. // // 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 @@ -22706,12 +22709,12 @@ func (c *EC2) DescribeRegionsRequest(input *DescribeRegionsInput) (req *request. // // 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 a list of the Regions supported by Amazon EC2, see Amazon Elastic Compute +// Cloud endpoints and quotas (https://docs.aws.amazon.com/general/latest/gr/ec2-service.html). // // 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. +// Managing Amazon Web Services Regions (https://docs.aws.amazon.com/general/latest/gr/rande-manage.html) +// in the Amazon Web Services 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 @@ -24547,6 +24550,9 @@ func (c *EC2) DescribeSpotFleetRequestHistoryRequest(input *DescribeSpotFleetReq // This ensures that you can query by the last evaluated time and not miss a // recorded event. Spot Fleet events are available for 48 hours. // +// For more information, see Monitor fleet events using Amazon EventBridge (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/fleet-monitor.html) +// in the Amazon EC2 User Guide for Linux Instances. +// // 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. @@ -34463,8 +34469,9 @@ func (c *EC2) GetVpnConnectionDeviceSampleConfigurationRequest(input *GetVpnConn // GetVpnConnectionDeviceSampleConfiguration API operation for Amazon Elastic Compute Cloud. // -// Download an AWS-provided sample configuration file to be used with the customer -// gateway device specified for your Site-to-Site VPN connection. +// Download an Amazon Web Services-provided sample configuration file to be +// used with the customer gateway device specified for your Site-to-Site VPN +// connection. // // 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 @@ -36002,10 +36009,11 @@ func (c *EC2) ModifyIdFormatRequest(input *ModifyIdFormatInput) (req *request.Re // | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway. // // This setting applies to the IAM user who makes the request; it does not apply -// to the entire AWS account. By default, an IAM user defaults to the same settings -// as the root user. If you're using this action as the root user, then these -// settings apply to the entire account, unless an IAM user explicitly overrides -// these settings for themselves. For more information, see Resource IDs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html) +// to the entire Amazon Web Services account. By default, an IAM user defaults +// to the same settings as the root user. If you're using this action as the +// root user, then these settings apply to the entire account, unless an IAM +// user explicitly overrides these settings for themselves. For more information, +// see Resource IDs (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/resource-ids.html) // in the Amazon Elastic Compute Cloud User Guide. // // Resources created with longer IDs are visible to all IAM roles and users, @@ -37502,9 +37510,6 @@ func (c *EC2) ModifyTrafficMirrorFilterNetworkServicesRequest(input *ModifyTraff // to mirror network services, use RemoveNetworkServices to remove the network // services from the Traffic Mirror filter. // -// For information about filter rule properties, see Network Services (https://docs.aws.amazon.com/vpc/latest/mirroring/traffic-mirroring-considerations.html) -// in the Traffic Mirroring User Guide . -// // 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. @@ -38448,7 +38453,7 @@ func (c *EC2) ModifyVpcEndpointServicePermissionsRequest(input *ModifyVpcEndpoin // // Modifies the permissions for your VPC endpoint service (https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html). // You can add or remove permissions for service consumers (IAM users, IAM roles, -// and AWS accounts) to connect to your endpoint service. +// and Amazon Web Services accounts) to connect to your endpoint service. // // If you grant permissions to all principals, the service is public. Any users // who know the name of a public service can send a request to attach an endpoint. @@ -44654,7 +44659,7 @@ type Address struct { InstanceId *string `locationName:"instanceId" type:"string"` // The name of the unique set of Availability Zones, Local Zones, or Wavelength - // Zones from which AWS advertises IP addresses. + // Zones from which Amazon Web Services advertises IP addresses. NetworkBorderGroup *string `locationName:"networkBorderGroup" type:"string"` // The ID of the network interface. @@ -44953,15 +44958,15 @@ type AllocateAddressInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // A unique set of Availability Zones, Local Zones, or Wavelength Zones from - // which AWS advertises IP addresses. Use this parameter to limit the IP address - // to this location. IP addresses cannot move between network border groups. + // which Amazon Web Services advertises IP addresses. Use this parameter to + // limit the IP address to this location. IP addresses cannot move between network + // border groups. // // Use DescribeAvailabilityZones (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeAvailabilityZones.html) // to view the network border groups. // // You cannot use a network border group with EC2 Classic. If you attempt this - // operation on EC2 classic, you will receive an InvalidParameterCombination - // error. For more information, see Error Codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). + // operation on EC2 Classic, you receive an InvalidParameterCombination error. NetworkBorderGroup *string `type:"string"` // The ID of an address pool that you own. Use this parameter to let Amazon @@ -45055,7 +45060,7 @@ type AllocateAddressOutput struct { Domain *string `locationName:"domain" type:"string" enum:"DomainType"` // The set of Availability Zones, Local Zones, or Wavelength Zones from which - // AWS advertises IP addresses. + // Amazon Web Services advertises IP addresses. NetworkBorderGroup *string `locationName:"networkBorderGroup" type:"string"` // The Elastic IP address. @@ -53034,10 +53039,10 @@ type CoipAddressUsage struct { // The allocation ID of the address. AllocationId *string `locationName:"allocationId" type:"string"` - // The AWS account ID. + // The Amazon Web Services account ID. AwsAccountId *string `locationName:"awsAccountId" type:"string"` - // The AWS service. + // The Amazon Web Services service. AwsService *string `locationName:"awsService" type:"string"` // The customer-owned IP address. @@ -53554,7 +53559,7 @@ type CopyFpgaImageInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see Ensuring Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). + // of the request. For more information, see Ensuring idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // The description for the new AFI. @@ -56267,7 +56272,8 @@ type CreateFlowLogsInput struct { // If you specify this parameter, you must specify at least one field. // // Specify the fields using the ${field-id} format, separated by spaces. For - // the CLI, use single quotation marks (' ') to surround the parameter value. + // the CLI, surround this parameter value with single quotes on Linux or double + // quotes on Windows. LogFormat *string `type:"string"` // The name of a new or existing CloudWatch Logs log group where Amazon EC2 @@ -60740,7 +60746,7 @@ type CreateTrafficMirrorFilterInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror filter. @@ -60802,7 +60808,7 @@ type CreateTrafficMirrorFilterOutput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Information about the Traffic Mirror filter. @@ -60843,7 +60849,7 @@ type CreateTrafficMirrorFilterRuleInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror rule. @@ -60869,7 +60875,7 @@ type CreateTrafficMirrorFilterRuleInput struct { // on the Internet Assigned Numbers Authority (IANA) website. Protocol *int64 `type:"integer"` - // The action to take (accept | reject) on the filtered traffic. + // The action to take on the filtered traffic. // // RuleAction is a required field RuleAction *string `type:"string" required:"true" enum:"TrafficMirrorRuleAction"` @@ -60889,7 +60895,7 @@ type CreateTrafficMirrorFilterRuleInput struct { // The source port range. SourcePortRange *TrafficMirrorPortRangeRequest `type:"structure"` - // The type of traffic (ingress | egress). + // The type of traffic. // // TrafficDirection is a required field TrafficDirection *string `type:"string" required:"true" enum:"TrafficDirection"` @@ -61022,7 +61028,7 @@ type CreateTrafficMirrorFilterRuleOutput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // The Traffic Mirror rule. @@ -61063,7 +61069,7 @@ type CreateTrafficMirrorSessionInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror session. @@ -61223,7 +61229,7 @@ type CreateTrafficMirrorSessionOutput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Information about the Traffic Mirror session. @@ -61264,7 +61270,7 @@ type CreateTrafficMirrorTargetInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string" idempotencyToken:"true"` // The description of the Traffic Mirror target. @@ -61345,7 +61351,7 @@ type CreateTrafficMirrorTargetOutput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `locationName:"clientToken" type:"string"` // Information about the Traffic Mirror target. @@ -62947,7 +62953,7 @@ type CreateVpcEndpointConnectionNotificationInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // One or more endpoint events for which to receive notifications. Valid values @@ -63090,7 +63096,7 @@ type CreateVpcEndpointInput struct { _ struct{} `type:"structure"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // Checks whether you have the required permissions for the action, without @@ -63302,7 +63308,7 @@ type CreateVpcEndpointServiceConfigurationInput struct { AcceptanceRequired *bool `type:"boolean"` // Unique, case-sensitive identifier that you provide to ensure the idempotency - // of the request. For more information, see How to Ensure Idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). + // of the request. For more information, see How to ensure idempotency (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Run_Instance_Idempotency.html). ClientToken *string `type:"string"` // Checks whether you have the required permissions for the action, without @@ -74095,12 +74101,12 @@ type DescribeFpgaImagesInput struct { // // * name - The name of the AFI. // - // * owner-id - The AWS account ID of the AFI owner. + // * owner-id - The Amazon Web Services account ID of the AFI owner. // // * product-code - The product code. // - // * shell-version - The version of the AWS Shell that was used to create - // the bitstream. + // * shell-version - The version of the Amazon Web Services Shell that was + // used to create the bitstream. // // * state - The state of the AFI (pending | failed | available | unavailable). // @@ -74126,8 +74132,9 @@ type DescribeFpgaImagesInput struct { // The token to retrieve the next page of results. NextToken *string `type:"string"` - // Filters the AFI by owner. Specify an AWS account ID, self (owner is the sender - // of the request), or an AWS owner alias (valid values are amazon | aws-marketplace). + // Filters the AFI by owner. Specify an Amazon Web Services account ID, self + // (owner is the sender of the request), or an Amazon Web Services owner alias + // (valid values are amazon | aws-marketplace). Owners []*string `locationName:"Owner" locationNameList:"Owner" type:"list"` } @@ -86699,7 +86706,8 @@ type DescribeVpcEndpointConnectionsInput struct { // // * service-id - The ID of the service. // - // * vpc-endpoint-owner - The AWS account number of the owner of the endpoint. + // * vpc-endpoint-owner - The ID of the Amazon Web Services account ID that + // owns the endpoint. // // * vpc-endpoint-state - The state of the endpoint (pendingAcceptance | // pending | available | deleting | deleted | rejected | failed). @@ -92935,64 +92943,82 @@ type EventInformation struct { // The event. // - // The following are the error events: + // error events: // - // * iamFleetRoleInvalid - The EC2 Fleet or Spot Fleet did not have the required - // permissions either to launch or terminate an instance. + // * iamFleetRoleInvalid - The EC2 Fleet or Spot Fleet does not have the + // required permissions either to launch or terminate an instance. // - // * spotFleetRequestConfigurationInvalid - The configuration is not valid. - // For more information, see the description of the event. + // * allLaunchSpecsTemporarilyBlacklisted - None of the configurations are + // valid, and several attempts to launch instances have failed. For more + // information, see the description of the event. // // * spotInstanceCountLimitExceeded - You've reached the limit on the number // of Spot Instances that you can launch. // - // The following are the fleetRequestChange events: + // * spotFleetRequestConfigurationInvalid - The configuration is not valid. + // For more information, see the description of the event. + // + // fleetRequestChange events: // // * active - The EC2 Fleet or Spot Fleet request has been validated and - // Amazon EC2 is attempting to maintain the target number of running Spot - // Instances. + // Amazon EC2 is attempting to maintain the target number of running instances. // // * cancelled - The EC2 Fleet or Spot Fleet request is canceled and has - // no running Spot Instances. The EC2 Fleet or Spot Fleet will be deleted - // two days after its instances were terminated. + // no running instances. The EC2 Fleet or Spot Fleet will be deleted two + // days after its instances are terminated. // // * cancelled_running - The EC2 Fleet or Spot Fleet request is canceled - // and does not launch additional Spot Instances. Existing Spot Instances - // continue to run until they are interrupted or terminated. + // and does not launch additional instances. Its existing instances continue + // to run until they are interrupted or terminated. The request remains in + // this state until all instances are interrupted or terminated. // // * cancelled_terminating - The EC2 Fleet or Spot Fleet request is canceled - // and its Spot Instances are terminating. + // and its instances are terminating. The request remains in this state until + // all instances are terminated. // - // * expired - The EC2 Fleet or Spot Fleet request has expired. A subsequent - // event indicates that the instances were terminated, if the request was - // created with TerminateInstancesWithExpiration set. + // * expired - The EC2 Fleet or Spot Fleet request has expired. If the request + // was created with TerminateInstancesWithExpiration set, a subsequent terminated + // event indicates that the instances are terminated. // - // * modify_in_progress - A request to modify the EC2 Fleet or Spot Fleet - // request was accepted and is in progress. + // * modify_in_progress - The EC2 Fleet or Spot Fleet request is being modified. + // The request remains in this state until the modification is fully processed. // // * modify_succeeded - The EC2 Fleet or Spot Fleet request was modified. // // * submitted - The EC2 Fleet or Spot Fleet request is being evaluated and - // Amazon EC2 is preparing to launch the target number of Spot Instances. + // Amazon EC2 is preparing to launch the target number of instances. // - // The following are the instanceChange events: + // * progress - The EC2 Fleet or Spot Fleet request is in the process of + // being fulfilled. // - // * launched - A request was fulfilled and a new instance was launched. + // instanceChange events: + // + // * launched - A new instance was launched. // // * terminated - An instance was terminated by the user. // - // The following are the Information events: + // * termination_notified - An instance termination notification was sent + // when a Spot Instance was terminated by Amazon EC2 during scale-down, when + // the target capacity of the fleet was modified down, for example, from + // a target capacity of 4 to a target capacity of 3. + // + // Information events: + // + // * fleetProgressHalted - The price in every launch specification is not + // valid because it is below the Spot price (all the launch specifications + // have produced launchSpecUnusable events). A launch specification might + // become valid if the Spot price changes. // // * launchSpecTemporarilyBlacklisted - The configuration is not valid and // several attempts to launch instances have failed. For more information, // see the description of the event. // // * launchSpecUnusable - The price in a launch specification is not valid - // because it is below the Spot price or the Spot price is above the On-Demand - // price. + // because it is below the Spot price. // - // * fleetProgressHalted - The price in every launch specification is not - // valid. A launch specification might become valid if the Spot price changes. + // * registerWithLoadBalancersFailed - An attempt to register instances with + // load balancers failed. For more information, see the description of the + // event. EventSubType *string `locationName:"eventSubType" type:"string"` // The ID of the instance. This information is available only for instanceChange @@ -95914,7 +95940,7 @@ type FpgaImage struct { // The alias of the AFI owner. Possible values include self, amazon, and aws-marketplace. OwnerAlias *string `locationName:"ownerAlias" type:"string"` - // The AWS account ID of the AFI owner. + // The ID of the Amazon Web Services account that owns the AFI. OwnerId *string `locationName:"ownerId" type:"string"` // Information about the PCI bus. @@ -95926,7 +95952,8 @@ type FpgaImage struct { // Indicates whether the AFI is public. Public *bool `locationName:"public" type:"boolean"` - // The version of the AWS Shell that was used to create the bitstream. + // The version of the Amazon Web Services Shell that was used to create the + // bitstream. ShellVersion *string `locationName:"shellVersion" type:"string"` // Information about the state of the AFI. @@ -101127,9 +101154,8 @@ type ImportImageInput struct { // The tags to apply to the import image task during creation. TagSpecifications []*TagSpecification `locationName:"TagSpecification" locationNameList:"item" type:"list"` - // The usage operation value. For more information, see AMI billing information - // fields (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html) - // in the Amazon Elastic Compute Cloud User Guide. + // The usage operation value. For more information, see Licensing options (https://docs.aws.amazon.com/vm-import/latest/userguide/vmie_prereqs.html#prerequisites) + // in the VM Import/Export User Guide. UsageOperation *string `type:"string"` } @@ -104200,8 +104226,8 @@ func (s *InstanceMarketOptionsRequest) SetSpotOptions(v *SpotMarketOptions) *Ins type InstanceMetadataOptionsRequest struct { _ struct{} `type:"structure"` - // This parameter enables or disables the HTTP metadata endpoint on your instances. - // If the parameter is not specified, the default state is enabled. + // Enables or disables the HTTP metadata endpoint on your instances. If the + // parameter is not specified, the default state is enabled. // // If you specify a value of disabled, you will not be able to access your instance // metadata. @@ -104280,15 +104306,12 @@ func (s *InstanceMetadataOptionsRequest) SetHttpTokens(v string) *InstanceMetada type InstanceMetadataOptionsResponse struct { _ struct{} `type:"structure"` - // This parameter enables or disables the HTTP metadata endpoint on your instances. - // If the parameter is not specified, the default state is enabled. - // - // If you specify a value of disabled, you will not be able to access your instance - // metadata. + // Indicates whether the HTTP metadata endpoint on your instances is enabled + // or disabled. HttpEndpoint *string `locationName:"httpEndpoint" type:"string" enum:"InstanceMetadataEndpointState"` - // Whether or not the IPv6 endpoint for the instance metadata service is enabled - // or disabled. + // Indicates whether the IPv6 endpoint for the instance metadata service is + // enabled or disabled. HttpProtocolIpv6 *string `locationName:"httpProtocolIpv6" type:"string" enum:"InstanceMetadataProtocolState"` // The desired HTTP PUT response hop limit for instance metadata requests. The @@ -109600,7 +109623,7 @@ type LoadPermission struct { // The name of the group. Group *string `locationName:"group" type:"string" enum:"PermissionGroup"` - // The AWS account ID. + // The Amazon Web Services account ID. UserId *string `locationName:"userId" type:"string"` } @@ -109682,7 +109705,7 @@ type LoadPermissionRequest struct { // The name of the group. Group *string `type:"string" enum:"PermissionGroup"` - // The AWS account ID. + // The Amazon Web Services account ID. UserId *string `type:"string"` } @@ -109726,7 +109749,7 @@ type LocalGateway struct { // The Amazon Resource Name (ARN) of the Outpost. OutpostArn *string `locationName:"outpostArn" type:"string"` - // The AWS account ID that owns the local gateway. + // The ID of the Amazon Web Services account that owns the local gateway. OwnerId *string `locationName:"ownerId" type:"string"` // The state of the local gateway. @@ -109800,7 +109823,7 @@ type LocalGatewayRoute struct { // The ID of the virtual interface group. LocalGatewayVirtualInterfaceGroupId *string `locationName:"localGatewayVirtualInterfaceGroupId" type:"string"` - // The AWS account ID that owns the local gateway route. + // The ID of the Amazon Web Services account that owns the local gateway route. OwnerId *string `locationName:"ownerId" type:"string"` // The state of the route. @@ -109886,7 +109909,8 @@ type LocalGatewayRouteTable struct { // The Amazon Resource Name (ARN) of the Outpost. OutpostArn *string `locationName:"outpostArn" type:"string"` - // The AWS account ID that owns the local gateway route table. + // The ID of the Amazon Web Services account that owns the local gateway route + // table. OwnerId *string `locationName:"ownerId" type:"string"` // The state of the local gateway route table. @@ -109977,7 +110001,8 @@ type LocalGatewayRouteTableVirtualInterfaceGroupAssociation struct { // The ID of the virtual interface group. LocalGatewayVirtualInterfaceGroupId *string `locationName:"localGatewayVirtualInterfaceGroupId" type:"string"` - // The AWS account ID that owns the local gateway virtual interface group association. + // The ID of the Amazon Web Services account that owns the local gateway virtual + // interface group association. OwnerId *string `locationName:"ownerId" type:"string"` // The state of the association. @@ -110069,7 +110094,8 @@ type LocalGatewayRouteTableVpcAssociation struct { // The ID of the association. LocalGatewayRouteTableVpcAssociationId *string `locationName:"localGatewayRouteTableVpcAssociationId" type:"string"` - // The AWS account ID that owns the local gateway route table for the association. + // The ID of the Amazon Web Services account that owns the local gateway route + // table for the association. OwnerId *string `locationName:"ownerId" type:"string"` // The state of the association. @@ -110165,7 +110191,8 @@ type LocalGatewayVirtualInterface struct { // The ID of the virtual interface. LocalGatewayVirtualInterfaceId *string `locationName:"localGatewayVirtualInterfaceId" type:"string"` - // The AWS account ID that owns the local gateway virtual interface. + // The ID of the Amazon Web Services account that owns the local gateway virtual + // interface. OwnerId *string `locationName:"ownerId" type:"string"` // The peer address. @@ -110266,7 +110293,8 @@ type LocalGatewayVirtualInterfaceGroup struct { // The IDs of the virtual interfaces. LocalGatewayVirtualInterfaceIds []*string `locationName:"localGatewayVirtualInterfaceIdSet" locationNameList:"item" type:"list"` - // The AWS account ID that owns the local gateway virtual interface group. + // The ID of the Amazon Web Services account that owns the local gateway virtual + // interface group. OwnerId *string `locationName:"ownerId" type:"string"` // The tags assigned to the virtual interface group. @@ -110580,9 +110608,9 @@ type ModifyAvailabilityZoneGroupInput struct { GroupName *string `type:"string" required:"true"` // Indicates whether you are opted in to the Local Zone group or Wavelength - // Zone group. The only valid value is opted-in. You must contact AWS Support - // (https://console.aws.amazon.com/support/home#/case/create%3FissueType=customer-service%26serviceCode=general-info%26getting-started%26categoryCode=using-aws%26services) - // to opt out of a Local Zone group, or Wavelength Zone group. + // Zone group. The only valid value is opted-in. You must contact Amazon Web + // Services Support (https://console.aws.amazon.com/support/home#/case/create%3FissueType=customer-service%26serviceCode=general-info%26getting-started%26categoryCode=using-aws%26services) + // to opt out of a Local Zone or Wavelength Zone group. // // OptInStatus is a required field OptInStatus *string `type:"string" required:"true" enum:"ModifyAvailabilityZoneOptInStatus"` @@ -111540,8 +111568,8 @@ type ModifyFpgaImageAttributeInput struct { // attribute. UserGroups []*string `locationName:"UserGroup" locationNameList:"UserGroup" type:"list"` - // The AWS account IDs. This parameter is valid only when modifying the loadPermission - // attribute. + // The Amazon Web Services account IDs. This parameter is valid only when modifying + // the loadPermission attribute. UserIds []*string `locationName:"UserId" locationNameList:"UserId" type:"list"` } @@ -114313,7 +114341,7 @@ type ModifyTrafficMirrorFilterRuleInput struct { // The port range to assign to the Traffic Mirror rule. SourcePortRange *TrafficMirrorPortRangeRequest `type:"structure"` - // The type of traffic (ingress | egress) to assign to the rule. + // The type of traffic to assign to the rule. TrafficDirection *string `type:"string" enum:"TrafficDirection"` // The ID of the Traffic Mirror rule. @@ -123040,14 +123068,13 @@ type ReleaseAddressInput struct { DryRun *bool `locationName:"dryRun" type:"boolean"` // The set of Availability Zones, Local Zones, or Wavelength Zones from which - // AWS advertises IP addresses. + // Amazon Web Services advertises IP addresses. // - // If you provide an incorrect network border group, you will receive an InvalidAddress.NotFound - // error. For more information, see Error Codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). + // If you provide an incorrect network border group, you receive an InvalidAddress.NotFound + // error. // // You cannot use a network border group with EC2 Classic. If you attempt this - // operation on EC2 classic, you will receive an InvalidParameterCombination - // error. For more information, see Error Codes (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/errors-overview.html). + // operation on EC2 classic, you receive an InvalidParameterCombination error. NetworkBorderGroup *string `type:"string"` // [EC2-Classic] The Elastic IP address. Required for EC2-Classic. @@ -131288,8 +131315,8 @@ func (s SendDiagnosticInterruptOutput) GoString() string { type ServiceConfiguration struct { _ struct{} `type:"structure"` - // Indicates whether requests from other AWS accounts to create an endpoint - // to the service must first be accepted. + // Indicates whether requests from other Amazon Web Services accounts to create + // an endpoint to the service must first be accepted. AcceptanceRequired *bool `locationName:"acceptanceRequired" type:"boolean"` // The Availability Zones in which the service is available. @@ -131444,7 +131471,7 @@ type ServiceDetail struct { // service VPC endpoints using the VPC endpoint API is restricted. ManagesVpcEndpoints *bool `locationName:"managesVpcEndpoints" type:"boolean"` - // The AWS account ID of the service owner. + // The Amazon Web Services account ID of the service owner. Owner *string `locationName:"owner" type:"string"` // The private DNS name for the service. @@ -135372,22 +135399,7 @@ func (s *TagDescription) SetValue(v string) *TagDescription { type TagSpecification struct { _ struct{} `type:"structure"` - // The type of resource to tag on creation. The possible values are: capacity-reservation - // | carrier-gateway | client-vpn-endpoint | customer-gateway | dedicated-host - // | dhcp-options | egress-only-internet-gateway | elastic-gpu | elastic-ip - // | export-image-task | export-instance-task | fleet | fpga-image | host-reservation - // | image | import-image-task | import-snapshot-task | instance | instance-event-window - // | internet-gateway | ipv4pool-ec2 | ipv6pool-ec2 | key-pair | launch-template - // | local-gateway-route-table-vpc-association | natgateway | network-acl | - // network-insights-analysis | network-insights-path | network-interface | placement-group - // | prefix-list | reserved-instances | route-table | security-group | security-group-rule - // | snapshot | spot-fleet-request | spot-instances-request | subnet | traffic-mirror-filter - // | traffic-mirror-session | traffic-mirror-target | transit-gateway | transit-gateway-attachment - // | transit-gateway-multicast-domain | transit-gateway-route-table | volume - // | vpc | vpc-endpoint | vpc-endpoint-service | vpc-flow-log | vpc-peering-connection - // | vpn-connection | vpn-gateway. - // - // To tag a resource after it has been created, see CreateTags (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html). + // The type of resource to tag on creation. ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` // The tags to apply to the resource. @@ -141500,7 +141512,7 @@ type VpcEndpoint struct { // (Interface endpoint) One or more network interfaces for the endpoint. NetworkInterfaceIds []*string `locationName:"networkInterfaceIdSet" locationNameList:"item" type:"list"` - // The ID of the AWS account that owns the VPC endpoint. + // The ID of the Amazon Web Services account that owns the VPC endpoint. OwnerId *string `locationName:"ownerId" type:"string"` // The policy document associated with the endpoint, if applicable. @@ -141680,7 +141692,7 @@ type VpcEndpointConnection struct { // The ID of the VPC endpoint. VpcEndpointId *string `locationName:"vpcEndpointId" type:"string"` - // The AWS account ID of the owner of the VPC endpoint. + // The ID of the Amazon Web Services account that owns the VPC endpoint. VpcEndpointOwner *string `locationName:"vpcEndpointOwner" type:"string"` // The state of the VPC endpoint. @@ -141770,7 +141782,8 @@ type VpcIpv6CidrBlockAssociation struct { Ipv6Pool *string `locationName:"ipv6Pool" type:"string"` // The name of the unique set of Availability Zones, Local Zones, or Wavelength - // Zones from which AWS advertises IP addresses, for example, us-east-1-wl1-bos-wlz-1. + // Zones from which Amazon Web Services advertises IP addresses, for example, + // us-east-1-wl1-bos-wlz-1. NetworkBorderGroup *string `locationName:"networkBorderGroup" type:"string"` } diff --git a/service/elbv2/api.go b/service/elbv2/api.go index 1389dac864..98d35a4005 100644 --- a/service/elbv2/api.go +++ b/service/elbv2/api.go @@ -4853,6 +4853,11 @@ type CreateTargetGroupInput struct { // GENEVE, the default is 3. If the target type is lambda, the default is 5. HealthyThresholdCount *int64 `min:"2" type:"integer"` + // The type of IP address used for this target group. The possible values are + // ipv4 and ipv6. This is an optional parameter. If not specified, the IP address + // type defaults to ipv4. + IpAddressType *string `type:"string" enum:"TargetGroupIpAddressTypeEnum"` + // [HTTP/HTTPS health checks] The HTTP or gRPC codes to use when checking for // a successful response from a target. Matcher *Matcher `type:"structure"` @@ -5021,6 +5026,12 @@ func (s *CreateTargetGroupInput) SetHealthyThresholdCount(v int64) *CreateTarget return s } +// SetIpAddressType sets the IpAddressType field's value. +func (s *CreateTargetGroupInput) SetIpAddressType(v string) *CreateTargetGroupInput { + s.IpAddressType = &v + return s +} + // SetMatcher sets the Matcher field's value. func (s *CreateTargetGroupInput) SetMatcher(v *Matcher) *CreateTargetGroupInput { s.Matcher = v @@ -7372,6 +7383,9 @@ type Matcher struct { // "200,202") or a range of values (for example, "200-299"). // // For Network Load Balancers and Gateway Load Balancers, this must be "200–399". + // + // Note that when using shorthand syntax, some values such as commas need to + // be escaped. HttpCode *string `type:"string"` } @@ -9625,6 +9639,11 @@ type TargetGroup struct { // an unhealthy target healthy. HealthyThresholdCount *int64 `min:"2" type:"integer"` + // The type of IP address used for this target group. The possible values are + // ipv4 and ipv6. This is an optional parameter. If not specified, the IP address + // type defaults to ipv4. + IpAddressType *string `type:"string" enum:"TargetGroupIpAddressTypeEnum"` + // The Amazon Resource Names (ARN) of the load balancers that route traffic // to this target group. LoadBalancerArns []*string `type:"list"` @@ -9725,6 +9744,12 @@ func (s *TargetGroup) SetHealthyThresholdCount(v int64) *TargetGroup { return s } +// SetIpAddressType sets the IpAddressType field's value. +func (s *TargetGroup) SetIpAddressType(v string) *TargetGroup { + s.IpAddressType = &v + return s +} + // SetLoadBalancerArns sets the LoadBalancerArns field's value. func (s *TargetGroup) SetLoadBalancerArns(v []*string) *TargetGroup { s.LoadBalancerArns = v @@ -10336,6 +10361,22 @@ func RedirectActionStatusCodeEnum_Values() []string { } } +const ( + // TargetGroupIpAddressTypeEnumIpv4 is a TargetGroupIpAddressTypeEnum enum value + TargetGroupIpAddressTypeEnumIpv4 = "ipv4" + + // TargetGroupIpAddressTypeEnumIpv6 is a TargetGroupIpAddressTypeEnum enum value + TargetGroupIpAddressTypeEnumIpv6 = "ipv6" +) + +// TargetGroupIpAddressTypeEnum_Values returns all elements of the TargetGroupIpAddressTypeEnum enum +func TargetGroupIpAddressTypeEnum_Values() []string { + return []string{ + TargetGroupIpAddressTypeEnumIpv4, + TargetGroupIpAddressTypeEnumIpv6, + } +} + const ( // TargetHealthReasonEnumElbRegistrationInProgress is a TargetHealthReasonEnum enum value TargetHealthReasonEnumElbRegistrationInProgress = "Elb.RegistrationInProgress" diff --git a/service/frauddetector/api.go b/service/frauddetector/api.go index 093a5030e5..ca625838be 100644 --- a/service/frauddetector/api.go +++ b/service/frauddetector/api.go @@ -192,6 +192,100 @@ func (c *FraudDetector) BatchGetVariableWithContext(ctx aws.Context, input *Batc return out, req.Send() } +const opCancelBatchImportJob = "CancelBatchImportJob" + +// CancelBatchImportJobRequest generates a "aws/request.Request" representing the +// client's request for the CancelBatchImportJob 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 CancelBatchImportJob for more information on using the CancelBatchImportJob +// 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 CancelBatchImportJobRequest method. +// req, resp := client.CancelBatchImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchImportJob +func (c *FraudDetector) CancelBatchImportJobRequest(input *CancelBatchImportJobInput) (req *request.Request, output *CancelBatchImportJobOutput) { + op := &request.Operation{ + Name: opCancelBatchImportJob, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CancelBatchImportJobInput{} + } + + output = &CancelBatchImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// CancelBatchImportJob API operation for Amazon Fraud Detector. +// +// Cancels an in-progress batch import job. +// +// 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 Fraud Detector's +// API operation CancelBatchImportJob for usage and error information. +// +// Returned Error Types: +// * ValidationException +// An exception indicating a specified value is not allowed. +// +// * ResourceNotFoundException +// An exception indicating the specified resource was not found. +// +// * InternalServerException +// An exception indicating an internal server error. +// +// * ThrottlingException +// An exception indicating a throttling error. +// +// * AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CancelBatchImportJob +func (c *FraudDetector) CancelBatchImportJob(input *CancelBatchImportJobInput) (*CancelBatchImportJobOutput, error) { + req, out := c.CancelBatchImportJobRequest(input) + return out, req.Send() +} + +// CancelBatchImportJobWithContext is the same as CancelBatchImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See CancelBatchImportJob 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 *FraudDetector) CancelBatchImportJobWithContext(ctx aws.Context, input *CancelBatchImportJobInput, opts ...request.Option) (*CancelBatchImportJobOutput, error) { + req, out := c.CancelBatchImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCancelBatchPredictionJob = "CancelBatchPredictionJob" // CancelBatchPredictionJobRequest generates a "aws/request.Request" representing the @@ -251,9 +345,7 @@ func (c *FraudDetector) CancelBatchPredictionJobRequest(input *CancelBatchPredic // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -288,6 +380,100 @@ func (c *FraudDetector) CancelBatchPredictionJobWithContext(ctx aws.Context, inp return out, req.Send() } +const opCreateBatchImportJob = "CreateBatchImportJob" + +// CreateBatchImportJobRequest generates a "aws/request.Request" representing the +// client's request for the CreateBatchImportJob 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 CreateBatchImportJob for more information on using the CreateBatchImportJob +// 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 CreateBatchImportJobRequest method. +// req, resp := client.CreateBatchImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchImportJob +func (c *FraudDetector) CreateBatchImportJobRequest(input *CreateBatchImportJobInput) (req *request.Request, output *CreateBatchImportJobOutput) { + op := &request.Operation{ + Name: opCreateBatchImportJob, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateBatchImportJobInput{} + } + + output = &CreateBatchImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// CreateBatchImportJob API operation for Amazon Fraud Detector. +// +// Creates a batch import job. +// +// 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 Fraud Detector's +// API operation CreateBatchImportJob for usage and error information. +// +// Returned Error Types: +// * ValidationException +// An exception indicating a specified value is not allowed. +// +// * ResourceNotFoundException +// An exception indicating the specified resource was not found. +// +// * InternalServerException +// An exception indicating an internal server error. +// +// * ThrottlingException +// An exception indicating a throttling error. +// +// * AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchImportJob +func (c *FraudDetector) CreateBatchImportJob(input *CreateBatchImportJobInput) (*CreateBatchImportJobOutput, error) { + req, out := c.CreateBatchImportJobRequest(input) + return out, req.Send() +} + +// CreateBatchImportJobWithContext is the same as CreateBatchImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See CreateBatchImportJob 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 *FraudDetector) CreateBatchImportJobWithContext(ctx aws.Context, input *CreateBatchImportJobInput, opts ...request.Option) (*CreateBatchImportJobOutput, error) { + req, out := c.CreateBatchImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateBatchPredictionJob = "CreateBatchPredictionJob" // CreateBatchPredictionJobRequest generates a "aws/request.Request" representing the @@ -358,9 +544,7 @@ func (c *FraudDetector) CreateBatchPredictionJobRequest(input *CreateBatchPredic // a role that is not in your account. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateBatchPredictionJob func (c *FraudDetector) CreateBatchPredictionJob(input *CreateBatchPredictionJobInput) (*CreateBatchPredictionJobOutput, error) { @@ -442,9 +626,7 @@ func (c *FraudDetector) CreateDetectorVersionRequest(input *CreateDetectorVersio // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -628,9 +810,7 @@ func (c *FraudDetector) CreateModelVersionRequest(input *CreateModelVersionInput // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * AccessDeniedException // An exception indicating Amazon Fraud Detector does not have the needed permissions. @@ -846,6 +1026,97 @@ func (c *FraudDetector) CreateVariableWithContext(ctx aws.Context, input *Create return out, req.Send() } +const opDeleteBatchImportJob = "DeleteBatchImportJob" + +// DeleteBatchImportJobRequest generates a "aws/request.Request" representing the +// client's request for the DeleteBatchImportJob 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 DeleteBatchImportJob for more information on using the DeleteBatchImportJob +// 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 DeleteBatchImportJobRequest method. +// req, resp := client.DeleteBatchImportJobRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteBatchImportJob +func (c *FraudDetector) DeleteBatchImportJobRequest(input *DeleteBatchImportJobInput) (req *request.Request, output *DeleteBatchImportJobOutput) { + op := &request.Operation{ + Name: opDeleteBatchImportJob, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteBatchImportJobInput{} + } + + output = &DeleteBatchImportJobOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteBatchImportJob API operation for Amazon Fraud Detector. +// +// Deletes data that was batch imported to Amazon Fraud Detector. +// +// 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 Fraud Detector's +// API operation DeleteBatchImportJob for usage and error information. +// +// Returned Error Types: +// * ValidationException +// An exception indicating a specified value is not allowed. +// +// * InternalServerException +// An exception indicating an internal server error. +// +// * ThrottlingException +// An exception indicating a throttling error. +// +// * AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteBatchImportJob +func (c *FraudDetector) DeleteBatchImportJob(input *DeleteBatchImportJobInput) (*DeleteBatchImportJobOutput, error) { + req, out := c.DeleteBatchImportJobRequest(input) + return out, req.Send() +} + +// DeleteBatchImportJobWithContext is the same as DeleteBatchImportJob with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteBatchImportJob 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 *FraudDetector) DeleteBatchImportJobWithContext(ctx aws.Context, input *DeleteBatchImportJobInput, opts ...request.Option) (*DeleteBatchImportJobOutput, error) { + req, out := c.DeleteBatchImportJobRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteBatchPredictionJob = "DeleteBatchPredictionJob" // DeleteBatchPredictionJobRequest generates a "aws/request.Request" representing the @@ -904,11 +1175,6 @@ func (c *FraudDetector) DeleteBatchPredictionJobRequest(input *DeleteBatchPredic // * ValidationException // An exception indicating a specified value is not allowed. // -// * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. -// // * InternalServerException // An exception indicating an internal server error. // @@ -1002,18 +1268,7 @@ func (c *FraudDetector) DeleteDetectorRequest(input *DeleteDetectorInput) (req * // // Returned Error Types: // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // * ValidationException // An exception indicating a specified value is not allowed. @@ -1114,9 +1369,7 @@ func (c *FraudDetector) DeleteDetectorVersionRequest(input *DeleteDetectorVersio // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -1125,18 +1378,7 @@ func (c *FraudDetector) DeleteDetectorVersionRequest(input *DeleteDetectorVersio // An exception indicating a throttling error. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // * AccessDeniedException // An exception indicating Amazon Fraud Detector does not have the needed permissions. @@ -1229,18 +1471,7 @@ func (c *FraudDetector) DeleteEntityTypeRequest(input *DeleteEntityTypeInput) (r // An exception indicating a specified value is not allowed. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // * InternalServerException // An exception indicating an internal server error. @@ -1418,8 +1649,8 @@ func (c *FraudDetector) DeleteEventTypeRequest(input *DeleteEventTypeInput) (req // // You cannot delete an event type that is used in a detector or a model. // -// When you delete an entity type, Amazon Fraud Detector permanently deletes -// that entity type and the data is no longer stored in Amazon Fraud Detector. +// When you delete an event type, Amazon Fraud Detector permanently deletes +// that event type and the data is no longer stored in Amazon Fraud Detector. // // 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 @@ -1430,18 +1661,7 @@ func (c *FraudDetector) DeleteEventTypeRequest(input *DeleteEventTypeInput) (req // // Returned Error Types: // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // * ValidationException // An exception indicating a specified value is not allowed. @@ -1479,81 +1699,166 @@ func (c *FraudDetector) DeleteEventTypeWithContext(ctx aws.Context, input *Delet return out, req.Send() } -const opDeleteExternalModel = "DeleteExternalModel" +const opDeleteEventsByEventType = "DeleteEventsByEventType" -// DeleteExternalModelRequest generates a "aws/request.Request" representing the -// client's request for the DeleteExternalModel operation. The "output" return +// DeleteEventsByEventTypeRequest generates a "aws/request.Request" representing the +// client's request for the DeleteEventsByEventType 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 DeleteExternalModel for more information on using the DeleteExternalModel +// See DeleteEventsByEventType for more information on using the DeleteEventsByEventType // 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 DeleteExternalModelRequest method. -// req, resp := client.DeleteExternalModelRequest(params) +// // Example sending a request using the DeleteEventsByEventTypeRequest method. +// req, resp := client.DeleteEventsByEventTypeRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteExternalModel -func (c *FraudDetector) DeleteExternalModelRequest(input *DeleteExternalModelInput) (req *request.Request, output *DeleteExternalModelOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventsByEventType +func (c *FraudDetector) DeleteEventsByEventTypeRequest(input *DeleteEventsByEventTypeInput) (req *request.Request, output *DeleteEventsByEventTypeOutput) { op := &request.Operation{ - Name: opDeleteExternalModel, + Name: opDeleteEventsByEventType, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DeleteExternalModelInput{} + input = &DeleteEventsByEventTypeInput{} } - output = &DeleteExternalModelOutput{} + output = &DeleteEventsByEventTypeOutput{} req = c.newRequest(op, input, output) - req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// DeleteExternalModel API operation for Amazon Fraud Detector. -// -// Removes a SageMaker model from Amazon Fraud Detector. +// DeleteEventsByEventType API operation for Amazon Fraud Detector. // -// You can remove an Amazon SageMaker model if it is not associated with a detector -// version. Removing a SageMaker model disconnects it from Amazon Fraud Detector, -// but the model remains available in SageMaker. +// Deletes all events of a particular event type. // // 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 Fraud Detector's -// API operation DeleteExternalModel for usage and error information. +// API operation DeleteEventsByEventType for usage and error information. // // Returned Error Types: -// * ValidationException -// An exception indicating a specified value is not allowed. -// // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: +// An exception indicating there was a conflict during a delete operation. // -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. +// * ValidationException +// An exception indicating a specified value is not allowed. // -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// * ResourceNotFoundException +// An exception indicating the specified resource was not found. +// +// * InternalServerException +// An exception indicating an internal server error. +// +// * ThrottlingException +// An exception indicating a throttling error. +// +// * AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventsByEventType +func (c *FraudDetector) DeleteEventsByEventType(input *DeleteEventsByEventTypeInput) (*DeleteEventsByEventTypeOutput, error) { + req, out := c.DeleteEventsByEventTypeRequest(input) + return out, req.Send() +} + +// DeleteEventsByEventTypeWithContext is the same as DeleteEventsByEventType with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteEventsByEventType 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 *FraudDetector) DeleteEventsByEventTypeWithContext(ctx aws.Context, input *DeleteEventsByEventTypeInput, opts ...request.Option) (*DeleteEventsByEventTypeOutput, error) { + req, out := c.DeleteEventsByEventTypeRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDeleteExternalModel = "DeleteExternalModel" + +// DeleteExternalModelRequest generates a "aws/request.Request" representing the +// client's request for the DeleteExternalModel 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 DeleteExternalModel for more information on using the DeleteExternalModel +// 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 DeleteExternalModelRequest method. +// req, resp := client.DeleteExternalModelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteExternalModel +func (c *FraudDetector) DeleteExternalModelRequest(input *DeleteExternalModelInput) (req *request.Request, output *DeleteExternalModelOutput) { + op := &request.Operation{ + Name: opDeleteExternalModel, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteExternalModelInput{} + } + + output = &DeleteExternalModelOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteExternalModel API operation for Amazon Fraud Detector. +// +// Removes a SageMaker model from Amazon Fraud Detector. +// +// You can remove an Amazon SageMaker model if it is not associated with a detector +// version. Removing a SageMaker model disconnects it from Amazon Fraud Detector, +// but the model remains available in SageMaker. +// +// 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 Fraud Detector's +// API operation DeleteExternalModel for usage and error information. +// +// Returned Error Types: +// * ValidationException +// An exception indicating a specified value is not allowed. +// +// * ConflictException +// An exception indicating there was a conflict during a delete operation. // // * InternalServerException // An exception indicating an internal server error. @@ -1656,18 +1961,7 @@ func (c *FraudDetector) DeleteLabelRequest(input *DeleteLabelInput) (req *reques // An exception indicating a specified value is not allowed. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // * ThrottlingException // An exception indicating a throttling error. @@ -1759,18 +2053,7 @@ func (c *FraudDetector) DeleteModelRequest(input *DeleteModelInput) (req *reques // // Returned Error Types: // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // * ValidationException // An exception indicating a specified value is not allowed. @@ -1884,18 +2167,7 @@ func (c *FraudDetector) DeleteModelVersionRequest(input *DeleteModelVersionInput // An exception indicating a throttling error. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModelVersion func (c *FraudDetector) DeleteModelVersion(input *DeleteModelVersionInput) (*DeleteModelVersionOutput, error) { @@ -1989,18 +2261,7 @@ func (c *FraudDetector) DeleteOutcomeRequest(input *DeleteOutcomeInput) (req *re // An exception indicating a throttling error. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // * AccessDeniedException // An exception indicating Amazon Fraud Detector does not have the needed permissions. @@ -2089,18 +2350,7 @@ func (c *FraudDetector) DeleteRuleRequest(input *DeleteRuleInput) (req *request. // // Returned Error Types: // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // * ValidationException // An exception indicating a specified value is not allowed. @@ -2207,18 +2457,7 @@ func (c *FraudDetector) DeleteVariableRequest(input *DeleteVariableInput) (req * // An exception indicating a specified value is not allowed. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // * InternalServerException // An exception indicating an internal server error. @@ -2311,9 +2550,7 @@ func (c *FraudDetector) DescribeDetectorRequest(input *DescribeDetectorInput) (r // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -2414,9 +2651,7 @@ func (c *FraudDetector) DescribeModelVersionsRequest(input *DescribeModelVersion // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -2503,6 +2738,162 @@ func (c *FraudDetector) DescribeModelVersionsPagesWithContext(ctx aws.Context, i return p.Err() } +const opGetBatchImportJobs = "GetBatchImportJobs" + +// GetBatchImportJobsRequest generates a "aws/request.Request" representing the +// client's request for the GetBatchImportJobs 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 GetBatchImportJobs for more information on using the GetBatchImportJobs +// 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 GetBatchImportJobsRequest method. +// req, resp := client.GetBatchImportJobsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetBatchImportJobs +func (c *FraudDetector) GetBatchImportJobsRequest(input *GetBatchImportJobsInput) (req *request.Request, output *GetBatchImportJobsOutput) { + op := &request.Operation{ + Name: opGetBatchImportJobs, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &GetBatchImportJobsInput{} + } + + output = &GetBatchImportJobsOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetBatchImportJobs API operation for Amazon Fraud Detector. +// +// Gets all batch import jobs or a specific job of the specified ID. This is +// a paginated API. If you provide a null maxResults, this action retrieves +// a maximum of 50 records per page. If you provide a maxResults, the value +// must be between 1 and 50. To get the next page results, provide the pagination +// token from the GetBatchImportJobsResponse as part of your request. A null +// pagination token fetches the records from the beginning. +// +// 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 Fraud Detector's +// API operation GetBatchImportJobs for usage and error information. +// +// Returned Error Types: +// * ValidationException +// An exception indicating a specified value is not allowed. +// +// * ResourceNotFoundException +// An exception indicating the specified resource was not found. +// +// * InternalServerException +// An exception indicating an internal server error. +// +// * ThrottlingException +// An exception indicating a throttling error. +// +// * AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetBatchImportJobs +func (c *FraudDetector) GetBatchImportJobs(input *GetBatchImportJobsInput) (*GetBatchImportJobsOutput, error) { + req, out := c.GetBatchImportJobsRequest(input) + return out, req.Send() +} + +// GetBatchImportJobsWithContext is the same as GetBatchImportJobs with the addition of +// the ability to pass a context and additional request options. +// +// See GetBatchImportJobs 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 *FraudDetector) GetBatchImportJobsWithContext(ctx aws.Context, input *GetBatchImportJobsInput, opts ...request.Option) (*GetBatchImportJobsOutput, error) { + req, out := c.GetBatchImportJobsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// GetBatchImportJobsPages iterates over the pages of a GetBatchImportJobs operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See GetBatchImportJobs method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a GetBatchImportJobs operation. +// pageNum := 0 +// err := client.GetBatchImportJobsPages(params, +// func(page *frauddetector.GetBatchImportJobsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +func (c *FraudDetector) GetBatchImportJobsPages(input *GetBatchImportJobsInput, fn func(*GetBatchImportJobsOutput, bool) bool) error { + return c.GetBatchImportJobsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// GetBatchImportJobsPagesWithContext same as GetBatchImportJobsPages except +// it takes a Context and allows setting request options on the pages. +// +// 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 *FraudDetector) GetBatchImportJobsPagesWithContext(ctx aws.Context, input *GetBatchImportJobsInput, fn func(*GetBatchImportJobsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *GetBatchImportJobsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.GetBatchImportJobsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*GetBatchImportJobsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opGetBatchPredictionJobs = "GetBatchPredictionJobs" // GetBatchPredictionJobsRequest generates a "aws/request.Request" representing the @@ -2572,9 +2963,7 @@ func (c *FraudDetector) GetBatchPredictionJobsRequest(input *GetBatchPredictionJ // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -2661,67 +3050,65 @@ func (c *FraudDetector) GetBatchPredictionJobsPagesWithContext(ctx aws.Context, return p.Err() } -const opGetDetectorVersion = "GetDetectorVersion" +const opGetDeleteEventsByEventTypeStatus = "GetDeleteEventsByEventTypeStatus" -// GetDetectorVersionRequest generates a "aws/request.Request" representing the -// client's request for the GetDetectorVersion operation. The "output" return +// GetDeleteEventsByEventTypeStatusRequest generates a "aws/request.Request" representing the +// client's request for the GetDeleteEventsByEventTypeStatus 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 GetDetectorVersion for more information on using the GetDetectorVersion +// See GetDeleteEventsByEventTypeStatus for more information on using the GetDeleteEventsByEventTypeStatus // 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 GetDetectorVersionRequest method. -// req, resp := client.GetDetectorVersionRequest(params) +// // Example sending a request using the GetDeleteEventsByEventTypeStatusRequest method. +// req, resp := client.GetDeleteEventsByEventTypeStatusRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectorVersion -func (c *FraudDetector) GetDetectorVersionRequest(input *GetDetectorVersionInput) (req *request.Request, output *GetDetectorVersionOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDeleteEventsByEventTypeStatus +func (c *FraudDetector) GetDeleteEventsByEventTypeStatusRequest(input *GetDeleteEventsByEventTypeStatusInput) (req *request.Request, output *GetDeleteEventsByEventTypeStatusOutput) { op := &request.Operation{ - Name: opGetDetectorVersion, + Name: opGetDeleteEventsByEventTypeStatus, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &GetDetectorVersionInput{} + input = &GetDeleteEventsByEventTypeStatusInput{} } - output = &GetDetectorVersionOutput{} + output = &GetDeleteEventsByEventTypeStatusOutput{} req = c.newRequest(op, input, output) return } -// GetDetectorVersion API operation for Amazon Fraud Detector. +// GetDeleteEventsByEventTypeStatus API operation for Amazon Fraud Detector. // -// Gets a particular detector version. +// Retrieves the status of a DeleteEventsByEventType action. // // 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 Fraud Detector's -// API operation GetDetectorVersion for usage and error information. +// API operation GetDeleteEventsByEventTypeStatus for usage and error information. // // Returned Error Types: // * ValidationException // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -2734,39 +3121,132 @@ func (c *FraudDetector) GetDetectorVersionRequest(input *GetDetectorVersionInput // This can occur if you submit a request, such as PutExternalModel, that specifies // a role that is not in your account. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectorVersion -func (c *FraudDetector) GetDetectorVersion(input *GetDetectorVersionInput) (*GetDetectorVersionOutput, error) { - req, out := c.GetDetectorVersionRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDeleteEventsByEventTypeStatus +func (c *FraudDetector) GetDeleteEventsByEventTypeStatus(input *GetDeleteEventsByEventTypeStatusInput) (*GetDeleteEventsByEventTypeStatusOutput, error) { + req, out := c.GetDeleteEventsByEventTypeStatusRequest(input) return out, req.Send() } -// GetDetectorVersionWithContext is the same as GetDetectorVersion with the addition of +// GetDeleteEventsByEventTypeStatusWithContext is the same as GetDeleteEventsByEventTypeStatus with the addition of // the ability to pass a context and additional request options. // -// See GetDetectorVersion for details on how to use this API operation. +// See GetDeleteEventsByEventTypeStatus 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 *FraudDetector) GetDetectorVersionWithContext(ctx aws.Context, input *GetDetectorVersionInput, opts ...request.Option) (*GetDetectorVersionOutput, error) { - req, out := c.GetDetectorVersionRequest(input) +func (c *FraudDetector) GetDeleteEventsByEventTypeStatusWithContext(ctx aws.Context, input *GetDeleteEventsByEventTypeStatusInput, opts ...request.Option) (*GetDeleteEventsByEventTypeStatusOutput, error) { + req, out := c.GetDeleteEventsByEventTypeStatusRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opGetDetectors = "GetDetectors" +const opGetDetectorVersion = "GetDetectorVersion" -// GetDetectorsRequest generates a "aws/request.Request" representing the -// client's request for the GetDetectors operation. The "output" return +// GetDetectorVersionRequest generates a "aws/request.Request" representing the +// client's request for the GetDetectorVersion 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 GetDetectors for more information on using the GetDetectors +// See GetDetectorVersion for more information on using the GetDetectorVersion +// 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 GetDetectorVersionRequest method. +// req, resp := client.GetDetectorVersionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectorVersion +func (c *FraudDetector) GetDetectorVersionRequest(input *GetDetectorVersionInput) (req *request.Request, output *GetDetectorVersionOutput) { + op := &request.Operation{ + Name: opGetDetectorVersion, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetDetectorVersionInput{} + } + + output = &GetDetectorVersionOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetDetectorVersion API operation for Amazon Fraud Detector. +// +// Gets a particular detector version. +// +// 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 Fraud Detector's +// API operation GetDetectorVersion for usage and error information. +// +// Returned Error Types: +// * ValidationException +// An exception indicating a specified value is not allowed. +// +// * ResourceNotFoundException +// An exception indicating the specified resource was not found. +// +// * InternalServerException +// An exception indicating an internal server error. +// +// * ThrottlingException +// An exception indicating a throttling error. +// +// * AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetDetectorVersion +func (c *FraudDetector) GetDetectorVersion(input *GetDetectorVersionInput) (*GetDetectorVersionOutput, error) { + req, out := c.GetDetectorVersionRequest(input) + return out, req.Send() +} + +// GetDetectorVersionWithContext is the same as GetDetectorVersion with the addition of +// the ability to pass a context and additional request options. +// +// See GetDetectorVersion 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 *FraudDetector) GetDetectorVersionWithContext(ctx aws.Context, input *GetDetectorVersionInput, opts ...request.Option) (*GetDetectorVersionOutput, error) { + req, out := c.GetDetectorVersionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opGetDetectors = "GetDetectors" + +// GetDetectorsRequest generates a "aws/request.Request" representing the +// client's request for the GetDetectors 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 GetDetectors for more information on using the GetDetectors // API call, and error handling. // // This method is useful when you want to inject custom logic or configuration @@ -2825,9 +3305,7 @@ func (c *FraudDetector) GetDetectorsRequest(input *GetDetectorsInput) (req *requ // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -2983,9 +3461,7 @@ func (c *FraudDetector) GetEntityTypesRequest(input *GetEntityTypesInput) (req * // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -3072,6 +3548,100 @@ func (c *FraudDetector) GetEntityTypesPagesWithContext(ctx aws.Context, input *G return p.Err() } +const opGetEvent = "GetEvent" + +// GetEventRequest generates a "aws/request.Request" representing the +// client's request for the GetEvent 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 GetEvent for more information on using the GetEvent +// 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 GetEventRequest method. +// req, resp := client.GetEventRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEvent +func (c *FraudDetector) GetEventRequest(input *GetEventInput) (req *request.Request, output *GetEventOutput) { + op := &request.Operation{ + Name: opGetEvent, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetEventInput{} + } + + output = &GetEventOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetEvent API operation for Amazon Fraud Detector. +// +// Retrieves details of events stored with Amazon Fraud Detector. This action +// does not retrieve prediction results. +// +// 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 Fraud Detector's +// API operation GetEvent for usage and error information. +// +// Returned Error Types: +// * ValidationException +// An exception indicating a specified value is not allowed. +// +// * ResourceNotFoundException +// An exception indicating the specified resource was not found. +// +// * InternalServerException +// An exception indicating an internal server error. +// +// * ThrottlingException +// An exception indicating a throttling error. +// +// * AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEvent +func (c *FraudDetector) GetEvent(input *GetEventInput) (*GetEventOutput, error) { + req, out := c.GetEventRequest(input) + return out, req.Send() +} + +// GetEventWithContext is the same as GetEvent with the addition of +// the ability to pass a context and additional request options. +// +// See GetEvent 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 *FraudDetector) GetEventWithContext(ctx aws.Context, input *GetEventInput, opts ...request.Option) (*GetEventOutput, error) { + req, out := c.GetEventRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opGetEventPrediction = "GetEventPrediction" // GetEventPredictionRequest generates a "aws/request.Request" representing the @@ -3131,9 +3701,7 @@ func (c *FraudDetector) GetEventPredictionRequest(input *GetEventPredictionInput // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -3147,18 +3715,7 @@ func (c *FraudDetector) GetEventPredictionRequest(input *GetEventPredictionInput // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // * ResourceUnavailableException // An exception indicating that the attached customer-owned (external) model @@ -3255,9 +3812,7 @@ func (c *FraudDetector) GetEventTypesRequest(input *GetEventTypesInput) (req *re // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -3413,9 +3968,7 @@ func (c *FraudDetector) GetExternalModelsRequest(input *GetExternalModelsInput) // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -3546,9 +4099,8 @@ func (c *FraudDetector) GetKMSEncryptionKeyRequest(input *GetKMSEncryptionKeyInp // GetKMSEncryptionKey API operation for Amazon Fraud Detector. // -// Gets the encryption key if a Key Management Service (KMS) customer master -// key (CMK) has been specified to be used to encrypt content in Amazon Fraud -// Detector. +// Gets the encryption key if a KMS key has been specified to be used to encrypt +// content in Amazon Fraud Detector. // // 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 @@ -3559,9 +4111,7 @@ func (c *FraudDetector) GetKMSEncryptionKeyRequest(input *GetKMSEncryptionKeyInp // // Returned Error Types: // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -3665,9 +4215,7 @@ func (c *FraudDetector) GetLabelsRequest(input *GetLabelsInput) (req *request.Re // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -3812,9 +4360,7 @@ func (c *FraudDetector) GetModelVersionRequest(input *GetModelVersionInput) (req // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -3923,9 +4469,7 @@ func (c *FraudDetector) GetModelsRequest(input *GetModelsInput) (req *request.Re // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -4081,9 +4625,7 @@ func (c *FraudDetector) GetOutcomesRequest(input *GetOutcomesInput) (req *reques // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -4242,9 +4784,7 @@ func (c *FraudDetector) GetRulesRequest(input *GetRulesInput) (req *request.Requ // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -4400,9 +4940,7 @@ func (c *FraudDetector) GetVariablesRequest(input *GetVariablesInput) (req *requ // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -4556,9 +5094,7 @@ func (c *FraudDetector) ListTagsForResourceRequest(input *ListTagsForResourceInp // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * ThrottlingException // An exception indicating a throttling error. @@ -4712,18 +5248,7 @@ func (c *FraudDetector) PutDetectorRequest(input *PutDetectorInput) (req *reques // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutDetector func (c *FraudDetector) PutDetector(input *PutDetectorInput) (*PutDetectorOutput, error) { @@ -4820,18 +5345,7 @@ func (c *FraudDetector) PutEntityTypeRequest(input *PutEntityTypeInput) (req *re // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEntityType func (c *FraudDetector) PutEntityType(input *PutEntityTypeInput) (*PutEntityTypeOutput, error) { @@ -4931,18 +5445,7 @@ func (c *FraudDetector) PutEventTypeRequest(input *PutEventTypeInput) (req *requ // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventType func (c *FraudDetector) PutEventType(input *PutEventTypeInput) (*PutEventTypeOutput, error) { @@ -5038,18 +5541,7 @@ func (c *FraudDetector) PutExternalModelRequest(input *PutExternalModelInput) (r // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutExternalModel func (c *FraudDetector) PutExternalModel(input *PutExternalModelInput) (*PutExternalModelOutput, error) { @@ -5118,8 +5610,7 @@ func (c *FraudDetector) PutKMSEncryptionKeyRequest(input *PutKMSEncryptionKeyInp // PutKMSEncryptionKey API operation for Amazon Fraud Detector. // -// Specifies the Key Management Service (KMS) customer master key (CMK) to be -// used to encrypt content in Amazon Fraud Detector. +// Specifies the KMS key to be used to encrypt content in Amazon Fraud Detector. // // 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 @@ -5133,9 +5624,7 @@ func (c *FraudDetector) PutKMSEncryptionKeyRequest(input *PutKMSEncryptionKeyInp // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -5149,18 +5638,7 @@ func (c *FraudDetector) PutKMSEncryptionKeyRequest(input *PutKMSEncryptionKeyInp // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutKMSEncryptionKey func (c *FraudDetector) PutKMSEncryptionKey(input *PutKMSEncryptionKeyInput) (*PutKMSEncryptionKeyOutput, error) { @@ -5256,18 +5734,7 @@ func (c *FraudDetector) PutLabelRequest(input *PutLabelInput) (req *request.Requ // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutLabel func (c *FraudDetector) PutLabel(input *PutLabelInput) (*PutLabelOutput, error) { @@ -5361,18 +5828,7 @@ func (c *FraudDetector) PutOutcomeRequest(input *PutOutcomeInput) (req *request. // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutOutcome func (c *FraudDetector) PutOutcome(input *PutOutcomeInput) (*PutOutcomeOutput, error) { @@ -5396,68 +5852,74 @@ func (c *FraudDetector) PutOutcomeWithContext(ctx aws.Context, input *PutOutcome return out, req.Send() } -const opTagResource = "TagResource" +const opSendEvent = "SendEvent" -// TagResourceRequest generates a "aws/request.Request" representing the -// client's request for the TagResource operation. The "output" return +// SendEventRequest generates a "aws/request.Request" representing the +// client's request for the SendEvent 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 TagResource for more information on using the TagResource +// See SendEvent for more information on using the SendEvent // 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 TagResourceRequest method. -// req, resp := client.TagResourceRequest(params) +// // Example sending a request using the SendEventRequest method. +// req, resp := client.SendEventRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TagResource -func (c *FraudDetector) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/SendEvent +func (c *FraudDetector) SendEventRequest(input *SendEventInput) (req *request.Request, output *SendEventOutput) { op := &request.Operation{ - Name: opTagResource, + Name: opSendEvent, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &TagResourceInput{} + input = &SendEventInput{} } - output = &TagResourceOutput{} + output = &SendEventOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// TagResource API operation for Amazon Fraud Detector. +// SendEvent API operation for Amazon Fraud Detector. // -// Assigns tags to a resource. +// Stores events in Amazon Fraud Detector without generating fraud predictions +// for those events. For example, you can use SendEvent to upload a historical +// dataset, which you can then later use to train a model. // // 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 Fraud Detector's -// API operation TagResource for usage and error information. +// API operation SendEvent for usage and error information. // // Returned Error Types: // * ValidationException // An exception indicating a specified value is not allowed. // +// * ConflictException +// An exception indicating there was a conflict during a delete operation. +// // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. +// +// * InternalServerException +// An exception indicating an internal server error. // // * ThrottlingException // An exception indicating a throttling error. @@ -5467,90 +5929,88 @@ func (c *FraudDetector) TagResourceRequest(input *TagResourceInput) (req *reques // This can occur if you submit a request, such as PutExternalModel, that specifies // a role that is not in your account. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TagResource -func (c *FraudDetector) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/SendEvent +func (c *FraudDetector) SendEvent(input *SendEventInput) (*SendEventOutput, error) { + req, out := c.SendEventRequest(input) return out, req.Send() } -// TagResourceWithContext is the same as TagResource with the addition of +// SendEventWithContext is the same as SendEvent with the addition of // the ability to pass a context and additional request options. // -// See TagResource for details on how to use this API operation. +// See SendEvent 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 *FraudDetector) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { - req, out := c.TagResourceRequest(input) +func (c *FraudDetector) SendEventWithContext(ctx aws.Context, input *SendEventInput, opts ...request.Option) (*SendEventOutput, error) { + req, out := c.SendEventRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opUntagResource = "UntagResource" +const opTagResource = "TagResource" -// UntagResourceRequest generates a "aws/request.Request" representing the -// client's request for the UntagResource operation. The "output" return +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource 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 UntagResource for more information on using the UntagResource +// See TagResource for more information on using the TagResource // 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 UntagResourceRequest method. -// req, resp := client.UntagResourceRequest(params) +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UntagResource -func (c *FraudDetector) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TagResource +func (c *FraudDetector) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { op := &request.Operation{ - Name: opUntagResource, + Name: opTagResource, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &UntagResourceInput{} + input = &TagResourceInput{} } - output = &UntagResourceOutput{} + output = &TagResourceOutput{} req = c.newRequest(op, input, output) req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) return } -// UntagResource API operation for Amazon Fraud Detector. +// TagResource API operation for Amazon Fraud Detector. // -// Removes tags from a resource. +// Assigns tags to a resource. // // 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 Fraud Detector's -// API operation UntagResource for usage and error information. +// API operation TagResource for usage and error information. // // Returned Error Types: // * ValidationException // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * ThrottlingException // An exception indicating a throttling error. @@ -5560,24 +6020,115 @@ func (c *FraudDetector) UntagResourceRequest(input *UntagResourceInput) (req *re // This can occur if you submit a request, such as PutExternalModel, that specifies // a role that is not in your account. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UntagResource -func (c *FraudDetector) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TagResource +func (c *FraudDetector) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) return out, req.Send() } -// UntagResourceWithContext is the same as UntagResource with the addition of +// TagResourceWithContext is the same as TagResource with the addition of // the ability to pass a context and additional request options. // -// See UntagResource for details on how to use this API operation. +// See TagResource 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 *FraudDetector) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { - req, out := c.UntagResourceRequest(input) - req.SetContext(ctx) +func (c *FraudDetector) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource 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 UntagResource for more information on using the UntagResource +// 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 UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UntagResource +func (c *FraudDetector) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for Amazon Fraud Detector. +// +// Removes tags from a resource. +// +// 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 Fraud Detector's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// * ValidationException +// An exception indicating a specified value is not allowed. +// +// * ResourceNotFoundException +// An exception indicating the specified resource was not found. +// +// * ThrottlingException +// An exception indicating a throttling error. +// +// * AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UntagResource +func (c *FraudDetector) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource 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 *FraudDetector) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } @@ -5643,9 +6194,7 @@ func (c *FraudDetector) UpdateDetectorVersionRequest(input *UpdateDetectorVersio // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -5659,18 +6208,7 @@ func (c *FraudDetector) UpdateDetectorVersionRequest(input *UpdateDetectorVersio // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersion func (c *FraudDetector) UpdateDetectorVersion(input *UpdateDetectorVersionInput) (*UpdateDetectorVersionOutput, error) { @@ -5765,18 +6303,7 @@ func (c *FraudDetector) UpdateDetectorVersionMetadataRequest(input *UpdateDetect // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionMetadata func (c *FraudDetector) UpdateDetectorVersionMetadata(input *UpdateDetectorVersionMetadataInput) (*UpdateDetectorVersionMetadataOutput, error) { @@ -5861,9 +6388,7 @@ func (c *FraudDetector) UpdateDetectorVersionStatusRequest(input *UpdateDetector // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -5877,18 +6402,7 @@ func (c *FraudDetector) UpdateDetectorVersionStatusRequest(input *UpdateDetector // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionStatus func (c *FraudDetector) UpdateDetectorVersionStatus(input *UpdateDetectorVersionStatusInput) (*UpdateDetectorVersionStatusOutput, error) { @@ -5912,6 +6426,103 @@ func (c *FraudDetector) UpdateDetectorVersionStatusWithContext(ctx aws.Context, return out, req.Send() } +const opUpdateEventLabel = "UpdateEventLabel" + +// UpdateEventLabelRequest generates a "aws/request.Request" representing the +// client's request for the UpdateEventLabel 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 UpdateEventLabel for more information on using the UpdateEventLabel +// 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 UpdateEventLabelRequest method. +// req, resp := client.UpdateEventLabelRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateEventLabel +func (c *FraudDetector) UpdateEventLabelRequest(input *UpdateEventLabelInput) (req *request.Request, output *UpdateEventLabelOutput) { + op := &request.Operation{ + Name: opUpdateEventLabel, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateEventLabelInput{} + } + + output = &UpdateEventLabelOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateEventLabel API operation for Amazon Fraud Detector. +// +// Updates the specified event with a new label. +// +// 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 Fraud Detector's +// API operation UpdateEventLabel for usage and error information. +// +// Returned Error Types: +// * ValidationException +// An exception indicating a specified value is not allowed. +// +// * ResourceNotFoundException +// An exception indicating the specified resource was not found. +// +// * InternalServerException +// An exception indicating an internal server error. +// +// * ThrottlingException +// An exception indicating a throttling error. +// +// * AccessDeniedException +// An exception indicating Amazon Fraud Detector does not have the needed permissions. +// This can occur if you submit a request, such as PutExternalModel, that specifies +// a role that is not in your account. +// +// * ConflictException +// An exception indicating there was a conflict during a delete operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateEventLabel +func (c *FraudDetector) UpdateEventLabel(input *UpdateEventLabelInput) (*UpdateEventLabelOutput, error) { + req, out := c.UpdateEventLabelRequest(input) + return out, req.Send() +} + +// UpdateEventLabelWithContext is the same as UpdateEventLabel with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateEventLabel 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 *FraudDetector) UpdateEventLabelWithContext(ctx aws.Context, input *UpdateEventLabelInput, opts ...request.Option) (*UpdateEventLabelOutput, error) { + req, out := c.UpdateEventLabelRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateModel = "UpdateModel" // UpdateModelRequest generates a "aws/request.Request" representing the @@ -5957,7 +6568,7 @@ func (c *FraudDetector) UpdateModelRequest(input *UpdateModelInput) (req *reques // UpdateModel API operation for Amazon Fraud Detector. // -// Updates a model. You can update the description attribute using this action. +// Updates model description. // // 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 @@ -5971,9 +6582,7 @@ func (c *FraudDetector) UpdateModelRequest(input *UpdateModelInput) (req *reques // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -5987,18 +6596,7 @@ func (c *FraudDetector) UpdateModelRequest(input *UpdateModelInput) (req *reques // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModel func (c *FraudDetector) UpdateModel(input *UpdateModelInput) (*UpdateModelOutput, error) { @@ -6084,9 +6682,7 @@ func (c *FraudDetector) UpdateModelVersionRequest(input *UpdateModelVersionInput // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * AccessDeniedException // An exception indicating Amazon Fraud Detector does not have the needed permissions. @@ -6100,18 +6696,7 @@ func (c *FraudDetector) UpdateModelVersionRequest(input *UpdateModelVersionInput // An exception indicating an internal server error. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersion func (c *FraudDetector) UpdateModelVersion(input *UpdateModelVersionInput) (*UpdateModelVersionOutput, error) { @@ -6186,7 +6771,7 @@ func (c *FraudDetector) UpdateModelVersionStatusRequest(input *UpdateModelVersio // // Change the TRAINING_COMPLETE status to ACTIVE. // -// Change ACTIVEto INACTIVE. +// Change ACTIVE to INACTIVE. // // 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 @@ -6200,9 +6785,7 @@ func (c *FraudDetector) UpdateModelVersionStatusRequest(input *UpdateModelVersio // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -6216,18 +6799,7 @@ func (c *FraudDetector) UpdateModelVersionStatusRequest(input *UpdateModelVersio // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateModelVersionStatus func (c *FraudDetector) UpdateModelVersionStatus(input *UpdateModelVersionStatusInput) (*UpdateModelVersionStatusOutput, error) { @@ -6310,9 +6882,7 @@ func (c *FraudDetector) UpdateRuleMetadataRequest(input *UpdateRuleMetadataInput // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -6326,18 +6896,7 @@ func (c *FraudDetector) UpdateRuleMetadataRequest(input *UpdateRuleMetadataInput // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleMetadata func (c *FraudDetector) UpdateRuleMetadata(input *UpdateRuleMetadataInput) (*UpdateRuleMetadataOutput, error) { @@ -6420,9 +6979,7 @@ func (c *FraudDetector) UpdateRuleVersionRequest(input *UpdateRuleVersionInput) // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -6436,18 +6993,7 @@ func (c *FraudDetector) UpdateRuleVersionRequest(input *UpdateRuleVersionInput) // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateRuleVersion func (c *FraudDetector) UpdateRuleVersion(input *UpdateRuleVersionInput) (*UpdateRuleVersionOutput, error) { @@ -6530,9 +7076,7 @@ func (c *FraudDetector) UpdateVariableRequest(input *UpdateVariableInput) (req * // An exception indicating a specified value is not allowed. // // * ResourceNotFoundException -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. // // * InternalServerException // An exception indicating an internal server error. @@ -6546,18 +7090,7 @@ func (c *FraudDetector) UpdateVariableRequest(input *UpdateVariableInput) (req * // a role that is not in your account. // // * ConflictException -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. +// An exception indicating there was a conflict during a delete operation. // // See also, https://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateVariable func (c *FraudDetector) UpdateVariable(input *UpdateVariableInput) (*UpdateVariableOutput, error) { @@ -6935,54 +7468,47 @@ func (s *BatchGetVariableOutput) SetVariables(v []*Variable) *BatchGetVariableOu return s } -// The batch prediction details. -type BatchPrediction struct { +// The batch import job details. +type BatchImport struct { _ struct{} `type:"structure"` - // The ARN of batch prediction job. + // The ARN of the batch import job. Arn *string `locationName:"arn" min:"1" type:"string"` - // Timestamp of when the batch prediction job comleted. + // Timestamp of when batch import job completed. CompletionTime *string `locationName:"completionTime" min:"11" type:"string"` - // The name of the detector. - DetectorName *string `locationName:"detectorName" min:"1" type:"string"` - - // The detector version. - DetectorVersion *string `locationName:"detectorVersion" min:"3" type:"string"` - // The name of the event type. EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` - // The reason a batch prediction job failed. + // The number of records that failed to import. + FailedRecordsCount *int64 `locationName:"failedRecordsCount" type:"integer"` + + // The reason batch import job failed. FailureReason *string `locationName:"failureReason" type:"string"` // The ARN of the IAM role to use for this job request. IamRoleArn *string `locationName:"iamRoleArn" min:"1" type:"string"` - // The Amazon S3 location of your training file. + // The Amazon S3 location of your data file for batch import. InputPath *string `locationName:"inputPath" min:"1" type:"string"` - // The job ID for the batch prediction. + // The ID of the batch import job. JobId *string `locationName:"jobId" min:"1" type:"string"` - // Timestamp of most recent heartbeat indicating the batch prediction job was - // making progress. - LastHeartbeatTime *string `locationName:"lastHeartbeatTime" min:"11" type:"string"` - // The Amazon S3 location of your output file. OutputPath *string `locationName:"outputPath" min:"1" type:"string"` - // The number of records processed by the batch prediction job. + // The number of records processed by batch import job. ProcessedRecordsCount *int64 `locationName:"processedRecordsCount" type:"integer"` - // Timestamp of when the batch prediction job started. + // Timestamp of when the batch import job started. StartTime *string `locationName:"startTime" min:"11" type:"string"` - // The batch prediction status. + // The status of the batch import job. Status *string `locationName:"status" type:"string" enum:"AsyncJobStatus"` - // The total number of records in the batch prediction job. + // The total number of records in the batch import job. TotalRecordsCount *int64 `locationName:"totalRecordsCount" type:"integer"` } @@ -6991,7 +7517,7 @@ type BatchPrediction struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchPrediction) String() string { +func (s BatchImport) String() string { return awsutil.Prettify(s) } @@ -7000,108 +7526,329 @@ func (s BatchPrediction) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s BatchPrediction) GoString() string { +func (s BatchImport) GoString() string { return s.String() } // SetArn sets the Arn field's value. -func (s *BatchPrediction) SetArn(v string) *BatchPrediction { +func (s *BatchImport) SetArn(v string) *BatchImport { s.Arn = &v return s } // SetCompletionTime sets the CompletionTime field's value. -func (s *BatchPrediction) SetCompletionTime(v string) *BatchPrediction { +func (s *BatchImport) SetCompletionTime(v string) *BatchImport { s.CompletionTime = &v return s } -// SetDetectorName sets the DetectorName field's value. -func (s *BatchPrediction) SetDetectorName(v string) *BatchPrediction { - s.DetectorName = &v - return s -} - -// SetDetectorVersion sets the DetectorVersion field's value. -func (s *BatchPrediction) SetDetectorVersion(v string) *BatchPrediction { - s.DetectorVersion = &v +// SetEventTypeName sets the EventTypeName field's value. +func (s *BatchImport) SetEventTypeName(v string) *BatchImport { + s.EventTypeName = &v return s } -// SetEventTypeName sets the EventTypeName field's value. -func (s *BatchPrediction) SetEventTypeName(v string) *BatchPrediction { - s.EventTypeName = &v +// SetFailedRecordsCount sets the FailedRecordsCount field's value. +func (s *BatchImport) SetFailedRecordsCount(v int64) *BatchImport { + s.FailedRecordsCount = &v return s } // SetFailureReason sets the FailureReason field's value. -func (s *BatchPrediction) SetFailureReason(v string) *BatchPrediction { +func (s *BatchImport) SetFailureReason(v string) *BatchImport { s.FailureReason = &v return s } // SetIamRoleArn sets the IamRoleArn field's value. -func (s *BatchPrediction) SetIamRoleArn(v string) *BatchPrediction { +func (s *BatchImport) SetIamRoleArn(v string) *BatchImport { s.IamRoleArn = &v return s } // SetInputPath sets the InputPath field's value. -func (s *BatchPrediction) SetInputPath(v string) *BatchPrediction { +func (s *BatchImport) SetInputPath(v string) *BatchImport { s.InputPath = &v return s } // SetJobId sets the JobId field's value. -func (s *BatchPrediction) SetJobId(v string) *BatchPrediction { +func (s *BatchImport) SetJobId(v string) *BatchImport { s.JobId = &v return s } -// SetLastHeartbeatTime sets the LastHeartbeatTime field's value. -func (s *BatchPrediction) SetLastHeartbeatTime(v string) *BatchPrediction { - s.LastHeartbeatTime = &v - return s -} - // SetOutputPath sets the OutputPath field's value. -func (s *BatchPrediction) SetOutputPath(v string) *BatchPrediction { +func (s *BatchImport) SetOutputPath(v string) *BatchImport { s.OutputPath = &v return s } // SetProcessedRecordsCount sets the ProcessedRecordsCount field's value. -func (s *BatchPrediction) SetProcessedRecordsCount(v int64) *BatchPrediction { +func (s *BatchImport) SetProcessedRecordsCount(v int64) *BatchImport { s.ProcessedRecordsCount = &v return s } // SetStartTime sets the StartTime field's value. -func (s *BatchPrediction) SetStartTime(v string) *BatchPrediction { +func (s *BatchImport) SetStartTime(v string) *BatchImport { s.StartTime = &v return s } // SetStatus sets the Status field's value. -func (s *BatchPrediction) SetStatus(v string) *BatchPrediction { +func (s *BatchImport) SetStatus(v string) *BatchImport { s.Status = &v return s } // SetTotalRecordsCount sets the TotalRecordsCount field's value. -func (s *BatchPrediction) SetTotalRecordsCount(v int64) *BatchPrediction { +func (s *BatchImport) SetTotalRecordsCount(v int64) *BatchImport { s.TotalRecordsCount = &v return s } -type CancelBatchPredictionJobInput struct { +// The batch prediction details. +type BatchPrediction struct { _ struct{} `type:"structure"` - // The ID of the batch prediction job to cancel. - // - // JobId is a required field - JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` -} + // The ARN of batch prediction job. + Arn *string `locationName:"arn" min:"1" type:"string"` + + // Timestamp of when the batch prediction job completed. + CompletionTime *string `locationName:"completionTime" min:"11" type:"string"` + + // The name of the detector. + DetectorName *string `locationName:"detectorName" min:"1" type:"string"` + + // The detector version. + DetectorVersion *string `locationName:"detectorVersion" min:"3" type:"string"` + + // The name of the event type. + EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` + + // The reason a batch prediction job failed. + FailureReason *string `locationName:"failureReason" type:"string"` + + // The ARN of the IAM role to use for this job request. + IamRoleArn *string `locationName:"iamRoleArn" min:"1" type:"string"` + + // The Amazon S3 location of your training file. + InputPath *string `locationName:"inputPath" min:"1" type:"string"` + + // The job ID for the batch prediction. + JobId *string `locationName:"jobId" min:"1" type:"string"` + + // Timestamp of most recent heartbeat indicating the batch prediction job was + // making progress. + LastHeartbeatTime *string `locationName:"lastHeartbeatTime" min:"11" type:"string"` + + // The Amazon S3 location of your output file. + OutputPath *string `locationName:"outputPath" min:"1" type:"string"` + + // The number of records processed by the batch prediction job. + ProcessedRecordsCount *int64 `locationName:"processedRecordsCount" type:"integer"` + + // Timestamp of when the batch prediction job started. + StartTime *string `locationName:"startTime" min:"11" type:"string"` + + // The batch prediction status. + Status *string `locationName:"status" type:"string" enum:"AsyncJobStatus"` + + // The total number of records in the batch prediction job. + TotalRecordsCount *int64 `locationName:"totalRecordsCount" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchPrediction) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s BatchPrediction) GoString() string { + return s.String() +} + +// SetArn sets the Arn field's value. +func (s *BatchPrediction) SetArn(v string) *BatchPrediction { + s.Arn = &v + return s +} + +// SetCompletionTime sets the CompletionTime field's value. +func (s *BatchPrediction) SetCompletionTime(v string) *BatchPrediction { + s.CompletionTime = &v + return s +} + +// SetDetectorName sets the DetectorName field's value. +func (s *BatchPrediction) SetDetectorName(v string) *BatchPrediction { + s.DetectorName = &v + return s +} + +// SetDetectorVersion sets the DetectorVersion field's value. +func (s *BatchPrediction) SetDetectorVersion(v string) *BatchPrediction { + s.DetectorVersion = &v + return s +} + +// SetEventTypeName sets the EventTypeName field's value. +func (s *BatchPrediction) SetEventTypeName(v string) *BatchPrediction { + s.EventTypeName = &v + return s +} + +// SetFailureReason sets the FailureReason field's value. +func (s *BatchPrediction) SetFailureReason(v string) *BatchPrediction { + s.FailureReason = &v + return s +} + +// SetIamRoleArn sets the IamRoleArn field's value. +func (s *BatchPrediction) SetIamRoleArn(v string) *BatchPrediction { + s.IamRoleArn = &v + return s +} + +// SetInputPath sets the InputPath field's value. +func (s *BatchPrediction) SetInputPath(v string) *BatchPrediction { + s.InputPath = &v + return s +} + +// SetJobId sets the JobId field's value. +func (s *BatchPrediction) SetJobId(v string) *BatchPrediction { + s.JobId = &v + return s +} + +// SetLastHeartbeatTime sets the LastHeartbeatTime field's value. +func (s *BatchPrediction) SetLastHeartbeatTime(v string) *BatchPrediction { + s.LastHeartbeatTime = &v + return s +} + +// SetOutputPath sets the OutputPath field's value. +func (s *BatchPrediction) SetOutputPath(v string) *BatchPrediction { + s.OutputPath = &v + return s +} + +// SetProcessedRecordsCount sets the ProcessedRecordsCount field's value. +func (s *BatchPrediction) SetProcessedRecordsCount(v int64) *BatchPrediction { + s.ProcessedRecordsCount = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *BatchPrediction) SetStartTime(v string) *BatchPrediction { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *BatchPrediction) SetStatus(v string) *BatchPrediction { + s.Status = &v + return s +} + +// SetTotalRecordsCount sets the TotalRecordsCount field's value. +func (s *BatchPrediction) SetTotalRecordsCount(v int64) *BatchPrediction { + s.TotalRecordsCount = &v + return s +} + +type CancelBatchImportJobInput struct { + _ struct{} `type:"structure"` + + // The ID of an in-progress batch import job to cancel. + // + // Amazon Fraud Detector will throw an error if the batch import job is in FAILED, + // CANCELED, or COMPLETED state. + // + // JobId is a required field + JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelBatchImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelBatchImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CancelBatchImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CancelBatchImportJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *CancelBatchImportJobInput) SetJobId(v string) *CancelBatchImportJobInput { + s.JobId = &v + return s +} + +type CancelBatchImportJobOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelBatchImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelBatchImportJobOutput) GoString() string { + return s.String() +} + +type CancelBatchPredictionJobInput struct { + _ struct{} `type:"structure"` + + // The ID of the batch prediction job to cancel. + // + // JobId is a required field + JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` +} // String returns the string representation. // @@ -7137,51 +7884,239 @@ func (s *CancelBatchPredictionJobInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *CancelBatchPredictionJobInput) SetJobId(v string) *CancelBatchPredictionJobInput { - s.JobId = &v +// SetJobId sets the JobId field's value. +func (s *CancelBatchPredictionJobInput) SetJobId(v string) *CancelBatchPredictionJobInput { + s.JobId = &v + return s +} + +type CancelBatchPredictionJobOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelBatchPredictionJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CancelBatchPredictionJobOutput) GoString() string { + return s.String() +} + +// An exception indicating there was a conflict during a delete operation. +type ConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ConflictException) GoString() string { + return s.String() +} + +func newErrorConflictException(v protocol.ResponseMetadata) error { + return &ConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ConflictException) Code() string { + return "ConflictException" +} + +// Message returns the exception's message. +func (s *ConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ConflictException) OrigErr() error { + return nil +} + +func (s *ConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + +type CreateBatchImportJobInput struct { + _ struct{} `type:"structure"` + + // The name of the event type. + // + // EventTypeName is a required field + EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` + + // The ARN of the IAM role created for Amazon S3 bucket that holds your data + // file. The IAM role must have read and write permissions to both input and + // output S3 buckets. + // + // IamRoleArn is a required field + IamRoleArn *string `locationName:"iamRoleArn" min:"1" type:"string" required:"true"` + + // The URI that points to the Amazon S3 location of your data file. + // + // InputPath is a required field + InputPath *string `locationName:"inputPath" min:"1" type:"string" required:"true"` + + // The ID of the batch import job. The ID cannot be of a past job, unless the + // job exists in CREATE_FAILED state. + // + // JobId is a required field + JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` + + // The URI that points to the Amazon S3 location for storing your results. + // + // OutputPath is a required field + OutputPath *string `locationName:"outputPath" min:"1" type:"string" required:"true"` + + // A collection of key-value pairs associated with this request. + Tags []*Tag `locationName:"tags" type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateBatchImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s CreateBatchImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateBatchImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateBatchImportJobInput"} + if s.EventTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("EventTypeName")) + } + if s.EventTypeName != nil && len(*s.EventTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EventTypeName", 1)) + } + if s.IamRoleArn == nil { + invalidParams.Add(request.NewErrParamRequired("IamRoleArn")) + } + if s.IamRoleArn != nil && len(*s.IamRoleArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("IamRoleArn", 1)) + } + if s.InputPath == nil { + invalidParams.Add(request.NewErrParamRequired("InputPath")) + } + if s.InputPath != nil && len(*s.InputPath) < 1 { + invalidParams.Add(request.NewErrParamMinLen("InputPath", 1)) + } + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + if s.OutputPath == nil { + invalidParams.Add(request.NewErrParamRequired("OutputPath")) + } + if s.OutputPath != nil && len(*s.OutputPath) < 1 { + invalidParams.Add(request.NewErrParamMinLen("OutputPath", 1)) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEventTypeName sets the EventTypeName field's value. +func (s *CreateBatchImportJobInput) SetEventTypeName(v string) *CreateBatchImportJobInput { + s.EventTypeName = &v return s } -type CancelBatchPredictionJobOutput struct { - _ struct{} `type:"structure"` +// SetIamRoleArn sets the IamRoleArn field's value. +func (s *CreateBatchImportJobInput) SetIamRoleArn(v string) *CreateBatchImportJobInput { + s.IamRoleArn = &v + return s } -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CancelBatchPredictionJobOutput) String() string { - return awsutil.Prettify(s) +// SetInputPath sets the InputPath field's value. +func (s *CreateBatchImportJobInput) SetInputPath(v string) *CreateBatchImportJobInput { + s.InputPath = &v + return s } -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s CancelBatchPredictionJobOutput) GoString() string { - return s.String() +// SetJobId sets the JobId field's value. +func (s *CreateBatchImportJobInput) SetJobId(v string) *CreateBatchImportJobInput { + s.JobId = &v + return s } -// An exception indicating there was a conflict during a delete operation. The -// following delete operations can cause a conflict exception: -// -// * DeleteDetector: A conflict exception will occur if the detector has -// associated Rules or DetectorVersions. You can only delete a detector if -// it has no Rules or DetectorVersions. -// -// * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion -// status is ACTIVE. -// -// * DeleteRule: A conflict exception will occur if the RuleVersion is in -// use by an associated ACTIVE or INACTIVE DetectorVersion. -type ConflictException struct { - _ struct{} `type:"structure"` - RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` +// SetOutputPath sets the OutputPath field's value. +func (s *CreateBatchImportJobInput) SetOutputPath(v string) *CreateBatchImportJobInput { + s.OutputPath = &v + return s +} - Message_ *string `locationName:"message" type:"string"` +// SetTags sets the Tags field's value. +func (s *CreateBatchImportJobInput) SetTags(v []*Tag) *CreateBatchImportJobInput { + s.Tags = v + return s +} + +type CreateBatchImportJobOutput struct { + _ struct{} `type:"structure"` } // String returns the string representation. @@ -7189,7 +8124,7 @@ type ConflictException struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ConflictException) String() string { +func (s CreateBatchImportJobOutput) String() string { return awsutil.Prettify(s) } @@ -7198,48 +8133,10 @@ func (s ConflictException) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s ConflictException) GoString() string { +func (s CreateBatchImportJobOutput) GoString() string { return s.String() } -func newErrorConflictException(v protocol.ResponseMetadata) error { - return &ConflictException{ - RespMetadata: v, - } -} - -// Code returns the exception type name. -func (s *ConflictException) Code() string { - return "ConflictException" -} - -// Message returns the exception's message. -func (s *ConflictException) Message() string { - if s.Message_ != nil { - return *s.Message_ - } - return "" -} - -// OrigErr always returns nil, satisfies awserr.Error interface. -func (s *ConflictException) OrigErr() error { - return nil -} - -func (s *ConflictException) Error() string { - return fmt.Sprintf("%s: %s", s.Code(), s.Message()) -} - -// Status code returns the HTTP status code for the request's response error. -func (s *ConflictException) StatusCode() int { - return s.RespMetadata.StatusCode -} - -// RequestID returns the service's response RequestID for request. -func (s *ConflictException) RequestID() string { - return s.RespMetadata.RequestID -} - type CreateBatchPredictionJobInput struct { _ struct{} `type:"structure"` @@ -7762,10 +8659,14 @@ func (s CreateModelOutput) GoString() string { type CreateModelVersionInput struct { _ struct{} `type:"structure"` - // Details for the external events data used for model version training. Required + // Details of the external events data used for model version training. Required // if trainingDataSource is EXTERNAL_EVENTS. ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" type:"structure"` + // Details of the ingested events data used for model version training. Required + // if trainingDataSource is INGESTED_EVENTS. + IngestedEventsDetail *IngestedEventsDetail `locationName:"ingestedEventsDetail" type:"structure"` + // The model ID. // // ModelId is a required field @@ -7831,6 +8732,11 @@ func (s *CreateModelVersionInput) Validate() error { invalidParams.AddNested("ExternalEventsDetail", err.(request.ErrInvalidParams)) } } + if s.IngestedEventsDetail != nil { + if err := s.IngestedEventsDetail.Validate(); err != nil { + invalidParams.AddNested("IngestedEventsDetail", err.(request.ErrInvalidParams)) + } + } if s.Tags != nil { for i, v := range s.Tags { if v == nil { @@ -7859,6 +8765,12 @@ func (s *CreateModelVersionInput) SetExternalEventsDetail(v *ExternalEventsDetai return s } +// SetIngestedEventsDetail sets the IngestedEventsDetail field's value. +func (s *CreateModelVersionInput) SetIngestedEventsDetail(v *IngestedEventsDetail) *CreateModelVersionInput { + s.IngestedEventsDetail = v + return s +} + // SetModelId sets the ModelId field's value. func (s *CreateModelVersionInput) SetModelId(v string) *CreateModelVersionInput { s.ModelId = &v @@ -7899,7 +8811,7 @@ type CreateModelVersionOutput struct { ModelType *string `locationName:"modelType" type:"string" enum:"ModelTypeEnum"` // The model version number of the model version created. - ModelVersionNumber *string `locationName:"modelVersionNumber" min:"1" type:"string"` + ModelVersionNumber *string `locationName:"modelVersionNumber" min:"3" type:"string"` // The model version status. Status *string `locationName:"status" type:"string"` @@ -8323,6 +9235,77 @@ func (s *DataValidationMetrics) SetFileLevelMessages(v []*FileValidationMessage) return s } +type DeleteBatchImportJobInput struct { + _ struct{} `type:"structure"` + + // The ID of the batch import job to delete. + // + // JobId is a required field + JobId *string `locationName:"jobId" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteBatchImportJobInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteBatchImportJobInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteBatchImportJobInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteBatchImportJobInput"} + if s.JobId == nil { + invalidParams.Add(request.NewErrParamRequired("JobId")) + } + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *DeleteBatchImportJobInput) SetJobId(v string) *DeleteBatchImportJobInput { + s.JobId = &v + return s +} + +type DeleteBatchImportJobOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteBatchImportJobOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteBatchImportJobOutput) GoString() string { + return s.String() +} + type DeleteBatchPredictionJobInput struct { _ struct{} `type:"structure"` @@ -8627,6 +9610,9 @@ func (s DeleteEntityTypeOutput) GoString() string { type DeleteEventInput struct { _ struct{} `type:"structure"` + // Specifies whether or not to delete any predictions associated with the event. + DeleteAuditHistory *bool `locationName:"deleteAuditHistory" type:"boolean"` + // The ID of the event to delete. // // EventId is a required field @@ -8678,6 +9664,12 @@ func (s *DeleteEventInput) Validate() error { return nil } +// SetDeleteAuditHistory sets the DeleteAuditHistory field's value. +func (s *DeleteEventInput) SetDeleteAuditHistory(v bool) *DeleteEventInput { + s.DeleteAuditHistory = &v + return s +} + // SetEventId sets the EventId field's value. func (s *DeleteEventInput) SetEventId(v string) *DeleteEventInput { s.EventId = &v @@ -8770,7 +9762,84 @@ type DeleteEventTypeOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteEventTypeOutput) String() string { +func (s DeleteEventTypeOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteEventTypeOutput) GoString() string { + return s.String() +} + +type DeleteEventsByEventTypeInput struct { + _ struct{} `type:"structure"` + + // The name of the event type. + // + // EventTypeName is a required field + EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteEventsByEventTypeInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteEventsByEventTypeInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteEventsByEventTypeInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteEventsByEventTypeInput"} + if s.EventTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("EventTypeName")) + } + if s.EventTypeName != nil && len(*s.EventTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EventTypeName", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEventTypeName sets the EventTypeName field's value. +func (s *DeleteEventsByEventTypeInput) SetEventTypeName(v string) *DeleteEventsByEventTypeInput { + s.EventTypeName = &v + return s +} + +type DeleteEventsByEventTypeOutput struct { + _ struct{} `type:"structure"` + + // Name of event type for which to delete the events. + EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` + + // The status of the delete request. + EventsDeletionStatus *string `locationName:"eventsDeletionStatus" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteEventsByEventTypeOutput) String() string { return awsutil.Prettify(s) } @@ -8779,10 +9848,22 @@ func (s DeleteEventTypeOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s DeleteEventTypeOutput) GoString() string { +func (s DeleteEventsByEventTypeOutput) GoString() string { return s.String() } +// SetEventTypeName sets the EventTypeName field's value. +func (s *DeleteEventsByEventTypeOutput) SetEventTypeName(v string) *DeleteEventsByEventTypeOutput { + s.EventTypeName = &v + return s +} + +// SetEventsDeletionStatus sets the EventsDeletionStatus field's value. +func (s *DeleteEventsByEventTypeOutput) SetEventsDeletionStatus(v string) *DeleteEventsByEventTypeOutput { + s.EventsDeletionStatus = &v + return s +} + type DeleteExternalModelInput struct { _ struct{} `type:"structure"` @@ -9847,6 +10928,96 @@ func (s *EntityType) SetName(v string) *EntityType { return s } +// The event details. +type Event struct { + _ struct{} `type:"structure"` + + // The label associated with the event. + CurrentLabel *string `locationName:"currentLabel" type:"string"` + + // The event entities. + Entities []*Entity `locationName:"entities" type:"list"` + + // The event ID. + EventId *string `locationName:"eventId" type:"string"` + + // The timestamp that defines when the event under evaluation occurred. The + // timestamp must be specified using ISO 8601 standard in UTC. + EventTimestamp *string `locationName:"eventTimestamp" type:"string"` + + // The event type. + EventTypeName *string `locationName:"eventTypeName" type:"string"` + + // Names of the event type's variables you defined in Amazon Fraud Detector + // to represent data elements and their corresponding values for the event you + // are sending for evaluation. + EventVariables map[string]*string `locationName:"eventVariables" type:"map"` + + // The timestamp associated with the label to update. The timestamp must be + // specified using ISO 8601 standard in UTC. + LabelTimestamp *string `locationName:"labelTimestamp" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Event) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Event) GoString() string { + return s.String() +} + +// SetCurrentLabel sets the CurrentLabel field's value. +func (s *Event) SetCurrentLabel(v string) *Event { + s.CurrentLabel = &v + return s +} + +// SetEntities sets the Entities field's value. +func (s *Event) SetEntities(v []*Entity) *Event { + s.Entities = v + return s +} + +// SetEventId sets the EventId field's value. +func (s *Event) SetEventId(v string) *Event { + s.EventId = &v + return s +} + +// SetEventTimestamp sets the EventTimestamp field's value. +func (s *Event) SetEventTimestamp(v string) *Event { + s.EventTimestamp = &v + return s +} + +// SetEventTypeName sets the EventTypeName field's value. +func (s *Event) SetEventTypeName(v string) *Event { + s.EventTypeName = &v + return s +} + +// SetEventVariables sets the EventVariables field's value. +func (s *Event) SetEventVariables(v map[string]*string) *Event { + s.EventVariables = v + return s +} + +// SetLabelTimestamp sets the LabelTimestamp field's value. +func (s *Event) SetLabelTimestamp(v string) *Event { + s.LabelTimestamp = &v + return s +} + // The event type details. type EventType struct { _ struct{} `type:"structure" sensitive:"true"` @@ -9863,9 +11034,18 @@ type EventType struct { // The event type entity types. EntityTypes []*string `locationName:"entityTypes" min:"1" type:"list"` + // If Enabled, Amazon Fraud Detector stores event data when you generate a prediction + // and uses that data to update calculated variables in near real-time. Amazon + // Fraud Detector uses this data, known as INGESTED_EVENTS, to train your model + // and improve fraud predictions. + EventIngestion *string `locationName:"eventIngestion" type:"string" enum:"EventIngestion"` + // The event type event variables. EventVariables []*string `locationName:"eventVariables" type:"list"` + // Data about the stored events. + IngestedEventStatistics *IngestedEventStatistics `locationName:"ingestedEventStatistics" type:"structure"` + // The event type labels. Labels []*string `locationName:"labels" type:"list"` @@ -9918,12 +11098,24 @@ func (s *EventType) SetEntityTypes(v []*string) *EventType { return s } +// SetEventIngestion sets the EventIngestion field's value. +func (s *EventType) SetEventIngestion(v string) *EventType { + s.EventIngestion = &v + return s +} + // SetEventVariables sets the EventVariables field's value. func (s *EventType) SetEventVariables(v []*string) *EventType { s.EventVariables = v return s } +// SetIngestedEventStatistics sets the IngestedEventStatistics field's value. +func (s *EventType) SetIngestedEventStatistics(v *IngestedEventStatistics) *EventType { + s.IngestedEventStatistics = v + return s +} + // SetLabels sets the Labels field's value. func (s *EventType) SetLabels(v []*string) *EventType { s.Labels = v @@ -10314,6 +11506,111 @@ func (s *FileValidationMessage) SetType(v string) *FileValidationMessage { return s } +type GetBatchImportJobsInput struct { + _ struct{} `type:"structure"` + + // The ID of the batch import job to get. + JobId *string `locationName:"jobId" min:"1" type:"string"` + + // The maximum number of objects to return for request. + MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` + + // The next token from the previous request. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetBatchImportJobsInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetBatchImportJobsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetBatchImportJobsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetBatchImportJobsInput"} + if s.JobId != nil && len(*s.JobId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) + } + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *GetBatchImportJobsInput) SetJobId(v string) *GetBatchImportJobsInput { + s.JobId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetBatchImportJobsInput) SetMaxResults(v int64) *GetBatchImportJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBatchImportJobsInput) SetNextToken(v string) *GetBatchImportJobsInput { + s.NextToken = &v + return s +} + +type GetBatchImportJobsOutput struct { + _ struct{} `type:"structure"` + + // An array containing the details of each batch import job. + BatchImports []*BatchImport `locationName:"batchImports" type:"list"` + + // The next token for the subsequent resquest. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetBatchImportJobsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetBatchImportJobsOutput) GoString() string { + return s.String() +} + +// SetBatchImports sets the BatchImports field's value. +func (s *GetBatchImportJobsOutput) SetBatchImports(v []*BatchImport) *GetBatchImportJobsOutput { + s.BatchImports = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBatchImportJobsOutput) SetNextToken(v string) *GetBatchImportJobsOutput { + s.NextToken = &v + return s +} + type GetBatchPredictionJobsInput struct { _ struct{} `type:"structure"` @@ -10351,8 +11648,109 @@ func (s *GetBatchPredictionJobsInput) Validate() error { if s.JobId != nil && len(*s.JobId) < 1 { invalidParams.Add(request.NewErrParamMinLen("JobId", 1)) } - if s.MaxResults != nil && *s.MaxResults < 1 { - invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + if s.MaxResults != nil && *s.MaxResults < 1 { + invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetJobId sets the JobId field's value. +func (s *GetBatchPredictionJobsInput) SetJobId(v string) *GetBatchPredictionJobsInput { + s.JobId = &v + return s +} + +// SetMaxResults sets the MaxResults field's value. +func (s *GetBatchPredictionJobsInput) SetMaxResults(v int64) *GetBatchPredictionJobsInput { + s.MaxResults = &v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBatchPredictionJobsInput) SetNextToken(v string) *GetBatchPredictionJobsInput { + s.NextToken = &v + return s +} + +type GetBatchPredictionJobsOutput struct { + _ struct{} `type:"structure"` + + // An array containing the details of each batch prediction job. + BatchPredictions []*BatchPrediction `locationName:"batchPredictions" type:"list"` + + // The next token for the subsequent request. + NextToken *string `locationName:"nextToken" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetBatchPredictionJobsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetBatchPredictionJobsOutput) GoString() string { + return s.String() +} + +// SetBatchPredictions sets the BatchPredictions field's value. +func (s *GetBatchPredictionJobsOutput) SetBatchPredictions(v []*BatchPrediction) *GetBatchPredictionJobsOutput { + s.BatchPredictions = v + return s +} + +// SetNextToken sets the NextToken field's value. +func (s *GetBatchPredictionJobsOutput) SetNextToken(v string) *GetBatchPredictionJobsOutput { + s.NextToken = &v + return s +} + +type GetDeleteEventsByEventTypeStatusInput struct { + _ struct{} `type:"structure"` + + // Name of event type for which to get the deletion status. + // + // EventTypeName is a required field + EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetDeleteEventsByEventTypeStatusInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetDeleteEventsByEventTypeStatusInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetDeleteEventsByEventTypeStatusInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetDeleteEventsByEventTypeStatusInput"} + if s.EventTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("EventTypeName")) + } + if s.EventTypeName != nil && len(*s.EventTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EventTypeName", 1)) } if invalidParams.Len() > 0 { @@ -10361,32 +11759,20 @@ func (s *GetBatchPredictionJobsInput) Validate() error { return nil } -// SetJobId sets the JobId field's value. -func (s *GetBatchPredictionJobsInput) SetJobId(v string) *GetBatchPredictionJobsInput { - s.JobId = &v - return s -} - -// SetMaxResults sets the MaxResults field's value. -func (s *GetBatchPredictionJobsInput) SetMaxResults(v int64) *GetBatchPredictionJobsInput { - s.MaxResults = &v - return s -} - -// SetNextToken sets the NextToken field's value. -func (s *GetBatchPredictionJobsInput) SetNextToken(v string) *GetBatchPredictionJobsInput { - s.NextToken = &v +// SetEventTypeName sets the EventTypeName field's value. +func (s *GetDeleteEventsByEventTypeStatusInput) SetEventTypeName(v string) *GetDeleteEventsByEventTypeStatusInput { + s.EventTypeName = &v return s } -type GetBatchPredictionJobsOutput struct { +type GetDeleteEventsByEventTypeStatusOutput struct { _ struct{} `type:"structure"` - // An array containing the details of each batch prediction job. - BatchPredictions []*BatchPrediction `locationName:"batchPredictions" type:"list"` + // The event type name. + EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` - // The next token for the subsequent request. - NextToken *string `locationName:"nextToken" type:"string"` + // The deletion status. + EventsDeletionStatus *string `locationName:"eventsDeletionStatus" type:"string" enum:"AsyncJobStatus"` } // String returns the string representation. @@ -10394,7 +11780,7 @@ type GetBatchPredictionJobsOutput struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetBatchPredictionJobsOutput) String() string { +func (s GetDeleteEventsByEventTypeStatusOutput) String() string { return awsutil.Prettify(s) } @@ -10403,19 +11789,19 @@ func (s GetBatchPredictionJobsOutput) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s GetBatchPredictionJobsOutput) GoString() string { +func (s GetDeleteEventsByEventTypeStatusOutput) GoString() string { return s.String() } -// SetBatchPredictions sets the BatchPredictions field's value. -func (s *GetBatchPredictionJobsOutput) SetBatchPredictions(v []*BatchPrediction) *GetBatchPredictionJobsOutput { - s.BatchPredictions = v +// SetEventTypeName sets the EventTypeName field's value. +func (s *GetDeleteEventsByEventTypeStatusOutput) SetEventTypeName(v string) *GetDeleteEventsByEventTypeStatusOutput { + s.EventTypeName = &v return s } -// SetNextToken sets the NextToken field's value. -func (s *GetBatchPredictionJobsOutput) SetNextToken(v string) *GetBatchPredictionJobsOutput { - s.NextToken = &v +// SetEventsDeletionStatus sets the EventsDeletionStatus field's value. +func (s *GetDeleteEventsByEventTypeStatusOutput) SetEventsDeletionStatus(v string) *GetDeleteEventsByEventTypeStatusOutput { + s.EventsDeletionStatus = &v return s } @@ -10824,6 +12210,97 @@ func (s *GetEntityTypesOutput) SetNextToken(v string) *GetEntityTypesOutput { return s } +type GetEventInput struct { + _ struct{} `type:"structure"` + + // The ID of the event to retrieve. + // + // EventId is a required field + EventId *string `locationName:"eventId" type:"string" required:"true"` + + // The event type of the event to retrieve. + // + // EventTypeName is a required field + EventTypeName *string `locationName:"eventTypeName" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetEventInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetEventInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetEventInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetEventInput"} + if s.EventId == nil { + invalidParams.Add(request.NewErrParamRequired("EventId")) + } + if s.EventTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("EventTypeName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEventId sets the EventId field's value. +func (s *GetEventInput) SetEventId(v string) *GetEventInput { + s.EventId = &v + return s +} + +// SetEventTypeName sets the EventTypeName field's value. +func (s *GetEventInput) SetEventTypeName(v string) *GetEventInput { + s.EventTypeName = &v + return s +} + +type GetEventOutput struct { + _ struct{} `type:"structure"` + + // The details of the event. + Event *Event `locationName:"event" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetEventOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetEventOutput) GoString() string { + return s.String() +} + +// SetEvent sets the Event field's value. +func (s *GetEventOutput) SetEvent(v *Event) *GetEventOutput { + s.Event = v + return s +} + type GetEventPredictionInput struct { _ struct{} `type:"structure"` @@ -10847,7 +12324,8 @@ type GetEventPredictionInput struct { // EventId is a required field EventId *string `locationName:"eventId" type:"string" required:"true"` - // Timestamp that defines when the event under evaluation occurred. + // Timestamp that defines when the event under evaluation occurred. The timestamp + // must be specified using ISO 8601 standard in UTC. // // EventTimestamp is a required field EventTimestamp *string `locationName:"eventTimestamp" min:"10" type:"string" required:"true"` @@ -10861,12 +12339,9 @@ type GetEventPredictionInput struct { // to represent data elements and their corresponding values for the event you // are sending for evaluation. // - // * You must provide at least one eventVariable - // - // * If detectorVersion is associated with a modelVersion, you must provide - // at least one associated eventVariable + // You must provide at least one eventVariable // - // To ensure highest possible fraud prediction and to simplify your data preparation, + // To ensure most accurate fraud prediction and to simplify your data preparation, // Amazon Fraud Detector will replace all missing variables or values as follows: // // For Amazon Fraud Detector trained models: @@ -10876,7 +12351,7 @@ type GetEventPredictionInput struct { // name in the eventVariables map) with calculated default mean/medians for // numeric variables and with special values for categorical variables. // - // For External models ( for example, imported SageMaker): + // For imported SageMaker models: // // If a null value is provided explicitly for a variable, the model and rules // will use “null” as the value. If a variable is not provided (no variable @@ -11521,9 +12996,14 @@ type GetModelVersionOutput struct { // The model version ARN. Arn *string `locationName:"arn" min:"1" type:"string"` - // The event details. + // The details of the external events data used for training the model version. + // This will be populated if the trainingDataSource is EXTERNAL_EVENTS ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" type:"structure"` + // The details of the ingested events data used for training the model version. + // This will be populated if the trainingDataSource is INGESTED_EVENTS. + IngestedEventsDetail *IngestedEventsDetail `locationName:"ingestedEventsDetail" type:"structure"` + // The model ID. ModelId *string `locationName:"modelId" min:"1" type:"string"` @@ -11593,6 +13073,12 @@ func (s *GetModelVersionOutput) SetExternalEventsDetail(v *ExternalEventsDetail) return s } +// SetIngestedEventsDetail sets the IngestedEventsDetail field's value. +func (s *GetModelVersionOutput) SetIngestedEventsDetail(v *IngestedEventsDetail) *GetModelVersionOutput { + s.IngestedEventsDetail = v + return s +} + // SetModelId sets the ModelId field's value. func (s *GetModelVersionOutput) SetModelId(v string) *GetModelVersionOutput { s.ModelId = &v @@ -12084,6 +13570,193 @@ func (s *GetVariablesOutput) SetVariables(v []*Variable) *GetVariablesOutput { return s } +// Data about the stored events. +type IngestedEventStatistics struct { + _ struct{} `type:"structure"` + + // The total size of the stored events. + EventDataSizeInBytes *int64 `locationName:"eventDataSizeInBytes" type:"long"` + + // Timestamp of when the stored event was last updated. + LastUpdatedTime *string `locationName:"lastUpdatedTime" min:"11" type:"string"` + + // The oldest stored event. + LeastRecentEvent *string `locationName:"leastRecentEvent" min:"11" type:"string"` + + // The newest stored event. + MostRecentEvent *string `locationName:"mostRecentEvent" min:"11" type:"string"` + + // The number of stored events. + NumberOfEvents *int64 `locationName:"numberOfEvents" type:"long"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IngestedEventStatistics) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IngestedEventStatistics) GoString() string { + return s.String() +} + +// SetEventDataSizeInBytes sets the EventDataSizeInBytes field's value. +func (s *IngestedEventStatistics) SetEventDataSizeInBytes(v int64) *IngestedEventStatistics { + s.EventDataSizeInBytes = &v + return s +} + +// SetLastUpdatedTime sets the LastUpdatedTime field's value. +func (s *IngestedEventStatistics) SetLastUpdatedTime(v string) *IngestedEventStatistics { + s.LastUpdatedTime = &v + return s +} + +// SetLeastRecentEvent sets the LeastRecentEvent field's value. +func (s *IngestedEventStatistics) SetLeastRecentEvent(v string) *IngestedEventStatistics { + s.LeastRecentEvent = &v + return s +} + +// SetMostRecentEvent sets the MostRecentEvent field's value. +func (s *IngestedEventStatistics) SetMostRecentEvent(v string) *IngestedEventStatistics { + s.MostRecentEvent = &v + return s +} + +// SetNumberOfEvents sets the NumberOfEvents field's value. +func (s *IngestedEventStatistics) SetNumberOfEvents(v int64) *IngestedEventStatistics { + s.NumberOfEvents = &v + return s +} + +// The details of the ingested event. +type IngestedEventsDetail struct { + _ struct{} `type:"structure"` + + // The start and stop time of the ingested events. + // + // IngestedEventsTimeWindow is a required field + IngestedEventsTimeWindow *IngestedEventsTimeWindow `locationName:"ingestedEventsTimeWindow" type:"structure" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IngestedEventsDetail) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IngestedEventsDetail) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IngestedEventsDetail) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IngestedEventsDetail"} + if s.IngestedEventsTimeWindow == nil { + invalidParams.Add(request.NewErrParamRequired("IngestedEventsTimeWindow")) + } + if s.IngestedEventsTimeWindow != nil { + if err := s.IngestedEventsTimeWindow.Validate(); err != nil { + invalidParams.AddNested("IngestedEventsTimeWindow", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetIngestedEventsTimeWindow sets the IngestedEventsTimeWindow field's value. +func (s *IngestedEventsDetail) SetIngestedEventsTimeWindow(v *IngestedEventsTimeWindow) *IngestedEventsDetail { + s.IngestedEventsTimeWindow = v + return s +} + +// The start and stop time of the ingested events. +type IngestedEventsTimeWindow struct { + _ struct{} `type:"structure"` + + // Timestamp of the final ingested event. + // + // EndTime is a required field + EndTime *string `locationName:"endTime" min:"11" type:"string" required:"true"` + + // Timestamp of the first ingensted event. + // + // StartTime is a required field + StartTime *string `locationName:"startTime" min:"11" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IngestedEventsTimeWindow) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s IngestedEventsTimeWindow) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *IngestedEventsTimeWindow) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "IngestedEventsTimeWindow"} + if s.EndTime == nil { + invalidParams.Add(request.NewErrParamRequired("EndTime")) + } + if s.EndTime != nil && len(*s.EndTime) < 11 { + invalidParams.Add(request.NewErrParamMinLen("EndTime", 11)) + } + if s.StartTime == nil { + invalidParams.Add(request.NewErrParamRequired("StartTime")) + } + if s.StartTime != nil && len(*s.StartTime) < 11 { + invalidParams.Add(request.NewErrParamMinLen("StartTime", 11)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEndTime sets the EndTime field's value. +func (s *IngestedEventsTimeWindow) SetEndTime(v string) *IngestedEventsTimeWindow { + s.EndTime = &v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *IngestedEventsTimeWindow) SetStartTime(v string) *IngestedEventsTimeWindow { + s.StartTime = &v + return s +} + // An exception indicating an internal server error. type InternalServerException struct { _ struct{} `type:"structure"` @@ -12262,6 +13935,9 @@ type LabelSchema struct { // // LabelMapper is a required field LabelMapper map[string][]*string `locationName:"labelMapper" type:"map" required:"true"` + + // The action to take for unlabeled events. + UnlabeledEventsTreatment *string `locationName:"unlabeledEventsTreatment" type:"string" enum:"UnlabeledEventsTreatment"` } // String returns the string representation. @@ -12301,6 +13977,12 @@ func (s *LabelSchema) SetLabelMapper(v map[string][]*string) *LabelSchema { return s } +// SetUnlabeledEventsTreatment sets the UnlabeledEventsTreatment field's value. +func (s *LabelSchema) SetUnlabeledEventsTreatment(v string) *LabelSchema { + s.UnlabeledEventsTreatment = &v + return s +} + type ListTagsForResourceInput struct { _ struct{} `type:"structure"` @@ -12682,7 +14364,7 @@ type ModelInputConfiguration struct { // Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, // the placeholders for variable-names in the template will be replaced with // the variable values before being sent to SageMaker. - CsvInputTemplate *string `locationName:"csvInputTemplate" type:"string"` + CsvInputTemplate *string `locationName:"csvInputTemplate" min:"1" type:"string"` // The event type name. EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string"` @@ -12694,7 +14376,7 @@ type ModelInputConfiguration struct { // Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, // the placeholders for variable names in the template will be replaced with // the variable values before being sent to SageMaker. - JsonInputTemplate *string `locationName:"jsonInputTemplate" type:"string"` + JsonInputTemplate *string `locationName:"jsonInputTemplate" min:"1" type:"string"` // The event variables. // @@ -12723,9 +14405,15 @@ func (s ModelInputConfiguration) GoString() string { // Validate inspects the fields of the type to determine if they are valid. func (s *ModelInputConfiguration) Validate() error { invalidParams := request.ErrInvalidParams{Context: "ModelInputConfiguration"} + if s.CsvInputTemplate != nil && len(*s.CsvInputTemplate) < 1 { + invalidParams.Add(request.NewErrParamMinLen("CsvInputTemplate", 1)) + } if s.EventTypeName != nil && len(*s.EventTypeName) < 1 { invalidParams.Add(request.NewErrParamMinLen("EventTypeName", 1)) } + if s.JsonInputTemplate != nil && len(*s.JsonInputTemplate) < 1 { + invalidParams.Add(request.NewErrParamMinLen("JsonInputTemplate", 1)) + } if s.UseEventVariables == nil { invalidParams.Add(request.NewErrParamRequired("UseEventVariables")) } @@ -12894,7 +14582,7 @@ type ModelVersion struct { // The model version number. // // ModelVersionNumber is a required field - ModelVersionNumber *string `locationName:"modelVersionNumber" min:"1" type:"string" required:"true"` + ModelVersionNumber *string `locationName:"modelVersionNumber" min:"3" type:"string" required:"true"` } // String returns the string representation. @@ -12933,8 +14621,8 @@ func (s *ModelVersion) Validate() error { if s.ModelVersionNumber == nil { invalidParams.Add(request.NewErrParamRequired("ModelVersionNumber")) } - if s.ModelVersionNumber != nil && len(*s.ModelVersionNumber) < 1 { - invalidParams.Add(request.NewErrParamMinLen("ModelVersionNumber", 1)) + if s.ModelVersionNumber != nil && len(*s.ModelVersionNumber) < 3 { + invalidParams.Add(request.NewErrParamMinLen("ModelVersionNumber", 3)) } if invalidParams.Len() > 0 { @@ -12977,9 +14665,14 @@ type ModelVersionDetail struct { // The timestamp when the model was created. CreatedTime *string `locationName:"createdTime" min:"11" type:"string"` - // The event details. + // The external events data details. This will be populated if the trainingDataSource + // for the model version is specified as EXTERNAL_EVENTS. ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" type:"structure"` + // The ingested events data details. This will be populated if the trainingDataSource + // for the model version is specified as INGESTED_EVENTS. + IngestedEventsDetail *IngestedEventsDetail `locationName:"ingestedEventsDetail" type:"structure"` + // The timestamp when the model was last updated. LastUpdatedTime *string `locationName:"lastUpdatedTime" min:"11" type:"string"` @@ -13041,6 +14734,12 @@ func (s *ModelVersionDetail) SetExternalEventsDetail(v *ExternalEventsDetail) *M return s } +// SetIngestedEventsDetail sets the IngestedEventsDetail field's value. +func (s *ModelVersionDetail) SetIngestedEventsDetail(v *IngestedEventsDetail) *ModelVersionDetail { + s.IngestedEventsDetail = v + return s +} + // SetLastUpdatedTime sets the LastUpdatedTime field's value. func (s *ModelVersionDetail) SetLastUpdatedTime(v string) *ModelVersionDetail { s.LastUpdatedTime = &v @@ -13390,6 +15089,9 @@ type PutEventTypeInput struct { // EntityTypes is a required field EntityTypes []*string `locationName:"entityTypes" min:"1" type:"list" required:"true"` + // Specifies if ingenstion is enabled or disabled. + EventIngestion *string `locationName:"eventIngestion" type:"string" enum:"EventIngestion"` + // The event type variables. // // EventVariables is a required field @@ -13478,6 +15180,12 @@ func (s *PutEventTypeInput) SetEntityTypes(v []*string) *PutEventTypeInput { return s } +// SetEventIngestion sets the EventIngestion field's value. +func (s *PutEventTypeInput) SetEventIngestion(v string) *PutEventTypeInput { + s.EventIngestion = &v + return s +} + // SetEventVariables sets the EventVariables field's value. func (s *PutEventTypeInput) SetEventVariables(v []*string) *PutEventTypeInput { s.EventVariables = v @@ -13968,9 +15676,7 @@ func (s PutOutcomeOutput) GoString() string { return s.String() } -// An exception indicating the specified resource was not found. This can occur -// if you submit a request, such as CreateBatchPredictionJob, but the detector -// name or version does not exist. +// An exception indicating the specified resource was not found. type ResourceNotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -14341,6 +16047,179 @@ func (s *RuleResult) SetRuleId(v string) *RuleResult { return s } +type SendEventInput struct { + _ struct{} `type:"structure"` + + // The label to associate with the event. Required if specifying labelTimestamp. + AssignedLabel *string `locationName:"assignedLabel" min:"1" type:"string"` + + // An array of entities. + // + // Entities is a required field + Entities []*Entity `locationName:"entities" type:"list" required:"true"` + + // The event ID to upload. + // + // EventId is a required field + EventId *string `locationName:"eventId" min:"1" type:"string" required:"true"` + + // The timestamp that defines when the event under evaluation occurred. The + // timestamp must be specified using ISO 8601 standard in UTC. + // + // EventTimestamp is a required field + EventTimestamp *string `locationName:"eventTimestamp" min:"10" type:"string" required:"true"` + + // The event type name of the event. + // + // EventTypeName is a required field + EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` + + // Names of the event type's variables you defined in Amazon Fraud Detector + // to represent data elements and their corresponding values for the event you + // are sending for evaluation. + // + // EventVariables is a required field + EventVariables map[string]*string `locationName:"eventVariables" min:"1" type:"map" required:"true"` + + // The timestamp associated with the label. Required if specifying assignedLabel. + LabelTimestamp *string `locationName:"labelTimestamp" min:"10" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SendEventInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SendEventInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *SendEventInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "SendEventInput"} + if s.AssignedLabel != nil && len(*s.AssignedLabel) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AssignedLabel", 1)) + } + if s.Entities == nil { + invalidParams.Add(request.NewErrParamRequired("Entities")) + } + if s.EventId == nil { + invalidParams.Add(request.NewErrParamRequired("EventId")) + } + if s.EventId != nil && len(*s.EventId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EventId", 1)) + } + if s.EventTimestamp == nil { + invalidParams.Add(request.NewErrParamRequired("EventTimestamp")) + } + if s.EventTimestamp != nil && len(*s.EventTimestamp) < 10 { + invalidParams.Add(request.NewErrParamMinLen("EventTimestamp", 10)) + } + if s.EventTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("EventTypeName")) + } + if s.EventTypeName != nil && len(*s.EventTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EventTypeName", 1)) + } + if s.EventVariables == nil { + invalidParams.Add(request.NewErrParamRequired("EventVariables")) + } + if s.EventVariables != nil && len(s.EventVariables) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EventVariables", 1)) + } + if s.LabelTimestamp != nil && len(*s.LabelTimestamp) < 10 { + invalidParams.Add(request.NewErrParamMinLen("LabelTimestamp", 10)) + } + if s.Entities != nil { + for i, v := range s.Entities { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Entities", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssignedLabel sets the AssignedLabel field's value. +func (s *SendEventInput) SetAssignedLabel(v string) *SendEventInput { + s.AssignedLabel = &v + return s +} + +// SetEntities sets the Entities field's value. +func (s *SendEventInput) SetEntities(v []*Entity) *SendEventInput { + s.Entities = v + return s +} + +// SetEventId sets the EventId field's value. +func (s *SendEventInput) SetEventId(v string) *SendEventInput { + s.EventId = &v + return s +} + +// SetEventTimestamp sets the EventTimestamp field's value. +func (s *SendEventInput) SetEventTimestamp(v string) *SendEventInput { + s.EventTimestamp = &v + return s +} + +// SetEventTypeName sets the EventTypeName field's value. +func (s *SendEventInput) SetEventTypeName(v string) *SendEventInput { + s.EventTypeName = &v + return s +} + +// SetEventVariables sets the EventVariables field's value. +func (s *SendEventInput) SetEventVariables(v map[string]*string) *SendEventInput { + s.EventVariables = v + return s +} + +// SetLabelTimestamp sets the LabelTimestamp field's value. +func (s *SendEventInput) SetLabelTimestamp(v string) *SendEventInput { + s.LabelTimestamp = &v + return s +} + +type SendEventOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SendEventOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s SendEventOutput) GoString() string { + return s.String() +} + // A key and value pair. type Tag struct { _ struct{} `type:"structure"` @@ -15192,6 +17071,129 @@ func (s UpdateDetectorVersionStatusOutput) GoString() string { return s.String() } +type UpdateEventLabelInput struct { + _ struct{} `type:"structure"` + + // The new label to assign to the event. + // + // AssignedLabel is a required field + AssignedLabel *string `locationName:"assignedLabel" min:"1" type:"string" required:"true"` + + // The ID of the event associated with the label to update. + // + // EventId is a required field + EventId *string `locationName:"eventId" min:"1" type:"string" required:"true"` + + // The event type of the event associated with the label to update. + // + // EventTypeName is a required field + EventTypeName *string `locationName:"eventTypeName" min:"1" type:"string" required:"true"` + + // The timestamp associated with the label. The timestamp must be specified + // using ISO 8601 standard in UTC. + // + // LabelTimestamp is a required field + LabelTimestamp *string `locationName:"labelTimestamp" min:"10" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateEventLabelInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateEventLabelInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateEventLabelInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateEventLabelInput"} + if s.AssignedLabel == nil { + invalidParams.Add(request.NewErrParamRequired("AssignedLabel")) + } + if s.AssignedLabel != nil && len(*s.AssignedLabel) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AssignedLabel", 1)) + } + if s.EventId == nil { + invalidParams.Add(request.NewErrParamRequired("EventId")) + } + if s.EventId != nil && len(*s.EventId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EventId", 1)) + } + if s.EventTypeName == nil { + invalidParams.Add(request.NewErrParamRequired("EventTypeName")) + } + if s.EventTypeName != nil && len(*s.EventTypeName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("EventTypeName", 1)) + } + if s.LabelTimestamp == nil { + invalidParams.Add(request.NewErrParamRequired("LabelTimestamp")) + } + if s.LabelTimestamp != nil && len(*s.LabelTimestamp) < 10 { + invalidParams.Add(request.NewErrParamMinLen("LabelTimestamp", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAssignedLabel sets the AssignedLabel field's value. +func (s *UpdateEventLabelInput) SetAssignedLabel(v string) *UpdateEventLabelInput { + s.AssignedLabel = &v + return s +} + +// SetEventId sets the EventId field's value. +func (s *UpdateEventLabelInput) SetEventId(v string) *UpdateEventLabelInput { + s.EventId = &v + return s +} + +// SetEventTypeName sets the EventTypeName field's value. +func (s *UpdateEventLabelInput) SetEventTypeName(v string) *UpdateEventLabelInput { + s.EventTypeName = &v + return s +} + +// SetLabelTimestamp sets the LabelTimestamp field's value. +func (s *UpdateEventLabelInput) SetLabelTimestamp(v string) *UpdateEventLabelInput { + s.LabelTimestamp = &v + return s +} + +type UpdateEventLabelOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateEventLabelOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UpdateEventLabelOutput) GoString() string { + return s.String() +} + type UpdateModelInput struct { _ struct{} `type:"structure"` @@ -15292,9 +17294,14 @@ func (s UpdateModelOutput) GoString() string { type UpdateModelVersionInput struct { _ struct{} `type:"structure"` - // The event details. + // The details of the external events data used for training the model version. + // Required if trainingDataSource is EXTERNAL_EVENTS. ExternalEventsDetail *ExternalEventsDetail `locationName:"externalEventsDetail" type:"structure"` + // The details of the ingested event used for training the model version. Required + // if your trainingDataSource is INGESTED_EVENTS. + IngestedEventsDetail *IngestedEventsDetail `locationName:"ingestedEventsDetail" type:"structure"` + // The major version number. // // MajorVersionNumber is a required field @@ -15355,6 +17362,11 @@ func (s *UpdateModelVersionInput) Validate() error { invalidParams.AddNested("ExternalEventsDetail", err.(request.ErrInvalidParams)) } } + if s.IngestedEventsDetail != nil { + if err := s.IngestedEventsDetail.Validate(); err != nil { + invalidParams.AddNested("IngestedEventsDetail", err.(request.ErrInvalidParams)) + } + } if s.Tags != nil { for i, v := range s.Tags { if v == nil { @@ -15378,6 +17390,12 @@ func (s *UpdateModelVersionInput) SetExternalEventsDetail(v *ExternalEventsDetai return s } +// SetIngestedEventsDetail sets the IngestedEventsDetail field's value. +func (s *UpdateModelVersionInput) SetIngestedEventsDetail(v *IngestedEventsDetail) *UpdateModelVersionInput { + s.IngestedEventsDetail = v + return s +} + // SetMajorVersionNumber sets the MajorVersionNumber field's value. func (s *UpdateModelVersionInput) SetMajorVersionNumber(v string) *UpdateModelVersionInput { s.MajorVersionNumber = &v @@ -16315,6 +18333,22 @@ func DetectorVersionStatus_Values() []string { } } +const ( + // EventIngestionEnabled is a EventIngestion enum value + EventIngestionEnabled = "ENABLED" + + // EventIngestionDisabled is a EventIngestion enum value + EventIngestionDisabled = "DISABLED" +) + +// EventIngestion_Values returns all elements of the EventIngestion enum +func EventIngestion_Values() []string { + return []string{ + EventIngestionEnabled, + EventIngestionDisabled, + } +} + const ( // LanguageDetectorpl is a Language enum value LanguageDetectorpl = "DETECTORPL" @@ -16390,12 +18424,16 @@ func ModelSource_Values() []string { const ( // ModelTypeEnumOnlineFraudInsights is a ModelTypeEnum enum value ModelTypeEnumOnlineFraudInsights = "ONLINE_FRAUD_INSIGHTS" + + // ModelTypeEnumTransactionFraudInsights is a ModelTypeEnum enum value + ModelTypeEnumTransactionFraudInsights = "TRANSACTION_FRAUD_INSIGHTS" ) // ModelTypeEnum_Values returns all elements of the ModelTypeEnum enum func ModelTypeEnum_Values() []string { return []string{ ModelTypeEnumOnlineFraudInsights, + ModelTypeEnumTransactionFraudInsights, } } @@ -16438,11 +18476,35 @@ func RuleExecutionMode_Values() []string { const ( // TrainingDataSourceEnumExternalEvents is a TrainingDataSourceEnum enum value TrainingDataSourceEnumExternalEvents = "EXTERNAL_EVENTS" + + // TrainingDataSourceEnumIngestedEvents is a TrainingDataSourceEnum enum value + TrainingDataSourceEnumIngestedEvents = "INGESTED_EVENTS" ) // TrainingDataSourceEnum_Values returns all elements of the TrainingDataSourceEnum enum func TrainingDataSourceEnum_Values() []string { return []string{ TrainingDataSourceEnumExternalEvents, + TrainingDataSourceEnumIngestedEvents, + } +} + +const ( + // UnlabeledEventsTreatmentIgnore is a UnlabeledEventsTreatment enum value + UnlabeledEventsTreatmentIgnore = "IGNORE" + + // UnlabeledEventsTreatmentFraud is a UnlabeledEventsTreatment enum value + UnlabeledEventsTreatmentFraud = "FRAUD" + + // UnlabeledEventsTreatmentLegit is a UnlabeledEventsTreatment enum value + UnlabeledEventsTreatmentLegit = "LEGIT" +) + +// UnlabeledEventsTreatment_Values returns all elements of the UnlabeledEventsTreatment enum +func UnlabeledEventsTreatment_Values() []string { + return []string{ + UnlabeledEventsTreatmentIgnore, + UnlabeledEventsTreatmentFraud, + UnlabeledEventsTreatmentLegit, } } diff --git a/service/frauddetector/errors.go b/service/frauddetector/errors.go index 350ea7e9c0..515a67be86 100644 --- a/service/frauddetector/errors.go +++ b/service/frauddetector/errors.go @@ -19,18 +19,7 @@ const ( // ErrCodeConflictException for service response error code // "ConflictException". // - // An exception indicating there was a conflict during a delete operation. The - // following delete operations can cause a conflict exception: - // - // * DeleteDetector: A conflict exception will occur if the detector has - // associated Rules or DetectorVersions. You can only delete a detector if - // it has no Rules or DetectorVersions. - // - // * DeleteDetectorVersion: A conflict exception will occur if the DetectorVersion - // status is ACTIVE. - // - // * DeleteRule: A conflict exception will occur if the RuleVersion is in - // use by an associated ACTIVE or INACTIVE DetectorVersion. + // An exception indicating there was a conflict during a delete operation. ErrCodeConflictException = "ConflictException" // ErrCodeInternalServerException for service response error code @@ -42,9 +31,7 @@ const ( // ErrCodeResourceNotFoundException for service response error code // "ResourceNotFoundException". // - // An exception indicating the specified resource was not found. This can occur - // if you submit a request, such as CreateBatchPredictionJob, but the detector - // name or version does not exist. + // An exception indicating the specified resource was not found. ErrCodeResourceNotFoundException = "ResourceNotFoundException" // ErrCodeResourceUnavailableException for service response error code diff --git a/service/frauddetector/frauddetectoriface/interface.go b/service/frauddetector/frauddetectoriface/interface.go index 36d083505d..9654a3897b 100644 --- a/service/frauddetector/frauddetectoriface/interface.go +++ b/service/frauddetector/frauddetectoriface/interface.go @@ -68,10 +68,18 @@ type FraudDetectorAPI interface { BatchGetVariableWithContext(aws.Context, *frauddetector.BatchGetVariableInput, ...request.Option) (*frauddetector.BatchGetVariableOutput, error) BatchGetVariableRequest(*frauddetector.BatchGetVariableInput) (*request.Request, *frauddetector.BatchGetVariableOutput) + CancelBatchImportJob(*frauddetector.CancelBatchImportJobInput) (*frauddetector.CancelBatchImportJobOutput, error) + CancelBatchImportJobWithContext(aws.Context, *frauddetector.CancelBatchImportJobInput, ...request.Option) (*frauddetector.CancelBatchImportJobOutput, error) + CancelBatchImportJobRequest(*frauddetector.CancelBatchImportJobInput) (*request.Request, *frauddetector.CancelBatchImportJobOutput) + CancelBatchPredictionJob(*frauddetector.CancelBatchPredictionJobInput) (*frauddetector.CancelBatchPredictionJobOutput, error) CancelBatchPredictionJobWithContext(aws.Context, *frauddetector.CancelBatchPredictionJobInput, ...request.Option) (*frauddetector.CancelBatchPredictionJobOutput, error) CancelBatchPredictionJobRequest(*frauddetector.CancelBatchPredictionJobInput) (*request.Request, *frauddetector.CancelBatchPredictionJobOutput) + CreateBatchImportJob(*frauddetector.CreateBatchImportJobInput) (*frauddetector.CreateBatchImportJobOutput, error) + CreateBatchImportJobWithContext(aws.Context, *frauddetector.CreateBatchImportJobInput, ...request.Option) (*frauddetector.CreateBatchImportJobOutput, error) + CreateBatchImportJobRequest(*frauddetector.CreateBatchImportJobInput) (*request.Request, *frauddetector.CreateBatchImportJobOutput) + CreateBatchPredictionJob(*frauddetector.CreateBatchPredictionJobInput) (*frauddetector.CreateBatchPredictionJobOutput, error) CreateBatchPredictionJobWithContext(aws.Context, *frauddetector.CreateBatchPredictionJobInput, ...request.Option) (*frauddetector.CreateBatchPredictionJobOutput, error) CreateBatchPredictionJobRequest(*frauddetector.CreateBatchPredictionJobInput) (*request.Request, *frauddetector.CreateBatchPredictionJobOutput) @@ -96,6 +104,10 @@ type FraudDetectorAPI interface { CreateVariableWithContext(aws.Context, *frauddetector.CreateVariableInput, ...request.Option) (*frauddetector.CreateVariableOutput, error) CreateVariableRequest(*frauddetector.CreateVariableInput) (*request.Request, *frauddetector.CreateVariableOutput) + DeleteBatchImportJob(*frauddetector.DeleteBatchImportJobInput) (*frauddetector.DeleteBatchImportJobOutput, error) + DeleteBatchImportJobWithContext(aws.Context, *frauddetector.DeleteBatchImportJobInput, ...request.Option) (*frauddetector.DeleteBatchImportJobOutput, error) + DeleteBatchImportJobRequest(*frauddetector.DeleteBatchImportJobInput) (*request.Request, *frauddetector.DeleteBatchImportJobOutput) + DeleteBatchPredictionJob(*frauddetector.DeleteBatchPredictionJobInput) (*frauddetector.DeleteBatchPredictionJobOutput, error) DeleteBatchPredictionJobWithContext(aws.Context, *frauddetector.DeleteBatchPredictionJobInput, ...request.Option) (*frauddetector.DeleteBatchPredictionJobOutput, error) DeleteBatchPredictionJobRequest(*frauddetector.DeleteBatchPredictionJobInput) (*request.Request, *frauddetector.DeleteBatchPredictionJobOutput) @@ -120,6 +132,10 @@ type FraudDetectorAPI interface { DeleteEventTypeWithContext(aws.Context, *frauddetector.DeleteEventTypeInput, ...request.Option) (*frauddetector.DeleteEventTypeOutput, error) DeleteEventTypeRequest(*frauddetector.DeleteEventTypeInput) (*request.Request, *frauddetector.DeleteEventTypeOutput) + DeleteEventsByEventType(*frauddetector.DeleteEventsByEventTypeInput) (*frauddetector.DeleteEventsByEventTypeOutput, error) + DeleteEventsByEventTypeWithContext(aws.Context, *frauddetector.DeleteEventsByEventTypeInput, ...request.Option) (*frauddetector.DeleteEventsByEventTypeOutput, error) + DeleteEventsByEventTypeRequest(*frauddetector.DeleteEventsByEventTypeInput) (*request.Request, *frauddetector.DeleteEventsByEventTypeOutput) + DeleteExternalModel(*frauddetector.DeleteExternalModelInput) (*frauddetector.DeleteExternalModelOutput, error) DeleteExternalModelWithContext(aws.Context, *frauddetector.DeleteExternalModelInput, ...request.Option) (*frauddetector.DeleteExternalModelOutput, error) DeleteExternalModelRequest(*frauddetector.DeleteExternalModelInput) (*request.Request, *frauddetector.DeleteExternalModelOutput) @@ -159,6 +175,13 @@ type FraudDetectorAPI interface { DescribeModelVersionsPages(*frauddetector.DescribeModelVersionsInput, func(*frauddetector.DescribeModelVersionsOutput, bool) bool) error DescribeModelVersionsPagesWithContext(aws.Context, *frauddetector.DescribeModelVersionsInput, func(*frauddetector.DescribeModelVersionsOutput, bool) bool, ...request.Option) error + GetBatchImportJobs(*frauddetector.GetBatchImportJobsInput) (*frauddetector.GetBatchImportJobsOutput, error) + GetBatchImportJobsWithContext(aws.Context, *frauddetector.GetBatchImportJobsInput, ...request.Option) (*frauddetector.GetBatchImportJobsOutput, error) + GetBatchImportJobsRequest(*frauddetector.GetBatchImportJobsInput) (*request.Request, *frauddetector.GetBatchImportJobsOutput) + + GetBatchImportJobsPages(*frauddetector.GetBatchImportJobsInput, func(*frauddetector.GetBatchImportJobsOutput, bool) bool) error + GetBatchImportJobsPagesWithContext(aws.Context, *frauddetector.GetBatchImportJobsInput, func(*frauddetector.GetBatchImportJobsOutput, bool) bool, ...request.Option) error + GetBatchPredictionJobs(*frauddetector.GetBatchPredictionJobsInput) (*frauddetector.GetBatchPredictionJobsOutput, error) GetBatchPredictionJobsWithContext(aws.Context, *frauddetector.GetBatchPredictionJobsInput, ...request.Option) (*frauddetector.GetBatchPredictionJobsOutput, error) GetBatchPredictionJobsRequest(*frauddetector.GetBatchPredictionJobsInput) (*request.Request, *frauddetector.GetBatchPredictionJobsOutput) @@ -166,6 +189,10 @@ type FraudDetectorAPI interface { GetBatchPredictionJobsPages(*frauddetector.GetBatchPredictionJobsInput, func(*frauddetector.GetBatchPredictionJobsOutput, bool) bool) error GetBatchPredictionJobsPagesWithContext(aws.Context, *frauddetector.GetBatchPredictionJobsInput, func(*frauddetector.GetBatchPredictionJobsOutput, bool) bool, ...request.Option) error + GetDeleteEventsByEventTypeStatus(*frauddetector.GetDeleteEventsByEventTypeStatusInput) (*frauddetector.GetDeleteEventsByEventTypeStatusOutput, error) + GetDeleteEventsByEventTypeStatusWithContext(aws.Context, *frauddetector.GetDeleteEventsByEventTypeStatusInput, ...request.Option) (*frauddetector.GetDeleteEventsByEventTypeStatusOutput, error) + GetDeleteEventsByEventTypeStatusRequest(*frauddetector.GetDeleteEventsByEventTypeStatusInput) (*request.Request, *frauddetector.GetDeleteEventsByEventTypeStatusOutput) + GetDetectorVersion(*frauddetector.GetDetectorVersionInput) (*frauddetector.GetDetectorVersionOutput, error) GetDetectorVersionWithContext(aws.Context, *frauddetector.GetDetectorVersionInput, ...request.Option) (*frauddetector.GetDetectorVersionOutput, error) GetDetectorVersionRequest(*frauddetector.GetDetectorVersionInput) (*request.Request, *frauddetector.GetDetectorVersionOutput) @@ -184,6 +211,10 @@ type FraudDetectorAPI interface { GetEntityTypesPages(*frauddetector.GetEntityTypesInput, func(*frauddetector.GetEntityTypesOutput, bool) bool) error GetEntityTypesPagesWithContext(aws.Context, *frauddetector.GetEntityTypesInput, func(*frauddetector.GetEntityTypesOutput, bool) bool, ...request.Option) error + GetEvent(*frauddetector.GetEventInput) (*frauddetector.GetEventOutput, error) + GetEventWithContext(aws.Context, *frauddetector.GetEventInput, ...request.Option) (*frauddetector.GetEventOutput, error) + GetEventRequest(*frauddetector.GetEventInput) (*request.Request, *frauddetector.GetEventOutput) + GetEventPrediction(*frauddetector.GetEventPredictionInput) (*frauddetector.GetEventPredictionOutput, error) GetEventPredictionWithContext(aws.Context, *frauddetector.GetEventPredictionInput, ...request.Option) (*frauddetector.GetEventPredictionOutput, error) GetEventPredictionRequest(*frauddetector.GetEventPredictionInput) (*request.Request, *frauddetector.GetEventPredictionOutput) @@ -280,6 +311,10 @@ type FraudDetectorAPI interface { PutOutcomeWithContext(aws.Context, *frauddetector.PutOutcomeInput, ...request.Option) (*frauddetector.PutOutcomeOutput, error) PutOutcomeRequest(*frauddetector.PutOutcomeInput) (*request.Request, *frauddetector.PutOutcomeOutput) + SendEvent(*frauddetector.SendEventInput) (*frauddetector.SendEventOutput, error) + SendEventWithContext(aws.Context, *frauddetector.SendEventInput, ...request.Option) (*frauddetector.SendEventOutput, error) + SendEventRequest(*frauddetector.SendEventInput) (*request.Request, *frauddetector.SendEventOutput) + TagResource(*frauddetector.TagResourceInput) (*frauddetector.TagResourceOutput, error) TagResourceWithContext(aws.Context, *frauddetector.TagResourceInput, ...request.Option) (*frauddetector.TagResourceOutput, error) TagResourceRequest(*frauddetector.TagResourceInput) (*request.Request, *frauddetector.TagResourceOutput) @@ -300,6 +335,10 @@ type FraudDetectorAPI interface { UpdateDetectorVersionStatusWithContext(aws.Context, *frauddetector.UpdateDetectorVersionStatusInput, ...request.Option) (*frauddetector.UpdateDetectorVersionStatusOutput, error) UpdateDetectorVersionStatusRequest(*frauddetector.UpdateDetectorVersionStatusInput) (*request.Request, *frauddetector.UpdateDetectorVersionStatusOutput) + UpdateEventLabel(*frauddetector.UpdateEventLabelInput) (*frauddetector.UpdateEventLabelOutput, error) + UpdateEventLabelWithContext(aws.Context, *frauddetector.UpdateEventLabelInput, ...request.Option) (*frauddetector.UpdateEventLabelOutput, error) + UpdateEventLabelRequest(*frauddetector.UpdateEventLabelInput) (*request.Request, *frauddetector.UpdateEventLabelOutput) + UpdateModel(*frauddetector.UpdateModelInput) (*frauddetector.UpdateModelOutput, error) UpdateModelWithContext(aws.Context, *frauddetector.UpdateModelInput, ...request.Option) (*frauddetector.UpdateModelOutput, error) UpdateModelRequest(*frauddetector.UpdateModelInput) (*request.Request, *frauddetector.UpdateModelOutput) diff --git a/service/mediaconvert/api.go b/service/mediaconvert/api.go index 79689fd500..aea00f6539 100644 --- a/service/mediaconvert/api.go +++ b/service/mediaconvert/api.go @@ -8514,7 +8514,7 @@ func (s DeleteJobTemplateOutput) GoString() string { // Send a request to permanently delete a policy that you created. type DeletePolicyInput struct { - _ struct{} `type:"structure"` + _ struct{} `type:"structure" nopayload:"true"` } // String returns the string representation. @@ -8537,7 +8537,7 @@ func (s DeletePolicyInput) GoString() string { // Successful DELETE policy requests will return an OK message. type DeletePolicyOutput struct { - _ struct{} `type:"structure"` + _ struct{} `type:"structure" nopayload:"true"` } // String returns the string representation. @@ -11104,7 +11104,7 @@ func (s *GetJobTemplateOutput) SetJobTemplate(v *JobTemplate) *GetJobTemplateOut // Send a request to retrieve the JSON for your policy. type GetPolicyInput struct { - _ struct{} `type:"structure"` + _ struct{} `type:"structure" nopayload:"true"` } // String returns the string representation. diff --git a/service/medialive/api.go b/service/medialive/api.go index 4e9e05dfbe..49e07a531a 100644 --- a/service/medialive/api.go +++ b/service/medialive/api.go @@ -573,6 +573,100 @@ func (c *MediaLive) CancelInputDeviceTransferWithContext(ctx aws.Context, input return out, req.Send() } +const opClaimDevice = "ClaimDevice" + +// ClaimDeviceRequest generates a "aws/request.Request" representing the +// client's request for the ClaimDevice 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 ClaimDevice for more information on using the ClaimDevice +// 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 ClaimDeviceRequest method. +// req, resp := client.ClaimDeviceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ClaimDevice +func (c *MediaLive) ClaimDeviceRequest(input *ClaimDeviceInput) (req *request.Request, output *ClaimDeviceOutput) { + op := &request.Operation{ + Name: opClaimDevice, + HTTPMethod: "POST", + HTTPPath: "/prod/claimDevice", + } + + if input == nil { + input = &ClaimDeviceInput{} + } + + output = &ClaimDeviceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// ClaimDevice API operation for AWS Elemental MediaLive. +// +// Send a request to claim an AWS Elemental device that you have purchased from +// a third-party vendor. After the request succeeds, you will own the device. +// +// 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 Elemental MediaLive's +// API operation ClaimDevice for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// +// * UnprocessableEntityException +// +// * InternalServerErrorException +// +// * ForbiddenException +// +// * BadGatewayException +// +// * NotFoundException +// +// * GatewayTimeoutException +// +// * TooManyRequestsException +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ClaimDevice +func (c *MediaLive) ClaimDevice(input *ClaimDeviceInput) (*ClaimDeviceOutput, error) { + req, out := c.ClaimDeviceRequest(input) + return out, req.Send() +} + +// ClaimDeviceWithContext is the same as ClaimDevice with the addition of +// the ability to pass a context and additional request options. +// +// See ClaimDevice 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 *MediaLive) ClaimDeviceWithContext(ctx aws.Context, input *ClaimDeviceInput, opts ...request.Option) (*ClaimDeviceOutput, error) { + req, out := c.ClaimDeviceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateChannel = "CreateChannel" // CreateChannelRequest generates a "aws/request.Request" representing the @@ -6513,6 +6607,10 @@ type AudioDescription struct { // broadcasterMixedAd. AudioTypeControl *string `locationName:"audioTypeControl" type:"string" enum:"AudioDescriptionAudioTypeControl"` + // Settings to configure one or more solutions that insert audio watermarks + // in the audio encode + AudioWatermarkingSettings *AudioWatermarkSettings `locationName:"audioWatermarkingSettings" type:"structure"` + // Audio codec settings. CodecSettings *AudioCodecSettings `locationName:"codecSettings" type:"structure"` @@ -6573,6 +6671,11 @@ func (s *AudioDescription) Validate() error { if s.Name == nil { invalidParams.Add(request.NewErrParamRequired("Name")) } + if s.AudioWatermarkingSettings != nil { + if err := s.AudioWatermarkingSettings.Validate(); err != nil { + invalidParams.AddNested("AudioWatermarkingSettings", err.(request.ErrInvalidParams)) + } + } if s.CodecSettings != nil { if err := s.CodecSettings.Validate(); err != nil { invalidParams.AddNested("CodecSettings", err.(request.ErrInvalidParams)) @@ -6614,6 +6717,12 @@ func (s *AudioDescription) SetAudioTypeControl(v string) *AudioDescription { return s } +// SetAudioWatermarkingSettings sets the AudioWatermarkingSettings field's value. +func (s *AudioDescription) SetAudioWatermarkingSettings(v *AudioWatermarkSettings) *AudioDescription { + s.AudioWatermarkingSettings = v + return s +} + // SetCodecSettings sets the CodecSettings field's value. func (s *AudioDescription) SetCodecSettings(v *AudioCodecSettings) *AudioDescription { s.CodecSettings = v @@ -7291,6 +7400,53 @@ func (s *AudioTrackSelection) SetTracks(v []*AudioTrack) *AudioTrackSelection { return s } +// Audio Watermark Settings +type AudioWatermarkSettings struct { + _ struct{} `type:"structure"` + + // Settings to configure Nielsen Watermarks in the audio encode + NielsenWatermarksSettings *NielsenWatermarksSettings `locationName:"nielsenWatermarksSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioWatermarkSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AudioWatermarkSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AudioWatermarkSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AudioWatermarkSettings"} + if s.NielsenWatermarksSettings != nil { + if err := s.NielsenWatermarksSettings.Validate(); err != nil { + invalidParams.AddNested("NielsenWatermarksSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNielsenWatermarksSettings sets the NielsenWatermarksSettings field's value. +func (s *AudioWatermarkSettings) SetNielsenWatermarksSettings(v *NielsenWatermarksSettings) *AudioWatermarkSettings { + s.NielsenWatermarksSettings = v + return s +} + // The settings for Automatic Input Failover. type AutomaticInputFailoverSettings struct { _ struct{} `type:"structure"` @@ -9669,7 +9825,7 @@ type ChannelSummary struct { // A collection of key-value pairs. Tags map[string]*string `locationName:"tags" type:"map"` - // Settings for VPC output + // Settings for any VPC outputs. Vpc *VpcOutputSettingsDescription `locationName:"vpc" type:"structure"` } @@ -9781,6 +9937,61 @@ func (s *ChannelSummary) SetVpc(v *VpcOutputSettingsDescription) *ChannelSummary return s } +// Request to claim an AWS Elemental device that you have purchased from a third-party +// vendor. +type ClaimDeviceInput struct { + _ struct{} `type:"structure"` + + // The id of the device you want to claim. + Id *string `locationName:"id" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ClaimDeviceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ClaimDeviceInput) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *ClaimDeviceInput) SetId(v string) *ClaimDeviceInput { + s.Id = &v + return s +} + +type ClaimDeviceOutput struct { + _ struct{} `type:"structure" nopayload:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ClaimDeviceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s ClaimDeviceOutput) GoString() string { + return s.String() +} + // Passthrough applies no color space conversion to the output type ColorSpacePassthroughSettings struct { _ struct{} `type:"structure" nopayload:"true"` @@ -10090,6 +10301,7 @@ type CreateInputInput struct { Tags map[string]*string `locationName:"tags" type:"map"` + // The different types of inputs that AWS Elemental MediaLive supports. Type *string `locationName:"type" type:"string" enum:"InputType"` // Settings for a private VPC Input.When this property is specified, the input @@ -12275,8 +12487,8 @@ type DescribeInputOutput struct { // There are two types of input sources, static and dynamic. If an input source // is dynamic you canchange the source url of the input dynamically using an - // input switch action. However, the only input typeto support a dynamic url - // at this time is MP4_FILE. By default all input sources are static. + // input switch action. Currently, two input typessupport a dynamic url at this + // time, MP4_FILE and TS_FILE. By default all input sources are static. InputSourceType *string `locationName:"inputSourceType" type:"string" enum:"InputSourceType"` MediaConnectFlows []*MediaConnectFlow `locationName:"mediaConnectFlows" type:"list"` @@ -12293,6 +12505,7 @@ type DescribeInputOutput struct { Tags map[string]*string `locationName:"tags" type:"map"` + // The different types of inputs that AWS Elemental MediaLive supports. Type *string `locationName:"type" type:"string" enum:"InputType"` } @@ -17803,7 +18016,7 @@ type Input struct { // Certain pull input sources can be dynamic, meaning that they can have their // URL's dynamically changesduring input switch actions. Presently, this functionality - // only works with MP4_FILE inputs. + // only works with MP4_FILE and TS_FILE inputs. InputSourceType *string `locationName:"inputSourceType" type:"string" enum:"InputSourceType"` // A list of MediaConnect Flows for this input. @@ -17827,6 +18040,7 @@ type Input struct { // A collection of key-value pairs. Tags map[string]*string `locationName:"tags" type:"map"` + // The different types of inputs that AWS Elemental MediaLive supports. Type *string `locationName:"type" type:"string" enum:"InputType"` } @@ -23665,6 +23879,88 @@ func (s *NetworkInputSettings) SetServerValidation(v string) *NetworkInputSettin return s } +// Nielsen CBET +type NielsenCBET struct { + _ struct{} `type:"structure"` + + // Enter the CBET check digits to use in the watermark. + // + // CbetCheckDigitString is a required field + CbetCheckDigitString *string `locationName:"cbetCheckDigitString" min:"2" type:"string" required:"true"` + + // Determines the method of CBET insertion mode when prior encoding is detected + // on the same layer. + // + // CbetStepaside is a required field + CbetStepaside *string `locationName:"cbetStepaside" type:"string" required:"true" enum:"NielsenWatermarksCbetStepaside"` + + // Enter the CBET Source ID (CSID) to use in the watermark + // + // Csid is a required field + Csid *string `locationName:"csid" min:"1" type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NielsenCBET) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NielsenCBET) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *NielsenCBET) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NielsenCBET"} + if s.CbetCheckDigitString == nil { + invalidParams.Add(request.NewErrParamRequired("CbetCheckDigitString")) + } + if s.CbetCheckDigitString != nil && len(*s.CbetCheckDigitString) < 2 { + invalidParams.Add(request.NewErrParamMinLen("CbetCheckDigitString", 2)) + } + if s.CbetStepaside == nil { + invalidParams.Add(request.NewErrParamRequired("CbetStepaside")) + } + if s.Csid == nil { + invalidParams.Add(request.NewErrParamRequired("Csid")) + } + if s.Csid != nil && len(*s.Csid) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Csid", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCbetCheckDigitString sets the CbetCheckDigitString field's value. +func (s *NielsenCBET) SetCbetCheckDigitString(v string) *NielsenCBET { + s.CbetCheckDigitString = &v + return s +} + +// SetCbetStepaside sets the CbetStepaside field's value. +func (s *NielsenCBET) SetCbetStepaside(v string) *NielsenCBET { + s.CbetStepaside = &v + return s +} + +// SetCsid sets the Csid field's value. +func (s *NielsenCBET) SetCsid(v string) *NielsenCBET { + s.Csid = &v + return s +} + // Nielsen Configuration type NielsenConfiguration struct { _ struct{} `type:"structure"` @@ -23706,6 +24002,143 @@ func (s *NielsenConfiguration) SetNielsenPcmToId3Tagging(v string) *NielsenConfi return s } +// Nielsen Naes Ii Nw +type NielsenNaesIiNw struct { + _ struct{} `type:"structure"` + + // Enter the check digit string for the watermark + // + // CheckDigitString is a required field + CheckDigitString *string `locationName:"checkDigitString" min:"2" type:"string" required:"true"` + + // Enter the Nielsen Source ID (SID) to include in the watermark + // + // Sid is a required field + Sid *float64 `locationName:"sid" type:"double" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NielsenNaesIiNw) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NielsenNaesIiNw) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *NielsenNaesIiNw) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NielsenNaesIiNw"} + if s.CheckDigitString == nil { + invalidParams.Add(request.NewErrParamRequired("CheckDigitString")) + } + if s.CheckDigitString != nil && len(*s.CheckDigitString) < 2 { + invalidParams.Add(request.NewErrParamMinLen("CheckDigitString", 2)) + } + if s.Sid == nil { + invalidParams.Add(request.NewErrParamRequired("Sid")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetCheckDigitString sets the CheckDigitString field's value. +func (s *NielsenNaesIiNw) SetCheckDigitString(v string) *NielsenNaesIiNw { + s.CheckDigitString = &v + return s +} + +// SetSid sets the Sid field's value. +func (s *NielsenNaesIiNw) SetSid(v float64) *NielsenNaesIiNw { + s.Sid = &v + return s +} + +// Nielsen Watermarks Settings +type NielsenWatermarksSettings struct { + _ struct{} `type:"structure"` + + // Complete these fields only if you want to insert watermarks of type Nielsen + // CBET + NielsenCbetSettings *NielsenCBET `locationName:"nielsenCbetSettings" type:"structure"` + + // Choose the distribution types that you want to assign to the watermarks:- + // PROGRAM_CONTENT- FINAL_DISTRIBUTOR + NielsenDistributionType *string `locationName:"nielsenDistributionType" type:"string" enum:"NielsenWatermarksDistributionTypes"` + + // Complete these fields only if you want to insert watermarks of type Nielsen + // NAES II (N2) and Nielsen NAES VI (NW). + NielsenNaesIiNwSettings *NielsenNaesIiNw `locationName:"nielsenNaesIiNwSettings" type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NielsenWatermarksSettings) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s NielsenWatermarksSettings) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *NielsenWatermarksSettings) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "NielsenWatermarksSettings"} + if s.NielsenCbetSettings != nil { + if err := s.NielsenCbetSettings.Validate(); err != nil { + invalidParams.AddNested("NielsenCbetSettings", err.(request.ErrInvalidParams)) + } + } + if s.NielsenNaesIiNwSettings != nil { + if err := s.NielsenNaesIiNwSettings.Validate(); err != nil { + invalidParams.AddNested("NielsenNaesIiNwSettings", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetNielsenCbetSettings sets the NielsenCbetSettings field's value. +func (s *NielsenWatermarksSettings) SetNielsenCbetSettings(v *NielsenCBET) *NielsenWatermarksSettings { + s.NielsenCbetSettings = v + return s +} + +// SetNielsenDistributionType sets the NielsenDistributionType field's value. +func (s *NielsenWatermarksSettings) SetNielsenDistributionType(v string) *NielsenWatermarksSettings { + s.NielsenDistributionType = &v + return s +} + +// SetNielsenNaesIiNwSettings sets the NielsenNaesIiNwSettings field's value. +func (s *NielsenWatermarksSettings) SetNielsenNaesIiNwSettings(v *NielsenNaesIiNw) *NielsenWatermarksSettings { + s.NielsenNaesIiNwSettings = v + return s +} + type NotFoundException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -33578,8 +34011,8 @@ func InputSourceEndBehavior_Values() []string { // There are two types of input sources, static and dynamic. If an input source // is dynamic you canchange the source url of the input dynamically using an -// input switch action. However, the only input typeto support a dynamic url -// at this time is MP4_FILE. By default all input sources are static. +// input switch action. Currently, two input typessupport a dynamic url at this +// time, MP4_FILE and TS_FILE. By default all input sources are static. const ( // InputSourceTypeStatic is a InputSourceType enum value InputSourceTypeStatic = "STATIC" @@ -33647,6 +34080,7 @@ func InputTimecodeSource_Values() []string { } } +// The different types of inputs that AWS Elemental MediaLive supports. const ( // InputTypeUdpPush is a InputType enum value InputTypeUdpPush = "UDP_PUSH" @@ -33674,6 +34108,9 @@ const ( // InputTypeAwsCdi is a InputType enum value InputTypeAwsCdi = "AWS_CDI" + + // InputTypeTsFile is a InputType enum value + InputTypeTsFile = "TS_FILE" ) // InputType_Values returns all elements of the InputType enum @@ -33688,6 +34125,7 @@ func InputType_Values() []string { InputTypeMediaconnect, InputTypeInputDevice, InputTypeAwsCdi, + InputTypeTsFile, } } @@ -34424,6 +34862,40 @@ func NielsenPcmToId3TaggingState_Values() []string { } } +// Nielsen Watermarks Cbet Stepaside +const ( + // NielsenWatermarksCbetStepasideDisabled is a NielsenWatermarksCbetStepaside enum value + NielsenWatermarksCbetStepasideDisabled = "DISABLED" + + // NielsenWatermarksCbetStepasideEnabled is a NielsenWatermarksCbetStepaside enum value + NielsenWatermarksCbetStepasideEnabled = "ENABLED" +) + +// NielsenWatermarksCbetStepaside_Values returns all elements of the NielsenWatermarksCbetStepaside enum +func NielsenWatermarksCbetStepaside_Values() []string { + return []string{ + NielsenWatermarksCbetStepasideDisabled, + NielsenWatermarksCbetStepasideEnabled, + } +} + +// Nielsen Watermarks Distribution Types +const ( + // NielsenWatermarksDistributionTypesFinalDistributor is a NielsenWatermarksDistributionTypes enum value + NielsenWatermarksDistributionTypesFinalDistributor = "FINAL_DISTRIBUTOR" + + // NielsenWatermarksDistributionTypesProgramContent is a NielsenWatermarksDistributionTypes enum value + NielsenWatermarksDistributionTypesProgramContent = "PROGRAM_CONTENT" +) + +// NielsenWatermarksDistributionTypes_Values returns all elements of the NielsenWatermarksDistributionTypes enum +func NielsenWatermarksDistributionTypes_Values() []string { + return []string{ + NielsenWatermarksDistributionTypesFinalDistributor, + NielsenWatermarksDistributionTypesProgramContent, + } +} + // Units for duration, e.g. 'MONTHS' const ( // OfferingDurationUnitsMonths is a OfferingDurationUnits enum value diff --git a/service/medialive/medialiveiface/interface.go b/service/medialive/medialiveiface/interface.go index 353383eef5..976ef588e2 100644 --- a/service/medialive/medialiveiface/interface.go +++ b/service/medialive/medialiveiface/interface.go @@ -84,6 +84,10 @@ type MediaLiveAPI interface { CancelInputDeviceTransferWithContext(aws.Context, *medialive.CancelInputDeviceTransferInput, ...request.Option) (*medialive.CancelInputDeviceTransferOutput, error) CancelInputDeviceTransferRequest(*medialive.CancelInputDeviceTransferInput) (*request.Request, *medialive.CancelInputDeviceTransferOutput) + ClaimDevice(*medialive.ClaimDeviceInput) (*medialive.ClaimDeviceOutput, error) + ClaimDeviceWithContext(aws.Context, *medialive.ClaimDeviceInput, ...request.Option) (*medialive.ClaimDeviceOutput, error) + ClaimDeviceRequest(*medialive.ClaimDeviceInput) (*request.Request, *medialive.ClaimDeviceOutput) + CreateChannel(*medialive.CreateChannelInput) (*medialive.CreateChannelOutput, error) CreateChannelWithContext(aws.Context, *medialive.CreateChannelInput, ...request.Option) (*medialive.CreateChannelOutput, error) CreateChannelRequest(*medialive.CreateChannelInput) (*request.Request, *medialive.CreateChannelOutput)