diff --git a/CHANGELOG.md b/CHANGELOG.md index 098733d81f7..7c62e51c156 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,34 @@ +Release v1.38.10 (2021-03-31) +=== + +### Service Client Updates +* `service/batch`: Updates service API and documentation + * AWS Batch adds support for Amazon EFS File System +* `service/cloud9`: Updates service API, documentation, and examples + * Add ImageId input parameter to CreateEnvironmentEC2 endpoint. New parameter enables creation of environments with different AMIs. +* `service/cloudformation`: Updates service API and documentation + * 1. Added a new parameter "RegionConcurrencyType" in OperationPreferences. 2. Changed the name of "AccountUrl" to "AccountsUrl" in "DeploymentTargets" parameter. +* `service/cloudhsm`: Updates service API and documentation + * Minor documentation and link updates. +* `service/cognito-sync`: Updates service API, documentation, paginators, and examples +* `service/comprehend`: Updates service API and documentation +* `service/datapipeline`: Updates service API, documentation, paginators, and examples + * Minor documentation updates and link updates. +* `service/detective`: Updates service API and documentation +* `service/directconnect`: Updates service API and documentation + * This release adds MACsec support to AWS Direct Connect +* `service/iot`: Updates service API and documentation + * Added ability to prefix search on attribute value for ListThings API. +* `service/iotwireless`: Updates service API and documentation +* `service/machinelearning`: Updates service API, documentation, paginators, and examples + * Minor documentation updates and link updates. +* `service/pricing`: Updates service API, documentation, and examples +* `service/redshift`: Updates service API and documentation + * Enable customers to share access to their Redshift clusters from other VPCs (including VPCs from other accounts). +* `service/transcribe`: Updates service API +* `service/workmail`: Updates service API and documentation + * This release adds support for mobile device access rules management in Amazon WorkMail. + Release v1.38.9 (2021-03-30) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 96233f01e80..c0fe972897b 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -6382,12 +6382,10 @@ var awsPartition = partition{ }, "me-south-1": endpoint{}, "sa-east-1": endpoint{}, - "us-east-1": endpoint{ - SSLCommonName: "queue.{dnsSuffix}", - }, - "us-east-2": endpoint{}, - "us-west-1": endpoint{}, - "us-west-2": endpoint{}, + "us-east-1": endpoint{}, + "us-east-2": endpoint{}, + "us-west-1": endpoint{}, + "us-west-2": endpoint{}, }, }, "ssm": service{ @@ -9661,6 +9659,15 @@ var awsusgovPartition = partition{ }, }, }, + "servicequotas": service{ + Defaults: endpoint{ + Protocols: []string{"https"}, + }, + Endpoints: endpoints{ + "us-gov-east-1": endpoint{}, + "us-gov-west-1": endpoint{}, + }, + }, "sms": service{ Endpoints: endpoints{ diff --git a/aws/version.go b/aws/version.go index d1a714beabd..b1fb1d8836d 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.38.9" +const SDKVersion = "1.38.10" diff --git a/models/apis/batch/2016-08-10/api-2.json b/models/apis/batch/2016-08-10/api-2.json index bff1f901462..4e2ebce8803 100644 --- a/models/apis/batch/2016-08-10/api-2.json +++ b/models/apis/batch/2016-08-10/api-2.json @@ -731,6 +731,38 @@ "type":"list", "member":{"shape":"Device"} }, + "EFSAuthorizationConfig":{ + "type":"structure", + "members":{ + "accessPointId":{"shape":"String"}, + "iam":{"shape":"EFSAuthorizationConfigIAM"} + } + }, + "EFSAuthorizationConfigIAM":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "EFSTransitEncryption":{ + "type":"string", + "enum":[ + "ENABLED", + "DISABLED" + ] + }, + "EFSVolumeConfiguration":{ + "type":"structure", + "required":["fileSystemId"], + "members":{ + "fileSystemId":{"shape":"String"}, + "rootDirectory":{"shape":"String"}, + "transitEncryption":{"shape":"EFSTransitEncryption"}, + "transitEncryptionPort":{"shape":"Integer"}, + "authorizationConfig":{"shape":"EFSAuthorizationConfig"} + } + }, "Ec2Configuration":{ "type":"structure", "required":["imageType"], @@ -1437,7 +1469,8 @@ "type":"structure", "members":{ "host":{"shape":"Host"}, - "name":{"shape":"String"} + "name":{"shape":"String"}, + "efsVolumeConfiguration":{"shape":"EFSVolumeConfiguration"} } }, "Volumes":{ diff --git a/models/apis/batch/2016-08-10/docs-2.json b/models/apis/batch/2016-08-10/docs-2.json index 5c7d7659b8f..6d220c3c85a 100644 --- a/models/apis/batch/2016-08-10/docs-2.json +++ b/models/apis/batch/2016-08-10/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Using AWS Batch, you can run batch computing workloads on the AWS Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. AWS Batch uses the advantages of this computing workload to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these advantages, AWS Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.

As a fully managed service, AWS Batch can run batch computing workloads of any scale. AWS Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With AWS Batch, there's no need to install or manage batch computing software. This means that you can focus your time and energy on analyzing results and solving your specific problems.

", + "service": "

Using AWS Batch, you can run batch computing workloads on the AWS Cloud. Batch computing is a common means for developers, scientists, and engineers to access large amounts of compute resources. AWS Batch uses the advantages of this computing workload to remove the undifferentiated heavy lifting of configuring and managing required infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these advantages, AWS Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.

As a fully managed service, AWS Batch can run batch computing workloads of any scale. AWS Batch automatically provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific workloads. With AWS Batch, there's no need to install or manage batch computing software. This means that you can focus your time and energy on analyzing results and solving your specific problems.

", "operations": { "CancelJob": "

Cancels a job in an AWS Batch job queue. Jobs that are in the SUBMITTED, PENDING, or RUNNABLE state are canceled. Jobs that have progressed to STARTING or RUNNING aren't canceled, but the API operation still succeeds, even if no job is canceled. These jobs must be terminated with the TerminateJob operation.

", "CreateComputeEnvironment": "

Creates an AWS Batch compute environment. You can create MANAGED or UNMANAGED compute environments. MANAGED compute environments can use Amazon EC2 or AWS Fargate resources. UNMANAGED compute environments can only use EC2 resources.

In a managed compute environment, AWS Batch manages the capacity and instance types of the compute resources within the environment. This is based on the compute resource specification that you define or the launch template that you specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can optionally set a maximum price so that Spot Instances only launch when the Spot Instance price is less than a specified percentage of the On-Demand price.

Multi-node parallel jobs aren't supported on Spot Instances.

In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the Amazon Elastic Container Service Developer Guide.

AWS Batch doesn't upgrade the AMIs in a compute environment after the environment is created. For example, it doesn't update the AMIs when a newer version of the Amazon ECS optimized AMI is available. Therefore, you're responsible for managing the guest operating system (including its updates and security patches) and any additional application software or utilities that you install on the compute resources. To use a new AMI for your AWS Batch jobs, complete these steps:

  1. Create a new compute environment with the new AMI.

  2. Add the compute environment to an existing job queue.

  3. Remove the earlier compute environment from your job queue.

  4. Delete the earlier compute environment.

", @@ -322,8 +322,32 @@ "LinuxParameters$devices": "

Any host devices to expose to the container. This parameter maps to Devices in the Create a container section of the Docker Remote API and the --device option to docker run.

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.

" } }, + "EFSAuthorizationConfig": { + "base": "

The authorization configuration details for the Amazon EFS file system.

", + "refs": { + "EFSVolumeConfiguration$authorizationConfig": "

The authorization configuration details for the Amazon EFS file system.

" + } + }, + "EFSAuthorizationConfigIAM": { + "base": null, + "refs": { + "EFSAuthorizationConfig$iam": "

Whether or not to use the AWS Batch execution IAM role defined in a job definition when mounting the Amazon EFS file system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. If this parameter is omitted, the default value of DISABLED is used. For more information, see Using Amazon EFS Access Points in the AWS Batch User Guide. EFS IAM authorization requires that TransitEncryption be ENABLED and that a JobRoleArn is specified.

" + } + }, + "EFSTransitEncryption": { + "base": null, + "refs": { + "EFSVolumeConfiguration$transitEncryption": "

Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of DISABLED is used. For more information, see Encrypting data in transit in the Amazon Elastic File System User Guide.

" + } + }, + "EFSVolumeConfiguration": { + "base": "

This parameter is specified when you are using an Amazon Elastic File System file system for task storage. For more information, see Amazon EFS Volumes in the AWS Batch User Guide.

", + "refs": { + "Volume$efsVolumeConfiguration": "

This parameter is specified when you are using an Amazon Elastic File System file system for job storage. Jobs running on Fargate resources must specify a platformVersion of at least 1.4.0.

" + } + }, "Ec2Configuration": { - "base": "

Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If the Ec2Configuration isn't specified, the default is ECS_AL1.

This object isn't applicable to jobs running on Fargate resources.

", + "base": "

Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If Ec2Configuration isn't specified, the default is currently ECS_AL1 (Amazon Linux) for non-GPU, non-Graviton instances. Starting on March 31, 2021, this default will be changing to ECS_AL2 (Amazon Linux 2).

This object isn't applicable to jobs running on Fargate resources.

", "refs": { "Ec2ConfigurationList$member": null } @@ -376,7 +400,7 @@ "ImageType": { "base": null, "refs": { - "Ec2Configuration$imageType": "

The image type to match with the instance type to select an AMI. If the imageIdOverride parameter isn't specified, then a recent Amazon ECS-optimized AMI is used.

ECS_AL2

Amazon Linux 2− Default for all AWS Graviton-based instance families (for example, C6g, M6g, R6g, and T4g) and can be used for all non-GPU instance types.

ECS_AL2_NVIDIA

Amazon Linux 2 (GPU)−Default for all GPU instance families (for example P4 and G4) and can be used for all non-AWS Graviton-based instance types.

ECS_AL1

Amazon Linux−Default for all non-GPU, non-AWS Graviton instance families. Amazon Linux is reaching the end-of-life of standard support. For more information, see Amazon Linux AMI.

" + "Ec2Configuration$imageType": "

The image type to match with the instance type to select an AMI. If the imageIdOverride parameter isn't specified, then a recent Amazon ECS-optimized AMI (ECS_AL1) is used. Starting on March 31, 2021, this default will be changing to ECS_AL2 (Amazon Linux 2).

ECS_AL2

Amazon Linux 2− Default for all AWS Graviton-based instance families (for example, C6g, M6g, R6g, and T4g) and can be used for all non-GPU instance types.

ECS_AL2_NVIDIA

Amazon Linux 2 (GPU)−Default for all GPU instance families (for example P4 and G4) and can be used for all non-AWS Graviton-based instance types.

ECS_AL1

Amazon Linux−Default for all non-GPU, non-AWS Graviton instance families. Amazon Linux is reaching the end-of-life of standard support. For more information, see Amazon Linux AMI.

" } }, "Integer": { @@ -409,6 +433,7 @@ "DescribeComputeEnvironmentsRequest$maxResults": "

The maximum number of cluster results returned by DescribeComputeEnvironments in paginated output. When this parameter is used, DescribeComputeEnvironments only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeComputeEnvironments request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then DescribeComputeEnvironments returns up to 100 results and a nextToken value if applicable.

", "DescribeJobDefinitionsRequest$maxResults": "

The maximum number of results returned by DescribeJobDefinitions in paginated output. When this parameter is used, DescribeJobDefinitions only returns maxResults results in a single page and a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobDefinitions request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then DescribeJobDefinitions returns up to 100 results and a nextToken value if applicable.

", "DescribeJobQueuesRequest$maxResults": "

The maximum number of results returned by DescribeJobQueues in paginated output. When this parameter is used, DescribeJobQueues only returns maxResults results in a single page and a nextToken response element. The remaining results of the initial request can be seen by sending another DescribeJobQueues request with the returned nextToken value. This value can be between 1 and 100. If this parameter isn't used, then DescribeJobQueues returns up to 100 results and a nextToken value if applicable.

", + "EFSVolumeConfiguration$transitEncryptionPort": "

The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses. For more information, see EFS Mount Helper in the Amazon Elastic File System User Guide.

", "JobDefinition$revision": "

The revision of the job definition.

", "JobQueueDetail$priority": "

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the priority parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order, for example, a job queue with a priority value of 10 is given scheduling preference over a job queue with a priority value of 1. All of the compute environments must be either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT); EC2 and Fargate compute environments can't be mixed.

", "JobTimeout$attemptDurationSeconds": "

The time duration in seconds (measured from the job attempt's startedAt timestamp) after which AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.

", @@ -828,6 +853,9 @@ "DescribeJobQueuesResponse$nextToken": "

The nextToken value to include in a future DescribeJobQueues request. When the results of a DescribeJobQueues request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.

", "Device$hostPath": "

The path for the device on the host container instance.

", "Device$containerPath": "

The path inside the container used to expose the host device. By default, the hostPath value is used.

", + "EFSAuthorizationConfig$accessPointId": "

The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the EFSVolumeConfiguration must either be omitted or set to / which will enforce the path set on the EFS access point. If an access point is used, transit encryption must be enabled in the EFSVolumeConfiguration. For more information, see Working with Amazon EFS Access Points in the Amazon Elastic File System User Guide.

", + "EFSVolumeConfiguration$fileSystemId": "

The Amazon EFS file system ID to use.

", + "EFSVolumeConfiguration$rootDirectory": "

The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying / will have the same effect as omitting this parameter.

If an EFS access point is specified in the authorizationConfig, the root directory parameter must either be omitted or set to / which will enforce the path set on the Amazon EFS access point.

", "EvaluateOnExit$onStatusReason": "

Contains a glob pattern to match against the StatusReason returned for a job. The pattern can be up to 512 characters long, and can contain letters, numbers, periods (.), colons (:), and white space (including spaces or tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

", "EvaluateOnExit$onReason": "

Contains a glob pattern to match against the Reason returned for a job. The pattern can be up to 512 characters long, and can contain letters, numbers, periods (.), colons (:), and white space (including spaces and tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

", "EvaluateOnExit$onExitCode": "

Contains a glob pattern to match against the decimal representation of the ExitCode returned for a job. The pattern can be up to 512 characters long, can contain only numbers, and can optionally end with an asterisk (*) so that only the start of the string needs to be an exact match.

", @@ -855,7 +883,7 @@ "KeyValuePair$value": "

The value of the key-value pair. For environment variables, this is the value of the environment variable.

", "LaunchTemplateSpecification$launchTemplateId": "

The ID of the launch template.

", "LaunchTemplateSpecification$launchTemplateName": "

The name of the launch template.

", - "LaunchTemplateSpecification$version": "

The version number of the launch template, $Latest, or $Default.

If the value is $Latest, the latest version of the launch template is used. If the value is $Default, the default version of the launch template is used.

Default: $Default.

", + "LaunchTemplateSpecification$version": "

The version number of the launch template, $Latest, or $Default.

If the value is $Latest, the latest version of the launch template is used. If the value is $Default, the default version of the launch template is used.

After the compute environment is created, the launch template version used will not be changed, even if the $Default or $Latest version for the launch template is updated. To use a new launch template version, create a new compute environment, add the new compute environment to the existing job queue, remove the old compute environment from the job queue, and delete the old compute environment.

Default: $Default.

", "ListJobsRequest$jobQueue": "

The name or full Amazon Resource Name (ARN) of the job queue used to list jobs.

", "ListJobsRequest$arrayJobId": "

The job ID for an array job. Specifying an array job ID with this parameter lists all child jobs from within the specified array.

", "ListJobsRequest$multiNodeJobId": "

The job ID for a multi-node parallel job. Specifying a multi-node parallel job ID with this parameter lists all nodes that are associated with the specified job.

", @@ -896,7 +924,7 @@ "Ulimit$name": "

The type of the ulimit.

", "UntagResourceRequest$resourceArn": "

The Amazon Resource Name (ARN) of the resource from which to delete tags. AWS Batch resources that support tags are compute environments, jobs, job definitions, and job queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

", "UpdateComputeEnvironmentRequest$computeEnvironment": "

The name or full Amazon Resource Name (ARN) of the compute environment to update.

", - "UpdateComputeEnvironmentRequest$serviceRole": "

The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. For more information, see AWS Batch service IAM role in the AWS Batch User Guide.

If your specified role has a path other than /, then you must either specify the full role ARN (this is recommended) or prefix the role name with the path.

Depending on how you created your AWS Batch service role, its ARN might contain the service-role path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the service-role path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.

", + "UpdateComputeEnvironmentRequest$serviceRole": "

The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. For more information, see AWS Batch service IAM role in the AWS Batch User Guide.

If the compute environment has a service-linked role, it cannot be changed to use a regular IAM role. If the compute environment has a regular IAM role, it cannot be changed to use a service-linked role.

If your specified role has a path other than /, then you must either specify the full role ARN (this is recommended) or prefix the role name with the path.

Depending on how you created your AWS Batch service role, its ARN might contain the service-role path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the service-role path prefix. Because of this, we recommend that you specify the full ARN of your service role when you create compute environments.

", "UpdateComputeEnvironmentResponse$computeEnvironmentName": "

The name of the compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and underscores are allowed.

", "UpdateComputeEnvironmentResponse$computeEnvironmentArn": "

The Amazon Resource Name (ARN) of the compute environment.

", "UpdateJobQueueRequest$jobQueue": "

The name or the Amazon Resource Name (ARN) of the job queue.

", diff --git a/models/apis/cloud9/2017-09-23/api-2.json b/models/apis/cloud9/2017-09-23/api-2.json index 9c4587c6eeb..d798c3c8d6c 100644 --- a/models/apis/cloud9/2017-09-23/api-2.json +++ b/models/apis/cloud9/2017-09-23/api-2.json @@ -296,6 +296,7 @@ "clientRequestToken":{"shape":"ClientRequestToken"}, "instanceType":{"shape":"InstanceType"}, "subnetId":{"shape":"SubnetId"}, + "imageId":{"shape":"ImageId"}, "automaticStopTimeMinutes":{"shape":"AutomaticStopTimeMinutes"}, "ownerArn":{"shape":"UserArn"}, "tags":{"shape":"TagList"}, @@ -323,6 +324,7 @@ }, "CreateEnvironmentMembershipResult":{ "type":"structure", + "required":["membership"], "members":{ "membership":{"shape":"EnvironmentMember"} } @@ -381,6 +383,10 @@ }, "DescribeEnvironmentStatusResult":{ "type":"structure", + "required":[ + "status", + "message" + ], "members":{ "status":{"shape":"EnvironmentStatus"}, "message":{"shape":"String"} @@ -401,6 +407,11 @@ }, "Environment":{ "type":"structure", + "required":[ + "type", + "arn", + "ownerArn" + ], "members":{ "id":{"shape":"EnvironmentId"}, "name":{"shape":"EnvironmentName"}, @@ -409,12 +420,13 @@ "connectionType":{"shape":"ConnectionType"}, "arn":{"shape":"String"}, "ownerArn":{"shape":"String"}, - "lifecycle":{"shape":"EnvironmentLifecycle"} + "lifecycle":{"shape":"EnvironmentLifecycle"}, + "managedCredentialsStatus":{"shape":"ManagedCredentialsStatus"} } }, "EnvironmentArn":{ "type":"string", - "pattern":"arn:aws:cloud9:([a-z]{2}-[a-z]+-\\d{1}):[0-9]{12}:environment:[a-zA-Z0-9]{8,32}" + "pattern":"arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):cloud9:([a-z]{2}-[a-z]+-\\d{1}):[0-9]{12}:environment:[a-zA-Z0-9]{8,32}" }, "EnvironmentDescription":{ "type":"string", @@ -453,6 +465,12 @@ }, "EnvironmentMember":{ "type":"structure", + "required":[ + "permissions", + "userId", + "userArn", + "environmentId" + ], "members":{ "permissions":{"shape":"Permissions"}, "userId":{"shape":"String"}, @@ -495,6 +513,10 @@ }, "exception":true }, + "ImageId":{ + "type":"string", + "max":512 + }, "InstanceType":{ "type":"string", "max":20, @@ -541,6 +563,22 @@ "Tags":{"shape":"TagList"} } }, + "ManagedCredentialsStatus":{ + "type":"string", + "enum":[ + "ENABLED_ON_CREATE", + "ENABLED_BY_OWNER", + "DISABLED_BY_DEFAULT", + "DISABLED_BY_OWNER", + "DISABLED_BY_COLLABORATOR", + "PENDING_REMOVAL_BY_COLLABORATOR", + "PENDING_START_REMOVAL_BY_COLLABORATOR", + "PENDING_REMOVAL_BY_OWNER", + "PENDING_START_REMOVAL_BY_OWNER", + "FAILED_REMOVAL_BY_COLLABORATOR", + "FAILED_REMOVAL_BY_OWNER" + ] + }, "MaxResults":{ "type":"integer", "box":true, @@ -575,8 +613,9 @@ "String":{"type":"string"}, "SubnetId":{ "type":"string", - "max":30, - "min":5 + "max":24, + "min":15, + "pattern":"^(subnet-[0-9a-f]{8}|subnet-[0-9a-f]{17})$" }, "Tag":{ "type":"structure", @@ -587,24 +626,28 @@ "members":{ "Key":{"shape":"TagKey"}, "Value":{"shape":"TagValue"} - } + }, + "sensitive":true }, "TagKey":{ "type":"string", "max":128, - "min":1 + "min":1, + "sensitive":true }, "TagKeyList":{ "type":"list", "member":{"shape":"TagKey"}, "max":200, - "min":0 + "min":0, + "sensitive":true }, "TagList":{ "type":"list", "member":{"shape":"Tag"}, "max":200, - "min":0 + "min":0, + "sensitive":true }, "TagResourceRequest":{ "type":"structure", @@ -625,7 +668,8 @@ "TagValue":{ "type":"string", "max":256, - "min":0 + "min":0, + "sensitive":true }, "Timestamp":{"type":"timestamp"}, "TooManyRequestsException":{ @@ -685,7 +729,7 @@ }, "UserArn":{ "type":"string", - "pattern":"^arn:aws:(iam|sts)::\\d+:(root|(user\\/[\\w+=/:,.@-]{1,64}|federated-user\\/[\\w+=/:,.@-]{2,32}|assumed-role\\/[\\w+=:,.@-]{1,64}\\/[\\w+=,.@-]{1,64}))$" + "pattern":"^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(iam|sts)::\\d+:(root|(user\\/[\\w+=/:,.@-]{1,64}|federated-user\\/[\\w+=/:,.@-]{2,32}|assumed-role\\/[\\w+=:,.@-]{1,64}\\/[\\w+=,.@-]{1,64}))$" } } } diff --git a/models/apis/cloud9/2017-09-23/docs-2.json b/models/apis/cloud9/2017-09-23/docs-2.json index eeb207ab14d..1f06e127d63 100644 --- a/models/apis/cloud9/2017-09-23/docs-2.json +++ b/models/apis/cloud9/2017-09-23/docs-2.json @@ -53,8 +53,8 @@ "ConnectionType": { "base": null, "refs": { - "CreateEnvironmentEC2Request$connectionType": "

The connection type used for connecting to an Amazon EC2 environment.

", - "Environment$connectionType": "

The connection type used for connecting to an Amazon EC2 environment.

" + "CreateEnvironmentEC2Request$connectionType": "

The connection type used for connecting to an Amazon EC2 environment. Valid values are CONNECT_SSH (default) and CONNECT_SSM (connected through AWS Systems Manager).

For more information, see Accessing no-ingress EC2 instances with AWS Systems Manager in the AWS Cloud9 User Guide.

", + "Environment$connectionType": "

The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH is selected by default.

" } }, "CreateEnvironmentEC2Request": { @@ -229,6 +229,12 @@ "refs": { } }, + "ImageId": { + "base": null, + "refs": { + "CreateEnvironmentEC2Request$imageId": "

The identifier for the Amazon Machine Image (AMI) that's used to create the EC2 instance. You can specify the AMI for the instance using an AMI alias or an AWS Systems Manager (SSM) path. The default AMI is used if the parameter isn't explicitly assigned a value in the request.

AMI aliases

SSM paths

" + } + }, "InstanceType": { "base": null, "refs": { @@ -265,6 +271,12 @@ "refs": { } }, + "ManagedCredentialsStatus": { + "base": null, + "refs": { + "Environment$managedCredentialsStatus": "

Describes the status of AWS managed temporary credentials for the AWS Cloud9 environment. Available values are:

" + } + }, "MaxResults": { "base": null, "refs": { diff --git a/models/apis/cloud9/2017-09-23/examples-1.json b/models/apis/cloud9/2017-09-23/examples-1.json index 3b3ca020e86..bc428bdf05b 100644 --- a/models/apis/cloud9/2017-09-23/examples-1.json +++ b/models/apis/cloud9/2017-09-23/examples-1.json @@ -9,7 +9,7 @@ "description": "This is my demonstration environment.", "instanceType": "t2.micro", "ownerArn": "arn:aws:iam::123456789012:user/MyDemoUser", - "subnetId": "subnet-1fab8aEX" + "subnetId": "subnet-6300cd1b" }, "output": { "environmentId": "8d9967e2f0624182b74e7690ad69ebEX" diff --git a/models/apis/cloudformation/2010-05-15/api-2.json b/models/apis/cloudformation/2010-05-15/api-2.json index f45c1b65e32..57eb04d8613 100644 --- a/models/apis/cloudformation/2010-05-15/api-2.json +++ b/models/apis/cloudformation/2010-05-15/api-2.json @@ -845,6 +845,12 @@ "type":"list", "member":{"shape":"Account"} }, + "AccountsUrl":{ + "type":"string", + "max":5120, + "min":1, + "pattern":"(s3://|http(s?)://).+" + }, "AllowedValue":{"type":"string"}, "AllowedValues":{ "type":"list", @@ -1249,6 +1255,7 @@ "type":"structure", "members":{ "Accounts":{"shape":"AccountList"}, + "AccountsUrl":{"shape":"AccountsUrl"}, "OrganizationalUnitIds":{"shape":"OrganizationalUnitIdList"} } }, @@ -2304,6 +2311,13 @@ "type":"string", "pattern":"^[a-zA-Z0-9-]{1,128}$" }, + "RegionConcurrencyType":{ + "type":"string", + "enum":[ + "SEQUENTIAL", + "PARALLEL" + ] + }, "RegionList":{ "type":"list", "member":{"shape":"Region"} @@ -3073,6 +3087,7 @@ "StackSetOperationPreferences":{ "type":"structure", "members":{ + "RegionConcurrencyType":{"shape":"RegionConcurrencyType"}, "RegionOrder":{"shape":"RegionList"}, "FailureToleranceCount":{"shape":"FailureToleranceCount"}, "FailureTolerancePercentage":{"shape":"FailureTolerancePercentage"}, diff --git a/models/apis/cloudformation/2010-05-15/docs-2.json b/models/apis/cloudformation/2010-05-15/docs-2.json index 5bce8719a9a..f350547daf8 100644 --- a/models/apis/cloudformation/2010-05-15/docs-2.json +++ b/models/apis/cloudformation/2010-05-15/docs-2.json @@ -110,6 +110,12 @@ "UpdateStackSetInput$Accounts": "

[Self-managed permissions] The accounts in which to update associated stack instances. If you specify accounts, you must also specify the Regions in which to update stack set instances.

To update all the stack instances associated with this stack set, do not specify the Accounts or Regions properties.

If the stack set update includes changes to the template (that is, if the TemplateBody or TemplateURL properties are specified), or the Parameters property, AWS CloudFormation marks all stack instances with a status of OUTDATED prior to updating the stack instances in the specified accounts and Regions. If the stack set update does not include changes to the template or parameters, AWS CloudFormation updates the stack instances in the specified accounts and Regions, while leaving all other stack instances with their existing stack instance status.

" } }, + "AccountsUrl": { + "base": null, + "refs": { + "DeploymentTargets$AccountsUrl": null + } + }, "AllowedValue": { "base": null, "refs": { @@ -1457,6 +1463,12 @@ "StackSetOperationResultSummary$Region": "

The name of the AWS Region for this operation result.

" } }, + "RegionConcurrencyType": { + "base": null, + "refs": { + "StackSetOperationPreferences$RegionConcurrencyType": null + } + }, "RegionList": { "base": null, "refs": { diff --git a/models/apis/cloudhsm/2014-05-30/api-2.json b/models/apis/cloudhsm/2014-05-30/api-2.json index 3b36a5b42d7..3f9dc02a958 100644 --- a/models/apis/cloudhsm/2014-05-30/api-2.json +++ b/models/apis/cloudhsm/2014-05-30/api-2.json @@ -398,40 +398,15 @@ "SubscriptionType" ], "members":{ - "SubnetId":{ - "shape":"SubnetId", - "locationName":"SubnetId" - }, - "SshKey":{ - "shape":"SshKey", - "locationName":"SshKey" - }, - "EniIp":{ - "shape":"IpAddress", - "locationName":"EniIp" - }, - "IamRoleArn":{ - "shape":"IamRoleArn", - "locationName":"IamRoleArn" - }, - "ExternalId":{ - "shape":"ExternalId", - "locationName":"ExternalId" - }, - "SubscriptionType":{ - "shape":"SubscriptionType", - "locationName":"SubscriptionType" - }, - "ClientToken":{ - "shape":"ClientToken", - "locationName":"ClientToken" - }, - "SyslogIp":{ - "shape":"IpAddress", - "locationName":"SyslogIp" - } - }, - "locationName":"CreateHsmRequest" + "SubnetId":{"shape":"SubnetId"}, + "SshKey":{"shape":"SshKey"}, + "EniIp":{"shape":"IpAddress"}, + "IamRoleArn":{"shape":"IamRoleArn"}, + "ExternalId":{"shape":"ExternalId"}, + "SubscriptionType":{"shape":"SubscriptionType"}, + "ClientToken":{"shape":"ClientToken"}, + "SyslogIp":{"shape":"IpAddress"} + } }, "CreateHsmResponse":{ "type":"structure", @@ -471,12 +446,8 @@ "type":"structure", "required":["HsmArn"], "members":{ - "HsmArn":{ - "shape":"HsmArn", - "locationName":"HsmArn" - } - }, - "locationName":"DeleteHsmRequest" + "HsmArn":{"shape":"HsmArn"} + } }, "DeleteHsmResponse":{ "type":"structure", @@ -734,32 +705,13 @@ "type":"structure", "required":["HsmArn"], "members":{ - "HsmArn":{ - "shape":"HsmArn", - "locationName":"HsmArn" - }, - "SubnetId":{ - "shape":"SubnetId", - "locationName":"SubnetId" - }, - "EniIp":{ - "shape":"IpAddress", - "locationName":"EniIp" - }, - "IamRoleArn":{ - "shape":"IamRoleArn", - "locationName":"IamRoleArn" - }, - "ExternalId":{ - "shape":"ExternalId", - "locationName":"ExternalId" - }, - "SyslogIp":{ - "shape":"IpAddress", - "locationName":"SyslogIp" - } - }, - "locationName":"ModifyHsmRequest" + "HsmArn":{"shape":"HsmArn"}, + "SubnetId":{"shape":"SubnetId"}, + "EniIp":{"shape":"IpAddress"}, + "IamRoleArn":{"shape":"IamRoleArn"}, + "ExternalId":{"shape":"ExternalId"}, + "SyslogIp":{"shape":"IpAddress"} + } }, "ModifyHsmResponse":{ "type":"structure", diff --git a/models/apis/cloudhsm/2014-05-30/docs-2.json b/models/apis/cloudhsm/2014-05-30/docs-2.json index 998867beda2..3d37f5e7404 100644 --- a/models/apis/cloudhsm/2014-05-30/docs-2.json +++ b/models/apis/cloudhsm/2014-05-30/docs-2.json @@ -1,27 +1,27 @@ { "version": "2.0", - "service": "AWS CloudHSM Service

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

", + "service": "AWS CloudHSM Service

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

", "operations": { - "AddTagsToResource": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Adds or overwrites one or more tags for the specified AWS CloudHSM resource.

Each tag consists of a key and a value. Tag keys must be unique to each resource.

", - "CreateHapg": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.

", - "CreateHsm": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Creates an uninitialized HSM instance.

There is an upfront fee charged for each HSM instance that you create with the CreateHsm operation. If you accidentally provision an HSM and want to request a refund, delete the instance using the DeleteHsm operation, go to the AWS Support Center, create a new case, and select Account and Billing Support.

It can take up to 20 minutes to create and provision an HSM. You can monitor the status of the HSM with the DescribeHsm operation. The HSM is ready to be initialized when the status changes to RUNNING.

", - "CreateLunaClient": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Creates an HSM client.

", - "DeleteHapg": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Deletes a high-availability partition group.

", - "DeleteHsm": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.

", - "DeleteLunaClient": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Deletes a client.

", - "DescribeHapg": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Retrieves information about a high-availability partition group.

", - "DescribeHsm": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.

", - "DescribeLunaClient": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Retrieves information about an HSM client.

", - "GetConfig": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.

", - "ListAvailableZones": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Lists the Availability Zones that have available AWS CloudHSM capacity.

", - "ListHapgs": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Lists the high-availability partition groups for the account.

This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items.

", - "ListHsms": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Retrieves the identifiers of all of the HSMs provisioned for the current customer.

This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.

", - "ListLunaClients": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Lists all of the clients.

This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items.

", - "ListTagsForResource": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Returns a list of all tags for the specified AWS CloudHSM resource.

", - "ModifyHapg": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Modifies an existing high-availability partition group.

", - "ModifyHsm": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Modifies an HSM.

This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window.

", - "ModifyLunaClient": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Modifies the certificate used by the client.

This action can potentially start a workflow to install the new certificate on the client's HSMs.

", - "RemoveTagsFromResource": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Removes one or more tags from the specified AWS CloudHSM resource.

To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.

" + "AddTagsToResource": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Adds or overwrites one or more tags for the specified AWS CloudHSM resource.

Each tag consists of a key and a value. Tag keys must be unique to each resource.

", + "CreateHapg": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.

", + "CreateHsm": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Creates an uninitialized HSM instance.

There is an upfront fee charged for each HSM instance that you create with the CreateHsm operation. If you accidentally provision an HSM and want to request a refund, delete the instance using the DeleteHsm operation, go to the AWS Support Center, create a new case, and select Account and Billing Support.

It can take up to 20 minutes to create and provision an HSM. You can monitor the status of the HSM with the DescribeHsm operation. The HSM is ready to be initialized when the status changes to RUNNING.

", + "CreateLunaClient": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Creates an HSM client.

", + "DeleteHapg": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Deletes a high-availability partition group.

", + "DeleteHsm": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.

", + "DeleteLunaClient": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Deletes a client.

", + "DescribeHapg": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Retrieves information about a high-availability partition group.

", + "DescribeHsm": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.

", + "DescribeLunaClient": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Retrieves information about an HSM client.

", + "GetConfig": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.

", + "ListAvailableZones": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Lists the Availability Zones that have available AWS CloudHSM capacity.

", + "ListHapgs": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Lists the high-availability partition groups for the account.

This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items.

", + "ListHsms": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Retrieves the identifiers of all of the HSMs provisioned for the current customer.

This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.

", + "ListLunaClients": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Lists all of the clients.

This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items.

", + "ListTagsForResource": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Returns a list of all tags for the specified AWS CloudHSM resource.

", + "ModifyHapg": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Modifies an existing high-availability partition group.

", + "ModifyHsm": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Modifies an HSM.

This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window.

", + "ModifyLunaClient": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Modifies the certificate used by the client.

This action can potentially start a workflow to install the new certificate on the client's HSMs.

", + "RemoveTagsFromResource": "

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Removes one or more tags from the specified AWS CloudHSM resource.

To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.

" }, "shapes": { "AZ": { diff --git a/models/apis/cognito-sync/2014-06-30/api-2.json b/models/apis/cognito-sync/2014-06-30/api-2.json index ca5155335ba..d15944a7e88 100644 --- a/models/apis/cognito-sync/2014-06-30/api-2.json +++ b/models/apis/cognito-sync/2014-06-30/api-2.json @@ -4,9 +4,10 @@ "apiVersion":"2014-06-30", "endpointPrefix":"cognito-sync", "jsonVersion":"1.1", + "protocol":"rest-json", "serviceFullName":"Amazon Cognito Sync", + "serviceId":"Cognito Sync", "signatureVersion":"v4", - "protocol":"rest-json", "uid":"cognito-sync-2014-06-30" }, "operations":{ @@ -20,60 +21,12 @@ "input":{"shape":"BulkPublishRequest"}, "output":{"shape":"BulkPublishResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"DuplicateRequestException", - "error":{ - "code":"DuplicateRequest", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"AlreadyStreamedException", - "error":{ - "code":"AlreadyStreamed", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"}, + {"shape":"DuplicateRequestException"}, + {"shape":"AlreadyStreamedException"} ] }, "DeleteDataset":{ @@ -86,60 +39,12 @@ "input":{"shape":"DeleteDatasetRequest"}, "output":{"shape":"DeleteDatasetResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceConflictException", - "error":{ - "code":"ResourceConflict", - "httpStatusCode":409, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ResourceConflictException"} ] }, "DescribeDataset":{ @@ -152,51 +57,11 @@ "input":{"shape":"DescribeDatasetRequest"}, "output":{"shape":"DescribeDatasetResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"}, + {"shape":"TooManyRequestsException"} ] }, "DescribeIdentityPoolUsage":{ @@ -209,51 +74,11 @@ "input":{"shape":"DescribeIdentityPoolUsageRequest"}, "output":{"shape":"DescribeIdentityPoolUsageResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"}, + {"shape":"TooManyRequestsException"} ] }, "DescribeIdentityUsage":{ @@ -266,51 +91,11 @@ "input":{"shape":"DescribeIdentityUsageRequest"}, "output":{"shape":"DescribeIdentityUsageResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"}, + {"shape":"TooManyRequestsException"} ] }, "GetBulkPublishDetails":{ @@ -323,42 +108,10 @@ "input":{"shape":"GetBulkPublishDetailsRequest"}, "output":{"shape":"GetBulkPublishDetailsResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"} ] }, "GetCognitoEvents":{ @@ -371,51 +124,11 @@ "input":{"shape":"GetCognitoEventsRequest"}, "output":{"shape":"GetCognitoEventsResponse"}, "errors":[ - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"NotAuthorizedException"}, + {"shape":"InternalErrorException"}, + {"shape":"TooManyRequestsException"} ] }, "GetIdentityPoolConfiguration":{ @@ -428,51 +141,11 @@ "input":{"shape":"GetIdentityPoolConfigurationRequest"}, "output":{"shape":"GetIdentityPoolConfigurationResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"}, + {"shape":"TooManyRequestsException"} ] }, "ListDatasets":{ @@ -485,42 +158,10 @@ "input":{"shape":"ListDatasetsRequest"}, "output":{"shape":"ListDatasetsResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"InternalErrorException"}, + {"shape":"TooManyRequestsException"} ] }, "ListIdentityPoolUsage":{ @@ -533,42 +174,10 @@ "input":{"shape":"ListIdentityPoolUsageRequest"}, "output":{"shape":"ListIdentityPoolUsageResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"InternalErrorException"}, + {"shape":"TooManyRequestsException"} ] }, "ListRecords":{ @@ -581,42 +190,10 @@ "input":{"shape":"ListRecordsRequest"}, "output":{"shape":"ListRecordsResponse"}, "errors":[ - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - } + {"shape":"InvalidParameterException"}, + {"shape":"NotAuthorizedException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"InternalErrorException"} ] }, "RegisterDevice":{ @@ -629,60 +206,12 @@ "input":{"shape":"RegisterDeviceRequest"}, "output":{"shape":"RegisterDeviceResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"InvalidConfigurationException", - "error":{ - "code":"InvalidConfiguration", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidConfigurationException"}, + {"shape":"TooManyRequestsException"} ] }, "SetCognitoEvents":{ @@ -694,51 +223,11 @@ }, "input":{"shape":"SetCognitoEventsRequest"}, "errors":[ - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"NotAuthorizedException"}, + {"shape":"InternalErrorException"}, + {"shape":"TooManyRequestsException"} ] }, "SetIdentityPoolConfiguration":{ @@ -751,60 +240,12 @@ "input":{"shape":"SetIdentityPoolConfigurationRequest"}, "output":{"shape":"SetIdentityPoolConfigurationResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ConcurrentModificationException", - "error":{ - "code":"ConcurrentModification", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"ConcurrentModificationException"} ] }, "SubscribeToDataset":{ @@ -817,60 +258,12 @@ "input":{"shape":"SubscribeToDatasetRequest"}, "output":{"shape":"SubscribeToDatasetResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"InvalidConfigurationException", - "error":{ - "code":"InvalidConfiguration", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidConfigurationException"}, + {"shape":"TooManyRequestsException"} ] }, "UnsubscribeFromDataset":{ @@ -883,60 +276,12 @@ "input":{"shape":"UnsubscribeFromDatasetRequest"}, "output":{"shape":"UnsubscribeFromDatasetResponse"}, "errors":[ - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - }, - { - "shape":"InvalidConfigurationException", - "error":{ - "code":"InvalidConfiguration", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - } + {"shape":"NotAuthorizedException"}, + {"shape":"InvalidParameterException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalErrorException"}, + {"shape":"InvalidConfigurationException"}, + {"shape":"TooManyRequestsException"} ] }, "UpdateRecords":{ @@ -949,87 +294,15 @@ "input":{"shape":"UpdateRecordsRequest"}, "output":{"shape":"UpdateRecordsResponse"}, "errors":[ - { - "shape":"InvalidParameterException", - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"LimitExceededException", - "error":{ - "code":"LimitExceeded", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"NotAuthorizedException", - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, - "exception":true - }, - { - "shape":"ResourceConflictException", - "error":{ - "code":"ResourceConflict", - "httpStatusCode":409, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InvalidLambdaFunctionOutputException", - "error":{ - "code":"InvalidLambdaFunctionOutput", - "httpStatusCode":400, - "senderFault":true - }, - "exception":true - }, - { - "shape":"LambdaThrottledException", - "error":{ - "code":"LambdaThrottled", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - }, - { - "shape":"TooManyRequestsException", - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, - "exception":true - }, - { - "shape":"InternalErrorException", - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, - "exception":true, - "fault":true - } + {"shape":"InvalidParameterException"}, + {"shape":"LimitExceededException"}, + {"shape":"NotAuthorizedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceConflictException"}, + {"shape":"InvalidLambdaFunctionOutputException"}, + {"shape":"LambdaThrottledException"}, + {"shape":"TooManyRequestsException"}, + {"shape":"InternalErrorException"} ] } }, @@ -1040,11 +313,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"AlreadyStreamed", - "httpStatusCode":400, - "senderFault":true - }, + "error":{"httpStatusCode":400}, "exception":true }, "ApplicationArn":{ @@ -1057,8 +326,8 @@ }, "AssumeRoleArn":{ "type":"string", - "min":20, "max":2048, + "min":20, "pattern":"arn:aws:iam::\\d+:role/.*" }, "Boolean":{"type":"boolean"}, @@ -1104,11 +373,7 @@ "members":{ "message":{"shape":"String"} }, - "error":{ - "code":"ConcurrentModification", - "httpStatusCode":400, - "senderFault":true - }, + "error":{"httpStatusCode":400}, "exception":true }, "Dataset":{ @@ -1129,8 +394,8 @@ }, "DatasetName":{ "type":"string", - "min":1, "max":128, + "min":1, "pattern":"[a-zA-Z0-9_.:-]+" }, "Date":{"type":"timestamp"}, @@ -1240,8 +505,8 @@ }, "DeviceId":{ "type":"string", - "min":1, - "max":256 + "max":256, + "min":1 }, "DuplicateRequestException":{ "type":"structure", @@ -1249,11 +514,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"DuplicateRequest", - "httpStatusCode":400, - "senderFault":true - }, + "error":{"httpStatusCode":400}, "exception":true }, "Events":{ @@ -1322,14 +583,14 @@ }, "IdentityId":{ "type":"string", - "min":1, "max":55, + "min":1, "pattern":"[\\w-]+:[0-9a-f-]+" }, "IdentityPoolId":{ "type":"string", - "min":1, "max":55, + "min":1, "pattern":"[\\w-]+:[0-9a-f-]+" }, "IdentityPoolUsage":{ @@ -1363,10 +624,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"InternalError", - "httpStatusCode":500 - }, + "error":{"httpStatusCode":500}, "exception":true, "fault":true }, @@ -1376,11 +634,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"InvalidConfiguration", - "httpStatusCode":400, - "senderFault":true - }, + "error":{"httpStatusCode":400}, "exception":true }, "InvalidLambdaFunctionOutputException":{ @@ -1389,11 +643,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"InvalidLambdaFunctionOutput", - "httpStatusCode":400, - "senderFault":true - }, + "error":{"httpStatusCode":400}, "exception":true }, "InvalidParameterException":{ @@ -1402,11 +652,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"InvalidParameter", - "httpStatusCode":400, - "senderFault":true - }, + "error":{"httpStatusCode":400}, "exception":true }, "LambdaFunctionArn":{"type":"string"}, @@ -1416,11 +662,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"LambdaThrottled", - "httpStatusCode":429, - "senderFault":true - }, + "error":{"httpStatusCode":429}, "exception":true }, "LimitExceededException":{ @@ -1429,11 +671,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"LimitExceeded", - "httpStatusCode":400, - "senderFault":true - }, + "error":{"httpStatusCode":400}, "exception":true }, "ListDatasetsRequest":{ @@ -1567,11 +805,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"NotAuthorizedError", - "httpStatusCode":403, - "senderFault":true - }, + "error":{"httpStatusCode":403}, "exception":true }, "Operation":{ @@ -1611,8 +845,8 @@ }, "RecordKey":{ "type":"string", - "min":1, - "max":1024 + "max":1024, + "min":1 }, "RecordList":{ "type":"list", @@ -1676,11 +910,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"ResourceConflict", - "httpStatusCode":409, - "senderFault":true - }, + "error":{"httpStatusCode":409}, "exception":true }, "ResourceNotFoundException":{ @@ -1689,11 +919,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"ResourceNotFound", - "httpStatusCode":404, - "senderFault":true - }, + "error":{"httpStatusCode":404}, "exception":true }, "SetCognitoEventsRequest":{ @@ -1734,8 +960,8 @@ }, "StreamName":{ "type":"string", - "min":1, - "max":128 + "max":128, + "min":1 }, "StreamingStatus":{ "type":"string", @@ -1788,11 +1014,7 @@ "members":{ "message":{"shape":"ExceptionMessage"} }, - "error":{ - "code":"TooManyRequests", - "httpStatusCode":429, - "senderFault":true - }, + "error":{"httpStatusCode":429}, "exception":true }, "UnsubscribeFromDatasetRequest":{ diff --git a/models/apis/cognito-sync/2014-06-30/docs-2.json b/models/apis/cognito-sync/2014-06-30/docs-2.json index 243b7973d9f..af47b63b643 100644 --- a/models/apis/cognito-sync/2014-06-30/docs-2.json +++ b/models/apis/cognito-sync/2014-06-30/docs-2.json @@ -1,25 +1,25 @@ { "version": "2.0", + "service": "Amazon Cognito Sync

Amazon Cognito Sync provides an AWS service and client library that enable cross-device syncing of application-related user data. High-level client libraries are available for both iOS and Android. You can use these libraries to persist data locally so that it's available even if the device is offline. Developer credentials don't need to be stored on the mobile device to access the service. You can use Amazon Cognito to obtain a normalized user ID and credentials. User data is persisted in a dataset that can store up to 1 MB of key-value pairs, and you can have up to 20 datasets per user identity.

With Amazon Cognito Sync, the data stored for each identity is accessible only to credentials assigned to that identity. In order to use the Cognito Sync service, you need to make API calls using credentials retrieved with Amazon Cognito Identity service.

If you want to use Cognito Sync in an Android or iOS application, you will probably want to make API calls via the AWS Mobile SDK. To learn more, see the Developer Guide for Android and the Developer Guide for iOS.

", "operations": { - "BulkPublish": "

Initiates a bulk publish of all existing datasets for an Identity Pool to the configured stream. Customers are limited to one successful bulk publish per 24 hours. Bulk publish is an asynchronous request, customers can see the status of the request via the GetBulkPublishDetails operation.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", + "BulkPublish": "

Initiates a bulk publish of all existing datasets for an Identity Pool to the configured stream. Customers are limited to one successful bulk publish per 24 hours. Bulk publish is an asynchronous request, customers can see the status of the request via the GetBulkPublishDetails operation.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", "DeleteDataset": "

Deletes the specific dataset. The dataset will be deleted permanently, and the action can't be undone. Datasets that this dataset was merged with will no longer report the merge. Any subsequent operation on this dataset will result in a ResourceNotFoundException.

This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.

", "DescribeDataset": "

Gets meta data about a dataset by identity and dataset name. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data.

This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use Cognito Identity credentials to make this API call.

", "DescribeIdentityPoolUsage": "

Gets usage details (for example, data storage) about a particular identity pool.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", "DescribeIdentityUsage": "

Gets usage information for an identity, including number of datasets and data usage.

This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.

", - "GetBulkPublishDetails": "

Get the status of the last BulkPublish operation for an identity pool.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", - "GetCognitoEvents": "

Gets the events and the corresponding Lambda functions associated with an identity pool.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", - "GetIdentityPoolConfiguration": "

Gets the configuration settings of an identity pool.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", + "GetBulkPublishDetails": "

Get the status of the last BulkPublish operation for an identity pool.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", + "GetCognitoEvents": "

Gets the events and the corresponding Lambda functions associated with an identity pool.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", + "GetIdentityPoolConfiguration": "

Gets the configuration settings of an identity pool.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", "ListDatasets": "

Lists datasets for an identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data.

ListDatasets can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use the Cognito Identity credentials to make this API call.

", "ListIdentityPoolUsage": "

Gets a list of identity pools registered with Cognito.

ListIdentityPoolUsage can only be called with developer credentials. You cannot make this API call with the temporary user credentials provided by Cognito Identity.

", "ListRecords": "

Gets paginated records, optionally changed after a particular sync count for a dataset and identity. With Amazon Cognito Sync, each identity has access only to its own data. Thus, the credentials used to make this API call need to have access to the identity data.

ListRecords can be called with temporary user credentials provided by Cognito Identity or with developer credentials. You should use Cognito Identity credentials to make this API call.

", - "RegisterDevice": "

Registers a device to receive push sync notifications.

This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.

", - "SetCognitoEvents": "

Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", - "SetIdentityPoolConfiguration": "

Sets the necessary configuration for push sync.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", - "SubscribeToDataset": "

Subscribes to receive notifications when a dataset is modified by another device.

This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.

", - "UnsubscribeFromDataset": "

Unsubscribes from receiving notifications when a dataset is modified by another device.

This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.

", - "UpdateRecords": "

Posts updates to records and adds and deletes records for a dataset and user.

The sync count in the record patch is your last known sync count for that record. The server will reject an UpdateRecords request with a ResourceConflictException if you try to patch a record with a new value but a stale sync count.

For example, if the sync count on the server is 5 for a key called highScore and you try and submit a new highScore with sync count of 4, the request will be rejected. To obtain the current sync count for a record, call ListRecords. On a successful update of the record, the response returns the new sync count for that record. You should present that sync count the next time you try to update that same record. When the record does not exist, specify the sync count as 0.

This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.

" + "RegisterDevice": "

Registers a device to receive push sync notifications.

This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.

", + "SetCognitoEvents": "

Sets the AWS Lambda function for a given event type for an identity pool. This request only updates the key/value pair specified. Other key/values pairs are not updated. To remove a key value pair, pass a empty value for the particular key.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", + "SetIdentityPoolConfiguration": "

Sets the necessary configuration for push sync.

This API can only be called with developer credentials. You cannot call this API with the temporary user credentials provided by Cognito Identity.

", + "SubscribeToDataset": "

Subscribes to receive notifications when a dataset is modified by another device.

This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.

", + "UnsubscribeFromDataset": "

Unsubscribes from receiving notifications when a dataset is modified by another device.

This API can only be called with temporary credentials provided by Cognito Identity. You cannot call this API with developer credentials.

", + "UpdateRecords": "

Posts updates to records and adds and deletes records for a dataset and user.

The sync count in the record patch is your last known sync count for that record. The server will reject an UpdateRecords request with a ResourceConflictException if you try to patch a record with a new value but a stale sync count.

For example, if the sync count on the server is 5 for a key called highScore and you try and submit a new highScore with sync count of 4, the request will be rejected. To obtain the current sync count for a record, call ListRecords. On a successful update of the record, the response returns the new sync count for that record. You should present that sync count the next time you try to update that same record. When the record does not exist, specify the sync count as 0.

This API can be called with temporary user credentials provided by Cognito Identity or with developer credentials.

" }, - "service": "Amazon Cognito Sync

Amazon Cognito Sync provides an AWS service and client library that enable cross-device syncing of application-related user data. High-level client libraries are available for both iOS and Android. You can use these libraries to persist data locally so that it's available even if the device is offline. Developer credentials don't need to be stored on the mobile device to access the service. You can use Amazon Cognito to obtain a normalized user ID and credentials. User data is persisted in a dataset that can store up to 1 MB of key-value pairs, and you can have up to 20 datasets per user identity.

With Amazon Cognito Sync, the data stored for each identity is accessible only to credentials assigned to that identity. In order to use the Cognito Sync service, you need to make API calls using credentials retrieved with Amazon Cognito Identity service.

If you want to use Cognito Sync in an Android or iOS application, you will probably want to make API calls via the AWS Mobile SDK. To learn more, see the Developer Guide for Android and the Developer Guide for iOS.

", "shapes": { "AlreadyStreamedException": { "base": "An exception thrown when a bulk publish operation is requested less than 24 hours after a previous bulk publish operation completed successfully.", diff --git a/models/apis/cognito-sync/2014-06-30/examples-1.json b/models/apis/cognito-sync/2014-06-30/examples-1.json new file mode 100644 index 00000000000..0ea7e3b0bbe --- /dev/null +++ b/models/apis/cognito-sync/2014-06-30/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/cognito-sync/2014-06-30/paginators-1.json b/models/apis/cognito-sync/2014-06-30/paginators-1.json new file mode 100644 index 00000000000..5677bd8e4a2 --- /dev/null +++ b/models/apis/cognito-sync/2014-06-30/paginators-1.json @@ -0,0 +1,4 @@ +{ + "pagination": { + } +} diff --git a/models/apis/cognito-sync/2014-06-30/smoke.json b/models/apis/cognito-sync/2014-06-30/smoke.json new file mode 100644 index 00000000000..f22f5b2fff8 --- /dev/null +++ b/models/apis/cognito-sync/2014-06-30/smoke.json @@ -0,0 +1,18 @@ +{ + "version": 1, + "defaultRegion": "us-west-2", + "testCases": [ + { + "operationName": "ListIdentityPoolUsage", + "input": {}, + "errorExpectedFromService": false + }, + { + "operationName": "DescribeIdentityPoolUsage", + "input": { + "IdentityPoolId": "us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee" + }, + "errorExpectedFromService": true + } + ] +} diff --git a/models/apis/comprehend/2017-11-27/api-2.json b/models/apis/comprehend/2017-11-27/api-2.json index 5e9b9ea5656..158ffe2582d 100644 --- a/models/apis/comprehend/2017-11-27/api-2.json +++ b/models/apis/comprehend/2017-11-27/api-2.json @@ -1258,7 +1258,8 @@ "LanguageCode":{"shape":"LanguageCode"}, "VolumeKmsKeyId":{"shape":"KmsKeyId"}, "VpcConfig":{"shape":"VpcConfig"}, - "Mode":{"shape":"DocumentClassifierMode"} + "Mode":{"shape":"DocumentClassifierMode"}, + "ModelKmsKeyId":{"shape":"KmsKeyId"} } }, "CreateDocumentClassifierResponse":{ @@ -1282,7 +1283,8 @@ "shape":"ClientRequestTokenString", "idempotencyToken":true }, - "Tags":{"shape":"TagList"} + "Tags":{"shape":"TagList"}, + "DataAccessRoleArn":{"shape":"IamRoleArn"} } }, "CreateEndpointResponse":{ @@ -1310,7 +1312,8 @@ }, "LanguageCode":{"shape":"LanguageCode"}, "VolumeKmsKeyId":{"shape":"KmsKeyId"}, - "VpcConfig":{"shape":"VpcConfig"} + "VpcConfig":{"shape":"VpcConfig"}, + "ModelKmsKeyId":{"shape":"KmsKeyId"} } }, "CreateEntityRecognizerResponse":{ @@ -1716,7 +1719,8 @@ "DataAccessRoleArn":{"shape":"IamRoleArn"}, "VolumeKmsKeyId":{"shape":"KmsKeyId"}, "VpcConfig":{"shape":"VpcConfig"}, - "Mode":{"shape":"DocumentClassifierMode"} + "Mode":{"shape":"DocumentClassifierMode"}, + "ModelKmsKeyId":{"shape":"KmsKeyId"} } }, "DocumentClassifierPropertiesList":{ @@ -1786,7 +1790,8 @@ "DesiredInferenceUnits":{"shape":"InferenceUnitsInteger"}, "CurrentInferenceUnits":{"shape":"InferenceUnitsInteger"}, "CreationTime":{"shape":"Timestamp"}, - "LastModifiedTime":{"shape":"Timestamp"} + "LastModifiedTime":{"shape":"Timestamp"}, + "DataAccessRoleArn":{"shape":"IamRoleArn"} } }, "EndpointPropertiesList":{ @@ -1958,7 +1963,8 @@ "RecognizerMetadata":{"shape":"EntityRecognizerMetadata"}, "DataAccessRoleArn":{"shape":"IamRoleArn"}, "VolumeKmsKeyId":{"shape":"KmsKeyId"}, - "VpcConfig":{"shape":"VpcConfig"} + "VpcConfig":{"shape":"VpcConfig"}, + "ModelKmsKeyId":{"shape":"KmsKeyId"} } }, "EntityRecognizerPropertiesList":{ diff --git a/models/apis/comprehend/2017-11-27/docs-2.json b/models/apis/comprehend/2017-11-27/docs-2.json index 79d0d779dc6..25893177314 100644 --- a/models/apis/comprehend/2017-11-27/docs-2.json +++ b/models/apis/comprehend/2017-11-27/docs-2.json @@ -923,10 +923,12 @@ "base": null, "refs": { "CreateDocumentClassifierRequest$DataAccessRoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.

", + "CreateEndpointRequest$DataAccessRoleArn": "

The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).

", "CreateEntityRecognizerRequest$DataAccessRoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.

", "DocumentClassificationJobProperties$DataAccessRoleArn": "

The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.

", "DocumentClassifierProperties$DataAccessRoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.

", "DominantLanguageDetectionJobProperties$DataAccessRoleArn": "

The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

", + "EndpointProperties$DataAccessRoleArn": "

The Amazon Resource Name (ARN) of the AWS identity and Access Management (IAM) role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).

", "EntitiesDetectionJobProperties$DataAccessRoleArn": "

The Amazon Resource Name (ARN) that gives Amazon Comprehend read access to your input data.

", "EntityRecognizerProperties$DataAccessRoleArn": "

The Amazon Resource Name (ARN) of the AWS Identity and Management (IAM) role that grants Amazon Comprehend read access to your input data.

", "EventsDetectionJobProperties$DataAccessRoleArn": "

The Amazon Resource Name (ARN) of the AWS Identify and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.

", @@ -1161,13 +1163,17 @@ "base": null, "refs": { "CreateDocumentClassifierRequest$VolumeKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

", + "CreateDocumentClassifierRequest$ModelKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:

", "CreateEntityRecognizerRequest$VolumeKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

", + "CreateEntityRecognizerRequest$ModelKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats

", "DocumentClassificationJobProperties$VolumeKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

", "DocumentClassifierOutputDataConfig$KmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one of the following formats:

", "DocumentClassifierProperties$VolumeKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

", + "DocumentClassifierProperties$ModelKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:

", "DominantLanguageDetectionJobProperties$VolumeKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

", "EntitiesDetectionJobProperties$VolumeKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

", "EntityRecognizerProperties$VolumeKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

", + "EntityRecognizerProperties$ModelKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt trained custom models. The ModelKmsKeyId can be either of the following formats:

", "KeyPhrasesDetectionJobProperties$VolumeKmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt data on the storage volume attached to the ML compute instance(s) that process the analysis job. The VolumeKmsKeyId can be either of the following formats:

", "OutputDataConfig$KmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job. The KmsKeyId can be one of the following formats:

", "PiiOutputDataConfig$KmsKeyId": "

ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses to encrypt the output results from an analysis job.

", diff --git a/models/apis/datapipeline/2012-10-29/api-2.json b/models/apis/datapipeline/2012-10-29/api-2.json index 38c0d06db2d..3d1cd213f7c 100644 --- a/models/apis/datapipeline/2012-10-29/api-2.json +++ b/models/apis/datapipeline/2012-10-29/api-2.json @@ -4,10 +4,11 @@ "apiVersion":"2012-10-29", "endpointPrefix":"datapipeline", "jsonVersion":"1.1", + "protocol":"json", "serviceFullName":"AWS Data Pipeline", + "serviceId":"Data Pipeline", "signatureVersion":"v4", "targetPrefix":"DataPipeline", - "protocol":"json", "uid":"datapipeline-2012-10-29" }, "operations":{ @@ -20,23 +21,10 @@ "input":{"shape":"ActivatePipelineInput"}, "output":{"shape":"ActivatePipelineOutput"}, "errors":[ - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - }, - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - } + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"} ] }, "AddTags":{ @@ -48,23 +36,10 @@ "input":{"shape":"AddTagsInput"}, "output":{"shape":"AddTagsOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - }, - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"} ] }, "CreatePipeline":{ @@ -76,15 +51,8 @@ "input":{"shape":"CreatePipelineInput"}, "output":{"shape":"CreatePipelineOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"} ] }, "DeactivatePipeline":{ @@ -96,23 +64,10 @@ "input":{"shape":"DeactivatePipelineInput"}, "output":{"shape":"DeactivatePipelineOutput"}, "errors":[ - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - }, - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - } + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"} ] }, "DeletePipeline":{ @@ -123,19 +78,9 @@ }, "input":{"shape":"DeletePipelineInput"}, "errors":[ - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - } + {"shape":"PipelineNotFoundException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"} ] }, "DescribeObjects":{ @@ -147,23 +92,10 @@ "input":{"shape":"DescribeObjectsInput"}, "output":{"shape":"DescribeObjectsOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - }, - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"} ] }, "DescribePipelines":{ @@ -175,23 +107,10 @@ "input":{"shape":"DescribePipelinesInput"}, "output":{"shape":"DescribePipelinesOutput"}, "errors":[ - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - }, - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - } + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"} ] }, "EvaluateExpression":{ @@ -203,27 +122,11 @@ "input":{"shape":"EvaluateExpressionInput"}, "output":{"shape":"EvaluateExpressionOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"TaskNotFoundException", - "exception":true - }, - { - "shape":"InvalidRequestException", - "exception":true - }, - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"TaskNotFoundException"}, + {"shape":"InvalidRequestException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"} ] }, "GetPipelineDefinition":{ @@ -235,23 +138,10 @@ "input":{"shape":"GetPipelineDefinitionInput"}, "output":{"shape":"GetPipelineDefinitionOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - }, - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"} ] }, "ListPipelines":{ @@ -263,15 +153,8 @@ "input":{"shape":"ListPipelinesInput"}, "output":{"shape":"ListPipelinesOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"} ] }, "PollForTask":{ @@ -283,19 +166,9 @@ "input":{"shape":"PollForTaskInput"}, "output":{"shape":"PollForTaskOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - }, - { - "shape":"TaskNotFoundException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"TaskNotFoundException"} ] }, "PutPipelineDefinition":{ @@ -307,23 +180,10 @@ "input":{"shape":"PutPipelineDefinitionInput"}, "output":{"shape":"PutPipelineDefinitionOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - }, - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"} ] }, "QueryObjects":{ @@ -335,23 +195,10 @@ "input":{"shape":"QueryObjectsInput"}, "output":{"shape":"QueryObjectsOutput"}, "errors":[ - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - }, - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - } + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"} ] }, "RemoveTags":{ @@ -363,23 +210,10 @@ "input":{"shape":"RemoveTagsInput"}, "output":{"shape":"RemoveTagsOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - }, - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"} ] }, "ReportTaskProgress":{ @@ -391,27 +225,11 @@ "input":{"shape":"ReportTaskProgressInput"}, "output":{"shape":"ReportTaskProgressOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - }, - { - "shape":"TaskNotFoundException", - "exception":true - }, - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"TaskNotFoundException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"} ] }, "ReportTaskRunnerHeartbeat":{ @@ -423,15 +241,8 @@ "input":{"shape":"ReportTaskRunnerHeartbeatInput"}, "output":{"shape":"ReportTaskRunnerHeartbeatOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"} ] }, "SetStatus":{ @@ -442,23 +253,10 @@ }, "input":{"shape":"SetStatusInput"}, "errors":[ - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - }, - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - } + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"}, + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"} ] }, "SetTaskStatus":{ @@ -470,27 +268,11 @@ "input":{"shape":"SetTaskStatusInput"}, "output":{"shape":"SetTaskStatusOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"TaskNotFoundException", - "exception":true - }, - { - "shape":"InvalidRequestException", - "exception":true - }, - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"TaskNotFoundException"}, + {"shape":"InvalidRequestException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"} ] }, "ValidatePipelineDefinition":{ @@ -502,23 +284,10 @@ "input":{"shape":"ValidatePipelineDefinitionInput"}, "output":{"shape":"ValidatePipelineDefinitionOutput"}, "errors":[ - { - "shape":"InternalServiceError", - "exception":true, - "fault":true - }, - { - "shape":"InvalidRequestException", - "exception":true - }, - { - "shape":"PipelineNotFoundException", - "exception":true - }, - { - "shape":"PipelineDeletedException", - "exception":true - } + {"shape":"InternalServiceError"}, + {"shape":"InvalidRequestException"}, + {"shape":"PipelineNotFoundException"}, + {"shape":"PipelineDeletedException"} ] } }, @@ -1071,14 +840,14 @@ }, "attributeNameString":{ "type":"string", - "min":1, "max":256, + "min":1, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "attributeValueString":{ "type":"string", - "min":0, "max":10240, + "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "boolean":{"type":"boolean"}, @@ -1090,20 +859,20 @@ }, "fieldNameString":{ "type":"string", - "min":1, "max":256, + "min":1, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "fieldStringValue":{ "type":"string", - "min":0, "max":10240, + "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "id":{ "type":"string", - "min":1, "max":1024, + "min":1, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "idList":{ @@ -1113,8 +882,8 @@ "int":{"type":"integer"}, "longString":{ "type":"string", - "min":0, "max":20971520, + "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "pipelineList":{ @@ -1123,8 +892,8 @@ }, "string":{ "type":"string", - "min":0, "max":1024, + "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "stringList":{ @@ -1133,31 +902,31 @@ }, "tagKey":{ "type":"string", - "min":1, - "max":128 + "max":128, + "min":1 }, "tagList":{ "type":"list", "member":{"shape":"Tag"}, - "min":0, - "max":10 + "max":10, + "min":0 }, "tagValue":{ "type":"string", - "min":0, - "max":256 + "max":256, + "min":0 }, "taskId":{ "type":"string", - "min":1, "max":2048, + "min":1, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "timestamp":{"type":"timestamp"}, "validationMessage":{ "type":"string", - "min":0, "max":10000, + "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "validationMessages":{ diff --git a/models/apis/datapipeline/2012-10-29/docs-2.json b/models/apis/datapipeline/2012-10-29/docs-2.json index 7675f105798..3f88ef74a97 100644 --- a/models/apis/datapipeline/2012-10-29/docs-2.json +++ b/models/apis/datapipeline/2012-10-29/docs-2.json @@ -1,5 +1,6 @@ { "version": "2.0", + "service": "

AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline handles the details of scheduling and ensuring that data dependencies are met so that your application can focus on processing the data.

AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner. AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide custom data management.

AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline and define data sources, schedules, dependencies, and the transforms to be performed on the data. Use the second set in your task runner application to receive the next task ready for processing. The logic for performing the task, such as querying the data, running data analysis, or converting the data from one format to another, is contained within the task runner. The task runner performs the task assigned to it by the web service, reporting progress to the web service as it does so. When the task is done, the task runner reports the final success or failure of the task to the web service.

", "operations": { "ActivatePipeline": "

Validates the specified pipeline and starts processing pipeline tasks. If the pipeline does not pass validation, activation fails.

If you need to pause the pipeline to investigate an issue with a component, such as a data source or script, call DeactivatePipeline.

To activate a finished pipeline, modify the end date for the pipeline and then activate it.

", "AddTags": "

Adds or modifies tags for the specified pipeline.

", @@ -21,7 +22,6 @@ "SetTaskStatus": "

Task runners call SetTaskStatus to notify AWS Data Pipeline that a task is completed and provide information about the final status. A task runner makes this call regardless of whether the task was sucessful. A task runner does not need to call SetTaskStatus for tasks that are canceled by the web service during a call to ReportTaskProgress.

", "ValidatePipelineDefinition": "

Validates the specified pipeline definition to ensure that it is well formed and can be run without error.

" }, - "service": "

AWS Data Pipeline configures and manages a data-driven workflow called a pipeline. AWS Data Pipeline handles the details of scheduling and ensuring that data dependencies are met so that your application can focus on processing the data.

AWS Data Pipeline provides a JAR implementation of a task runner called AWS Data Pipeline Task Runner. AWS Data Pipeline Task Runner provides logic for common data management scenarios, such as performing database queries and running data analysis using Amazon Elastic MapReduce (Amazon EMR). You can use AWS Data Pipeline Task Runner as your task runner, or you can write your own task runner to provide custom data management.

AWS Data Pipeline implements two main sets of functionality. Use the first set to create a pipeline and define data sources, schedules, dependencies, and the transforms to be performed on the data. Use the second set in your task runner application to receive the next task ready for processing. The logic for performing the task, such as querying the data, running data analysis, or converting the data from one format to another, is contained within the task runner. The task runner performs the task assigned to it by the web service, reporting progress to the web service as it does so. When the task is done, the task runner reports the final success or failure of the task to the web service.

", "shapes": { "ActivatePipelineInput": { "base": "

Contains the parameters for ActivatePipeline.

", diff --git a/models/apis/datapipeline/2012-10-29/examples-1.json b/models/apis/datapipeline/2012-10-29/examples-1.json new file mode 100644 index 00000000000..0ea7e3b0bbe --- /dev/null +++ b/models/apis/datapipeline/2012-10-29/examples-1.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "examples": { + } +} diff --git a/models/apis/datapipeline/2012-10-29/paginators-1.json b/models/apis/datapipeline/2012-10-29/paginators-1.json index db941936bcb..00df321bcd9 100644 --- a/models/apis/datapipeline/2012-10-29/paginators-1.json +++ b/models/apis/datapipeline/2012-10-29/paginators-1.json @@ -1,26 +1,26 @@ { "pagination": { - "ListPipelines": { - "input_token": "marker", - "output_token": "marker", - "more_results": "hasMoreResults", - "result_key": "pipelineIdList" - }, "DescribeObjects": { "input_token": "marker", - "output_token": "marker", "more_results": "hasMoreResults", + "output_token": "marker", "result_key": "pipelineObjects" }, "DescribePipelines": { "result_key": "pipelineDescriptionList" }, - "QueryObjects": { + "ListPipelines": { "input_token": "marker", - "output_token": "marker", "more_results": "hasMoreResults", + "output_token": "marker", + "result_key": "pipelineIdList" + }, + "QueryObjects": { + "input_token": "marker", "limit_key": "limit", + "more_results": "hasMoreResults", + "output_token": "marker", "result_key": "ids" } } -} +} \ No newline at end of file diff --git a/models/apis/detective/2018-10-26/api-2.json b/models/apis/detective/2018-10-26/api-2.json index 655242795ea..0d7accf8dc0 100644 --- a/models/apis/detective/2018-10-26/api-2.json +++ b/models/apis/detective/2018-10-26/api-2.json @@ -32,6 +32,7 @@ "method":"POST", "requestUri":"/graph" }, + "input":{"shape":"CreateGraphRequest"}, "output":{"shape":"CreateGraphResponse"}, "errors":[ {"shape":"ConflictException"}, @@ -150,6 +151,21 @@ {"shape":"ValidationException"} ] }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"GET", + "requestUri":"/tags/{ResourceArn}", + "responseCode":200 + }, + "input":{"shape":"ListTagsForResourceRequest"}, + "output":{"shape":"ListTagsForResourceResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "RejectInvitation":{ "name":"RejectInvitation", "http":{ @@ -178,6 +194,36 @@ {"shape":"ServiceQuotaExceededException"}, {"shape":"ValidationException"} ] + }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/tags/{ResourceArn}", + "responseCode":204 + }, + "input":{"shape":"TagResourceRequest"}, + "output":{"shape":"TagResourceResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ] + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"DELETE", + "requestUri":"/tags/{ResourceArn}", + "responseCode":204 + }, + "input":{"shape":"UntagResourceRequest"}, + "output":{"shape":"UntagResourceResponse"}, + "errors":[ + {"shape":"InternalServerException"}, + {"shape":"ValidationException"}, + {"shape":"ResourceNotFoundException"} + ] } }, "shapes":{ @@ -226,6 +272,12 @@ "error":{"httpStatusCode":409}, "exception":true }, + "CreateGraphRequest":{ + "type":"structure", + "members":{ + "Tags":{"shape":"TagMap"} + } + }, "CreateGraphResponse":{ "type":"structure", "members":{ @@ -381,6 +433,23 @@ "NextToken":{"shape":"PaginationToken"} } }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["ResourceArn"], + "members":{ + "ResourceArn":{ + "shape":"GraphArn", + "location":"uri", + "locationName":"ResourceArn" + } + } + }, + "ListTagsForResourceResponse":{ + "type":"structure", + "members":{ + "Tags":{"shape":"TagMap"} + } + }, "MemberDetail":{ "type":"structure", "members":{ @@ -468,6 +537,49 @@ "AccountId":{"shape":"AccountId"} } }, + "TagKey":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$" + }, + "TagKeyList":{ + "type":"list", + "member":{"shape":"TagKey"}, + "max":50, + "min":1 + }, + "TagMap":{ + "type":"map", + "key":{"shape":"TagKey"}, + "value":{"shape":"TagValue"}, + "max":50, + "min":1 + }, + "TagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "Tags" + ], + "members":{ + "ResourceArn":{ + "shape":"GraphArn", + "location":"uri", + "locationName":"ResourceArn" + }, + "Tags":{"shape":"TagMap"} + } + }, + "TagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "TagValue":{ + "type":"string", + "max":256 + }, "Timestamp":{ "type":"timestamp", "timestampFormat":"iso8601" @@ -484,6 +596,30 @@ "member":{"shape":"UnprocessedAccount"} }, "UnprocessedReason":{"type":"string"}, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceArn", + "TagKeys" + ], + "members":{ + "ResourceArn":{ + "shape":"GraphArn", + "location":"uri", + "locationName":"ResourceArn" + }, + "TagKeys":{ + "shape":"TagKeyList", + "location":"querystring", + "locationName":"tagKeys" + } + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } + }, "ValidationException":{ "type":"structure", "members":{ diff --git a/models/apis/detective/2018-10-26/docs-2.json b/models/apis/detective/2018-10-26/docs-2.json index dcbf3b5fd43..b372bc50f71 100644 --- a/models/apis/detective/2018-10-26/docs-2.json +++ b/models/apis/detective/2018-10-26/docs-2.json @@ -12,8 +12,11 @@ "ListGraphs": "

Returns the list of behavior graphs that the calling account is an administrator account of. This operation can only be called by an administrator account.

Because an account can currently only be the administrator of one behavior graph within a Region, the results always contain a single behavior graph.

", "ListInvitations": "

Retrieves the list of open and accepted behavior graph invitations for the member account. This operation can only be called by a member account.

Open invitations are invitations that the member account has not responded to.

The results do not include behavior graphs for which the member account declined the invitation. The results also do not include behavior graphs that the member account resigned from or was removed from.

", "ListMembers": "

Retrieves the list of member accounts for a behavior graph. Does not return member accounts that were removed from the behavior graph.

", + "ListTagsForResource": "

Returns the tag values that are assigned to a behavior graph.

", "RejectInvitation": "

Rejects an invitation to contribute the account data to a behavior graph. This operation must be called by a member account that has the INVITED status.

", - "StartMonitoringMember": "

Sends a request to enable data ingest for a member account that has a status of ACCEPTED_BUT_DISABLED.

For valid member accounts, the status is updated as follows.

" + "StartMonitoringMember": "

Sends a request to enable data ingest for a member account that has a status of ACCEPTED_BUT_DISABLED.

For valid member accounts, the status is updated as follows.

", + "TagResource": "

Applies tag values to a behavior graph.

", + "UntagResource": "

Removes tags from a behavior graph.

" }, "shapes": { "AcceptInvitationRequest": { @@ -64,6 +67,11 @@ "refs": { } }, + "CreateGraphRequest": { + "base": null, + "refs": { + } + }, "CreateGraphResponse": { "base": null, "refs": { @@ -150,9 +158,12 @@ "GetMembersRequest$GraphArn": "

The ARN of the behavior graph for which to request the member details.

", "Graph$Arn": "

The ARN of the behavior graph.

", "ListMembersRequest$GraphArn": "

The ARN of the behavior graph for which to retrieve the list of member accounts.

", + "ListTagsForResourceRequest$ResourceArn": "

The ARN of the behavior graph for which to retrieve the tag values.

", "MemberDetail$GraphArn": "

The ARN of the behavior graph that the member account was invited to.

", "RejectInvitationRequest$GraphArn": "

The ARN of the behavior graph to reject the invitation to.

The member account's current member status in the behavior graph must be INVITED.

", - "StartMonitoringMemberRequest$GraphArn": "

The ARN of the behavior graph.

" + "StartMonitoringMemberRequest$GraphArn": "

The ARN of the behavior graph.

", + "TagResourceRequest$ResourceArn": "

The ARN of the behavior graph to assign the tags to.

", + "UntagResourceRequest$ResourceArn": "

The ARN of the behavior graph to remove the tags from.

" } }, "GraphList": { @@ -196,6 +207,16 @@ "refs": { } }, + "ListTagsForResourceRequest": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceResponse": { + "base": null, + "refs": { + } + }, "MemberDetail": { "base": "

Details about a member account that was invited to contribute to a behavior graph.

", "refs": { @@ -268,6 +289,43 @@ "refs": { } }, + "TagKey": { + "base": null, + "refs": { + "TagKeyList$member": null, + "TagMap$key": null + } + }, + "TagKeyList": { + "base": null, + "refs": { + "UntagResourceRequest$TagKeys": "

The tag keys of the tags to remove from the behavior graph.

" + } + }, + "TagMap": { + "base": null, + "refs": { + "CreateGraphRequest$Tags": "

The tags to assign to the new behavior graph. For each tag, you provide the tag key and the tag value.

", + "ListTagsForResourceResponse$Tags": "

The tag values that are assigned to the behavior graph.

", + "TagResourceRequest$Tags": "

The tag values to assign to the behavior graph.

" + } + }, + "TagResourceRequest": { + "base": null, + "refs": { + } + }, + "TagResourceResponse": { + "base": null, + "refs": { + } + }, + "TagValue": { + "base": null, + "refs": { + "TagMap$value": null + } + }, "Timestamp": { "base": null, "refs": { @@ -297,6 +355,16 @@ "UnprocessedAccount$Reason": "

The reason that the member account request could not be processed.

" } }, + "UntagResourceRequest": { + "base": null, + "refs": { + } + }, + "UntagResourceResponse": { + "base": null, + "refs": { + } + }, "ValidationException": { "base": "

The request parameters are invalid.

", "refs": { diff --git a/models/apis/directconnect/2012-10-25/api-2.json b/models/apis/directconnect/2012-10-25/api-2.json index 70263016766..7b8c6450e47 100644 --- a/models/apis/directconnect/2012-10-25/api-2.json +++ b/models/apis/directconnect/2012-10-25/api-2.json @@ -125,6 +125,19 @@ {"shape":"DirectConnectClientException"} ] }, + "AssociateMacSecKey":{ + "name":"AssociateMacSecKey", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"AssociateMacSecKeyRequest"}, + "output":{"shape":"AssociateMacSecKeyResponse"}, + "errors":[ + {"shape":"DirectConnectServerException"}, + {"shape":"DirectConnectClientException"} + ] + }, "AssociateVirtualInterface":{ "name":"AssociateVirtualInterface", "http":{ @@ -658,6 +671,19 @@ {"shape":"DirectConnectClientException"} ] }, + "DisassociateMacSecKey":{ + "name":"DisassociateMacSecKey", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DisassociateMacSecKeyRequest"}, + "output":{"shape":"DisassociateMacSecKeyResponse"}, + "errors":[ + {"shape":"DirectConnectServerException"}, + {"shape":"DirectConnectClientException"} + ] + }, "ListVirtualInterfaceTestHistory":{ "name":"ListVirtualInterfaceTestHistory", "http":{ @@ -725,6 +751,19 @@ {"shape":"DirectConnectClientException"} ] }, + "UpdateConnection":{ + "name":"UpdateConnection", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateConnectionRequest"}, + "output":{"shape":"Connection"}, + "errors":[ + {"shape":"DirectConnectServerException"}, + {"shape":"DirectConnectClientException"} + ] + }, "UpdateDirectConnectGatewayAssociation":{ "name":"UpdateDirectConnectGatewayAssociation", "http":{ @@ -897,6 +936,23 @@ "parentConnectionId":{"shape":"ConnectionId"} } }, + "AssociateMacSecKeyRequest":{ + "type":"structure", + "required":["connectionId"], + "members":{ + "connectionId":{"shape":"ConnectionId"}, + "secretARN":{"shape":"SecretARN"}, + "ckn":{"shape":"Ckn"}, + "cak":{"shape":"Cak"} + } + }, + "AssociateMacSecKeyResponse":{ + "type":"structure", + "members":{ + "connectionId":{"shape":"ConnectionId"}, + "macSecKeys":{"shape":"MacSecKeyList"} + } + }, "AssociateVirtualInterfaceRequest":{ "type":"structure", "required":[ @@ -918,6 +974,10 @@ } }, "AssociatedGatewayId":{"type":"string"}, + "AvailableMacSecPortSpeeds":{ + "type":"list", + "member":{"shape":"PortSpeed"} + }, "AvailablePortSpeeds":{ "type":"list", "member":{"shape":"PortSpeed"} @@ -972,6 +1032,8 @@ "Bandwidth":{"type":"string"}, "BooleanFlag":{"type":"boolean"}, "CIDR":{"type":"string"}, + "Cak":{"type":"string"}, + "Ckn":{"type":"string"}, "ConfirmConnectionRequest":{ "type":"structure", "required":["connectionId"], @@ -1049,7 +1111,11 @@ "awsDeviceV2":{"shape":"AwsDeviceV2"}, "hasLogicalRedundancy":{"shape":"HasLogicalRedundancy"}, "tags":{"shape":"TagList"}, - "providerName":{"shape":"ProviderName"} + "providerName":{"shape":"ProviderName"}, + "macSecCapable":{"shape":"MacSecCapable"}, + "portEncryptionStatus":{"shape":"PortEncryptionStatus"}, + "encryptionMode":{"shape":"EncryptionMode"}, + "macSecKeys":{"shape":"MacSecKeyList"} } }, "ConnectionId":{"type":"string"}, @@ -1105,7 +1171,8 @@ "connectionName":{"shape":"ConnectionName"}, "lagId":{"shape":"LagId"}, "tags":{"shape":"TagList"}, - "providerName":{"shape":"ProviderName"} + "providerName":{"shape":"ProviderName"}, + "requestMACSec":{"shape":"RequestMACSec"} } }, "CreateDirectConnectGatewayAssociationProposalRequest":{ @@ -1191,7 +1258,8 @@ "connectionId":{"shape":"ConnectionId"}, "tags":{"shape":"TagList"}, "childConnectionTags":{"shape":"TagList"}, - "providerName":{"shape":"ProviderName"} + "providerName":{"shape":"ProviderName"}, + "requestMACSec":{"shape":"RequestMACSec"} } }, "CreatePrivateVirtualInterfaceRequest":{ @@ -1624,12 +1692,31 @@ "lagId":{"shape":"LagId"} } }, + "DisassociateMacSecKeyRequest":{ + "type":"structure", + "required":[ + "connectionId", + "secretARN" + ], + "members":{ + "connectionId":{"shape":"ConnectionId"}, + "secretARN":{"shape":"SecretARN"} + } + }, + "DisassociateMacSecKeyResponse":{ + "type":"structure", + "members":{ + "connectionId":{"shape":"ConnectionId"}, + "macSecKeys":{"shape":"MacSecKeyList"} + } + }, "DuplicateTagKeysException":{ "type":"structure", "members":{ }, "exception":true }, + "EncryptionMode":{"type":"string"}, "EndTime":{"type":"timestamp"}, "ErrorMessage":{"type":"string"}, "FailureTestHistoryStatus":{"type":"string"}, @@ -1713,7 +1800,10 @@ "jumboFrameCapable":{"shape":"JumboFrameCapable"}, "hasLogicalRedundancy":{"shape":"HasLogicalRedundancy"}, "tags":{"shape":"TagList"}, - "providerName":{"shape":"ProviderName"} + "providerName":{"shape":"ProviderName"}, + "macSecCapable":{"shape":"MacSecCapable"}, + "encryptionMode":{"shape":"EncryptionMode"}, + "macSecKeys":{"shape":"MacSecKeyList"} } }, "LagId":{"type":"string"}, @@ -1778,7 +1868,8 @@ "locationName":{"shape":"LocationName"}, "region":{"shape":"Region"}, "availablePortSpeeds":{"shape":"AvailablePortSpeeds"}, - "availableProviders":{"shape":"ProviderList"} + "availableProviders":{"shape":"ProviderList"}, + "availableMacSecPortSpeeds":{"shape":"AvailableMacSecPortSpeeds"} } }, "LocationCode":{"type":"string"}, @@ -1795,6 +1886,20 @@ }, "LongAsn":{"type":"long"}, "MTU":{"type":"integer"}, + "MacSecCapable":{"type":"boolean"}, + "MacSecKey":{ + "type":"structure", + "members":{ + "secretARN":{"shape":"SecretARN"}, + "ckn":{"shape":"Ckn"}, + "state":{"shape":"State"}, + "startOn":{"shape":"StartOnDate"} + } + }, + "MacSecKeyList":{ + "type":"list", + "member":{"shape":"MacSecKey"} + }, "MaxResultSetSize":{ "type":"integer", "box":true @@ -1919,6 +2024,7 @@ "OwnerAccount":{"type":"string"}, "PaginationToken":{"type":"string"}, "PartnerName":{"type":"string"}, + "PortEncryptionStatus":{"type":"string"}, "PortSpeed":{"type":"string"}, "ProviderList":{ "type":"list", @@ -1926,6 +2032,7 @@ }, "ProviderName":{"type":"string"}, "Region":{"type":"string"}, + "RequestMACSec":{"type":"boolean"}, "ResourceArn":{"type":"string"}, "ResourceArnList":{ "type":"list", @@ -1953,6 +2060,7 @@ "member":{"shape":"RouteFilterPrefix"} }, "RouterConfig":{"type":"string"}, + "SecretARN":{"type":"string"}, "StartBgpFailoverTestRequest":{ "type":"structure", "required":["virtualInterfaceId"], @@ -1968,7 +2076,9 @@ "virtualInterfaceTest":{"shape":"VirtualInterfaceTestHistory"} } }, + "StartOnDate":{"type":"string"}, "StartTime":{"type":"timestamp"}, + "State":{"type":"string"}, "StateChangeError":{"type":"string"}, "StopBgpFailoverTestRequest":{ "type":"structure", @@ -2055,6 +2165,15 @@ "members":{ } }, + "UpdateConnectionRequest":{ + "type":"structure", + "required":["connectionId"], + "members":{ + "connectionId":{"shape":"ConnectionId"}, + "connectionName":{"shape":"ConnectionName"}, + "encryptionMode":{"shape":"EncryptionMode"} + } + }, "UpdateDirectConnectGatewayAssociationRequest":{ "type":"structure", "members":{ @@ -2075,7 +2194,8 @@ "members":{ "lagId":{"shape":"LagId"}, "lagName":{"shape":"LagName"}, - "minimumLinks":{"shape":"Count"} + "minimumLinks":{"shape":"Count"}, + "encryptionMode":{"shape":"EncryptionMode"} } }, "UpdateVirtualInterfaceAttributesRequest":{ diff --git a/models/apis/directconnect/2012-10-25/docs-2.json b/models/apis/directconnect/2012-10-25/docs-2.json index c97973bf1e5..af35fb798f1 100644 --- a/models/apis/directconnect/2012-10-25/docs-2.json +++ b/models/apis/directconnect/2012-10-25/docs-2.json @@ -10,6 +10,7 @@ "AllocateTransitVirtualInterface": "

Provisions a transit virtual interface to be owned by the specified AWS account. Use this type of interface to connect a transit gateway to your Direct Connect gateway.

The owner of a connection provisions a transit virtual interface to be owned by the specified AWS account.

After you create a transit virtual interface, it must be confirmed by the owner using ConfirmTransitVirtualInterface. Until this step has been completed, the transit virtual interface is in the requested state and is not available to handle traffic.

", "AssociateConnectionWithLag": "

Associates an existing connection with a link aggregation group (LAG). The connection is interrupted and re-established as a member of the LAG (connectivity to AWS is interrupted). The connection must be hosted on the same AWS Direct Connect endpoint as the LAG, and its bandwidth must match the bandwidth for the LAG. You can re-associate a connection that's currently associated with a different LAG; however, if removing the connection would cause the original LAG to fall below its setting for minimum number of operational connections, the request fails.

Any virtual interfaces that are directly associated with the connection are automatically re-associated with the LAG. If the connection was originally associated with a different LAG, the virtual interfaces remain associated with the original LAG.

For interconnects, any hosted connections are automatically re-associated with the LAG. If the interconnect was originally associated with a different LAG, the hosted connections remain associated with the original LAG.

", "AssociateHostedConnection": "

Associates a hosted connection and its virtual interfaces with a link aggregation group (LAG) or interconnect. If the target interconnect or LAG has an existing hosted connection with a conflicting VLAN number or IP address, the operation fails. This action temporarily interrupts the hosted connection's connectivity to AWS as it is being migrated.

Intended for use by AWS Direct Connect Partners only.

", + "AssociateMacSecKey": "

Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity Association Key (CAK) pair with an AWS Direct Connect dedicated connection.

You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in the request.

For information about MAC Security (MACsec) key considerations, see MACsec pre-shared CKN/CAK key considerations in the AWS Direct Connect User Guide.

", "AssociateVirtualInterface": "

Associates a virtual interface with a specified link aggregation group (LAG) or connection. Connectivity to AWS is temporarily interrupted as the virtual interface is being migrated. If the target connection or LAG has an associated virtual interface with a conflicting VLAN number or a conflicting IP address, the operation fails.

Virtual interfaces associated with a hosted connection cannot be associated with a LAG; hosted connections must be migrated along with their virtual interfaces using AssociateHostedConnection.

To reassociate a virtual interface to a new connection or LAG, the requester must own either the virtual interface itself or the connection to which the virtual interface is currently associated. Additionally, the requester must own the connection or LAG for the association.

", "ConfirmConnection": "

Confirms the creation of the specified hosted connection on an interconnect.

Upon creation, the hosted connection is initially in the Ordering state, and remains in this state until the owner confirms creation of the hosted connection.

", "ConfirmPrivateVirtualInterface": "

Accepts ownership of a private virtual interface created by another AWS account.

After the virtual interface owner makes this call, the virtual interface is created and attached to the specified virtual private gateway or Direct Connect gateway, and is made available to handle traffic.

", @@ -50,13 +51,15 @@ "DescribeVirtualGateways": "

Lists the virtual private gateways owned by the AWS account.

You can create one or more AWS Direct Connect private virtual interfaces linked to a virtual private gateway.

", "DescribeVirtualInterfaces": "

Displays all virtual interfaces for an AWS account. Virtual interfaces deleted fewer than 15 minutes before you make the request are also returned. If you specify a connection ID, only the virtual interfaces associated with the connection are returned. If you specify a virtual interface ID, then only a single virtual interface is returned.

A virtual interface (VLAN) transmits the traffic between the AWS Direct Connect location and the customer network.

", "DisassociateConnectionFromLag": "

Disassociates a connection from a link aggregation group (LAG). The connection is interrupted and re-established as a standalone connection (the connection is not deleted; to delete the connection, use the DeleteConnection request). If the LAG has associated virtual interfaces or hosted connections, they remain associated with the LAG. A disassociated connection owned by an AWS Direct Connect Partner is automatically converted to an interconnect.

If disassociating the connection would cause the LAG to fall below its setting for minimum number of operational connections, the request fails, except when it's the last member of the LAG. If all connections are disassociated, the LAG continues to exist as an empty LAG with no physical connections.

", + "DisassociateMacSecKey": "

Removes the association between a MAC Security (MACsec) security key and an AWS Direct Connect dedicated connection.

", "ListVirtualInterfaceTestHistory": "

Lists the virtual interface failover test history.

", "StartBgpFailoverTest": "

Starts the virtual interface failover test that verifies your configuration meets your resiliency requirements by placing the BGP peering session in the DOWN state. You can then send traffic to verify that there are no outages.

You can run the test on public, private, transit, and hosted virtual interfaces.

You can use ListVirtualInterfaceTestHistory to view the virtual interface test history.

If you need to stop the test before the test interval completes, use StopBgpFailoverTest.

", "StopBgpFailoverTest": "

Stops the virtual interface failover test.

", "TagResource": "

Adds the specified tags to the specified AWS Direct Connect resource. Each resource can have a maximum of 50 tags.

Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.

", "UntagResource": "

Removes one or more tags from the specified AWS Direct Connect resource.

", + "UpdateConnection": "

Updates the AWS Direct Connect dedicated connection configuration.

You can update the following parameters for a connection:

", "UpdateDirectConnectGatewayAssociation": "

Updates the specified attributes of the Direct Connect gateway association.

Add or remove prefixes from the association.

", - "UpdateLag": "

Updates the attributes of the specified link aggregation group (LAG).

You can update the following attributes:

When you create a LAG, the default value for the minimum number of operational connections is zero (0). If you update this value and the number of operational connections falls below the specified value, the LAG automatically goes down to avoid over-utilization of the remaining connections. Adjust this value with care, as it could force the LAG down if it is set higher than the current number of operational connections.

", + "UpdateLag": "

Updates the attributes of the specified link aggregation group (LAG).

You can update the following LAG attributes:

If you adjust the threshold value for the minimum number of operational connections, ensure that the new value does not cause the LAG to fall below the threshold and become non-operational.

", "UpdateVirtualInterfaceAttributes": "

Updates the specified attributes of the specified virtual private interface.

Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call DescribeConnections. To check whether your virtual q interface supports jumbo frames, call DescribeVirtualInterfaces.

" }, "shapes": { @@ -153,6 +156,16 @@ "refs": { } }, + "AssociateMacSecKeyRequest": { + "base": null, + "refs": { + } + }, + "AssociateMacSecKeyResponse": { + "base": null, + "refs": { + } + }, "AssociateVirtualInterfaceRequest": { "base": null, "refs": { @@ -172,6 +185,12 @@ "DescribeDirectConnectGatewayAssociationsRequest$associatedGatewayId": "

The ID of the associated gateway.

" } }, + "AvailableMacSecPortSpeeds": { + "base": null, + "refs": { + "Location$availableMacSecPortSpeeds": "

The available MAC Security (MACsec) port speeds for the location.

" + } + }, "AvailablePortSpeeds": { "base": null, "refs": { @@ -275,6 +294,19 @@ "RouteFilterPrefix$cidr": "

The CIDR block for the advertised route. Separate multiple routes using commas. An IPv6 CIDR must use /64 or shorter.

" } }, + "Cak": { + "base": null, + "refs": { + "AssociateMacSecKeyRequest$cak": "

The MAC Security (MACsec) CAK to associate with the dedicated connection.

You can create the CKN/CAK pair using an industry standard tool.

The valid values are 64 hexadecimal characters (0-9, A-E).

If you use this request parameter, you must use the ckn request parameter and not use the secretARN request parameter.

" + } + }, + "Ckn": { + "base": null, + "refs": { + "AssociateMacSecKeyRequest$ckn": "

The MAC Security (MACsec) CKN to associate with the dedicated connection.

You can create the CKN/CAK pair using an industry standard tool.

The valid values are 64 hexadecimal characters (0-9, A-E).

If you use this request parameter, you must use the cak request parameter and not use the secretARN request parameter.

", + "MacSecKey$ckn": "

The Connection Key Name (CKN) for the MAC Security secret key.

" + } + }, "ConfirmConnectionRequest": { "base": null, "refs": { @@ -331,6 +363,8 @@ "AssociateConnectionWithLagRequest$connectionId": "

The ID of the connection.

", "AssociateHostedConnectionRequest$connectionId": "

The ID of the hosted connection.

", "AssociateHostedConnectionRequest$parentConnectionId": "

The ID of the interconnect or the LAG.

", + "AssociateMacSecKeyRequest$connectionId": "

The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).

You can use DescribeConnections or DescribeLags to retrieve connection ID.

", + "AssociateMacSecKeyResponse$connectionId": "

The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).

", "AssociateVirtualInterfaceRequest$connectionId": "

The ID of the LAG or connection.

", "ConfirmConnectionRequest$connectionId": "

The ID of the hosted connection.

", "Connection$connectionId": "

The ID of the connection.

", @@ -345,6 +379,9 @@ "DescribeLoaRequest$connectionId": "

The ID of a connection, LAG, or interconnect.

", "DescribeVirtualInterfacesRequest$connectionId": "

The ID of the connection.

", "DisassociateConnectionFromLagRequest$connectionId": "

The ID of the connection.

", + "DisassociateMacSecKeyRequest$connectionId": "

The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).

You can use DescribeConnections or DescribeLags to retrieve connection ID.

", + "DisassociateMacSecKeyResponse$connectionId": "

The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).

", + "UpdateConnectionRequest$connectionId": "

The ID of the dedicated connection.

You can use DescribeConnections to retrieve the connection ID.

", "VirtualInterface$connectionId": "

The ID of the connection.

" } }, @@ -361,7 +398,8 @@ "AllocateConnectionOnInterconnectRequest$connectionName": "

The name of the provisioned connection.

", "AllocateHostedConnectionRequest$connectionName": "

The name of the hosted connection.

", "Connection$connectionName": "

The name of the connection.

", - "CreateConnectionRequest$connectionName": "

The name of the connection.

" + "CreateConnectionRequest$connectionName": "

The name of the connection.

", + "UpdateConnectionRequest$connectionName": "

The name of the connection.

" } }, "ConnectionState": { @@ -799,11 +837,30 @@ "refs": { } }, + "DisassociateMacSecKeyRequest": { + "base": null, + "refs": { + } + }, + "DisassociateMacSecKeyResponse": { + "base": null, + "refs": { + } + }, "DuplicateTagKeysException": { "base": "

A tag key was specified more than once.

", "refs": { } }, + "EncryptionMode": { + "base": null, + "refs": { + "Connection$encryptionMode": "

The MAC Security (MACsec) connection encryption mode.

The valid values are no_encrypt, should_encrypt, and must_encrypt.

", + "Lag$encryptionMode": "

The LAG MAC Security (MACsec) encryption mode.

The valid values are no_encrypt, should_encrypt, and must_encrypt.

", + "UpdateConnectionRequest$encryptionMode": "

The connection MAC Security (MACsec) encryption mode.

The valid values are no_encrypt, should_encrypt, and must_encrypt.

", + "UpdateLagRequest$encryptionMode": "

The LAG MAC Security (MACsec) encryption mode.

AWS applies the value to all connections which are part of the LAG.

" + } + }, "EndTime": { "base": null, "refs": { @@ -1042,6 +1099,28 @@ "VirtualInterface$mtu": "

The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.

" } }, + "MacSecCapable": { + "base": null, + "refs": { + "Connection$macSecCapable": "

Indicates whether the connection supports MAC Security (MACsec).

", + "Lag$macSecCapable": "

Indicates whether the LAG supports MAC Security (MACsec).

" + } + }, + "MacSecKey": { + "base": "

Information about the MAC Security (MACsec) secret key.

", + "refs": { + "MacSecKeyList$member": null + } + }, + "MacSecKeyList": { + "base": null, + "refs": { + "AssociateMacSecKeyResponse$macSecKeys": "

The MAC Security (MACsec) security keys associated with the dedicated connection.

", + "Connection$macSecKeys": "

The MAC Security (MACsec) security keys associated with the connection.

", + "DisassociateMacSecKeyResponse$macSecKeys": "

The MAC Security (MACsec) security keys no longer associated with the dedicated connection.

", + "Lag$macSecKeys": "

The MAC Security (MACsec) security keys associated with the LAG.

" + } + }, "MaxResultSetSize": { "base": null, "refs": { @@ -1137,9 +1216,16 @@ "Connection$partnerName": "

The name of the AWS Direct Connect service provider associated with the connection.

" } }, + "PortEncryptionStatus": { + "base": null, + "refs": { + "Connection$portEncryptionStatus": "

The MAC Security (MACsec) port link status of the connection.

The valid values are Encryption Up, which means that there is an active Connection Key Name, or Encryption Down.

" + } + }, "PortSpeed": { "base": null, "refs": { + "AvailableMacSecPortSpeeds$member": null, "AvailablePortSpeeds$member": null } }, @@ -1175,6 +1261,13 @@ "VirtualInterface$region": "

The AWS Region where the virtual interface is located.

" } }, + "RequestMACSec": { + "base": null, + "refs": { + "CreateConnectionRequest$requestMACSec": "

Indicates whether you want the connection to support MAC Security (MACsec).

MAC Security (MACsec) is only available on dedicated connections. For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the AWS Direct Connect User Guide.

", + "CreateLagRequest$requestMACSec": "

Indicates whether the connection will support MAC Security (MACsec).

All connections in the LAG must be capable of supporting MAC Security (MACsec). For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties in the AWS Direct Connect User Guide.

" + } + }, "ResourceArn": { "base": null, "refs": { @@ -1231,6 +1324,14 @@ "VirtualInterface$customerRouterConfig": "

The customer router configuration.

" } }, + "SecretARN": { + "base": null, + "refs": { + "AssociateMacSecKeyRequest$secretARN": "

The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to associate with the dedicated connection.

You can use DescribeConnections or DescribeLags to retrieve the MAC Security (MACsec) secret key.

If you use this request parameter, you do not use the ckn and cak request parameters.

", + "DisassociateMacSecKeyRequest$secretARN": "

The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.

You can use DescribeConnections to retrieve the ARN of the MAC Security (MACsec) secret key.

", + "MacSecKey$secretARN": "

The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.

" + } + }, "StartBgpFailoverTestRequest": { "base": null, "refs": { @@ -1241,12 +1342,24 @@ "refs": { } }, + "StartOnDate": { + "base": null, + "refs": { + "MacSecKey$startOn": "

The date that the MAC Security (MACsec) secret key takes effect. The value is displayed in UTC format.

" + } + }, "StartTime": { "base": null, "refs": { "VirtualInterfaceTestHistory$startTime": "

The time that the virtual interface moves to the DOWN state.

" } }, + "State": { + "base": null, + "refs": { + "MacSecKey$state": "

The state of the MAC Security (MACsec) secret key.

The possible values are:

" + } + }, "StateChangeError": { "base": null, "refs": { @@ -1351,6 +1464,11 @@ "refs": { } }, + "UpdateConnectionRequest": { + "base": null, + "refs": { + } + }, "UpdateDirectConnectGatewayAssociationRequest": { "base": null, "refs": { diff --git a/models/apis/iot/2015-05-28/api-2.json b/models/apis/iot/2015-05-28/api-2.json index 335b007aaf4..8f01d083cc4 100644 --- a/models/apis/iot/2015-05-28/api-2.json +++ b/models/apis/iot/2015-05-28/api-2.json @@ -9574,6 +9574,11 @@ "shape":"ThingTypeName", "location":"querystring", "locationName":"thingTypeName" + }, + "usePrefixAttributeValue":{ + "shape":"usePrefixAttributeValue", + "location":"querystring", + "locationName":"usePrefixAttributeValue" } } }, @@ -12592,6 +12597,7 @@ "errorMessage":{"type":"string"}, "resourceArn":{"type":"string"}, "resourceId":{"type":"string"}, - "stringValue":{"type":"string"} + "stringValue":{"type":"string"}, + "usePrefixAttributeValue":{"type":"boolean"} } } diff --git a/models/apis/iot/2015-05-28/docs-2.json b/models/apis/iot/2015-05-28/docs-2.json index 8ec14b56a11..f6a33fa4620 100644 --- a/models/apis/iot/2015-05-28/docs-2.json +++ b/models/apis/iot/2015-05-28/docs-2.json @@ -7998,6 +7998,12 @@ "refs": { "StringList$member": null } + }, + "usePrefixAttributeValue": { + "base": null, + "refs": { + "ListThingsRequest$usePrefixAttributeValue": "

When true, the action returns the thing resources with attribute values that start with the attributeValue provided.

When false, or not present, the action returns only the thing resources with attribute values that match the entire attributeValue provided.

" + } } } } diff --git a/models/apis/iotwireless/2020-11-22/api-2.json b/models/apis/iotwireless/2020-11-22/api-2.json index a0ca26ac7b8..c09d29403d6 100644 --- a/models/apis/iotwireless/2020-11-22/api-2.json +++ b/models/apis/iotwireless/2020-11-22/api-2.json @@ -993,12 +993,36 @@ } }, "AutoCreateTasks":{"type":"boolean"}, + "BatteryLevel":{ + "type":"string", + "enum":[ + "normal", + "low", + "critical" + ] + }, + "CertificateList":{ + "type":"structure", + "required":[ + "SigningAlg", + "Value" + ], + "members":{ + "SigningAlg":{"shape":"SigningAlg"}, + "Value":{"shape":"CertificateValue"} + } + }, "CertificatePEM":{ "type":"string", "max":4096, "min":1, "pattern":"[^-A-Za-z0-9+/=]|=[^=]|={3,}${1,4096}" }, + "CertificateValue":{ + "type":"string", + "max":2048, + "min":0 + }, "ChannelMask":{ "type":"string", "max":2048 @@ -1029,6 +1053,13 @@ "error":{"httpStatusCode":409}, "exception":true }, + "ConnectionStatus":{ + "type":"string", + "enum":[ + "Connected", + "Disconnected" + ] + }, "Crc":{ "type":"long", "max":4294967295, @@ -1340,6 +1371,10 @@ "max":2147483647, "min":0 }, + "DeviceCertificateList":{ + "type":"list", + "member":{"shape":"CertificateList"} + }, "DeviceProfile":{ "type":"structure", "members":{ @@ -1361,6 +1396,15 @@ "type":"string", "max":256 }, + "DeviceState":{ + "type":"string", + "enum":[ + "Provisioned", + "RegisteredNotSeen", + "RegisteredReachable", + "RegisteredUnreachable" + ] + }, "DisassociateAwsAccountFromPartnerAccountRequest":{ "type":"structure", "required":[ @@ -1463,6 +1507,16 @@ "max":256, "min":1 }, + "Event":{ + "type":"string", + "enum":[ + "discovered", + "lost", + "ack", + "nack", + "passthrough" + ] + }, "Expression":{ "type":"string", "max":2048 @@ -1636,7 +1690,8 @@ "Arn":{"shape":"WirelessDeviceArn"}, "ThingName":{"shape":"ThingName"}, "ThingArn":{"shape":"ThingArn"}, - "LoRaWAN":{"shape":"LoRaWANDevice"} + "LoRaWAN":{"shape":"LoRaWANDevice"}, + "Sidewalk":{"shape":"SidewalkDevice"} } }, "GetWirelessDeviceStatisticsRequest":{ @@ -1655,7 +1710,8 @@ "members":{ "WirelessDeviceId":{"shape":"WirelessDeviceId"}, "LastUplinkReceivedAt":{"shape":"ISODateTimeString"}, - "LoRaWAN":{"shape":"LoRaWANDeviceMetadata"} + "LoRaWAN":{"shape":"LoRaWANDeviceMetadata"}, + "Sidewalk":{"shape":"SidewalkDeviceMetadata"} } }, "GetWirelessGatewayCertificateRequest":{ @@ -1739,7 +1795,8 @@ "type":"structure", "members":{ "WirelessGatewayId":{"shape":"WirelessGatewayId"}, - "LastUplinkReceivedAt":{"shape":"ISODateTimeString"} + "LastUplinkReceivedAt":{"shape":"ISODateTimeString"}, + "ConnectionStatus":{"shape":"ConnectionStatus"} } }, "GetWirelessGatewayTaskDefinitionRequest":{ @@ -2398,12 +2455,40 @@ "type":"list", "member":{"shape":"SidewalkAccountInfoWithFingerprint"} }, + "SidewalkDevice":{ + "type":"structure", + "members":{ + "SidewalkId":{"shape":"SidewalkId"}, + "SidewalkManufacturingSn":{"shape":"SidewalkManufacturingSn"}, + "DeviceCertificates":{"shape":"DeviceCertificateList"} + } + }, + "SidewalkDeviceMetadata":{ + "type":"structure", + "members":{ + "Rssi":{"shape":"Integer"}, + "BatteryLevel":{"shape":"BatteryLevel"}, + "Event":{"shape":"Event"}, + "DeviceState":{"shape":"DeviceState"} + } + }, + "SidewalkId":{ + "type":"string", + "max":256 + }, "SidewalkListDevice":{ "type":"structure", "members":{ - "AmazonId":{"shape":"AmazonId"} + "AmazonId":{"shape":"AmazonId"}, + "SidewalkId":{"shape":"SidewalkId"}, + "SidewalkManufacturingSn":{"shape":"SidewalkManufacturingSn"}, + "DeviceCertificates":{"shape":"DeviceCertificateList"} } }, + "SidewalkManufacturingSn":{ + "type":"string", + "max":64 + }, "SidewalkSendDataToDevice":{ "type":"structure", "members":{ @@ -2416,6 +2501,13 @@ "AppServerPrivateKey":{"shape":"AppServerPrivateKey"} } }, + "SigningAlg":{ + "type":"string", + "enum":[ + "Ed25519", + "P256r1" + ] + }, "Station":{ "type":"string", "max":4096, diff --git a/models/apis/iotwireless/2020-11-22/docs-2.json b/models/apis/iotwireless/2020-11-22/docs-2.json index 16639cf472a..9c454170c89 100644 --- a/models/apis/iotwireless/2020-11-22/docs-2.json +++ b/models/apis/iotwireless/2020-11-22/docs-2.json @@ -176,12 +176,30 @@ "GetWirelessGatewayTaskDefinitionResponse$AutoCreateTasks": "

Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false, the task must me created by calling CreateWirelessGatewayTask.

" } }, + "BatteryLevel": { + "base": "

Sidewalk device battery level.

", + "refs": { + "SidewalkDeviceMetadata$BatteryLevel": "

Sidewalk device battery level.

" + } + }, + "CertificateList": { + "base": "

List of sidewalk certificates.

", + "refs": { + "DeviceCertificateList$member": null + } + }, "CertificatePEM": { "base": null, "refs": { "GetServiceEndpointResponse$ServerTrust": "

The Root CA of the server trust certificate.

" } }, + "CertificateValue": { + "base": "

Certificate value.

", + "refs": { + "CertificateList$Value": "

The value of the chosen sidewalk certificate.

" + } + }, "ChannelMask": { "base": null, "refs": { @@ -217,6 +235,12 @@ "refs": { } }, + "ConnectionStatus": { + "base": null, + "refs": { + "GetWirelessGatewayStatisticsResponse$ConnectionStatus": "

The connection status of the wireless gateway.

" + } + }, "Crc": { "base": null, "refs": { @@ -437,6 +461,13 @@ "LoRaWANGetServiceProfileInfo$DevStatusReqFreq": "

The DevStatusReqFreq value.

" } }, + "DeviceCertificateList": { + "base": "

List of device certificate chain.

", + "refs": { + "SidewalkDevice$DeviceCertificates": "

The sidewalk device certificates for Ed25519 and P256r1.

", + "SidewalkListDevice$DeviceCertificates": "

The sidewalk device certificates for Ed25519 and P256r1.

" + } + }, "DeviceProfile": { "base": "

Describes a device profile.

", "refs": { @@ -478,6 +509,12 @@ "GetDeviceProfileResponse$Name": "

The name of the resource.

" } }, + "DeviceState": { + "base": "

Device state defines the device status of sidewalk device.

", + "refs": { + "SidewalkDeviceMetadata$DeviceState": "

Device state defines the device status of sidewalk device.

" + } + }, "DisassociateAwsAccountFromPartnerAccountRequest": { "base": null, "refs": { @@ -561,6 +598,12 @@ "GetServiceEndpointResponse$ServiceEndpoint": "

The service endpoint value.

" } }, + "Event": { + "base": "

Sidewalk device status notification.

", + "refs": { + "SidewalkDeviceMetadata$Event": "

Sidewalk device status notification.

" + } + }, "Expression": { "base": null, "refs": { @@ -770,7 +813,8 @@ "refs": { "LoRaWANDeviceMetadata$FPort": "

The FPort value.

", "LoRaWANDeviceMetadata$DataRate": "

The DataRate value.

", - "LoRaWANDeviceMetadata$Frequency": "

The device's channel frequency in Hz.

" + "LoRaWANDeviceMetadata$Frequency": "

The device's channel frequency in Hz.

", + "SidewalkDeviceMetadata$Rssi": "

The RSSI value.

" } }, "InternalServerException": { @@ -1335,12 +1379,38 @@ "ListPartnerAccountsResponse$Sidewalk": "

The Sidewalk account credentials.

" } }, + "SidewalkDevice": { + "base": "

Sidewalk device object.

", + "refs": { + "GetWirelessDeviceResponse$Sidewalk": "

Sidewalk device object.

" + } + }, + "SidewalkDeviceMetadata": { + "base": "

MetaData for Sidewalk device.

", + "refs": { + "GetWirelessDeviceStatisticsResponse$Sidewalk": "

MetaData for Sidewalk device.

" + } + }, + "SidewalkId": { + "base": "

The sidewalk device identification.

", + "refs": { + "SidewalkDevice$SidewalkId": "

The sidewalk device identification.

", + "SidewalkListDevice$SidewalkId": "

The sidewalk device identification.

" + } + }, "SidewalkListDevice": { "base": "

Sidewalk object used by list functions.

", "refs": { "WirelessDeviceStatistics$Sidewalk": "

The Sidewalk account credentials.

" } }, + "SidewalkManufacturingSn": { + "base": null, + "refs": { + "SidewalkDevice$SidewalkManufacturingSn": "

The Sidewalk manufacturing series number.

", + "SidewalkListDevice$SidewalkManufacturingSn": "

The Sidewalk manufacturing series number.

" + } + }, "SidewalkSendDataToDevice": { "base": "

Information about a Sidewalk router.

", "refs": { @@ -1353,6 +1423,12 @@ "UpdatePartnerAccountRequest$Sidewalk": "

The Sidewalk account credentials.

" } }, + "SigningAlg": { + "base": "

The certificate chain algorithm provided by sidewalk.

", + "refs": { + "CertificateList$SigningAlg": "

The certificate chain algorithm provided by sidewalk.

" + } + }, "Station": { "base": null, "refs": { diff --git a/models/apis/machinelearning/2014-12-12/api-2.json b/models/apis/machinelearning/2014-12-12/api-2.json index 3117a3f17c0..6919c4008cc 100644 --- a/models/apis/machinelearning/2014-12-12/api-2.json +++ b/models/apis/machinelearning/2014-12-12/api-2.json @@ -1,14 +1,15 @@ { "version":"2.0", "metadata":{ - "uid":"machinelearning-2014-12-12", "apiVersion":"2014-12-12", "endpointPrefix":"machinelearning", "jsonVersion":"1.1", + "protocol":"json", "serviceFullName":"Amazon Machine Learning", + "serviceId":"Machine Learning", "signatureVersion":"v4", "targetPrefix":"AmazonML_20141212", - "protocol":"json" + "uid":"machinelearning-2014-12-12" }, "operations":{ "AddTags":{ @@ -20,30 +21,11 @@ "input":{"shape":"AddTagsInput"}, "output":{"shape":"AddTagsOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InvalidTagException", - "exception":true - }, - { - "shape":"TagLimitExceededException", - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"InvalidTagException"}, + {"shape":"TagLimitExceededException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "CreateBatchPrediction":{ @@ -55,22 +37,9 @@ "input":{"shape":"CreateBatchPredictionInput"}, "output":{"shape":"CreateBatchPredictionOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - { - "shape":"IdempotentParameterMismatchException", - "error":{"httpStatusCode":400}, - "exception":true - } + {"shape":"InvalidInputException"}, + {"shape":"InternalServerException"}, + {"shape":"IdempotentParameterMismatchException"} ] }, "CreateDataSourceFromRDS":{ @@ -82,22 +51,9 @@ "input":{"shape":"CreateDataSourceFromRDSInput"}, "output":{"shape":"CreateDataSourceFromRDSOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - { - "shape":"IdempotentParameterMismatchException", - "error":{"httpStatusCode":400}, - "exception":true - } + {"shape":"InvalidInputException"}, + {"shape":"InternalServerException"}, + {"shape":"IdempotentParameterMismatchException"} ] }, "CreateDataSourceFromRedshift":{ @@ -109,22 +65,9 @@ "input":{"shape":"CreateDataSourceFromRedshiftInput"}, "output":{"shape":"CreateDataSourceFromRedshiftOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - { - "shape":"IdempotentParameterMismatchException", - "error":{"httpStatusCode":400}, - "exception":true - } + {"shape":"InvalidInputException"}, + {"shape":"InternalServerException"}, + {"shape":"IdempotentParameterMismatchException"} ] }, "CreateDataSourceFromS3":{ @@ -136,22 +79,9 @@ "input":{"shape":"CreateDataSourceFromS3Input"}, "output":{"shape":"CreateDataSourceFromS3Output"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - { - "shape":"IdempotentParameterMismatchException", - "error":{"httpStatusCode":400}, - "exception":true - } + {"shape":"InvalidInputException"}, + {"shape":"InternalServerException"}, + {"shape":"IdempotentParameterMismatchException"} ] }, "CreateEvaluation":{ @@ -163,22 +93,9 @@ "input":{"shape":"CreateEvaluationInput"}, "output":{"shape":"CreateEvaluationOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - { - "shape":"IdempotentParameterMismatchException", - "error":{"httpStatusCode":400}, - "exception":true - } + {"shape":"InvalidInputException"}, + {"shape":"InternalServerException"}, + {"shape":"IdempotentParameterMismatchException"} ] }, "CreateMLModel":{ @@ -190,22 +107,9 @@ "input":{"shape":"CreateMLModelInput"}, "output":{"shape":"CreateMLModelOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - { - "shape":"IdempotentParameterMismatchException", - "error":{"httpStatusCode":400}, - "exception":true - } + {"shape":"InvalidInputException"}, + {"shape":"InternalServerException"}, + {"shape":"IdempotentParameterMismatchException"} ] }, "CreateRealtimeEndpoint":{ @@ -217,22 +121,9 @@ "input":{"shape":"CreateRealtimeEndpointInput"}, "output":{"shape":"CreateRealtimeEndpointOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "DeleteBatchPrediction":{ @@ -244,22 +135,9 @@ "input":{"shape":"DeleteBatchPredictionInput"}, "output":{"shape":"DeleteBatchPredictionOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "DeleteDataSource":{ @@ -271,22 +149,9 @@ "input":{"shape":"DeleteDataSourceInput"}, "output":{"shape":"DeleteDataSourceOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "DeleteEvaluation":{ @@ -298,22 +163,9 @@ "input":{"shape":"DeleteEvaluationInput"}, "output":{"shape":"DeleteEvaluationOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "DeleteMLModel":{ @@ -325,22 +177,9 @@ "input":{"shape":"DeleteMLModelInput"}, "output":{"shape":"DeleteMLModelOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "DeleteRealtimeEndpoint":{ @@ -352,22 +191,9 @@ "input":{"shape":"DeleteRealtimeEndpointInput"}, "output":{"shape":"DeleteRealtimeEndpointOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "DeleteTags":{ @@ -379,26 +205,10 @@ "input":{"shape":"DeleteTagsInput"}, "output":{"shape":"DeleteTagsOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InvalidTagException", - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"InvalidTagException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "DescribeBatchPredictions":{ @@ -410,17 +220,8 @@ "input":{"shape":"DescribeBatchPredictionsInput"}, "output":{"shape":"DescribeBatchPredictionsOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"InternalServerException"} ] }, "DescribeDataSources":{ @@ -432,17 +233,8 @@ "input":{"shape":"DescribeDataSourcesInput"}, "output":{"shape":"DescribeDataSourcesOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"InternalServerException"} ] }, "DescribeEvaluations":{ @@ -454,17 +246,8 @@ "input":{"shape":"DescribeEvaluationsInput"}, "output":{"shape":"DescribeEvaluationsOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"InternalServerException"} ] }, "DescribeMLModels":{ @@ -476,17 +259,8 @@ "input":{"shape":"DescribeMLModelsInput"}, "output":{"shape":"DescribeMLModelsOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"InternalServerException"} ] }, "DescribeTags":{ @@ -498,22 +272,9 @@ "input":{"shape":"DescribeTagsInput"}, "output":{"shape":"DescribeTagsOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "GetBatchPrediction":{ @@ -525,22 +286,9 @@ "input":{"shape":"GetBatchPredictionInput"}, "output":{"shape":"GetBatchPredictionOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "GetDataSource":{ @@ -552,22 +300,9 @@ "input":{"shape":"GetDataSourceInput"}, "output":{"shape":"GetDataSourceOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "GetEvaluation":{ @@ -579,22 +314,9 @@ "input":{"shape":"GetEvaluationInput"}, "output":{"shape":"GetEvaluationOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "GetMLModel":{ @@ -606,22 +328,9 @@ "input":{"shape":"GetMLModelInput"}, "output":{"shape":"GetMLModelOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "Predict":{ @@ -633,32 +342,11 @@ "input":{"shape":"PredictInput"}, "output":{"shape":"PredictOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"LimitExceededException", - "error":{"httpStatusCode":417}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - }, - { - "shape":"PredictorNotMountedException", - "error":{"httpStatusCode":400}, - "exception":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"LimitExceededException"}, + {"shape":"InternalServerException"}, + {"shape":"PredictorNotMountedException"} ] }, "UpdateBatchPrediction":{ @@ -670,22 +358,9 @@ "input":{"shape":"UpdateBatchPredictionInput"}, "output":{"shape":"UpdateBatchPredictionOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "UpdateDataSource":{ @@ -697,22 +372,9 @@ "input":{"shape":"UpdateDataSourceInput"}, "output":{"shape":"UpdateDataSourceOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "UpdateEvaluation":{ @@ -724,22 +386,9 @@ "input":{"shape":"UpdateEvaluationInput"}, "output":{"shape":"UpdateEvaluationOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] }, "UpdateMLModel":{ @@ -751,22 +400,9 @@ "input":{"shape":"UpdateMLModelInput"}, "output":{"shape":"UpdateMLModelOutput"}, "errors":[ - { - "shape":"InvalidInputException", - "error":{"httpStatusCode":400}, - "exception":true - }, - { - "shape":"ResourceNotFoundException", - "error":{"httpStatusCode":404}, - "exception":true - }, - { - "shape":"InternalServerException", - "error":{"httpStatusCode":500}, - "exception":true, - "fault":true - } + {"shape":"InvalidInputException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"InternalServerException"} ] } }, @@ -1241,18 +877,18 @@ }, "EDPPipelineId":{ "type":"string", - "min":1, - "max":1024 + "max":1024, + "min":1 }, "EDPResourceRole":{ "type":"string", - "min":1, - "max":64 + "max":64, + "min":1 }, "EDPSecurityGroupId":{ "type":"string", - "min":1, - "max":255 + "max":255, + "min":1 }, "EDPSecurityGroupIds":{ "type":"list", @@ -1260,18 +896,18 @@ }, "EDPServiceRole":{ "type":"string", - "min":1, - "max":64 + "max":64, + "min":1 }, "EDPSubnetId":{ "type":"string", - "min":1, - "max":255 + "max":255, + "min":1 }, "EntityId":{ "type":"string", - "min":1, "max":64, + "min":1, "pattern":"[a-zA-Z0-9_.-]+" }, "EntityName":{ @@ -1460,7 +1096,6 @@ "message":{"shape":"ErrorMessage"}, "code":{"shape":"ErrorCode"} }, - "error":{"httpStatusCode":400}, "exception":true }, "IntegerType":{"type":"integer"}, @@ -1470,7 +1105,6 @@ "message":{"shape":"ErrorMessage"}, "code":{"shape":"ErrorCode"} }, - "error":{"httpStatusCode":500}, "exception":true, "fault":true }, @@ -1480,7 +1114,6 @@ "message":{"shape":"ErrorMessage"}, "code":{"shape":"ErrorCode"} }, - "error":{"httpStatusCode":400}, "exception":true }, "InvalidTagException":{ @@ -1500,7 +1133,6 @@ "message":{"shape":"ErrorMessage"}, "code":{"shape":"ErrorCode"} }, - "error":{"httpStatusCode":417}, "exception":true }, "LongType":{"type":"long"}, @@ -1565,8 +1197,8 @@ }, "PageLimit":{ "type":"integer", - "min":1, - "max":100 + "max":100, + "min":1 }, "PerformanceMetrics":{ "type":"structure", @@ -1614,7 +1246,6 @@ "members":{ "message":{"shape":"ErrorMessage"} }, - "error":{"httpStatusCode":400}, "exception":true }, "PresignedS3Url":{"type":"string"}, @@ -1668,23 +1299,23 @@ }, "RDSDatabaseName":{ "type":"string", - "min":1, - "max":64 + "max":64, + "min":1 }, "RDSDatabasePassword":{ "type":"string", - "min":8, - "max":128 + "max":128, + "min":8 }, "RDSDatabaseUsername":{ "type":"string", - "min":1, - "max":128 + "max":128, + "min":1 }, "RDSInstanceIdentifier":{ "type":"string", - "min":1, "max":63, + "min":1, "pattern":"[a-z0-9-]+" }, "RDSMetadata":{ @@ -1700,8 +1331,8 @@ }, "RDSSelectSqlQuery":{ "type":"string", - "min":1, - "max":16777216 + "max":16777216, + "min":1 }, "RealtimeEndpointInfo":{ "type":"structure", @@ -1732,8 +1363,8 @@ }, "RedshiftClusterIdentifier":{ "type":"string", - "min":1, "max":63, + "min":1, "pattern":"[a-z0-9-]+" }, "RedshiftDataSpec":{ @@ -1778,19 +1409,19 @@ }, "RedshiftDatabaseName":{ "type":"string", - "min":1, "max":64, + "min":1, "pattern":"[a-z0-9]+" }, "RedshiftDatabasePassword":{ "type":"string", - "min":8, - "max":64 + "max":64, + "min":8 }, "RedshiftDatabaseUsername":{ "type":"string", - "min":1, - "max":128 + "max":128, + "min":1 }, "RedshiftMetadata":{ "type":"structure", @@ -1802,8 +1433,8 @@ }, "RedshiftSelectSqlQuery":{ "type":"string", - "min":1, - "max":16777216 + "max":16777216, + "min":1 }, "ResourceNotFoundException":{ "type":"structure", @@ -1811,13 +1442,12 @@ "message":{"shape":"ErrorMessage"}, "code":{"shape":"ErrorCode"} }, - "error":{"httpStatusCode":404}, "exception":true }, "RoleARN":{ "type":"string", - "min":1, - "max":110 + "max":110, + "min":1 }, "S3DataSpec":{ "type":"structure", @@ -1858,8 +1488,8 @@ }, "TagKey":{ "type":"string", - "min":1, "max":128, + "min":1, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "TagKeyList":{ @@ -1881,8 +1511,8 @@ }, "TagValue":{ "type":"string", - "min":0, "max":256, + "min":0, "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" }, "TaggableResourceType":{ diff --git a/models/apis/machinelearning/2014-12-12/docs-2.json b/models/apis/machinelearning/2014-12-12/docs-2.json index 60b3e41cdcc..77e24b09bb8 100644 --- a/models/apis/machinelearning/2014-12-12/docs-2.json +++ b/models/apis/machinelearning/2014-12-12/docs-2.json @@ -1,18 +1,19 @@ { "version": "2.0", + "service": "Definition of the public APIs exposed by Amazon Machine Learning", "operations": { "AddTags": "

Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key and an optional value. If you add a tag using a key that is already associated with the ML object, AddTags updates the tag's value.

", - "CreateBatchPrediction": "

Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a DataSource. This operation creates a new BatchPrediction, and uses an MLModel and the data files referenced by the DataSource as information sources.

CreateBatchPrediction is an asynchronous operation. In response to CreateBatchPrediction, Amazon Machine Learning (Amazon ML) immediately returns and sets the BatchPrediction status to PENDING. After the BatchPrediction completes, Amazon ML sets the status to COMPLETED.

You can poll for status updates by using the GetBatchPrediction operation and checking the Status parameter of the result. After the COMPLETED status appears, the results are available in the location specified by the OutputUri parameter.

", - "CreateDataSourceFromRDS": "

Creates a DataSource object from an Amazon Relational Database Service (Amazon RDS). A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

CreateDataSourceFromRDS is an asynchronous operation. In response to CreateDataSourceFromRDS, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used only to perform >CreateMLModel>, CreateEvaluation, or CreateBatchPrediction operations.

If Amazon ML cannot accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response.

", - "CreateDataSourceFromRedshift": "

Creates a DataSource from a database hosted on an Amazon Redshift cluster. A DataSource references data that can be used to perform either CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

CreateDataSourceFromRedshift is an asynchronous operation. In response to CreateDataSourceFromRedshift, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in COMPLETED or PENDING states can be used to perform only CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response.

The observations should be contained in the database hosted on an Amazon Redshift cluster and should be specified by a SelectSqlQuery query. Amazon ML executes an Unload command in Amazon Redshift to transfer the result set of the SelectSqlQuery query to S3StagingLocation.

After the DataSource has been created, it's ready for use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also requires a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions.

You can't change an existing datasource, but you can copy and modify the settings from an existing Amazon Redshift datasource to create a new datasource. To do so, call GetDataSource for an existing datasource and copy the values to a CreateDataSource call. Change the settings that you want to change and make sure that all required fields have the appropriate values.

", - "CreateDataSourceFromS3": "

Creates a DataSource object. A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

CreateDataSourceFromS3 is an asynchronous operation. In response to CreateDataSourceFromS3, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource has been created and is ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used to perform only CreateMLModel, CreateEvaluation or CreateBatchPrediction operations.

If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response.

The observation data used in a DataSource should be ready to use; that is, it should have a consistent structure, and missing data values should be kept to a minimum. The observation data must reside in one or more .csv files in an Amazon Simple Storage Service (Amazon S3) location, along with a schema that describes the data items by name and type. The same schema must be used for all of the data files referenced by the DataSource.

After the DataSource has been created, it's ready to use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also needs a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions.

", - "CreateEvaluation": "

Creates a new Evaluation of an MLModel. An MLModel is evaluated on a set of observations associated to a DataSource. Like a DataSource for an MLModel, the DataSource for an Evaluation contains values for the Target Variable. The Evaluation compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective the MLModel functions on the test data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding MLModelType: BINARY, REGRESSION or MULTICLASS.

CreateEvaluation is an asynchronous operation. In response to CreateEvaluation, Amazon Machine Learning (Amazon ML) immediately returns and sets the evaluation status to PENDING. After the Evaluation is created and ready for use, Amazon ML sets the status to COMPLETED.

You can use the GetEvaluation operation to check progress of the evaluation during the creation operation.

", - "CreateMLModel": "

Creates a new MLModel using the DataSource and the recipe as information sources.

An MLModel is nearly immutable. Users can update only the MLModelName and the ScoreThreshold in an MLModel without creating a new MLModel.

CreateMLModel is an asynchronous operation. In response to CreateMLModel, Amazon Machine Learning (Amazon ML) immediately returns and sets the MLModel status to PENDING. After the MLModel has been created and ready is for use, Amazon ML sets the status to COMPLETED.

You can use the GetMLModel operation to check the progress of the MLModel during the creation operation.

CreateMLModel requires a DataSource with computed statistics, which can be created by setting ComputeStatistics to true in CreateDataSourceFromRDS, CreateDataSourceFromS3, or CreateDataSourceFromRedshift operations.

", + "CreateBatchPrediction": "

Generates predictions for a group of observations. The observations to process exist in one or more data files referenced by a DataSource. This operation creates a new BatchPrediction, and uses an MLModel and the data files referenced by the DataSource as information sources.

CreateBatchPrediction is an asynchronous operation. In response to CreateBatchPrediction, Amazon Machine Learning (Amazon ML) immediately returns and sets the BatchPrediction status to PENDING. After the BatchPrediction completes, Amazon ML sets the status to COMPLETED.

You can poll for status updates by using the GetBatchPrediction operation and checking the Status parameter of the result. After the COMPLETED status appears, the results are available in the location specified by the OutputUri parameter.

", + "CreateDataSourceFromRDS": "

Creates a DataSource object from an Amazon Relational Database Service (Amazon RDS). A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

CreateDataSourceFromRDS is an asynchronous operation. In response to CreateDataSourceFromRDS, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used only to perform >CreateMLModel>, CreateEvaluation, or CreateBatchPrediction operations.

If Amazon ML cannot accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response.

", + "CreateDataSourceFromRedshift": "

Creates a DataSource from a database hosted on an Amazon Redshift cluster. A DataSource references data that can be used to perform either CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

CreateDataSourceFromRedshift is an asynchronous operation. In response to CreateDataSourceFromRedshift, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource is created and ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in COMPLETED or PENDING states can be used to perform only CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response.

The observations should be contained in the database hosted on an Amazon Redshift cluster and should be specified by a SelectSqlQuery query. Amazon ML executes an Unload command in Amazon Redshift to transfer the result set of the SelectSqlQuery query to S3StagingLocation.

After the DataSource has been created, it's ready for use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also requires a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions.

You can't change an existing datasource, but you can copy and modify the settings from an existing Amazon Redshift datasource to create a new datasource. To do so, call GetDataSource for an existing datasource and copy the values to a CreateDataSource call. Change the settings that you want to change and make sure that all required fields have the appropriate values.

", + "CreateDataSourceFromS3": "

Creates a DataSource object. A DataSource references data that can be used to perform CreateMLModel, CreateEvaluation, or CreateBatchPrediction operations.

CreateDataSourceFromS3 is an asynchronous operation. In response to CreateDataSourceFromS3, Amazon Machine Learning (Amazon ML) immediately returns and sets the DataSource status to PENDING. After the DataSource has been created and is ready for use, Amazon ML sets the Status parameter to COMPLETED. DataSource in the COMPLETED or PENDING state can be used to perform only CreateMLModel, CreateEvaluation or CreateBatchPrediction operations.

If Amazon ML can't accept the input source, it sets the Status parameter to FAILED and includes an error message in the Message attribute of the GetDataSource operation response.

The observation data used in a DataSource should be ready to use; that is, it should have a consistent structure, and missing data values should be kept to a minimum. The observation data must reside in one or more .csv files in an Amazon Simple Storage Service (Amazon S3) location, along with a schema that describes the data items by name and type. The same schema must be used for all of the data files referenced by the DataSource.

After the DataSource has been created, it's ready to use in evaluations and batch predictions. If you plan to use the DataSource to train an MLModel, the DataSource also needs a recipe. A recipe describes how each input variable will be used in training an MLModel. Will the variable be included or excluded from training? Will the variable be manipulated; for example, will it be combined with another variable or will it be split apart into word combinations? The recipe provides answers to these questions.

", + "CreateEvaluation": "

Creates a new Evaluation of an MLModel. An MLModel is evaluated on a set of observations associated to a DataSource. Like a DataSource for an MLModel, the DataSource for an Evaluation contains values for the Target Variable. The Evaluation compares the predicted result for each observation to the actual outcome and provides a summary so that you know how effective the MLModel functions on the test data. Evaluation generates a relevant performance metric, such as BinaryAUC, RegressionRMSE or MulticlassAvgFScore based on the corresponding MLModelType: BINARY, REGRESSION or MULTICLASS.

CreateEvaluation is an asynchronous operation. In response to CreateEvaluation, Amazon Machine Learning (Amazon ML) immediately returns and sets the evaluation status to PENDING. After the Evaluation is created and ready for use, Amazon ML sets the status to COMPLETED.

You can use the GetEvaluation operation to check progress of the evaluation during the creation operation.

", + "CreateMLModel": "

Creates a new MLModel using the DataSource and the recipe as information sources.

An MLModel is nearly immutable. Users can update only the MLModelName and the ScoreThreshold in an MLModel without creating a new MLModel.

CreateMLModel is an asynchronous operation. In response to CreateMLModel, Amazon Machine Learning (Amazon ML) immediately returns and sets the MLModel status to PENDING. After the MLModel has been created and ready is for use, Amazon ML sets the status to COMPLETED.

You can use the GetMLModel operation to check the progress of the MLModel during the creation operation.

CreateMLModel requires a DataSource with computed statistics, which can be created by setting ComputeStatistics to true in CreateDataSourceFromRDS, CreateDataSourceFromS3, or CreateDataSourceFromRedshift operations.

", "CreateRealtimeEndpoint": "

Creates a real-time endpoint for the MLModel. The endpoint contains the URI of the MLModel; that is, the location to send real-time prediction requests for the specified MLModel.

", - "DeleteBatchPrediction": "

Assigns the DELETED status to a BatchPrediction, rendering it unusable.

After using the DeleteBatchPrediction operation, you can use the GetBatchPrediction operation to verify that the status of the BatchPrediction changed to DELETED.

Caution: The result of the DeleteBatchPrediction operation is irreversible.

", - "DeleteDataSource": "

Assigns the DELETED status to a DataSource, rendering it unusable.

After using the DeleteDataSource operation, you can use the GetDataSource operation to verify that the status of the DataSource changed to DELETED.

Caution: The results of the DeleteDataSource operation are irreversible.

", - "DeleteEvaluation": "

Assigns the DELETED status to an Evaluation, rendering it unusable.

After invoking the DeleteEvaluation operation, you can use the GetEvaluation operation to verify that the status of the Evaluation changed to DELETED.

Caution

The results of the DeleteEvaluation operation are irreversible.

", - "DeleteMLModel": "

Assigns the DELETED status to an MLModel, rendering it unusable.

After using the DeleteMLModel operation, you can use the GetMLModel operation to verify that the status of the MLModel changed to DELETED.

Caution: The result of the DeleteMLModel operation is irreversible.

", + "DeleteBatchPrediction": "

Assigns the DELETED status to a BatchPrediction, rendering it unusable.

After using the DeleteBatchPrediction operation, you can use the GetBatchPrediction operation to verify that the status of the BatchPrediction changed to DELETED.

Caution: The result of the DeleteBatchPrediction operation is irreversible.

", + "DeleteDataSource": "

Assigns the DELETED status to a DataSource, rendering it unusable.

After using the DeleteDataSource operation, you can use the GetDataSource operation to verify that the status of the DataSource changed to DELETED.

Caution: The results of the DeleteDataSource operation are irreversible.

", + "DeleteEvaluation": "

Assigns the DELETED status to an Evaluation, rendering it unusable.

After invoking the DeleteEvaluation operation, you can use the GetEvaluation operation to verify that the status of the Evaluation changed to DELETED.

Caution: The results of the DeleteEvaluation operation are irreversible.

", + "DeleteMLModel": "

Assigns the DELETED status to an MLModel, rendering it unusable.

After using the DeleteMLModel operation, you can use the GetMLModel operation to verify that the status of the MLModel changed to DELETED.

Caution: The result of the DeleteMLModel operation is irreversible.

", "DeleteRealtimeEndpoint": "

Deletes a real time endpoint of an MLModel.

", "DeleteTags": "

Deletes the specified tags associated with an ML object. After this operation is complete, you can't recover deleted tags.

If you specify a tag that doesn't exist, Amazon ML ignores it.

", "DescribeBatchPredictions": "

Returns a list of BatchPrediction operations that match the search criteria in the request.

", @@ -21,16 +22,15 @@ "DescribeMLModels": "

Returns a list of MLModel that match the search criteria in the request.

", "DescribeTags": "

Describes one or more of the tags for your Amazon ML object.

", "GetBatchPrediction": "

Returns a BatchPrediction that includes detailed metadata, status, and data file information for a Batch Prediction request.

", - "GetDataSource": "

Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource.

GetDataSource provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format.

", + "GetDataSource": "

Returns a DataSource that includes metadata and data file information, as well as the current status of the DataSource.

GetDataSource provides results in normal or verbose format. The verbose format adds the schema description and the list of files pointed to by the DataSource to the normal format.

", "GetEvaluation": "

Returns an Evaluation that includes metadata as well as the current status of the Evaluation.

", - "GetMLModel": "

Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel.

GetMLModel provides results in normal or verbose format.

", - "Predict": "

Generates a prediction for the observation using the specified ML Model.

Note

Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested.

", + "GetMLModel": "

Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel.

GetMLModel provides results in normal or verbose format.

", + "Predict": "

Generates a prediction for the observation using the specified ML Model.

Note: Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested.

", "UpdateBatchPrediction": "

Updates the BatchPredictionName of a BatchPrediction.

You can use the GetBatchPrediction operation to view the contents of the updated data element.

", "UpdateDataSource": "

Updates the DataSourceName of a DataSource.

You can use the GetDataSource operation to view the contents of the updated data element.

", "UpdateEvaluation": "

Updates the EvaluationName of an Evaluation.

You can use the GetEvaluation operation to view the contents of the updated data element.

", "UpdateMLModel": "

Updates the MLModelName and the ScoreThreshold of an MLModel.

You can use the GetMLModel operation to view the contents of the updated data element.

" }, - "service": "Definition of the public APIs exposed by Amazon Machine Learning", "shapes": { "AddTagsInput": { "base": null, @@ -38,14 +38,14 @@ } }, "AddTagsOutput": { - "base": "

Amazon ML returns the following elements.

", + "base": "

Amazon ML returns the following elements.

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

The function used to train an MLModel. Training choices supported by Amazon ML include the following:

", + "base": "

The function used to train an MLModel. Training choices supported by Amazon ML include the following:

", "refs": { - "MLModel$Algorithm": "

The algorithm used to train the MLModel. The following algorithm is supported:

" + "MLModel$Algorithm": "

The algorithm used to train the MLModel. The following algorithm is supported:

" } }, "AwsUserArn": { @@ -68,9 +68,9 @@ } }, "BatchPredictionFilterVariable": { - "base": "

A list of the variables to use in searching or filtering BatchPrediction.

", + "base": "

A list of the variables to use in searching or filtering BatchPrediction.

", "refs": { - "DescribeBatchPredictionsInput$FilterVariable": "

Use one of the following variables to filter a list of BatchPrediction:

" + "DescribeBatchPredictionsInput$FilterVariable": "

Use one of the following variables to filter a list of BatchPrediction:

" } }, "BatchPredictions": { @@ -88,36 +88,36 @@ "DescribeBatchPredictionsInput$GE": "

The greater than or equal to operator. The BatchPrediction results will have FilterVariable values that are greater than or equal to the value specified with GE.

", "DescribeBatchPredictionsInput$LE": "

The less than or equal to operator. The BatchPrediction results will have FilterVariable values that are less than or equal to the value specified with LE.

", "DescribeBatchPredictionsInput$NE": "

The not equal to operator. The BatchPrediction results will have FilterVariable values not equal to the value specified with NE.

", - "DescribeBatchPredictionsInput$Prefix": "

A string that is found at the beginning of a variable, such as Name or Id.

For example, a Batch Prediction operation could have the Name 2014-09-09-HolidayGiftMailer. To search for this BatchPrediction, select Name for the FilterVariable and any of the following strings for the Prefix:

", + "DescribeBatchPredictionsInput$Prefix": "

A string that is found at the beginning of a variable, such as Name or Id.

For example, a Batch Prediction operation could have the Name 2014-09-09-HolidayGiftMailer. To search for this BatchPrediction, select Name for the FilterVariable and any of the following strings for the Prefix:

", "DescribeDataSourcesInput$EQ": "

The equal to operator. The DataSource results will have FilterVariable values that exactly match the value specified with EQ.

", "DescribeDataSourcesInput$GT": "

The greater than operator. The DataSource results will have FilterVariable values that are greater than the value specified with GT.

", "DescribeDataSourcesInput$LT": "

The less than operator. The DataSource results will have FilterVariable values that are less than the value specified with LT.

", "DescribeDataSourcesInput$GE": "

The greater than or equal to operator. The DataSource results will have FilterVariable values that are greater than or equal to the value specified with GE.

", "DescribeDataSourcesInput$LE": "

The less than or equal to operator. The DataSource results will have FilterVariable values that are less than or equal to the value specified with LE.

", "DescribeDataSourcesInput$NE": "

The not equal to operator. The DataSource results will have FilterVariable values not equal to the value specified with NE.

", - "DescribeDataSourcesInput$Prefix": "

A string that is found at the beginning of a variable, such as Name or Id.

For example, a DataSource could have the Name 2014-09-09-HolidayGiftMailer. To search for this DataSource, select Name for the FilterVariable and any of the following strings for the Prefix:

", + "DescribeDataSourcesInput$Prefix": "

A string that is found at the beginning of a variable, such as Name or Id.

For example, a DataSource could have the Name 2014-09-09-HolidayGiftMailer. To search for this DataSource, select Name for the FilterVariable and any of the following strings for the Prefix:

", "DescribeEvaluationsInput$EQ": "

The equal to operator. The Evaluation results will have FilterVariable values that exactly match the value specified with EQ.

", "DescribeEvaluationsInput$GT": "

The greater than operator. The Evaluation results will have FilterVariable values that are greater than the value specified with GT.

", "DescribeEvaluationsInput$LT": "

The less than operator. The Evaluation results will have FilterVariable values that are less than the value specified with LT.

", "DescribeEvaluationsInput$GE": "

The greater than or equal to operator. The Evaluation results will have FilterVariable values that are greater than or equal to the value specified with GE.

", "DescribeEvaluationsInput$LE": "

The less than or equal to operator. The Evaluation results will have FilterVariable values that are less than or equal to the value specified with LE.

", "DescribeEvaluationsInput$NE": "

The not equal to operator. The Evaluation results will have FilterVariable values not equal to the value specified with NE.

", - "DescribeEvaluationsInput$Prefix": "

A string that is found at the beginning of a variable, such as Name or Id.

For example, an Evaluation could have the Name 2014-09-09-HolidayGiftMailer. To search for this Evaluation, select Name for the FilterVariable and any of the following strings for the Prefix:

", + "DescribeEvaluationsInput$Prefix": "

A string that is found at the beginning of a variable, such as Name or Id.

For example, an Evaluation could have the Name 2014-09-09-HolidayGiftMailer. To search for this Evaluation, select Name for the FilterVariable and any of the following strings for the Prefix:

", "DescribeMLModelsInput$EQ": "

The equal to operator. The MLModel results will have FilterVariable values that exactly match the value specified with EQ.

", "DescribeMLModelsInput$GT": "

The greater than operator. The MLModel results will have FilterVariable values that are greater than the value specified with GT.

", "DescribeMLModelsInput$LT": "

The less than operator. The MLModel results will have FilterVariable values that are less than the value specified with LT.

", "DescribeMLModelsInput$GE": "

The greater than or equal to operator. The MLModel results will have FilterVariable values that are greater than or equal to the value specified with GE.

", "DescribeMLModelsInput$LE": "

The less than or equal to operator. The MLModel results will have FilterVariable values that are less than or equal to the value specified with LE.

", "DescribeMLModelsInput$NE": "

The not equal to operator. The MLModel results will have FilterVariable values not equal to the value specified with NE.

", - "DescribeMLModelsInput$Prefix": "

A string that is found at the beginning of a variable, such as Name or Id.

For example, an MLModel could have the Name 2014-09-09-HolidayGiftMailer. To search for this MLModel, select Name for the FilterVariable and any of the following strings for the Prefix:

" + "DescribeMLModelsInput$Prefix": "

A string that is found at the beginning of a variable, such as Name or Id.

For example, an MLModel could have the Name 2014-09-09-HolidayGiftMailer. To search for this MLModel, select Name for the FilterVariable and any of the following strings for the Prefix:

" } }, "ComputeStatistics": { "base": null, "refs": { - "CreateDataSourceFromRDSInput$ComputeStatistics": "

The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training.

", + "CreateDataSourceFromRDSInput$ComputeStatistics": "

The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training.

", "CreateDataSourceFromRedshiftInput$ComputeStatistics": "

The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training.

", - "CreateDataSourceFromS3Input$ComputeStatistics": "

The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training.

", + "CreateDataSourceFromS3Input$ComputeStatistics": "

The compute statistics for a DataSource. The statistics are generated from the observation data referenced by a DataSource. Amazon ML uses the statistics internally during MLModel training. This parameter must be set to true if the DataSource needs to be used for MLModel training.

", "DataSource$ComputeStatistics": "

The parameter is true if statistics need to be generated from the observation data.

", "GetDataSourceOutput$ComputeStatistics": "

The parameter is true if statistics need to be generated from the observation data.

" } @@ -168,7 +168,7 @@ } }, "CreateEvaluationOutput": { - "base": "

Represents the output of a CreateEvaluation operation, and is an acknowledgement that Amazon ML received the request.

CreateEvaluation operation is asynchronous. You can poll for status updates by using the GetEvcaluation operation and checking the Status parameter.

", + "base": "

Represents the output of a CreateEvaluation operation, and is an acknowledgement that Amazon ML received the request.

CreateEvaluation operation is asynchronous. You can poll for status updates by using the GetEvcaluation operation and checking the Status parameter.

", "refs": { } }, @@ -188,7 +188,7 @@ } }, "CreateRealtimeEndpointOutput": { - "base": "

Represents the output of an CreateRealtimeEndpoint operation.

The result contains the MLModelId and the endpoint information for the MLModel.

The endpoint information includes the URI of the MLModel; that is, the location to send online prediction requests for the specified MLModel.

", + "base": "

Represents the output of an CreateRealtimeEndpoint operation.

The result contains the MLModelId and the endpoint information for the MLModel.

Note: The endpoint information includes the URI of the MLModel; that is, the location to send online prediction requests for the specified MLModel.

", "refs": { } }, @@ -197,19 +197,19 @@ "refs": { "DataSource$DataRearrangement": "

A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created.

", "GetDataSourceOutput$DataRearrangement": "

A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created.

", - "RDSDataSpec$DataRearrangement": "

A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource.

There are multiple parameters that control what data is used to create a datasource:

  • percentBegin

    Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • percentEnd

    Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • complement

    The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter.

    For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}

    Datasource for training: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}

  • strategy

    To change how Amazon ML splits the data for a datasource, use the strategy parameter.

    The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data.

    The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}

    To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records.

    The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\", \"complement\":\"true\"}}

", - "RedshiftDataSpec$DataRearrangement": "

A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource.

There are multiple parameters that control what data is used to create a datasource:

  • percentBegin

    Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • percentEnd

    Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • complement

    The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter.

    For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}

    Datasource for training: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}

  • strategy

    To change how Amazon ML splits the data for a datasource, use the strategy parameter.

    The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data.

    The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}

    To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records.

    The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\", \"complement\":\"true\"}}

", - "S3DataSpec$DataRearrangement": "

A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource.

There are multiple parameters that control what data is used to create a datasource:

  • percentBegin

    Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • percentEnd

    Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • complement

    The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter.

    For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}

    Datasource for training: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}

  • strategy

    To change how Amazon ML splits the data for a datasource, use the strategy parameter.

    The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data.

    The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}

    To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records.

    The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\", \"complement\":\"true\"}}

" + "RDSDataSpec$DataRearrangement": "

A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource.

There are multiple parameters that control what data is used to create a datasource:

  • percentBegin

    Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • percentEnd

    Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • complement

    The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter.

    For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}

    Datasource for training: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}

  • strategy

    To change how Amazon ML splits the data for a datasource, use the strategy parameter.

    The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data.

    The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}

    To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records.

    The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\", \"complement\":\"true\"}}

", + "RedshiftDataSpec$DataRearrangement": "

A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource.

There are multiple parameters that control what data is used to create a datasource:

  • percentBegin

    Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • percentEnd

    Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • complement

    The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter.

    For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}

    Datasource for training: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}

  • strategy

    To change how Amazon ML splits the data for a datasource, use the strategy parameter.

    The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data.

    The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}

    To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records.

    The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\", \"complement\":\"true\"}}

", + "S3DataSpec$DataRearrangement": "

A JSON string that represents the splitting and rearrangement processing to be applied to a DataSource. If the DataRearrangement parameter is not provided, all of the input data is used to create the Datasource.

There are multiple parameters that control what data is used to create a datasource:

  • percentBegin

    Use percentBegin to indicate the beginning of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • percentEnd

    Use percentEnd to indicate the end of the range of the data used to create the Datasource. If you do not include percentBegin and percentEnd, Amazon ML includes all of the data when creating the datasource.

  • complement

    The complement parameter instructs Amazon ML to use the data that is not included in the range of percentBegin to percentEnd to create a datasource. The complement parameter is useful if you need to create complementary datasources for training and evaluation. To create a complementary datasource, use the same values for percentBegin and percentEnd, along with the complement parameter.

    For example, the following two datasources do not share any data, and can be used to train and evaluate a model. The first datasource has 25 percent of the data, and the second one has 75 percent of the data.

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25}}

    Datasource for training: {\"splitting\":{\"percentBegin\":0, \"percentEnd\":25, \"complement\":\"true\"}}

  • strategy

    To change how Amazon ML splits the data for a datasource, use the strategy parameter.

    The default value for the strategy parameter is sequential, meaning that Amazon ML takes all of the data records between the percentBegin and percentEnd parameters for the datasource, in the order that the records appear in the input data.

    The following two DataRearrangement lines are examples of sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"sequential\", \"complement\":\"true\"}}

    To randomly split the input data into the proportions indicated by the percentBegin and percentEnd parameters, set the strategy parameter to random and provide a string that is used as the seed value for the random data splitting (for example, you can use the S3 path to your data as the random seed string). If you choose the random split strategy, Amazon ML assigns each row of data a pseudo-random number between 0 and 100, and then selects the rows that have an assigned number between percentBegin and percentEnd. Pseudo-random numbers are assigned using both the input seed string value and the byte offset as a seed, so changing the data results in a different split. Any existing ordering is preserved. The random splitting strategy ensures that variables in the training and evaluation data are distributed similarly. It is useful in the cases where the input data may have an implicit sort order, which would otherwise result in training and evaluation datasources containing non-similar data records.

    The following two DataRearrangement lines are examples of non-sequentially ordered training and evaluation datasources:

    Datasource for evaluation: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\"}}

    Datasource for training: {\"splitting\":{\"percentBegin\":70, \"percentEnd\":100, \"strategy\":\"random\", \"randomSeed\"=\"s3://my_s3_path/bucket/file.csv\", \"complement\":\"true\"}}

" } }, "DataSchema": { - "base": "

The schema of a DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource. The DataSource schema is expressed in JSON format.

DataSchema is not required if you specify a DataSchemaUri

{ \"version\": \"1.0\", \"recordAnnotationFieldName\": \"F1\", \"recordWeightFieldName\": \"F2\", \"targetFieldName\": \"F3\", \"dataFormat\": \"CSV\", \"dataFileContainsHeader\": true, \"variables\": [ { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, { \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ], \"excludedVariableNames\": [ \"F6\" ] }

", + "base": "

The schema of a DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource. The DataSource schema is expressed in JSON format.

DataSchema is not required if you specify a DataSchemaUri

{ \"version\": \"1.0\", \"recordAnnotationFieldName\": \"F1\", \"recordWeightFieldName\": \"F2\", \"targetFieldName\": \"F3\", \"dataFormat\": \"CSV\", \"dataFileContainsHeader\": true, \"variables\": [ { \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, { \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ], \"excludedVariableNames\": [ \"F6\" ] }

", "refs": { - "GetDataSourceOutput$DataSourceSchema": "

The schema used by all of the data files of this DataSource.

Note

This parameter is provided as part of the verbose format.

", - "GetMLModelOutput$Schema": "

The schema used by all of the data files referenced by the DataSource.

Note

This parameter is provided as part of the verbose format.

", - "RDSDataSpec$DataSchema": "

A JSON string that represents the schema for an Amazon RDS DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource.

A DataSchema is not required if you specify a DataSchemaUri

Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema.

{ \"version\": \"1.0\",

\"recordAnnotationFieldName\": \"F1\",

\"recordWeightFieldName\": \"F2\",

\"targetFieldName\": \"F3\",

\"dataFormat\": \"CSV\",

\"dataFileContainsHeader\": true,

\"attributes\": [

{ \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, { \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],

\"excludedVariableNames\": [ \"F6\" ] }

", - "RedshiftDataSpec$DataSchema": "

A JSON string that represents the schema for an Amazon Redshift DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource.

A DataSchema is not required if you specify a DataSchemaUri.

Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema.

{ \"version\": \"1.0\",

\"recordAnnotationFieldName\": \"F1\",

\"recordWeightFieldName\": \"F2\",

\"targetFieldName\": \"F3\",

\"dataFormat\": \"CSV\",

\"dataFileContainsHeader\": true,

\"attributes\": [

{ \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, { \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],

\"excludedVariableNames\": [ \"F6\" ] }

", - "S3DataSpec$DataSchema": "

A JSON string that represents the schema for an Amazon S3 DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource.

You must provide either the DataSchema or the DataSchemaLocationS3.

Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema.

{ \"version\": \"1.0\",

\"recordAnnotationFieldName\": \"F1\",

\"recordWeightFieldName\": \"F2\",

\"targetFieldName\": \"F3\",

\"dataFormat\": \"CSV\",

\"dataFileContainsHeader\": true,

\"attributes\": [

{ \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, { \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],

\"excludedVariableNames\": [ \"F6\" ] }

" + "GetDataSourceOutput$DataSourceSchema": "

The schema used by all of the data files of this DataSource.

Note: This parameter is provided as part of the verbose format.

", + "GetMLModelOutput$Schema": "

The schema used by all of the data files referenced by the DataSource.

Note: This parameter is provided as part of the verbose format.

", + "RDSDataSpec$DataSchema": "

A JSON string that represents the schema for an Amazon RDS DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource.

A DataSchema is not required if you specify a DataSchemaUri

Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema.

{ \"version\": \"1.0\",

\"recordAnnotationFieldName\": \"F1\",

\"recordWeightFieldName\": \"F2\",

\"targetFieldName\": \"F3\",

\"dataFormat\": \"CSV\",

\"dataFileContainsHeader\": true,

\"attributes\": [

{ \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, { \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],

\"excludedVariableNames\": [ \"F6\" ] }

", + "RedshiftDataSpec$DataSchema": "

A JSON string that represents the schema for an Amazon Redshift DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource.

A DataSchema is not required if you specify a DataSchemaUri.

Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema.

{ \"version\": \"1.0\",

\"recordAnnotationFieldName\": \"F1\",

\"recordWeightFieldName\": \"F2\",

\"targetFieldName\": \"F3\",

\"dataFormat\": \"CSV\",

\"dataFileContainsHeader\": true,

\"attributes\": [

{ \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, { \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],

\"excludedVariableNames\": [ \"F6\" ] }

", + "S3DataSpec$DataSchema": "

A JSON string that represents the schema for an Amazon S3 DataSource. The DataSchema defines the structure of the observation data in the data file(s) referenced in the DataSource.

You must provide either the DataSchema or the DataSchemaLocationS3.

Define your DataSchema as a series of key-value pairs. attributes and excludedVariableNames have an array of key-value pairs for their value. Use the following format to define your DataSchema.

{ \"version\": \"1.0\",

\"recordAnnotationFieldName\": \"F1\",

\"recordWeightFieldName\": \"F2\",

\"targetFieldName\": \"F3\",

\"dataFormat\": \"CSV\",

\"dataFileContainsHeader\": true,

\"attributes\": [

{ \"fieldName\": \"F1\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F2\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F3\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F4\", \"fieldType\": \"NUMERIC\" }, { \"fieldName\": \"F5\", \"fieldType\": \"CATEGORICAL\" }, { \"fieldName\": \"F6\", \"fieldType\": \"TEXT\" }, { \"fieldName\": \"F7\", \"fieldType\": \"WEIGHTED_INT_SEQUENCE\" }, { \"fieldName\": \"F8\", \"fieldType\": \"WEIGHTED_STRING_SEQUENCE\" } ],

\"excludedVariableNames\": [ \"F6\" ] }

" } }, "DataSource": { @@ -219,9 +219,9 @@ } }, "DataSourceFilterVariable": { - "base": "

A list of the variables to use in searching or filtering DataSource.

  • CreatedAt - Sets the search criteria to DataSource creation date.
  • Status - Sets the search criteria to DataSource status.
  • Name - Sets the search criteria to the contents of DataSource Name.
  • DataUri - Sets the search criteria to the URI of data files used to create the DataSource. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
  • IAMUser - Sets the search criteria to the user account that invoked the DataSource creation.
Note

The variable names should match the variable names in the DataSource.

", + "base": "

A list of the variables to use in searching or filtering DataSource.

  • CreatedAt - Sets the search criteria to DataSource creation date.

  • Status - Sets the search criteria to DataSource status.

  • Name - Sets the search criteria to the contents of DataSource Name.

  • DataUri - Sets the search criteria to the URI of data files used to create the DataSource. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.

  • IAMUser - Sets the search criteria to the user account that invoked the DataSource creation.

Note: The variable names should match the variable names in the DataSource.

", "refs": { - "DescribeDataSourcesInput$FilterVariable": "

Use one of the following variables to filter a list of DataSource:

  • CreatedAt - Sets the search criteria to DataSource creation dates.
  • Status - Sets the search criteria to DataSource statuses.
  • Name - Sets the search criteria to the contents of DataSource Name.
  • DataUri - Sets the search criteria to the URI of data files used to create the DataSource. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
  • IAMUser - Sets the search criteria to the user account that invoked the DataSource creation.
" + "DescribeDataSourcesInput$FilterVariable": "

Use one of the following variables to filter a list of DataSource:

  • CreatedAt - Sets the search criteria to DataSource creation dates.

  • Status - Sets the search criteria to DataSource statuses.

  • Name - Sets the search criteria to the contents of DataSource Name.

  • DataUri - Sets the search criteria to the URI of data files used to create the DataSource. The URI can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.

  • IAMUser - Sets the search criteria to the user account that invoked the DataSource creation.

" } }, "DataSources": { @@ -286,7 +286,7 @@ } }, "DeleteTagsOutput": { - "base": "

Amazon ML returns the following elements.

", + "base": "

Amazon ML returns the following elements.

", "refs": { } }, @@ -336,18 +336,18 @@ } }, "DescribeTagsOutput": { - "base": "

Amazon ML returns the following elements.

", + "base": "

Amazon ML returns the following elements.

", "refs": { } }, "DetailsAttributes": { - "base": "Contains the key values of DetailsMap: PredictiveModelType - Indicates the type of the MLModel. Algorithm - Indicates the algorithm that was used for the MLModel.", + "base": "

Contains the key values of DetailsMap:

  • PredictiveModelType - Indicates the type of the MLModel.

  • Algorithm - Indicates the algorithm that was used for the MLModel.

", "refs": { "DetailsMap$key": null } }, "DetailsMap": { - "base": "Provides any additional details regarding the prediction.", + "base": "

Provides any additional details regarding the prediction.

", "refs": { "Prediction$details": null } @@ -367,8 +367,8 @@ "EDPResourceRole": { "base": null, "refs": { - "RDSDataSpec$ResourceRole": "

The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. For more information, see Role templates for data pipelines.

", - "RDSMetadata$ResourceRole": "

The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.

" + "RDSDataSpec$ResourceRole": "

The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS to an Amazon S3 task. For more information, see Role templates for data pipelines.

", + "RDSMetadata$ResourceRole": "

The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance to carry out the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.

" } }, "EDPSecurityGroupId": { @@ -386,8 +386,8 @@ "EDPServiceRole": { "base": null, "refs": { - "RDSDataSpec$ServiceRole": "

The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.

", - "RDSMetadata$ServiceRole": "

The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.

" + "RDSDataSpec$ServiceRole": "

The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.

", + "RDSMetadata$ServiceRole": "

The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.

" } }, "EDPSubnetId": { @@ -452,7 +452,7 @@ "GetEvaluationOutput$MLModelId": "

The ID of the MLModel that was the focus of the evaluation.

", "GetEvaluationOutput$EvaluationDataSourceId": "

The DataSource used for this evaluation.

", "GetMLModelInput$MLModelId": "

The ID assigned to the MLModel at creation.

", - "GetMLModelOutput$MLModelId": "

The MLModel ID, which is same as the MLModelId in the request.

", + "GetMLModelOutput$MLModelId": "

The MLModel ID, which is same as the MLModelId in the request.

", "GetMLModelOutput$TrainingDataSourceId": "

The ID of the training DataSource.

", "MLModel$MLModelId": "

The ID assigned to the MLModel at creation.

", "MLModel$TrainingDataSourceId": "

The ID of the training DataSource. The CreateMLModel operation uses the TrainingDataSourceId.

", @@ -489,16 +489,16 @@ } }, "EntityStatus": { - "base": "

Object status with the following possible values:

  • PENDING
  • INPROGRESS
  • FAILED
  • COMPLETED
  • DELETED
", + "base": "

Object status with the following possible values:

  • PENDING

  • INPROGRESS

  • FAILED

  • COMPLETED

  • DELETED

", "refs": { - "BatchPrediction$Status": "

The status of the BatchPrediction. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a batch of observations.
  • INPROGRESS - The process is underway.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction is marked as deleted. It is not usable.
", - "DataSource$Status": "

The current status of the DataSource. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create a DataSource.
  • INPROGRESS - The creation process is underway.
  • FAILED - The request to create a DataSource did not run to completion. It is not usable.
  • COMPLETED - The creation process completed successfully.
  • DELETED - The DataSource is marked as deleted. It is not usable.
", - "Evaluation$Status": "

The status of the evaluation. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to evaluate an MLModel.
  • INPROGRESS - The evaluation is underway.
  • FAILED - The request to evaluate an MLModel did not run to completion. It is not usable.
  • COMPLETED - The evaluation process completed successfully.
  • DELETED - The Evaluation is marked as deleted. It is not usable.
", - "GetBatchPredictionOutput$Status": "

The status of the BatchPrediction, which can be one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.
  • INPROGRESS - The batch predictions are in progress.
  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.
  • COMPLETED - The batch prediction process completed successfully.
  • DELETED - The BatchPrediction is marked as deleted. It is not usable.
", - "GetDataSourceOutput$Status": "

The current status of the DataSource. This element can have one of the following values:

  • PENDING - Amazon ML submitted a request to create a DataSource.
  • INPROGRESS - The creation process is underway.
  • FAILED - The request to create a DataSource did not run to completion. It is not usable.
  • COMPLETED - The creation process completed successfully.
  • DELETED - The DataSource is marked as deleted. It is not usable.
", - "GetEvaluationOutput$Status": "

The status of the evaluation. This element can have one of the following values:

  • PENDING - Amazon Machine Language (Amazon ML) submitted a request to evaluate an MLModel.
  • INPROGRESS - The evaluation is underway.
  • FAILED - The request to evaluate an MLModel did not run to completion. It is not usable.
  • COMPLETED - The evaluation process completed successfully.
  • DELETED - The Evaluation is marked as deleted. It is not usable.
", - "GetMLModelOutput$Status": "

The current status of the MLModel. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to describe a MLModel.
  • INPROGRESS - The request is processing.
  • FAILED - The request did not run to completion. The ML model isn't usable.
  • COMPLETED - The request completed successfully.
  • DELETED - The MLModel is marked as deleted. It isn't usable.
", - "MLModel$Status": "

The current status of an MLModel. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create an MLModel.
  • INPROGRESS - The creation process is underway.
  • FAILED - The request to create an MLModel didn't run to completion. The model isn't usable.
  • COMPLETED - The creation process completed successfully.
  • DELETED - The MLModel is marked as deleted. It isn't usable.
" + "BatchPrediction$Status": "

The status of the BatchPrediction. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate predictions for a batch of observations.

  • INPROGRESS - The process is underway.

  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.

  • COMPLETED - The batch prediction process completed successfully.

  • DELETED - The BatchPrediction is marked as deleted. It is not usable.

", + "DataSource$Status": "

The current status of the DataSource. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create a DataSource.

  • INPROGRESS - The creation process is underway.

  • FAILED - The request to create a DataSource did not run to completion. It is not usable.

  • COMPLETED - The creation process completed successfully.

  • DELETED - The DataSource is marked as deleted. It is not usable.

", + "Evaluation$Status": "

The status of the evaluation. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to evaluate an MLModel.

  • INPROGRESS - The evaluation is underway.

  • FAILED - The request to evaluate an MLModel did not run to completion. It is not usable.

  • COMPLETED - The evaluation process completed successfully.

  • DELETED - The Evaluation is marked as deleted. It is not usable.

", + "GetBatchPredictionOutput$Status": "

The status of the BatchPrediction, which can be one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to generate batch predictions.

  • INPROGRESS - The batch predictions are in progress.

  • FAILED - The request to perform a batch prediction did not run to completion. It is not usable.

  • COMPLETED - The batch prediction process completed successfully.

  • DELETED - The BatchPrediction is marked as deleted. It is not usable.

", + "GetDataSourceOutput$Status": "

The current status of the DataSource. This element can have one of the following values:

  • PENDING - Amazon ML submitted a request to create a DataSource.

  • INPROGRESS - The creation process is underway.

  • FAILED - The request to create a DataSource did not run to completion. It is not usable.

  • COMPLETED - The creation process completed successfully.

  • DELETED - The DataSource is marked as deleted. It is not usable.

", + "GetEvaluationOutput$Status": "

The status of the evaluation. This element can have one of the following values:

  • PENDING - Amazon Machine Language (Amazon ML) submitted a request to evaluate an MLModel.

  • INPROGRESS - The evaluation is underway.

  • FAILED - The request to evaluate an MLModel did not run to completion. It is not usable.

  • COMPLETED - The evaluation process completed successfully.

  • DELETED - The Evaluation is marked as deleted. It is not usable.

", + "GetMLModelOutput$Status": "

The current status of the MLModel. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to describe a MLModel.

  • INPROGRESS - The request is processing.

  • FAILED - The request did not run to completion. The ML model isn't usable.

  • COMPLETED - The request completed successfully.

  • DELETED - The MLModel is marked as deleted. It isn't usable.

", + "MLModel$Status": "

The current status of an MLModel. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create an MLModel.

  • INPROGRESS - The creation process is underway.

  • FAILED - The request to create an MLModel didn't run to completion. The model isn't usable.

  • COMPLETED - The creation process completed successfully.

  • DELETED - The MLModel is marked as deleted. It isn't usable.

" } }, "EpochTime": { @@ -571,9 +571,9 @@ } }, "EvaluationFilterVariable": { - "base": "

A list of the variables to use in searching or filtering Evaluation.

  • CreatedAt - Sets the search criteria to Evaluation creation date.
  • Status - Sets the search criteria to Evaluation status.
  • Name - Sets the search criteria to the contents of Evaluation Name.
  • IAMUser - Sets the search criteria to the user account that invoked an evaluation.
  • MLModelId - Sets the search criteria to the Predictor that was evaluated.
  • DataSourceId - Sets the search criteria to the DataSource used in evaluation.
  • DataUri - Sets the search criteria to the data file(s) used in evaluation. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
", + "base": "

A list of the variables to use in searching or filtering Evaluation.

  • CreatedAt - Sets the search criteria to Evaluation creation date.

  • Status - Sets the search criteria to Evaluation status.

  • Name - Sets the search criteria to the contents of Evaluation Name.

  • IAMUser - Sets the search criteria to the user account that invoked an evaluation.

  • MLModelId - Sets the search criteria to the Predictor that was evaluated.

  • DataSourceId - Sets the search criteria to the DataSource used in evaluation.

  • DataUri - Sets the search criteria to the data file(s) used in evaluation. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.

", "refs": { - "DescribeEvaluationsInput$FilterVariable": "

Use one of the following variable to filter a list of Evaluation objects:

  • CreatedAt - Sets the search criteria to the Evaluation creation date.
  • Status - Sets the search criteria to the Evaluation status.
  • Name - Sets the search criteria to the contents of Evaluation Name.
  • IAMUser - Sets the search criteria to the user account that invoked an Evaluation.
  • MLModelId - Sets the search criteria to the MLModel that was evaluated.
  • DataSourceId - Sets the search criteria to the DataSource used in Evaluation.
  • DataUri - Sets the search criteria to the data file(s) used in Evaluation. The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory.
" + "DescribeEvaluationsInput$FilterVariable": "

Use one of the following variable to filter a list of Evaluation objects:

  • CreatedAt - Sets the search criteria to the Evaluation creation date.

  • Status - Sets the search criteria to the Evaluation status.

  • Name - Sets the search criteria to the contents of Evaluation Name.

  • IAMUser - Sets the search criteria to the user account that invoked an Evaluation.

  • MLModelId - Sets the search criteria to the MLModel that was evaluated.

  • DataSourceId - Sets the search criteria to the DataSource used in Evaluation.

  • DataUri - Sets the search criteria to the data file(s) used in Evaluation. The URL can identify either a file or an Amazon Simple Storage Solution (Amazon S3) bucket or directory.

" } }, "Evaluations": { @@ -692,7 +692,7 @@ "MLModelFilterVariable": { "base": null, "refs": { - "DescribeMLModelsInput$FilterVariable": "

Use one of the following variables to filter a list of MLModel:

  • CreatedAt - Sets the search criteria to MLModel creation date.
  • Status - Sets the search criteria to MLModel status.
  • Name - Sets the search criteria to the contents of MLModel Name.
  • IAMUser - Sets the search criteria to the user account that invoked the MLModel creation.
  • TrainingDataSourceId - Sets the search criteria to the DataSource used to train one or more MLModel.
  • RealtimeEndpointStatus - Sets the search criteria to the MLModel real-time endpoint status.
  • MLModelType - Sets the search criteria to MLModel type: binary, regression, or multi-class.
  • Algorithm - Sets the search criteria to the algorithm that the MLModel uses.
  • TrainingDataURI - Sets the search criteria to the data file(s) used in training a MLModel. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.
" + "DescribeMLModelsInput$FilterVariable": "

Use one of the following variables to filter a list of MLModel:

  • CreatedAt - Sets the search criteria to MLModel creation date.

  • Status - Sets the search criteria to MLModel status.

  • Name - Sets the search criteria to the contents of MLModel Name.

  • IAMUser - Sets the search criteria to the user account that invoked the MLModel creation.

  • TrainingDataSourceId - Sets the search criteria to the DataSource used to train one or more MLModel.

  • RealtimeEndpointStatus - Sets the search criteria to the MLModel real-time endpoint status.

  • MLModelType - Sets the search criteria to MLModel type: binary, regression, or multi-class.

  • Algorithm - Sets the search criteria to the algorithm that the MLModel uses.

  • TrainingDataURI - Sets the search criteria to the data file(s) used in training a MLModel. The URL can identify either a file or an Amazon Simple Storage Service (Amazon S3) bucket or directory.

" } }, "MLModelName": { @@ -705,9 +705,9 @@ "MLModelType": { "base": null, "refs": { - "CreateMLModelInput$MLModelType": "

The category of supervised learning that this MLModel will address. Choose from the following types:

  • Choose REGRESSION if the MLModel will be used to predict a numeric value.
  • Choose BINARY if the MLModel result has two possible values.
  • Choose MULTICLASS if the MLModel result has a limited number of values.

For more information, see the Amazon Machine Learning Developer Guide.

", - "GetMLModelOutput$MLModelType": "

Identifies the MLModel category. The following are the available types:

  • REGRESSION -- Produces a numeric result. For example, \"What price should a house be listed at?\"
  • BINARY -- Produces one of two possible results. For example, \"Is this an e-commerce website?\"
  • MULTICLASS -- Produces one of several possible results. For example, \"Is this a HIGH, LOW or MEDIUM risk trade?\"
", - "MLModel$MLModelType": "

Identifies the MLModel category. The following are the available types:

  • REGRESSION - Produces a numeric result. For example, \"What price should a house be listed at?\"
  • BINARY - Produces one of two possible results. For example, \"Is this a child-friendly web site?\".
  • MULTICLASS - Produces one of several possible results. For example, \"Is this a HIGH-, LOW-, or MEDIUM-risk trade?\".
" + "CreateMLModelInput$MLModelType": "

The category of supervised learning that this MLModel will address. Choose from the following types:

  • Choose REGRESSION if the MLModel will be used to predict a numeric value.

  • Choose BINARY if the MLModel result has two possible values.

  • Choose MULTICLASS if the MLModel result has a limited number of values.

For more information, see the Amazon Machine Learning Developer Guide.

", + "GetMLModelOutput$MLModelType": "

Identifies the MLModel category. The following are the available types:

  • REGRESSION -- Produces a numeric result. For example, \"What price should a house be listed at?\"

  • BINARY -- Produces one of two possible results. For example, \"Is this an e-commerce website?\"

  • MULTICLASS -- Produces one of several possible results. For example, \"Is this a HIGH, LOW or MEDIUM risk trade?\"

", + "MLModel$MLModelType": "

Identifies the MLModel category. The following are the available types:

  • REGRESSION - Produces a numeric result. For example, \"What price should a house be listed at?\"

  • BINARY - Produces one of two possible results. For example, \"Is this a child-friendly web site?\".

  • MULTICLASS - Produces one of several possible results. For example, \"Is this a HIGH-, LOW-, or MEDIUM-risk trade?\".

" } }, "MLModels": { @@ -717,7 +717,7 @@ } }, "Message": { - "base": "

Description of the most recent details about an object.

", + "base": "

Description of the most recent details about an object.

", "refs": { "BatchPrediction$Message": "

A description of the most recent details about processing the batch prediction request.

", "DataSource$Message": "

A description of the most recent details about creating the DataSource.

", @@ -739,10 +739,10 @@ } }, "PerformanceMetrics": { - "base": "

Measurements of how well the MLModel performed on known observations. One of the following metrics is returned, based on the type of the MLModel:

  • BinaryAUC: The binary MLModel uses the Area Under the Curve (AUC) technique to measure performance.

  • RegressionRMSE: The regression MLModel uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.

  • MulticlassAvgFScore: The multiclass MLModel uses the F1 score technique to measure performance.

For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.

", + "base": "

Measurements of how well the MLModel performed on known observations. One of the following metrics is returned, based on the type of the MLModel:

  • BinaryAUC: The binary MLModel uses the Area Under the Curve (AUC) technique to measure performance.

  • RegressionRMSE: The regression MLModel uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.

  • MulticlassAvgFScore: The multiclass MLModel uses the F1 score technique to measure performance.

For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.

", "refs": { - "Evaluation$PerformanceMetrics": "

Measurements of how well the MLModel performed, using observations referenced by the DataSource. One of the following metrics is returned, based on the type of the MLModel:

  • BinaryAUC: A binary MLModel uses the Area Under the Curve (AUC) technique to measure performance.

  • RegressionRMSE: A regression MLModel uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.

  • MulticlassAvgFScore: A multiclass MLModel uses the F1 score technique to measure performance.

For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.

", - "GetEvaluationOutput$PerformanceMetrics": "

Measurements of how well the MLModel performed using observations referenced by the DataSource. One of the following metric is returned based on the type of the MLModel:

  • BinaryAUC: A binary MLModel uses the Area Under the Curve (AUC) technique to measure performance.

  • RegressionRMSE: A regression MLModel uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.

  • MulticlassAvgFScore: A multiclass MLModel uses the F1 score technique to measure performance.

For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.

" + "Evaluation$PerformanceMetrics": "

Measurements of how well the MLModel performed, using observations referenced by the DataSource. One of the following metrics is returned, based on the type of the MLModel:

  • BinaryAUC: A binary MLModel uses the Area Under the Curve (AUC) technique to measure performance.

  • RegressionRMSE: A regression MLModel uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.

  • MulticlassAvgFScore: A multiclass MLModel uses the F1 score technique to measure performance.

For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.

", + "GetEvaluationOutput$PerformanceMetrics": "

Measurements of how well the MLModel performed using observations referenced by the DataSource. One of the following metric is returned based on the type of the MLModel:

  • BinaryAUC: A binary MLModel uses the Area Under the Curve (AUC) technique to measure performance.

  • RegressionRMSE: A regression MLModel uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.

  • MulticlassAvgFScore: A multiclass MLModel uses the F1 score technique to measure performance.

For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.

" } }, "PerformanceMetricsProperties": { @@ -796,7 +796,7 @@ "RDSDataSpec": { "base": "

The data specification of an Amazon Relational Database Service (Amazon RDS) DataSource.

", "refs": { - "CreateDataSourceFromRDSInput$RDSData": "

The data specification of an Amazon RDS DataSource:

  • DatabaseInformation -

    • DatabaseName - The name of the Amazon RDS database.
    • InstanceIdentifier - A unique identifier for the Amazon RDS database instance.

  • DatabaseCredentials - AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon RDS database.

  • ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an EC2 instance to carry out the copy task from Amazon RDS to Amazon Simple Storage Service (Amazon S3). For more information, see Role templates for data pipelines.

  • ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.

  • SecurityInfo - The security information to use to access an RDS DB instance. You need to set up appropriate ingress rules for the security entity IDs provided to allow access to the Amazon RDS instance. Specify a [SubnetId, SecurityGroupIds] pair for a VPC-based RDS DB instance.

  • SelectSqlQuery - A query that is used to retrieve the observation data for the Datasource.

  • S3StagingLocation - The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using SelectSqlQuery is stored in this location.

  • DataSchemaUri - The Amazon S3 location of the DataSchema.

  • DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified.

  • DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the Datasource.


    Sample - \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"

" + "CreateDataSourceFromRDSInput$RDSData": "

The data specification of an Amazon RDS DataSource:

  • DatabaseInformation -

    • DatabaseName - The name of the Amazon RDS database.

    • InstanceIdentifier - A unique identifier for the Amazon RDS database instance.

  • DatabaseCredentials - AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon RDS database.

  • ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an EC2 instance to carry out the copy task from Amazon RDS to Amazon Simple Storage Service (Amazon S3). For more information, see Role templates for data pipelines.

  • ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data Pipeline service to monitor the progress of the copy task from Amazon RDS to Amazon S3. For more information, see Role templates for data pipelines.

  • SecurityInfo - The security information to use to access an RDS DB instance. You need to set up appropriate ingress rules for the security entity IDs provided to allow access to the Amazon RDS instance. Specify a [SubnetId, SecurityGroupIds] pair for a VPC-based RDS DB instance.

  • SelectSqlQuery - A query that is used to retrieve the observation data for the Datasource.

  • S3StagingLocation - The Amazon S3 location for staging Amazon RDS data. The data retrieved from Amazon RDS using SelectSqlQuery is stored in this location.

  • DataSchemaUri - The Amazon S3 location of the DataSchema.

  • DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified.

  • DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the Datasource.

    Sample - \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"

" } }, "RDSDatabase": { @@ -845,7 +845,7 @@ } }, "RDSSelectSqlQuery": { - "base": "

The SQL query to be executed against the Amazon RDS database. The SQL query should be valid for the Amazon RDS type being used.

", + "base": "

The SQL query to be executed against the Amazon RDS database. The SQL query should be valid for the Amazon RDS type being used.

", "refs": { "RDSDataSpec$SelectSqlQuery": "

The query that is used to retrieve the observation data for the DataSource.

", "RDSMetadata$SelectSqlQuery": "

The SQL query that is supplied during CreateDataSourceFromRDS. Returns only if Verbose is true in GetDataSourceInput.

" @@ -856,21 +856,21 @@ "refs": { "CreateRealtimeEndpointOutput$RealtimeEndpointInfo": "

The endpoint information of the MLModel

", "DeleteRealtimeEndpointOutput$RealtimeEndpointInfo": "

The endpoint information of the MLModel

", - "GetMLModelOutput$EndpointInfo": "

The current endpoint of the MLModel

", + "GetMLModelOutput$EndpointInfo": "

The current endpoint of the MLModel

", "MLModel$EndpointInfo": "

The current endpoint of the MLModel.

" } }, "RealtimeEndpointStatus": { "base": null, "refs": { - "RealtimeEndpointInfo$EndpointStatus": "

The current status of the real-time endpoint for the MLModel. This element can have one of the following values:

  • NONE - Endpoint does not exist or was previously deleted.
  • READY - Endpoint is ready to be used for real-time predictions.
  • UPDATING - Updating/creating the endpoint.
" + "RealtimeEndpointInfo$EndpointStatus": "

The current status of the real-time endpoint for the MLModel. This element can have one of the following values:

  • NONE - Endpoint does not exist or was previously deleted.

  • READY - Endpoint is ready to be used for real-time predictions.

  • UPDATING - Updating/creating the endpoint.

" } }, "Recipe": { "base": null, "refs": { "CreateMLModelInput$Recipe": "

The data recipe for creating the MLModel. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.

", - "GetMLModelOutput$Recipe": "

The recipe to use when training the MLModel. The Recipe provides detailed information about the observation data to use during training, and manipulations to perform on the observation data during training.

Note

This parameter is provided as part of the verbose format.

" + "GetMLModelOutput$Recipe": "

The recipe to use when training the MLModel. The Recipe provides detailed information about the observation data to use during training, and manipulations to perform on the observation data during training.

Note: This parameter is provided as part of the verbose format.

" } }, "Record": { @@ -888,7 +888,7 @@ "RedshiftDataSpec": { "base": "

Describes the data specification of an Amazon Redshift DataSource.

", "refs": { - "CreateDataSourceFromRedshiftInput$DataSpec": "

The data specification of an Amazon Redshift DataSource:

  • DatabaseInformation -

    • DatabaseName - The name of the Amazon Redshift database.
    • ClusterIdentifier - The unique ID for the Amazon Redshift cluster.

  • DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.

  • SelectSqlQuery - The query that is used to retrieve the observation data for the Datasource.

  • S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Redshift using the SelectSqlQuery query is stored in this location.

  • DataSchemaUri - The Amazon S3 location of the DataSchema.

  • DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified.

  • DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the DataSource.

    Sample - \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"

" + "CreateDataSourceFromRedshiftInput$DataSpec": "

The data specification of an Amazon Redshift DataSource:

  • DatabaseInformation -

    • DatabaseName - The name of the Amazon Redshift database.

    • ClusterIdentifier - The unique ID for the Amazon Redshift cluster.

  • DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials that are used to connect to the Amazon Redshift database.

  • SelectSqlQuery - The query that is used to retrieve the observation data for the Datasource.

  • S3StagingLocation - The Amazon Simple Storage Service (Amazon S3) location for staging Amazon Redshift data. The data retrieved from Amazon Redshift using the SelectSqlQuery query is stored in this location.

  • DataSchemaUri - The Amazon S3 location of the DataSchema.

  • DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified.

  • DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the DataSource.

    Sample - \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"

" } }, "RedshiftDatabase": { @@ -899,7 +899,7 @@ } }, "RedshiftDatabaseCredentials": { - "base": "

Describes the database credentials for connecting to a database on an Amazon Redshift cluster.

", + "base": "

Describes the database credentials for connecting to a database on an Amazon Redshift cluster.

", "refs": { "RedshiftDataSpec$DatabaseCredentials": "

Describes AWS Identity and Access Management (IAM) credentials that are used connect to the Amazon Redshift database.

" } @@ -911,13 +911,13 @@ } }, "RedshiftDatabasePassword": { - "base": "

A password to be used by Amazon ML to connect to a database on an Amazon Redshift cluster. The password should have sufficient permissions to execute a RedshiftSelectSqlQuery query. The password should be valid for an Amazon Redshift USER.

", + "base": "

A password to be used by Amazon ML to connect to a database on an Amazon Redshift cluster. The password should have sufficient permissions to execute a RedshiftSelectSqlQuery query. The password should be valid for an Amazon Redshift USER.

", "refs": { "RedshiftDatabaseCredentials$Password": null } }, "RedshiftDatabaseUsername": { - "base": "

A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster. The username should have sufficient permissions to execute the RedshiftSelectSqlQuery query. The username should be valid for an Amazon Redshift USER.

", + "base": "

A username to be used by Amazon Machine Learning (Amazon ML)to connect to a database on an Amazon Redshift cluster. The username should have sufficient permissions to execute the RedshiftSelectSqlQuery query. The username should be valid for an Amazon Redshift USER.

", "refs": { "RedshiftDatabaseCredentials$Username": null, "RedshiftMetadata$DatabaseUserName": null @@ -931,7 +931,7 @@ } }, "RedshiftSelectSqlQuery": { - "base": "

Describes the SQL query to execute on the Amazon Redshift database. The SQL query should be valid for an Amazon Redshift SELECT.

", + "base": "

Describes the SQL query to execute on the Amazon Redshift database. The SQL query should be valid for an Amazon Redshift SELECT.

", "refs": { "RedshiftDataSpec$SelectSqlQuery": "

Describes the SQL Query to execute on an Amazon Redshift database for an Amazon Redshift DataSource.

", "RedshiftMetadata$SelectSqlQuery": "

The SQL query that is specified during CreateDataSourceFromRedshift. Returns only if Verbose is true in GetDataSourceInput.

" @@ -943,10 +943,10 @@ } }, "RoleARN": { - "base": "

The Amazon Resource Name (ARN) of an AWS IAM Role, such as the following: arn:aws:iam::account:role/rolename.

", + "base": "

The Amazon Resource Name (ARN) of an AWS IAM Role, such as the following: arn:aws:iam::account:role/rolename.

", "refs": { - "CreateDataSourceFromRDSInput$RoleARN": "

The role that Amazon ML assumes on behalf of the user to create and activate a data pipeline in the user's account and copy data using the SelectSqlQuery query from Amazon RDS to Amazon S3.

", - "CreateDataSourceFromRedshiftInput$RoleARN": "

A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:

  • A security group to allow Amazon ML to execute the SelectSqlQuery query on an Amazon Redshift cluster

  • An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the S3StagingLocation

", + "CreateDataSourceFromRDSInput$RoleARN": "

The role that Amazon ML assumes on behalf of the user to create and activate a data pipeline in the user's account and copy data using the SelectSqlQuery query from Amazon RDS to Amazon S3.

", + "CreateDataSourceFromRedshiftInput$RoleARN": "

A fully specified role Amazon Resource Name (ARN). Amazon ML assumes the role on behalf of the user to create the following:

  • A security group to allow Amazon ML to execute the SelectSqlQuery query on an Amazon Redshift cluster

  • An Amazon S3 bucket policy to grant Amazon ML read/write permissions on the S3StagingLocation

", "DataSource$RoleARN": null, "GetDataSourceOutput$RoleARN": null } @@ -954,7 +954,7 @@ "S3DataSpec": { "base": "

Describes the data specification of a DataSource.

", "refs": { - "CreateDataSourceFromS3Input$DataSpec": "

The data specification of a DataSource:

  • DataLocationS3 - The Amazon S3 location of the observation data.

  • DataSchemaLocationS3 - The Amazon S3 location of the DataSchema.

  • DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified.

  • DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the Datasource.

    Sample - \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"

" + "CreateDataSourceFromS3Input$DataSpec": "

The data specification of a DataSource:

  • DataLocationS3 - The Amazon S3 location of the observation data.

  • DataSchemaLocationS3 - The Amazon S3 location of the DataSchema.

  • DataSchema - A JSON string representing the schema. This is not required if DataSchemaUri is specified.

  • DataRearrangement - A JSON string that represents the splitting and rearrangement requirements for the Datasource.

    Sample - \"{\\\"splitting\\\":{\\\"percentBegin\\\":10,\\\"percentEnd\\\":60}}\"

" } }, "S3Url": { @@ -962,7 +962,7 @@ "refs": { "BatchPrediction$InputDataLocationS3": "

The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).

", "BatchPrediction$OutputUri": "

The location of an Amazon S3 bucket or directory to receive the operation results. The following substrings are not allowed in the s3 key portion of the outputURI field: ':', '//', '/./', '/../'.

", - "CreateBatchPredictionInput$OutputUri": "

The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to store the batch prediction results. The following substrings are not allowed in the s3 key portion of the outputURI field: ':', '//', '/./', '/../'.

Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the Amazon Machine Learning Developer Guide.

", + "CreateBatchPredictionInput$OutputUri": "

The location of an Amazon Simple Storage Service (Amazon S3) bucket or directory to store the batch prediction results. The following substrings are not allowed in the s3 key portion of the outputURI field: ':', '//', '/./', '/../'.

Amazon ML needs permissions to store and retrieve the logs on your behalf. For information about how to set permissions, see the Amazon Machine Learning Developer Guide.

", "CreateMLModelInput$RecipeUri": "

The Amazon Simple Storage Service (Amazon S3) location and file name that contains the MLModel recipe. You must specify either the recipe or its URI. If you don't specify a recipe or its URI, Amazon ML creates a default.

", "DataSource$DataLocationS3": "

The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a DataSource.

", "Evaluation$InputDataLocationS3": "

The location and name of the data in Amazon Simple Storage Server (Amazon S3) that is used in the evaluation.

", @@ -983,7 +983,7 @@ "ScoreThreshold": { "base": null, "refs": { - "GetMLModelOutput$ScoreThreshold": "

The scoring threshold is used in binary classification MLModel models. It marks the boundary between a positive prediction and a negative prediction.

Output values greater than or equal to the threshold receive a positive result from the MLModel, such as true. Output values less than the threshold receive a negative response from the MLModel, such as false.

", + "GetMLModelOutput$ScoreThreshold": "

The scoring threshold is used in binary classification MLModel models. It marks the boundary between a positive prediction and a negative prediction.

Output values greater than or equal to the threshold receive a positive result from the MLModel, such as true. Output values less than the threshold receive a negative response from the MLModel, such as false.

", "MLModel$ScoreThreshold": null, "UpdateMLModelInput$ScoreThreshold": "

The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction.

Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.

" } @@ -995,18 +995,18 @@ } }, "ScoreValuePerLabelMap": { - "base": "Provides the raw classification score corresponding to each label.", + "base": "

Provides the raw classification score corresponding to each label.

", "refs": { "Prediction$predictedScores": null } }, "SortOrder": { - "base": "

The sort order specified in a listing condition. Possible values include the following:

  • asc - Present the information in ascending order (from A-Z).
  • dsc - Present the information in descending order (from Z-A).
", + "base": "

The sort order specified in a listing condition. Possible values include the following:

  • asc - Present the information in ascending order (from A-Z).

  • dsc - Present the information in descending order (from Z-A).

", "refs": { - "DescribeBatchPredictionsInput$SortOrder": "

A two-value parameter that determines the sequence of the resulting list of MLModels.

  • asc - Arranges the list in ascending order (A-Z, 0-9).
  • dsc - Arranges the list in descending order (Z-A, 9-0).

Results are sorted by FilterVariable.

", - "DescribeDataSourcesInput$SortOrder": "

A two-value parameter that determines the sequence of the resulting list of DataSource.

  • asc - Arranges the list in ascending order (A-Z, 0-9).
  • dsc - Arranges the list in descending order (Z-A, 9-0).

Results are sorted by FilterVariable.

", - "DescribeEvaluationsInput$SortOrder": "

A two-value parameter that determines the sequence of the resulting list of Evaluation.

  • asc - Arranges the list in ascending order (A-Z, 0-9).
  • dsc - Arranges the list in descending order (Z-A, 9-0).

Results are sorted by FilterVariable.

", - "DescribeMLModelsInput$SortOrder": "

A two-value parameter that determines the sequence of the resulting list of MLModel.

  • asc - Arranges the list in ascending order (A-Z, 0-9).
  • dsc - Arranges the list in descending order (Z-A, 9-0).

Results are sorted by FilterVariable.

" + "DescribeBatchPredictionsInput$SortOrder": "

A two-value parameter that determines the sequence of the resulting list of MLModels.

  • asc - Arranges the list in ascending order (A-Z, 0-9).

  • dsc - Arranges the list in descending order (Z-A, 9-0).

Results are sorted by FilterVariable.

", + "DescribeDataSourcesInput$SortOrder": "

A two-value parameter that determines the sequence of the resulting list of DataSource.

  • asc - Arranges the list in ascending order (A-Z, 0-9).

  • dsc - Arranges the list in descending order (Z-A, 9-0).

Results are sorted by FilterVariable.

", + "DescribeEvaluationsInput$SortOrder": "

A two-value parameter that determines the sequence of the resulting list of Evaluation.

  • asc - Arranges the list in ascending order (A-Z, 0-9).

  • dsc - Arranges the list in descending order (Z-A, 9-0).

Results are sorted by FilterVariable.

", + "DescribeMLModelsInput$SortOrder": "

A two-value parameter that determines the sequence of the resulting list of MLModel.

  • asc - Arranges the list in ascending order (A-Z, 0-9).

  • dsc - Arranges the list in descending order (Z-A, 9-0).

Results are sorted by FilterVariable.

" } }, "StringType": { @@ -1064,7 +1064,7 @@ "TaggableResourceType": { "base": null, "refs": { - "AddTagsInput$ResourceType": "

The type of the ML object to tag.

", + "AddTagsInput$ResourceType": "

The type of the ML object to tag.

", "AddTagsOutput$ResourceType": "

The type of the ML object that was tagged.

", "DeleteTagsInput$ResourceType": "

The type of the tagged ML object.

", "DeleteTagsOutput$ResourceType": "

The type of the ML object from which tags were deleted.

", @@ -1075,9 +1075,9 @@ "TrainingParameters": { "base": null, "refs": { - "CreateMLModelInput$Parameters": "

A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs.

The following is the current set of training parameters:

  • sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.

    The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432.

  • sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10.

  • sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none. We strongly recommend that you shuffle your data.

  • sgd.l1RegularizationAmount - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly.

  • sgd.l2RegularizationAmount - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly.

", - "GetMLModelOutput$TrainingParameters": "

A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs.

The following is the current set of training parameters:

  • sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.

    The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432.

  • sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10.

  • sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none. We strongly recommend that you shuffle your data.

  • sgd.l1RegularizationAmount - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly.

  • sgd.l2RegularizationAmount - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly.

", - "MLModel$TrainingParameters": "

A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs.

The following is the current set of training parameters:

  • sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.

    The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432.

  • sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10.

  • sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none.

  • sgd.l1RegularizationAmount - The coefficient regularization L1 norm, which controls overfitting the data by penalizing large coefficients. This parameter tends to drive coefficients to zero, resulting in sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly.

  • sgd.l2RegularizationAmount - The coefficient regularization L2 norm, which controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly.

" + "CreateMLModelInput$Parameters": "

A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs.

The following is the current set of training parameters:

  • sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.

    The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432.

  • sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10.

  • sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none. We strongly recommend that you shuffle your data.

  • sgd.l1RegularizationAmount - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly.

  • sgd.l2RegularizationAmount - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly.

", + "GetMLModelOutput$TrainingParameters": "

A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs.

The following is the current set of training parameters:

  • sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.

    The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432.

  • sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10.

  • sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none. We strongly recommend that you shuffle your data.

  • sgd.l1RegularizationAmount - The coefficient regularization L1 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to zero, resulting in a sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly.

  • sgd.l2RegularizationAmount - The coefficient regularization L2 norm. It controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly.

", + "MLModel$TrainingParameters": "

A list of the training parameters in the MLModel. The list is implemented as a map of key-value pairs.

The following is the current set of training parameters:

  • sgd.maxMLModelSizeInBytes - The maximum allowed size of the model. Depending on the input data, the size of the model might affect its performance.

    The value is an integer that ranges from 100000 to 2147483648. The default value is 33554432.

  • sgd.maxPasses - The number of times that the training process traverses the observations to build the MLModel. The value is an integer that ranges from 1 to 10000. The default value is 10.

  • sgd.shuffleType - Whether Amazon ML shuffles the training data. Shuffling the data improves a model's ability to find the optimal solution for a variety of data types. The valid values are auto and none. The default value is none.

  • sgd.l1RegularizationAmount - The coefficient regularization L1 norm, which controls overfitting the data by penalizing large coefficients. This parameter tends to drive coefficients to zero, resulting in sparse feature set. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L1 normalization. This parameter can't be used when L2 is specified. Use this parameter sparingly.

  • sgd.l2RegularizationAmount - The coefficient regularization L2 norm, which controls overfitting the data by penalizing large coefficients. This tends to drive coefficients to small, nonzero values. If you use this parameter, start by specifying a small value, such as 1.0E-08.

    The value is a double that ranges from 0 to MAX_DOUBLE. The default is to not use L2 normalization. This parameter can't be used when L1 is specified. Use this parameter sparingly.

" } }, "UpdateBatchPredictionInput": { @@ -1143,13 +1143,13 @@ "base": null, "refs": { "PredictInput$PredictEndpoint": null, - "RealtimeEndpointInfo$EndpointUrl": "

The URI that specifies where to send real-time prediction requests for the MLModel.

Note

The application must wait until the real-time endpoint is ready before using this URI.

" + "RealtimeEndpointInfo$EndpointUrl": "

The URI that specifies where to send real-time prediction requests for the MLModel.

Note: The application must wait until the real-time endpoint is ready before using this URI.

" } }, "floatLabel": { "base": null, "refs": { - "Prediction$predictedValue": "The prediction value for REGRESSION MLModel." + "Prediction$predictedValue": "

The prediction value for REGRESSION MLModel.

" } } } diff --git a/models/apis/machinelearning/2014-12-12/examples-1.json b/models/apis/machinelearning/2014-12-12/examples-1.json index faff7689444..0ea7e3b0bbe 100644 --- a/models/apis/machinelearning/2014-12-12/examples-1.json +++ b/models/apis/machinelearning/2014-12-12/examples-1.json @@ -1,5 +1,5 @@ { - "version":"1.0", - "examples":{ + "version": "1.0", + "examples": { } } diff --git a/models/apis/machinelearning/2014-12-12/paginators-1.json b/models/apis/machinelearning/2014-12-12/paginators-1.json index c13ce65af5b..da7a63a973c 100644 --- a/models/apis/machinelearning/2014-12-12/paginators-1.json +++ b/models/apis/machinelearning/2014-12-12/paginators-1.json @@ -1,28 +1,28 @@ { "pagination": { "DescribeBatchPredictions": { + "input_token": "NextToken", "limit_key": "Limit", "output_token": "NextToken", - "input_token": "NextToken", "result_key": "Results" }, "DescribeDataSources": { + "input_token": "NextToken", "limit_key": "Limit", "output_token": "NextToken", - "input_token": "NextToken", "result_key": "Results" }, "DescribeEvaluations": { + "input_token": "NextToken", "limit_key": "Limit", "output_token": "NextToken", - "input_token": "NextToken", "result_key": "Results" }, "DescribeMLModels": { + "input_token": "NextToken", "limit_key": "Limit", "output_token": "NextToken", - "input_token": "NextToken", "result_key": "Results" } } -} +} \ No newline at end of file diff --git a/models/apis/pricing/2017-10-15/api-2.json b/models/apis/pricing/2017-10-15/api-2.json index 55a069d19cc..eb3753816bb 100644 --- a/models/apis/pricing/2017-10-15/api-2.json +++ b/models/apis/pricing/2017-10-15/api-2.json @@ -7,6 +7,7 @@ "protocol":"json", "serviceAbbreviation":"AWS Pricing", "serviceFullName":"AWS Price List Service", + "serviceId":"Pricing", "signatureVersion":"v4", "signingName":"pricing", "targetPrefix":"AWSPriceListService", diff --git a/models/apis/pricing/2017-10-15/docs-2.json b/models/apis/pricing/2017-10-15/docs-2.json index 1052182aafe..26e8c2e7e4b 100644 --- a/models/apis/pricing/2017-10-15/docs-2.json +++ b/models/apis/pricing/2017-10-15/docs-2.json @@ -3,7 +3,7 @@ "service": "

AWS Price List Service API (AWS Price List Service) is a centralized and convenient way to programmatically query Amazon Web Services for services, products, and pricing information. The AWS Price List Service uses standardized product attributes such as Location, Storage Class, and Operating System, and provides prices at the SKU level. You can use the AWS Price List Service to build cost control and scenario planning tools, reconcile billing data, forecast future spend for budgeting purposes, and provide cost benefit analysis that compare your internal workloads with AWS.

Use GetServices without a service code to retrieve the service codes for all AWS services, then GetServices with a service code to retreive the attribute names for that service. After you have the service code and attribute names, you can use GetAttributeValues to see what values are available for an attribute. With the service code and an attribute name and value, you can use GetProducts to find specific products that you're interested in, such as an AmazonEC2 instance, with a Provisioned IOPS volumeType.

Service Endpoint

AWS Price List Service API provides the following two endpoints:

  • https://api.pricing.us-east-1.amazonaws.com

  • https://api.pricing.ap-south-1.amazonaws.com

", "operations": { "DescribeServices": "

Returns the metadata for one service or a list of the metadata for all services. Use this without a service code to get the service codes for all services. Use it with a service code, such as AmazonEC2, to get information specific to that service, such as the attribute names available for that service. For example, some of the attribute names available for EC2 are volumeType, maxIopsVolume, operation, locationType, and instanceCapacity10xlarge.

", - "GetAttributeValues": "

Returns a list of attribute values. Attibutes are similar to the details in a Price List API offer file. For a list of available attributes, see Offer File Definitions in the AWS Billing and Cost Management User Guide.

", + "GetAttributeValues": "

Returns a list of attribute values. Attibutes are similar to the details in a Price List API offer file. For a list of available attributes, see Offer File Definitions in the AWS Billing and Cost Management User Guide.

", "GetProducts": "

Returns a list of all products that match the filter criteria.

" }, "shapes": { diff --git a/models/apis/pricing/2017-10-15/examples-1.json b/models/apis/pricing/2017-10-15/examples-1.json index 90aa3ef0a90..abc1c59f342 100644 --- a/models/apis/pricing/2017-10-15/examples-1.json +++ b/models/apis/pricing/2017-10-15/examples-1.json @@ -30,6 +30,7 @@ "output": { } }, + "description": "Retrieves the service for the given Service Code.", "id": "to-retrieve-service-metadata", "title": "To retrieve a list of services and service codes" } diff --git a/models/apis/redshift/2012-12-01/api-2.json b/models/apis/redshift/2012-12-01/api-2.json index 6ee575ea0b3..cdbcb2a92fa 100644 --- a/models/apis/redshift/2012-12-01/api-2.json +++ b/models/apis/redshift/2012-12-01/api-2.json @@ -50,6 +50,26 @@ {"shape":"AuthorizationQuotaExceededFault"} ] }, + "AuthorizeEndpointAccess":{ + "name":"AuthorizeEndpointAccess", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"AuthorizeEndpointAccessMessage"}, + "output":{ + "shape":"EndpointAuthorization", + "resultWrapper":"AuthorizeEndpointAccessResult" + }, + "errors":[ + {"shape":"ClusterNotFoundFault"}, + {"shape":"EndpointAuthorizationsPerClusterLimitExceededFault"}, + {"shape":"UnsupportedOperationFault"}, + {"shape":"EndpointAuthorizationAlreadyExistsFault"}, + {"shape":"InvalidAuthorizationStateFault"}, + {"shape":"InvalidClusterStateFault"} + ] + }, "AuthorizeSnapshotAccess":{ "name":"AuthorizeSnapshotAccess", "http":{ @@ -253,6 +273,30 @@ {"shape":"DependentServiceRequestThrottlingFault"} ] }, + "CreateEndpointAccess":{ + "name":"CreateEndpointAccess", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateEndpointAccessMessage"}, + "output":{ + "shape":"EndpointAccess", + "resultWrapper":"CreateEndpointAccessResult" + }, + "errors":[ + {"shape":"ClusterNotFoundFault"}, + {"shape":"AccessToClusterDeniedFault"}, + {"shape":"EndpointsPerClusterLimitExceededFault"}, + {"shape":"EndpointsPerAuthorizationLimitExceededFault"}, + {"shape":"InvalidClusterSecurityGroupStateFault"}, + {"shape":"ClusterSubnetGroupNotFoundFault"}, + {"shape":"EndpointAlreadyExistsFault"}, + {"shape":"UnsupportedOperationFault"}, + {"shape":"InvalidClusterStateFault"}, + {"shape":"UnauthorizedOperation"} + ] + }, "CreateEventSubscription":{ "name":"CreateEventSubscription", "http":{ @@ -481,6 +525,25 @@ {"shape":"ClusterSubnetGroupNotFoundFault"} ] }, + "DeleteEndpointAccess":{ + "name":"DeleteEndpointAccess", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteEndpointAccessMessage"}, + "output":{ + "shape":"EndpointAccess", + "resultWrapper":"DeleteEndpointAccessResult" + }, + "errors":[ + {"shape":"ClusterNotFoundFault"}, + {"shape":"InvalidEndpointStateFault"}, + {"shape":"InvalidClusterSecurityGroupStateFault"}, + {"shape":"EndpointNotFoundFault"}, + {"shape":"InvalidClusterStateFault"} + ] + }, "DeleteEventSubscription":{ "name":"DeleteEventSubscription", "http":{ @@ -741,6 +804,39 @@ "resultWrapper":"DescribeDefaultClusterParametersResult" } }, + "DescribeEndpointAccess":{ + "name":"DescribeEndpointAccess", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeEndpointAccessMessage"}, + "output":{ + "shape":"EndpointAccessList", + "resultWrapper":"DescribeEndpointAccessResult" + }, + "errors":[ + {"shape":"ClusterNotFoundFault"}, + {"shape":"InvalidClusterStateFault"}, + {"shape":"EndpointNotFoundFault"} + ] + }, + "DescribeEndpointAuthorization":{ + "name":"DescribeEndpointAuthorization", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeEndpointAuthorizationMessage"}, + "output":{ + "shape":"EndpointAuthorizationList", + "resultWrapper":"DescribeEndpointAuthorizationResult" + }, + "errors":[ + {"shape":"ClusterNotFoundFault"}, + {"shape":"UnsupportedOperationFault"} + ] + }, "DescribeEventCategories":{ "name":"DescribeEventCategories", "http":{ @@ -1272,6 +1368,26 @@ {"shape":"DependentServiceRequestThrottlingFault"} ] }, + "ModifyEndpointAccess":{ + "name":"ModifyEndpointAccess", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ModifyEndpointAccessMessage"}, + "output":{ + "shape":"EndpointAccess", + "resultWrapper":"ModifyEndpointAccessResult" + }, + "errors":[ + {"shape":"InvalidClusterSecurityGroupStateFault"}, + {"shape":"ClusterNotFoundFault"}, + {"shape":"InvalidEndpointStateFault"}, + {"shape":"EndpointNotFoundFault"}, + {"shape":"InvalidClusterStateFault"}, + {"shape":"UnauthorizedOperation"} + ] + }, "ModifyEventSubscription":{ "name":"ModifyEventSubscription", "http":{ @@ -1550,6 +1666,27 @@ {"shape":"InvalidClusterSecurityGroupStateFault"} ] }, + "RevokeEndpointAccess":{ + "name":"RevokeEndpointAccess", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"RevokeEndpointAccessMessage"}, + "output":{ + "shape":"EndpointAuthorization", + "resultWrapper":"RevokeEndpointAccessResult" + }, + "errors":[ + {"shape":"ClusterNotFoundFault"}, + {"shape":"InvalidEndpointStateFault"}, + {"shape":"InvalidClusterSecurityGroupStateFault"}, + {"shape":"EndpointNotFoundFault"}, + {"shape":"EndpointAuthorizationNotFoundFault"}, + {"shape":"InvalidAuthorizationStateFault"}, + {"shape":"InvalidClusterStateFault"} + ] + }, "RevokeSnapshotAccess":{ "name":"RevokeSnapshotAccess", "http":{ @@ -1603,6 +1740,17 @@ "ExchangedReservedNode":{"shape":"ReservedNode"} } }, + "AccessToClusterDeniedFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"AccessToClusterDenied", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, "AccessToSnapshotDeniedFault":{ "type":"structure", "members":{ @@ -1716,6 +1864,13 @@ }, "exception":true }, + "AuthorizationStatus":{ + "type":"string", + "enum":[ + "Authorized", + "Revoking" + ] + }, "AuthorizeClusterSecurityGroupIngressMessage":{ "type":"structure", "required":["ClusterSecurityGroupName"], @@ -1732,6 +1887,15 @@ "ClusterSecurityGroup":{"shape":"ClusterSecurityGroup"} } }, + "AuthorizeEndpointAccessMessage":{ + "type":"structure", + "required":["Account"], + "members":{ + "ClusterIdentifier":{"shape":"String"}, + "Account":{"shape":"String"}, + "VpcIds":{"shape":"VpcIdentifierList"} + } + }, "AuthorizeSnapshotAccessMessage":{ "type":"structure", "required":[ @@ -2487,6 +2651,20 @@ "ClusterSubnetGroup":{"shape":"ClusterSubnetGroup"} } }, + "CreateEndpointAccessMessage":{ + "type":"structure", + "required":[ + "EndpointName", + "SubnetGroupName" + ], + "members":{ + "ClusterIdentifier":{"shape":"String"}, + "ResourceOwner":{"shape":"String"}, + "EndpointName":{"shape":"String"}, + "SubnetGroupName":{"shape":"String"}, + "VpcSecurityGroupIds":{"shape":"VpcSecurityGroupIdList"} + } + }, "CreateEventSubscriptionMessage":{ "type":"structure", "required":[ @@ -2731,6 +2909,13 @@ "ClusterSubnetGroupName":{"shape":"String"} } }, + "DeleteEndpointAccessMessage":{ + "type":"structure", + "required":["EndpointName"], + "members":{ + "EndpointName":{"shape":"String"} + } + }, "DeleteEventSubscriptionMessage":{ "type":"structure", "required":["SubscriptionName"], @@ -2926,6 +3111,27 @@ "DefaultClusterParameters":{"shape":"DefaultClusterParameters"} } }, + "DescribeEndpointAccessMessage":{ + "type":"structure", + "members":{ + "ClusterIdentifier":{"shape":"String"}, + "ResourceOwner":{"shape":"String"}, + "EndpointName":{"shape":"String"}, + "VpcId":{"shape":"String"}, + "MaxRecords":{"shape":"IntegerOptional"}, + "Marker":{"shape":"String"} + } + }, + "DescribeEndpointAuthorizationMessage":{ + "type":"structure", + "members":{ + "ClusterIdentifier":{"shape":"String"}, + "Account":{"shape":"String"}, + "Grantee":{"shape":"BooleanOptional"}, + "MaxRecords":{"shape":"IntegerOptional"}, + "Marker":{"shape":"String"} + } + }, "DescribeEventCategoriesMessage":{ "type":"structure", "members":{ @@ -3194,6 +3400,134 @@ "VpcEndpoints":{"shape":"VpcEndpointsList"} } }, + "EndpointAccess":{ + "type":"structure", + "members":{ + "ClusterIdentifier":{"shape":"String"}, + "ResourceOwner":{"shape":"String"}, + "SubnetGroupName":{"shape":"String"}, + "EndpointStatus":{"shape":"String"}, + "EndpointName":{"shape":"String"}, + "EndpointCreateTime":{"shape":"TStamp"}, + "Port":{"shape":"Integer"}, + "Address":{"shape":"String"}, + "VpcSecurityGroups":{"shape":"VpcSecurityGroupMembershipList"}, + "VpcEndpoint":{"shape":"VpcEndpoint"} + } + }, + "EndpointAccessList":{ + "type":"structure", + "members":{ + "EndpointAccessList":{"shape":"EndpointAccesses"}, + "Marker":{"shape":"String"} + } + }, + "EndpointAccesses":{ + "type":"list", + "member":{"shape":"EndpointAccess"} + }, + "EndpointAlreadyExistsFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"EndpointAlreadyExists", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "EndpointAuthorization":{ + "type":"structure", + "members":{ + "Grantor":{"shape":"String"}, + "Grantee":{"shape":"String"}, + "ClusterIdentifier":{"shape":"String"}, + "AuthorizeTime":{"shape":"TStamp"}, + "ClusterStatus":{"shape":"String"}, + "Status":{"shape":"AuthorizationStatus"}, + "AllowedAllVPCs":{"shape":"Boolean"}, + "AllowedVPCs":{"shape":"VpcIdentifierList"}, + "EndpointCount":{"shape":"Integer"} + } + }, + "EndpointAuthorizationAlreadyExistsFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"EndpointAuthorizationAlreadyExists", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "EndpointAuthorizationList":{ + "type":"structure", + "members":{ + "EndpointAuthorizationList":{"shape":"EndpointAuthorizations"}, + "Marker":{"shape":"String"} + } + }, + "EndpointAuthorizationNotFoundFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"EndpointAuthorizationNotFound", + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "EndpointAuthorizations":{ + "type":"list", + "member":{"shape":"EndpointAuthorization"} + }, + "EndpointAuthorizationsPerClusterLimitExceededFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"EndpointAuthorizationsPerClusterLimitExceeded", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "EndpointNotFoundFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"EndpointNotFound", + "httpStatusCode":404, + "senderFault":true + }, + "exception":true + }, + "EndpointsPerAuthorizationLimitExceededFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"EndpointsPerAuthorizationLimitExceeded", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, + "EndpointsPerClusterLimitExceededFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"EndpointsPerClusterLimitExceeded", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, "Event":{ "type":"structure", "members":{ @@ -3540,6 +3874,17 @@ }, "Integer":{"type":"integer"}, "IntegerOptional":{"type":"integer"}, + "InvalidAuthorizationStateFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"InvalidAuthorizationState", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, "InvalidClusterParameterGroupStateFault":{ "type":"structure", "members":{ @@ -3639,6 +3984,17 @@ }, "exception":true }, + "InvalidEndpointStateFault":{ + "type":"structure", + "members":{ + }, + "error":{ + "code":"InvalidEndpointState", + "httpStatusCode":400, + "senderFault":true + }, + "exception":true + }, "InvalidHsmClientCertificateStateFault":{ "type":"structure", "members":{ @@ -3994,6 +4350,14 @@ "ClusterSubnetGroup":{"shape":"ClusterSubnetGroup"} } }, + "ModifyEndpointAccessMessage":{ + "type":"structure", + "required":["EndpointName"], + "members":{ + "EndpointName":{"shape":"String"}, + "VpcSecurityGroupIds":{"shape":"VpcSecurityGroupIdList"} + } + }, "ModifyEventSubscriptionMessage":{ "type":"structure", "required":["SubscriptionName"], @@ -4629,6 +4993,15 @@ "ClusterSecurityGroup":{"shape":"ClusterSecurityGroup"} } }, + "RevokeEndpointAccessMessage":{ + "type":"structure", + "members":{ + "ClusterIdentifier":{"shape":"String"}, + "Account":{"shape":"String"}, + "VpcIds":{"shape":"VpcIdentifierList"}, + "Force":{"shape":"Boolean"} + } + }, "RevokeSnapshotAccessMessage":{ "type":"structure", "required":[ @@ -5548,6 +5921,13 @@ "locationName":"VpcEndpoint" } }, + "VpcIdentifierList":{ + "type":"list", + "member":{ + "shape":"String", + "locationName":"VpcIdentifier" + } + }, "VpcSecurityGroupIdList":{ "type":"list", "member":{ diff --git a/models/apis/redshift/2012-12-01/docs-2.json b/models/apis/redshift/2012-12-01/docs-2.json index 445749c7b0d..34138d27203 100644 --- a/models/apis/redshift/2012-12-01/docs-2.json +++ b/models/apis/redshift/2012-12-01/docs-2.json @@ -4,6 +4,7 @@ "operations": { "AcceptReservedNodeExchange": "

Exchanges a DC1 Reserved Node for a DC2 Reserved Node with no changes to the configuration (term, payment type, or number of nodes) and no additional costs.

", "AuthorizeClusterSecurityGroupIngress": "

Adds an inbound (ingress) rule to an Amazon Redshift security group. Depending on whether the application accessing your cluster is running on the Internet or an Amazon EC2 instance, you can authorize inbound access to either a Classless Interdomain Routing (CIDR)/Internet Protocol (IP) range or to an Amazon EC2 security group. You can add as many as 20 ingress rules to an Amazon Redshift security group.

If you authorize access to an Amazon EC2 security group, specify EC2SecurityGroupName and EC2SecurityGroupOwnerId. The Amazon EC2 security group and Amazon Redshift cluster must be in the same AWS Region.

If you authorize access to a CIDR/IP address range, specify CIDRIP. For an overview of CIDR blocks, see the Wikipedia article on Classless Inter-Domain Routing.

You must also associate the security group with a cluster so that clients running on these IP addresses or the EC2 instance are authorized to connect to the cluster. For information about managing security groups, go to Working with Security Groups in the Amazon Redshift Cluster Management Guide.

", + "AuthorizeEndpointAccess": "

Grants access to a cluster.

", "AuthorizeSnapshotAccess": "

Authorizes the specified AWS customer account to restore the specified snapshot.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

", "BatchDeleteClusterSnapshots": "

Deletes a set of cluster snapshots.

", "BatchModifyClusterSnapshots": "

Modifies the settings for a set of cluster snapshots.

", @@ -14,6 +15,7 @@ "CreateClusterSecurityGroup": "

Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters.

For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.

", "CreateClusterSnapshot": "

Creates a manual snapshot of the specified cluster. The cluster must be in the available state.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

", "CreateClusterSubnetGroup": "

Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.

For information about subnet groups, go to Amazon Redshift Cluster Subnet Groups in the Amazon Redshift Cluster Management Guide.

", + "CreateEndpointAccess": "

Creates a Redshift-managed VPC endpoint.

", "CreateEventSubscription": "

Creates an Amazon Redshift event notification subscription. This action requires an ARN (Amazon Resource Name) of an Amazon SNS topic created by either the Amazon Redshift console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the SNS console.

You can specify the source type, and lists of Amazon Redshift source IDs, event categories, and event severities. Notifications will be sent for all events you want that match those criteria. For example, you can specify source type = cluster, source ID = my-cluster-1 and mycluster2, event categories = Availability, Backup, and severity = ERROR. The subscription will only send notifications for those ERROR events in the Availability and Backup categories for the specified clusters.

If you specify both the source type and source IDs, such as source type = cluster and source identifier = my-cluster-1, notifications will be sent for all the cluster events for my-cluster-1. If you specify a source type but do not specify a source identifier, you will receive notice of the events for the objects of that type in your AWS account. If you do not specify either the SourceType nor the SourceIdentifier, you will be notified of events generated from all Amazon Redshift sources belonging to your AWS account. You must specify a source type if you specify a source ID.

", "CreateHsmClientCertificate": "

Creates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases.

The command returns a public key, which you must store in the HSM. In addition to creating the HSM certificate, you must create an Amazon Redshift HSM configuration that provides a cluster the information needed to store and use encryption keys in the HSM. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.

", "CreateHsmConfiguration": "

Creates an HSM configuration that contains the information required by an Amazon Redshift cluster to store and use database encryption keys in a Hardware Security Module (HSM). After creating the HSM configuration, you can specify it as a parameter when creating a cluster. The cluster will then store its encryption keys in the HSM.

In addition to creating an HSM configuration, you must also create an HSM client certificate. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.

", @@ -27,6 +29,7 @@ "DeleteClusterSecurityGroup": "

Deletes an Amazon Redshift security group.

You cannot delete a security group that is associated with any clusters. You cannot delete the default security group.

For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.

", "DeleteClusterSnapshot": "

Deletes the specified manual snapshot. The snapshot must be in the available state, with no other users authorized to access the snapshot.

Unlike automated snapshots, manual snapshots are retained even after you delete your cluster. Amazon Redshift does not delete your manual snapshots. You must delete manual snapshot explicitly to avoid getting charged. If other accounts are authorized to access the snapshot, you must revoke all of the authorizations before you can delete the snapshot.

", "DeleteClusterSubnetGroup": "

Deletes the specified cluster subnet group.

", + "DeleteEndpointAccess": "

Deletes a Redshift-managed VPC endpoint.

", "DeleteEventSubscription": "

Deletes an Amazon Redshift event notification subscription.

", "DeleteHsmClientCertificate": "

Deletes the specified HSM client certificate.

", "DeleteHsmConfiguration": "

Deletes the specified Amazon Redshift HSM configuration.

", @@ -46,6 +49,8 @@ "DescribeClusterVersions": "

Returns descriptions of the available Amazon Redshift cluster versions. You can call this operation even before creating any clusters to learn more about the Amazon Redshift versions. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

", "DescribeClusters": "

Returns properties of provisioned clusters including general cluster properties, cluster database properties, maintenance and backup properties, and security and access properties. This operation supports pagination. For more information about managing clusters, go to Amazon Redshift Clusters in the Amazon Redshift Cluster Management Guide.

If you specify both tag keys and tag values in the same request, Amazon Redshift returns all clusters that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all clusters that have any combination of those values are returned.

If both tag keys and values are omitted from the request, clusters are returned regardless of whether they have tag keys or values associated with them.

", "DescribeDefaultClusterParameters": "

Returns a list of parameter settings for the specified parameter group family.

For more information about parameters and parameter groups, go to Amazon Redshift Parameter Groups in the Amazon Redshift Cluster Management Guide.

", + "DescribeEndpointAccess": "

Describes a Redshift-managed VPC endpoint.

", + "DescribeEndpointAuthorization": "

Describes an endpoint authorization.

", "DescribeEventCategories": "

Displays a list of event categories for all event source types, or for a specified source type. For a list of the event categories and source types, go to Amazon Redshift Event Notifications.

", "DescribeEventSubscriptions": "

Lists descriptions of all the Amazon Redshift event notification subscriptions for a customer account. If you specify a subscription name, lists the description for that subscription.

If you specify both tag keys and tag values in the same request, Amazon Redshift returns all event notification subscriptions that match any combination of the specified keys and values. For example, if you have owner and environment for tag keys, and admin and test for tag values, all subscriptions that have any combination of those values are returned.

If both tag keys and values are omitted from the request, subscriptions are returned regardless of whether they have tag keys or values associated with them.

", "DescribeEvents": "

Returns events related to clusters, security groups, snapshots, and parameter groups for the past 14 days. Events specific to a particular cluster, security group, snapshot or parameter group can be obtained by providing the name as a parameter. By default, the past hour of events are returned.

", @@ -78,6 +83,7 @@ "ModifyClusterSnapshot": "

Modifies the settings for a snapshot.

This exanmple modifies the manual retention period setting for a cluster snapshot.

", "ModifyClusterSnapshotSchedule": "

Modifies a snapshot schedule for a cluster.

", "ModifyClusterSubnetGroup": "

Modifies a cluster subnet group to include the specified list of VPC subnets. The operation replaces the existing list of subnets with the new list of subnets.

", + "ModifyEndpointAccess": "

Modifies a Redshift-managed VPC endpoint.

", "ModifyEventSubscription": "

Modifies an existing Amazon Redshift event notification subscription.

", "ModifyScheduledAction": "

Modifies a scheduled action.

", "ModifySnapshotCopyRetentionPeriod": "

Modifies the number of days to retain snapshots in the destination AWS Region after they are copied from the source AWS Region. By default, this operation only changes the retention period of copied automated snapshots. The retention periods for both new and existing copied automated snapshots are updated with the new retention period. You can set the manual option to change only the retention periods of copied manual snapshots. If you set this option, only newly copied manual snapshots have the new retention period.

", @@ -92,6 +98,7 @@ "RestoreTableFromClusterSnapshot": "

Creates a new table from a table in an Amazon Redshift cluster snapshot. You must create the new table within the Amazon Redshift cluster that the snapshot was taken from.

You cannot use RestoreTableFromClusterSnapshot to restore a table with the same name as an existing table in an Amazon Redshift cluster. That is, you cannot overwrite an existing table in a cluster with a restored table. If you want to replace your original table with a new, restored table, then rename or drop your original table before you call RestoreTableFromClusterSnapshot. When you have renamed your original table, then you can pass the original name of the table as the NewTableName parameter value in the call to RestoreTableFromClusterSnapshot. This way, you can replace the original table with the table created from the snapshot.

", "ResumeCluster": "

Resumes a paused cluster.

", "RevokeClusterSecurityGroupIngress": "

Revokes an ingress rule in an Amazon Redshift security group for a previously authorized IP range or Amazon EC2 security group. To add an ingress rule, see AuthorizeClusterSecurityGroupIngress. For information about managing security groups, go to Amazon Redshift Cluster Security Groups in the Amazon Redshift Cluster Management Guide.

", + "RevokeEndpointAccess": "

Revokes access to a cluster.

", "RevokeSnapshotAccess": "

Removes the ability of the specified AWS customer account to restore the specified snapshot. If the account is currently restoring the snapshot, the restore will run to completion.

For more information about working with snapshots, go to Amazon Redshift Snapshots in the Amazon Redshift Cluster Management Guide.

", "RotateEncryptionKey": "

Rotates the encryption keys for a cluster.

" }, @@ -106,6 +113,11 @@ "refs": { } }, + "AccessToClusterDeniedFault": { + "base": "

You are not authorized to access the cluster.

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

The owner of the specified snapshot has not authorized your account to access the snapshot.

", "refs": { @@ -185,6 +197,12 @@ "refs": { } }, + "AuthorizationStatus": { + "base": null, + "refs": { + "EndpointAuthorization$Status": "

The status of the authorization action.

" + } + }, "AuthorizeClusterSecurityGroupIngressMessage": { "base": "

", "refs": { @@ -195,6 +213,11 @@ "refs": { } }, + "AuthorizeEndpointAccessMessage": { + "base": null, + "refs": { + } + }, "AuthorizeSnapshotAccessMessage": { "base": "

", "refs": { @@ -269,6 +292,7 @@ "Cluster$Encrypted": "

A boolean value that, if true, indicates that data in the cluster is encrypted at rest.

", "Cluster$EnhancedVpcRouting": "

An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.

If this option is true, enhanced VPC routing is enabled.

Default: false

", "DeleteClusterMessage$SkipFinalClusterSnapshot": "

Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true, a final cluster snapshot is not created. If false, a final cluster snapshot is created before the cluster is deleted.

The FinalClusterSnapshotIdentifier parameter must be specified if SkipFinalClusterSnapshot is false.

Default: false

", + "EndpointAuthorization$AllowedAllVPCs": "

Indicates whether all VPCs in the grantee account are allowed access to the cluster.

", "EventSubscription$Enabled": "

A boolean value indicating whether the subscription is enabled; true indicates that the subscription is enabled.

", "LoggingStatus$LoggingEnabled": "

true if logging is on, false if logging is off.

", "ModifyClusterSnapshotMessage$Force": "

A Boolean option to override an exception if the retention period has already passed.

", @@ -276,6 +300,7 @@ "Parameter$IsModifiable": "

If true, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed.

", "ResetClusterParameterGroupMessage$ResetAllParameters": "

If true, all parameters in the specified parameter group will be reset to their default values.

Default: true

", "ResizeInfo$AllowCancelResize": "

A boolean value indicating if the resize operation can be cancelled.

", + "RevokeEndpointAccessMessage$Force": "

Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.

", "Snapshot$Encrypted": "

If true, the data in the snapshot is encrypted at rest.

", "Snapshot$EncryptedWithHSM": "

A boolean that indicates whether the snapshot data is encrypted using the HSM keys of the source cluster. true indicates that the data is encrypted using HSM keys.

", "Snapshot$EnhancedVpcRouting": "

An option that specifies whether to create the cluster with enhanced VPC routing enabled. To create a cluster that uses enhanced VPC routing, the cluster must be in a VPC. For more information, see Enhanced VPC Routing in the Amazon Redshift Cluster Management Guide.

If this option is true, enhanced VPC routing is enabled.

Default: false

" @@ -293,6 +318,7 @@ "CreateScheduledActionMessage$Enable": "

If true, the schedule is enabled. If false, the scheduled action does not trigger. For more information about state of the scheduled action, see ScheduledAction.

", "CreateSnapshotScheduleMessage$DryRun": "

", "DescribeClusterSnapshotsMessage$ClusterExists": "

A value that indicates whether to return snapshots only for an existing cluster. You can perform table-level restore only by using a snapshot of an existing cluster, that is, a cluster that has not been deleted. Values for this parameter work as follows:

  • If ClusterExists is set to true, ClusterIdentifier is required.

  • If ClusterExists is set to false and ClusterIdentifier isn't specified, all snapshots associated with deleted clusters (orphaned snapshots) are returned.

  • If ClusterExists is set to false and ClusterIdentifier is specified for a deleted cluster, snapshots associated with that cluster are returned.

  • If ClusterExists is set to false and ClusterIdentifier is specified for an existing cluster, no snapshots are returned.

", + "DescribeEndpointAuthorizationMessage$Grantee": "

Indicates whether to check authorization from a grantor or grantee point of view. If true, Amazon Redshift returns endpoint authorizations that you've been granted. If false (default), checks authorization from a grantor point of view.

", "DescribeScheduledActionsMessage$Active": "

If true, retrieve only active scheduled actions. If false, retrieve only disabled scheduled actions.

", "GetClusterCredentialsMessage$AutoCreate": "

Create a database user with the name specified for the user named in DbUser if one does not exist.

", "ModifyClusterMaintenanceMessage$DeferMaintenance": "

A boolean indicating whether to enable the deferred maintenance window.

", @@ -685,6 +711,11 @@ "refs": { } }, + "CreateEndpointAccessMessage": { + "base": null, + "refs": { + } + }, "CreateEventSubscriptionMessage": { "base": "

", "refs": { @@ -822,6 +853,11 @@ "refs": { } }, + "DeleteEndpointAccessMessage": { + "base": null, + "refs": { + } + }, "DeleteEventSubscriptionMessage": { "base": "

", "refs": { @@ -932,6 +968,16 @@ "refs": { } }, + "DescribeEndpointAccessMessage": { + "base": null, + "refs": { + } + }, + "DescribeEndpointAuthorizationMessage": { + "base": null, + "refs": { + } + }, "DescribeEventCategoriesMessage": { "base": "

", "refs": { @@ -1108,6 +1154,75 @@ "Cluster$Endpoint": "

The connection endpoint.

" } }, + "EndpointAccess": { + "base": "

Describes a Redshift-managed VPC endpoint.

", + "refs": { + "EndpointAccesses$member": null + } + }, + "EndpointAccessList": { + "base": null, + "refs": { + } + }, + "EndpointAccesses": { + "base": null, + "refs": { + "EndpointAccessList$EndpointAccessList": "

The list of endpoints with access to the cluster.

" + } + }, + "EndpointAlreadyExistsFault": { + "base": "

The account already has a Redshift-managed VPC endpoint with the given identifier.

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

Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts.

", + "refs": { + "EndpointAuthorizations$member": null + } + }, + "EndpointAuthorizationAlreadyExistsFault": { + "base": "

The authorization already exists for this endpoint.

", + "refs": { + } + }, + "EndpointAuthorizationList": { + "base": null, + "refs": { + } + }, + "EndpointAuthorizationNotFoundFault": { + "base": "

The authorization for this endpoint can't be found.

", + "refs": { + } + }, + "EndpointAuthorizations": { + "base": null, + "refs": { + "EndpointAuthorizationList$EndpointAuthorizationList": "

The authorizations to an endpoint.

" + } + }, + "EndpointAuthorizationsPerClusterLimitExceededFault": { + "base": "

The number of endpoint authorizations per cluster has exceeded its limit.

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

The endpoint name doesn't refer to an existing endpoint.

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

The number of Redshift-managed VPC endpoints per authorization has exceeded its limit.

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

The number of Redshift-managed VPC endpoints per cluster has exceeded its limit.

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

Describes an event.

", "refs": { @@ -1342,6 +1457,8 @@ "Cluster$NumberOfNodes": "

The number of compute nodes in the cluster.

", "ClusterSnapshotCopyStatus$ManualSnapshotRetentionPeriod": "

The number of days that automated snapshots are retained in the destination region after they are copied from a source region. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

", "Endpoint$Port": "

The port that the database engine is listening on.

", + "EndpointAccess$Port": "

The port number on which the cluster accepts incoming connections.

", + "EndpointAuthorization$EndpointCount": "

The number of Redshift-managed VPC endpoints created for the authorization.

", "ModifySnapshotCopyRetentionPeriodMessage$RetentionPeriod": "

The number of days to retain automated snapshots in the destination AWS Region after they are copied from the source AWS Region.

By default, this only changes the retention period of copied automated snapshots.

If you decrease the retention period for automated snapshots that are copied to a destination AWS Region, Amazon Redshift deletes any existing automated snapshots that were copied to the destination AWS Region and that fall outside of the new retention period.

Constraints: Must be at least 1 and no more than 35 for automated snapshots.

If you specify the manual option, only newly copied manual snapshots will have the new retention period.

If you specify the value of -1 newly copied manual snapshots are retained indefinitely.

Constraints: The number of days must be either -1 or an integer between 1 and 3,653 for manual snapshots.

", "NodeConfigurationOption$NumberOfNodes": "

The number of nodes.

", "ReservedNode$Duration": "

The duration of the node reservation in seconds.

", @@ -1373,6 +1490,8 @@ "DescribeClusterVersionsMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

", "DescribeClustersMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

", "DescribeDefaultClusterParametersMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

", + "DescribeEndpointAccessMessage$MaxRecords": "

Reserved for Amazon Redshift internal use.

", + "DescribeEndpointAuthorizationMessage$MaxRecords": "

Reserved for Amazon Redshift internal use.

", "DescribeEventSubscriptionsMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

", "DescribeEventsMessage$Duration": "

The number of minutes prior to the time of the request for which to retrieve events. For example, if the request is sent at 18:00 and you specify a duration of 60, then only events which have occurred after 17:00 will be returned.

Default: 60

", "DescribeEventsMessage$MaxRecords": "

The maximum number of response records to return in each call. If the number of remaining response records exceeds the specified MaxRecords value, a value is returned in a marker field of the response. You can retrieve the next set of records by retrying the command with the returned marker value.

Default: 100

Constraints: minimum 20, maximum 100.

", @@ -1412,6 +1531,11 @@ "SnapshotSchedule$AssociatedClusterCount": "

The number of clusters associated with the schedule.

" } }, + "InvalidAuthorizationStateFault": { + "base": "

The status of the authorization is not valid.

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

The cluster parameter group action can not be completed because another task is in progress that involves the parameter group. Wait a few moments and try the operation again.

", "refs": { @@ -1457,6 +1581,11 @@ "refs": { } }, + "InvalidEndpointStateFault": { + "base": "

The status of the endpoint is not valid.

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

The specified HSM client certificate is not in the available state, or it is still in use by one or more Amazon Redshift clusters.

", "refs": { @@ -1660,6 +1789,11 @@ "refs": { } }, + "ModifyEndpointAccessMessage": { + "base": null, + "refs": { + } + }, "ModifyEventSubscriptionMessage": { "base": "

", "refs": { @@ -2029,6 +2163,11 @@ "refs": { } }, + "RevokeEndpointAccessMessage": { + "base": null, + "refs": { + } + }, "RevokeSnapshotAccessMessage": { "base": "

", "refs": { @@ -2353,6 +2492,8 @@ "AuthorizeClusterSecurityGroupIngressMessage$CIDRIP": "

The IP range to be added the Amazon Redshift security group.

", "AuthorizeClusterSecurityGroupIngressMessage$EC2SecurityGroupName": "

The EC2 security group to be added the Amazon Redshift security group.

", "AuthorizeClusterSecurityGroupIngressMessage$EC2SecurityGroupOwnerId": "

The AWS account number of the owner of the security group specified by the EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable value.

Example: 111122223333

", + "AuthorizeEndpointAccessMessage$ClusterIdentifier": "

The cluster identifier of the cluster to grant access to.

", + "AuthorizeEndpointAccessMessage$Account": "

The AWS account ID to grant access to.

", "AuthorizeSnapshotAccessMessage$SnapshotIdentifier": "

The identifier of the snapshot the account is authorized to restore.

", "AuthorizeSnapshotAccessMessage$SnapshotClusterIdentifier": "

The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

", "AuthorizeSnapshotAccessMessage$AccountWithRestoreAccess": "

The identifier of the AWS customer account authorized to restore the specified snapshot.

To share a snapshot with AWS support, specify amazon-redshift-support.

", @@ -2449,6 +2590,10 @@ "CreateClusterSnapshotMessage$ClusterIdentifier": "

The cluster identifier for which you want a snapshot.

", "CreateClusterSubnetGroupMessage$ClusterSubnetGroupName": "

The name for the subnet group. Amazon Redshift stores the value as a lowercase string.

Constraints:

  • Must contain no more than 255 alphanumeric characters or hyphens.

  • Must not be \"Default\".

  • Must be unique for all subnet groups that are created by your AWS account.

Example: examplesubnetgroup

", "CreateClusterSubnetGroupMessage$Description": "

A description for the subnet group.

", + "CreateEndpointAccessMessage$ClusterIdentifier": "

The cluster identifier of the cluster to access.

", + "CreateEndpointAccessMessage$ResourceOwner": "

The AWS account ID of the owner of the cluster. This is only required if the cluster is in another AWS account.

", + "CreateEndpointAccessMessage$EndpointName": "

The Redshift-managed VPC endpoint name.

An endpoint name must contain 1-30 characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't contain two consecutive hyphens or end with a hyphen.

", + "CreateEndpointAccessMessage$SubnetGroupName": "

The subnet group from which Amazon Redshift chooses the subnet to deploy the endpoint.

", "CreateEventSubscriptionMessage$SubscriptionName": "

The name of the event subscription to be created.

Constraints:

  • Cannot be null, empty, or blank.

  • Must contain from 1 to 255 alphanumeric characters or hyphens.

  • First character must be a letter.

  • Cannot end with a hyphen or contain two consecutive hyphens.

", "CreateEventSubscriptionMessage$SnsTopicArn": "

The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the event notifications. The ARN is created by Amazon SNS when you create a topic and subscribe to it.

", "CreateEventSubscriptionMessage$SourceType": "

The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your AWS account. You must specify a source type in order to specify source IDs.

Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.

", @@ -2482,6 +2627,7 @@ "DeleteClusterSnapshotMessage$SnapshotIdentifier": "

The unique identifier of the manual snapshot to be deleted.

Constraints: Must be the name of an existing snapshot that is in the available, failed, or cancelled state.

", "DeleteClusterSnapshotMessage$SnapshotClusterIdentifier": "

The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

Constraints: Must be the name of valid cluster.

", "DeleteClusterSubnetGroupMessage$ClusterSubnetGroupName": "

The name of the cluster subnet group name to be deleted.

", + "DeleteEndpointAccessMessage$EndpointName": "

The Redshift-managed VPC endpoint to delete.

", "DeleteEventSubscriptionMessage$SubscriptionName": "

The name of the Amazon Redshift event notification subscription to be deleted.

", "DeleteHsmClientCertificateMessage$HsmClientCertificateIdentifier": "

The identifier of the HSM client certificate to be deleted.

", "DeleteHsmConfigurationMessage$HsmConfigurationIdentifier": "

The identifier of the Amazon Redshift HSM configuration to be deleted.

", @@ -2515,6 +2661,14 @@ "DescribeClustersMessage$Marker": "

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeClusters request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

Constraints: You can specify either the ClusterIdentifier parameter or the Marker parameter, but not both.

", "DescribeDefaultClusterParametersMessage$ParameterGroupFamily": "

The name of the cluster parameter group family.

", "DescribeDefaultClusterParametersMessage$Marker": "

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeDefaultClusterParameters request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

", + "DescribeEndpointAccessMessage$ClusterIdentifier": "

The cluster identifier associated with the described endpoint.

", + "DescribeEndpointAccessMessage$ResourceOwner": "

The AWS account ID of the owner of the cluster.

", + "DescribeEndpointAccessMessage$EndpointName": "

The name of the endpoint to be described.

", + "DescribeEndpointAccessMessage$VpcId": "

The virtual private cloud (VPC) identifier with access to the cluster.

", + "DescribeEndpointAccessMessage$Marker": "

Reserved for Amazon Redshift internal use.

", + "DescribeEndpointAuthorizationMessage$ClusterIdentifier": "

The cluster identifier of the cluster to access.

", + "DescribeEndpointAuthorizationMessage$Account": "

The AWS account ID of either the cluster owner (grantor) or grantee. If Grantee parameter is true, then the Account value is of the grantor.

", + "DescribeEndpointAuthorizationMessage$Marker": "

Reserved for Amazon Redshift internal use.

", "DescribeEventCategoriesMessage$SourceType": "

The source type, such as cluster or parameter group, to which the described event categories apply.

Valid values: cluster, cluster-snapshot, cluster-parameter-group, cluster-security-group, and scheduled-action.

", "DescribeEventSubscriptionsMessage$SubscriptionName": "

The name of the Amazon Redshift event notification subscription to be described.

", "DescribeEventSubscriptionsMessage$Marker": "

An optional parameter that specifies the starting point to return a set of response records. When the results of a DescribeEventSubscriptions request exceed the value specified in MaxRecords, AWS returns a value in the Marker field of the response. You can retrieve the next set of response records by providing the returned marker value in the Marker parameter and retrying the request.

", @@ -2568,6 +2722,18 @@ "EnableSnapshotCopyMessage$DestinationRegion": "

The destination AWS Region that you want to copy snapshots to.

Constraints: Must be the name of a valid AWS Region. For more information, see Regions and Endpoints in the Amazon Web Services General Reference.

", "EnableSnapshotCopyMessage$SnapshotCopyGrantName": "

The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.

", "Endpoint$Address": "

The DNS address of the Cluster.

", + "EndpointAccess$ClusterIdentifier": "

The cluster identifier of the cluster associated with the endpoint.

", + "EndpointAccess$ResourceOwner": "

The AWS account ID of the owner of the cluster.

", + "EndpointAccess$SubnetGroupName": "

The subnet group name where Amazon Redshift chooses to deploy the endpoint.

", + "EndpointAccess$EndpointStatus": "

The status of the endpoint.

", + "EndpointAccess$EndpointName": "

The name of the endpoint.

", + "EndpointAccess$Address": "

The DNS address of the endpoint.

", + "EndpointAccessList$Marker": "

Reserved for Amazon Redshift internal use.

", + "EndpointAuthorization$Grantor": "

The AWS account ID of the cluster owner.

", + "EndpointAuthorization$Grantee": "

The AWS account ID of the grantee of the cluster.

", + "EndpointAuthorization$ClusterIdentifier": "

The cluster identifier.

", + "EndpointAuthorization$ClusterStatus": "

The status of the cluster.

", + "EndpointAuthorizationList$Marker": "

Reserved for Amazon Redshift internal use.

", "Event$SourceIdentifier": "

The identifier for the source of the event.

", "Event$Message": "

The text of this event.

", "Event$Severity": "

The severity of the event.

Values: ERROR, INFO

", @@ -2638,6 +2804,7 @@ "ModifyClusterSnapshotScheduleMessage$ScheduleIdentifier": "

A unique alphanumeric identifier for the schedule that you want to associate with the cluster.

", "ModifyClusterSubnetGroupMessage$ClusterSubnetGroupName": "

The name of the subnet group to be modified.

", "ModifyClusterSubnetGroupMessage$Description": "

A text description of the subnet group to be modified.

", + "ModifyEndpointAccessMessage$EndpointName": "

The endpoint to be modified.

", "ModifyEventSubscriptionMessage$SubscriptionName": "

The name of the modified Amazon Redshift event notification subscription.

", "ModifyEventSubscriptionMessage$SnsTopicArn": "

The Amazon Resource Name (ARN) of the SNS topic to be used by the event notification subscription.

", "ModifyEventSubscriptionMessage$SourceType": "

The type of source that will be generating the events. For example, if you want to be notified of events generated by a cluster, you would set this parameter to cluster. If this value is not specified, events are returned for all Amazon Redshift objects in your AWS account. You must specify a source type in order to specify source IDs.

Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, and scheduled-action.

", @@ -2734,6 +2901,8 @@ "RevokeClusterSecurityGroupIngressMessage$CIDRIP": "

The IP range for which to revoke access. This range must be a valid Classless Inter-Domain Routing (CIDR) block of IP addresses. If CIDRIP is specified, EC2SecurityGroupName and EC2SecurityGroupOwnerId cannot be provided.

", "RevokeClusterSecurityGroupIngressMessage$EC2SecurityGroupName": "

The name of the EC2 Security Group whose access is to be revoked. If EC2SecurityGroupName is specified, EC2SecurityGroupOwnerId must also be provided and CIDRIP cannot be provided.

", "RevokeClusterSecurityGroupIngressMessage$EC2SecurityGroupOwnerId": "

The AWS account number of the owner of the security group specified in the EC2SecurityGroupName parameter. The AWS access key ID is not an acceptable value. If EC2SecurityGroupOwnerId is specified, EC2SecurityGroupName must also be provided. and CIDRIP cannot be provided.

Example: 111122223333

", + "RevokeEndpointAccessMessage$ClusterIdentifier": "

The cluster to revoke access from.

", + "RevokeEndpointAccessMessage$Account": "

The AWS account ID whose access is to be revoked.

", "RevokeSnapshotAccessMessage$SnapshotIdentifier": "

The identifier of the snapshot that the account can no longer access.

", "RevokeSnapshotAccessMessage$SnapshotClusterIdentifier": "

The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

", "RevokeSnapshotAccessMessage$AccountWithRestoreAccess": "

The identifier of the AWS customer account that can no longer restore the specified snapshot.

", @@ -2803,6 +2972,7 @@ "ValueStringList$member": null, "VpcEndpoint$VpcEndpointId": "

The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.

", "VpcEndpoint$VpcId": "

The VPC identifier that the endpoint is associated.

", + "VpcIdentifierList$member": null, "VpcSecurityGroupIdList$member": null, "VpcSecurityGroupMembership$VpcSecurityGroupId": "

The identifier of the VPC security group.

", "VpcSecurityGroupMembership$Status": "

The status of the VPC security group.

" @@ -2899,6 +3069,8 @@ "DescribeEventsMessage$EndTime": "

The end of the time interval for which to retrieve events, specified in ISO 8601 format. For more information about ISO 8601, go to the ISO8601 Wikipedia page.

Example: 2009-07-08T18:00Z

", "DescribeScheduledActionsMessage$StartTime": "

The start time in UTC of the scheduled actions to retrieve. Only active scheduled actions that have invocations after this time are retrieved.

", "DescribeScheduledActionsMessage$EndTime": "

The end time in UTC of the scheduled action to retrieve. Only active scheduled actions that have invocations before this time are retrieved.

", + "EndpointAccess$EndpointCreateTime": "

The time (UTC) that the endpoint was created.

", + "EndpointAuthorization$AuthorizeTime": "

The time (UTC) when the authorization was created.

", "Event$Date": "

The date and time of the event.

", "EventSubscription$SubscriptionCreationTime": "

The date and time the Amazon Redshift event notification subscription was created.

", "LoggingStatus$LastSuccessfulDeliveryTime": "

The last time that logs were delivered.

", @@ -3149,8 +3321,9 @@ } }, "VpcEndpoint": { - "base": "

The connection endpoint for connecting an Amazon Redshift cluster through the proxy.

", + "base": "

The connection endpoint for connecting to an Amazon Redshift cluster through the proxy.

", "refs": { + "EndpointAccess$VpcEndpoint": null, "VpcEndpointsList$member": null } }, @@ -3160,11 +3333,21 @@ "Endpoint$VpcEndpoints": "

Describes a connection endpoint.

" } }, + "VpcIdentifierList": { + "base": null, + "refs": { + "AuthorizeEndpointAccessMessage$VpcIds": "

The virtual private cloud (VPC) identifiers to grant access to.

", + "EndpointAuthorization$AllowedVPCs": "

The VPCs allowed access to the cluster.

", + "RevokeEndpointAccessMessage$VpcIds": "

The virtual private cloud (VPC) identifiers for which access is to be revoked.

" + } + }, "VpcSecurityGroupIdList": { "base": null, "refs": { "CreateClusterMessage$VpcSecurityGroupIds": "

A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.

Default: The default VPC security group is associated with the cluster.

", + "CreateEndpointAccessMessage$VpcSecurityGroupIds": "

The security group that defines the ports, protocols, and sources for inbound traffic that you are authorizing into your endpoint.

", "ModifyClusterMessage$VpcSecurityGroupIds": "

A list of virtual private cloud (VPC) security groups to be associated with the cluster. This change is asynchronously applied as soon as possible.

", + "ModifyEndpointAccessMessage$VpcSecurityGroupIds": "

The complete list of VPC security groups associated with the endpoint after the endpoint is modified.

", "RestoreFromClusterSnapshotMessage$VpcSecurityGroupIds": "

A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster.

Default: The default VPC security group is associated with the cluster.

VPC security groups only apply to clusters in VPCs.

" } }, @@ -3177,7 +3360,8 @@ "VpcSecurityGroupMembershipList": { "base": null, "refs": { - "Cluster$VpcSecurityGroups": "

A list of Amazon Virtual Private Cloud (Amazon VPC) security groups that are associated with the cluster. This parameter is returned only if the cluster is in a VPC.

" + "Cluster$VpcSecurityGroups": "

A list of Amazon Virtual Private Cloud (Amazon VPC) security groups that are associated with the cluster. This parameter is returned only if the cluster is in a VPC.

", + "EndpointAccess$VpcSecurityGroups": "

The security groups associated with the endpoint.

" } } } diff --git a/models/apis/transcribe/2017-10-26/api-2.json b/models/apis/transcribe/2017-10-26/api-2.json index 1e0da404786..95caf98daf4 100644 --- a/models/apis/transcribe/2017-10-26/api-2.json +++ b/models/apis/transcribe/2017-10-26/api-2.json @@ -424,7 +424,13 @@ "Boolean":{"type":"boolean"}, "CLMLanguageCode":{ "type":"string", - "enum":["en-US"] + "enum":[ + "en-US", + "hi-IN", + "es-US", + "en-GB", + "en-AU" + ] }, "ConflictException":{ "type":"structure", diff --git a/models/apis/workmail/2017-10-01/api-2.json b/models/apis/workmail/2017-10-01/api-2.json index 9ba3c0bca86..80a1999f669 100644 --- a/models/apis/workmail/2017-10-01/api-2.json +++ b/models/apis/workmail/2017-10-01/api-2.json @@ -106,6 +106,21 @@ ], "idempotent":true }, + "CreateMobileDeviceAccessRule":{ + "name":"CreateMobileDeviceAccessRule", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateMobileDeviceAccessRuleRequest"}, + "output":{"shape":"CreateMobileDeviceAccessRuleResponse"}, + "errors":[ + {"shape":"InvalidParameterException"}, + {"shape":"LimitExceededException"}, + {"shape":"OrganizationNotFoundException"}, + {"shape":"OrganizationStateException"} + ] + }, "CreateOrganization":{ "name":"CreateOrganization", "http":{ @@ -229,6 +244,20 @@ ], "idempotent":true }, + "DeleteMobileDeviceAccessRule":{ + "name":"DeleteMobileDeviceAccessRule", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteMobileDeviceAccessRuleRequest"}, + "output":{"shape":"DeleteMobileDeviceAccessRuleResponse"}, + "errors":[ + {"shape":"InvalidParameterException"}, + {"shape":"OrganizationNotFoundException"}, + {"shape":"OrganizationStateException"} + ] + }, "DeleteOrganization":{ "name":"DeleteOrganization", "http":{ @@ -472,6 +501,20 @@ ], "idempotent":true }, + "GetMobileDeviceAccessEffect":{ + "name":"GetMobileDeviceAccessEffect", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetMobileDeviceAccessEffectRequest"}, + "output":{"shape":"GetMobileDeviceAccessEffectResponse"}, + "errors":[ + {"shape":"InvalidParameterException"}, + {"shape":"OrganizationNotFoundException"}, + {"shape":"OrganizationStateException"} + ] + }, "ListAccessControlRules":{ "name":"ListAccessControlRules", "http":{ @@ -566,6 +609,20 @@ ], "idempotent":true }, + "ListMobileDeviceAccessRules":{ + "name":"ListMobileDeviceAccessRules", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListMobileDeviceAccessRulesRequest"}, + "output":{"shape":"ListMobileDeviceAccessRulesResponse"}, + "errors":[ + {"shape":"InvalidParameterException"}, + {"shape":"OrganizationNotFoundException"}, + {"shape":"OrganizationStateException"} + ] + }, "ListOrganizations":{ "name":"ListOrganizations", "http":{ @@ -791,6 +848,21 @@ ], "idempotent":true }, + "UpdateMobileDeviceAccessRule":{ + "name":"UpdateMobileDeviceAccessRule", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"UpdateMobileDeviceAccessRuleRequest"}, + "output":{"shape":"UpdateMobileDeviceAccessRuleResponse"}, + "errors":[ + {"shape":"InvalidParameterException"}, + {"shape":"EntityNotFoundException"}, + {"shape":"OrganizationNotFoundException"}, + {"shape":"OrganizationStateException"} + ] + }, "UpdatePrimaryEmailAddress":{ "name":"UpdatePrimaryEmailAddress", "http":{ @@ -1008,6 +1080,38 @@ "GroupId":{"shape":"WorkMailIdentifier"} } }, + "CreateMobileDeviceAccessRuleRequest":{ + "type":"structure", + "required":[ + "OrganizationId", + "Name", + "Effect" + ], + "members":{ + "OrganizationId":{"shape":"OrganizationId"}, + "ClientToken":{ + "shape":"IdempotencyClientToken", + "idempotencyToken":true + }, + "Name":{"shape":"MobileDeviceAccessRuleName"}, + "Description":{"shape":"MobileDeviceAccessRuleDescription"}, + "Effect":{"shape":"MobileDeviceAccessRuleEffect"}, + "DeviceTypes":{"shape":"DeviceTypeList"}, + "NotDeviceTypes":{"shape":"DeviceTypeList"}, + "DeviceModels":{"shape":"DeviceModelList"}, + "NotDeviceModels":{"shape":"DeviceModelList"}, + "DeviceOperatingSystems":{"shape":"DeviceOperatingSystemList"}, + "NotDeviceOperatingSystems":{"shape":"DeviceOperatingSystemList"}, + "DeviceUserAgents":{"shape":"DeviceUserAgentList"}, + "NotDeviceUserAgents":{"shape":"DeviceUserAgentList"} + } + }, + "CreateMobileDeviceAccessRuleResponse":{ + "type":"structure", + "members":{ + "MobileDeviceAccessRuleId":{"shape":"MobileDeviceAccessRuleId"} + } + }, "CreateOrganizationRequest":{ "type":"structure", "required":["Alias"], @@ -1148,6 +1252,22 @@ "members":{ } }, + "DeleteMobileDeviceAccessRuleRequest":{ + "type":"structure", + "required":[ + "OrganizationId", + "MobileDeviceAccessRuleId" + ], + "members":{ + "OrganizationId":{"shape":"OrganizationId"}, + "MobileDeviceAccessRuleId":{"shape":"MobileDeviceAccessRuleId"} + } + }, + "DeleteMobileDeviceAccessRuleResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteOrganizationRequest":{ "type":"structure", "required":[ @@ -1359,6 +1479,54 @@ "min":0, "pattern":"[\\S\\s]*" }, + "DeviceModel":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[\\u0020-\\u00FF]+" + }, + "DeviceModelList":{ + "type":"list", + "member":{"shape":"DeviceModel"}, + "max":10, + "min":1 + }, + "DeviceOperatingSystem":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[\\u0020-\\u00FF]+" + }, + "DeviceOperatingSystemList":{ + "type":"list", + "member":{"shape":"DeviceOperatingSystem"}, + "max":10, + "min":1 + }, + "DeviceType":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[\\u0020-\\u00FF]+" + }, + "DeviceTypeList":{ + "type":"list", + "member":{"shape":"DeviceType"}, + "max":10, + "min":1 + }, + "DeviceUserAgent":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[\\u0020-\\u00FF]+" + }, + "DeviceUserAgentList":{ + "type":"list", + "member":{"shape":"DeviceUserAgent"}, + "max":10, + "min":1 + }, "DirectoryId":{ "type":"string", "max":12, @@ -1565,6 +1733,24 @@ "MailboxSize":{"shape":"MailboxSize"} } }, + "GetMobileDeviceAccessEffectRequest":{ + "type":"structure", + "required":["OrganizationId"], + "members":{ + "OrganizationId":{"shape":"OrganizationId"}, + "DeviceType":{"shape":"DeviceType"}, + "DeviceModel":{"shape":"DeviceModel"}, + "DeviceOperatingSystem":{"shape":"DeviceOperatingSystem"}, + "DeviceUserAgent":{"shape":"DeviceUserAgent"} + } + }, + "GetMobileDeviceAccessEffectResponse":{ + "type":"structure", + "members":{ + "Effect":{"shape":"MobileDeviceAccessRuleEffect"}, + "MatchedRules":{"shape":"MobileDeviceAccessMatchedRuleList"} + } + }, "Group":{ "type":"structure", "members":{ @@ -1759,6 +1945,19 @@ "NextToken":{"shape":"NextToken"} } }, + "ListMobileDeviceAccessRulesRequest":{ + "type":"structure", + "required":["OrganizationId"], + "members":{ + "OrganizationId":{"shape":"OrganizationId"} + } + }, + "ListMobileDeviceAccessRulesResponse":{ + "type":"structure", + "members":{ + "Rules":{"shape":"MobileDeviceAccessRulesList"} + } + }, "ListOrganizationsRequest":{ "type":"structure", "members":{ @@ -1924,6 +2123,69 @@ "type":"list", "member":{"shape":"Member"} }, + "MobileDeviceAccessMatchedRule":{ + "type":"structure", + "members":{ + "MobileDeviceAccessRuleId":{"shape":"MobileDeviceAccessRuleId"}, + "Name":{"shape":"MobileDeviceAccessRuleName"} + } + }, + "MobileDeviceAccessMatchedRuleList":{ + "type":"list", + "member":{"shape":"MobileDeviceAccessMatchedRule"}, + "max":10, + "min":0 + }, + "MobileDeviceAccessRule":{ + "type":"structure", + "members":{ + "MobileDeviceAccessRuleId":{"shape":"MobileDeviceAccessRuleId"}, + "Name":{"shape":"MobileDeviceAccessRuleName"}, + "Description":{"shape":"MobileDeviceAccessRuleDescription"}, + "Effect":{"shape":"MobileDeviceAccessRuleEffect"}, + "DeviceTypes":{"shape":"DeviceTypeList"}, + "NotDeviceTypes":{"shape":"DeviceTypeList"}, + "DeviceModels":{"shape":"DeviceModelList"}, + "NotDeviceModels":{"shape":"DeviceModelList"}, + "DeviceOperatingSystems":{"shape":"DeviceOperatingSystemList"}, + "NotDeviceOperatingSystems":{"shape":"DeviceOperatingSystemList"}, + "DeviceUserAgents":{"shape":"DeviceUserAgentList"}, + "NotDeviceUserAgents":{"shape":"DeviceUserAgentList"}, + "DateCreated":{"shape":"Timestamp"}, + "DateModified":{"shape":"Timestamp"} + } + }, + "MobileDeviceAccessRuleDescription":{ + "type":"string", + "max":256, + "min":1, + "pattern":"[\\S\\s]+" + }, + "MobileDeviceAccessRuleEffect":{ + "type":"string", + "enum":[ + "ALLOW", + "DENY" + ] + }, + "MobileDeviceAccessRuleId":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[a-zA-Z0-9_-]+" + }, + "MobileDeviceAccessRuleName":{ + "type":"string", + "max":64, + "min":1, + "pattern":"[\\S\\s]+" + }, + "MobileDeviceAccessRulesList":{ + "type":"list", + "member":{"shape":"MobileDeviceAccessRule"}, + "max":10, + "min":0 + }, "NameAvailabilityException":{ "type":"structure", "members":{ @@ -2348,6 +2610,35 @@ "members":{ } }, + "UpdateMobileDeviceAccessRuleRequest":{ + "type":"structure", + "required":[ + "OrganizationId", + "MobileDeviceAccessRuleId", + "Name", + "Effect" + ], + "members":{ + "OrganizationId":{"shape":"OrganizationId"}, + "MobileDeviceAccessRuleId":{"shape":"MobileDeviceAccessRuleId"}, + "Name":{"shape":"MobileDeviceAccessRuleName"}, + "Description":{"shape":"MobileDeviceAccessRuleDescription"}, + "Effect":{"shape":"MobileDeviceAccessRuleEffect"}, + "DeviceTypes":{"shape":"DeviceTypeList"}, + "NotDeviceTypes":{"shape":"DeviceTypeList"}, + "DeviceModels":{"shape":"DeviceModelList"}, + "NotDeviceModels":{"shape":"DeviceModelList"}, + "DeviceOperatingSystems":{"shape":"DeviceOperatingSystemList"}, + "NotDeviceOperatingSystems":{"shape":"DeviceOperatingSystemList"}, + "DeviceUserAgents":{"shape":"DeviceUserAgentList"}, + "NotDeviceUserAgents":{"shape":"DeviceUserAgentList"} + } + }, + "UpdateMobileDeviceAccessRuleResponse":{ + "type":"structure", + "members":{ + } + }, "UpdatePrimaryEmailAddressRequest":{ "type":"structure", "required":[ diff --git a/models/apis/workmail/2017-10-01/docs-2.json b/models/apis/workmail/2017-10-01/docs-2.json index 83d1bff20dd..9f884a1c8e8 100644 --- a/models/apis/workmail/2017-10-01/docs-2.json +++ b/models/apis/workmail/2017-10-01/docs-2.json @@ -7,6 +7,7 @@ "CancelMailboxExportJob": "

Cancels a mailbox export job.

If the mailbox export job is near completion, it might not be possible to cancel it.

", "CreateAlias": "

Adds an alias to the set of a given member (user or group) of Amazon WorkMail.

", "CreateGroup": "

Creates a group that can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.

", + "CreateMobileDeviceAccessRule": "

Creates a new mobile device access rule for the specified Amazon WorkMail organization.

", "CreateOrganization": "

Creates a new Amazon WorkMail organization. Optionally, you can choose to associate an existing AWS Directory Service directory with your organization. If an AWS Directory Service directory ID is specified, the organization alias must match the directory alias. If you choose not to associate an existing directory with your organization, then we create a new Amazon WorkMail directory for you. For more information, see Adding an organization in the Amazon WorkMail Administrator Guide.

You can associate multiple email domains with an organization, then set your default email domain from the Amazon WorkMail console. You can also associate a domain that is managed in an Amazon Route 53 public hosted zone. For more information, see Adding a domain and Choosing the default domain in the Amazon WorkMail Administrator Guide.

Optionally, you can use a customer managed master key from AWS Key Management Service (AWS KMS) to encrypt email for your organization. If you don't associate an AWS KMS key, Amazon WorkMail creates a default AWS managed master key for you.

", "CreateResource": "

Creates a new Amazon WorkMail resource.

", "CreateUser": "

Creates a user who can be used in Amazon WorkMail by calling the RegisterToWorkMail operation.

", @@ -14,6 +15,7 @@ "DeleteAlias": "

Remove one or more specified aliases from a set of aliases for a given user.

", "DeleteGroup": "

Deletes a group from Amazon WorkMail.

", "DeleteMailboxPermissions": "

Deletes permissions granted to a member (user or group).

", + "DeleteMobileDeviceAccessRule": "

Deletes a mobile device access rule for the specified Amazon WorkMail organization.

", "DeleteOrganization": "

Deletes an Amazon WorkMail organization and all underlying AWS resources managed by Amazon WorkMail as part of the organization. You can choose whether to delete the associated directory. For more information, see Removing an organization in the Amazon WorkMail Administrator Guide.

", "DeleteResource": "

Deletes the specified resource.

", "DeleteRetentionPolicy": "

Deletes the specified retention policy from the specified organization.

", @@ -29,12 +31,14 @@ "GetAccessControlEffect": "

Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, or user ID.

", "GetDefaultRetentionPolicy": "

Gets the default retention policy details for the specified organization.

", "GetMailboxDetails": "

Requests a user's mailbox details for a specified organization and user.

", + "GetMobileDeviceAccessEffect": "

Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the Amazon WorkMail organization for a particular user's attributes.

", "ListAccessControlRules": "

Lists the access control rules for the specified organization.

", "ListAliases": "

Creates a paginated call to list the aliases associated with a given entity.

", "ListGroupMembers": "

Returns an overview of the members of a group. Users and groups can be members of a group.

", "ListGroups": "

Returns summaries of the organization's groups.

", "ListMailboxExportJobs": "

Lists the mailbox export jobs started for the specified organization within the last seven days.

", "ListMailboxPermissions": "

Lists the mailbox permissions associated with a user, group, or resource mailbox.

", + "ListMobileDeviceAccessRules": "

Lists the mobile device access rules for the specified Amazon WorkMail organization.

", "ListOrganizations": "

Returns summaries of the customer's organizations.

", "ListResourceDelegates": "

Lists the delegates associated with a resource. Users and groups can be resource delegates and answer requests on behalf of the resource.

", "ListResources": "

Returns summaries of the organization's resources.

", @@ -49,6 +53,7 @@ "TagResource": "

Applies the specified tags to the specified Amazon WorkMail organization resource.

", "UntagResource": "

Untags the specified tags from the specified Amazon WorkMail organization resource.

", "UpdateMailboxQuota": "

Updates a user's current mailbox quota for a specified organization and user.

", + "UpdateMobileDeviceAccessRule": "

Updates a mobile device access rule for the specified Amazon WorkMail organization.

", "UpdatePrimaryEmailAddress": "

Updates the primary email for a user, group, or resource. The current email is moved into the list of aliases (or swapped between an existing alias and the current primary email), and the email provided in the input is promoted as the primary.

", "UpdateResource": "

Updates data for the resource. To have the latest information, it must be preceded by a DescribeResource call. The dataset in the request should be the one expected when performing another DescribeResource call.

" }, @@ -193,6 +198,16 @@ "refs": { } }, + "CreateMobileDeviceAccessRuleRequest": { + "base": null, + "refs": { + } + }, + "CreateMobileDeviceAccessRuleResponse": { + "base": null, + "refs": { + } + }, "CreateOrganizationRequest": { "base": null, "refs": { @@ -269,6 +284,16 @@ "refs": { } }, + "DeleteMobileDeviceAccessRuleRequest": { + "base": null, + "refs": { + } + }, + "DeleteMobileDeviceAccessRuleResponse": { + "base": null, + "refs": { + } + }, "DeleteOrganizationRequest": { "base": null, "refs": { @@ -377,6 +402,78 @@ "StartMailboxExportJobRequest$Description": "

The mailbox export job description.

" } }, + "DeviceModel": { + "base": null, + "refs": { + "DeviceModelList$member": null, + "GetMobileDeviceAccessEffectRequest$DeviceModel": "

Device model the simulated user will report.

" + } + }, + "DeviceModelList": { + "base": null, + "refs": { + "CreateMobileDeviceAccessRuleRequest$DeviceModels": "

Device models that the rule will match.

", + "CreateMobileDeviceAccessRuleRequest$NotDeviceModels": "

Device models that the rule will not match. All other device models will match.

", + "MobileDeviceAccessRule$DeviceModels": "

Device models that a rule will match.

", + "MobileDeviceAccessRule$NotDeviceModels": "

Device models that a rule will not match. All other device models will match.

", + "UpdateMobileDeviceAccessRuleRequest$DeviceModels": "

Device models that the updated rule will match.

", + "UpdateMobileDeviceAccessRuleRequest$NotDeviceModels": "

Device models that the updated rule will not match. All other device models will match.

" + } + }, + "DeviceOperatingSystem": { + "base": null, + "refs": { + "DeviceOperatingSystemList$member": null, + "GetMobileDeviceAccessEffectRequest$DeviceOperatingSystem": "

Device operating system the simulated user will report.

" + } + }, + "DeviceOperatingSystemList": { + "base": null, + "refs": { + "CreateMobileDeviceAccessRuleRequest$DeviceOperatingSystems": "

Device operating systems that the rule will match.

", + "CreateMobileDeviceAccessRuleRequest$NotDeviceOperatingSystems": "

Device operating systems that the rule will not match. All other device operating systems will match.

", + "MobileDeviceAccessRule$DeviceOperatingSystems": "

Device operating systems that a rule will match.

", + "MobileDeviceAccessRule$NotDeviceOperatingSystems": "

Device operating systems that a rule will not match. All other device types will match.

", + "UpdateMobileDeviceAccessRuleRequest$DeviceOperatingSystems": "

Device operating systems that the updated rule will match.

", + "UpdateMobileDeviceAccessRuleRequest$NotDeviceOperatingSystems": "

Device operating systems that the updated rule will not match. All other device operating systems will match.

" + } + }, + "DeviceType": { + "base": null, + "refs": { + "DeviceTypeList$member": null, + "GetMobileDeviceAccessEffectRequest$DeviceType": "

Device type the simulated user will report.

" + } + }, + "DeviceTypeList": { + "base": null, + "refs": { + "CreateMobileDeviceAccessRuleRequest$DeviceTypes": "

Device types that the rule will match.

", + "CreateMobileDeviceAccessRuleRequest$NotDeviceTypes": "

Device types that the rule will not match. All other device types will match.

", + "MobileDeviceAccessRule$DeviceTypes": "

Device types that a rule will match.

", + "MobileDeviceAccessRule$NotDeviceTypes": "

Device types that a rule will not match. All other device types will match.

", + "UpdateMobileDeviceAccessRuleRequest$DeviceTypes": "

Device types that the updated rule will match.

", + "UpdateMobileDeviceAccessRuleRequest$NotDeviceTypes": "

Device types that the updated rule will not match. All other device types will match.

" + } + }, + "DeviceUserAgent": { + "base": null, + "refs": { + "DeviceUserAgentList$member": null, + "GetMobileDeviceAccessEffectRequest$DeviceUserAgent": "

Device user agent the simulated user will report.

" + } + }, + "DeviceUserAgentList": { + "base": null, + "refs": { + "CreateMobileDeviceAccessRuleRequest$DeviceUserAgents": "

Device user agents that the rule will match.

", + "CreateMobileDeviceAccessRuleRequest$NotDeviceUserAgents": "

Device user agents that the rule will not match. All other device user agents will match.

", + "MobileDeviceAccessRule$DeviceUserAgents": "

Device user agents that a rule will match.

", + "MobileDeviceAccessRule$NotDeviceUserAgents": "

Device user agents that a rule will not match. All other device user agents will match.

", + "UpdateMobileDeviceAccessRuleRequest$DeviceUserAgents": "

User agents that the updated rule will match.

", + "UpdateMobileDeviceAccessRuleRequest$NotDeviceUserAgents": "

User agents that the updated rule will not match. All other user agents will match.

" + } + }, "DirectoryId": { "base": null, "refs": { @@ -534,6 +631,16 @@ "refs": { } }, + "GetMobileDeviceAccessEffectRequest": { + "base": null, + "refs": { + } + }, + "GetMobileDeviceAccessEffectResponse": { + "base": null, + "refs": { + } + }, "Group": { "base": "

The representation of an Amazon WorkMail group.

", "refs": { @@ -564,6 +671,7 @@ "base": null, "refs": { "CancelMailboxExportJobRequest$ClientToken": "

The idempotency token for the client request.

", + "CreateMobileDeviceAccessRuleRequest$ClientToken": "

The idempotency token for the client request.

", "CreateOrganizationRequest$ClientToken": "

The idempotency token associated with the request.

", "DeleteOrganizationRequest$ClientToken": "

The idempotency token associated with the request.

", "StartMailboxExportJobRequest$ClientToken": "

The idempotency token for the client request.

" @@ -684,6 +792,16 @@ "refs": { } }, + "ListMobileDeviceAccessRulesRequest": { + "base": null, + "refs": { + } + }, + "ListMobileDeviceAccessRulesResponse": { + "base": null, + "refs": { + } + }, "ListOrganizationsRequest": { "base": null, "refs": { @@ -819,6 +937,66 @@ "ListGroupMembersResponse$Members": "

The members associated to the group.

" } }, + "MobileDeviceAccessMatchedRule": { + "base": "

The rule that a simulated user matches.

", + "refs": { + "MobileDeviceAccessMatchedRuleList$member": null + } + }, + "MobileDeviceAccessMatchedRuleList": { + "base": null, + "refs": { + "GetMobileDeviceAccessEffectResponse$MatchedRules": "

A list of the rules which matched the simulated user input and produced the effect.

" + } + }, + "MobileDeviceAccessRule": { + "base": "

A rule that controls access to mobile devices for an Amazon WorkMail group.

", + "refs": { + "MobileDeviceAccessRulesList$member": null + } + }, + "MobileDeviceAccessRuleDescription": { + "base": null, + "refs": { + "CreateMobileDeviceAccessRuleRequest$Description": "

The rule description.

", + "MobileDeviceAccessRule$Description": "

The description of a mobile access rule.

", + "UpdateMobileDeviceAccessRuleRequest$Description": "

The updated rule description.

" + } + }, + "MobileDeviceAccessRuleEffect": { + "base": null, + "refs": { + "CreateMobileDeviceAccessRuleRequest$Effect": "

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

", + "GetMobileDeviceAccessEffectResponse$Effect": "

The effect of the simulated access, ALLOW or DENY, after evaluating mobile device access rules in the Amazon WorkMail organization for the simulated user parameters.

", + "MobileDeviceAccessRule$Effect": "

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

", + "UpdateMobileDeviceAccessRuleRequest$Effect": "

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

" + } + }, + "MobileDeviceAccessRuleId": { + "base": null, + "refs": { + "CreateMobileDeviceAccessRuleResponse$MobileDeviceAccessRuleId": "

The identifier for the newly created mobile device access rule.

", + "DeleteMobileDeviceAccessRuleRequest$MobileDeviceAccessRuleId": "

The identifier of the rule to be deleted.

", + "MobileDeviceAccessMatchedRule$MobileDeviceAccessRuleId": "

Identifier of the rule that a simulated user matches.

", + "MobileDeviceAccessRule$MobileDeviceAccessRuleId": "

The ID assigned to a mobile access rule.

", + "UpdateMobileDeviceAccessRuleRequest$MobileDeviceAccessRuleId": "

The identifier of the rule to be updated.

" + } + }, + "MobileDeviceAccessRuleName": { + "base": null, + "refs": { + "CreateMobileDeviceAccessRuleRequest$Name": "

The rule name.

", + "MobileDeviceAccessMatchedRule$Name": "

Name of a rule that a simulated user matches.

", + "MobileDeviceAccessRule$Name": "

The name of a mobile access rule.

", + "UpdateMobileDeviceAccessRuleRequest$Name": "

The updated rule name.

" + } + }, + "MobileDeviceAccessRulesList": { + "base": null, + "refs": { + "ListMobileDeviceAccessRulesResponse$Rules": "

The list of mobile device access rules that exist under the specified Amazon WorkMail organization.

" + } + }, "NameAvailabilityException": { "base": "

The user, group, or resource name isn't unique in Amazon WorkMail.

", "refs": { @@ -855,6 +1033,7 @@ "CancelMailboxExportJobRequest$OrganizationId": "

The organization ID.

", "CreateAliasRequest$OrganizationId": "

The organization under which the member (user or group) exists.

", "CreateGroupRequest$OrganizationId": "

The organization under which the group is to be created.

", + "CreateMobileDeviceAccessRuleRequest$OrganizationId": "

The Amazon WorkMail organization under which the rule will be created.

", "CreateOrganizationResponse$OrganizationId": "

The organization ID.

", "CreateResourceRequest$OrganizationId": "

The identifier associated with the organization for which the resource is created.

", "CreateUserRequest$OrganizationId": "

The identifier of the organization for which the user is created.

", @@ -862,6 +1041,7 @@ "DeleteAliasRequest$OrganizationId": "

The identifier for the organization under which the user exists.

", "DeleteGroupRequest$OrganizationId": "

The organization that contains the group.

", "DeleteMailboxPermissionsRequest$OrganizationId": "

The identifier of the organization under which the member (user or group) exists.

", + "DeleteMobileDeviceAccessRuleRequest$OrganizationId": "

The Amazon WorkMail organization under which the rule will be deleted.

", "DeleteOrganizationRequest$OrganizationId": "

The organization ID.

", "DeleteOrganizationResponse$OrganizationId": "

The organization ID.

", "DeleteResourceRequest$OrganizationId": "

The identifier associated with the organization from which the resource is deleted.

", @@ -879,12 +1059,14 @@ "GetAccessControlEffectRequest$OrganizationId": "

The identifier for the organization.

", "GetDefaultRetentionPolicyRequest$OrganizationId": "

The organization ID.

", "GetMailboxDetailsRequest$OrganizationId": "

The identifier for the organization that contains the user whose mailbox details are being requested.

", + "GetMobileDeviceAccessEffectRequest$OrganizationId": "

The Amazon WorkMail organization to simulate the access effect for.

", "ListAccessControlRulesRequest$OrganizationId": "

The identifier for the organization.

", "ListAliasesRequest$OrganizationId": "

The identifier for the organization under which the entity exists.

", "ListGroupMembersRequest$OrganizationId": "

The identifier for the organization under which the group exists.

", "ListGroupsRequest$OrganizationId": "

The identifier for the organization under which the groups exist.

", "ListMailboxExportJobsRequest$OrganizationId": "

The organization ID.

", "ListMailboxPermissionsRequest$OrganizationId": "

The identifier of the organization under which the user, group, or resource exists.

", + "ListMobileDeviceAccessRulesRequest$OrganizationId": "

The Amazon WorkMail organization for which to list the rules.

", "ListResourceDelegatesRequest$OrganizationId": "

The identifier for the organization that contains the resource for which delegates are listed.

", "ListResourcesRequest$OrganizationId": "

The identifier for the organization under which the resources exist.

", "ListUsersRequest$OrganizationId": "

The identifier for the organization under which the users exist.

", @@ -896,6 +1078,7 @@ "ResetPasswordRequest$OrganizationId": "

The identifier of the organization that contains the user for which the password is reset.

", "StartMailboxExportJobRequest$OrganizationId": "

The identifier associated with the organization.

", "UpdateMailboxQuotaRequest$OrganizationId": "

The identifier for the organization that contains the user for whom to update the mailbox quota.

", + "UpdateMobileDeviceAccessRuleRequest$OrganizationId": "

The Amazon WorkMail organization under which the rule will be updated.

", "UpdatePrimaryEmailAddressRequest$OrganizationId": "

The organization that contains the user, group, or resource to update.

", "UpdateResourceRequest$OrganizationId": "

The identifier associated with the organization for which the resource is updated.

" } @@ -1240,6 +1423,8 @@ "MailboxExportJob$EndTime": "

The mailbox export job end timestamp.

", "Member$EnabledDate": "

The date indicating when the member was enabled for Amazon WorkMail use.

", "Member$DisabledDate": "

The date indicating when the member was disabled from Amazon WorkMail use.

", + "MobileDeviceAccessRule$DateCreated": "

The date and time at which an access rule was created.

", + "MobileDeviceAccessRule$DateModified": "

The date and time at which an access rule was modified.

", "Resource$EnabledDate": "

The date indicating when the resource was enabled for Amazon WorkMail use.

", "Resource$DisabledDate": "

The date indicating when the resource was disabled from Amazon WorkMail use.

", "User$EnabledDate": "

The date indicating when the user was enabled for Amazon WorkMail use.

", @@ -1276,6 +1461,16 @@ "refs": { } }, + "UpdateMobileDeviceAccessRuleRequest": { + "base": null, + "refs": { + } + }, + "UpdateMobileDeviceAccessRuleResponse": { + "base": null, + "refs": { + } + }, "UpdatePrimaryEmailAddressRequest": { "base": null, "refs": { diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 0073433e864..afc2cd0363f 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -6157,9 +6157,7 @@ }, "me-south-1" : { }, "sa-east-1" : { }, - "us-east-1" : { - "sslCommonName" : "queue.{dnsSuffix}" - }, + "us-east-1" : { }, "us-east-2" : { }, "us-west-1" : { }, "us-west-2" : { } @@ -9238,6 +9236,15 @@ } } }, + "servicequotas" : { + "defaults" : { + "protocols" : [ "https" ] + }, + "endpoints" : { + "us-gov-east-1" : { }, + "us-gov-west-1" : { } + } + }, "sms" : { "endpoints" : { "fips-us-gov-east-1" : { diff --git a/service/batch/api.go b/service/batch/api.go index e0a94af1ac4..ec9685df06d 100644 --- a/service/batch/api.go +++ b/service/batch/api.go @@ -3677,6 +3677,16 @@ func (s *ContainerProperties) Validate() error { } } } + if s.Volumes != nil { + for i, v := range s.Volumes { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Volumes", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -4746,9 +4756,150 @@ func (s *Device) SetPermissions(v []*string) *Device { return s } +// The authorization configuration details for the Amazon EFS file system. +type EFSAuthorizationConfig struct { + _ struct{} `type:"structure"` + + // The Amazon EFS access point ID to use. If an access point is specified, the + // root directory value specified in the EFSVolumeConfiguration must either + // be omitted or set to / which will enforce the path set on the EFS access + // point. If an access point is used, transit encryption must be enabled in + // the EFSVolumeConfiguration. For more information, see Working with Amazon + // EFS Access Points (https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html) + // in the Amazon Elastic File System User Guide. + AccessPointId *string `locationName:"accessPointId" type:"string"` + + // Whether or not to use the AWS Batch execution IAM role defined in a job definition + // when mounting the Amazon EFS file system. If enabled, transit encryption + // must be enabled in the EFSVolumeConfiguration. If this parameter is omitted, + // the default value of DISABLED is used. For more information, see Using Amazon + // EFS Access Points (https://docs.aws.amazon.com/batch/latest/ug/efs-volumes.html#efs-volume-accesspoints) + // in the AWS Batch User Guide. EFS IAM authorization requires that TransitEncryption + // be ENABLED and that a JobRoleArn is specified. + Iam *string `locationName:"iam" type:"string" enum:"EFSAuthorizationConfigIAM"` +} + +// String returns the string representation +func (s EFSAuthorizationConfig) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EFSAuthorizationConfig) GoString() string { + return s.String() +} + +// SetAccessPointId sets the AccessPointId field's value. +func (s *EFSAuthorizationConfig) SetAccessPointId(v string) *EFSAuthorizationConfig { + s.AccessPointId = &v + return s +} + +// SetIam sets the Iam field's value. +func (s *EFSAuthorizationConfig) SetIam(v string) *EFSAuthorizationConfig { + s.Iam = &v + return s +} + +// This parameter is specified when you are using an Amazon Elastic File System +// file system for task storage. For more information, see Amazon EFS Volumes +// (https://docs.aws.amazon.com/batch/latest/ug/efs-volumes.html) in the AWS +// Batch User Guide. +type EFSVolumeConfiguration struct { + _ struct{} `type:"structure"` + + // The authorization configuration details for the Amazon EFS file system. + AuthorizationConfig *EFSAuthorizationConfig `locationName:"authorizationConfig" type:"structure"` + + // The Amazon EFS file system ID to use. + // + // FileSystemId is a required field + FileSystemId *string `locationName:"fileSystemId" type:"string" required:"true"` + + // The directory within the Amazon EFS file system to mount as the root directory + // inside the host. If this parameter is omitted, the root of the Amazon EFS + // volume will be used. Specifying / will have the same effect as omitting this + // parameter. + // + // If an EFS access point is specified in the authorizationConfig, the root + // directory parameter must either be omitted or set to / which will enforce + // the path set on the Amazon EFS access point. + RootDirectory *string `locationName:"rootDirectory" type:"string"` + + // Whether or not to enable encryption for Amazon EFS data in transit between + // the Amazon ECS host and the Amazon EFS server. Transit encryption must be + // enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, + // the default value of DISABLED is used. For more information, see Encrypting + // data in transit (https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) + // in the Amazon Elastic File System User Guide. + TransitEncryption *string `locationName:"transitEncryption" type:"string" enum:"EFSTransitEncryption"` + + // The port to use when sending encrypted data between the Amazon ECS host and + // the Amazon EFS server. If you do not specify a transit encryption port, it + // will use the port selection strategy that the Amazon EFS mount helper uses. + // For more information, see EFS Mount Helper (https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) + // in the Amazon Elastic File System User Guide. + TransitEncryptionPort *int64 `locationName:"transitEncryptionPort" type:"integer"` +} + +// String returns the string representation +func (s EFSVolumeConfiguration) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EFSVolumeConfiguration) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *EFSVolumeConfiguration) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "EFSVolumeConfiguration"} + if s.FileSystemId == nil { + invalidParams.Add(request.NewErrParamRequired("FileSystemId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAuthorizationConfig sets the AuthorizationConfig field's value. +func (s *EFSVolumeConfiguration) SetAuthorizationConfig(v *EFSAuthorizationConfig) *EFSVolumeConfiguration { + s.AuthorizationConfig = v + return s +} + +// SetFileSystemId sets the FileSystemId field's value. +func (s *EFSVolumeConfiguration) SetFileSystemId(v string) *EFSVolumeConfiguration { + s.FileSystemId = &v + return s +} + +// SetRootDirectory sets the RootDirectory field's value. +func (s *EFSVolumeConfiguration) SetRootDirectory(v string) *EFSVolumeConfiguration { + s.RootDirectory = &v + return s +} + +// SetTransitEncryption sets the TransitEncryption field's value. +func (s *EFSVolumeConfiguration) SetTransitEncryption(v string) *EFSVolumeConfiguration { + s.TransitEncryption = &v + return s +} + +// SetTransitEncryptionPort sets the TransitEncryptionPort field's value. +func (s *EFSVolumeConfiguration) SetTransitEncryptionPort(v int64) *EFSVolumeConfiguration { + s.TransitEncryptionPort = &v + return s +} + // Provides information used to select Amazon Machine Images (AMIs) for instances -// in the compute environment. If the Ec2Configuration isn't specified, the -// default is ECS_AL1. +// in the compute environment. If Ec2Configuration isn't specified, the default +// is currently ECS_AL1 (Amazon Linux (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami)) +// for non-GPU, non-Graviton instances. Starting on March 31, 2021, this default +// will be changing to ECS_AL2 (Amazon Linux 2 (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami)). // // This object isn't applicable to jobs running on Fargate resources. type Ec2Configuration struct { @@ -4761,7 +4912,8 @@ type Ec2Configuration struct { // The image type to match with the instance type to select an AMI. If the imageIdOverride // parameter isn't specified, then a recent Amazon ECS-optimized AMI (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html) - // is used. + // (ECS_AL1) is used. Starting on March 31, 2021, this default will be changing + // to ECS_AL2 (Amazon Linux 2 (https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami)). // // ECS_AL2 // @@ -5736,6 +5888,13 @@ type LaunchTemplateSpecification struct { // If the value is $Latest, the latest version of the launch template is used. // If the value is $Default, the default version of the launch template is used. // + // After the compute environment is created, the launch template version used + // will not be changed, even if the $Default or $Latest version for the launch + // template is updated. To use a new launch template version, create a new compute + // environment, add the new compute environment to the existing job queue, remove + // the old compute environment from the job queue, and delete the old compute + // environment. + // // Default: $Default. Version *string `locationName:"version" type:"string"` } @@ -7932,6 +8091,10 @@ type UpdateComputeEnvironmentInput struct { // see AWS Batch service IAM role (https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html) // in the AWS Batch User Guide. // + // If the compute environment has a service-linked role, it cannot be changed + // to use a regular IAM role. If the compute environment has a regular IAM role, + // it cannot be changed to use a service-linked role. + // // If your specified role has a path other than /, then you must either specify // the full role ARN (this is recommended) or prefix the role name with the // path. @@ -8170,6 +8333,11 @@ func (s *UpdateJobQueueOutput) SetJobQueueName(v string) *UpdateJobQueueOutput { type Volume struct { _ struct{} `type:"structure"` + // This parameter is specified when you are using an Amazon Elastic File System + // file system for job storage. Jobs running on Fargate resources must specify + // a platformVersion of at least 1.4.0. + EfsVolumeConfiguration *EFSVolumeConfiguration `locationName:"efsVolumeConfiguration" type:"structure"` + // The contents of the host parameter determine whether your data volume persists // on the host container instance and where it is stored. If the host parameter // is empty, then the Docker daemon assigns a host path for your data volume. @@ -8196,6 +8364,27 @@ func (s Volume) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *Volume) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Volume"} + if s.EfsVolumeConfiguration != nil { + if err := s.EfsVolumeConfiguration.Validate(); err != nil { + invalidParams.AddNested("EfsVolumeConfiguration", err.(request.ErrInvalidParams)) + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEfsVolumeConfiguration sets the EfsVolumeConfiguration field's value. +func (s *Volume) SetEfsVolumeConfiguration(v *EFSVolumeConfiguration) *Volume { + s.EfsVolumeConfiguration = v + return s +} + // SetHost sets the Host field's value. func (s *Volume) SetHost(v *Host) *Volume { s.Host = v @@ -8368,6 +8557,38 @@ func DeviceCgroupPermission_Values() []string { } } +const ( + // EFSAuthorizationConfigIAMEnabled is a EFSAuthorizationConfigIAM enum value + EFSAuthorizationConfigIAMEnabled = "ENABLED" + + // EFSAuthorizationConfigIAMDisabled is a EFSAuthorizationConfigIAM enum value + EFSAuthorizationConfigIAMDisabled = "DISABLED" +) + +// EFSAuthorizationConfigIAM_Values returns all elements of the EFSAuthorizationConfigIAM enum +func EFSAuthorizationConfigIAM_Values() []string { + return []string{ + EFSAuthorizationConfigIAMEnabled, + EFSAuthorizationConfigIAMDisabled, + } +} + +const ( + // EFSTransitEncryptionEnabled is a EFSTransitEncryption enum value + EFSTransitEncryptionEnabled = "ENABLED" + + // EFSTransitEncryptionDisabled is a EFSTransitEncryption enum value + EFSTransitEncryptionDisabled = "DISABLED" +) + +// EFSTransitEncryption_Values returns all elements of the EFSTransitEncryption enum +func EFSTransitEncryption_Values() []string { + return []string{ + EFSTransitEncryptionEnabled, + EFSTransitEncryptionDisabled, + } +} + const ( // JQStateEnabled is a JQState enum value JQStateEnabled = "ENABLED" diff --git a/service/cloud9/api.go b/service/cloud9/api.go index df2c680ef50..f0715df23b9 100644 --- a/service/cloud9/api.go +++ b/service/cloud9/api.go @@ -1555,12 +1555,40 @@ type CreateEnvironmentEC2Input struct { // in the Amazon EC2 API Reference. ClientRequestToken *string `locationName:"clientRequestToken" type:"string"` - // The connection type used for connecting to an Amazon EC2 environment. + // The connection type used for connecting to an Amazon EC2 environment. Valid + // values are CONNECT_SSH (default) and CONNECT_SSM (connected through AWS Systems + // Manager). + // + // For more information, see Accessing no-ingress EC2 instances with AWS Systems + // Manager (https://docs.aws.amazon.com/cloud9/latest/user-guide/ec2-ssm.html) + // in the AWS Cloud9 User Guide. ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` // The description of the environment to create. Description *string `locationName:"description" type:"string" sensitive:"true"` + // The identifier for the Amazon Machine Image (AMI) that's used to create the + // EC2 instance. You can specify the AMI for the instance using an AMI alias + // or an AWS Systems Manager (SSM) path. The default AMI is used if the parameter + // isn't explicitly assigned a value in the request. + // + // AMI aliases + // + // * Amazon Linux 2: amazonlinux-2-x86_64 + // + // * Ubuntu 18.04: ubuntu-18.04-x86_64 + // + // * Amazon Linux (default): amazonlinux-1-x86_64 + // + // SSM paths + // + // * Amazon Linux 2: resolve:ssm:/aws/service/cloud9/amis/amazonlinux-2-x86_64 + // + // * Ubuntu 18.04: resolve:ssm:/aws/service/cloud9/amis/ubuntu-18.04-x86_64 + // + // * Amazon Linux (default): resolve:ssm:/aws/service/cloud9/amis/amazonlinux-1-x86_64 + ImageId *string `locationName:"imageId" type:"string"` + // The type of instance to connect to the environment (for example, t2.micro). // // InstanceType is a required field @@ -1580,11 +1608,11 @@ type CreateEnvironmentEC2Input struct { // The ID of the subnet in Amazon VPC that AWS Cloud9 will use to communicate // with the Amazon EC2 instance. - SubnetId *string `locationName:"subnetId" min:"5" type:"string"` + SubnetId *string `locationName:"subnetId" min:"15" type:"string"` // An array of key-value pairs that will be associated with the new AWS Cloud9 // development environment. - Tags []*Tag `locationName:"tags" type:"list"` + Tags []*Tag `locationName:"tags" type:"list" sensitive:"true"` } // String returns the string representation @@ -1612,8 +1640,8 @@ func (s *CreateEnvironmentEC2Input) Validate() error { if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.SubnetId != nil && len(*s.SubnetId) < 5 { - invalidParams.Add(request.NewErrParamMinLen("SubnetId", 5)) + if s.SubnetId != nil && len(*s.SubnetId) < 15 { + invalidParams.Add(request.NewErrParamMinLen("SubnetId", 15)) } if s.Tags != nil { for i, v := range s.Tags { @@ -1656,6 +1684,12 @@ func (s *CreateEnvironmentEC2Input) SetDescription(v string) *CreateEnvironmentE return s } +// SetImageId sets the ImageId field's value. +func (s *CreateEnvironmentEC2Input) SetImageId(v string) *CreateEnvironmentEC2Input { + s.ImageId = &v + return s +} + // SetInstanceType sets the InstanceType field's value. func (s *CreateEnvironmentEC2Input) SetInstanceType(v string) *CreateEnvironmentEC2Input { s.InstanceType = &v @@ -1785,7 +1819,9 @@ type CreateEnvironmentMembershipOutput struct { _ struct{} `type:"structure"` // Information about the environment member that was added. - Membership *EnvironmentMember `locationName:"membership" type:"structure"` + // + // Membership is a required field + Membership *EnvironmentMember `locationName:"membership" type:"structure" required:"true"` } // String returns the string representation @@ -2075,7 +2111,9 @@ type DescribeEnvironmentStatusOutput struct { _ struct{} `type:"structure"` // Any informational message about the status of the environment. - Message *string `locationName:"message" type:"string"` + // + // Message is a required field + Message *string `locationName:"message" type:"string" required:"true"` // The status of the environment. Available values include: // @@ -2092,7 +2130,9 @@ type DescribeEnvironmentStatusOutput struct { // * stopped: The environment is stopped. // // * stopping: The environment is stopping. - Status *string `locationName:"status" type:"string" enum:"EnvironmentStatus"` + // + // Status is a required field + Status *string `locationName:"status" type:"string" required:"true" enum:"EnvironmentStatus"` } // String returns the string representation @@ -2186,9 +2226,12 @@ type Environment struct { _ struct{} `type:"structure"` // The Amazon Resource Name (ARN) of the environment. - Arn *string `locationName:"arn" type:"string"` + // + // Arn is a required field + Arn *string `locationName:"arn" type:"string" required:"true"` - // The connection type used for connecting to an Amazon EC2 environment. + // The connection type used for connecting to an Amazon EC2 environment. CONNECT_SSH + // is selected by default. ConnectionType *string `locationName:"connectionType" type:"string" enum:"ConnectionType"` // The description for the environment. @@ -2200,11 +2243,37 @@ type Environment struct { // The state of the environment in its creation or deletion lifecycle. Lifecycle *EnvironmentLifecycle `locationName:"lifecycle" type:"structure"` + // Describes the status of AWS managed temporary credentials for the AWS Cloud9 + // environment. Available values are: + // + // * ENABLED_ON_CREATE + // + // * ENABLED_BY_OWNER + // + // * DISABLED_BY_DEFAULT + // + // * DISABLED_BY_OWNER + // + // * DISABLED_BY_COLLABORATOR + // + // * PENDING_REMOVAL_BY_COLLABORATOR + // + // * PENDING_REMOVAL_BY_OWNER + // + // * FAILED_REMOVAL_BY_COLLABORATOR + // + // * ENABLED_BY_OWNER + // + // * DISABLED_BY_DEFAULT + ManagedCredentialsStatus *string `locationName:"managedCredentialsStatus" type:"string" enum:"ManagedCredentialsStatus"` + // The name of the environment. Name *string `locationName:"name" min:"1" type:"string"` // The Amazon Resource Name (ARN) of the environment owner. - OwnerArn *string `locationName:"ownerArn" type:"string"` + // + // OwnerArn is a required field + OwnerArn *string `locationName:"ownerArn" type:"string" required:"true"` // The type of environment. Valid values include the following: // @@ -2212,7 +2281,9 @@ type Environment struct { // to the environment. // // * ssh: Your own server connects to the environment. - Type *string `locationName:"type" type:"string" enum:"EnvironmentType"` + // + // Type is a required field + Type *string `locationName:"type" type:"string" required:"true" enum:"EnvironmentType"` } // String returns the string representation @@ -2255,6 +2326,12 @@ func (s *Environment) SetLifecycle(v *EnvironmentLifecycle) *Environment { return s } +// SetManagedCredentialsStatus sets the ManagedCredentialsStatus field's value. +func (s *Environment) SetManagedCredentialsStatus(v string) *Environment { + s.ManagedCredentialsStatus = &v + return s +} + // SetName sets the Name field's value. func (s *Environment) SetName(v string) *Environment { s.Name = &v @@ -2332,7 +2409,9 @@ type EnvironmentMember struct { _ struct{} `type:"structure"` // The ID of the environment for the environment member. - EnvironmentId *string `locationName:"environmentId" type:"string"` + // + // EnvironmentId is a required field + EnvironmentId *string `locationName:"environmentId" type:"string" required:"true"` // The time, expressed in epoch time format, when the environment member last // opened the environment. @@ -2346,14 +2425,20 @@ type EnvironmentMember struct { // * read-only: Has read-only access to the environment. // // * read-write: Has read-write access to the environment. - Permissions *string `locationName:"permissions" type:"string" enum:"Permissions"` + // + // Permissions is a required field + Permissions *string `locationName:"permissions" type:"string" required:"true" enum:"Permissions"` // The Amazon Resource Name (ARN) of the environment member. - UserArn *string `locationName:"userArn" type:"string"` + // + // UserArn is a required field + UserArn *string `locationName:"userArn" type:"string" required:"true"` // The user ID in AWS Identity and Access Management (AWS IAM) of the environment // member. - UserId *string `locationName:"userId" type:"string"` + // + // UserId is a required field + UserId *string `locationName:"userId" type:"string" required:"true"` } // String returns the string representation @@ -2679,7 +2764,7 @@ type ListTagsForResourceOutput struct { _ struct{} `type:"structure"` // The list of tags associated with the AWS Cloud9 development environment. - Tags []*Tag `type:"list"` + Tags []*Tag `type:"list" sensitive:"true"` } // String returns the string representation @@ -2760,17 +2845,17 @@ func (s *NotFoundException) RequestID() string { // the user. A system tag is automatically created by AWS services. A system // tag is prefixed with "aws:" and cannot be modified by the user. type Tag struct { - _ struct{} `type:"structure"` + _ struct{} `type:"structure" sensitive:"true"` // The name part of a tag. // // Key is a required field - Key *string `min:"1" type:"string" required:"true"` + Key *string `min:"1" type:"string" required:"true" sensitive:"true"` // The value part of a tag. // // Value is a required field - Value *string `type:"string" required:"true"` + Value *string `type:"string" required:"true" sensitive:"true"` } // String returns the string representation @@ -2826,7 +2911,7 @@ type TagResourceInput struct { // The list of tags to add to the given AWS Cloud9 development environment. // // Tags is a required field - Tags []*Tag `type:"list" required:"true"` + Tags []*Tag `type:"list" required:"true" sensitive:"true"` } // String returns the string representation @@ -2960,7 +3045,7 @@ type UntagResourceInput struct { // environment. // // TagKeys is a required field - TagKeys []*string `type:"list" required:"true"` + TagKeys []*string `type:"list" required:"true" sensitive:"true"` } // String returns the string representation @@ -3280,6 +3365,58 @@ func EnvironmentType_Values() []string { } } +const ( + // ManagedCredentialsStatusEnabledOnCreate is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusEnabledOnCreate = "ENABLED_ON_CREATE" + + // ManagedCredentialsStatusEnabledByOwner is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusEnabledByOwner = "ENABLED_BY_OWNER" + + // ManagedCredentialsStatusDisabledByDefault is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusDisabledByDefault = "DISABLED_BY_DEFAULT" + + // ManagedCredentialsStatusDisabledByOwner is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusDisabledByOwner = "DISABLED_BY_OWNER" + + // ManagedCredentialsStatusDisabledByCollaborator is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusDisabledByCollaborator = "DISABLED_BY_COLLABORATOR" + + // ManagedCredentialsStatusPendingRemovalByCollaborator is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusPendingRemovalByCollaborator = "PENDING_REMOVAL_BY_COLLABORATOR" + + // ManagedCredentialsStatusPendingStartRemovalByCollaborator is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusPendingStartRemovalByCollaborator = "PENDING_START_REMOVAL_BY_COLLABORATOR" + + // ManagedCredentialsStatusPendingRemovalByOwner is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusPendingRemovalByOwner = "PENDING_REMOVAL_BY_OWNER" + + // ManagedCredentialsStatusPendingStartRemovalByOwner is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusPendingStartRemovalByOwner = "PENDING_START_REMOVAL_BY_OWNER" + + // ManagedCredentialsStatusFailedRemovalByCollaborator is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusFailedRemovalByCollaborator = "FAILED_REMOVAL_BY_COLLABORATOR" + + // ManagedCredentialsStatusFailedRemovalByOwner is a ManagedCredentialsStatus enum value + ManagedCredentialsStatusFailedRemovalByOwner = "FAILED_REMOVAL_BY_OWNER" +) + +// ManagedCredentialsStatus_Values returns all elements of the ManagedCredentialsStatus enum +func ManagedCredentialsStatus_Values() []string { + return []string{ + ManagedCredentialsStatusEnabledOnCreate, + ManagedCredentialsStatusEnabledByOwner, + ManagedCredentialsStatusDisabledByDefault, + ManagedCredentialsStatusDisabledByOwner, + ManagedCredentialsStatusDisabledByCollaborator, + ManagedCredentialsStatusPendingRemovalByCollaborator, + ManagedCredentialsStatusPendingStartRemovalByCollaborator, + ManagedCredentialsStatusPendingRemovalByOwner, + ManagedCredentialsStatusPendingStartRemovalByOwner, + ManagedCredentialsStatusFailedRemovalByCollaborator, + ManagedCredentialsStatusFailedRemovalByOwner, + } +} + const ( // MemberPermissionsReadWrite is a MemberPermissions enum value MemberPermissionsReadWrite = "read-write" diff --git a/service/cloud9/examples_test.go b/service/cloud9/examples_test.go index 12f0fd914d6..498fd14a947 100644 --- a/service/cloud9/examples_test.go +++ b/service/cloud9/examples_test.go @@ -36,7 +36,7 @@ func ExampleCloud9_CreateEnvironmentEC2_shared00() { InstanceType: aws.String("t2.micro"), Name: aws.String("my-demo-environment"), OwnerArn: aws.String("arn:aws:iam::123456789012:user/MyDemoUser"), - SubnetId: aws.String("subnet-1fab8aEX"), + SubnetId: aws.String("subnet-6300cd1b"), } result, err := svc.CreateEnvironmentEC2(input) diff --git a/service/cloudformation/api.go b/service/cloudformation/api.go index 161d3acb476..3d83c6f24c0 100644 --- a/service/cloudformation/api.go +++ b/service/cloudformation/api.go @@ -7070,6 +7070,11 @@ func (s *CreateStackInstancesInput) Validate() error { if s.StackSetName == nil { invalidParams.Add(request.NewErrParamRequired("StackSetName")) } + if s.DeploymentTargets != nil { + if err := s.DeploymentTargets.Validate(); err != nil { + invalidParams.AddNested("DeploymentTargets", err.(request.ErrInvalidParams)) + } + } if s.OperationPreferences != nil { if err := s.OperationPreferences.Validate(); err != nil { invalidParams.AddNested("OperationPreferences", err.(request.ErrInvalidParams)) @@ -7745,6 +7750,11 @@ func (s *DeleteStackInstancesInput) Validate() error { if s.StackSetName == nil { invalidParams.Add(request.NewErrParamRequired("StackSetName")) } + if s.DeploymentTargets != nil { + if err := s.DeploymentTargets.Validate(); err != nil { + invalidParams.AddNested("DeploymentTargets", err.(request.ErrInvalidParams)) + } + } if s.OperationPreferences != nil { if err := s.OperationPreferences.Validate(); err != nil { invalidParams.AddNested("OperationPreferences", err.(request.ErrInvalidParams)) @@ -7931,6 +7941,8 @@ type DeploymentTargets struct { // set updates. Accounts []*string `type:"list"` + AccountsUrl *string `min:"1" type:"string"` + // The organization root ID or organizational unit (OU) IDs to which StackSets // deploys. OrganizationalUnitIds []*string `type:"list"` @@ -7946,12 +7958,31 @@ func (s DeploymentTargets) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeploymentTargets) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeploymentTargets"} + if s.AccountsUrl != nil && len(*s.AccountsUrl) < 1 { + invalidParams.Add(request.NewErrParamMinLen("AccountsUrl", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + // SetAccounts sets the Accounts field's value. func (s *DeploymentTargets) SetAccounts(v []*string) *DeploymentTargets { s.Accounts = v return s } +// SetAccountsUrl sets the AccountsUrl field's value. +func (s *DeploymentTargets) SetAccountsUrl(v string) *DeploymentTargets { + s.AccountsUrl = &v + return s +} + // SetOrganizationalUnitIds sets the OrganizationalUnitIds field's value. func (s *DeploymentTargets) SetOrganizationalUnitIds(v []*string) *DeploymentTargets { s.OrganizationalUnitIds = v @@ -15644,6 +15675,8 @@ type StackSetOperationPreferences struct { // but not both. MaxConcurrentPercentage *int64 `min:"1" type:"integer"` + RegionConcurrencyType *string `type:"string" enum:"RegionConcurrencyType"` + // The order of the Regions in where you want to perform the stack operation. RegionOrder []*string `type:"list"` } @@ -15698,6 +15731,12 @@ func (s *StackSetOperationPreferences) SetMaxConcurrentPercentage(v int64) *Stac return s } +// SetRegionConcurrencyType sets the RegionConcurrencyType field's value. +func (s *StackSetOperationPreferences) SetRegionConcurrencyType(v string) *StackSetOperationPreferences { + s.RegionConcurrencyType = &v + return s +} + // SetRegionOrder sets the RegionOrder field's value. func (s *StackSetOperationPreferences) SetRegionOrder(v []*string) *StackSetOperationPreferences { s.RegionOrder = v @@ -16955,6 +16994,11 @@ func (s *UpdateStackInstancesInput) Validate() error { if s.StackSetName == nil { invalidParams.Add(request.NewErrParamRequired("StackSetName")) } + if s.DeploymentTargets != nil { + if err := s.DeploymentTargets.Validate(); err != nil { + invalidParams.AddNested("DeploymentTargets", err.(request.ErrInvalidParams)) + } + } if s.OperationPreferences != nil { if err := s.OperationPreferences.Validate(); err != nil { invalidParams.AddNested("OperationPreferences", err.(request.ErrInvalidParams)) @@ -17334,6 +17378,11 @@ func (s *UpdateStackSetInput) Validate() error { if s.TemplateURL != nil && len(*s.TemplateURL) < 1 { invalidParams.Add(request.NewErrParamMinLen("TemplateURL", 1)) } + if s.DeploymentTargets != nil { + if err := s.DeploymentTargets.Validate(); err != nil { + invalidParams.AddNested("DeploymentTargets", err.(request.ErrInvalidParams)) + } + } if s.OperationPreferences != nil { if err := s.OperationPreferences.Validate(); err != nil { invalidParams.AddNested("OperationPreferences", err.(request.ErrInvalidParams)) @@ -18107,6 +18156,22 @@ func ProvisioningType_Values() []string { } } +const ( + // RegionConcurrencyTypeSequential is a RegionConcurrencyType enum value + RegionConcurrencyTypeSequential = "SEQUENTIAL" + + // RegionConcurrencyTypeParallel is a RegionConcurrencyType enum value + RegionConcurrencyTypeParallel = "PARALLEL" +) + +// RegionConcurrencyType_Values returns all elements of the RegionConcurrencyType enum +func RegionConcurrencyType_Values() []string { + return []string{ + RegionConcurrencyTypeSequential, + RegionConcurrencyTypeParallel, + } +} + const ( // RegistrationStatusComplete is a RegistrationStatus enum value RegistrationStatusComplete = "COMPLETE" diff --git a/service/cloudhsm/api.go b/service/cloudhsm/api.go index a5d00e3c3ce..31e3b4215e8 100644 --- a/service/cloudhsm/api.go +++ b/service/cloudhsm/api.go @@ -57,12 +57,12 @@ func (c *CloudHSM) AddTagsToResourceRequest(input *AddTagsToResourceInput) (req // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Adds or overwrites one or more tags for the specified AWS CloudHSM resource. // @@ -153,12 +153,12 @@ func (c *CloudHSM) CreateHapgRequest(input *CreateHapgInput) (req *request.Reque // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Creates a high-availability partition group. A high-availability partition // group is a group of partitions that spans multiple physical HSMs. @@ -248,12 +248,12 @@ func (c *CloudHSM) CreateHsmRequest(input *CreateHsmInput) (req *request.Request // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Creates an uninitialized HSM instance. // @@ -352,12 +352,12 @@ func (c *CloudHSM) CreateLunaClientRequest(input *CreateLunaClientInput) (req *r // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Creates an HSM client. // @@ -446,12 +446,12 @@ func (c *CloudHSM) DeleteHapgRequest(input *DeleteHapgInput) (req *request.Reque // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Deletes a high-availability partition group. // @@ -540,12 +540,12 @@ func (c *CloudHSM) DeleteHsmRequest(input *DeleteHsmInput) (req *request.Request // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Deletes an HSM. After completion, this operation cannot be undone and your // key material cannot be recovered. @@ -635,12 +635,12 @@ func (c *CloudHSM) DeleteLunaClientRequest(input *DeleteLunaClientInput) (req *r // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Deletes a client. // @@ -729,12 +729,12 @@ func (c *CloudHSM) DescribeHapgRequest(input *DescribeHapgInput) (req *request.R // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Retrieves information about a high-availability partition group. // @@ -823,12 +823,12 @@ func (c *CloudHSM) DescribeHsmRequest(input *DescribeHsmInput) (req *request.Req // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Retrieves information about an HSM. You can identify the HSM by its ARN or // its serial number. @@ -918,12 +918,12 @@ func (c *CloudHSM) DescribeLunaClientRequest(input *DescribeLunaClientInput) (re // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Retrieves information about an HSM client. // @@ -1012,12 +1012,12 @@ func (c *CloudHSM) GetConfigRequest(input *GetConfigInput) (req *request.Request // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Gets the configuration files necessary to connect to all high availability // partition groups the client is associated with. @@ -1107,12 +1107,12 @@ func (c *CloudHSM) ListAvailableZonesRequest(input *ListAvailableZonesInput) (re // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Lists the Availability Zones that have available AWS CloudHSM capacity. // @@ -1201,12 +1201,12 @@ func (c *CloudHSM) ListHapgsRequest(input *ListHapgsInput) (req *request.Request // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Lists the high-availability partition groups for the account. // @@ -1300,12 +1300,12 @@ func (c *CloudHSM) ListHsmsRequest(input *ListHsmsInput) (req *request.Request, // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Retrieves the identifiers of all of the HSMs provisioned for the current // customer. @@ -1400,12 +1400,12 @@ func (c *CloudHSM) ListLunaClientsRequest(input *ListLunaClientsInput) (req *req // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Lists all of the clients. // @@ -1499,12 +1499,12 @@ func (c *CloudHSM) ListTagsForResourceRequest(input *ListTagsForResourceInput) ( // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Returns a list of all tags for the specified AWS CloudHSM resource. // @@ -1593,12 +1593,12 @@ func (c *CloudHSM) ModifyHapgRequest(input *ModifyHapgInput) (req *request.Reque // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Modifies an existing high-availability partition group. // @@ -1687,12 +1687,12 @@ func (c *CloudHSM) ModifyHsmRequest(input *ModifyHsmInput) (req *request.Request // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Modifies an HSM. // @@ -1787,12 +1787,12 @@ func (c *CloudHSM) ModifyLunaClientRequest(input *ModifyLunaClientInput) (req *r // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Modifies the certificate used by the client. // @@ -1878,12 +1878,12 @@ func (c *CloudHSM) RemoveTagsFromResourceRequest(input *RemoveTagsFromResourceIn // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // Removes one or more tags from the specified AWS CloudHSM resource. // @@ -2197,36 +2197,36 @@ func (s *CreateHapgOutput) SetHapgArn(v string) *CreateHapgOutput { // Contains the inputs for the CreateHsm operation. type CreateHsmInput struct { - _ struct{} `locationName:"CreateHsmRequest" type:"structure"` + _ struct{} `type:"structure"` // A user-defined token to ensure idempotence. Subsequent calls to this operation // with the same token will be ignored. - ClientToken *string `locationName:"ClientToken" type:"string"` + ClientToken *string `type:"string"` // The IP address to assign to the HSM's ENI. // // If an IP address is not specified, an IP address will be randomly chosen // from the CIDR range of the subnet. - EniIp *string `locationName:"EniIp" type:"string"` + EniIp *string `type:"string"` // The external ID from IamRoleArn, if present. - ExternalId *string `locationName:"ExternalId" type:"string"` + ExternalId *string `type:"string"` // The ARN of an IAM role to enable the AWS CloudHSM service to allocate an // ENI on your behalf. // // IamRoleArn is a required field - IamRoleArn *string `locationName:"IamRoleArn" type:"string" required:"true"` + IamRoleArn *string `type:"string" required:"true"` // The SSH public key to install on the HSM. // // SshKey is a required field - SshKey *string `locationName:"SshKey" type:"string" required:"true"` + SshKey *string `type:"string" required:"true"` // The identifier of the subnet in your VPC in which to place the HSM. // // SubnetId is a required field - SubnetId *string `locationName:"SubnetId" type:"string" required:"true"` + SubnetId *string `type:"string" required:"true"` // Specifies the type of subscription for the HSM. // @@ -2235,11 +2235,11 @@ type CreateHsmInput struct { // * TRIAL - The HSM is being used in a product trial. // // SubscriptionType is a required field - SubscriptionType *string `locationName:"SubscriptionType" type:"string" required:"true" enum:"SubscriptionType"` + SubscriptionType *string `type:"string" required:"true" enum:"SubscriptionType"` // The IP address for the syslog monitoring server. The AWS CloudHSM service // only supports one syslog monitoring server. - SyslogIp *string `locationName:"SyslogIp" type:"string"` + SyslogIp *string `type:"string"` } // String returns the string representation @@ -2489,12 +2489,12 @@ func (s *DeleteHapgOutput) SetStatus(v string) *DeleteHapgOutput { // Contains the inputs for the DeleteHsm operation. type DeleteHsmInput struct { - _ struct{} `locationName:"DeleteHsmRequest" type:"structure"` + _ struct{} `type:"structure"` // The ARN of the HSM to delete. // // HsmArn is a required field - HsmArn *string `locationName:"HsmArn" type:"string" required:"true"` + HsmArn *string `type:"string" required:"true"` } // String returns the string representation @@ -3608,33 +3608,33 @@ func (s *ModifyHapgOutput) SetHapgArn(v string) *ModifyHapgOutput { // Contains the inputs for the ModifyHsm operation. type ModifyHsmInput struct { - _ struct{} `locationName:"ModifyHsmRequest" type:"structure"` + _ struct{} `type:"structure"` // The new IP address for the elastic network interface (ENI) attached to the // HSM. // // If the HSM is moved to a different subnet, and an IP address is not specified, // an IP address will be randomly chosen from the CIDR range of the new subnet. - EniIp *string `locationName:"EniIp" type:"string"` + EniIp *string `type:"string"` // The new external ID. - ExternalId *string `locationName:"ExternalId" type:"string"` + ExternalId *string `type:"string"` // The ARN of the HSM to modify. // // HsmArn is a required field - HsmArn *string `locationName:"HsmArn" type:"string" required:"true"` + HsmArn *string `type:"string" required:"true"` // The new IAM role ARN. - IamRoleArn *string `locationName:"IamRoleArn" type:"string"` + IamRoleArn *string `type:"string"` // The new identifier of the subnet that the HSM is in. The new subnet must // be in the same Availability Zone as the current subnet. - SubnetId *string `locationName:"SubnetId" type:"string"` + SubnetId *string `type:"string"` // The new IP address for the syslog monitoring server. The AWS CloudHSM service // only supports one syslog monitoring server. - SyslogIp *string `locationName:"SyslogIp" type:"string"` + SyslogIp *string `type:"string"` } // String returns the string representation diff --git a/service/cloudhsm/doc.go b/service/cloudhsm/doc.go index f70be09dc92..cc13a38eb03 100644 --- a/service/cloudhsm/doc.go +++ b/service/cloudhsm/doc.go @@ -5,12 +5,12 @@ // // This is documentation for AWS CloudHSM Classic. For more information, see // AWS CloudHSM Classic FAQs (http://aws.amazon.com/cloudhsm/faqs-classic/), -// the AWS CloudHSM Classic User Guide (http://docs.aws.amazon.com/cloudhsm/classic/userguide/), -// and the AWS CloudHSM Classic API Reference (http://docs.aws.amazon.com/cloudhsm/classic/APIReference/). +// the AWS CloudHSM Classic User Guide (https://docs.aws.amazon.com/cloudhsm/classic/userguide/), +// and the AWS CloudHSM Classic API Reference (https://docs.aws.amazon.com/cloudhsm/classic/APIReference/). // // For information about the current version of AWS CloudHSM, see AWS CloudHSM -// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (http://docs.aws.amazon.com/cloudhsm/latest/userguide/), -// and the AWS CloudHSM API Reference (http://docs.aws.amazon.com/cloudhsm/latest/APIReference/). +// (http://aws.amazon.com/cloudhsm/), the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/), +// and the AWS CloudHSM API Reference (https://docs.aws.amazon.com/cloudhsm/latest/APIReference/). // // See https://docs.aws.amazon.com/goto/WebAPI/cloudhsm-2014-05-30 for more information on this service. // diff --git a/service/cognitosync/integ_test.go b/service/cognitosync/integ_test.go new file mode 100644 index 00000000000..6f00aeb209b --- /dev/null +++ b/service/cognitosync/integ_test.go @@ -0,0 +1,65 @@ +// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. + +// +build go1.10,integration + +package cognitosync_test + +import ( + "context" + "testing" + "time" + + "github.com/aws/aws-sdk-go/aws" + "github.com/aws/aws-sdk-go/aws/awserr" + "github.com/aws/aws-sdk-go/aws/request" + "github.com/aws/aws-sdk-go/awstesting/integration" + "github.com/aws/aws-sdk-go/service/cognitosync" +) + +var _ aws.Config +var _ awserr.Error +var _ request.Request + +func TestInteg_00_ListIdentityPoolUsage(t *testing.T) { + ctx, cancelFn := context.WithTimeout(context.Background(), 5*time.Second) + defer cancelFn() + + sess := integration.SessionWithDefaultRegion("us-west-2") + svc := cognitosync.New(sess) + params := &cognitosync.ListIdentityPoolUsageInput{} + _, err := svc.ListIdentityPoolUsageWithContext(ctx, params, func(r *request.Request) { + r.Handlers.Validate.RemoveByName("core.ValidateParametersHandler") + }) + if err != nil { + t.Errorf("expect no error, got %v", err) + } +} +func TestInteg_01_DescribeIdentityPoolUsage(t *testing.T) { + ctx, cancelFn := context.WithTimeout(context.Background(), 5*time.Second) + defer cancelFn() + + sess := integration.SessionWithDefaultRegion("us-west-2") + svc := cognitosync.New(sess) + params := &cognitosync.DescribeIdentityPoolUsageInput{ + IdentityPoolId: aws.String("us-east-1:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"), + } + _, err := svc.DescribeIdentityPoolUsageWithContext(ctx, params, func(r *request.Request) { + r.Handlers.Validate.RemoveByName("core.ValidateParametersHandler") + }) + if err == nil { + t.Fatalf("expect request to fail") + } + aerr, ok := err.(awserr.RequestFailure) + if !ok { + t.Fatalf("expect awserr, was %T", err) + } + if len(aerr.Code()) == 0 { + t.Errorf("expect non-empty error code") + } + if len(aerr.Message()) == 0 { + t.Errorf("expect non-empty error message") + } + if v := aerr.Code(); v == request.ErrCodeSerialization { + t.Errorf("expect API error code got serialization failure") + } +} diff --git a/service/comprehend/api.go b/service/comprehend/api.go index 34d129d62b6..26038af80c4 100644 --- a/service/comprehend/api.go +++ b/service/comprehend/api.go @@ -7440,6 +7440,15 @@ type CreateDocumentClassifierInput struct { // is a pipe (|). Mode *string `type:"string" enum:"DocumentClassifierMode"` + // ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses + // to encrypt trained custom models. The ModelKmsKeyId can be either of the + // following formats: + // + // * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" + // + // * Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" + ModelKmsKeyId *string `type:"string"` + // Enables the addition of output results configuration parameters for custom // classifier jobs. OutputDataConfig *DocumentClassifierOutputDataConfig `type:"structure"` @@ -7560,6 +7569,12 @@ func (s *CreateDocumentClassifierInput) SetMode(v string) *CreateDocumentClassif return s } +// SetModelKmsKeyId sets the ModelKmsKeyId field's value. +func (s *CreateDocumentClassifierInput) SetModelKmsKeyId(v string) *CreateDocumentClassifierInput { + s.ModelKmsKeyId = &v + return s +} + // SetOutputDataConfig sets the OutputDataConfig field's value. func (s *CreateDocumentClassifierInput) SetOutputDataConfig(v *DocumentClassifierOutputDataConfig) *CreateDocumentClassifierInput { s.OutputDataConfig = v @@ -7614,6 +7629,11 @@ type CreateEndpointInput struct { // endpoint creation request, Amazon Comprehend will not return a ResourceInUseException. ClientRequestToken *string `min:"1" type:"string" idempotencyToken:"true"` + // The Amazon Resource Name (ARN) of the AWS identity and Access Management + // (IAM) role that grants Amazon Comprehend read access to trained custom models + // encrypted with a customer managed key (ModelKmsKeyId). + DataAccessRoleArn *string `min:"20" type:"string"` + // The desired number of inference units to be used by the model using this // endpoint. Each inference unit represents of a throughput of 100 characters // per second. @@ -7655,6 +7675,9 @@ func (s *CreateEndpointInput) Validate() error { if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 1 { invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 1)) } + if s.DataAccessRoleArn != nil && len(*s.DataAccessRoleArn) < 20 { + invalidParams.Add(request.NewErrParamMinLen("DataAccessRoleArn", 20)) + } if s.DesiredInferenceUnits == nil { invalidParams.Add(request.NewErrParamRequired("DesiredInferenceUnits")) } @@ -7690,6 +7713,12 @@ func (s *CreateEndpointInput) SetClientRequestToken(v string) *CreateEndpointInp return s } +// SetDataAccessRoleArn sets the DataAccessRoleArn field's value. +func (s *CreateEndpointInput) SetDataAccessRoleArn(v string) *CreateEndpointInput { + s.DataAccessRoleArn = &v + return s +} + // SetDesiredInferenceUnits sets the DesiredInferenceUnits field's value. func (s *CreateEndpointInput) SetDesiredInferenceUnits(v int64) *CreateEndpointInput { s.DesiredInferenceUnits = &v @@ -7764,6 +7793,15 @@ type CreateEntityRecognizerInput struct { // LanguageCode is a required field LanguageCode *string `type:"string" required:"true" enum:"LanguageCode"` + // ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses + // to encrypt trained custom models. The ModelKmsKeyId can be either of the + // following formats + // + // * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" + // + // * Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" + ModelKmsKeyId *string `type:"string"` + // The name given to the newly created recognizer. Recognizer names can be a // maximum of 256 characters. Alphanumeric characters, hyphens (-) and underscores // (_) are allowed. The name must be unique in the account/region. @@ -7875,6 +7913,12 @@ func (s *CreateEntityRecognizerInput) SetLanguageCode(v string) *CreateEntityRec return s } +// SetModelKmsKeyId sets the ModelKmsKeyId field's value. +func (s *CreateEntityRecognizerInput) SetModelKmsKeyId(v string) *CreateEntityRecognizerInput { + s.ModelKmsKeyId = &v + return s +} + // SetRecognizerName sets the RecognizerName field's value. func (s *CreateEntityRecognizerInput) SetRecognizerName(v string) *CreateEntityRecognizerInput { s.RecognizerName = &v @@ -9776,6 +9820,15 @@ type DocumentClassifierProperties struct { // once the classifier is trained. Mode *string `type:"string" enum:"DocumentClassifierMode"` + // ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses + // to encrypt trained custom models. The ModelKmsKeyId can be either of the + // following formats: + // + // * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" + // + // * Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" + ModelKmsKeyId *string `type:"string"` + // Provides output results configuration parameters for custom classifier jobs. OutputDataConfig *DocumentClassifierOutputDataConfig `type:"structure"` @@ -9870,6 +9923,12 @@ func (s *DocumentClassifierProperties) SetMode(v string) *DocumentClassifierProp return s } +// SetModelKmsKeyId sets the ModelKmsKeyId field's value. +func (s *DocumentClassifierProperties) SetModelKmsKeyId(v string) *DocumentClassifierProperties { + s.ModelKmsKeyId = &v + return s +} + // SetOutputDataConfig sets the OutputDataConfig field's value. func (s *DocumentClassifierProperties) SetOutputDataConfig(v *DocumentClassifierOutputDataConfig) *DocumentClassifierProperties { s.OutputDataConfig = v @@ -10243,6 +10302,11 @@ type EndpointProperties struct { // The number of inference units currently used by the model using this endpoint. CurrentInferenceUnits *int64 `min:"1" type:"integer"` + // The Amazon Resource Name (ARN) of the AWS identity and Access Management + // (IAM) role that grants Amazon Comprehend read access to trained custom models + // encrypted with a customer managed key (ModelKmsKeyId). + DataAccessRoleArn *string `min:"20" type:"string"` + // The desired number of inference units to be used by the model using this // endpoint. Each inference unit represents of a throughput of 100 characters // per second. @@ -10288,6 +10352,12 @@ func (s *EndpointProperties) SetCurrentInferenceUnits(v int64) *EndpointProperti return s } +// SetDataAccessRoleArn sets the DataAccessRoleArn field's value. +func (s *EndpointProperties) SetDataAccessRoleArn(v string) *EndpointProperties { + s.DataAccessRoleArn = &v + return s +} + // SetDesiredInferenceUnits sets the DesiredInferenceUnits field's value. func (s *EndpointProperties) SetDesiredInferenceUnits(v int64) *EndpointProperties { s.DesiredInferenceUnits = &v @@ -11134,6 +11204,15 @@ type EntityRecognizerProperties struct { // A description of the status of the recognizer. Message *string `type:"string"` + // ID for the AWS Key Management Service (KMS) key that Amazon Comprehend uses + // to encrypt trained custom models. The ModelKmsKeyId can be either of the + // following formats: + // + // * KMS Key ID: "1234abcd-12ab-34cd-56ef-1234567890ab" + // + // * Amazon Resource Name (ARN) of a KMS Key: "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" + ModelKmsKeyId *string `type:"string"` + // Provides information about an entity recognizer. RecognizerMetadata *EntityRecognizerMetadata `type:"structure" sensitive:"true"` @@ -11211,6 +11290,12 @@ func (s *EntityRecognizerProperties) SetMessage(v string) *EntityRecognizerPrope return s } +// SetModelKmsKeyId sets the ModelKmsKeyId field's value. +func (s *EntityRecognizerProperties) SetModelKmsKeyId(v string) *EntityRecognizerProperties { + s.ModelKmsKeyId = &v + return s +} + // SetRecognizerMetadata sets the RecognizerMetadata field's value. func (s *EntityRecognizerProperties) SetRecognizerMetadata(v *EntityRecognizerMetadata) *EntityRecognizerProperties { s.RecognizerMetadata = v diff --git a/service/detective/api.go b/service/detective/api.go index 0fd4b8446bb..27f75d5c020 100644 --- a/service/detective/api.go +++ b/service/detective/api.go @@ -1133,6 +1133,91 @@ func (c *Detective) ListMembersPagesWithContext(ctx aws.Context, input *ListMemb return p.Err() } +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource 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 ListTagsForResource for more information on using the ListTagsForResource +// 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 ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListTagsForResource +func (c *Detective) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags/{ResourceArn}", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for Amazon Detective. +// +// Returns the tag values that are assigned to a behavior graph. +// +// 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 Detective's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// * InternalServerException +// The request was valid but failed because of a problem with the service. +// +// * ValidationException +// The request parameters are invalid. +// +// * ResourceNotFoundException +// The request refers to a nonexistent resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/ListTagsForResource +func (c *Detective) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource 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 *Detective) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRejectInvitation = "RejectInvitation" // RejectInvitationRequest generates a "aws/request.Request" representing the @@ -1332,6 +1417,178 @@ func (c *Detective) StartMonitoringMemberWithContext(ctx aws.Context, input *Sta return out, req.Send() } +const opTagResource = "TagResource" + +// 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 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 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/detective-2018-10-26/TagResource +func (c *Detective) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags/{ResourceArn}", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for Amazon Detective. +// +// Applies tag values to a behavior graph. +// +// 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 Detective's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// * InternalServerException +// The request was valid but failed because of a problem with the service. +// +// * ValidationException +// The request parameters are invalid. +// +// * ResourceNotFoundException +// The request refers to a nonexistent resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/TagResource +func (c *Detective) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource 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. +// +// 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 *Detective) 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/detective-2018-10-26/UntagResource +func (c *Detective) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "DELETE", + HTTPPath: "/tags/{ResourceArn}", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for Amazon Detective. +// +// Removes tags from a behavior graph. +// +// 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 Detective's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// * InternalServerException +// The request was valid but failed because of a problem with the service. +// +// * ValidationException +// The request parameters are invalid. +// +// * ResourceNotFoundException +// The request refers to a nonexistent resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/detective-2018-10-26/UntagResource +func (c *Detective) 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 *Detective) 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() +} + type AcceptInvitationInput struct { _ struct{} `type:"structure"` @@ -1505,6 +1762,10 @@ func (s *ConflictException) RequestID() string { type CreateGraphInput struct { _ struct{} `type:"structure"` + + // The tags to assign to the new behavior graph. For each tag, you provide the + // tag key and the tag value. + Tags map[string]*string `min:"1" type:"map"` } // String returns the string representation @@ -1517,6 +1778,25 @@ func (s CreateGraphInput) GoString() string { return s.String() } +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateGraphInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateGraphInput"} + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTags sets the Tags field's value. +func (s *CreateGraphInput) SetTags(v map[string]*string) *CreateGraphInput { + s.Tags = v + return s +} + type CreateGraphOutput struct { _ struct{} `type:"structure"` @@ -2325,6 +2605,70 @@ func (s *ListMembersOutput) SetNextToken(v string) *ListMembersOutput { return s } +type ListTagsForResourceInput struct { + _ struct{} `type:"structure"` + + // The ARN of the behavior graph for which to retrieve the tag values. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` +} + +// String returns the string representation +func (s ListTagsForResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListTagsForResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *ListTagsForResourceInput) SetResourceArn(v string) *ListTagsForResourceInput { + s.ResourceArn = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // The tag values that are assigned to the behavior graph. + Tags map[string]*string `min:"1" type:"map"` +} + +// String returns the string representation +func (s ListTagsForResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v map[string]*string) *ListTagsForResourceOutput { + s.Tags = v + return s +} + // Details about a member account that was invited to contribute to a behavior // graph. type MemberDetail struct { @@ -2738,6 +3082,78 @@ func (s StartMonitoringMemberOutput) GoString() string { return s.String() } +type TagResourceInput struct { + _ struct{} `type:"structure"` + + // The ARN of the behavior graph to assign the tags to. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` + + // The tag values to assign to the behavior graph. + // + // Tags is a required field + Tags map[string]*string `min:"1" type:"map" required:"true"` +} + +// String returns the string representation +func (s TagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.Tags == nil { + invalidParams.Add(request.NewErrParamRequired("Tags")) + } + if s.Tags != nil && len(s.Tags) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Tags", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *TagResourceInput) SetResourceArn(v string) *TagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *TagResourceInput) SetTags(v map[string]*string) *TagResourceInput { + s.Tags = v + return s +} + +type TagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s TagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s TagResourceOutput) GoString() string { + return s.String() +} + // A member account that was included in a request but for which the request // could not be processed. type UnprocessedAccount struct { @@ -2772,6 +3188,78 @@ func (s *UnprocessedAccount) SetReason(v string) *UnprocessedAccount { return s } +type UntagResourceInput struct { + _ struct{} `type:"structure"` + + // The ARN of the behavior graph to remove the tags from. + // + // ResourceArn is a required field + ResourceArn *string `location:"uri" locationName:"ResourceArn" type:"string" required:"true"` + + // The tag keys of the tags to remove from the behavior graph. + // + // TagKeys is a required field + TagKeys []*string `location:"querystring" locationName:"tagKeys" min:"1" type:"list" required:"true"` +} + +// String returns the string representation +func (s UntagResourceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UntagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceArn == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceArn")) + } + if s.ResourceArn != nil && len(*s.ResourceArn) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceArn", 1)) + } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) + } + if s.TagKeys != nil && len(s.TagKeys) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *UntagResourceInput) SetResourceArn(v string) *UntagResourceInput { + s.ResourceArn = &v + return s +} + +// SetTagKeys sets the TagKeys field's value. +func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { + s.TagKeys = v + return s +} + +type UntagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UntagResourceOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UntagResourceOutput) GoString() string { + return s.String() +} + // The request parameters are invalid. type ValidationException struct { _ struct{} `type:"structure"` diff --git a/service/detective/detectiveiface/interface.go b/service/detective/detectiveiface/interface.go index f1f01736305..db17a9a6367 100644 --- a/service/detective/detectiveiface/interface.go +++ b/service/detective/detectiveiface/interface.go @@ -109,6 +109,10 @@ type DetectiveAPI interface { ListMembersPages(*detective.ListMembersInput, func(*detective.ListMembersOutput, bool) bool) error ListMembersPagesWithContext(aws.Context, *detective.ListMembersInput, func(*detective.ListMembersOutput, bool) bool, ...request.Option) error + ListTagsForResource(*detective.ListTagsForResourceInput) (*detective.ListTagsForResourceOutput, error) + ListTagsForResourceWithContext(aws.Context, *detective.ListTagsForResourceInput, ...request.Option) (*detective.ListTagsForResourceOutput, error) + ListTagsForResourceRequest(*detective.ListTagsForResourceInput) (*request.Request, *detective.ListTagsForResourceOutput) + RejectInvitation(*detective.RejectInvitationInput) (*detective.RejectInvitationOutput, error) RejectInvitationWithContext(aws.Context, *detective.RejectInvitationInput, ...request.Option) (*detective.RejectInvitationOutput, error) RejectInvitationRequest(*detective.RejectInvitationInput) (*request.Request, *detective.RejectInvitationOutput) @@ -116,6 +120,14 @@ type DetectiveAPI interface { StartMonitoringMember(*detective.StartMonitoringMemberInput) (*detective.StartMonitoringMemberOutput, error) StartMonitoringMemberWithContext(aws.Context, *detective.StartMonitoringMemberInput, ...request.Option) (*detective.StartMonitoringMemberOutput, error) StartMonitoringMemberRequest(*detective.StartMonitoringMemberInput) (*request.Request, *detective.StartMonitoringMemberOutput) + + TagResource(*detective.TagResourceInput) (*detective.TagResourceOutput, error) + TagResourceWithContext(aws.Context, *detective.TagResourceInput, ...request.Option) (*detective.TagResourceOutput, error) + TagResourceRequest(*detective.TagResourceInput) (*request.Request, *detective.TagResourceOutput) + + UntagResource(*detective.UntagResourceInput) (*detective.UntagResourceOutput, error) + UntagResourceWithContext(aws.Context, *detective.UntagResourceInput, ...request.Option) (*detective.UntagResourceOutput, error) + UntagResourceRequest(*detective.UntagResourceInput) (*request.Request, *detective.UntagResourceOutput) } var _ DetectiveAPI = (*detective.Detective)(nil) diff --git a/service/directconnect/api.go b/service/directconnect/api.go index 2c85cd0935d..36fd3e2ae95 100644 --- a/service/directconnect/api.go +++ b/service/directconnect/api.go @@ -767,6 +767,96 @@ func (c *DirectConnect) AssociateHostedConnectionWithContext(ctx aws.Context, in return out, req.Send() } +const opAssociateMacSecKey = "AssociateMacSecKey" + +// AssociateMacSecKeyRequest generates a "aws/request.Request" representing the +// client's request for the AssociateMacSecKey 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 AssociateMacSecKey for more information on using the AssociateMacSecKey +// 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 AssociateMacSecKeyRequest method. +// req, resp := client.AssociateMacSecKeyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateMacSecKey +func (c *DirectConnect) AssociateMacSecKeyRequest(input *AssociateMacSecKeyInput) (req *request.Request, output *AssociateMacSecKeyOutput) { + op := &request.Operation{ + Name: opAssociateMacSecKey, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AssociateMacSecKeyInput{} + } + + output = &AssociateMacSecKeyOutput{} + req = c.newRequest(op, input, output) + return +} + +// AssociateMacSecKey API operation for AWS Direct Connect. +// +// Associates a MAC Security (MACsec) Connection Key Name (CKN)/ Connectivity +// Association Key (CAK) pair with an AWS Direct Connect dedicated connection. +// +// You must supply either the secretARN, or the CKN/CAK (ckn and cak) pair in +// the request. +// +// For information about MAC Security (MACsec) key considerations, see MACsec +// pre-shared CKN/CAK key considerations (https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-key-consideration) +// in the AWS Direct Connect 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. +// +// See the AWS API reference guide for AWS Direct Connect's +// API operation AssociateMacSecKey for usage and error information. +// +// Returned Error Types: +// * ServerException +// A server-side error occurred. +// +// * ClientException +// One or more parameters are not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateMacSecKey +func (c *DirectConnect) AssociateMacSecKey(input *AssociateMacSecKeyInput) (*AssociateMacSecKeyOutput, error) { + req, out := c.AssociateMacSecKeyRequest(input) + return out, req.Send() +} + +// AssociateMacSecKeyWithContext is the same as AssociateMacSecKey with the addition of +// the ability to pass a context and additional request options. +// +// See AssociateMacSecKey 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 *DirectConnect) AssociateMacSecKeyWithContext(ctx aws.Context, input *AssociateMacSecKeyInput, opts ...request.Option) (*AssociateMacSecKeyOutput, error) { + req, out := c.AssociateMacSecKeyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAssociateVirtualInterface = "AssociateVirtualInterface" // AssociateVirtualInterfaceRequest generates a "aws/request.Request" representing the @@ -4351,6 +4441,89 @@ func (c *DirectConnect) DisassociateConnectionFromLagWithContext(ctx aws.Context return out, req.Send() } +const opDisassociateMacSecKey = "DisassociateMacSecKey" + +// DisassociateMacSecKeyRequest generates a "aws/request.Request" representing the +// client's request for the DisassociateMacSecKey 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 DisassociateMacSecKey for more information on using the DisassociateMacSecKey +// 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 DisassociateMacSecKeyRequest method. +// req, resp := client.DisassociateMacSecKeyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateMacSecKey +func (c *DirectConnect) DisassociateMacSecKeyRequest(input *DisassociateMacSecKeyInput) (req *request.Request, output *DisassociateMacSecKeyOutput) { + op := &request.Operation{ + Name: opDisassociateMacSecKey, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DisassociateMacSecKeyInput{} + } + + output = &DisassociateMacSecKeyOutput{} + req = c.newRequest(op, input, output) + return +} + +// DisassociateMacSecKey API operation for AWS Direct Connect. +// +// Removes the association between a MAC Security (MACsec) security key and +// an AWS Direct Connect dedicated 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 +// the error. +// +// See the AWS API reference guide for AWS Direct Connect's +// API operation DisassociateMacSecKey for usage and error information. +// +// Returned Error Types: +// * ServerException +// A server-side error occurred. +// +// * ClientException +// One or more parameters are not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateMacSecKey +func (c *DirectConnect) DisassociateMacSecKey(input *DisassociateMacSecKeyInput) (*DisassociateMacSecKeyOutput, error) { + req, out := c.DisassociateMacSecKeyRequest(input) + return out, req.Send() +} + +// DisassociateMacSecKeyWithContext is the same as DisassociateMacSecKey with the addition of +// the ability to pass a context and additional request options. +// +// See DisassociateMacSecKey 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 *DirectConnect) DisassociateMacSecKeyWithContext(ctx aws.Context, input *DisassociateMacSecKeyInput, opts ...request.Option) (*DisassociateMacSecKeyOutput, error) { + req, out := c.DisassociateMacSecKeyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListVirtualInterfaceTestHistory = "ListVirtualInterfaceTestHistory" // ListVirtualInterfaceTestHistoryRequest generates a "aws/request.Request" representing the @@ -4783,6 +4956,94 @@ func (c *DirectConnect) UntagResourceWithContext(ctx aws.Context, input *UntagRe return out, req.Send() } +const opUpdateConnection = "UpdateConnection" + +// UpdateConnectionRequest generates a "aws/request.Request" representing the +// client's request for the UpdateConnection 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 UpdateConnection for more information on using the UpdateConnection +// 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 UpdateConnectionRequest method. +// req, resp := client.UpdateConnectionRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateConnection +func (c *DirectConnect) UpdateConnectionRequest(input *UpdateConnectionInput) (req *request.Request, output *UpdateConnectionOutput) { + op := &request.Operation{ + Name: opUpdateConnection, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateConnectionInput{} + } + + output = &UpdateConnectionOutput{} + req = c.newRequest(op, input, output) + return +} + +// UpdateConnection API operation for AWS Direct Connect. +// +// Updates the AWS Direct Connect dedicated connection configuration. +// +// You can update the following parameters for a connection: +// +// * The connection name +// +// * The connection's MAC Security (MACsec) encryption mode. +// +// 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 Direct Connect's +// API operation UpdateConnection for usage and error information. +// +// Returned Error Types: +// * ServerException +// A server-side error occurred. +// +// * ClientException +// One or more parameters are not valid. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateConnection +func (c *DirectConnect) UpdateConnection(input *UpdateConnectionInput) (*UpdateConnectionOutput, error) { + req, out := c.UpdateConnectionRequest(input) + return out, req.Send() +} + +// UpdateConnectionWithContext is the same as UpdateConnection with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateConnection 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 *DirectConnect) UpdateConnectionWithContext(ctx aws.Context, input *UpdateConnectionInput, opts ...request.Option) (*UpdateConnectionOutput, error) { + req, out := c.UpdateConnectionRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateDirectConnectGatewayAssociation = "UpdateDirectConnectGatewayAssociation" // UpdateDirectConnectGatewayAssociationRequest generates a "aws/request.Request" representing the @@ -4913,19 +5174,21 @@ func (c *DirectConnect) UpdateLagRequest(input *UpdateLagInput) (req *request.Re // // Updates the attributes of the specified link aggregation group (LAG). // -// You can update the following attributes: +// You can update the following LAG attributes: // // * The name of the LAG. // // * The value for the minimum number of connections that must be operational // for the LAG itself to be operational. // -// When you create a LAG, the default value for the minimum number of operational -// connections is zero (0). If you update this value and the number of operational -// connections falls below the specified value, the LAG automatically goes down -// to avoid over-utilization of the remaining connections. Adjust this value -// with care, as it could force the LAG down if it is set higher than the current -// number of operational connections. +// * The LAG's MACsec encryption mode. AWS assigns this value to each connection +// which is part of the LAG. +// +// * The tags +// +// If you adjust the threshold value for the minimum number of operational connections, +// ensure that the new value does not cause the LAG to fall below the threshold +// and become non-operational. // // 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 @@ -5712,39 +5975,63 @@ func (s *AssociateHostedConnectionInput) SetParentConnectionId(v string) *Associ return s } -type AssociateVirtualInterfaceInput struct { +type AssociateMacSecKeyInput struct { _ struct{} `type:"structure"` - // The ID of the LAG or connection. + // The MAC Security (MACsec) CAK to associate with the dedicated connection. + // + // You can create the CKN/CAK pair using an industry standard tool. + // + // The valid values are 64 hexadecimal characters (0-9, A-E). + // + // If you use this request parameter, you must use the ckn request parameter + // and not use the secretARN request parameter. + Cak *string `locationName:"cak" type:"string"` + + // The MAC Security (MACsec) CKN to associate with the dedicated connection. + // + // You can create the CKN/CAK pair using an industry standard tool. + // + // The valid values are 64 hexadecimal characters (0-9, A-E). + // + // If you use this request parameter, you must use the cak request parameter + // and not use the secretARN request parameter. + Ckn *string `locationName:"ckn" type:"string"` + + // The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). + // + // You can use DescribeConnections or DescribeLags to retrieve connection ID. // // ConnectionId is a required field ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` - // The ID of the virtual interface. + // The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key to + // associate with the dedicated connection. // - // VirtualInterfaceId is a required field - VirtualInterfaceId *string `locationName:"virtualInterfaceId" type:"string" required:"true"` + // You can use DescribeConnections or DescribeLags to retrieve the MAC Security + // (MACsec) secret key. + // + // If you use this request parameter, you do not use the ckn and cak request + // parameters. + SecretARN *string `locationName:"secretARN" type:"string"` } // String returns the string representation -func (s AssociateVirtualInterfaceInput) String() string { +func (s AssociateMacSecKeyInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AssociateVirtualInterfaceInput) GoString() string { +func (s AssociateMacSecKeyInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *AssociateVirtualInterfaceInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "AssociateVirtualInterfaceInput"} +func (s *AssociateMacSecKeyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateMacSecKeyInput"} if s.ConnectionId == nil { invalidParams.Add(request.NewErrParamRequired("ConnectionId")) } - if s.VirtualInterfaceId == nil { - invalidParams.Add(request.NewErrParamRequired("VirtualInterfaceId")) - } if invalidParams.Len() > 0 { return invalidParams @@ -5752,66 +6039,162 @@ func (s *AssociateVirtualInterfaceInput) Validate() error { return nil } +// SetCak sets the Cak field's value. +func (s *AssociateMacSecKeyInput) SetCak(v string) *AssociateMacSecKeyInput { + s.Cak = &v + return s +} + +// SetCkn sets the Ckn field's value. +func (s *AssociateMacSecKeyInput) SetCkn(v string) *AssociateMacSecKeyInput { + s.Ckn = &v + return s +} + // SetConnectionId sets the ConnectionId field's value. -func (s *AssociateVirtualInterfaceInput) SetConnectionId(v string) *AssociateVirtualInterfaceInput { +func (s *AssociateMacSecKeyInput) SetConnectionId(v string) *AssociateMacSecKeyInput { s.ConnectionId = &v return s } -// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. -func (s *AssociateVirtualInterfaceInput) SetVirtualInterfaceId(v string) *AssociateVirtualInterfaceInput { - s.VirtualInterfaceId = &v +// SetSecretARN sets the SecretARN field's value. +func (s *AssociateMacSecKeyInput) SetSecretARN(v string) *AssociateMacSecKeyInput { + s.SecretARN = &v return s } -// Information about the associated gateway. -type AssociatedGateway struct { +type AssociateMacSecKeyOutput struct { _ struct{} `type:"structure"` - // The ID of the associated gateway. - Id *string `locationName:"id" type:"string"` - - // The ID of the AWS account that owns the associated virtual private gateway - // or transit gateway. - OwnerAccount *string `locationName:"ownerAccount" type:"string"` - - // The Region where the associated gateway is located. - Region *string `locationName:"region" type:"string"` + // The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). + ConnectionId *string `locationName:"connectionId" type:"string"` - // The type of associated gateway. - Type *string `locationName:"type" type:"string" enum:"GatewayType"` + // The MAC Security (MACsec) security keys associated with the dedicated connection. + MacSecKeys []*MacSecKey `locationName:"macSecKeys" type:"list"` } // String returns the string representation -func (s AssociatedGateway) String() string { +func (s AssociateMacSecKeyOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s AssociatedGateway) GoString() string { +func (s AssociateMacSecKeyOutput) GoString() string { return s.String() } -// SetId sets the Id field's value. -func (s *AssociatedGateway) SetId(v string) *AssociatedGateway { - s.Id = &v +// SetConnectionId sets the ConnectionId field's value. +func (s *AssociateMacSecKeyOutput) SetConnectionId(v string) *AssociateMacSecKeyOutput { + s.ConnectionId = &v return s } -// SetOwnerAccount sets the OwnerAccount field's value. -func (s *AssociatedGateway) SetOwnerAccount(v string) *AssociatedGateway { - s.OwnerAccount = &v +// SetMacSecKeys sets the MacSecKeys field's value. +func (s *AssociateMacSecKeyOutput) SetMacSecKeys(v []*MacSecKey) *AssociateMacSecKeyOutput { + s.MacSecKeys = v return s } -// SetRegion sets the Region field's value. -func (s *AssociatedGateway) SetRegion(v string) *AssociatedGateway { - s.Region = &v - return s -} +type AssociateVirtualInterfaceInput struct { + _ struct{} `type:"structure"` -// SetType sets the Type field's value. -func (s *AssociatedGateway) SetType(v string) *AssociatedGateway { + // The ID of the LAG or connection. + // + // ConnectionId is a required field + ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` + + // The ID of the virtual interface. + // + // VirtualInterfaceId is a required field + VirtualInterfaceId *string `locationName:"virtualInterfaceId" type:"string" required:"true"` +} + +// String returns the string representation +func (s AssociateVirtualInterfaceInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AssociateVirtualInterfaceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AssociateVirtualInterfaceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AssociateVirtualInterfaceInput"} + if s.ConnectionId == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectionId")) + } + if s.VirtualInterfaceId == nil { + invalidParams.Add(request.NewErrParamRequired("VirtualInterfaceId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConnectionId sets the ConnectionId field's value. +func (s *AssociateVirtualInterfaceInput) SetConnectionId(v string) *AssociateVirtualInterfaceInput { + s.ConnectionId = &v + return s +} + +// SetVirtualInterfaceId sets the VirtualInterfaceId field's value. +func (s *AssociateVirtualInterfaceInput) SetVirtualInterfaceId(v string) *AssociateVirtualInterfaceInput { + s.VirtualInterfaceId = &v + return s +} + +// Information about the associated gateway. +type AssociatedGateway struct { + _ struct{} `type:"structure"` + + // The ID of the associated gateway. + Id *string `locationName:"id" type:"string"` + + // The ID of the AWS account that owns the associated virtual private gateway + // or transit gateway. + OwnerAccount *string `locationName:"ownerAccount" type:"string"` + + // The Region where the associated gateway is located. + Region *string `locationName:"region" type:"string"` + + // The type of associated gateway. + Type *string `locationName:"type" type:"string" enum:"GatewayType"` +} + +// String returns the string representation +func (s AssociatedGateway) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AssociatedGateway) GoString() string { + return s.String() +} + +// SetId sets the Id field's value. +func (s *AssociatedGateway) SetId(v string) *AssociatedGateway { + s.Id = &v + return s +} + +// SetOwnerAccount sets the OwnerAccount field's value. +func (s *AssociatedGateway) SetOwnerAccount(v string) *AssociatedGateway { + s.OwnerAccount = &v + return s +} + +// SetRegion sets the Region field's value. +func (s *AssociatedGateway) SetRegion(v string) *AssociatedGateway { + s.Region = &v + return s +} + +// SetType sets the Type field's value. +func (s *AssociatedGateway) SetType(v string) *AssociatedGateway { s.Type = &v return s } @@ -6421,6 +6804,11 @@ type Connection struct { // * unknown: The state of the connection is not available. ConnectionState *string `locationName:"connectionState" type:"string" enum:"ConnectionState"` + // The MAC Security (MACsec) connection encryption mode. + // + // The valid values are no_encrypt, should_encrypt, and must_encrypt. + EncryptionMode *string `locationName:"encryptionMode" type:"string"` + // Indicates whether the connection supports a secondary BGP peer in the same // address family (IPv4/IPv6). HasLogicalRedundancy *string `locationName:"hasLogicalRedundancy" type:"string" enum:"HasLogicalRedundancy"` @@ -6437,12 +6825,24 @@ type Connection struct { // The location of the connection. Location *string `locationName:"location" type:"string"` + // Indicates whether the connection supports MAC Security (MACsec). + MacSecCapable *bool `locationName:"macSecCapable" type:"boolean"` + + // The MAC Security (MACsec) security keys associated with the connection. + MacSecKeys []*MacSecKey `locationName:"macSecKeys" type:"list"` + // The ID of the AWS account that owns the connection. OwnerAccount *string `locationName:"ownerAccount" type:"string"` // The name of the AWS Direct Connect service provider associated with the connection. PartnerName *string `locationName:"partnerName" type:"string"` + // The MAC Security (MACsec) port link status of the connection. + // + // The valid values are Encryption Up, which means that there is an active Connection + // Key Name, or Encryption Down. + PortEncryptionStatus *string `locationName:"portEncryptionStatus" type:"string"` + // The name of the service provider associated with the connection. ProviderName *string `locationName:"providerName" type:"string"` @@ -6502,6 +6902,12 @@ func (s *Connection) SetConnectionState(v string) *Connection { return s } +// SetEncryptionMode sets the EncryptionMode field's value. +func (s *Connection) SetEncryptionMode(v string) *Connection { + s.EncryptionMode = &v + return s +} + // SetHasLogicalRedundancy sets the HasLogicalRedundancy field's value. func (s *Connection) SetHasLogicalRedundancy(v string) *Connection { s.HasLogicalRedundancy = &v @@ -6532,6 +6938,18 @@ func (s *Connection) SetLocation(v string) *Connection { return s } +// SetMacSecCapable sets the MacSecCapable field's value. +func (s *Connection) SetMacSecCapable(v bool) *Connection { + s.MacSecCapable = &v + return s +} + +// SetMacSecKeys sets the MacSecKeys field's value. +func (s *Connection) SetMacSecKeys(v []*MacSecKey) *Connection { + s.MacSecKeys = v + return s +} + // SetOwnerAccount sets the OwnerAccount field's value. func (s *Connection) SetOwnerAccount(v string) *Connection { s.OwnerAccount = &v @@ -6544,6 +6962,12 @@ func (s *Connection) SetPartnerName(v string) *Connection { return s } +// SetPortEncryptionStatus sets the PortEncryptionStatus field's value. +func (s *Connection) SetPortEncryptionStatus(v string) *Connection { + s.PortEncryptionStatus = &v + return s +} + // SetProviderName sets the ProviderName field's value. func (s *Connection) SetProviderName(v string) *Connection { s.ProviderName = &v @@ -6670,6 +7094,13 @@ type CreateConnectionInput struct { // The name of the service provider associated with the requested connection. ProviderName *string `locationName:"providerName" type:"string"` + // Indicates whether you want the connection to support MAC Security (MACsec). + // + // MAC Security (MACsec) is only available on dedicated connections. For information + // about MAC Security (MACsec) prerequisties, see MACsec prerequisties (https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) + // in the AWS Direct Connect User Guide. + RequestMACSec *bool `locationName:"requestMACSec" type:"boolean"` + // The tags to associate with the lag. Tags []*Tag `locationName:"tags" min:"1" type:"list"` } @@ -6746,6 +7177,12 @@ func (s *CreateConnectionInput) SetProviderName(v string) *CreateConnectionInput return s } +// SetRequestMACSec sets the RequestMACSec field's value. +func (s *CreateConnectionInput) SetRequestMACSec(v bool) *CreateConnectionInput { + s.RequestMACSec = &v + return s +} + // SetTags sets the Tags field's value. func (s *CreateConnectionInput) SetTags(v []*Tag) *CreateConnectionInput { s.Tags = v @@ -7165,6 +7602,14 @@ type CreateLagInput struct { // The name of the service provider associated with the LAG. ProviderName *string `locationName:"providerName" type:"string"` + // Indicates whether the connection will support MAC Security (MACsec). + // + // All connections in the LAG must be capable of supporting MAC Security (MACsec). + // For information about MAC Security (MACsec) prerequisties, see MACsec prerequisties + // (https://docs.aws.amazon.com/directconnect/latest/UserGuide/direct-connect-mac-sec-getting-started.html#mac-sec-prerequisites) + // in the AWS Direct Connect User Guide. + RequestMACSec *bool `locationName:"requestMACSec" type:"boolean"` + // The tags to associate with the LAG. Tags []*Tag `locationName:"tags" min:"1" type:"list"` } @@ -7269,6 +7714,12 @@ func (s *CreateLagInput) SetProviderName(v string) *CreateLagInput { return s } +// SetRequestMACSec sets the RequestMACSec field's value. +func (s *CreateLagInput) SetRequestMACSec(v bool) *CreateLagInput { + s.RequestMACSec = &v + return s +} + // SetTags sets the Tags field's value. func (s *CreateLagInput) SetTags(v []*Tag) *CreateLagInput { s.Tags = v @@ -8987,6 +9438,96 @@ func (s *DisassociateConnectionFromLagInput) SetLagId(v string) *DisassociateCon return s } +type DisassociateMacSecKeyInput struct { + _ struct{} `type:"structure"` + + // The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). + // + // You can use DescribeConnections or DescribeLags to retrieve connection ID. + // + // ConnectionId is a required field + ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` + + // The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key. + // + // You can use DescribeConnections to retrieve the ARN of the MAC Security (MACsec) + // secret key. + // + // SecretARN is a required field + SecretARN *string `locationName:"secretARN" type:"string" required:"true"` +} + +// String returns the string representation +func (s DisassociateMacSecKeyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateMacSecKeyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DisassociateMacSecKeyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DisassociateMacSecKeyInput"} + if s.ConnectionId == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectionId")) + } + if s.SecretARN == nil { + invalidParams.Add(request.NewErrParamRequired("SecretARN")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConnectionId sets the ConnectionId field's value. +func (s *DisassociateMacSecKeyInput) SetConnectionId(v string) *DisassociateMacSecKeyInput { + s.ConnectionId = &v + return s +} + +// SetSecretARN sets the SecretARN field's value. +func (s *DisassociateMacSecKeyInput) SetSecretARN(v string) *DisassociateMacSecKeyInput { + s.SecretARN = &v + return s +} + +type DisassociateMacSecKeyOutput struct { + _ struct{} `type:"structure"` + + // The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx). + ConnectionId *string `locationName:"connectionId" type:"string"` + + // The MAC Security (MACsec) security keys no longer associated with the dedicated + // connection. + MacSecKeys []*MacSecKey `locationName:"macSecKeys" type:"list"` +} + +// String returns the string representation +func (s DisassociateMacSecKeyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DisassociateMacSecKeyOutput) GoString() string { + return s.String() +} + +// SetConnectionId sets the ConnectionId field's value. +func (s *DisassociateMacSecKeyOutput) SetConnectionId(v string) *DisassociateMacSecKeyOutput { + s.ConnectionId = &v + return s +} + +// SetMacSecKeys sets the MacSecKeys field's value. +func (s *DisassociateMacSecKeyOutput) SetMacSecKeys(v []*MacSecKey) *DisassociateMacSecKeyOutput { + s.MacSecKeys = v + return s +} + // A tag key was specified more than once. type DuplicateTagKeysException struct { _ struct{} `type:"structure"` @@ -9596,6 +10137,11 @@ type Lag struct { // The possible values are 1Gbps and 10Gbps. ConnectionsBandwidth *string `locationName:"connectionsBandwidth" type:"string"` + // The LAG MAC Security (MACsec) encryption mode. + // + // The valid values are no_encrypt, should_encrypt, and must_encrypt. + EncryptionMode *string `locationName:"encryptionMode" type:"string"` + // Indicates whether the LAG supports a secondary BGP peer in the same address // family (IPv4/IPv6). HasLogicalRedundancy *string `locationName:"hasLogicalRedundancy" type:"string" enum:"HasLogicalRedundancy"` @@ -9631,6 +10177,12 @@ type Lag struct { // The location of the LAG. Location *string `locationName:"location" type:"string"` + // Indicates whether the LAG supports MAC Security (MACsec). + MacSecCapable *bool `locationName:"macSecCapable" type:"boolean"` + + // The MAC Security (MACsec) security keys associated with the LAG. + MacSecKeys []*MacSecKey `locationName:"macSecKeys" type:"list"` + // The minimum number of physical dedicated connections that must be operational // for the LAG itself to be operational. MinimumLinks *int64 `locationName:"minimumLinks" type:"integer"` @@ -9692,6 +10244,12 @@ func (s *Lag) SetConnectionsBandwidth(v string) *Lag { return s } +// SetEncryptionMode sets the EncryptionMode field's value. +func (s *Lag) SetEncryptionMode(v string) *Lag { + s.EncryptionMode = &v + return s +} + // SetHasLogicalRedundancy sets the HasLogicalRedundancy field's value. func (s *Lag) SetHasLogicalRedundancy(v string) *Lag { s.HasLogicalRedundancy = &v @@ -9728,6 +10286,18 @@ func (s *Lag) SetLocation(v string) *Lag { return s } +// SetMacSecCapable sets the MacSecCapable field's value. +func (s *Lag) SetMacSecCapable(v bool) *Lag { + s.MacSecCapable = &v + return s +} + +// SetMacSecKeys sets the MacSecKeys field's value. +func (s *Lag) SetMacSecKeys(v []*MacSecKey) *Lag { + s.MacSecKeys = v + return s +} + // SetMinimumLinks sets the MinimumLinks field's value. func (s *Lag) SetMinimumLinks(v int64) *Lag { s.MinimumLinks = &v @@ -9910,6 +10480,9 @@ func (s *Loa) SetLoaContentType(v string) *Loa { type Location struct { _ struct{} `type:"structure"` + // The available MAC Security (MACsec) port speeds for the location. + AvailableMacSecPortSpeeds []*string `locationName:"availableMacSecPortSpeeds" type:"list"` + // The available port speeds for the location. AvailablePortSpeeds []*string `locationName:"availablePortSpeeds" type:"list"` @@ -9937,6 +10510,12 @@ func (s Location) GoString() string { return s.String() } +// SetAvailableMacSecPortSpeeds sets the AvailableMacSecPortSpeeds field's value. +func (s *Location) SetAvailableMacSecPortSpeeds(v []*string) *Location { + s.AvailableMacSecPortSpeeds = v + return s +} + // SetAvailablePortSpeeds sets the AvailablePortSpeeds field's value. func (s *Location) SetAvailablePortSpeeds(v []*string) *Location { s.AvailablePortSpeeds = v @@ -9967,6 +10546,72 @@ func (s *Location) SetRegion(v string) *Location { return s } +// Information about the MAC Security (MACsec) secret key. +type MacSecKey struct { + _ struct{} `type:"structure"` + + // The Connection Key Name (CKN) for the MAC Security secret key. + Ckn *string `locationName:"ckn" type:"string"` + + // The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key. + SecretARN *string `locationName:"secretARN" type:"string"` + + // The date that the MAC Security (MACsec) secret key takes effect. The value + // is displayed in UTC format. + StartOn *string `locationName:"startOn" type:"string"` + + // The state of the MAC Security (MACsec) secret key. + // + // The possible values are: + // + // * associating: The MAC Security (MACsec) secret key is being validated + // and not yet associated with the connection or LAG. + // + // * associated: The MAC Security (MACsec) secret key is validated and associated + // with the connection or LAG. + // + // * disassociating: The MAC Security (MACsec) secret key is being disassociated + // from the connection or LAG + // + // * disassociated: The MAC Security (MACsec) secret key is no longer associated + // with the connection or LAG. + State *string `locationName:"state" type:"string"` +} + +// String returns the string representation +func (s MacSecKey) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MacSecKey) GoString() string { + return s.String() +} + +// SetCkn sets the Ckn field's value. +func (s *MacSecKey) SetCkn(v string) *MacSecKey { + s.Ckn = &v + return s +} + +// SetSecretARN sets the SecretARN field's value. +func (s *MacSecKey) SetSecretARN(v string) *MacSecKey { + s.SecretARN = &v + return s +} + +// SetStartOn sets the StartOn field's value. +func (s *MacSecKey) SetStartOn(v string) *MacSecKey { + s.StartOn = &v + return s +} + +// SetState sets the State field's value. +func (s *MacSecKey) SetState(v string) *MacSecKey { + s.State = &v + return s +} + // Information about a new BGP peer. type NewBGPPeer struct { _ struct{} `type:"structure"` @@ -11376,6 +12021,299 @@ func (s UntagResourceOutput) GoString() string { return s.String() } +type UpdateConnectionInput struct { + _ struct{} `type:"structure"` + + // The ID of the dedicated connection. + // + // You can use DescribeConnections to retrieve the connection ID. + // + // ConnectionId is a required field + ConnectionId *string `locationName:"connectionId" type:"string" required:"true"` + + // The name of the connection. + ConnectionName *string `locationName:"connectionName" type:"string"` + + // The connection MAC Security (MACsec) encryption mode. + // + // The valid values are no_encrypt, should_encrypt, and must_encrypt. + EncryptionMode *string `locationName:"encryptionMode" type:"string"` +} + +// String returns the string representation +func (s UpdateConnectionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateConnectionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateConnectionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateConnectionInput"} + if s.ConnectionId == nil { + invalidParams.Add(request.NewErrParamRequired("ConnectionId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConnectionId sets the ConnectionId field's value. +func (s *UpdateConnectionInput) SetConnectionId(v string) *UpdateConnectionInput { + s.ConnectionId = &v + return s +} + +// SetConnectionName sets the ConnectionName field's value. +func (s *UpdateConnectionInput) SetConnectionName(v string) *UpdateConnectionInput { + s.ConnectionName = &v + return s +} + +// SetEncryptionMode sets the EncryptionMode field's value. +func (s *UpdateConnectionInput) SetEncryptionMode(v string) *UpdateConnectionInput { + s.EncryptionMode = &v + return s +} + +// Information about an AWS Direct Connect connection. +type UpdateConnectionOutput struct { + _ struct{} `type:"structure"` + + // The Direct Connect endpoint on which the physical connection terminates. + AwsDevice *string `locationName:"awsDevice" deprecated:"true" type:"string"` + + // The Direct Connect endpoint on which the physical connection terminates. + AwsDeviceV2 *string `locationName:"awsDeviceV2" type:"string"` + + // The bandwidth of the connection. + Bandwidth *string `locationName:"bandwidth" type:"string"` + + // The ID of the connection. + ConnectionId *string `locationName:"connectionId" type:"string"` + + // The name of the connection. + ConnectionName *string `locationName:"connectionName" type:"string"` + + // The state of the connection. The following are the possible values: + // + // * ordering: The initial state of a hosted connection provisioned on an + // interconnect. The connection stays in the ordering state until the owner + // of the hosted connection confirms or declines the connection order. + // + // * requested: The initial state of a standard connection. The connection + // stays in the requested state until the Letter of Authorization (LOA) is + // sent to the customer. + // + // * pending: The connection has been approved and is being initialized. + // + // * available: The network link is up and the connection is ready for use. + // + // * down: The network link is down. + // + // * deleting: The connection is being deleted. + // + // * deleted: The connection has been deleted. + // + // * rejected: A hosted connection in the ordering state enters the rejected + // state if it is deleted by the customer. + // + // * unknown: The state of the connection is not available. + ConnectionState *string `locationName:"connectionState" type:"string" enum:"ConnectionState"` + + // The MAC Security (MACsec) connection encryption mode. + // + // The valid values are no_encrypt, should_encrypt, and must_encrypt. + EncryptionMode *string `locationName:"encryptionMode" type:"string"` + + // Indicates whether the connection supports a secondary BGP peer in the same + // address family (IPv4/IPv6). + HasLogicalRedundancy *string `locationName:"hasLogicalRedundancy" type:"string" enum:"HasLogicalRedundancy"` + + // Indicates whether jumbo frames (9001 MTU) are supported. + JumboFrameCapable *bool `locationName:"jumboFrameCapable" type:"boolean"` + + // The ID of the LAG. + LagId *string `locationName:"lagId" type:"string"` + + // The time of the most recent call to DescribeLoa for this connection. + LoaIssueTime *time.Time `locationName:"loaIssueTime" type:"timestamp"` + + // The location of the connection. + Location *string `locationName:"location" type:"string"` + + // Indicates whether the connection supports MAC Security (MACsec). + MacSecCapable *bool `locationName:"macSecCapable" type:"boolean"` + + // The MAC Security (MACsec) security keys associated with the connection. + MacSecKeys []*MacSecKey `locationName:"macSecKeys" type:"list"` + + // The ID of the AWS account that owns the connection. + OwnerAccount *string `locationName:"ownerAccount" type:"string"` + + // The name of the AWS Direct Connect service provider associated with the connection. + PartnerName *string `locationName:"partnerName" type:"string"` + + // The MAC Security (MACsec) port link status of the connection. + // + // The valid values are Encryption Up, which means that there is an active Connection + // Key Name, or Encryption Down. + PortEncryptionStatus *string `locationName:"portEncryptionStatus" type:"string"` + + // The name of the service provider associated with the connection. + ProviderName *string `locationName:"providerName" type:"string"` + + // The AWS Region where the connection is located. + Region *string `locationName:"region" type:"string"` + + // The tags associated with the connection. + Tags []*Tag `locationName:"tags" min:"1" type:"list"` + + // The ID of the VLAN. + Vlan *int64 `locationName:"vlan" type:"integer"` +} + +// String returns the string representation +func (s UpdateConnectionOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateConnectionOutput) GoString() string { + return s.String() +} + +// SetAwsDevice sets the AwsDevice field's value. +func (s *UpdateConnectionOutput) SetAwsDevice(v string) *UpdateConnectionOutput { + s.AwsDevice = &v + return s +} + +// SetAwsDeviceV2 sets the AwsDeviceV2 field's value. +func (s *UpdateConnectionOutput) SetAwsDeviceV2(v string) *UpdateConnectionOutput { + s.AwsDeviceV2 = &v + return s +} + +// SetBandwidth sets the Bandwidth field's value. +func (s *UpdateConnectionOutput) SetBandwidth(v string) *UpdateConnectionOutput { + s.Bandwidth = &v + return s +} + +// SetConnectionId sets the ConnectionId field's value. +func (s *UpdateConnectionOutput) SetConnectionId(v string) *UpdateConnectionOutput { + s.ConnectionId = &v + return s +} + +// SetConnectionName sets the ConnectionName field's value. +func (s *UpdateConnectionOutput) SetConnectionName(v string) *UpdateConnectionOutput { + s.ConnectionName = &v + return s +} + +// SetConnectionState sets the ConnectionState field's value. +func (s *UpdateConnectionOutput) SetConnectionState(v string) *UpdateConnectionOutput { + s.ConnectionState = &v + return s +} + +// SetEncryptionMode sets the EncryptionMode field's value. +func (s *UpdateConnectionOutput) SetEncryptionMode(v string) *UpdateConnectionOutput { + s.EncryptionMode = &v + return s +} + +// SetHasLogicalRedundancy sets the HasLogicalRedundancy field's value. +func (s *UpdateConnectionOutput) SetHasLogicalRedundancy(v string) *UpdateConnectionOutput { + s.HasLogicalRedundancy = &v + return s +} + +// SetJumboFrameCapable sets the JumboFrameCapable field's value. +func (s *UpdateConnectionOutput) SetJumboFrameCapable(v bool) *UpdateConnectionOutput { + s.JumboFrameCapable = &v + return s +} + +// SetLagId sets the LagId field's value. +func (s *UpdateConnectionOutput) SetLagId(v string) *UpdateConnectionOutput { + s.LagId = &v + return s +} + +// SetLoaIssueTime sets the LoaIssueTime field's value. +func (s *UpdateConnectionOutput) SetLoaIssueTime(v time.Time) *UpdateConnectionOutput { + s.LoaIssueTime = &v + return s +} + +// SetLocation sets the Location field's value. +func (s *UpdateConnectionOutput) SetLocation(v string) *UpdateConnectionOutput { + s.Location = &v + return s +} + +// SetMacSecCapable sets the MacSecCapable field's value. +func (s *UpdateConnectionOutput) SetMacSecCapable(v bool) *UpdateConnectionOutput { + s.MacSecCapable = &v + return s +} + +// SetMacSecKeys sets the MacSecKeys field's value. +func (s *UpdateConnectionOutput) SetMacSecKeys(v []*MacSecKey) *UpdateConnectionOutput { + s.MacSecKeys = v + return s +} + +// SetOwnerAccount sets the OwnerAccount field's value. +func (s *UpdateConnectionOutput) SetOwnerAccount(v string) *UpdateConnectionOutput { + s.OwnerAccount = &v + return s +} + +// SetPartnerName sets the PartnerName field's value. +func (s *UpdateConnectionOutput) SetPartnerName(v string) *UpdateConnectionOutput { + s.PartnerName = &v + return s +} + +// SetPortEncryptionStatus sets the PortEncryptionStatus field's value. +func (s *UpdateConnectionOutput) SetPortEncryptionStatus(v string) *UpdateConnectionOutput { + s.PortEncryptionStatus = &v + return s +} + +// SetProviderName sets the ProviderName field's value. +func (s *UpdateConnectionOutput) SetProviderName(v string) *UpdateConnectionOutput { + s.ProviderName = &v + return s +} + +// SetRegion sets the Region field's value. +func (s *UpdateConnectionOutput) SetRegion(v string) *UpdateConnectionOutput { + s.Region = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *UpdateConnectionOutput) SetTags(v []*Tag) *UpdateConnectionOutput { + s.Tags = v + return s +} + +// SetVlan sets the Vlan field's value. +func (s *UpdateConnectionOutput) SetVlan(v int64) *UpdateConnectionOutput { + s.Vlan = &v + return s +} + type UpdateDirectConnectGatewayAssociationInput struct { _ struct{} `type:"structure"` @@ -11444,6 +12382,11 @@ func (s *UpdateDirectConnectGatewayAssociationOutput) SetDirectConnectGatewayAss type UpdateLagInput struct { _ struct{} `type:"structure"` + // The LAG MAC Security (MACsec) encryption mode. + // + // AWS applies the value to all connections which are part of the LAG. + EncryptionMode *string `locationName:"encryptionMode" type:"string"` + // The ID of the LAG. // // LagId is a required field @@ -11480,6 +12423,12 @@ func (s *UpdateLagInput) Validate() error { return nil } +// SetEncryptionMode sets the EncryptionMode field's value. +func (s *UpdateLagInput) SetEncryptionMode(v string) *UpdateLagInput { + s.EncryptionMode = &v + return s +} + // SetLagId sets the LagId field's value. func (s *UpdateLagInput) SetLagId(v string) *UpdateLagInput { s.LagId = &v diff --git a/service/directconnect/directconnectiface/interface.go b/service/directconnect/directconnectiface/interface.go index 2c10975655e..58759ae746a 100644 --- a/service/directconnect/directconnectiface/interface.go +++ b/service/directconnect/directconnectiface/interface.go @@ -92,6 +92,10 @@ type DirectConnectAPI interface { AssociateHostedConnectionWithContext(aws.Context, *directconnect.AssociateHostedConnectionInput, ...request.Option) (*directconnect.Connection, error) AssociateHostedConnectionRequest(*directconnect.AssociateHostedConnectionInput) (*request.Request, *directconnect.Connection) + AssociateMacSecKey(*directconnect.AssociateMacSecKeyInput) (*directconnect.AssociateMacSecKeyOutput, error) + AssociateMacSecKeyWithContext(aws.Context, *directconnect.AssociateMacSecKeyInput, ...request.Option) (*directconnect.AssociateMacSecKeyOutput, error) + AssociateMacSecKeyRequest(*directconnect.AssociateMacSecKeyInput) (*request.Request, *directconnect.AssociateMacSecKeyOutput) + AssociateVirtualInterface(*directconnect.AssociateVirtualInterfaceInput) (*directconnect.VirtualInterface, error) AssociateVirtualInterfaceWithContext(aws.Context, *directconnect.AssociateVirtualInterfaceInput, ...request.Option) (*directconnect.VirtualInterface, error) AssociateVirtualInterfaceRequest(*directconnect.AssociateVirtualInterfaceInput) (*request.Request, *directconnect.VirtualInterface) @@ -252,6 +256,10 @@ type DirectConnectAPI interface { DisassociateConnectionFromLagWithContext(aws.Context, *directconnect.DisassociateConnectionFromLagInput, ...request.Option) (*directconnect.Connection, error) DisassociateConnectionFromLagRequest(*directconnect.DisassociateConnectionFromLagInput) (*request.Request, *directconnect.Connection) + DisassociateMacSecKey(*directconnect.DisassociateMacSecKeyInput) (*directconnect.DisassociateMacSecKeyOutput, error) + DisassociateMacSecKeyWithContext(aws.Context, *directconnect.DisassociateMacSecKeyInput, ...request.Option) (*directconnect.DisassociateMacSecKeyOutput, error) + DisassociateMacSecKeyRequest(*directconnect.DisassociateMacSecKeyInput) (*request.Request, *directconnect.DisassociateMacSecKeyOutput) + ListVirtualInterfaceTestHistory(*directconnect.ListVirtualInterfaceTestHistoryInput) (*directconnect.ListVirtualInterfaceTestHistoryOutput, error) ListVirtualInterfaceTestHistoryWithContext(aws.Context, *directconnect.ListVirtualInterfaceTestHistoryInput, ...request.Option) (*directconnect.ListVirtualInterfaceTestHistoryOutput, error) ListVirtualInterfaceTestHistoryRequest(*directconnect.ListVirtualInterfaceTestHistoryInput) (*request.Request, *directconnect.ListVirtualInterfaceTestHistoryOutput) @@ -272,6 +280,10 @@ type DirectConnectAPI interface { UntagResourceWithContext(aws.Context, *directconnect.UntagResourceInput, ...request.Option) (*directconnect.UntagResourceOutput, error) UntagResourceRequest(*directconnect.UntagResourceInput) (*request.Request, *directconnect.UntagResourceOutput) + UpdateConnection(*directconnect.UpdateConnectionInput) (*directconnect.UpdateConnectionOutput, error) + UpdateConnectionWithContext(aws.Context, *directconnect.UpdateConnectionInput, ...request.Option) (*directconnect.UpdateConnectionOutput, error) + UpdateConnectionRequest(*directconnect.UpdateConnectionInput) (*request.Request, *directconnect.UpdateConnectionOutput) + UpdateDirectConnectGatewayAssociation(*directconnect.UpdateDirectConnectGatewayAssociationInput) (*directconnect.UpdateDirectConnectGatewayAssociationOutput, error) UpdateDirectConnectGatewayAssociationWithContext(aws.Context, *directconnect.UpdateDirectConnectGatewayAssociationInput, ...request.Option) (*directconnect.UpdateDirectConnectGatewayAssociationOutput, error) UpdateDirectConnectGatewayAssociationRequest(*directconnect.UpdateDirectConnectGatewayAssociationInput) (*request.Request, *directconnect.UpdateDirectConnectGatewayAssociationOutput) diff --git a/service/iot/api.go b/service/iot/api.go index 4353a54f396..44f7830f5a9 100644 --- a/service/iot/api.go +++ b/service/iot/api.go @@ -45926,6 +45926,13 @@ type ListThingsInput struct { // The name of the thing type used to search for things. ThingTypeName *string `location:"querystring" locationName:"thingTypeName" min:"1" type:"string"` + + // When true, the action returns the thing resources with attribute values that + // start with the attributeValue provided. + // + // When false, or not present, the action returns only the thing resources with + // attribute values that match the entire attributeValue provided. + UsePrefixAttributeValue *bool `location:"querystring" locationName:"usePrefixAttributeValue" type:"boolean"` } // String returns the string representation @@ -45984,6 +45991,12 @@ func (s *ListThingsInput) SetThingTypeName(v string) *ListThingsInput { return s } +// SetUsePrefixAttributeValue sets the UsePrefixAttributeValue field's value. +func (s *ListThingsInput) SetUsePrefixAttributeValue(v bool) *ListThingsInput { + s.UsePrefixAttributeValue = &v + return s +} + // The output from the ListThings operation. type ListThingsOutput struct { _ struct{} `type:"structure"` diff --git a/service/iotwireless/api.go b/service/iotwireless/api.go index a13ec0d95f9..b12320f9fbb 100644 --- a/service/iotwireless/api.go +++ b/service/iotwireless/api.go @@ -5422,6 +5422,43 @@ func (s AssociateWirelessGatewayWithThingOutput) GoString() string { return s.String() } +// List of sidewalk certificates. +type CertificateList struct { + _ struct{} `type:"structure"` + + // The certificate chain algorithm provided by sidewalk. + // + // SigningAlg is a required field + SigningAlg *string `type:"string" required:"true" enum:"SigningAlg"` + + // The value of the chosen sidewalk certificate. + // + // Value is a required field + Value *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s CertificateList) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CertificateList) GoString() string { + return s.String() +} + +// SetSigningAlg sets the SigningAlg field's value. +func (s *CertificateList) SetSigningAlg(v string) *CertificateList { + s.SigningAlg = &v + return s +} + +// SetValue sets the Value field's value. +func (s *CertificateList) SetValue(v string) *CertificateList { + s.Value = &v + return s +} + // Adding, updating, or deleting the resource can cause an inconsistent state. type ConflictException struct { _ struct{} `type:"structure"` @@ -7603,6 +7640,9 @@ type GetWirelessDeviceOutput struct { // The name of the resource. Name *string `type:"string"` + // Sidewalk device object. + Sidewalk *SidewalkDevice `type:"structure"` + // The ARN of the thing associated with the wireless device. ThingArn *string `type:"string"` @@ -7660,6 +7700,12 @@ func (s *GetWirelessDeviceOutput) SetName(v string) *GetWirelessDeviceOutput { return s } +// SetSidewalk sets the Sidewalk field's value. +func (s *GetWirelessDeviceOutput) SetSidewalk(v *SidewalkDevice) *GetWirelessDeviceOutput { + s.Sidewalk = v + return s +} + // SetThingArn sets the ThingArn field's value. func (s *GetWirelessDeviceOutput) SetThingArn(v string) *GetWirelessDeviceOutput { s.ThingArn = &v @@ -7728,6 +7774,9 @@ type GetWirelessDeviceStatisticsOutput struct { // Information about the wireless device's operations. LoRaWAN *LoRaWANDeviceMetadata `type:"structure"` + // MetaData for Sidewalk device. + Sidewalk *SidewalkDeviceMetadata `type:"structure"` + // The ID of the wireless device. WirelessDeviceId *string `type:"string"` } @@ -7754,6 +7803,12 @@ func (s *GetWirelessDeviceStatisticsOutput) SetLoRaWAN(v *LoRaWANDeviceMetadata) return s } +// SetSidewalk sets the Sidewalk field's value. +func (s *GetWirelessDeviceStatisticsOutput) SetSidewalk(v *SidewalkDeviceMetadata) *GetWirelessDeviceStatisticsOutput { + s.Sidewalk = v + return s +} + // SetWirelessDeviceId sets the WirelessDeviceId field's value. func (s *GetWirelessDeviceStatisticsOutput) SetWirelessDeviceId(v string) *GetWirelessDeviceStatisticsOutput { s.WirelessDeviceId = &v @@ -8075,6 +8130,9 @@ func (s *GetWirelessGatewayStatisticsInput) SetWirelessGatewayId(v string) *GetW type GetWirelessGatewayStatisticsOutput struct { _ struct{} `type:"structure"` + // The connection status of the wireless gateway. + ConnectionStatus *string `type:"string" enum:"ConnectionStatus"` + // The date and time when the most recent uplink was received. LastUplinkReceivedAt *string `type:"string"` @@ -8092,6 +8150,12 @@ func (s GetWirelessGatewayStatisticsOutput) GoString() string { return s.String() } +// SetConnectionStatus sets the ConnectionStatus field's value. +func (s *GetWirelessGatewayStatisticsOutput) SetConnectionStatus(v string) *GetWirelessGatewayStatisticsOutput { + s.ConnectionStatus = &v + return s +} + // SetLastUplinkReceivedAt sets the LastUplinkReceivedAt field's value. func (s *GetWirelessGatewayStatisticsOutput) SetLastUplinkReceivedAt(v string) *GetWirelessGatewayStatisticsOutput { s.LastUplinkReceivedAt = &v @@ -10310,12 +10374,114 @@ func (s *SidewalkAccountInfoWithFingerprint) SetFingerprint(v string) *SidewalkA return s } +// Sidewalk device object. +type SidewalkDevice struct { + _ struct{} `type:"structure"` + + // The sidewalk device certificates for Ed25519 and P256r1. + DeviceCertificates []*CertificateList `type:"list"` + + // The sidewalk device identification. + SidewalkId *string `type:"string"` + + // The Sidewalk manufacturing series number. + SidewalkManufacturingSn *string `type:"string"` +} + +// String returns the string representation +func (s SidewalkDevice) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SidewalkDevice) GoString() string { + return s.String() +} + +// SetDeviceCertificates sets the DeviceCertificates field's value. +func (s *SidewalkDevice) SetDeviceCertificates(v []*CertificateList) *SidewalkDevice { + s.DeviceCertificates = v + return s +} + +// SetSidewalkId sets the SidewalkId field's value. +func (s *SidewalkDevice) SetSidewalkId(v string) *SidewalkDevice { + s.SidewalkId = &v + return s +} + +// SetSidewalkManufacturingSn sets the SidewalkManufacturingSn field's value. +func (s *SidewalkDevice) SetSidewalkManufacturingSn(v string) *SidewalkDevice { + s.SidewalkManufacturingSn = &v + return s +} + +// MetaData for Sidewalk device. +type SidewalkDeviceMetadata struct { + _ struct{} `type:"structure"` + + // Sidewalk device battery level. + BatteryLevel *string `type:"string" enum:"BatteryLevel"` + + // Device state defines the device status of sidewalk device. + DeviceState *string `type:"string" enum:"DeviceState"` + + // Sidewalk device status notification. + Event *string `type:"string" enum:"Event"` + + // The RSSI value. + Rssi *int64 `type:"integer"` +} + +// String returns the string representation +func (s SidewalkDeviceMetadata) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s SidewalkDeviceMetadata) GoString() string { + return s.String() +} + +// SetBatteryLevel sets the BatteryLevel field's value. +func (s *SidewalkDeviceMetadata) SetBatteryLevel(v string) *SidewalkDeviceMetadata { + s.BatteryLevel = &v + return s +} + +// SetDeviceState sets the DeviceState field's value. +func (s *SidewalkDeviceMetadata) SetDeviceState(v string) *SidewalkDeviceMetadata { + s.DeviceState = &v + return s +} + +// SetEvent sets the Event field's value. +func (s *SidewalkDeviceMetadata) SetEvent(v string) *SidewalkDeviceMetadata { + s.Event = &v + return s +} + +// SetRssi sets the Rssi field's value. +func (s *SidewalkDeviceMetadata) SetRssi(v int64) *SidewalkDeviceMetadata { + s.Rssi = &v + return s +} + // Sidewalk object used by list functions. type SidewalkListDevice struct { _ struct{} `type:"structure"` // The Sidewalk Amazon ID. AmazonId *string `type:"string"` + + // The sidewalk device certificates for Ed25519 and P256r1. + DeviceCertificates []*CertificateList `type:"list"` + + // The sidewalk device identification. + SidewalkId *string `type:"string"` + + // The Sidewalk manufacturing series number. + SidewalkManufacturingSn *string `type:"string"` } // String returns the string representation @@ -10334,6 +10500,24 @@ func (s *SidewalkListDevice) SetAmazonId(v string) *SidewalkListDevice { return s } +// SetDeviceCertificates sets the DeviceCertificates field's value. +func (s *SidewalkListDevice) SetDeviceCertificates(v []*CertificateList) *SidewalkListDevice { + s.DeviceCertificates = v + return s +} + +// SetSidewalkId sets the SidewalkId field's value. +func (s *SidewalkListDevice) SetSidewalkId(v string) *SidewalkListDevice { + s.SidewalkId = &v + return s +} + +// SetSidewalkManufacturingSn sets the SidewalkManufacturingSn field's value. +func (s *SidewalkListDevice) SetSidewalkManufacturingSn(v string) *SidewalkListDevice { + s.SidewalkManufacturingSn = &v + return s +} + // Information about a Sidewalk router. type SidewalkSendDataToDevice struct { _ struct{} `type:"structure"` @@ -11489,6 +11673,97 @@ func (s *WirelessMetadata) SetSidewalk(v *SidewalkSendDataToDevice) *WirelessMet return s } +// Sidewalk device battery level. +const ( + // BatteryLevelNormal is a BatteryLevel enum value + BatteryLevelNormal = "normal" + + // BatteryLevelLow is a BatteryLevel enum value + BatteryLevelLow = "low" + + // BatteryLevelCritical is a BatteryLevel enum value + BatteryLevelCritical = "critical" +) + +// BatteryLevel_Values returns all elements of the BatteryLevel enum +func BatteryLevel_Values() []string { + return []string{ + BatteryLevelNormal, + BatteryLevelLow, + BatteryLevelCritical, + } +} + +const ( + // ConnectionStatusConnected is a ConnectionStatus enum value + ConnectionStatusConnected = "Connected" + + // ConnectionStatusDisconnected is a ConnectionStatus enum value + ConnectionStatusDisconnected = "Disconnected" +) + +// ConnectionStatus_Values returns all elements of the ConnectionStatus enum +func ConnectionStatus_Values() []string { + return []string{ + ConnectionStatusConnected, + ConnectionStatusDisconnected, + } +} + +// Device state defines the device status of sidewalk device. +const ( + // DeviceStateProvisioned is a DeviceState enum value + DeviceStateProvisioned = "Provisioned" + + // DeviceStateRegisteredNotSeen is a DeviceState enum value + DeviceStateRegisteredNotSeen = "RegisteredNotSeen" + + // DeviceStateRegisteredReachable is a DeviceState enum value + DeviceStateRegisteredReachable = "RegisteredReachable" + + // DeviceStateRegisteredUnreachable is a DeviceState enum value + DeviceStateRegisteredUnreachable = "RegisteredUnreachable" +) + +// DeviceState_Values returns all elements of the DeviceState enum +func DeviceState_Values() []string { + return []string{ + DeviceStateProvisioned, + DeviceStateRegisteredNotSeen, + DeviceStateRegisteredReachable, + DeviceStateRegisteredUnreachable, + } +} + +// Sidewalk device status notification. +const ( + // EventDiscovered is a Event enum value + EventDiscovered = "discovered" + + // EventLost is a Event enum value + EventLost = "lost" + + // EventAck is a Event enum value + EventAck = "ack" + + // EventNack is a Event enum value + EventNack = "nack" + + // EventPassthrough is a Event enum value + EventPassthrough = "passthrough" +) + +// Event_Values returns all elements of the Event enum +func Event_Values() []string { + return []string{ + EventDiscovered, + EventLost, + EventAck, + EventNack, + EventPassthrough, + } +} + const ( // ExpressionTypeRuleName is a ExpressionType enum value ExpressionTypeRuleName = "RuleName" @@ -11517,6 +11792,23 @@ func PartnerType_Values() []string { } } +// The certificate chain algorithm provided by sidewalk. +const ( + // SigningAlgEd25519 is a SigningAlg enum value + SigningAlgEd25519 = "Ed25519" + + // SigningAlgP256r1 is a SigningAlg enum value + SigningAlgP256r1 = "P256r1" +) + +// SigningAlg_Values returns all elements of the SigningAlg enum +func SigningAlg_Values() []string { + return []string{ + SigningAlgEd25519, + SigningAlgP256r1, + } +} + const ( // WirelessDeviceIdTypeWirelessDeviceId is a WirelessDeviceIdType enum value WirelessDeviceIdTypeWirelessDeviceId = "WirelessDeviceId" diff --git a/service/machinelearning/api.go b/service/machinelearning/api.go index 9e4f09e7db4..3818adf85e1 100644 --- a/service/machinelearning/api.go +++ b/service/machinelearning/api.go @@ -1034,8 +1034,8 @@ func (c *MachineLearning) DeleteEvaluationRequest(input *DeleteEvaluationInput) // // After invoking the DeleteEvaluation operation, you can use the GetEvaluation // operation to verify that the status of the Evaluation changed to DELETED. -// Caution -// The results of the DeleteEvaluation operation are irreversible. +// +// Caution: The results of the DeleteEvaluation operation are irreversible. // // 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 @@ -2357,8 +2357,8 @@ func (c *MachineLearning) PredictRequest(input *PredictInput) (req *request.Requ // Predict API operation for Amazon Machine Learning. // // Generates a prediction for the observation using the specified ML Model. -// Note -// Not all response parameters will be populated. Whether a response parameter +// +// Note: Not all response parameters will be populated. Whether a response parameter // is populated depends on the type of model requested. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions @@ -3077,7 +3077,7 @@ type CreateBatchPredictionInput struct { // // Amazon ML needs permissions to store and retrieve the logs on your behalf. // For information about how to set permissions, see the Amazon Machine Learning - // Developer Guide (http://docs.aws.amazon.com/machine-learning/latest/dg). + // Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg). // // OutputUri is a required field OutputUri *string `type:"string" required:"true"` @@ -3204,11 +3204,8 @@ type CreateDataSourceFromRDSInput struct { // The data specification of an Amazon RDS DataSource: // - // * DatabaseInformation - - // * DatabaseName - The name of the Amazon RDS database. - // - // * InstanceIdentifier - A unique identifier for the Amazon RDS database - // instance. + // * DatabaseInformation - DatabaseName - The name of the Amazon RDS database. + // InstanceIdentifier - A unique identifier for the Amazon RDS database instance. // // * DatabaseCredentials - AWS Identity and Access Management (IAM) credentials // that are used to connect to the Amazon RDS database. @@ -3216,12 +3213,12 @@ type CreateDataSourceFromRDSInput struct { // * ResourceRole - A role (DataPipelineDefaultResourceRole) assumed by an // EC2 instance to carry out the copy task from Amazon RDS to Amazon Simple // Storage Service (Amazon S3). For more information, see Role templates - // (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) + // (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) // for data pipelines. // // * ServiceRole - A role (DataPipelineDefaultRole) assumed by the AWS Data // Pipeline service to monitor the progress of the copy task from Amazon - // RDS to Amazon S3. For more information, see Role templates (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) + // RDS to Amazon S3. For more information, see Role templates (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) // for data pipelines. // // * SecurityInfo - The security information to use to access an RDS DB instance. @@ -3377,10 +3374,8 @@ type CreateDataSourceFromRedshiftInput struct { // The data specification of an Amazon Redshift DataSource: // - // * DatabaseInformation - - // * DatabaseName - The name of the Amazon Redshift database. - // - // * ClusterIdentifier - The unique ID for the Amazon Redshift cluster. + // * DatabaseInformation - DatabaseName - The name of the Amazon Redshift + // database. ClusterIdentifier - The unique ID for the Amazon Redshift cluster. // // * DatabaseCredentials - The AWS Identity and Access Management (IAM) credentials // that are used to connect to the Amazon Redshift database. @@ -3773,7 +3768,7 @@ type CreateMLModelInput struct { // // * Choose MULTICLASS if the MLModel result has a limited number of values. // - // For more information, see the Amazon Machine Learning Developer Guide (http://docs.aws.amazon.com/machine-learning/latest/dg). + // For more information, see the Amazon Machine Learning Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg). // // MLModelType is a required field MLModelType *string `type:"string" required:"true" enum:"MLModelType"` @@ -3981,8 +3976,8 @@ func (s *CreateRealtimeEndpointInput) SetMLModelId(v string) *CreateRealtimeEndp // // The result contains the MLModelId and the endpoint information for the MLModel. // -// The endpoint information includes the URI of the MLModel; that is, the location -// to send online prediction requests for the specified MLModel. +// Note: The endpoint information includes the URI of the MLModel; that is, +// the location to send online prediction requests for the specified MLModel. type CreateRealtimeEndpointOutput struct { _ struct{} `type:"structure"` @@ -4076,7 +4071,7 @@ type DataSource struct { // Describes the DataSource details specific to Amazon Redshift. RedshiftMetadata *RedshiftMetadata `type:"structure"` - // The Amazon Resource Name (ARN) of an AWS IAM Role (http://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html#roles-about-termsandconcepts), + // The Amazon Resource Name (ARN) of an AWS IAM Role (https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html#roles-about-termsandconcepts), // such as the following: arn:aws:iam::account:role/rolename. RoleARN *string `min:"1" type:"string"` @@ -5643,7 +5638,7 @@ type Evaluation struct { // to measure performance. // // For more information about performance metrics, please see the Amazon Machine - // Learning Developer Guide (http://docs.aws.amazon.com/machine-learning/latest/dg). + // Learning Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg). PerformanceMetrics *PerformanceMetrics `type:"structure"` // A timestamp represented in epoch time. @@ -6092,8 +6087,8 @@ type GetDataSourceOutput struct { DataSourceId *string `min:"1" type:"string"` // The schema used by all of the data files of this DataSource. - // Note - // This parameter is provided as part of the verbose format. + // + // Note: This parameter is provided as part of the verbose format. DataSourceSchema *string `type:"string"` // The epoch time when Amazon Machine Learning marked the DataSource as COMPLETED @@ -6124,7 +6119,7 @@ type GetDataSourceOutput struct { // Describes the DataSource details specific to Amazon Redshift. RedshiftMetadata *RedshiftMetadata `type:"structure"` - // The Amazon Resource Name (ARN) of an AWS IAM Role (http://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html#roles-about-termsandconcepts), + // The Amazon Resource Name (ARN) of an AWS IAM Role (https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html#roles-about-termsandconcepts), // such as the following: arn:aws:iam::account:role/rolename. RoleARN *string `min:"1" type:"string"` @@ -6384,7 +6379,7 @@ type GetEvaluationOutput struct { // to measure performance. // // For more information about performance metrics, please see the Amazon Machine - // Learning Developer Guide (http://docs.aws.amazon.com/machine-learning/latest/dg). + // Learning Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg). PerformanceMetrics *PerformanceMetrics `type:"structure"` // The epoch time when Amazon Machine Learning marked the Evaluation as INPROGRESS. @@ -6623,13 +6618,13 @@ type GetMLModelOutput struct { // The recipe to use when training the MLModel. The Recipe provides detailed // information about the observation data to use during training, and manipulations // to perform on the observation data during training. - // Note - // This parameter is provided as part of the verbose format. + // + // Note: This parameter is provided as part of the verbose format. Recipe *string `type:"string"` // The schema used by all of the data files referenced by the DataSource. - // Note - // This parameter is provided as part of the verbose format. + // + // Note: This parameter is provided as part of the verbose format. Schema *string `type:"string"` // The scoring threshold is used in binary classification MLModel models. It @@ -7398,7 +7393,7 @@ func (s *MLModel) SetTrainingParameters(v map[string]*string) *MLModel { // to measure performance. // // For more information about performance metrics, please see the Amazon Machine -// Learning Developer Guide (http://docs.aws.amazon.com/machine-learning/latest/dg). +// Learning Developer Guide (https://docs.aws.amazon.com/machine-learning/latest/dg). type PerformanceMetrics struct { _ struct{} `type:"structure"` @@ -7544,11 +7539,7 @@ type Prediction struct { // Provides the raw classification score corresponding to each label. PredictedScores map[string]*float64 `locationName:"predictedScores" type:"map"` - // The prediction value for - // REGRESSION - // - // MLModel - // . + // The prediction value for REGRESSION MLModel. PredictedValue *float64 `locationName:"predictedValue" type:"float"` } @@ -7754,7 +7745,7 @@ type RDSDataSpec struct { // The role (DataPipelineDefaultResourceRole) assumed by an Amazon Elastic Compute // Cloud (Amazon EC2) instance to carry out the copy operation from Amazon RDS - // to an Amazon S3 task. For more information, see Role templates (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) + // to an Amazon S3 task. For more information, see Role templates (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) // for data pipelines. // // ResourceRole is a required field @@ -7781,7 +7772,7 @@ type RDSDataSpec struct { // The role (DataPipelineDefaultRole) assumed by AWS Data Pipeline service to // monitor the progress of the copy task from Amazon RDS to Amazon S3. For more - // information, see Role templates (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) + // information, see Role templates (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) // for data pipelines. // // ServiceRole is a required field @@ -8068,7 +8059,7 @@ type RDSMetadata struct { // The role (DataPipelineDefaultResourceRole) assumed by an Amazon EC2 instance // to carry out the copy task from Amazon RDS to Amazon S3. For more information, - // see Role templates (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) + // see Role templates (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) // for data pipelines. ResourceRole *string `min:"1" type:"string"` @@ -8078,7 +8069,7 @@ type RDSMetadata struct { // The role (DataPipelineDefaultRole) assumed by the Data Pipeline service to // monitor the progress of the copy task from Amazon RDS to Amazon S3. For more - // information, see Role templates (http://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) + // information, see Role templates (https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-iam-roles.html) // for data pipelines. ServiceRole *string `min:"1" type:"string"` } @@ -8149,9 +8140,9 @@ type RealtimeEndpointInfo struct { // The URI that specifies where to send real-time prediction requests for the // MLModel. - // Note - // The application must wait until the real-time endpoint is ready before using - // this URI. + // + // Note: The application must wait until the real-time endpoint is ready before + // using this URI. EndpointUrl *string `type:"string"` // The maximum processing rate for the real-time endpoint for MLModel, measured @@ -8470,7 +8461,7 @@ type RedshiftDatabaseCredentials struct { // A password to be used by Amazon ML to connect to a database on an Amazon // Redshift cluster. The password should have sufficient permissions to execute // a RedshiftSelectSqlQuery query. The password should be valid for an Amazon - // Redshift USER (http://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html). + // Redshift USER (https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html). // // Password is a required field Password *string `min:"8" type:"string" required:"true"` @@ -8478,7 +8469,7 @@ type RedshiftDatabaseCredentials struct { // A username to be used by Amazon Machine Learning (Amazon ML)to connect to // a database on an Amazon Redshift cluster. The username should have sufficient // permissions to execute the RedshiftSelectSqlQuery query. The username should - // be valid for an Amazon Redshift USER (http://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html). + // be valid for an Amazon Redshift USER (https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html). // // Username is a required field Username *string `min:"1" type:"string" required:"true"` @@ -8535,7 +8526,7 @@ type RedshiftMetadata struct { // A username to be used by Amazon Machine Learning (Amazon ML)to connect to // a database on an Amazon Redshift cluster. The username should have sufficient // permissions to execute the RedshiftSelectSqlQuery query. The username should - // be valid for an Amazon Redshift USER (http://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html). + // be valid for an Amazon Redshift USER (https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html). DatabaseUserName *string `min:"1" type:"string"` // Describes the database details required to connect to an Amazon Redshift @@ -9320,8 +9311,8 @@ func BatchPredictionFilterVariable_Values() []string { // // * IAMUser - Sets the search criteria to the user account that invoked // the DataSource creation. -// Note -// The variable names should match the variable names in the DataSource. +// +// Note: The variable names should match the variable names in the DataSource. const ( // DataSourceFilterVariableCreatedAt is a DataSourceFilterVariable enum value DataSourceFilterVariableCreatedAt = "CreatedAt" @@ -9354,17 +9345,11 @@ func DataSourceFilterVariable_Values() []string { } } -// Contains the key values of -// DetailsMap -// : -// PredictiveModelType -// - Indicates the type of the -// MLModel -// . -// Algorithm -// - Indicates the algorithm that was used for the -// MLModel -// . +// Contains the key values of DetailsMap: +// +// * PredictiveModelType - Indicates the type of the MLModel. +// +// * Algorithm - Indicates the algorithm that was used for the MLModel. const ( // DetailsAttributesPredictiveModelType is a DetailsAttributes enum value DetailsAttributesPredictiveModelType = "PredictiveModelType" diff --git a/service/pricing/api.go b/service/pricing/api.go index af3787c5d7a..79be646104b 100644 --- a/service/pricing/api.go +++ b/service/pricing/api.go @@ -218,8 +218,8 @@ func (c *Pricing) GetAttributeValuesRequest(input *GetAttributeValuesInput) (req // // Returns a list of attribute values. Attibutes are similar to the details // in a Price List API offer file. For a list of available attributes, see Offer -// File Definitions (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs) -// in the AWS Billing and Cost Management User Guide (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html). +// File Definitions (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs) +// in the AWS Billing and Cost Management User Guide (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html). // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about diff --git a/service/pricing/examples_test.go b/service/pricing/examples_test.go index 7f5dd09de0b..30bcc5c0fb4 100644 --- a/service/pricing/examples_test.go +++ b/service/pricing/examples_test.go @@ -27,7 +27,7 @@ func parseTime(layout, value string) *time.Time { // To retrieve a list of services and service codes // - +// Retrieves the service for the given Service Code. func ExamplePricing_DescribeServices_shared00() { svc := pricing.New(session.New()) input := &pricing.DescribeServicesInput{ diff --git a/service/redshift/api.go b/service/redshift/api.go index 7e3362b999c..dacbe26c74d 100644 --- a/service/redshift/api.go +++ b/service/redshift/api.go @@ -222,6 +222,100 @@ func (c *Redshift) AuthorizeClusterSecurityGroupIngressWithContext(ctx aws.Conte return out, req.Send() } +const opAuthorizeEndpointAccess = "AuthorizeEndpointAccess" + +// AuthorizeEndpointAccessRequest generates a "aws/request.Request" representing the +// client's request for the AuthorizeEndpointAccess 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 AuthorizeEndpointAccess for more information on using the AuthorizeEndpointAccess +// 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 AuthorizeEndpointAccessRequest method. +// req, resp := client.AuthorizeEndpointAccessRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeEndpointAccess +func (c *Redshift) AuthorizeEndpointAccessRequest(input *AuthorizeEndpointAccessInput) (req *request.Request, output *AuthorizeEndpointAccessOutput) { + op := &request.Operation{ + Name: opAuthorizeEndpointAccess, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &AuthorizeEndpointAccessInput{} + } + + output = &AuthorizeEndpointAccessOutput{} + req = c.newRequest(op, input, output) + return +} + +// AuthorizeEndpointAccess API operation for Amazon Redshift. +// +// Grants access to a cluster. +// +// 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 Redshift's +// API operation AuthorizeEndpointAccess for usage and error information. +// +// Returned Error Codes: +// * ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// * ErrCodeEndpointAuthorizationsPerClusterLimitExceededFault "EndpointAuthorizationsPerClusterLimitExceeded" +// The number of endpoint authorizations per cluster has exceeded its limit. +// +// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. +// +// * ErrCodeEndpointAuthorizationAlreadyExistsFault "EndpointAuthorizationAlreadyExists" +// The authorization already exists for this endpoint. +// +// * ErrCodeInvalidAuthorizationStateFault "InvalidAuthorizationState" +// The status of the authorization is not valid. +// +// * ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/AuthorizeEndpointAccess +func (c *Redshift) AuthorizeEndpointAccess(input *AuthorizeEndpointAccessInput) (*AuthorizeEndpointAccessOutput, error) { + req, out := c.AuthorizeEndpointAccessRequest(input) + return out, req.Send() +} + +// AuthorizeEndpointAccessWithContext is the same as AuthorizeEndpointAccess with the addition of +// the ability to pass a context and additional request options. +// +// See AuthorizeEndpointAccess 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 *Redshift) AuthorizeEndpointAccessWithContext(ctx aws.Context, input *AuthorizeEndpointAccessInput, opts ...request.Option) (*AuthorizeEndpointAccessOutput, error) { + req, out := c.AuthorizeEndpointAccessRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opAuthorizeSnapshotAccess = "AuthorizeSnapshotAccess" // AuthorizeSnapshotAccessRequest generates a "aws/request.Request" representing the @@ -1261,6 +1355,115 @@ func (c *Redshift) CreateClusterSubnetGroupWithContext(ctx aws.Context, input *C return out, req.Send() } +const opCreateEndpointAccess = "CreateEndpointAccess" + +// CreateEndpointAccessRequest generates a "aws/request.Request" representing the +// client's request for the CreateEndpointAccess 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 CreateEndpointAccess for more information on using the CreateEndpointAccess +// 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 CreateEndpointAccessRequest method. +// req, resp := client.CreateEndpointAccessRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEndpointAccess +func (c *Redshift) CreateEndpointAccessRequest(input *CreateEndpointAccessInput) (req *request.Request, output *CreateEndpointAccessOutput) { + op := &request.Operation{ + Name: opCreateEndpointAccess, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateEndpointAccessInput{} + } + + output = &CreateEndpointAccessOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateEndpointAccess API operation for Amazon Redshift. +// +// Creates a Redshift-managed VPC endpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Redshift's +// API operation CreateEndpointAccess for usage and error information. +// +// Returned Error Codes: +// * ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// * ErrCodeAccessToClusterDeniedFault "AccessToClusterDenied" +// You are not authorized to access the cluster. +// +// * ErrCodeEndpointsPerClusterLimitExceededFault "EndpointsPerClusterLimitExceeded" +// The number of Redshift-managed VPC endpoints per cluster has exceeded its +// limit. +// +// * ErrCodeEndpointsPerAuthorizationLimitExceededFault "EndpointsPerAuthorizationLimitExceeded" +// The number of Redshift-managed VPC endpoints per authorization has exceeded +// its limit. +// +// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. +// +// * ErrCodeClusterSubnetGroupNotFoundFault "ClusterSubnetGroupNotFoundFault" +// The cluster subnet group name does not refer to an existing cluster subnet +// group. +// +// * ErrCodeEndpointAlreadyExistsFault "EndpointAlreadyExists" +// The account already has a Redshift-managed VPC endpoint with the given identifier. +// +// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. +// +// * ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/CreateEndpointAccess +func (c *Redshift) CreateEndpointAccess(input *CreateEndpointAccessInput) (*CreateEndpointAccessOutput, error) { + req, out := c.CreateEndpointAccessRequest(input) + return out, req.Send() +} + +// CreateEndpointAccessWithContext is the same as CreateEndpointAccess with the addition of +// the ability to pass a context and additional request options. +// +// See CreateEndpointAccess 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 *Redshift) CreateEndpointAccessWithContext(ctx aws.Context, input *CreateEndpointAccessInput, opts ...request.Option) (*CreateEndpointAccessOutput, error) { + req, out := c.CreateEndpointAccessRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateEventSubscription = "CreateEventSubscription" // CreateEventSubscriptionRequest generates a "aws/request.Request" representing the @@ -2554,6 +2757,97 @@ func (c *Redshift) DeleteClusterSubnetGroupWithContext(ctx aws.Context, input *D return out, req.Send() } +const opDeleteEndpointAccess = "DeleteEndpointAccess" + +// DeleteEndpointAccessRequest generates a "aws/request.Request" representing the +// client's request for the DeleteEndpointAccess 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 DeleteEndpointAccess for more information on using the DeleteEndpointAccess +// 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 DeleteEndpointAccessRequest method. +// req, resp := client.DeleteEndpointAccessRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEndpointAccess +func (c *Redshift) DeleteEndpointAccessRequest(input *DeleteEndpointAccessInput) (req *request.Request, output *DeleteEndpointAccessOutput) { + op := &request.Operation{ + Name: opDeleteEndpointAccess, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteEndpointAccessInput{} + } + + output = &DeleteEndpointAccessOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteEndpointAccess API operation for Amazon Redshift. +// +// Deletes a Redshift-managed VPC endpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Redshift's +// API operation DeleteEndpointAccess for usage and error information. +// +// Returned Error Codes: +// * ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// * ErrCodeInvalidEndpointStateFault "InvalidEndpointState" +// The status of the endpoint is not valid. +// +// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. +// +// * ErrCodeEndpointNotFoundFault "EndpointNotFound" +// The endpoint name doesn't refer to an existing endpoint. +// +// * ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DeleteEndpointAccess +func (c *Redshift) DeleteEndpointAccess(input *DeleteEndpointAccessInput) (*DeleteEndpointAccessOutput, error) { + req, out := c.DeleteEndpointAccessRequest(input) + return out, req.Send() +} + +// DeleteEndpointAccessWithContext is the same as DeleteEndpointAccess with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteEndpointAccess 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 *Redshift) DeleteEndpointAccessWithContext(ctx aws.Context, input *DeleteEndpointAccessInput, opts ...request.Option) (*DeleteEndpointAccessOutput, error) { + req, out := c.DeleteEndpointAccessRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteEventSubscription = "DeleteEventSubscription" // DeleteEventSubscriptionRequest generates a "aws/request.Request" representing the @@ -4777,117 +5071,284 @@ func (c *Redshift) DescribeDefaultClusterParametersPagesWithContext(ctx aws.Cont return p.Err() } -const opDescribeEventCategories = "DescribeEventCategories" +const opDescribeEndpointAccess = "DescribeEndpointAccess" -// DescribeEventCategoriesRequest generates a "aws/request.Request" representing the -// client's request for the DescribeEventCategories operation. The "output" return +// DescribeEndpointAccessRequest generates a "aws/request.Request" representing the +// client's request for the DescribeEndpointAccess 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 DescribeEventCategories for more information on using the DescribeEventCategories +// See DescribeEndpointAccess for more information on using the DescribeEndpointAccess // 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 DescribeEventCategoriesRequest method. -// req, resp := client.DescribeEventCategoriesRequest(params) +// // Example sending a request using the DescribeEndpointAccessRequest method. +// req, resp := client.DescribeEndpointAccessRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategories -func (c *Redshift) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAccess +func (c *Redshift) DescribeEndpointAccessRequest(input *DescribeEndpointAccessInput) (req *request.Request, output *DescribeEndpointAccessOutput) { op := &request.Operation{ - Name: opDescribeEventCategories, + Name: opDescribeEndpointAccess, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &DescribeEventCategoriesInput{} + input = &DescribeEndpointAccessInput{} } - output = &DescribeEventCategoriesOutput{} + output = &DescribeEndpointAccessOutput{} req = c.newRequest(op, input, output) return } -// DescribeEventCategories API operation for Amazon Redshift. +// DescribeEndpointAccess API operation for Amazon Redshift. // -// Displays a list of event categories for all event source types, or for a -// specified source type. For a list of the event categories and source types, -// go to Amazon Redshift Event Notifications (https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html). +// Describes a Redshift-managed VPC endpoint. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about // the error. // // See the AWS API reference guide for Amazon Redshift's -// API operation DescribeEventCategories for usage and error information. -// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategories -func (c *Redshift) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error) { - req, out := c.DescribeEventCategoriesRequest(input) +// API operation DescribeEndpointAccess for usage and error information. +// +// Returned Error Codes: +// * ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// * ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// * ErrCodeEndpointNotFoundFault "EndpointNotFound" +// The endpoint name doesn't refer to an existing endpoint. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAccess +func (c *Redshift) DescribeEndpointAccess(input *DescribeEndpointAccessInput) (*DescribeEndpointAccessOutput, error) { + req, out := c.DescribeEndpointAccessRequest(input) return out, req.Send() } -// DescribeEventCategoriesWithContext is the same as DescribeEventCategories with the addition of +// DescribeEndpointAccessWithContext is the same as DescribeEndpointAccess with the addition of // the ability to pass a context and additional request options. // -// See DescribeEventCategories for details on how to use this API operation. +// See DescribeEndpointAccess 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 *Redshift) DescribeEventCategoriesWithContext(ctx aws.Context, input *DescribeEventCategoriesInput, opts ...request.Option) (*DescribeEventCategoriesOutput, error) { - req, out := c.DescribeEventCategoriesRequest(input) +func (c *Redshift) DescribeEndpointAccessWithContext(ctx aws.Context, input *DescribeEndpointAccessInput, opts ...request.Option) (*DescribeEndpointAccessOutput, error) { + req, out := c.DescribeEndpointAccessRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -const opDescribeEventSubscriptions = "DescribeEventSubscriptions" +const opDescribeEndpointAuthorization = "DescribeEndpointAuthorization" -// DescribeEventSubscriptionsRequest generates a "aws/request.Request" representing the -// client's request for the DescribeEventSubscriptions operation. The "output" return +// DescribeEndpointAuthorizationRequest generates a "aws/request.Request" representing the +// client's request for the DescribeEndpointAuthorization 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 DescribeEventSubscriptions for more information on using the DescribeEventSubscriptions +// See DescribeEndpointAuthorization for more information on using the DescribeEndpointAuthorization // 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 DescribeEventSubscriptionsRequest method. -// req, resp := client.DescribeEventSubscriptionsRequest(params) +// // Example sending a request using the DescribeEndpointAuthorizationRequest method. +// req, resp := client.DescribeEndpointAuthorizationRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptions -func (c *Redshift) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAuthorization +func (c *Redshift) DescribeEndpointAuthorizationRequest(input *DescribeEndpointAuthorizationInput) (req *request.Request, output *DescribeEndpointAuthorizationOutput) { op := &request.Operation{ - Name: opDescribeEventSubscriptions, + Name: opDescribeEndpointAuthorization, HTTPMethod: "POST", HTTPPath: "/", - Paginator: &request.Paginator{ - InputTokens: []string{"Marker"}, - OutputTokens: []string{"Marker"}, - LimitToken: "MaxRecords", + } + + if input == nil { + input = &DescribeEndpointAuthorizationInput{} + } + + output = &DescribeEndpointAuthorizationOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeEndpointAuthorization API operation for Amazon Redshift. +// +// Describes an endpoint authorization. +// +// 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 Redshift's +// API operation DescribeEndpointAuthorization for usage and error information. +// +// Returned Error Codes: +// * ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// * ErrCodeUnsupportedOperationFault "UnsupportedOperation" +// The requested operation isn't supported. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEndpointAuthorization +func (c *Redshift) DescribeEndpointAuthorization(input *DescribeEndpointAuthorizationInput) (*DescribeEndpointAuthorizationOutput, error) { + req, out := c.DescribeEndpointAuthorizationRequest(input) + return out, req.Send() +} + +// DescribeEndpointAuthorizationWithContext is the same as DescribeEndpointAuthorization with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeEndpointAuthorization 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 *Redshift) DescribeEndpointAuthorizationWithContext(ctx aws.Context, input *DescribeEndpointAuthorizationInput, opts ...request.Option) (*DescribeEndpointAuthorizationOutput, error) { + req, out := c.DescribeEndpointAuthorizationRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeEventCategories = "DescribeEventCategories" + +// DescribeEventCategoriesRequest generates a "aws/request.Request" representing the +// client's request for the DescribeEventCategories 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 DescribeEventCategories for more information on using the DescribeEventCategories +// 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 DescribeEventCategoriesRequest method. +// req, resp := client.DescribeEventCategoriesRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategories +func (c *Redshift) DescribeEventCategoriesRequest(input *DescribeEventCategoriesInput) (req *request.Request, output *DescribeEventCategoriesOutput) { + op := &request.Operation{ + Name: opDescribeEventCategories, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeEventCategoriesInput{} + } + + output = &DescribeEventCategoriesOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeEventCategories API operation for Amazon Redshift. +// +// Displays a list of event categories for all event source types, or for a +// specified source type. For a list of the event categories and source types, +// go to Amazon Redshift Event Notifications (https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html). +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Redshift's +// API operation DescribeEventCategories for usage and error information. +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventCategories +func (c *Redshift) DescribeEventCategories(input *DescribeEventCategoriesInput) (*DescribeEventCategoriesOutput, error) { + req, out := c.DescribeEventCategoriesRequest(input) + return out, req.Send() +} + +// DescribeEventCategoriesWithContext is the same as DescribeEventCategories with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeEventCategories 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 *Redshift) DescribeEventCategoriesWithContext(ctx aws.Context, input *DescribeEventCategoriesInput, opts ...request.Option) (*DescribeEventCategoriesOutput, error) { + req, out := c.DescribeEventCategoriesRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opDescribeEventSubscriptions = "DescribeEventSubscriptions" + +// DescribeEventSubscriptionsRequest generates a "aws/request.Request" representing the +// client's request for the DescribeEventSubscriptions 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 DescribeEventSubscriptions for more information on using the DescribeEventSubscriptions +// 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 DescribeEventSubscriptionsRequest method. +// req, resp := client.DescribeEventSubscriptionsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/DescribeEventSubscriptions +func (c *Redshift) DescribeEventSubscriptionsRequest(input *DescribeEventSubscriptionsInput) (req *request.Request, output *DescribeEventSubscriptionsOutput) { + op := &request.Operation{ + Name: opDescribeEventSubscriptions, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"Marker"}, + OutputTokens: []string{"Marker"}, + LimitToken: "MaxRecords", TruncationToken: "", }, } @@ -8565,6 +9026,100 @@ func (c *Redshift) ModifyClusterSubnetGroupWithContext(ctx aws.Context, input *M return out, req.Send() } +const opModifyEndpointAccess = "ModifyEndpointAccess" + +// ModifyEndpointAccessRequest generates a "aws/request.Request" representing the +// client's request for the ModifyEndpointAccess 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 ModifyEndpointAccess for more information on using the ModifyEndpointAccess +// 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 ModifyEndpointAccessRequest method. +// req, resp := client.ModifyEndpointAccessRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEndpointAccess +func (c *Redshift) ModifyEndpointAccessRequest(input *ModifyEndpointAccessInput) (req *request.Request, output *ModifyEndpointAccessOutput) { + op := &request.Operation{ + Name: opModifyEndpointAccess, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &ModifyEndpointAccessInput{} + } + + output = &ModifyEndpointAccessOutput{} + req = c.newRequest(op, input, output) + return +} + +// ModifyEndpointAccess API operation for Amazon Redshift. +// +// Modifies a Redshift-managed VPC endpoint. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Redshift's +// API operation ModifyEndpointAccess for usage and error information. +// +// Returned Error Codes: +// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. +// +// * ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. +// +// * ErrCodeInvalidEndpointStateFault "InvalidEndpointState" +// The status of the endpoint is not valid. +// +// * ErrCodeEndpointNotFoundFault "EndpointNotFound" +// The endpoint name doesn't refer to an existing endpoint. +// +// * ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// * ErrCodeUnauthorizedOperation "UnauthorizedOperation" +// Your account is not authorized to perform the requested operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/ModifyEndpointAccess +func (c *Redshift) ModifyEndpointAccess(input *ModifyEndpointAccessInput) (*ModifyEndpointAccessOutput, error) { + req, out := c.ModifyEndpointAccessRequest(input) + return out, req.Send() +} + +// ModifyEndpointAccessWithContext is the same as ModifyEndpointAccess with the addition of +// the ability to pass a context and additional request options. +// +// See ModifyEndpointAccess 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 *Redshift) ModifyEndpointAccessWithContext(ctx aws.Context, input *ModifyEndpointAccessInput, opts ...request.Option) (*ModifyEndpointAccessOutput, error) { + req, out := c.ModifyEndpointAccessRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opModifyEventSubscription = "ModifyEventSubscription" // ModifyEventSubscriptionRequest generates a "aws/request.Request" representing the @@ -9975,82 +10530,179 @@ func (c *Redshift) RevokeClusterSecurityGroupIngressWithContext(ctx aws.Context, return out, req.Send() } -const opRevokeSnapshotAccess = "RevokeSnapshotAccess" +const opRevokeEndpointAccess = "RevokeEndpointAccess" -// RevokeSnapshotAccessRequest generates a "aws/request.Request" representing the -// client's request for the RevokeSnapshotAccess operation. The "output" return +// RevokeEndpointAccessRequest generates a "aws/request.Request" representing the +// client's request for the RevokeEndpointAccess 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 RevokeSnapshotAccess for more information on using the RevokeSnapshotAccess +// See RevokeEndpointAccess for more information on using the RevokeEndpointAccess // 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 RevokeSnapshotAccessRequest method. -// req, resp := client.RevokeSnapshotAccessRequest(params) +// // Example sending a request using the RevokeEndpointAccessRequest method. +// req, resp := client.RevokeEndpointAccessRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess -func (c *Redshift) RevokeSnapshotAccessRequest(input *RevokeSnapshotAccessInput) (req *request.Request, output *RevokeSnapshotAccessOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeEndpointAccess +func (c *Redshift) RevokeEndpointAccessRequest(input *RevokeEndpointAccessInput) (req *request.Request, output *RevokeEndpointAccessOutput) { op := &request.Operation{ - Name: opRevokeSnapshotAccess, + Name: opRevokeEndpointAccess, HTTPMethod: "POST", HTTPPath: "/", } if input == nil { - input = &RevokeSnapshotAccessInput{} + input = &RevokeEndpointAccessInput{} } - output = &RevokeSnapshotAccessOutput{} + output = &RevokeEndpointAccessOutput{} req = c.newRequest(op, input, output) return } -// RevokeSnapshotAccess API operation for Amazon Redshift. -// -// Removes the ability of the specified AWS customer account to restore the -// specified snapshot. If the account is currently restoring the snapshot, the -// restore will run to completion. +// RevokeEndpointAccess API operation for Amazon Redshift. // -// For more information about working with snapshots, go to Amazon Redshift -// Snapshots (https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html) -// in the Amazon Redshift Cluster Management Guide. +// Revokes access to a cluster. // // 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 Redshift's -// API operation RevokeSnapshotAccess for usage and error information. +// API operation RevokeEndpointAccess for usage and error information. // // Returned Error Codes: -// * ErrCodeAccessToSnapshotDeniedFault "AccessToSnapshotDenied" -// The owner of the specified snapshot has not authorized your account to access -// the snapshot. +// * ErrCodeClusterNotFoundFault "ClusterNotFound" +// The ClusterIdentifier parameter does not refer to an existing cluster. // -// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" -// The specified CIDR IP range or EC2 security group is not authorized for the -// specified cluster security group. +// * ErrCodeInvalidEndpointStateFault "InvalidEndpointState" +// The status of the endpoint is not valid. // -// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" -// The snapshot identifier does not refer to an existing cluster snapshot. +// * ErrCodeInvalidClusterSecurityGroupStateFault "InvalidClusterSecurityGroupState" +// The state of the cluster security group is not available. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess -func (c *Redshift) RevokeSnapshotAccess(input *RevokeSnapshotAccessInput) (*RevokeSnapshotAccessOutput, error) { - req, out := c.RevokeSnapshotAccessRequest(input) - return out, req.Send() -} +// * ErrCodeEndpointNotFoundFault "EndpointNotFound" +// The endpoint name doesn't refer to an existing endpoint. +// +// * ErrCodeEndpointAuthorizationNotFoundFault "EndpointAuthorizationNotFound" +// The authorization for this endpoint can't be found. +// +// * ErrCodeInvalidAuthorizationStateFault "InvalidAuthorizationState" +// The status of the authorization is not valid. +// +// * ErrCodeInvalidClusterStateFault "InvalidClusterState" +// The specified cluster is not in the available state. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeEndpointAccess +func (c *Redshift) RevokeEndpointAccess(input *RevokeEndpointAccessInput) (*RevokeEndpointAccessOutput, error) { + req, out := c.RevokeEndpointAccessRequest(input) + return out, req.Send() +} + +// RevokeEndpointAccessWithContext is the same as RevokeEndpointAccess with the addition of +// the ability to pass a context and additional request options. +// +// See RevokeEndpointAccess 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 *Redshift) RevokeEndpointAccessWithContext(ctx aws.Context, input *RevokeEndpointAccessInput, opts ...request.Option) (*RevokeEndpointAccessOutput, error) { + req, out := c.RevokeEndpointAccessRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opRevokeSnapshotAccess = "RevokeSnapshotAccess" + +// RevokeSnapshotAccessRequest generates a "aws/request.Request" representing the +// client's request for the RevokeSnapshotAccess 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 RevokeSnapshotAccess for more information on using the RevokeSnapshotAccess +// 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 RevokeSnapshotAccessRequest method. +// req, resp := client.RevokeSnapshotAccessRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess +func (c *Redshift) RevokeSnapshotAccessRequest(input *RevokeSnapshotAccessInput) (req *request.Request, output *RevokeSnapshotAccessOutput) { + op := &request.Operation{ + Name: opRevokeSnapshotAccess, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &RevokeSnapshotAccessInput{} + } + + output = &RevokeSnapshotAccessOutput{} + req = c.newRequest(op, input, output) + return +} + +// RevokeSnapshotAccess API operation for Amazon Redshift. +// +// Removes the ability of the specified AWS customer account to restore the +// specified snapshot. If the account is currently restoring the snapshot, the +// restore will run to completion. +// +// For more information about working with snapshots, go to Amazon Redshift +// Snapshots (https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-snapshots.html) +// in the Amazon Redshift Cluster Management 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. +// +// See the AWS API reference guide for Amazon Redshift's +// API operation RevokeSnapshotAccess for usage and error information. +// +// Returned Error Codes: +// * ErrCodeAccessToSnapshotDeniedFault "AccessToSnapshotDenied" +// The owner of the specified snapshot has not authorized your account to access +// the snapshot. +// +// * ErrCodeAuthorizationNotFoundFault "AuthorizationNotFound" +// The specified CIDR IP range or EC2 security group is not authorized for the +// specified cluster security group. +// +// * ErrCodeClusterSnapshotNotFoundFault "ClusterSnapshotNotFound" +// The snapshot identifier does not refer to an existing cluster snapshot. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/redshift-2012-12-01/RevokeSnapshotAccess +func (c *Redshift) RevokeSnapshotAccess(input *RevokeSnapshotAccessInput) (*RevokeSnapshotAccessOutput, error) { + req, out := c.RevokeSnapshotAccessRequest(input) + return out, req.Send() +} // RevokeSnapshotAccessWithContext is the same as RevokeSnapshotAccess with the addition of // the ability to pass a context and additional request options. @@ -10415,6 +11067,160 @@ func (s *AuthorizeClusterSecurityGroupIngressOutput) SetClusterSecurityGroup(v * return s } +type AuthorizeEndpointAccessInput struct { + _ struct{} `type:"structure"` + + // The AWS account ID to grant access to. + // + // Account is a required field + Account *string `type:"string" required:"true"` + + // The cluster identifier of the cluster to grant access to. + ClusterIdentifier *string `type:"string"` + + // The virtual private cloud (VPC) identifiers to grant access to. + VpcIds []*string `locationNameList:"VpcIdentifier" type:"list"` +} + +// String returns the string representation +func (s AuthorizeEndpointAccessInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AuthorizeEndpointAccessInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *AuthorizeEndpointAccessInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "AuthorizeEndpointAccessInput"} + if s.Account == nil { + invalidParams.Add(request.NewErrParamRequired("Account")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAccount sets the Account field's value. +func (s *AuthorizeEndpointAccessInput) SetAccount(v string) *AuthorizeEndpointAccessInput { + s.Account = &v + return s +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *AuthorizeEndpointAccessInput) SetClusterIdentifier(v string) *AuthorizeEndpointAccessInput { + s.ClusterIdentifier = &v + return s +} + +// SetVpcIds sets the VpcIds field's value. +func (s *AuthorizeEndpointAccessInput) SetVpcIds(v []*string) *AuthorizeEndpointAccessInput { + s.VpcIds = v + return s +} + +// Describes an endpoint authorization for authorizing Redshift-managed VPC +// endpoint access to a cluster across AWS accounts. +type AuthorizeEndpointAccessOutput struct { + _ struct{} `type:"structure"` + + // Indicates whether all VPCs in the grantee account are allowed access to the + // cluster. + AllowedAllVPCs *bool `type:"boolean"` + + // The VPCs allowed access to the cluster. + AllowedVPCs []*string `locationNameList:"VpcIdentifier" type:"list"` + + // The time (UTC) when the authorization was created. + AuthorizeTime *time.Time `type:"timestamp"` + + // The cluster identifier. + ClusterIdentifier *string `type:"string"` + + // The status of the cluster. + ClusterStatus *string `type:"string"` + + // The number of Redshift-managed VPC endpoints created for the authorization. + EndpointCount *int64 `type:"integer"` + + // The AWS account ID of the grantee of the cluster. + Grantee *string `type:"string"` + + // The AWS account ID of the cluster owner. + Grantor *string `type:"string"` + + // The status of the authorization action. + Status *string `type:"string" enum:"AuthorizationStatus"` +} + +// String returns the string representation +func (s AuthorizeEndpointAccessOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s AuthorizeEndpointAccessOutput) GoString() string { + return s.String() +} + +// SetAllowedAllVPCs sets the AllowedAllVPCs field's value. +func (s *AuthorizeEndpointAccessOutput) SetAllowedAllVPCs(v bool) *AuthorizeEndpointAccessOutput { + s.AllowedAllVPCs = &v + return s +} + +// SetAllowedVPCs sets the AllowedVPCs field's value. +func (s *AuthorizeEndpointAccessOutput) SetAllowedVPCs(v []*string) *AuthorizeEndpointAccessOutput { + s.AllowedVPCs = v + return s +} + +// SetAuthorizeTime sets the AuthorizeTime field's value. +func (s *AuthorizeEndpointAccessOutput) SetAuthorizeTime(v time.Time) *AuthorizeEndpointAccessOutput { + s.AuthorizeTime = &v + return s +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *AuthorizeEndpointAccessOutput) SetClusterIdentifier(v string) *AuthorizeEndpointAccessOutput { + s.ClusterIdentifier = &v + return s +} + +// SetClusterStatus sets the ClusterStatus field's value. +func (s *AuthorizeEndpointAccessOutput) SetClusterStatus(v string) *AuthorizeEndpointAccessOutput { + s.ClusterStatus = &v + return s +} + +// SetEndpointCount sets the EndpointCount field's value. +func (s *AuthorizeEndpointAccessOutput) SetEndpointCount(v int64) *AuthorizeEndpointAccessOutput { + s.EndpointCount = &v + return s +} + +// SetGrantee sets the Grantee field's value. +func (s *AuthorizeEndpointAccessOutput) SetGrantee(v string) *AuthorizeEndpointAccessOutput { + s.Grantee = &v + return s +} + +// SetGrantor sets the Grantor field's value. +func (s *AuthorizeEndpointAccessOutput) SetGrantor(v string) *AuthorizeEndpointAccessOutput { + s.Grantor = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *AuthorizeEndpointAccessOutput) SetStatus(v string) *AuthorizeEndpointAccessOutput { + s.Status = &v + return s +} + type AuthorizeSnapshotAccessInput struct { _ struct{} `type:"structure"` @@ -13218,90 +14024,54 @@ func (s *CreateClusterSubnetGroupOutput) SetClusterSubnetGroup(v *ClusterSubnetG return s } -type CreateEventSubscriptionInput struct { +type CreateEndpointAccessInput struct { _ struct{} `type:"structure"` - // A boolean value; set to true to activate the subscription, and set to false - // to create the subscription but not activate it. - Enabled *bool `type:"boolean"` - - // Specifies the Amazon Redshift event categories to be published by the event - // notification subscription. - // - // Values: configuration, management, monitoring, security - EventCategories []*string `locationNameList:"EventCategory" type:"list"` - - // Specifies the Amazon Redshift event severity to be published by the event - // notification subscription. - // - // Values: ERROR, INFO - Severity *string `type:"string"` - - // The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the - // event notifications. The ARN is created by Amazon SNS when you create a topic - // and subscribe to it. - // - // SnsTopicArn is a required field - SnsTopicArn *string `type:"string" required:"true"` + // The cluster identifier of the cluster to access. + ClusterIdentifier *string `type:"string"` - // A list of one or more identifiers of Amazon Redshift source objects. All - // of the objects must be of the same type as was specified in the source type - // parameter. The event subscription will return only events generated by the - // specified objects. If not specified, then events are returned for all objects - // within the source type specified. + // The Redshift-managed VPC endpoint name. // - // Example: my-cluster-1, my-cluster-2 + // An endpoint name must contain 1-30 characters. Valid characters are A-Z, + // a-z, 0-9, and hyphen(-). The first character must be a letter. The name can't + // contain two consecutive hyphens or end with a hyphen. // - // Example: my-snapshot-20131010 - SourceIds []*string `locationNameList:"SourceId" type:"list"` + // EndpointName is a required field + EndpointName *string `type:"string" required:"true"` - // The type of source that will be generating the events. For example, if you - // want to be notified of events generated by a cluster, you would set this - // parameter to cluster. If this value is not specified, events are returned - // for all Amazon Redshift objects in your AWS account. You must specify a source - // type in order to specify source IDs. - // - // Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, - // and scheduled-action. - SourceType *string `type:"string"` + // The AWS account ID of the owner of the cluster. This is only required if + // the cluster is in another AWS account. + ResourceOwner *string `type:"string"` - // The name of the event subscription to be created. - // - // Constraints: - // - // * Cannot be null, empty, or blank. - // - // * Must contain from 1 to 255 alphanumeric characters or hyphens. - // - // * First character must be a letter. - // - // * Cannot end with a hyphen or contain two consecutive hyphens. + // The subnet group from which Amazon Redshift chooses the subnet to deploy + // the endpoint. // - // SubscriptionName is a required field - SubscriptionName *string `type:"string" required:"true"` + // SubnetGroupName is a required field + SubnetGroupName *string `type:"string" required:"true"` - // A list of tag instances. - Tags []*Tag `locationNameList:"Tag" type:"list"` + // The security group that defines the ports, protocols, and sources for inbound + // traffic that you are authorizing into your endpoint. + VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` } // String returns the string representation -func (s CreateEventSubscriptionInput) String() string { +func (s CreateEndpointAccessInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s CreateEventSubscriptionInput) GoString() string { +func (s CreateEndpointAccessInput) GoString() string { return s.String() } // Validate inspects the fields of the type to determine if they are valid. -func (s *CreateEventSubscriptionInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "CreateEventSubscriptionInput"} - if s.SnsTopicArn == nil { - invalidParams.Add(request.NewErrParamRequired("SnsTopicArn")) +func (s *CreateEndpointAccessInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateEndpointAccessInput"} + if s.EndpointName == nil { + invalidParams.Add(request.NewErrParamRequired("EndpointName")) } - if s.SubscriptionName == nil { - invalidParams.Add(request.NewErrParamRequired("SubscriptionName")) + if s.SubnetGroupName == nil { + invalidParams.Add(request.NewErrParamRequired("SubnetGroupName")) } if invalidParams.Len() > 0 { @@ -13310,8 +14080,236 @@ func (s *CreateEventSubscriptionInput) Validate() error { return nil } -// SetEnabled sets the Enabled field's value. -func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput { +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *CreateEndpointAccessInput) SetClusterIdentifier(v string) *CreateEndpointAccessInput { + s.ClusterIdentifier = &v + return s +} + +// SetEndpointName sets the EndpointName field's value. +func (s *CreateEndpointAccessInput) SetEndpointName(v string) *CreateEndpointAccessInput { + s.EndpointName = &v + return s +} + +// SetResourceOwner sets the ResourceOwner field's value. +func (s *CreateEndpointAccessInput) SetResourceOwner(v string) *CreateEndpointAccessInput { + s.ResourceOwner = &v + return s +} + +// SetSubnetGroupName sets the SubnetGroupName field's value. +func (s *CreateEndpointAccessInput) SetSubnetGroupName(v string) *CreateEndpointAccessInput { + s.SubnetGroupName = &v + return s +} + +// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. +func (s *CreateEndpointAccessInput) SetVpcSecurityGroupIds(v []*string) *CreateEndpointAccessInput { + s.VpcSecurityGroupIds = v + return s +} + +// Describes a Redshift-managed VPC endpoint. +type CreateEndpointAccessOutput struct { + _ struct{} `type:"structure"` + + // The DNS address of the endpoint. + Address *string `type:"string"` + + // The cluster identifier of the cluster associated with the endpoint. + ClusterIdentifier *string `type:"string"` + + // The time (UTC) that the endpoint was created. + EndpointCreateTime *time.Time `type:"timestamp"` + + // The name of the endpoint. + EndpointName *string `type:"string"` + + // The status of the endpoint. + EndpointStatus *string `type:"string"` + + // The port number on which the cluster accepts incoming connections. + Port *int64 `type:"integer"` + + // The AWS account ID of the owner of the cluster. + ResourceOwner *string `type:"string"` + + // The subnet group name where Amazon Redshift chooses to deploy the endpoint. + SubnetGroupName *string `type:"string"` + + // The connection endpoint for connecting to an Amazon Redshift cluster through + // the proxy. + VpcEndpoint *VpcEndpoint `type:"structure"` + + // The security groups associated with the endpoint. + VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroup" type:"list"` +} + +// String returns the string representation +func (s CreateEndpointAccessOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateEndpointAccessOutput) GoString() string { + return s.String() +} + +// SetAddress sets the Address field's value. +func (s *CreateEndpointAccessOutput) SetAddress(v string) *CreateEndpointAccessOutput { + s.Address = &v + return s +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *CreateEndpointAccessOutput) SetClusterIdentifier(v string) *CreateEndpointAccessOutput { + s.ClusterIdentifier = &v + return s +} + +// SetEndpointCreateTime sets the EndpointCreateTime field's value. +func (s *CreateEndpointAccessOutput) SetEndpointCreateTime(v time.Time) *CreateEndpointAccessOutput { + s.EndpointCreateTime = &v + return s +} + +// SetEndpointName sets the EndpointName field's value. +func (s *CreateEndpointAccessOutput) SetEndpointName(v string) *CreateEndpointAccessOutput { + s.EndpointName = &v + return s +} + +// SetEndpointStatus sets the EndpointStatus field's value. +func (s *CreateEndpointAccessOutput) SetEndpointStatus(v string) *CreateEndpointAccessOutput { + s.EndpointStatus = &v + return s +} + +// SetPort sets the Port field's value. +func (s *CreateEndpointAccessOutput) SetPort(v int64) *CreateEndpointAccessOutput { + s.Port = &v + return s +} + +// SetResourceOwner sets the ResourceOwner field's value. +func (s *CreateEndpointAccessOutput) SetResourceOwner(v string) *CreateEndpointAccessOutput { + s.ResourceOwner = &v + return s +} + +// SetSubnetGroupName sets the SubnetGroupName field's value. +func (s *CreateEndpointAccessOutput) SetSubnetGroupName(v string) *CreateEndpointAccessOutput { + s.SubnetGroupName = &v + return s +} + +// SetVpcEndpoint sets the VpcEndpoint field's value. +func (s *CreateEndpointAccessOutput) SetVpcEndpoint(v *VpcEndpoint) *CreateEndpointAccessOutput { + s.VpcEndpoint = v + return s +} + +// SetVpcSecurityGroups sets the VpcSecurityGroups field's value. +func (s *CreateEndpointAccessOutput) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *CreateEndpointAccessOutput { + s.VpcSecurityGroups = v + return s +} + +type CreateEventSubscriptionInput struct { + _ struct{} `type:"structure"` + + // A boolean value; set to true to activate the subscription, and set to false + // to create the subscription but not activate it. + Enabled *bool `type:"boolean"` + + // Specifies the Amazon Redshift event categories to be published by the event + // notification subscription. + // + // Values: configuration, management, monitoring, security + EventCategories []*string `locationNameList:"EventCategory" type:"list"` + + // Specifies the Amazon Redshift event severity to be published by the event + // notification subscription. + // + // Values: ERROR, INFO + Severity *string `type:"string"` + + // The Amazon Resource Name (ARN) of the Amazon SNS topic used to transmit the + // event notifications. The ARN is created by Amazon SNS when you create a topic + // and subscribe to it. + // + // SnsTopicArn is a required field + SnsTopicArn *string `type:"string" required:"true"` + + // A list of one or more identifiers of Amazon Redshift source objects. All + // of the objects must be of the same type as was specified in the source type + // parameter. The event subscription will return only events generated by the + // specified objects. If not specified, then events are returned for all objects + // within the source type specified. + // + // Example: my-cluster-1, my-cluster-2 + // + // Example: my-snapshot-20131010 + SourceIds []*string `locationNameList:"SourceId" type:"list"` + + // The type of source that will be generating the events. For example, if you + // want to be notified of events generated by a cluster, you would set this + // parameter to cluster. If this value is not specified, events are returned + // for all Amazon Redshift objects in your AWS account. You must specify a source + // type in order to specify source IDs. + // + // Valid values: cluster, cluster-parameter-group, cluster-security-group, cluster-snapshot, + // and scheduled-action. + SourceType *string `type:"string"` + + // The name of the event subscription to be created. + // + // Constraints: + // + // * Cannot be null, empty, or blank. + // + // * Must contain from 1 to 255 alphanumeric characters or hyphens. + // + // * First character must be a letter. + // + // * Cannot end with a hyphen or contain two consecutive hyphens. + // + // SubscriptionName is a required field + SubscriptionName *string `type:"string" required:"true"` + + // A list of tag instances. + Tags []*Tag `locationNameList:"Tag" type:"list"` +} + +// String returns the string representation +func (s CreateEventSubscriptionInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateEventSubscriptionInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateEventSubscriptionInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateEventSubscriptionInput"} + if s.SnsTopicArn == nil { + invalidParams.Add(request.NewErrParamRequired("SnsTopicArn")) + } + if s.SubscriptionName == nil { + invalidParams.Add(request.NewErrParamRequired("SubscriptionName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEnabled sets the Enabled field's value. +func (s *CreateEventSubscriptionInput) SetEnabled(v bool) *CreateEventSubscriptionInput { s.Enabled = &v return s } @@ -14944,6 +15942,150 @@ func (s DeleteClusterSubnetGroupOutput) GoString() string { return s.String() } +type DeleteEndpointAccessInput struct { + _ struct{} `type:"structure"` + + // The Redshift-managed VPC endpoint to delete. + // + // EndpointName is a required field + EndpointName *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteEndpointAccessInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteEndpointAccessInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteEndpointAccessInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointAccessInput"} + if s.EndpointName == nil { + invalidParams.Add(request.NewErrParamRequired("EndpointName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEndpointName sets the EndpointName field's value. +func (s *DeleteEndpointAccessInput) SetEndpointName(v string) *DeleteEndpointAccessInput { + s.EndpointName = &v + return s +} + +// Describes a Redshift-managed VPC endpoint. +type DeleteEndpointAccessOutput struct { + _ struct{} `type:"structure"` + + // The DNS address of the endpoint. + Address *string `type:"string"` + + // The cluster identifier of the cluster associated with the endpoint. + ClusterIdentifier *string `type:"string"` + + // The time (UTC) that the endpoint was created. + EndpointCreateTime *time.Time `type:"timestamp"` + + // The name of the endpoint. + EndpointName *string `type:"string"` + + // The status of the endpoint. + EndpointStatus *string `type:"string"` + + // The port number on which the cluster accepts incoming connections. + Port *int64 `type:"integer"` + + // The AWS account ID of the owner of the cluster. + ResourceOwner *string `type:"string"` + + // The subnet group name where Amazon Redshift chooses to deploy the endpoint. + SubnetGroupName *string `type:"string"` + + // The connection endpoint for connecting to an Amazon Redshift cluster through + // the proxy. + VpcEndpoint *VpcEndpoint `type:"structure"` + + // The security groups associated with the endpoint. + VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroup" type:"list"` +} + +// String returns the string representation +func (s DeleteEndpointAccessOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteEndpointAccessOutput) GoString() string { + return s.String() +} + +// SetAddress sets the Address field's value. +func (s *DeleteEndpointAccessOutput) SetAddress(v string) *DeleteEndpointAccessOutput { + s.Address = &v + return s +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *DeleteEndpointAccessOutput) SetClusterIdentifier(v string) *DeleteEndpointAccessOutput { + s.ClusterIdentifier = &v + return s +} + +// SetEndpointCreateTime sets the EndpointCreateTime field's value. +func (s *DeleteEndpointAccessOutput) SetEndpointCreateTime(v time.Time) *DeleteEndpointAccessOutput { + s.EndpointCreateTime = &v + return s +} + +// SetEndpointName sets the EndpointName field's value. +func (s *DeleteEndpointAccessOutput) SetEndpointName(v string) *DeleteEndpointAccessOutput { + s.EndpointName = &v + return s +} + +// SetEndpointStatus sets the EndpointStatus field's value. +func (s *DeleteEndpointAccessOutput) SetEndpointStatus(v string) *DeleteEndpointAccessOutput { + s.EndpointStatus = &v + return s +} + +// SetPort sets the Port field's value. +func (s *DeleteEndpointAccessOutput) SetPort(v int64) *DeleteEndpointAccessOutput { + s.Port = &v + return s +} + +// SetResourceOwner sets the ResourceOwner field's value. +func (s *DeleteEndpointAccessOutput) SetResourceOwner(v string) *DeleteEndpointAccessOutput { + s.ResourceOwner = &v + return s +} + +// SetSubnetGroupName sets the SubnetGroupName field's value. +func (s *DeleteEndpointAccessOutput) SetSubnetGroupName(v string) *DeleteEndpointAccessOutput { + s.SubnetGroupName = &v + return s +} + +// SetVpcEndpoint sets the VpcEndpoint field's value. +func (s *DeleteEndpointAccessOutput) SetVpcEndpoint(v *VpcEndpoint) *DeleteEndpointAccessOutput { + s.VpcEndpoint = v + return s +} + +// SetVpcSecurityGroups sets the VpcSecurityGroups field's value. +func (s *DeleteEndpointAccessOutput) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *DeleteEndpointAccessOutput { + s.VpcSecurityGroups = v + return s +} + type DeleteEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -16436,198 +17578,393 @@ type DescribeClustersInput struct { // Marker parameter, but not both. Marker *string `type:"string"` - // The maximum number of response records to return in each call. If the number - // of remaining response records exceeds the specified MaxRecords value, a value - // is returned in a marker field of the response. You can retrieve the next - // set of records by retrying the command with the returned marker value. - // - // Default: 100 - // - // Constraints: minimum 20, maximum 100. + // The maximum number of response records to return in each call. If the number + // of remaining response records exceeds the specified MaxRecords value, a value + // is returned in a marker field of the response. You can retrieve the next + // set of records by retrying the command with the returned marker value. + // + // Default: 100 + // + // Constraints: minimum 20, maximum 100. + MaxRecords *int64 `type:"integer"` + + // A tag key or keys for which you want to return all matching clusters that + // are associated with the specified key or keys. For example, suppose that + // you have clusters that are tagged with keys called owner and environment. + // If you specify both of these tag keys in the request, Amazon Redshift returns + // a response with the clusters that have either or both of these tag keys associated + // with them. + TagKeys []*string `locationNameList:"TagKey" type:"list"` + + // A tag value or values for which you want to return all matching clusters + // that are associated with the specified tag value or values. For example, + // suppose that you have clusters that are tagged with values called admin and + // test. If you specify both of these tag values in the request, Amazon Redshift + // returns a response with the clusters that have either or both of these tag + // values associated with them. + TagValues []*string `locationNameList:"TagValue" type:"list"` +} + +// String returns the string representation +func (s DescribeClustersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeClustersInput) GoString() string { + return s.String() +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *DescribeClustersInput) SetClusterIdentifier(v string) *DescribeClustersInput { + s.ClusterIdentifier = &v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeClustersInput) SetMarker(v string) *DescribeClustersInput { + s.Marker = &v + return s +} + +// SetMaxRecords sets the MaxRecords field's value. +func (s *DescribeClustersInput) SetMaxRecords(v int64) *DescribeClustersInput { + s.MaxRecords = &v + return s +} + +// SetTagKeys sets the TagKeys field's value. +func (s *DescribeClustersInput) SetTagKeys(v []*string) *DescribeClustersInput { + s.TagKeys = v + return s +} + +// SetTagValues sets the TagValues field's value. +func (s *DescribeClustersInput) SetTagValues(v []*string) *DescribeClustersInput { + s.TagValues = v + return s +} + +// Contains the output from the DescribeClusters action. +type DescribeClustersOutput struct { + _ struct{} `type:"structure"` + + // A list of Cluster objects, where each object describes one cluster. + Clusters []*Cluster `locationNameList:"Cluster" type:"list"` + + // A value that indicates the starting point for the next set of response records + // in a subsequent request. If a value is returned in a response, you can retrieve + // the next set of records by providing this returned marker value in the Marker + // parameter and retrying the command. If the Marker field is empty, all response + // records have been retrieved for the request. + Marker *string `type:"string"` +} + +// String returns the string representation +func (s DescribeClustersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeClustersOutput) GoString() string { + return s.String() +} + +// SetClusters sets the Clusters field's value. +func (s *DescribeClustersOutput) SetClusters(v []*Cluster) *DescribeClustersOutput { + s.Clusters = v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeClustersOutput) SetMarker(v string) *DescribeClustersOutput { + s.Marker = &v + return s +} + +type DescribeDefaultClusterParametersInput struct { + _ struct{} `type:"structure"` + + // An optional parameter that specifies the starting point to return a set of + // response records. When the results of a DescribeDefaultClusterParameters + // request exceed the value specified in MaxRecords, AWS returns a value in + // the Marker field of the response. You can retrieve the next set of response + // records by providing the returned marker value in the Marker parameter and + // retrying the request. + Marker *string `type:"string"` + + // The maximum number of response records to return in each call. If the number + // of remaining response records exceeds the specified MaxRecords value, a value + // is returned in a marker field of the response. You can retrieve the next + // set of records by retrying the command with the returned marker value. + // + // Default: 100 + // + // Constraints: minimum 20, maximum 100. + MaxRecords *int64 `type:"integer"` + + // The name of the cluster parameter group family. + // + // ParameterGroupFamily is a required field + ParameterGroupFamily *string `type:"string" required:"true"` +} + +// String returns the string representation +func (s DescribeDefaultClusterParametersInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeDefaultClusterParametersInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeDefaultClusterParametersInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeDefaultClusterParametersInput"} + if s.ParameterGroupFamily == nil { + invalidParams.Add(request.NewErrParamRequired("ParameterGroupFamily")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMarker sets the Marker field's value. +func (s *DescribeDefaultClusterParametersInput) SetMarker(v string) *DescribeDefaultClusterParametersInput { + s.Marker = &v + return s +} + +// SetMaxRecords sets the MaxRecords field's value. +func (s *DescribeDefaultClusterParametersInput) SetMaxRecords(v int64) *DescribeDefaultClusterParametersInput { + s.MaxRecords = &v + return s +} + +// SetParameterGroupFamily sets the ParameterGroupFamily field's value. +func (s *DescribeDefaultClusterParametersInput) SetParameterGroupFamily(v string) *DescribeDefaultClusterParametersInput { + s.ParameterGroupFamily = &v + return s +} + +type DescribeDefaultClusterParametersOutput struct { + _ struct{} `type:"structure"` + + // Describes the default cluster parameters for a parameter group family. + DefaultClusterParameters *DefaultClusterParameters `type:"structure"` +} + +// String returns the string representation +func (s DescribeDefaultClusterParametersOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DescribeDefaultClusterParametersOutput) GoString() string { + return s.String() +} + +// SetDefaultClusterParameters sets the DefaultClusterParameters field's value. +func (s *DescribeDefaultClusterParametersOutput) SetDefaultClusterParameters(v *DefaultClusterParameters) *DescribeDefaultClusterParametersOutput { + s.DefaultClusterParameters = v + return s +} + +type DescribeEndpointAccessInput struct { + _ struct{} `type:"structure"` + + // The cluster identifier associated with the described endpoint. + ClusterIdentifier *string `type:"string"` + + // The name of the endpoint to be described. + EndpointName *string `type:"string"` + + // Reserved for Amazon Redshift internal use. + Marker *string `type:"string"` + + // Reserved for Amazon Redshift internal use. MaxRecords *int64 `type:"integer"` - // A tag key or keys for which you want to return all matching clusters that - // are associated with the specified key or keys. For example, suppose that - // you have clusters that are tagged with keys called owner and environment. - // If you specify both of these tag keys in the request, Amazon Redshift returns - // a response with the clusters that have either or both of these tag keys associated - // with them. - TagKeys []*string `locationNameList:"TagKey" type:"list"` + // The AWS account ID of the owner of the cluster. + ResourceOwner *string `type:"string"` - // A tag value or values for which you want to return all matching clusters - // that are associated with the specified tag value or values. For example, - // suppose that you have clusters that are tagged with values called admin and - // test. If you specify both of these tag values in the request, Amazon Redshift - // returns a response with the clusters that have either or both of these tag - // values associated with them. - TagValues []*string `locationNameList:"TagValue" type:"list"` + // The virtual private cloud (VPC) identifier with access to the cluster. + VpcId *string `type:"string"` } // String returns the string representation -func (s DescribeClustersInput) String() string { +func (s DescribeEndpointAccessInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeClustersInput) GoString() string { +func (s DescribeEndpointAccessInput) GoString() string { return s.String() } // SetClusterIdentifier sets the ClusterIdentifier field's value. -func (s *DescribeClustersInput) SetClusterIdentifier(v string) *DescribeClustersInput { +func (s *DescribeEndpointAccessInput) SetClusterIdentifier(v string) *DescribeEndpointAccessInput { s.ClusterIdentifier = &v return s } +// SetEndpointName sets the EndpointName field's value. +func (s *DescribeEndpointAccessInput) SetEndpointName(v string) *DescribeEndpointAccessInput { + s.EndpointName = &v + return s +} + // SetMarker sets the Marker field's value. -func (s *DescribeClustersInput) SetMarker(v string) *DescribeClustersInput { +func (s *DescribeEndpointAccessInput) SetMarker(v string) *DescribeEndpointAccessInput { s.Marker = &v return s } // SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeClustersInput) SetMaxRecords(v int64) *DescribeClustersInput { +func (s *DescribeEndpointAccessInput) SetMaxRecords(v int64) *DescribeEndpointAccessInput { s.MaxRecords = &v return s } -// SetTagKeys sets the TagKeys field's value. -func (s *DescribeClustersInput) SetTagKeys(v []*string) *DescribeClustersInput { - s.TagKeys = v +// SetResourceOwner sets the ResourceOwner field's value. +func (s *DescribeEndpointAccessInput) SetResourceOwner(v string) *DescribeEndpointAccessInput { + s.ResourceOwner = &v return s } -// SetTagValues sets the TagValues field's value. -func (s *DescribeClustersInput) SetTagValues(v []*string) *DescribeClustersInput { - s.TagValues = v +// SetVpcId sets the VpcId field's value. +func (s *DescribeEndpointAccessInput) SetVpcId(v string) *DescribeEndpointAccessInput { + s.VpcId = &v return s } -// Contains the output from the DescribeClusters action. -type DescribeClustersOutput struct { +type DescribeEndpointAccessOutput struct { _ struct{} `type:"structure"` - // A list of Cluster objects, where each object describes one cluster. - Clusters []*Cluster `locationNameList:"Cluster" type:"list"` + // The list of endpoints with access to the cluster. + EndpointAccessList []*EndpointAccess `type:"list"` - // A value that indicates the starting point for the next set of response records - // in a subsequent request. If a value is returned in a response, you can retrieve - // the next set of records by providing this returned marker value in the Marker - // parameter and retrying the command. If the Marker field is empty, all response - // records have been retrieved for the request. + // Reserved for Amazon Redshift internal use. Marker *string `type:"string"` } // String returns the string representation -func (s DescribeClustersOutput) String() string { +func (s DescribeEndpointAccessOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeClustersOutput) GoString() string { +func (s DescribeEndpointAccessOutput) GoString() string { return s.String() } -// SetClusters sets the Clusters field's value. -func (s *DescribeClustersOutput) SetClusters(v []*Cluster) *DescribeClustersOutput { - s.Clusters = v +// SetEndpointAccessList sets the EndpointAccessList field's value. +func (s *DescribeEndpointAccessOutput) SetEndpointAccessList(v []*EndpointAccess) *DescribeEndpointAccessOutput { + s.EndpointAccessList = v return s } // SetMarker sets the Marker field's value. -func (s *DescribeClustersOutput) SetMarker(v string) *DescribeClustersOutput { +func (s *DescribeEndpointAccessOutput) SetMarker(v string) *DescribeEndpointAccessOutput { s.Marker = &v return s } -type DescribeDefaultClusterParametersInput struct { +type DescribeEndpointAuthorizationInput struct { _ struct{} `type:"structure"` - // An optional parameter that specifies the starting point to return a set of - // response records. When the results of a DescribeDefaultClusterParameters - // request exceed the value specified in MaxRecords, AWS returns a value in - // the Marker field of the response. You can retrieve the next set of response - // records by providing the returned marker value in the Marker parameter and - // retrying the request. + // The AWS account ID of either the cluster owner (grantor) or grantee. If Grantee + // parameter is true, then the Account value is of the grantor. + Account *string `type:"string"` + + // The cluster identifier of the cluster to access. + ClusterIdentifier *string `type:"string"` + + // Indicates whether to check authorization from a grantor or grantee point + // of view. If true, Amazon Redshift returns endpoint authorizations that you've + // been granted. If false (default), checks authorization from a grantor point + // of view. + Grantee *bool `type:"boolean"` + + // Reserved for Amazon Redshift internal use. Marker *string `type:"string"` - // The maximum number of response records to return in each call. If the number - // of remaining response records exceeds the specified MaxRecords value, a value - // is returned in a marker field of the response. You can retrieve the next - // set of records by retrying the command with the returned marker value. - // - // Default: 100 - // - // Constraints: minimum 20, maximum 100. + // Reserved for Amazon Redshift internal use. MaxRecords *int64 `type:"integer"` - - // The name of the cluster parameter group family. - // - // ParameterGroupFamily is a required field - ParameterGroupFamily *string `type:"string" required:"true"` } // String returns the string representation -func (s DescribeDefaultClusterParametersInput) String() string { +func (s DescribeEndpointAuthorizationInput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeDefaultClusterParametersInput) GoString() string { +func (s DescribeEndpointAuthorizationInput) GoString() string { return s.String() } -// Validate inspects the fields of the type to determine if they are valid. -func (s *DescribeDefaultClusterParametersInput) Validate() error { - invalidParams := request.ErrInvalidParams{Context: "DescribeDefaultClusterParametersInput"} - if s.ParameterGroupFamily == nil { - invalidParams.Add(request.NewErrParamRequired("ParameterGroupFamily")) - } +// SetAccount sets the Account field's value. +func (s *DescribeEndpointAuthorizationInput) SetAccount(v string) *DescribeEndpointAuthorizationInput { + s.Account = &v + return s +} - if invalidParams.Len() > 0 { - return invalidParams - } - return nil +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *DescribeEndpointAuthorizationInput) SetClusterIdentifier(v string) *DescribeEndpointAuthorizationInput { + s.ClusterIdentifier = &v + return s +} + +// SetGrantee sets the Grantee field's value. +func (s *DescribeEndpointAuthorizationInput) SetGrantee(v bool) *DescribeEndpointAuthorizationInput { + s.Grantee = &v + return s } // SetMarker sets the Marker field's value. -func (s *DescribeDefaultClusterParametersInput) SetMarker(v string) *DescribeDefaultClusterParametersInput { +func (s *DescribeEndpointAuthorizationInput) SetMarker(v string) *DescribeEndpointAuthorizationInput { s.Marker = &v return s } // SetMaxRecords sets the MaxRecords field's value. -func (s *DescribeDefaultClusterParametersInput) SetMaxRecords(v int64) *DescribeDefaultClusterParametersInput { +func (s *DescribeEndpointAuthorizationInput) SetMaxRecords(v int64) *DescribeEndpointAuthorizationInput { s.MaxRecords = &v return s } -// SetParameterGroupFamily sets the ParameterGroupFamily field's value. -func (s *DescribeDefaultClusterParametersInput) SetParameterGroupFamily(v string) *DescribeDefaultClusterParametersInput { - s.ParameterGroupFamily = &v - return s -} - -type DescribeDefaultClusterParametersOutput struct { +type DescribeEndpointAuthorizationOutput struct { _ struct{} `type:"structure"` - // Describes the default cluster parameters for a parameter group family. - DefaultClusterParameters *DefaultClusterParameters `type:"structure"` + // The authorizations to an endpoint. + EndpointAuthorizationList []*EndpointAuthorization `type:"list"` + + // Reserved for Amazon Redshift internal use. + Marker *string `type:"string"` } // String returns the string representation -func (s DescribeDefaultClusterParametersOutput) String() string { +func (s DescribeEndpointAuthorizationOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s DescribeDefaultClusterParametersOutput) GoString() string { +func (s DescribeEndpointAuthorizationOutput) GoString() string { return s.String() } -// SetDefaultClusterParameters sets the DefaultClusterParameters field's value. -func (s *DescribeDefaultClusterParametersOutput) SetDefaultClusterParameters(v *DefaultClusterParameters) *DescribeDefaultClusterParametersOutput { - s.DefaultClusterParameters = v +// SetEndpointAuthorizationList sets the EndpointAuthorizationList field's value. +func (s *DescribeEndpointAuthorizationOutput) SetEndpointAuthorizationList(v []*EndpointAuthorization) *DescribeEndpointAuthorizationOutput { + s.EndpointAuthorizationList = v + return s +} + +// SetMarker sets the Marker field's value. +func (s *DescribeEndpointAuthorizationOutput) SetMarker(v string) *DescribeEndpointAuthorizationOutput { + s.Marker = &v return s } @@ -19067,74 +20404,278 @@ func (s *EnableSnapshotCopyInput) SetRetentionPeriod(v int64) *EnableSnapshotCop return s } -// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value. -func (s *EnableSnapshotCopyInput) SetSnapshotCopyGrantName(v string) *EnableSnapshotCopyInput { - s.SnapshotCopyGrantName = &v +// SetSnapshotCopyGrantName sets the SnapshotCopyGrantName field's value. +func (s *EnableSnapshotCopyInput) SetSnapshotCopyGrantName(v string) *EnableSnapshotCopyInput { + s.SnapshotCopyGrantName = &v + return s +} + +type EnableSnapshotCopyOutput struct { + _ struct{} `type:"structure"` + + // Describes a cluster. + Cluster *Cluster `type:"structure"` +} + +// String returns the string representation +func (s EnableSnapshotCopyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EnableSnapshotCopyOutput) GoString() string { + return s.String() +} + +// SetCluster sets the Cluster field's value. +func (s *EnableSnapshotCopyOutput) SetCluster(v *Cluster) *EnableSnapshotCopyOutput { + s.Cluster = v + return s +} + +// Describes a connection endpoint. +type Endpoint struct { + _ struct{} `type:"structure"` + + // The DNS address of the Cluster. + Address *string `type:"string"` + + // The port that the database engine is listening on. + Port *int64 `type:"integer"` + + // Describes a connection endpoint. + VpcEndpoints []*VpcEndpoint `locationNameList:"VpcEndpoint" type:"list"` +} + +// String returns the string representation +func (s Endpoint) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s Endpoint) GoString() string { + return s.String() +} + +// SetAddress sets the Address field's value. +func (s *Endpoint) SetAddress(v string) *Endpoint { + s.Address = &v + return s +} + +// SetPort sets the Port field's value. +func (s *Endpoint) SetPort(v int64) *Endpoint { + s.Port = &v + return s +} + +// SetVpcEndpoints sets the VpcEndpoints field's value. +func (s *Endpoint) SetVpcEndpoints(v []*VpcEndpoint) *Endpoint { + s.VpcEndpoints = v + return s +} + +// Describes a Redshift-managed VPC endpoint. +type EndpointAccess struct { + _ struct{} `type:"structure"` + + // The DNS address of the endpoint. + Address *string `type:"string"` + + // The cluster identifier of the cluster associated with the endpoint. + ClusterIdentifier *string `type:"string"` + + // The time (UTC) that the endpoint was created. + EndpointCreateTime *time.Time `type:"timestamp"` + + // The name of the endpoint. + EndpointName *string `type:"string"` + + // The status of the endpoint. + EndpointStatus *string `type:"string"` + + // The port number on which the cluster accepts incoming connections. + Port *int64 `type:"integer"` + + // The AWS account ID of the owner of the cluster. + ResourceOwner *string `type:"string"` + + // The subnet group name where Amazon Redshift chooses to deploy the endpoint. + SubnetGroupName *string `type:"string"` + + // The connection endpoint for connecting to an Amazon Redshift cluster through + // the proxy. + VpcEndpoint *VpcEndpoint `type:"structure"` + + // The security groups associated with the endpoint. + VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroup" type:"list"` +} + +// String returns the string representation +func (s EndpointAccess) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s EndpointAccess) GoString() string { + return s.String() +} + +// SetAddress sets the Address field's value. +func (s *EndpointAccess) SetAddress(v string) *EndpointAccess { + s.Address = &v + return s +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *EndpointAccess) SetClusterIdentifier(v string) *EndpointAccess { + s.ClusterIdentifier = &v + return s +} + +// SetEndpointCreateTime sets the EndpointCreateTime field's value. +func (s *EndpointAccess) SetEndpointCreateTime(v time.Time) *EndpointAccess { + s.EndpointCreateTime = &v + return s +} + +// SetEndpointName sets the EndpointName field's value. +func (s *EndpointAccess) SetEndpointName(v string) *EndpointAccess { + s.EndpointName = &v + return s +} + +// SetEndpointStatus sets the EndpointStatus field's value. +func (s *EndpointAccess) SetEndpointStatus(v string) *EndpointAccess { + s.EndpointStatus = &v + return s +} + +// SetPort sets the Port field's value. +func (s *EndpointAccess) SetPort(v int64) *EndpointAccess { + s.Port = &v + return s +} + +// SetResourceOwner sets the ResourceOwner field's value. +func (s *EndpointAccess) SetResourceOwner(v string) *EndpointAccess { + s.ResourceOwner = &v + return s +} + +// SetSubnetGroupName sets the SubnetGroupName field's value. +func (s *EndpointAccess) SetSubnetGroupName(v string) *EndpointAccess { + s.SubnetGroupName = &v + return s +} + +// SetVpcEndpoint sets the VpcEndpoint field's value. +func (s *EndpointAccess) SetVpcEndpoint(v *VpcEndpoint) *EndpointAccess { + s.VpcEndpoint = v + return s +} + +// SetVpcSecurityGroups sets the VpcSecurityGroups field's value. +func (s *EndpointAccess) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *EndpointAccess { + s.VpcSecurityGroups = v return s } -type EnableSnapshotCopyOutput struct { +// Describes an endpoint authorization for authorizing Redshift-managed VPC +// endpoint access to a cluster across AWS accounts. +type EndpointAuthorization struct { _ struct{} `type:"structure"` - // Describes a cluster. - Cluster *Cluster `type:"structure"` + // Indicates whether all VPCs in the grantee account are allowed access to the + // cluster. + AllowedAllVPCs *bool `type:"boolean"` + + // The VPCs allowed access to the cluster. + AllowedVPCs []*string `locationNameList:"VpcIdentifier" type:"list"` + + // The time (UTC) when the authorization was created. + AuthorizeTime *time.Time `type:"timestamp"` + + // The cluster identifier. + ClusterIdentifier *string `type:"string"` + + // The status of the cluster. + ClusterStatus *string `type:"string"` + + // The number of Redshift-managed VPC endpoints created for the authorization. + EndpointCount *int64 `type:"integer"` + + // The AWS account ID of the grantee of the cluster. + Grantee *string `type:"string"` + + // The AWS account ID of the cluster owner. + Grantor *string `type:"string"` + + // The status of the authorization action. + Status *string `type:"string" enum:"AuthorizationStatus"` } // String returns the string representation -func (s EnableSnapshotCopyOutput) String() string { +func (s EndpointAuthorization) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s EnableSnapshotCopyOutput) GoString() string { +func (s EndpointAuthorization) GoString() string { return s.String() } -// SetCluster sets the Cluster field's value. -func (s *EnableSnapshotCopyOutput) SetCluster(v *Cluster) *EnableSnapshotCopyOutput { - s.Cluster = v +// SetAllowedAllVPCs sets the AllowedAllVPCs field's value. +func (s *EndpointAuthorization) SetAllowedAllVPCs(v bool) *EndpointAuthorization { + s.AllowedAllVPCs = &v return s } -// Describes a connection endpoint. -type Endpoint struct { - _ struct{} `type:"structure"` - - // The DNS address of the Cluster. - Address *string `type:"string"` +// SetAllowedVPCs sets the AllowedVPCs field's value. +func (s *EndpointAuthorization) SetAllowedVPCs(v []*string) *EndpointAuthorization { + s.AllowedVPCs = v + return s +} - // The port that the database engine is listening on. - Port *int64 `type:"integer"` +// SetAuthorizeTime sets the AuthorizeTime field's value. +func (s *EndpointAuthorization) SetAuthorizeTime(v time.Time) *EndpointAuthorization { + s.AuthorizeTime = &v + return s +} - // Describes a connection endpoint. - VpcEndpoints []*VpcEndpoint `locationNameList:"VpcEndpoint" type:"list"` +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *EndpointAuthorization) SetClusterIdentifier(v string) *EndpointAuthorization { + s.ClusterIdentifier = &v + return s } -// String returns the string representation -func (s Endpoint) String() string { - return awsutil.Prettify(s) +// SetClusterStatus sets the ClusterStatus field's value. +func (s *EndpointAuthorization) SetClusterStatus(v string) *EndpointAuthorization { + s.ClusterStatus = &v + return s } -// GoString returns the string representation -func (s Endpoint) GoString() string { - return s.String() +// SetEndpointCount sets the EndpointCount field's value. +func (s *EndpointAuthorization) SetEndpointCount(v int64) *EndpointAuthorization { + s.EndpointCount = &v + return s } -// SetAddress sets the Address field's value. -func (s *Endpoint) SetAddress(v string) *Endpoint { - s.Address = &v +// SetGrantee sets the Grantee field's value. +func (s *EndpointAuthorization) SetGrantee(v string) *EndpointAuthorization { + s.Grantee = &v return s } -// SetPort sets the Port field's value. -func (s *Endpoint) SetPort(v int64) *Endpoint { - s.Port = &v +// SetGrantor sets the Grantor field's value. +func (s *EndpointAuthorization) SetGrantor(v string) *EndpointAuthorization { + s.Grantor = &v return s } -// SetVpcEndpoints sets the VpcEndpoints field's value. -func (s *Endpoint) SetVpcEndpoints(v []*VpcEndpoint) *Endpoint { - s.VpcEndpoints = v +// SetStatus sets the Status field's value. +func (s *EndpointAuthorization) SetStatus(v string) *EndpointAuthorization { + s.Status = &v return s } @@ -21054,6 +22595,160 @@ func (s *ModifyClusterSubnetGroupOutput) SetClusterSubnetGroup(v *ClusterSubnetG return s } +type ModifyEndpointAccessInput struct { + _ struct{} `type:"structure"` + + // The endpoint to be modified. + // + // EndpointName is a required field + EndpointName *string `type:"string" required:"true"` + + // The complete list of VPC security groups associated with the endpoint after + // the endpoint is modified. + VpcSecurityGroupIds []*string `locationNameList:"VpcSecurityGroupId" type:"list"` +} + +// String returns the string representation +func (s ModifyEndpointAccessInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyEndpointAccessInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ModifyEndpointAccessInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ModifyEndpointAccessInput"} + if s.EndpointName == nil { + invalidParams.Add(request.NewErrParamRequired("EndpointName")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetEndpointName sets the EndpointName field's value. +func (s *ModifyEndpointAccessInput) SetEndpointName(v string) *ModifyEndpointAccessInput { + s.EndpointName = &v + return s +} + +// SetVpcSecurityGroupIds sets the VpcSecurityGroupIds field's value. +func (s *ModifyEndpointAccessInput) SetVpcSecurityGroupIds(v []*string) *ModifyEndpointAccessInput { + s.VpcSecurityGroupIds = v + return s +} + +// Describes a Redshift-managed VPC endpoint. +type ModifyEndpointAccessOutput struct { + _ struct{} `type:"structure"` + + // The DNS address of the endpoint. + Address *string `type:"string"` + + // The cluster identifier of the cluster associated with the endpoint. + ClusterIdentifier *string `type:"string"` + + // The time (UTC) that the endpoint was created. + EndpointCreateTime *time.Time `type:"timestamp"` + + // The name of the endpoint. + EndpointName *string `type:"string"` + + // The status of the endpoint. + EndpointStatus *string `type:"string"` + + // The port number on which the cluster accepts incoming connections. + Port *int64 `type:"integer"` + + // The AWS account ID of the owner of the cluster. + ResourceOwner *string `type:"string"` + + // The subnet group name where Amazon Redshift chooses to deploy the endpoint. + SubnetGroupName *string `type:"string"` + + // The connection endpoint for connecting to an Amazon Redshift cluster through + // the proxy. + VpcEndpoint *VpcEndpoint `type:"structure"` + + // The security groups associated with the endpoint. + VpcSecurityGroups []*VpcSecurityGroupMembership `locationNameList:"VpcSecurityGroup" type:"list"` +} + +// String returns the string representation +func (s ModifyEndpointAccessOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ModifyEndpointAccessOutput) GoString() string { + return s.String() +} + +// SetAddress sets the Address field's value. +func (s *ModifyEndpointAccessOutput) SetAddress(v string) *ModifyEndpointAccessOutput { + s.Address = &v + return s +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *ModifyEndpointAccessOutput) SetClusterIdentifier(v string) *ModifyEndpointAccessOutput { + s.ClusterIdentifier = &v + return s +} + +// SetEndpointCreateTime sets the EndpointCreateTime field's value. +func (s *ModifyEndpointAccessOutput) SetEndpointCreateTime(v time.Time) *ModifyEndpointAccessOutput { + s.EndpointCreateTime = &v + return s +} + +// SetEndpointName sets the EndpointName field's value. +func (s *ModifyEndpointAccessOutput) SetEndpointName(v string) *ModifyEndpointAccessOutput { + s.EndpointName = &v + return s +} + +// SetEndpointStatus sets the EndpointStatus field's value. +func (s *ModifyEndpointAccessOutput) SetEndpointStatus(v string) *ModifyEndpointAccessOutput { + s.EndpointStatus = &v + return s +} + +// SetPort sets the Port field's value. +func (s *ModifyEndpointAccessOutput) SetPort(v int64) *ModifyEndpointAccessOutput { + s.Port = &v + return s +} + +// SetResourceOwner sets the ResourceOwner field's value. +func (s *ModifyEndpointAccessOutput) SetResourceOwner(v string) *ModifyEndpointAccessOutput { + s.ResourceOwner = &v + return s +} + +// SetSubnetGroupName sets the SubnetGroupName field's value. +func (s *ModifyEndpointAccessOutput) SetSubnetGroupName(v string) *ModifyEndpointAccessOutput { + s.SubnetGroupName = &v + return s +} + +// SetVpcEndpoint sets the VpcEndpoint field's value. +func (s *ModifyEndpointAccessOutput) SetVpcEndpoint(v *VpcEndpoint) *ModifyEndpointAccessOutput { + s.VpcEndpoint = v + return s +} + +// SetVpcSecurityGroups sets the VpcSecurityGroups field's value. +func (s *ModifyEndpointAccessOutput) SetVpcSecurityGroups(v []*VpcSecurityGroupMembership) *ModifyEndpointAccessOutput { + s.VpcSecurityGroups = v + return s +} + type ModifyEventSubscriptionInput struct { _ struct{} `type:"structure"` @@ -23926,6 +25621,155 @@ func (s *RevokeClusterSecurityGroupIngressOutput) SetClusterSecurityGroup(v *Clu return s } +type RevokeEndpointAccessInput struct { + _ struct{} `type:"structure"` + + // The AWS account ID whose access is to be revoked. + Account *string `type:"string"` + + // The cluster to revoke access from. + ClusterIdentifier *string `type:"string"` + + // Indicates whether to force the revoke action. If true, the Redshift-managed + // VPC endpoints associated with the endpoint authorization are also deleted. + Force *bool `type:"boolean"` + + // The virtual private cloud (VPC) identifiers for which access is to be revoked. + VpcIds []*string `locationNameList:"VpcIdentifier" type:"list"` +} + +// String returns the string representation +func (s RevokeEndpointAccessInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RevokeEndpointAccessInput) GoString() string { + return s.String() +} + +// SetAccount sets the Account field's value. +func (s *RevokeEndpointAccessInput) SetAccount(v string) *RevokeEndpointAccessInput { + s.Account = &v + return s +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *RevokeEndpointAccessInput) SetClusterIdentifier(v string) *RevokeEndpointAccessInput { + s.ClusterIdentifier = &v + return s +} + +// SetForce sets the Force field's value. +func (s *RevokeEndpointAccessInput) SetForce(v bool) *RevokeEndpointAccessInput { + s.Force = &v + return s +} + +// SetVpcIds sets the VpcIds field's value. +func (s *RevokeEndpointAccessInput) SetVpcIds(v []*string) *RevokeEndpointAccessInput { + s.VpcIds = v + return s +} + +// Describes an endpoint authorization for authorizing Redshift-managed VPC +// endpoint access to a cluster across AWS accounts. +type RevokeEndpointAccessOutput struct { + _ struct{} `type:"structure"` + + // Indicates whether all VPCs in the grantee account are allowed access to the + // cluster. + AllowedAllVPCs *bool `type:"boolean"` + + // The VPCs allowed access to the cluster. + AllowedVPCs []*string `locationNameList:"VpcIdentifier" type:"list"` + + // The time (UTC) when the authorization was created. + AuthorizeTime *time.Time `type:"timestamp"` + + // The cluster identifier. + ClusterIdentifier *string `type:"string"` + + // The status of the cluster. + ClusterStatus *string `type:"string"` + + // The number of Redshift-managed VPC endpoints created for the authorization. + EndpointCount *int64 `type:"integer"` + + // The AWS account ID of the grantee of the cluster. + Grantee *string `type:"string"` + + // The AWS account ID of the cluster owner. + Grantor *string `type:"string"` + + // The status of the authorization action. + Status *string `type:"string" enum:"AuthorizationStatus"` +} + +// String returns the string representation +func (s RevokeEndpointAccessOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s RevokeEndpointAccessOutput) GoString() string { + return s.String() +} + +// SetAllowedAllVPCs sets the AllowedAllVPCs field's value. +func (s *RevokeEndpointAccessOutput) SetAllowedAllVPCs(v bool) *RevokeEndpointAccessOutput { + s.AllowedAllVPCs = &v + return s +} + +// SetAllowedVPCs sets the AllowedVPCs field's value. +func (s *RevokeEndpointAccessOutput) SetAllowedVPCs(v []*string) *RevokeEndpointAccessOutput { + s.AllowedVPCs = v + return s +} + +// SetAuthorizeTime sets the AuthorizeTime field's value. +func (s *RevokeEndpointAccessOutput) SetAuthorizeTime(v time.Time) *RevokeEndpointAccessOutput { + s.AuthorizeTime = &v + return s +} + +// SetClusterIdentifier sets the ClusterIdentifier field's value. +func (s *RevokeEndpointAccessOutput) SetClusterIdentifier(v string) *RevokeEndpointAccessOutput { + s.ClusterIdentifier = &v + return s +} + +// SetClusterStatus sets the ClusterStatus field's value. +func (s *RevokeEndpointAccessOutput) SetClusterStatus(v string) *RevokeEndpointAccessOutput { + s.ClusterStatus = &v + return s +} + +// SetEndpointCount sets the EndpointCount field's value. +func (s *RevokeEndpointAccessOutput) SetEndpointCount(v int64) *RevokeEndpointAccessOutput { + s.EndpointCount = &v + return s +} + +// SetGrantee sets the Grantee field's value. +func (s *RevokeEndpointAccessOutput) SetGrantee(v string) *RevokeEndpointAccessOutput { + s.Grantee = &v + return s +} + +// SetGrantor sets the Grantor field's value. +func (s *RevokeEndpointAccessOutput) SetGrantor(v string) *RevokeEndpointAccessOutput { + s.Grantor = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *RevokeEndpointAccessOutput) SetStatus(v string) *RevokeEndpointAccessOutput { + s.Status = &v + return s +} + type RevokeSnapshotAccessInput struct { _ struct{} `type:"structure"` @@ -25369,7 +27213,7 @@ func (s *UsageLimit) SetUsageLimitId(v string) *UsageLimit { return s } -// The connection endpoint for connecting an Amazon Redshift cluster through +// The connection endpoint for connecting to an Amazon Redshift cluster through // the proxy. type VpcEndpoint struct { _ struct{} `type:"structure"` @@ -25467,6 +27311,22 @@ func ActionType_Values() []string { } } +const ( + // AuthorizationStatusAuthorized is a AuthorizationStatus enum value + AuthorizationStatusAuthorized = "Authorized" + + // AuthorizationStatusRevoking is a AuthorizationStatus enum value + AuthorizationStatusRevoking = "Revoking" +) + +// AuthorizationStatus_Values returns all elements of the AuthorizationStatus enum +func AuthorizationStatus_Values() []string { + return []string{ + AuthorizationStatusAuthorized, + AuthorizationStatusRevoking, + } +} + const ( // ModeStandard is a Mode enum value ModeStandard = "standard" diff --git a/service/redshift/errors.go b/service/redshift/errors.go index ada8b21cb9f..2221e24a139 100644 --- a/service/redshift/errors.go +++ b/service/redshift/errors.go @@ -4,6 +4,12 @@ package redshift const ( + // ErrCodeAccessToClusterDeniedFault for service response error code + // "AccessToClusterDenied". + // + // You are not authorized to access the cluster. + ErrCodeAccessToClusterDeniedFault = "AccessToClusterDenied" + // ErrCodeAccessToSnapshotDeniedFault for service response error code // "AccessToSnapshotDenied". // @@ -192,6 +198,50 @@ const ( // temporarily unavailable. Wait 30 to 60 seconds and try again. ErrCodeDependentServiceUnavailableFault = "DependentServiceUnavailableFault" + // ErrCodeEndpointAlreadyExistsFault for service response error code + // "EndpointAlreadyExists". + // + // The account already has a Redshift-managed VPC endpoint with the given identifier. + ErrCodeEndpointAlreadyExistsFault = "EndpointAlreadyExists" + + // ErrCodeEndpointAuthorizationAlreadyExistsFault for service response error code + // "EndpointAuthorizationAlreadyExists". + // + // The authorization already exists for this endpoint. + ErrCodeEndpointAuthorizationAlreadyExistsFault = "EndpointAuthorizationAlreadyExists" + + // ErrCodeEndpointAuthorizationNotFoundFault for service response error code + // "EndpointAuthorizationNotFound". + // + // The authorization for this endpoint can't be found. + ErrCodeEndpointAuthorizationNotFoundFault = "EndpointAuthorizationNotFound" + + // ErrCodeEndpointAuthorizationsPerClusterLimitExceededFault for service response error code + // "EndpointAuthorizationsPerClusterLimitExceeded". + // + // The number of endpoint authorizations per cluster has exceeded its limit. + ErrCodeEndpointAuthorizationsPerClusterLimitExceededFault = "EndpointAuthorizationsPerClusterLimitExceeded" + + // ErrCodeEndpointNotFoundFault for service response error code + // "EndpointNotFound". + // + // The endpoint name doesn't refer to an existing endpoint. + ErrCodeEndpointNotFoundFault = "EndpointNotFound" + + // ErrCodeEndpointsPerAuthorizationLimitExceededFault for service response error code + // "EndpointsPerAuthorizationLimitExceeded". + // + // The number of Redshift-managed VPC endpoints per authorization has exceeded + // its limit. + ErrCodeEndpointsPerAuthorizationLimitExceededFault = "EndpointsPerAuthorizationLimitExceeded" + + // ErrCodeEndpointsPerClusterLimitExceededFault for service response error code + // "EndpointsPerClusterLimitExceeded". + // + // The number of Redshift-managed VPC endpoints per cluster has exceeded its + // limit. + ErrCodeEndpointsPerClusterLimitExceededFault = "EndpointsPerClusterLimitExceeded" + // ErrCodeEventSubscriptionQuotaExceededFault for service response error code // "EventSubscriptionQuotaExceeded". // @@ -269,6 +319,12 @@ const ( // bucket specified when enabling logging. ErrCodeInsufficientS3BucketPolicyFault = "InsufficientS3BucketPolicyFault" + // ErrCodeInvalidAuthorizationStateFault for service response error code + // "InvalidAuthorizationState". + // + // The status of the authorization is not valid. + ErrCodeInvalidAuthorizationStateFault = "InvalidAuthorizationState" + // ErrCodeInvalidClusterParameterGroupStateFault for service response error code // "InvalidClusterParameterGroupState". // @@ -326,6 +382,12 @@ const ( // The Elastic IP (EIP) is invalid or cannot be found. ErrCodeInvalidElasticIpFault = "InvalidElasticIpFault" + // ErrCodeInvalidEndpointStateFault for service response error code + // "InvalidEndpointState". + // + // The status of the endpoint is not valid. + ErrCodeInvalidEndpointStateFault = "InvalidEndpointState" + // ErrCodeInvalidHsmClientCertificateStateFault for service response error code // "InvalidHsmClientCertificateStateFault". // diff --git a/service/redshift/redshiftiface/interface.go b/service/redshift/redshiftiface/interface.go index 7f89b4679c1..66ab05defde 100644 --- a/service/redshift/redshiftiface/interface.go +++ b/service/redshift/redshiftiface/interface.go @@ -68,6 +68,10 @@ type RedshiftAPI interface { AuthorizeClusterSecurityGroupIngressWithContext(aws.Context, *redshift.AuthorizeClusterSecurityGroupIngressInput, ...request.Option) (*redshift.AuthorizeClusterSecurityGroupIngressOutput, error) AuthorizeClusterSecurityGroupIngressRequest(*redshift.AuthorizeClusterSecurityGroupIngressInput) (*request.Request, *redshift.AuthorizeClusterSecurityGroupIngressOutput) + AuthorizeEndpointAccess(*redshift.AuthorizeEndpointAccessInput) (*redshift.AuthorizeEndpointAccessOutput, error) + AuthorizeEndpointAccessWithContext(aws.Context, *redshift.AuthorizeEndpointAccessInput, ...request.Option) (*redshift.AuthorizeEndpointAccessOutput, error) + AuthorizeEndpointAccessRequest(*redshift.AuthorizeEndpointAccessInput) (*request.Request, *redshift.AuthorizeEndpointAccessOutput) + AuthorizeSnapshotAccess(*redshift.AuthorizeSnapshotAccessInput) (*redshift.AuthorizeSnapshotAccessOutput, error) AuthorizeSnapshotAccessWithContext(aws.Context, *redshift.AuthorizeSnapshotAccessInput, ...request.Option) (*redshift.AuthorizeSnapshotAccessOutput, error) AuthorizeSnapshotAccessRequest(*redshift.AuthorizeSnapshotAccessInput) (*request.Request, *redshift.AuthorizeSnapshotAccessOutput) @@ -108,6 +112,10 @@ type RedshiftAPI interface { CreateClusterSubnetGroupWithContext(aws.Context, *redshift.CreateClusterSubnetGroupInput, ...request.Option) (*redshift.CreateClusterSubnetGroupOutput, error) CreateClusterSubnetGroupRequest(*redshift.CreateClusterSubnetGroupInput) (*request.Request, *redshift.CreateClusterSubnetGroupOutput) + CreateEndpointAccess(*redshift.CreateEndpointAccessInput) (*redshift.CreateEndpointAccessOutput, error) + CreateEndpointAccessWithContext(aws.Context, *redshift.CreateEndpointAccessInput, ...request.Option) (*redshift.CreateEndpointAccessOutput, error) + CreateEndpointAccessRequest(*redshift.CreateEndpointAccessInput) (*request.Request, *redshift.CreateEndpointAccessOutput) + CreateEventSubscription(*redshift.CreateEventSubscriptionInput) (*redshift.CreateEventSubscriptionOutput, error) CreateEventSubscriptionWithContext(aws.Context, *redshift.CreateEventSubscriptionInput, ...request.Option) (*redshift.CreateEventSubscriptionOutput, error) CreateEventSubscriptionRequest(*redshift.CreateEventSubscriptionInput) (*request.Request, *redshift.CreateEventSubscriptionOutput) @@ -160,6 +168,10 @@ type RedshiftAPI interface { DeleteClusterSubnetGroupWithContext(aws.Context, *redshift.DeleteClusterSubnetGroupInput, ...request.Option) (*redshift.DeleteClusterSubnetGroupOutput, error) DeleteClusterSubnetGroupRequest(*redshift.DeleteClusterSubnetGroupInput) (*request.Request, *redshift.DeleteClusterSubnetGroupOutput) + DeleteEndpointAccess(*redshift.DeleteEndpointAccessInput) (*redshift.DeleteEndpointAccessOutput, error) + DeleteEndpointAccessWithContext(aws.Context, *redshift.DeleteEndpointAccessInput, ...request.Option) (*redshift.DeleteEndpointAccessOutput, error) + DeleteEndpointAccessRequest(*redshift.DeleteEndpointAccessInput) (*request.Request, *redshift.DeleteEndpointAccessOutput) + DeleteEventSubscription(*redshift.DeleteEventSubscriptionInput) (*redshift.DeleteEventSubscriptionOutput, error) DeleteEventSubscriptionWithContext(aws.Context, *redshift.DeleteEventSubscriptionInput, ...request.Option) (*redshift.DeleteEventSubscriptionOutput, error) DeleteEventSubscriptionRequest(*redshift.DeleteEventSubscriptionInput) (*request.Request, *redshift.DeleteEventSubscriptionOutput) @@ -266,6 +278,14 @@ type RedshiftAPI interface { DescribeDefaultClusterParametersPages(*redshift.DescribeDefaultClusterParametersInput, func(*redshift.DescribeDefaultClusterParametersOutput, bool) bool) error DescribeDefaultClusterParametersPagesWithContext(aws.Context, *redshift.DescribeDefaultClusterParametersInput, func(*redshift.DescribeDefaultClusterParametersOutput, bool) bool, ...request.Option) error + DescribeEndpointAccess(*redshift.DescribeEndpointAccessInput) (*redshift.DescribeEndpointAccessOutput, error) + DescribeEndpointAccessWithContext(aws.Context, *redshift.DescribeEndpointAccessInput, ...request.Option) (*redshift.DescribeEndpointAccessOutput, error) + DescribeEndpointAccessRequest(*redshift.DescribeEndpointAccessInput) (*request.Request, *redshift.DescribeEndpointAccessOutput) + + DescribeEndpointAuthorization(*redshift.DescribeEndpointAuthorizationInput) (*redshift.DescribeEndpointAuthorizationOutput, error) + DescribeEndpointAuthorizationWithContext(aws.Context, *redshift.DescribeEndpointAuthorizationInput, ...request.Option) (*redshift.DescribeEndpointAuthorizationOutput, error) + DescribeEndpointAuthorizationRequest(*redshift.DescribeEndpointAuthorizationInput) (*request.Request, *redshift.DescribeEndpointAuthorizationOutput) + DescribeEventCategories(*redshift.DescribeEventCategoriesInput) (*redshift.DescribeEventCategoriesOutput, error) DescribeEventCategoriesWithContext(aws.Context, *redshift.DescribeEventCategoriesInput, ...request.Option) (*redshift.DescribeEventCategoriesOutput, error) DescribeEventCategoriesRequest(*redshift.DescribeEventCategoriesInput) (*request.Request, *redshift.DescribeEventCategoriesOutput) @@ -439,6 +459,10 @@ type RedshiftAPI interface { ModifyClusterSubnetGroupWithContext(aws.Context, *redshift.ModifyClusterSubnetGroupInput, ...request.Option) (*redshift.ModifyClusterSubnetGroupOutput, error) ModifyClusterSubnetGroupRequest(*redshift.ModifyClusterSubnetGroupInput) (*request.Request, *redshift.ModifyClusterSubnetGroupOutput) + ModifyEndpointAccess(*redshift.ModifyEndpointAccessInput) (*redshift.ModifyEndpointAccessOutput, error) + ModifyEndpointAccessWithContext(aws.Context, *redshift.ModifyEndpointAccessInput, ...request.Option) (*redshift.ModifyEndpointAccessOutput, error) + ModifyEndpointAccessRequest(*redshift.ModifyEndpointAccessInput) (*request.Request, *redshift.ModifyEndpointAccessOutput) + ModifyEventSubscription(*redshift.ModifyEventSubscriptionInput) (*redshift.ModifyEventSubscriptionOutput, error) ModifyEventSubscriptionWithContext(aws.Context, *redshift.ModifyEventSubscriptionInput, ...request.Option) (*redshift.ModifyEventSubscriptionOutput, error) ModifyEventSubscriptionRequest(*redshift.ModifyEventSubscriptionInput) (*request.Request, *redshift.ModifyEventSubscriptionOutput) @@ -495,6 +519,10 @@ type RedshiftAPI interface { RevokeClusterSecurityGroupIngressWithContext(aws.Context, *redshift.RevokeClusterSecurityGroupIngressInput, ...request.Option) (*redshift.RevokeClusterSecurityGroupIngressOutput, error) RevokeClusterSecurityGroupIngressRequest(*redshift.RevokeClusterSecurityGroupIngressInput) (*request.Request, *redshift.RevokeClusterSecurityGroupIngressOutput) + RevokeEndpointAccess(*redshift.RevokeEndpointAccessInput) (*redshift.RevokeEndpointAccessOutput, error) + RevokeEndpointAccessWithContext(aws.Context, *redshift.RevokeEndpointAccessInput, ...request.Option) (*redshift.RevokeEndpointAccessOutput, error) + RevokeEndpointAccessRequest(*redshift.RevokeEndpointAccessInput) (*request.Request, *redshift.RevokeEndpointAccessOutput) + RevokeSnapshotAccess(*redshift.RevokeSnapshotAccessInput) (*redshift.RevokeSnapshotAccessOutput, error) RevokeSnapshotAccessWithContext(aws.Context, *redshift.RevokeSnapshotAccessInput, ...request.Option) (*redshift.RevokeSnapshotAccessOutput, error) RevokeSnapshotAccessRequest(*redshift.RevokeSnapshotAccessInput) (*request.Request, *redshift.RevokeSnapshotAccessOutput) diff --git a/service/transcribeservice/api.go b/service/transcribeservice/api.go index 9d6c6e6c2cd..e5a700b0cb8 100644 --- a/service/transcribeservice/api.go +++ b/service/transcribeservice/api.go @@ -7724,12 +7724,28 @@ func BaseModelName_Values() []string { const ( // CLMLanguageCodeEnUs is a CLMLanguageCode enum value CLMLanguageCodeEnUs = "en-US" + + // CLMLanguageCodeHiIn is a CLMLanguageCode enum value + CLMLanguageCodeHiIn = "hi-IN" + + // CLMLanguageCodeEsUs is a CLMLanguageCode enum value + CLMLanguageCodeEsUs = "es-US" + + // CLMLanguageCodeEnGb is a CLMLanguageCode enum value + CLMLanguageCodeEnGb = "en-GB" + + // CLMLanguageCodeEnAu is a CLMLanguageCode enum value + CLMLanguageCodeEnAu = "en-AU" ) // CLMLanguageCode_Values returns all elements of the CLMLanguageCode enum func CLMLanguageCode_Values() []string { return []string{ CLMLanguageCodeEnUs, + CLMLanguageCodeHiIn, + CLMLanguageCodeEsUs, + CLMLanguageCodeEnGb, + CLMLanguageCodeEnAu, } } diff --git a/service/workmail/api.go b/service/workmail/api.go index 3d87177dfe7..72e82827e3d 100644 --- a/service/workmail/api.go +++ b/service/workmail/api.go @@ -523,6 +523,97 @@ func (c *WorkMail) CreateGroupWithContext(ctx aws.Context, input *CreateGroupInp return out, req.Send() } +const opCreateMobileDeviceAccessRule = "CreateMobileDeviceAccessRule" + +// CreateMobileDeviceAccessRuleRequest generates a "aws/request.Request" representing the +// client's request for the CreateMobileDeviceAccessRule 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 CreateMobileDeviceAccessRule for more information on using the CreateMobileDeviceAccessRule +// 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 CreateMobileDeviceAccessRuleRequest method. +// req, resp := client.CreateMobileDeviceAccessRuleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateMobileDeviceAccessRule +func (c *WorkMail) CreateMobileDeviceAccessRuleRequest(input *CreateMobileDeviceAccessRuleInput) (req *request.Request, output *CreateMobileDeviceAccessRuleOutput) { + op := &request.Operation{ + Name: opCreateMobileDeviceAccessRule, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &CreateMobileDeviceAccessRuleInput{} + } + + output = &CreateMobileDeviceAccessRuleOutput{} + req = c.newRequest(op, input, output) + return +} + +// CreateMobileDeviceAccessRule API operation for Amazon WorkMail. +// +// Creates a new mobile device access rule for the specified Amazon WorkMail +// organization. +// +// 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 WorkMail's +// API operation CreateMobileDeviceAccessRule for usage and error information. +// +// Returned Error Types: +// * InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// * LimitExceededException +// The request exceeds the limit of the resource. +// +// * OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// * OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateMobileDeviceAccessRule +func (c *WorkMail) CreateMobileDeviceAccessRule(input *CreateMobileDeviceAccessRuleInput) (*CreateMobileDeviceAccessRuleOutput, error) { + req, out := c.CreateMobileDeviceAccessRuleRequest(input) + return out, req.Send() +} + +// CreateMobileDeviceAccessRuleWithContext is the same as CreateMobileDeviceAccessRule with the addition of +// the ability to pass a context and additional request options. +// +// See CreateMobileDeviceAccessRule 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 *WorkMail) CreateMobileDeviceAccessRuleWithContext(ctx aws.Context, input *CreateMobileDeviceAccessRuleInput, opts ...request.Option) (*CreateMobileDeviceAccessRuleOutput, error) { + req, out := c.CreateMobileDeviceAccessRuleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opCreateOrganization = "CreateOrganization" // CreateOrganizationRequest generates a "aws/request.Request" representing the @@ -1217,6 +1308,94 @@ func (c *WorkMail) DeleteMailboxPermissionsWithContext(ctx aws.Context, input *D return out, req.Send() } +const opDeleteMobileDeviceAccessRule = "DeleteMobileDeviceAccessRule" + +// DeleteMobileDeviceAccessRuleRequest generates a "aws/request.Request" representing the +// client's request for the DeleteMobileDeviceAccessRule 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 DeleteMobileDeviceAccessRule for more information on using the DeleteMobileDeviceAccessRule +// 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 DeleteMobileDeviceAccessRuleRequest method. +// req, resp := client.DeleteMobileDeviceAccessRuleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessRule +func (c *WorkMail) DeleteMobileDeviceAccessRuleRequest(input *DeleteMobileDeviceAccessRuleInput) (req *request.Request, output *DeleteMobileDeviceAccessRuleOutput) { + op := &request.Operation{ + Name: opDeleteMobileDeviceAccessRule, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteMobileDeviceAccessRuleInput{} + } + + output = &DeleteMobileDeviceAccessRuleOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteMobileDeviceAccessRule API operation for Amazon WorkMail. +// +// Deletes a mobile device access rule for the specified Amazon WorkMail organization. +// +// 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 WorkMail's +// API operation DeleteMobileDeviceAccessRule for usage and error information. +// +// Returned Error Types: +// * InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// * OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// * OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/DeleteMobileDeviceAccessRule +func (c *WorkMail) DeleteMobileDeviceAccessRule(input *DeleteMobileDeviceAccessRuleInput) (*DeleteMobileDeviceAccessRuleOutput, error) { + req, out := c.DeleteMobileDeviceAccessRuleRequest(input) + return out, req.Send() +} + +// DeleteMobileDeviceAccessRuleWithContext is the same as DeleteMobileDeviceAccessRule with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteMobileDeviceAccessRule 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 *WorkMail) DeleteMobileDeviceAccessRuleWithContext(ctx aws.Context, input *DeleteMobileDeviceAccessRuleInput, opts ...request.Option) (*DeleteMobileDeviceAccessRuleOutput, error) { + req, out := c.DeleteMobileDeviceAccessRuleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteOrganization = "DeleteOrganization" // DeleteOrganizationRequest generates a "aws/request.Request" representing the @@ -2612,6 +2791,96 @@ func (c *WorkMail) GetMailboxDetailsWithContext(ctx aws.Context, input *GetMailb return out, req.Send() } +const opGetMobileDeviceAccessEffect = "GetMobileDeviceAccessEffect" + +// GetMobileDeviceAccessEffectRequest generates a "aws/request.Request" representing the +// client's request for the GetMobileDeviceAccessEffect 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 GetMobileDeviceAccessEffect for more information on using the GetMobileDeviceAccessEffect +// 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 GetMobileDeviceAccessEffectRequest method. +// req, resp := client.GetMobileDeviceAccessEffectRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessEffect +func (c *WorkMail) GetMobileDeviceAccessEffectRequest(input *GetMobileDeviceAccessEffectInput) (req *request.Request, output *GetMobileDeviceAccessEffectOutput) { + op := &request.Operation{ + Name: opGetMobileDeviceAccessEffect, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetMobileDeviceAccessEffectInput{} + } + + output = &GetMobileDeviceAccessEffectOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetMobileDeviceAccessEffect API operation for Amazon WorkMail. +// +// Simulates the effect of the mobile device access rules for the given attributes +// of a sample access event. Use this method to test the effects of the current +// set of mobile device access rules for the Amazon WorkMail organization for +// a particular user's attributes. +// +// 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 WorkMail's +// API operation GetMobileDeviceAccessEffect for usage and error information. +// +// Returned Error Types: +// * InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// * OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// * OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/GetMobileDeviceAccessEffect +func (c *WorkMail) GetMobileDeviceAccessEffect(input *GetMobileDeviceAccessEffectInput) (*GetMobileDeviceAccessEffectOutput, error) { + req, out := c.GetMobileDeviceAccessEffectRequest(input) + return out, req.Send() +} + +// GetMobileDeviceAccessEffectWithContext is the same as GetMobileDeviceAccessEffect with the addition of +// the ability to pass a context and additional request options. +// +// See GetMobileDeviceAccessEffect 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 *WorkMail) GetMobileDeviceAccessEffectWithContext(ctx aws.Context, input *GetMobileDeviceAccessEffectInput, opts ...request.Option) (*GetMobileDeviceAccessEffectOutput, error) { + req, out := c.GetMobileDeviceAccessEffectRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opListAccessControlRules = "ListAccessControlRules" // ListAccessControlRulesRequest generates a "aws/request.Request" representing the @@ -3448,103 +3717,190 @@ func (c *WorkMail) ListMailboxPermissionsPagesWithContext(ctx aws.Context, input return p.Err() } -const opListOrganizations = "ListOrganizations" +const opListMobileDeviceAccessRules = "ListMobileDeviceAccessRules" -// ListOrganizationsRequest generates a "aws/request.Request" representing the -// client's request for the ListOrganizations operation. The "output" return +// ListMobileDeviceAccessRulesRequest generates a "aws/request.Request" representing the +// client's request for the ListMobileDeviceAccessRules 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 ListOrganizations for more information on using the ListOrganizations +// See ListMobileDeviceAccessRules for more information on using the ListMobileDeviceAccessRules // 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 ListOrganizationsRequest method. -// req, resp := client.ListOrganizationsRequest(params) +// // Example sending a request using the ListMobileDeviceAccessRulesRequest method. +// req, resp := client.ListMobileDeviceAccessRulesRequest(params) // // err := req.Send() // if err == nil { // resp is now filled // fmt.Println(resp) // } // -// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListOrganizations -func (c *WorkMail) ListOrganizationsRequest(input *ListOrganizationsInput) (req *request.Request, output *ListOrganizationsOutput) { +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessRules +func (c *WorkMail) ListMobileDeviceAccessRulesRequest(input *ListMobileDeviceAccessRulesInput) (req *request.Request, output *ListMobileDeviceAccessRulesOutput) { op := &request.Operation{ - Name: opListOrganizations, + Name: opListMobileDeviceAccessRules, HTTPMethod: "POST", HTTPPath: "/", - Paginator: &request.Paginator{ - InputTokens: []string{"NextToken"}, - OutputTokens: []string{"NextToken"}, - LimitToken: "MaxResults", - TruncationToken: "", - }, } if input == nil { - input = &ListOrganizationsInput{} + input = &ListMobileDeviceAccessRulesInput{} } - output = &ListOrganizationsOutput{} + output = &ListMobileDeviceAccessRulesOutput{} req = c.newRequest(op, input, output) return } -// ListOrganizations API operation for Amazon WorkMail. +// ListMobileDeviceAccessRules API operation for Amazon WorkMail. // -// Returns summaries of the customer's organizations. +// Lists the mobile device access rules for the specified Amazon WorkMail organization. // // 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 WorkMail's -// API operation ListOrganizations for usage and error information. +// API operation ListMobileDeviceAccessRules for usage and error information. // // Returned Error Types: // * InvalidParameterException // One or more of the input parameters don't match the service's restrictions. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListOrganizations -func (c *WorkMail) ListOrganizations(input *ListOrganizationsInput) (*ListOrganizationsOutput, error) { - req, out := c.ListOrganizationsRequest(input) +// * OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// * OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListMobileDeviceAccessRules +func (c *WorkMail) ListMobileDeviceAccessRules(input *ListMobileDeviceAccessRulesInput) (*ListMobileDeviceAccessRulesOutput, error) { + req, out := c.ListMobileDeviceAccessRulesRequest(input) return out, req.Send() } -// ListOrganizationsWithContext is the same as ListOrganizations with the addition of +// ListMobileDeviceAccessRulesWithContext is the same as ListMobileDeviceAccessRules with the addition of // the ability to pass a context and additional request options. // -// See ListOrganizations for details on how to use this API operation. +// See ListMobileDeviceAccessRules 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 *WorkMail) ListOrganizationsWithContext(ctx aws.Context, input *ListOrganizationsInput, opts ...request.Option) (*ListOrganizationsOutput, error) { - req, out := c.ListOrganizationsRequest(input) +func (c *WorkMail) ListMobileDeviceAccessRulesWithContext(ctx aws.Context, input *ListMobileDeviceAccessRulesInput, opts ...request.Option) (*ListMobileDeviceAccessRulesOutput, error) { + req, out := c.ListMobileDeviceAccessRulesRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() } -// ListOrganizationsPages iterates over the pages of a ListOrganizations operation, -// calling the "fn" function with the response data for each page. To stop -// iterating, return false from the fn function. +const opListOrganizations = "ListOrganizations" + +// ListOrganizationsRequest generates a "aws/request.Request" representing the +// client's request for the ListOrganizations operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. // -// See ListOrganizations method for more information on how to use this operation. +// 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. // -// Note: This operation can generate multiple requests to a service. +// See ListOrganizations for more information on using the ListOrganizations +// API call, and error handling. // -// // Example iterating over at most 3 pages of a ListOrganizations operation. -// pageNum := 0 -// err := client.ListOrganizationsPages(params, -// func(page *workmail.ListOrganizationsOutput, lastPage bool) bool { +// 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 ListOrganizationsRequest method. +// req, resp := client.ListOrganizationsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListOrganizations +func (c *WorkMail) ListOrganizationsRequest(input *ListOrganizationsInput) (req *request.Request, output *ListOrganizationsOutput) { + op := &request.Operation{ + Name: opListOrganizations, + HTTPMethod: "POST", + HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"NextToken"}, + OutputTokens: []string{"NextToken"}, + LimitToken: "MaxResults", + TruncationToken: "", + }, + } + + if input == nil { + input = &ListOrganizationsInput{} + } + + output = &ListOrganizationsOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListOrganizations API operation for Amazon WorkMail. +// +// Returns summaries of the customer's organizations. +// +// 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 WorkMail's +// API operation ListOrganizations for usage and error information. +// +// Returned Error Types: +// * InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/ListOrganizations +func (c *WorkMail) ListOrganizations(input *ListOrganizationsInput) (*ListOrganizationsOutput, error) { + req, out := c.ListOrganizationsRequest(input) + return out, req.Send() +} + +// ListOrganizationsWithContext is the same as ListOrganizations with the addition of +// the ability to pass a context and additional request options. +// +// See ListOrganizations 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 *WorkMail) ListOrganizationsWithContext(ctx aws.Context, input *ListOrganizationsInput, opts ...request.Option) (*ListOrganizationsOutput, error) { + req, out := c.ListOrganizationsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +// ListOrganizationsPages iterates over the pages of a ListOrganizations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListOrganizations 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 ListOrganizations operation. +// pageNum := 0 +// err := client.ListOrganizationsPages(params, +// func(page *workmail.ListOrganizationsOutput, lastPage bool) bool { // pageNum++ // fmt.Println(page) // return pageNum <= 3 @@ -4990,6 +5346,98 @@ func (c *WorkMail) UpdateMailboxQuotaWithContext(ctx aws.Context, input *UpdateM return out, req.Send() } +const opUpdateMobileDeviceAccessRule = "UpdateMobileDeviceAccessRule" + +// UpdateMobileDeviceAccessRuleRequest generates a "aws/request.Request" representing the +// client's request for the UpdateMobileDeviceAccessRule 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 UpdateMobileDeviceAccessRule for more information on using the UpdateMobileDeviceAccessRule +// 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 UpdateMobileDeviceAccessRuleRequest method. +// req, resp := client.UpdateMobileDeviceAccessRuleRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateMobileDeviceAccessRule +func (c *WorkMail) UpdateMobileDeviceAccessRuleRequest(input *UpdateMobileDeviceAccessRuleInput) (req *request.Request, output *UpdateMobileDeviceAccessRuleOutput) { + op := &request.Operation{ + Name: opUpdateMobileDeviceAccessRule, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &UpdateMobileDeviceAccessRuleInput{} + } + + output = &UpdateMobileDeviceAccessRuleOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdateMobileDeviceAccessRule API operation for Amazon WorkMail. +// +// Updates a mobile device access rule for the specified Amazon WorkMail organization. +// +// 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 WorkMail's +// API operation UpdateMobileDeviceAccessRule for usage and error information. +// +// Returned Error Types: +// * InvalidParameterException +// One or more of the input parameters don't match the service's restrictions. +// +// * EntityNotFoundException +// The identifier supplied for the user, group, or resource does not exist in +// your organization. +// +// * OrganizationNotFoundException +// An operation received a valid organization identifier that either doesn't +// belong or exist in the system. +// +// * OrganizationStateException +// The organization must have a valid state to perform certain operations on +// the organization or its members. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/UpdateMobileDeviceAccessRule +func (c *WorkMail) UpdateMobileDeviceAccessRule(input *UpdateMobileDeviceAccessRuleInput) (*UpdateMobileDeviceAccessRuleOutput, error) { + req, out := c.UpdateMobileDeviceAccessRuleRequest(input) + return out, req.Send() +} + +// UpdateMobileDeviceAccessRuleWithContext is the same as UpdateMobileDeviceAccessRule with the addition of +// the ability to pass a context and additional request options. +// +// See UpdateMobileDeviceAccessRule 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 *WorkMail) UpdateMobileDeviceAccessRuleWithContext(ctx aws.Context, input *UpdateMobileDeviceAccessRuleInput, opts ...request.Option) (*UpdateMobileDeviceAccessRuleOutput, error) { + req, out := c.UpdateMobileDeviceAccessRuleRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdatePrimaryEmailAddress = "UpdatePrimaryEmailAddress" // UpdatePrimaryEmailAddressRequest generates a "aws/request.Request" representing the @@ -5823,6 +6271,224 @@ func (s *CreateGroupOutput) SetGroupId(v string) *CreateGroupOutput { return s } +type CreateMobileDeviceAccessRuleInput struct { + _ struct{} `type:"structure"` + + // The idempotency token for the client request. + ClientToken *string `min:"1" type:"string" idempotencyToken:"true"` + + // The rule description. + Description *string `min:"1" type:"string"` + + // Device models that the rule will match. + DeviceModels []*string `min:"1" type:"list"` + + // Device operating systems that the rule will match. + DeviceOperatingSystems []*string `min:"1" type:"list"` + + // Device types that the rule will match. + DeviceTypes []*string `min:"1" type:"list"` + + // Device user agents that the rule will match. + DeviceUserAgents []*string `min:"1" type:"list"` + + // The effect of the rule when it matches. Allowed values are ALLOW or DENY. + // + // Effect is a required field + Effect *string `type:"string" required:"true" enum:"MobileDeviceAccessRuleEffect"` + + // The rule name. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // Device models that the rule will not match. All other device models will + // match. + NotDeviceModels []*string `min:"1" type:"list"` + + // Device operating systems that the rule will not match. All other device operating + // systems will match. + NotDeviceOperatingSystems []*string `min:"1" type:"list"` + + // Device types that the rule will not match. All other device types will match. + NotDeviceTypes []*string `min:"1" type:"list"` + + // Device user agents that the rule will not match. All other device user agents + // will match. + NotDeviceUserAgents []*string `min:"1" type:"list"` + + // The Amazon WorkMail organization under which the rule will be created. + // + // OrganizationId is a required field + OrganizationId *string `min:"34" type:"string" required:"true"` +} + +// String returns the string representation +func (s CreateMobileDeviceAccessRuleInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateMobileDeviceAccessRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *CreateMobileDeviceAccessRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "CreateMobileDeviceAccessRuleInput"} + if s.ClientToken != nil && len(*s.ClientToken) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1)) + } + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.DeviceModels != nil && len(s.DeviceModels) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceModels", 1)) + } + if s.DeviceOperatingSystems != nil && len(s.DeviceOperatingSystems) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceOperatingSystems", 1)) + } + if s.DeviceTypes != nil && len(s.DeviceTypes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceTypes", 1)) + } + if s.DeviceUserAgents != nil && len(s.DeviceUserAgents) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceUserAgents", 1)) + } + if s.Effect == nil { + invalidParams.Add(request.NewErrParamRequired("Effect")) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.NotDeviceModels != nil && len(s.NotDeviceModels) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NotDeviceModels", 1)) + } + if s.NotDeviceOperatingSystems != nil && len(s.NotDeviceOperatingSystems) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NotDeviceOperatingSystems", 1)) + } + if s.NotDeviceTypes != nil && len(s.NotDeviceTypes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NotDeviceTypes", 1)) + } + if s.NotDeviceUserAgents != nil && len(s.NotDeviceUserAgents) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NotDeviceUserAgents", 1)) + } + if s.OrganizationId == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationId")) + } + if s.OrganizationId != nil && len(*s.OrganizationId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("OrganizationId", 34)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetClientToken(v string) *CreateMobileDeviceAccessRuleInput { + s.ClientToken = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetDescription(v string) *CreateMobileDeviceAccessRuleInput { + s.Description = &v + return s +} + +// SetDeviceModels sets the DeviceModels field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetDeviceModels(v []*string) *CreateMobileDeviceAccessRuleInput { + s.DeviceModels = v + return s +} + +// SetDeviceOperatingSystems sets the DeviceOperatingSystems field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetDeviceOperatingSystems(v []*string) *CreateMobileDeviceAccessRuleInput { + s.DeviceOperatingSystems = v + return s +} + +// SetDeviceTypes sets the DeviceTypes field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetDeviceTypes(v []*string) *CreateMobileDeviceAccessRuleInput { + s.DeviceTypes = v + return s +} + +// SetDeviceUserAgents sets the DeviceUserAgents field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetDeviceUserAgents(v []*string) *CreateMobileDeviceAccessRuleInput { + s.DeviceUserAgents = v + return s +} + +// SetEffect sets the Effect field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetEffect(v string) *CreateMobileDeviceAccessRuleInput { + s.Effect = &v + return s +} + +// SetName sets the Name field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetName(v string) *CreateMobileDeviceAccessRuleInput { + s.Name = &v + return s +} + +// SetNotDeviceModels sets the NotDeviceModels field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetNotDeviceModels(v []*string) *CreateMobileDeviceAccessRuleInput { + s.NotDeviceModels = v + return s +} + +// SetNotDeviceOperatingSystems sets the NotDeviceOperatingSystems field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetNotDeviceOperatingSystems(v []*string) *CreateMobileDeviceAccessRuleInput { + s.NotDeviceOperatingSystems = v + return s +} + +// SetNotDeviceTypes sets the NotDeviceTypes field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetNotDeviceTypes(v []*string) *CreateMobileDeviceAccessRuleInput { + s.NotDeviceTypes = v + return s +} + +// SetNotDeviceUserAgents sets the NotDeviceUserAgents field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetNotDeviceUserAgents(v []*string) *CreateMobileDeviceAccessRuleInput { + s.NotDeviceUserAgents = v + return s +} + +// SetOrganizationId sets the OrganizationId field's value. +func (s *CreateMobileDeviceAccessRuleInput) SetOrganizationId(v string) *CreateMobileDeviceAccessRuleInput { + s.OrganizationId = &v + return s +} + +type CreateMobileDeviceAccessRuleOutput struct { + _ struct{} `type:"structure"` + + // The identifier for the newly created mobile device access rule. + MobileDeviceAccessRuleId *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s CreateMobileDeviceAccessRuleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s CreateMobileDeviceAccessRuleOutput) GoString() string { + return s.String() +} + +// SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value. +func (s *CreateMobileDeviceAccessRuleOutput) SetMobileDeviceAccessRuleId(v string) *CreateMobileDeviceAccessRuleOutput { + s.MobileDeviceAccessRuleId = &v + return s +} + type CreateOrganizationInput struct { _ struct{} `type:"structure"` @@ -6525,6 +7191,78 @@ func (s DeleteMailboxPermissionsOutput) GoString() string { return s.String() } +type DeleteMobileDeviceAccessRuleInput struct { + _ struct{} `type:"structure"` + + // The identifier of the rule to be deleted. + // + // MobileDeviceAccessRuleId is a required field + MobileDeviceAccessRuleId *string `min:"1" type:"string" required:"true"` + + // The Amazon WorkMail organization under which the rule will be deleted. + // + // OrganizationId is a required field + OrganizationId *string `min:"34" type:"string" required:"true"` +} + +// String returns the string representation +func (s DeleteMobileDeviceAccessRuleInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteMobileDeviceAccessRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteMobileDeviceAccessRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteMobileDeviceAccessRuleInput"} + if s.MobileDeviceAccessRuleId == nil { + invalidParams.Add(request.NewErrParamRequired("MobileDeviceAccessRuleId")) + } + if s.MobileDeviceAccessRuleId != nil && len(*s.MobileDeviceAccessRuleId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MobileDeviceAccessRuleId", 1)) + } + if s.OrganizationId == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationId")) + } + if s.OrganizationId != nil && len(*s.OrganizationId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("OrganizationId", 34)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value. +func (s *DeleteMobileDeviceAccessRuleInput) SetMobileDeviceAccessRuleId(v string) *DeleteMobileDeviceAccessRuleInput { + s.MobileDeviceAccessRuleId = &v + return s +} + +// SetOrganizationId sets the OrganizationId field's value. +func (s *DeleteMobileDeviceAccessRuleInput) SetOrganizationId(v string) *DeleteMobileDeviceAccessRuleInput { + s.OrganizationId = &v + return s +} + +type DeleteMobileDeviceAccessRuleOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s DeleteMobileDeviceAccessRuleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s DeleteMobileDeviceAccessRuleOutput) GoString() string { + return s.String() +} + type DeleteOrganizationInput struct { _ struct{} `type:"structure"` @@ -8668,6 +9406,130 @@ func (s *GetMailboxDetailsOutput) SetMailboxSize(v float64) *GetMailboxDetailsOu return s } +type GetMobileDeviceAccessEffectInput struct { + _ struct{} `type:"structure"` + + // Device model the simulated user will report. + DeviceModel *string `min:"1" type:"string"` + + // Device operating system the simulated user will report. + DeviceOperatingSystem *string `min:"1" type:"string"` + + // Device type the simulated user will report. + DeviceType *string `min:"1" type:"string"` + + // Device user agent the simulated user will report. + DeviceUserAgent *string `min:"1" type:"string"` + + // The Amazon WorkMail organization to simulate the access effect for. + // + // OrganizationId is a required field + OrganizationId *string `min:"34" type:"string" required:"true"` +} + +// String returns the string representation +func (s GetMobileDeviceAccessEffectInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetMobileDeviceAccessEffectInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *GetMobileDeviceAccessEffectInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "GetMobileDeviceAccessEffectInput"} + if s.DeviceModel != nil && len(*s.DeviceModel) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceModel", 1)) + } + if s.DeviceOperatingSystem != nil && len(*s.DeviceOperatingSystem) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceOperatingSystem", 1)) + } + if s.DeviceType != nil && len(*s.DeviceType) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceType", 1)) + } + if s.DeviceUserAgent != nil && len(*s.DeviceUserAgent) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceUserAgent", 1)) + } + if s.OrganizationId == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationId")) + } + if s.OrganizationId != nil && len(*s.OrganizationId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("OrganizationId", 34)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeviceModel sets the DeviceModel field's value. +func (s *GetMobileDeviceAccessEffectInput) SetDeviceModel(v string) *GetMobileDeviceAccessEffectInput { + s.DeviceModel = &v + return s +} + +// SetDeviceOperatingSystem sets the DeviceOperatingSystem field's value. +func (s *GetMobileDeviceAccessEffectInput) SetDeviceOperatingSystem(v string) *GetMobileDeviceAccessEffectInput { + s.DeviceOperatingSystem = &v + return s +} + +// SetDeviceType sets the DeviceType field's value. +func (s *GetMobileDeviceAccessEffectInput) SetDeviceType(v string) *GetMobileDeviceAccessEffectInput { + s.DeviceType = &v + return s +} + +// SetDeviceUserAgent sets the DeviceUserAgent field's value. +func (s *GetMobileDeviceAccessEffectInput) SetDeviceUserAgent(v string) *GetMobileDeviceAccessEffectInput { + s.DeviceUserAgent = &v + return s +} + +// SetOrganizationId sets the OrganizationId field's value. +func (s *GetMobileDeviceAccessEffectInput) SetOrganizationId(v string) *GetMobileDeviceAccessEffectInput { + s.OrganizationId = &v + return s +} + +type GetMobileDeviceAccessEffectOutput struct { + _ struct{} `type:"structure"` + + // The effect of the simulated access, ALLOW or DENY, after evaluating mobile + // device access rules in the Amazon WorkMail organization for the simulated + // user parameters. + Effect *string `type:"string" enum:"MobileDeviceAccessRuleEffect"` + + // A list of the rules which matched the simulated user input and produced the + // effect. + MatchedRules []*MobileDeviceAccessMatchedRule `type:"list"` +} + +// String returns the string representation +func (s GetMobileDeviceAccessEffectOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s GetMobileDeviceAccessEffectOutput) GoString() string { + return s.String() +} + +// SetEffect sets the Effect field's value. +func (s *GetMobileDeviceAccessEffectOutput) SetEffect(v string) *GetMobileDeviceAccessEffectOutput { + s.Effect = &v + return s +} + +// SetMatchedRules sets the MatchedRules field's value. +func (s *GetMobileDeviceAccessEffectOutput) SetMatchedRules(v []*MobileDeviceAccessMatchedRule) *GetMobileDeviceAccessEffectOutput { + s.MatchedRules = v + return s +} + // The representation of an Amazon WorkMail group. type Group struct { _ struct{} `type:"structure"` @@ -9536,41 +10398,106 @@ func (s *ListMailboxPermissionsInput) SetNextToken(v string) *ListMailboxPermiss } // SetOrganizationId sets the OrganizationId field's value. -func (s *ListMailboxPermissionsInput) SetOrganizationId(v string) *ListMailboxPermissionsInput { +func (s *ListMailboxPermissionsInput) SetOrganizationId(v string) *ListMailboxPermissionsInput { + s.OrganizationId = &v + return s +} + +type ListMailboxPermissionsOutput struct { + _ struct{} `type:"structure"` + + // The token to use to retrieve the next page of results. The value is "null" + // when there are no more results to return. + NextToken *string `min:"1" type:"string"` + + // One page of the user, group, or resource mailbox permissions. + Permissions []*Permission `type:"list"` +} + +// String returns the string representation +func (s ListMailboxPermissionsOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListMailboxPermissionsOutput) GoString() string { + return s.String() +} + +// SetNextToken sets the NextToken field's value. +func (s *ListMailboxPermissionsOutput) SetNextToken(v string) *ListMailboxPermissionsOutput { + s.NextToken = &v + return s +} + +// SetPermissions sets the Permissions field's value. +func (s *ListMailboxPermissionsOutput) SetPermissions(v []*Permission) *ListMailboxPermissionsOutput { + s.Permissions = v + return s +} + +type ListMobileDeviceAccessRulesInput struct { + _ struct{} `type:"structure"` + + // The Amazon WorkMail organization for which to list the rules. + // + // OrganizationId is a required field + OrganizationId *string `min:"34" type:"string" required:"true"` +} + +// String returns the string representation +func (s ListMobileDeviceAccessRulesInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s ListMobileDeviceAccessRulesInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListMobileDeviceAccessRulesInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListMobileDeviceAccessRulesInput"} + if s.OrganizationId == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationId")) + } + if s.OrganizationId != nil && len(*s.OrganizationId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("OrganizationId", 34)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOrganizationId sets the OrganizationId field's value. +func (s *ListMobileDeviceAccessRulesInput) SetOrganizationId(v string) *ListMobileDeviceAccessRulesInput { s.OrganizationId = &v return s } -type ListMailboxPermissionsOutput struct { +type ListMobileDeviceAccessRulesOutput struct { _ struct{} `type:"structure"` - // The token to use to retrieve the next page of results. The value is "null" - // when there are no more results to return. - NextToken *string `min:"1" type:"string"` - - // One page of the user, group, or resource mailbox permissions. - Permissions []*Permission `type:"list"` + // The list of mobile device access rules that exist under the specified Amazon + // WorkMail organization. + Rules []*MobileDeviceAccessRule `type:"list"` } // String returns the string representation -func (s ListMailboxPermissionsOutput) String() string { +func (s ListMobileDeviceAccessRulesOutput) String() string { return awsutil.Prettify(s) } // GoString returns the string representation -func (s ListMailboxPermissionsOutput) GoString() string { +func (s ListMobileDeviceAccessRulesOutput) GoString() string { return s.String() } -// SetNextToken sets the NextToken field's value. -func (s *ListMailboxPermissionsOutput) SetNextToken(v string) *ListMailboxPermissionsOutput { - s.NextToken = &v - return s -} - -// SetPermissions sets the Permissions field's value. -func (s *ListMailboxPermissionsOutput) SetPermissions(v []*Permission) *ListMailboxPermissionsOutput { - s.Permissions = v +// SetRules sets the Rules field's value. +func (s *ListMobileDeviceAccessRulesOutput) SetRules(v []*MobileDeviceAccessRule) *ListMobileDeviceAccessRulesOutput { + s.Rules = v return s } @@ -10317,6 +11244,182 @@ func (s *Member) SetType(v string) *Member { return s } +// The rule that a simulated user matches. +type MobileDeviceAccessMatchedRule struct { + _ struct{} `type:"structure"` + + // Identifier of the rule that a simulated user matches. + MobileDeviceAccessRuleId *string `min:"1" type:"string"` + + // Name of a rule that a simulated user matches. + Name *string `min:"1" type:"string"` +} + +// String returns the string representation +func (s MobileDeviceAccessMatchedRule) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MobileDeviceAccessMatchedRule) GoString() string { + return s.String() +} + +// SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value. +func (s *MobileDeviceAccessMatchedRule) SetMobileDeviceAccessRuleId(v string) *MobileDeviceAccessMatchedRule { + s.MobileDeviceAccessRuleId = &v + return s +} + +// SetName sets the Name field's value. +func (s *MobileDeviceAccessMatchedRule) SetName(v string) *MobileDeviceAccessMatchedRule { + s.Name = &v + return s +} + +// A rule that controls access to mobile devices for an Amazon WorkMail group. +type MobileDeviceAccessRule struct { + _ struct{} `type:"structure"` + + // The date and time at which an access rule was created. + DateCreated *time.Time `type:"timestamp"` + + // The date and time at which an access rule was modified. + DateModified *time.Time `type:"timestamp"` + + // The description of a mobile access rule. + Description *string `min:"1" type:"string"` + + // Device models that a rule will match. + DeviceModels []*string `min:"1" type:"list"` + + // Device operating systems that a rule will match. + DeviceOperatingSystems []*string `min:"1" type:"list"` + + // Device types that a rule will match. + DeviceTypes []*string `min:"1" type:"list"` + + // Device user agents that a rule will match. + DeviceUserAgents []*string `min:"1" type:"list"` + + // The effect of the rule when it matches. Allowed values are ALLOW or DENY. + Effect *string `type:"string" enum:"MobileDeviceAccessRuleEffect"` + + // The ID assigned to a mobile access rule. + MobileDeviceAccessRuleId *string `min:"1" type:"string"` + + // The name of a mobile access rule. + Name *string `min:"1" type:"string"` + + // Device models that a rule will not match. All other device models will match. + NotDeviceModels []*string `min:"1" type:"list"` + + // Device operating systems that a rule will not match. All other device types + // will match. + NotDeviceOperatingSystems []*string `min:"1" type:"list"` + + // Device types that a rule will not match. All other device types will match. + NotDeviceTypes []*string `min:"1" type:"list"` + + // Device user agents that a rule will not match. All other device user agents + // will match. + NotDeviceUserAgents []*string `min:"1" type:"list"` +} + +// String returns the string representation +func (s MobileDeviceAccessRule) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s MobileDeviceAccessRule) GoString() string { + return s.String() +} + +// SetDateCreated sets the DateCreated field's value. +func (s *MobileDeviceAccessRule) SetDateCreated(v time.Time) *MobileDeviceAccessRule { + s.DateCreated = &v + return s +} + +// SetDateModified sets the DateModified field's value. +func (s *MobileDeviceAccessRule) SetDateModified(v time.Time) *MobileDeviceAccessRule { + s.DateModified = &v + return s +} + +// SetDescription sets the Description field's value. +func (s *MobileDeviceAccessRule) SetDescription(v string) *MobileDeviceAccessRule { + s.Description = &v + return s +} + +// SetDeviceModels sets the DeviceModels field's value. +func (s *MobileDeviceAccessRule) SetDeviceModels(v []*string) *MobileDeviceAccessRule { + s.DeviceModels = v + return s +} + +// SetDeviceOperatingSystems sets the DeviceOperatingSystems field's value. +func (s *MobileDeviceAccessRule) SetDeviceOperatingSystems(v []*string) *MobileDeviceAccessRule { + s.DeviceOperatingSystems = v + return s +} + +// SetDeviceTypes sets the DeviceTypes field's value. +func (s *MobileDeviceAccessRule) SetDeviceTypes(v []*string) *MobileDeviceAccessRule { + s.DeviceTypes = v + return s +} + +// SetDeviceUserAgents sets the DeviceUserAgents field's value. +func (s *MobileDeviceAccessRule) SetDeviceUserAgents(v []*string) *MobileDeviceAccessRule { + s.DeviceUserAgents = v + return s +} + +// SetEffect sets the Effect field's value. +func (s *MobileDeviceAccessRule) SetEffect(v string) *MobileDeviceAccessRule { + s.Effect = &v + return s +} + +// SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value. +func (s *MobileDeviceAccessRule) SetMobileDeviceAccessRuleId(v string) *MobileDeviceAccessRule { + s.MobileDeviceAccessRuleId = &v + return s +} + +// SetName sets the Name field's value. +func (s *MobileDeviceAccessRule) SetName(v string) *MobileDeviceAccessRule { + s.Name = &v + return s +} + +// SetNotDeviceModels sets the NotDeviceModels field's value. +func (s *MobileDeviceAccessRule) SetNotDeviceModels(v []*string) *MobileDeviceAccessRule { + s.NotDeviceModels = v + return s +} + +// SetNotDeviceOperatingSystems sets the NotDeviceOperatingSystems field's value. +func (s *MobileDeviceAccessRule) SetNotDeviceOperatingSystems(v []*string) *MobileDeviceAccessRule { + s.NotDeviceOperatingSystems = v + return s +} + +// SetNotDeviceTypes sets the NotDeviceTypes field's value. +func (s *MobileDeviceAccessRule) SetNotDeviceTypes(v []*string) *MobileDeviceAccessRule { + s.NotDeviceTypes = v + return s +} + +// SetNotDeviceUserAgents sets the NotDeviceUserAgents field's value. +func (s *MobileDeviceAccessRule) SetNotDeviceUserAgents(v []*string) *MobileDeviceAccessRule { + s.NotDeviceUserAgents = v + return s +} + // The user, group, or resource name isn't unique in Amazon WorkMail. type NameAvailabilityException struct { _ struct{} `type:"structure"` @@ -11932,6 +13035,221 @@ func (s UpdateMailboxQuotaOutput) GoString() string { return s.String() } +type UpdateMobileDeviceAccessRuleInput struct { + _ struct{} `type:"structure"` + + // The updated rule description. + Description *string `min:"1" type:"string"` + + // Device models that the updated rule will match. + DeviceModels []*string `min:"1" type:"list"` + + // Device operating systems that the updated rule will match. + DeviceOperatingSystems []*string `min:"1" type:"list"` + + // Device types that the updated rule will match. + DeviceTypes []*string `min:"1" type:"list"` + + // User agents that the updated rule will match. + DeviceUserAgents []*string `min:"1" type:"list"` + + // The effect of the rule when it matches. Allowed values are ALLOW or DENY. + // + // Effect is a required field + Effect *string `type:"string" required:"true" enum:"MobileDeviceAccessRuleEffect"` + + // The identifier of the rule to be updated. + // + // MobileDeviceAccessRuleId is a required field + MobileDeviceAccessRuleId *string `min:"1" type:"string" required:"true"` + + // The updated rule name. + // + // Name is a required field + Name *string `min:"1" type:"string" required:"true"` + + // Device models that the updated rule will not match. All other device models + // will match. + NotDeviceModels []*string `min:"1" type:"list"` + + // Device operating systems that the updated rule will not match. All other + // device operating systems will match. + NotDeviceOperatingSystems []*string `min:"1" type:"list"` + + // Device types that the updated rule will not match. All other device types + // will match. + NotDeviceTypes []*string `min:"1" type:"list"` + + // User agents that the updated rule will not match. All other user agents will + // match. + NotDeviceUserAgents []*string `min:"1" type:"list"` + + // The Amazon WorkMail organization under which the rule will be updated. + // + // OrganizationId is a required field + OrganizationId *string `min:"34" type:"string" required:"true"` +} + +// String returns the string representation +func (s UpdateMobileDeviceAccessRuleInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateMobileDeviceAccessRuleInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdateMobileDeviceAccessRuleInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdateMobileDeviceAccessRuleInput"} + if s.Description != nil && len(*s.Description) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Description", 1)) + } + if s.DeviceModels != nil && len(s.DeviceModels) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceModels", 1)) + } + if s.DeviceOperatingSystems != nil && len(s.DeviceOperatingSystems) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceOperatingSystems", 1)) + } + if s.DeviceTypes != nil && len(s.DeviceTypes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceTypes", 1)) + } + if s.DeviceUserAgents != nil && len(s.DeviceUserAgents) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeviceUserAgents", 1)) + } + if s.Effect == nil { + invalidParams.Add(request.NewErrParamRequired("Effect")) + } + if s.MobileDeviceAccessRuleId == nil { + invalidParams.Add(request.NewErrParamRequired("MobileDeviceAccessRuleId")) + } + if s.MobileDeviceAccessRuleId != nil && len(*s.MobileDeviceAccessRuleId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("MobileDeviceAccessRuleId", 1)) + } + if s.Name == nil { + invalidParams.Add(request.NewErrParamRequired("Name")) + } + if s.Name != nil && len(*s.Name) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Name", 1)) + } + if s.NotDeviceModels != nil && len(s.NotDeviceModels) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NotDeviceModels", 1)) + } + if s.NotDeviceOperatingSystems != nil && len(s.NotDeviceOperatingSystems) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NotDeviceOperatingSystems", 1)) + } + if s.NotDeviceTypes != nil && len(s.NotDeviceTypes) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NotDeviceTypes", 1)) + } + if s.NotDeviceUserAgents != nil && len(s.NotDeviceUserAgents) < 1 { + invalidParams.Add(request.NewErrParamMinLen("NotDeviceUserAgents", 1)) + } + if s.OrganizationId == nil { + invalidParams.Add(request.NewErrParamRequired("OrganizationId")) + } + if s.OrganizationId != nil && len(*s.OrganizationId) < 34 { + invalidParams.Add(request.NewErrParamMinLen("OrganizationId", 34)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDescription sets the Description field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetDescription(v string) *UpdateMobileDeviceAccessRuleInput { + s.Description = &v + return s +} + +// SetDeviceModels sets the DeviceModels field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetDeviceModels(v []*string) *UpdateMobileDeviceAccessRuleInput { + s.DeviceModels = v + return s +} + +// SetDeviceOperatingSystems sets the DeviceOperatingSystems field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetDeviceOperatingSystems(v []*string) *UpdateMobileDeviceAccessRuleInput { + s.DeviceOperatingSystems = v + return s +} + +// SetDeviceTypes sets the DeviceTypes field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetDeviceTypes(v []*string) *UpdateMobileDeviceAccessRuleInput { + s.DeviceTypes = v + return s +} + +// SetDeviceUserAgents sets the DeviceUserAgents field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetDeviceUserAgents(v []*string) *UpdateMobileDeviceAccessRuleInput { + s.DeviceUserAgents = v + return s +} + +// SetEffect sets the Effect field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetEffect(v string) *UpdateMobileDeviceAccessRuleInput { + s.Effect = &v + return s +} + +// SetMobileDeviceAccessRuleId sets the MobileDeviceAccessRuleId field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetMobileDeviceAccessRuleId(v string) *UpdateMobileDeviceAccessRuleInput { + s.MobileDeviceAccessRuleId = &v + return s +} + +// SetName sets the Name field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetName(v string) *UpdateMobileDeviceAccessRuleInput { + s.Name = &v + return s +} + +// SetNotDeviceModels sets the NotDeviceModels field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetNotDeviceModels(v []*string) *UpdateMobileDeviceAccessRuleInput { + s.NotDeviceModels = v + return s +} + +// SetNotDeviceOperatingSystems sets the NotDeviceOperatingSystems field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetNotDeviceOperatingSystems(v []*string) *UpdateMobileDeviceAccessRuleInput { + s.NotDeviceOperatingSystems = v + return s +} + +// SetNotDeviceTypes sets the NotDeviceTypes field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetNotDeviceTypes(v []*string) *UpdateMobileDeviceAccessRuleInput { + s.NotDeviceTypes = v + return s +} + +// SetNotDeviceUserAgents sets the NotDeviceUserAgents field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetNotDeviceUserAgents(v []*string) *UpdateMobileDeviceAccessRuleInput { + s.NotDeviceUserAgents = v + return s +} + +// SetOrganizationId sets the OrganizationId field's value. +func (s *UpdateMobileDeviceAccessRuleInput) SetOrganizationId(v string) *UpdateMobileDeviceAccessRuleInput { + s.OrganizationId = &v + return s +} + +type UpdateMobileDeviceAccessRuleOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation +func (s UpdateMobileDeviceAccessRuleOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation +func (s UpdateMobileDeviceAccessRuleOutput) GoString() string { + return s.String() +} + type UpdatePrimaryEmailAddressInput struct { _ struct{} `type:"structure"` @@ -12306,6 +13624,22 @@ func MemberType_Values() []string { } } +const ( + // MobileDeviceAccessRuleEffectAllow is a MobileDeviceAccessRuleEffect enum value + MobileDeviceAccessRuleEffectAllow = "ALLOW" + + // MobileDeviceAccessRuleEffectDeny is a MobileDeviceAccessRuleEffect enum value + MobileDeviceAccessRuleEffectDeny = "DENY" +) + +// MobileDeviceAccessRuleEffect_Values returns all elements of the MobileDeviceAccessRuleEffect enum +func MobileDeviceAccessRuleEffect_Values() []string { + return []string{ + MobileDeviceAccessRuleEffectAllow, + MobileDeviceAccessRuleEffectDeny, + } +} + const ( // PermissionTypeFullAccess is a PermissionType enum value PermissionTypeFullAccess = "FULL_ACCESS" diff --git a/service/workmail/workmailiface/interface.go b/service/workmail/workmailiface/interface.go index a8db5e9c0ed..f4c01002109 100644 --- a/service/workmail/workmailiface/interface.go +++ b/service/workmail/workmailiface/interface.go @@ -80,6 +80,10 @@ type WorkMailAPI interface { CreateGroupWithContext(aws.Context, *workmail.CreateGroupInput, ...request.Option) (*workmail.CreateGroupOutput, error) CreateGroupRequest(*workmail.CreateGroupInput) (*request.Request, *workmail.CreateGroupOutput) + CreateMobileDeviceAccessRule(*workmail.CreateMobileDeviceAccessRuleInput) (*workmail.CreateMobileDeviceAccessRuleOutput, error) + CreateMobileDeviceAccessRuleWithContext(aws.Context, *workmail.CreateMobileDeviceAccessRuleInput, ...request.Option) (*workmail.CreateMobileDeviceAccessRuleOutput, error) + CreateMobileDeviceAccessRuleRequest(*workmail.CreateMobileDeviceAccessRuleInput) (*request.Request, *workmail.CreateMobileDeviceAccessRuleOutput) + CreateOrganization(*workmail.CreateOrganizationInput) (*workmail.CreateOrganizationOutput, error) CreateOrganizationWithContext(aws.Context, *workmail.CreateOrganizationInput, ...request.Option) (*workmail.CreateOrganizationOutput, error) CreateOrganizationRequest(*workmail.CreateOrganizationInput) (*request.Request, *workmail.CreateOrganizationOutput) @@ -108,6 +112,10 @@ type WorkMailAPI interface { DeleteMailboxPermissionsWithContext(aws.Context, *workmail.DeleteMailboxPermissionsInput, ...request.Option) (*workmail.DeleteMailboxPermissionsOutput, error) DeleteMailboxPermissionsRequest(*workmail.DeleteMailboxPermissionsInput) (*request.Request, *workmail.DeleteMailboxPermissionsOutput) + DeleteMobileDeviceAccessRule(*workmail.DeleteMobileDeviceAccessRuleInput) (*workmail.DeleteMobileDeviceAccessRuleOutput, error) + DeleteMobileDeviceAccessRuleWithContext(aws.Context, *workmail.DeleteMobileDeviceAccessRuleInput, ...request.Option) (*workmail.DeleteMobileDeviceAccessRuleOutput, error) + DeleteMobileDeviceAccessRuleRequest(*workmail.DeleteMobileDeviceAccessRuleInput) (*request.Request, *workmail.DeleteMobileDeviceAccessRuleOutput) + DeleteOrganization(*workmail.DeleteOrganizationInput) (*workmail.DeleteOrganizationOutput, error) DeleteOrganizationWithContext(aws.Context, *workmail.DeleteOrganizationInput, ...request.Option) (*workmail.DeleteOrganizationOutput, error) DeleteOrganizationRequest(*workmail.DeleteOrganizationInput) (*request.Request, *workmail.DeleteOrganizationOutput) @@ -168,6 +176,10 @@ type WorkMailAPI interface { GetMailboxDetailsWithContext(aws.Context, *workmail.GetMailboxDetailsInput, ...request.Option) (*workmail.GetMailboxDetailsOutput, error) GetMailboxDetailsRequest(*workmail.GetMailboxDetailsInput) (*request.Request, *workmail.GetMailboxDetailsOutput) + GetMobileDeviceAccessEffect(*workmail.GetMobileDeviceAccessEffectInput) (*workmail.GetMobileDeviceAccessEffectOutput, error) + GetMobileDeviceAccessEffectWithContext(aws.Context, *workmail.GetMobileDeviceAccessEffectInput, ...request.Option) (*workmail.GetMobileDeviceAccessEffectOutput, error) + GetMobileDeviceAccessEffectRequest(*workmail.GetMobileDeviceAccessEffectInput) (*request.Request, *workmail.GetMobileDeviceAccessEffectOutput) + ListAccessControlRules(*workmail.ListAccessControlRulesInput) (*workmail.ListAccessControlRulesOutput, error) ListAccessControlRulesWithContext(aws.Context, *workmail.ListAccessControlRulesInput, ...request.Option) (*workmail.ListAccessControlRulesOutput, error) ListAccessControlRulesRequest(*workmail.ListAccessControlRulesInput) (*request.Request, *workmail.ListAccessControlRulesOutput) @@ -207,6 +219,10 @@ type WorkMailAPI interface { ListMailboxPermissionsPages(*workmail.ListMailboxPermissionsInput, func(*workmail.ListMailboxPermissionsOutput, bool) bool) error ListMailboxPermissionsPagesWithContext(aws.Context, *workmail.ListMailboxPermissionsInput, func(*workmail.ListMailboxPermissionsOutput, bool) bool, ...request.Option) error + ListMobileDeviceAccessRules(*workmail.ListMobileDeviceAccessRulesInput) (*workmail.ListMobileDeviceAccessRulesOutput, error) + ListMobileDeviceAccessRulesWithContext(aws.Context, *workmail.ListMobileDeviceAccessRulesInput, ...request.Option) (*workmail.ListMobileDeviceAccessRulesOutput, error) + ListMobileDeviceAccessRulesRequest(*workmail.ListMobileDeviceAccessRulesInput) (*request.Request, *workmail.ListMobileDeviceAccessRulesOutput) + ListOrganizations(*workmail.ListOrganizationsInput) (*workmail.ListOrganizationsOutput, error) ListOrganizationsWithContext(aws.Context, *workmail.ListOrganizationsInput, ...request.Option) (*workmail.ListOrganizationsOutput, error) ListOrganizationsRequest(*workmail.ListOrganizationsInput) (*request.Request, *workmail.ListOrganizationsOutput) @@ -275,6 +291,10 @@ type WorkMailAPI interface { UpdateMailboxQuotaWithContext(aws.Context, *workmail.UpdateMailboxQuotaInput, ...request.Option) (*workmail.UpdateMailboxQuotaOutput, error) UpdateMailboxQuotaRequest(*workmail.UpdateMailboxQuotaInput) (*request.Request, *workmail.UpdateMailboxQuotaOutput) + UpdateMobileDeviceAccessRule(*workmail.UpdateMobileDeviceAccessRuleInput) (*workmail.UpdateMobileDeviceAccessRuleOutput, error) + UpdateMobileDeviceAccessRuleWithContext(aws.Context, *workmail.UpdateMobileDeviceAccessRuleInput, ...request.Option) (*workmail.UpdateMobileDeviceAccessRuleOutput, error) + UpdateMobileDeviceAccessRuleRequest(*workmail.UpdateMobileDeviceAccessRuleInput) (*request.Request, *workmail.UpdateMobileDeviceAccessRuleOutput) + UpdatePrimaryEmailAddress(*workmail.UpdatePrimaryEmailAddressInput) (*workmail.UpdatePrimaryEmailAddressOutput, error) UpdatePrimaryEmailAddressWithContext(aws.Context, *workmail.UpdatePrimaryEmailAddressInput, ...request.Option) (*workmail.UpdatePrimaryEmailAddressOutput, error) UpdatePrimaryEmailAddressRequest(*workmail.UpdatePrimaryEmailAddressInput) (*request.Request, *workmail.UpdatePrimaryEmailAddressOutput)