diff --git a/CHANGELOG.md b/CHANGELOG.md index 05917d3a3f4..9e9d2bc44f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +Release v1.54.11 (2024-06-28) +=== + +### Service Client Updates +* `service/acm-pca`: Updates service API +* `service/cloudhsmv2`: Updates service API and documentation + * Added 3 new APIs to support backup sharing: GetResourcePolicy, PutResourcePolicy, and DeleteResourcePolicy. Added BackupArn to the output of the DescribeBackups API. Added support for BackupArn in the CreateCluster API. +* `service/connect`: Updates service API and documentation +* `service/elasticmapreduce`: Updates service API and documentation + * This release provides the support for new allocation strategies i.e. CAPACITY_OPTIMIZED_PRIORITIZED for Spot and PRIORITIZED for On-Demand by taking input of priority value for each instance type for instance fleet clusters. +* `service/glue`: Updates service API and documentation + * Added AttributesToGet parameter to Glue GetDatabases, allowing caller to limit output to include only the database name. +* `service/kinesisanalyticsv2`: Updates service API and documentation +* `service/opensearch`: Updates service API and documentation +* `service/pi`: Updates service API and documentation +* `service/workspaces`: Updates service API and documentation + * Added support for Red Hat Enterprise Linux 8 on Amazon WorkSpaces Personal. + Release v1.54.10 (2024-06-27) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 47e3601d76c..0b985a1f84f 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -36099,6 +36099,18 @@ var awscnPartition = partition{ }: endpoint{}, }, }, + "acm-pca": service{ + Defaults: endpointDefaults{ + defaultKey{}: endpoint{ + Protocols: []string{"https"}, + }, + }, + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "cn-north-1", + }: endpoint{}, + }, + }, "airflow": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index 5c1faee5c85..12ea1b3283e 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.54.10" +const SDKVersion = "1.54.11" diff --git a/models/apis/acm-pca/2017-08-22/api-2.json b/models/apis/acm-pca/2017-08-22/api-2.json index 5e4bae6de34..e5c2bc73936 100644 --- a/models/apis/acm-pca/2017-08-22/api-2.json +++ b/models/apis/acm-pca/2017-08-22/api-2.json @@ -1038,14 +1038,16 @@ "RSA_2048", "RSA_4096", "EC_prime256v1", - "EC_secp384r1" + "EC_secp384r1", + "SM2" ] }, "KeyStorageSecurityStandard":{ "type":"string", "enum":[ "FIPS_140_2_LEVEL_2_OR_HIGHER", - "FIPS_140_2_LEVEL_3_OR_HIGHER" + "FIPS_140_2_LEVEL_3_OR_HIGHER", + "CCPC_LEVEL_1_OR_HIGHER" ] }, "KeyUsage":{ @@ -1359,7 +1361,8 @@ "SHA512WITHECDSA", "SHA256WITHRSA", "SHA384WITHRSA", - "SHA512WITHRSA" + "SHA512WITHRSA", + "SM3WITHSM2" ] }, "String":{"type":"string"}, diff --git a/models/apis/cloudhsmv2/2017-04-28/api-2.json b/models/apis/cloudhsmv2/2017-04-28/api-2.json index 6e3ed4dbcba..41f63178c9a 100644 --- a/models/apis/cloudhsmv2/2017-04-28/api-2.json +++ b/models/apis/cloudhsmv2/2017-04-28/api-2.json @@ -12,7 +12,8 @@ "signatureVersion":"v4", "signingName":"cloudhsm", "targetPrefix":"BaldrApiService", - "uid":"cloudhsmv2-2017-04-28" + "uid":"cloudhsmv2-2017-04-28", + "auth":["aws.auth#sigv4"] }, "operations":{ "CopyBackupToRegion":{ @@ -114,6 +115,22 @@ {"shape":"CloudHsmAccessDeniedException"} ] }, + "DeleteResourcePolicy":{ + "name":"DeleteResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteResourcePolicyRequest"}, + "output":{"shape":"DeleteResourcePolicyResponse"}, + "errors":[ + {"shape":"CloudHsmInternalFailureException"}, + {"shape":"CloudHsmServiceException"}, + {"shape":"CloudHsmInvalidRequestException"}, + {"shape":"CloudHsmResourceNotFoundException"}, + {"shape":"CloudHsmAccessDeniedException"} + ] + }, "DescribeBackups":{ "name":"DescribeBackups", "http":{ @@ -147,6 +164,22 @@ {"shape":"CloudHsmTagException"} ] }, + "GetResourcePolicy":{ + "name":"GetResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"GetResourcePolicyRequest"}, + "output":{"shape":"GetResourcePolicyResponse"}, + "errors":[ + {"shape":"CloudHsmInternalFailureException"}, + {"shape":"CloudHsmServiceException"}, + {"shape":"CloudHsmInvalidRequestException"}, + {"shape":"CloudHsmResourceNotFoundException"}, + {"shape":"CloudHsmAccessDeniedException"} + ] + }, "InitializeCluster":{ "name":"InitializeCluster", "http":{ @@ -212,6 +245,22 @@ {"shape":"CloudHsmServiceException"} ] }, + "PutResourcePolicy":{ + "name":"PutResourcePolicy", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"PutResourcePolicyRequest"}, + "output":{"shape":"PutResourcePolicyResponse"}, + "errors":[ + {"shape":"CloudHsmInternalFailureException"}, + {"shape":"CloudHsmServiceException"}, + {"shape":"CloudHsmInvalidRequestException"}, + {"shape":"CloudHsmResourceNotFoundException"}, + {"shape":"CloudHsmAccessDeniedException"} + ] + }, "RestoreBackup":{ "name":"RestoreBackup", "http":{ @@ -269,6 +318,7 @@ "required":["BackupId"], "members":{ "BackupId":{"shape":"BackupId"}, + "BackupArn":{"shape":"BackupArn"}, "BackupState":{"shape":"BackupState"}, "ClusterId":{"shape":"ClusterId"}, "CreateTimestamp":{"shape":"Timestamp"}, @@ -283,6 +333,10 @@ "Mode":{"shape":"ClusterMode"} } }, + "BackupArn":{ + "type":"string", + "pattern":"^(arn:aws(-(us-gov))?:cloudhsm:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]{1}):[0-9]{12}:backup/)?backup-[2-7a-zA-Z]{11,16}" + }, "BackupId":{ "type":"string", "pattern":"backup-[2-7a-zA-Z]{11,16}" @@ -349,6 +403,10 @@ }, "exception":true }, + "CloudHsmArn":{ + "type":"string", + "pattern":"arn:aws(-(us-gov))?:cloudhsm:([a-z]{2}(-(gov|isob|iso))?-(east|west|north|south|central){1,2}-[0-9]{1}):[0-9]{12}:(backup/backup|cluster/cluster|hsm/hsm)-[2-7a-zA-Z]{11,16}" + }, "CloudHsmInternalFailureException":{ "type":"structure", "members":{ @@ -467,7 +525,7 @@ "members":{ "BackupRetentionPolicy":{"shape":"BackupRetentionPolicy"}, "HsmType":{"shape":"HsmType"}, - "SourceBackupId":{"shape":"BackupId"}, + "SourceBackupId":{"shape":"BackupArn"}, "SubnetIds":{"shape":"SubnetIds"}, "TagList":{"shape":"TagList"}, "Mode":{"shape":"ClusterMode"} @@ -539,12 +597,26 @@ "HsmId":{"shape":"HsmId"} } }, + "DeleteResourcePolicyRequest":{ + "type":"structure", + "members":{ + "ResourceArn":{"shape":"CloudHsmArn"} + } + }, + "DeleteResourcePolicyResponse":{ + "type":"structure", + "members":{ + "ResourceArn":{"shape":"CloudHsmArn"}, + "Policy":{"shape":"ResourcePolicy"} + } + }, "DescribeBackupsRequest":{ "type":"structure", "members":{ "NextToken":{"shape":"NextToken"}, "MaxResults":{"shape":"BackupsMaxSize"}, "Filters":{"shape":"Filters"}, + "Shared":{"shape":"Boolean"}, "SortAscending":{"shape":"Boolean"} } }, @@ -602,6 +674,18 @@ "value":{"shape":"Strings"}, "max":30 }, + "GetResourcePolicyRequest":{ + "type":"structure", + "members":{ + "ResourceArn":{"shape":"CloudHsmArn"} + } + }, + "GetResourcePolicyResponse":{ + "type":"structure", + "members":{ + "Policy":{"shape":"ResourcePolicy"} + } + }, "Hsm":{ "type":"structure", "required":["HsmId"], @@ -729,6 +813,20 @@ "max":32, "min":7 }, + "PutResourcePolicyRequest":{ + "type":"structure", + "members":{ + "ResourceArn":{"shape":"CloudHsmArn"}, + "Policy":{"shape":"ResourcePolicy"} + } + }, + "PutResourcePolicyResponse":{ + "type":"structure", + "members":{ + "ResourceArn":{"shape":"CloudHsmArn"}, + "Policy":{"shape":"ResourcePolicy"} + } + }, "Region":{ "type":"string", "pattern":"[a-z]{2}(-(gov))?-(east|west|north|south|central){1,2}-\\d" @@ -737,6 +835,11 @@ "type":"string", "pattern":"(?:cluster|backup)-[2-7a-zA-Z]{11,16}" }, + "ResourcePolicy":{ + "type":"string", + "max":20000, + "min":1 + }, "RestoreBackupRequest":{ "type":"structure", "required":["BackupId"], diff --git a/models/apis/cloudhsmv2/2017-04-28/docs-2.json b/models/apis/cloudhsmv2/2017-04-28/docs-2.json index 4c60d0e9655..e4b2ef40bf3 100644 --- a/models/apis/cloudhsmv2/2017-04-28/docs-2.json +++ b/models/apis/cloudhsmv2/2017-04-28/docs-2.json @@ -1,26 +1,29 @@ { "version": "2.0", - "service": "

For more information about AWS CloudHSM, see AWS CloudHSM and the AWS CloudHSM User Guide.

", + "service": "

For more information about CloudHSM, see CloudHSM and the CloudHSM User Guide.

", "operations": { - "CopyBackupToRegion": "

Copy an AWS CloudHSM cluster backup to a different region.

", - "CreateCluster": "

Creates a new AWS CloudHSM cluster.

", - "CreateHsm": "

Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.

", - "DeleteBackup": "

Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see RestoreBackup.

", - "DeleteCluster": "

Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.

", - "DeleteHsm": "

Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters.

", - "DescribeBackups": "

Gets information about backups of AWS CloudHSM clusters.

This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get.

", - "DescribeClusters": "

Gets information about AWS CloudHSM clusters.

This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get.

", - "InitializeCluster": "

Claims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters.

", - "ListTags": "

Gets a list of tags for the specified AWS CloudHSM cluster.

This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get.

", - "ModifyBackupAttributes": "

Modifies attributes for AWS CloudHSM backup.

", - "ModifyCluster": "

Modifies AWS CloudHSM cluster.

", - "RestoreBackup": "

Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state. For mor information on deleting a backup, see DeleteBackup.

", - "TagResource": "

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

", - "UntagResource": "

Removes the specified tag or tags from the specified AWS CloudHSM cluster.

" + "CopyBackupToRegion": "

Copy an CloudHSM cluster backup to a different region.

Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.

", + "CreateCluster": "

Creates a new CloudHSM cluster.

Cross-account use: Yes. To perform this operation with an CloudHSM backup in a different AWS account, specify the full backup ARN in the value of the SourceBackupId parameter.

", + "CreateHsm": "

Creates a new hardware security module (HSM) in the specified CloudHSM cluster.

Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Service account.

", + "DeleteBackup": "

Deletes a specified CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see RestoreBackup.

Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.

", + "DeleteCluster": "

Deletes the specified CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.

Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account.

", + "DeleteHsm": "

Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters.

Cross-account use: No. You cannot perform this operation on an CloudHSM hsm in a different Amazon Web Services account.

", + "DeleteResourcePolicy": "

Deletes an CloudHSM resource policy. Deleting a resource policy will result in the resource being unshared and removed from any RAM resource shares. Deleting the resource policy attached to a backup will not impact any clusters created from that backup.

Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.

", + "DescribeBackups": "

Gets information about backups of CloudHSM clusters. Lists either the backups you own or the backups shared with you when the Shared parameter is true.

This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get.

Cross-account use: Yes. Customers can describe backups in other Amazon Web Services accounts that are shared with them.

", + "DescribeClusters": "

Gets information about CloudHSM clusters.

This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get.

Cross-account use: No. You cannot perform this operation on CloudHSM clusters in a different Amazon Web Services account.

", + "GetResourcePolicy": "

Retrieves the resource policy document attached to a given resource.

Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.

", + "InitializeCluster": "

Claims an CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters.

Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account.

", + "ListTags": "

Gets a list of tags for the specified CloudHSM cluster.

This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get.

Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.

", + "ModifyBackupAttributes": "

Modifies attributes for CloudHSM backup.

Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.

", + "ModifyCluster": "

Modifies CloudHSM cluster.

Cross-account use: No. You cannot perform this operation on an CloudHSM cluster in a different Amazon Web Services account.

", + "PutResourcePolicy": "

Creates or updates an CloudHSM resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your CloudHSM resources. The following resources support CloudHSM resource policies:

In order to share a backup, it must be in a 'READY' state and you must own it.

While you can share a backup using the CloudHSM PutResourcePolicy operation, we recommend using Resource Access Manager (RAM) instead. Using RAM provides multiple benefits as it creates the policy for you, allows multiple resources to be shared at one time, and increases the discoverability of shared resources. If you use PutResourcePolicy and want consumers to be able to describe the backups you share with them, you must promote the backup to a standard RAM Resource Share using the RAM PromoteResourceShareCreatedFromPolicy API operation. For more information, see Working with shared backups in the CloudHSM User Guide

Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.

", + "RestoreBackup": "

Restores a specified CloudHSM backup that is in the PENDING_DELETION state. For more information on deleting a backup, see DeleteBackup.

Cross-account use: No. You cannot perform this operation on an CloudHSM backup in a different Amazon Web Services account.

", + "TagResource": "

Adds or overwrites one or more tags for the specified CloudHSM cluster.

Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.

", + "UntagResource": "

Removes the specified tag or tags from the specified CloudHSM cluster.

Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.

" }, "shapes": { "Backup": { - "base": "

Contains information about a backup of an AWS CloudHSM cluster. All backup objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. Backups that were copied into a destination region additionally contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. A backup that is pending deletion will include the DeleteTimestamp parameter.

", + "base": "

Contains information about a backup of an CloudHSM cluster. All backup objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. Backups that were copied into a destination region additionally contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. A backup that is pending deletion will include the DeleteTimestamp parameter.

", "refs": { "Backups$member": null, "DeleteBackupResponse$Backup": "

Information on the Backup object deleted.

", @@ -28,6 +31,13 @@ "RestoreBackupResponse$Backup": "

Information on the Backup object created.

" } }, + "BackupArn": { + "base": null, + "refs": { + "Backup$BackupArn": "

The Amazon Resource Name (ARN) of the backup.

", + "CreateClusterRequest$SourceBackupId": "

The identifier (ID) or the Amazon Resource Name (ARN) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID or ARN, use DescribeBackups. If using a backup in another account, the full ARN must be supplied.

" + } + }, "BackupId": { "base": null, "refs": { @@ -35,7 +45,6 @@ "Backup$SourceBackup": "

The identifier (ID) of the source backup from which the new backup was copied.

", "Cluster$SourceBackupId": "

The identifier (ID) of the backup used to create the cluster. This value exists only when the cluster was created from a backup.

", "CopyBackupToRegionRequest$BackupId": "

The ID of the backup that will be copied to the destination region.

", - "CreateClusterRequest$SourceBackupId": "

The identifier (ID) of the cluster backup to restore. Use this value to restore the cluster from a backup instead of creating a new cluster. To find the backup ID, use DescribeBackups.

", "DeleteBackupRequest$BackupId": "

The ID of the backup to be deleted. To find the ID of a backup, use the DescribeBackups operation.

", "DestinationBackup$SourceBackup": "

The identifier (ID) of the source backup from which the new backup was copied.

", "ModifyBackupAttributesRequest$BackupId": "

The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.

", @@ -90,6 +99,7 @@ "base": null, "refs": { "Backup$NeverExpires": "

Specifies whether the service should exempt a backup from the retention policy for the cluster. True exempts a backup from the retention policy. False means the service applies the backup retention policy defined at the cluster.

", + "DescribeBackupsRequest$Shared": "

Describe backups that are shared with you.

By default when using this option, the command returns backups that have been shared using a standard Resource Access Manager resource share. In order for a backup that was shared using the PutResourcePolicy command to be returned, the share must be promoted to a standard resource share using the RAM PromoteResourceShareCreatedFromPolicy API operation. For more information about sharing backups, see Working with shared backups in the CloudHSM User Guide.

", "DescribeBackupsRequest$SortAscending": "

Designates whether or not to sort the return backups by ascending chronological order of generation.

", "ModifyBackupAttributesRequest$NeverExpires": "

Specifies whether the service should exempt a backup from the retention policy for the cluster. True exempts a backup from the retention policy. False means the service applies the backup retention policy defined at the cluster.

" } @@ -99,7 +109,7 @@ "refs": { "Certificates$ClusterCsr": "

The cluster's certificate signing request (CSR). The CSR exists only when the cluster's state is UNINITIALIZED.

", "Certificates$HsmCertificate": "

The HSM certificate issued (signed) by the HSM hardware.

", - "Certificates$AwsHardwareCertificate": "

The HSM hardware certificate issued (signed) by AWS CloudHSM.

", + "Certificates$AwsHardwareCertificate": "

The HSM hardware certificate issued (signed) by CloudHSM.

", "Certificates$ManufacturerHardwareCertificate": "

The HSM hardware certificate issued (signed) by the hardware manufacturer.

", "Certificates$ClusterCertificate": "

The cluster certificate issued (signed) by the issuing certificate authority (CA) of the cluster's owner.

", "InitializeClusterRequest$SignedCert": "

The cluster certificate issued (signed) by your issuing certificate authority (CA). The certificate must be in PEM format and can contain a maximum of 5000 characters.

", @@ -117,8 +127,18 @@ "refs": { } }, + "CloudHsmArn": { + "base": null, + "refs": { + "DeleteResourcePolicyRequest$ResourceArn": "

Amazon Resource Name (ARN) of the resource from which the policy will be removed.

", + "DeleteResourcePolicyResponse$ResourceArn": "

Amazon Resource Name (ARN) of the resource from which the policy was deleted.

", + "GetResourcePolicyRequest$ResourceArn": "

Amazon Resource Name (ARN) of the resource to which a policy is attached.

", + "PutResourcePolicyRequest$ResourceArn": "

Amazon Resource Name (ARN) of the resource to which you want to attach a policy.

", + "PutResourcePolicyResponse$ResourceArn": "

Amazon Resource Name (ARN) of the resource to which a policy is attached.

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

The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.

", + "base": "

The request was rejected because of an CloudHSM internal failure. The request can be retried.

", "refs": { } }, @@ -143,7 +163,7 @@ } }, "Cluster": { - "base": "

Contains information about an AWS CloudHSM cluster.

", + "base": "

Contains information about an CloudHSM cluster.

", "refs": { "Clusters$member": null, "CreateClusterResponse$Cluster": "

Information about the cluster that was created.

", @@ -253,6 +273,16 @@ "refs": { } }, + "DeleteResourcePolicyRequest": { + "base": null, + "refs": { + } + }, + "DeleteResourcePolicyResponse": { + "base": null, + "refs": { + } + }, "DescribeBackupsRequest": { "base": null, "refs": { @@ -313,8 +343,18 @@ "DescribeClustersRequest$Filters": "

One or more filters to limit the items returned in the response.

Use the clusterIds filter to return only the specified clusters. Specify clusters by their cluster identifier (ID).

Use the vpcIds filter to return only the clusters in the specified virtual private clouds (VPCs). Specify VPCs by their VPC identifier (ID).

Use the states filter to return only clusters that match the specified state.

" } }, + "GetResourcePolicyRequest": { + "base": null, + "refs": { + } + }, + "GetResourcePolicyResponse": { + "base": null, + "refs": { + } + }, "Hsm": { - "base": "

Contains information about a hardware security module (HSM) in an AWS CloudHSM cluster.

", + "base": "

Contains information about a hardware security module (HSM) in an CloudHSM cluster.

", "refs": { "CreateHsmResponse$Hsm": "

Information about the HSM that was created.

", "Hsms$member": null @@ -337,7 +377,7 @@ "HsmType": { "base": null, "refs": { - "Backup$HsmType": "

The HSM type of the cluster that was backed up.

", + "Backup$HsmType": "

The HSM type used to create the backup.

", "Cluster$HsmType": "

The type of HSM that the cluster contains.

", "CreateClusterRequest$HsmType": "

The type of HSM to use in the cluster. The allowed values are hsm1.medium and hsm2m.medium.

" } @@ -419,6 +459,16 @@ "Cluster$PreCoPassword": "

The default password for the cluster's Pre-Crypto Officer (PRECO) user.

" } }, + "PutResourcePolicyRequest": { + "base": null, + "refs": { + } + }, + "PutResourcePolicyResponse": { + "base": null, + "refs": { + } + }, "Region": { "base": null, "refs": { @@ -435,6 +485,15 @@ "UntagResourceRequest$ResourceId": "

The cluster identifier (ID) for the cluster whose tags you are removing. To find the cluster ID, use DescribeClusters.

" } }, + "ResourcePolicy": { + "base": null, + "refs": { + "DeleteResourcePolicyResponse$Policy": "

The policy previously attached to the resource.

", + "GetResourcePolicyResponse$Policy": "

The policy attached to a resource.

", + "PutResourcePolicyRequest$Policy": "

The policy you want to associate with a resource.

For an example policy, see Working with shared backups in the CloudHSM User Guide

", + "PutResourcePolicyResponse$Policy": "

The policy attached to a resource.

" + } + }, "RestoreBackupRequest": { "base": null, "refs": { diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index 8560e5b71fd..3490a144e9a 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -11,7 +11,8 @@ "serviceId":"Connect", "signatureVersion":"v4", "signingName":"connect", - "uid":"connect-2017-08-08" + "uid":"connect-2017-08-08", + "auth":["aws.auth#sigv4"] }, "operations":{ "ActivateEvaluationForm":{ @@ -4193,6 +4194,14 @@ "L5Ids":{"shape":"HierarchyGroupIdList"} } }, + "AgentId":{ + "type":"string", + "max":256 + }, + "AgentIds":{ + "type":"list", + "member":{"shape":"AgentId"} + }, "AgentInfo":{ "type":"structure", "members":{ @@ -4310,6 +4319,12 @@ "max":100, "min":1 }, + "AgentsCriteria":{ + "type":"structure", + "members":{ + "AgentIds":{"shape":"AgentIds"} + } + }, "AgentsMinOneMaxHundred":{ "type":"list", "member":{"shape":"UserId"}, @@ -4792,7 +4807,8 @@ "members":{ "Name":{"shape":"PredefinedAttributeName"}, "Value":{"shape":"ProficiencyValue"}, - "ProficiencyLevel":{"shape":"ProficiencyLevel"}, + "ProficiencyLevel":{"shape":"NullableProficiencyLevel"}, + "MatchCriteria":{"shape":"MatchCriteria"}, "ComparisonOperator":{"shape":"ComparisonOperator"} } }, @@ -11258,6 +11274,12 @@ } }, "Long":{"type":"long"}, + "MatchCriteria":{ + "type":"structure", + "members":{ + "AgentsCriteria":{"shape":"AgentsCriteria"} + } + }, "MaxResult10":{ "type":"integer", "max":10, @@ -11519,6 +11541,11 @@ "UserIds":{"shape":"UserIdList"} } }, + "NullableProficiencyLevel":{ + "type":"float", + "max":5.0, + "min":1.0 + }, "NumberReference":{ "type":"structure", "members":{ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index 55c2e99473e..f259fca2b54 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -121,7 +121,7 @@ "GetPromptFile": "

Gets the prompt file.

", "GetTaskTemplate": "

Gets details about a specific task template in the specified Amazon Connect instance.

", "GetTrafficDistribution": "

Retrieves the current traffic distribution for a given traffic distribution group.

", - "ImportPhoneNumber": "

Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an Amazon Connect instance. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance was created.

", + "ImportPhoneNumber": "

Imports a claimed phone number from an external service, such as Amazon Pinpoint, into an Amazon Connect instance. You can call this API only in the same Amazon Web Services Region where the Amazon Connect instance was created.

Call the DescribePhoneNumber API to verify the status of a previous ImportPhoneNumber operation.

If you plan to claim or import numbers and then release numbers frequently, contact us for a service quota exception. Otherwise, it is possible you will be blocked from claiming and releasing any more numbers until up to 180 days past the oldest number released has expired.

By default you can claim or import and then release up to 200% of your maximum number of active phone numbers. If you claim or import and then release phone numbers using the UI or API during a rolling 180 day cycle that exceeds 200% of your phone number service level quota, you will be blocked from claiming or importing any more numbers until 180 days past the oldest number released has expired.

For example, if you already have 99 claimed or imported numbers and a service level quota of 99 phone numbers, and in any 180 day period you release 99, claim 99, and then release 99, you will have exceeded the 200% limit. At that point you are blocked from claiming any more numbers until you open an Amazon Web Services Support ticket.

", "ListAgentStatuses": "

This API is in preview release for Amazon Connect and is subject to change.

Lists agent statuses.

", "ListAnalyticsDataAssociations": "

This API is in preview release for Amazon Connect and is subject to change.

Lists the association status of requested dataset ID for a given Amazon Connect instance.

", "ListApprovedOrigins": "

This API is in preview release for Amazon Connect and is subject to change.

Returns a paginated list of all approved origins associated with the instance.

", @@ -189,10 +189,10 @@ "SearchVocabularies": "

Searches for vocabularies within a specific Amazon Connect instance using State, NameStartsWith, and LanguageCode.

", "SendChatIntegrationEvent": "

Processes chat integration events from Amazon Web Services or external integrations to Amazon Connect. A chat integration event includes:

When a chat integration event is sent with chat identifiers that do not map to an active chat contact, a new chat contact is also created before handling chat action.

Access to this API is currently restricted to Amazon Pinpoint for supporting SMS integration.

", "StartAttachedFileUpload": "

Provides a pre-signed Amazon S3 URL in response for uploading your content.

You may only use this API to upload attachments to a Connect Case.

", - "StartChatContact": "

Initiates a flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.

When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.

A 429 error occurs in the following situations:

If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support.

For more information about chat, see Chat in the Amazon Connect Administrator Guide.

", + "StartChatContact": "

Initiates a flow to start a new chat for the customer. Response of this API provides a token required to obtain credentials from the CreateParticipantConnection API in the Amazon Connect Participant Service.

When a new chat contact is successfully created, clients must subscribe to the participant’s connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection with WEBSOCKET and CONNECTION_CREDENTIALS.

A 429 error occurs in the following situations:

If you use the ChatDurationInMinutes parameter and receive a 400 error, your account may not support the ability to configure custom chat durations. For more information, contact Amazon Web Services Support.

For more information about chat, see the following topics in the Amazon Connect Administrator Guide:

", "StartContactEvaluation": "

Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the particular contact. The evaluation form version used for the contact evaluation corresponds to the currently activated version. If no version is activated for the evaluation form, the contact evaluation cannot be started.

Evaluations created through the public API do not contain answer values suggested from automation.

", "StartContactRecording": "

Starts recording the contact:

StartContactRecording is a one-time action. For example, if you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend and resume it, such as when collecting sensitive information (for example, a credit card number), use SuspendContactRecording and ResumeContactRecording.

You can use this API to override the recording behavior configured in the Set recording behavior block.

Only voice recordings are supported at this time.

", - "StartContactStreaming": "

Initiates real-time message streaming for a new chat contact.

For more information about message streaming, see Enable real-time chat message streaming in the Amazon Connect Administrator Guide.

", + "StartContactStreaming": "

Initiates real-time message streaming for a new chat contact.

For more information about message streaming, see Enable real-time chat message streaming in the Amazon Connect Administrator Guide.

For more information about chat, see the following topics in the Amazon Connect Administrator Guide:

", "StartOutboundVoiceContact": "

Places an outbound call to a contact, and then initiates the flow. It performs the actions in the flow that's specified (in ContactFlowId).

Agents do not initiate the outbound API, which means that they do not dial the contact. If the flow places an outbound call to a contact, and then puts the contact in queue, the call is then routed to the agent, like any other inbound case.

There is a 60-second dialing timeout for this operation. If the call is not connected after 60 seconds, it fails.

UK numbers with a 447 prefix are not allowed by default. Before you can dial these UK mobile numbers, you must submit a service quota increase request. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

Campaign calls are not allowed by default. Before you can make a call with TrafficType = CAMPAIGN, you must submit a service quota increase request to the quota Amazon Connect campaigns.

", "StartTaskContact": "

Initiates a flow to start a new task contact. For more information about task contacts, see Concepts: Tasks in Amazon Connect in the Amazon Connect Administrator Guide.

When using PreviousContactId and RelatedContactId input parameters, note the following:

In addition, when calling StartTaskContact include only one of these parameters: ContactFlowID, QuickConnectID, or TaskTemplateID. Only one parameter is required as long as the task template has a flow configured to run it. If more than one parameter is specified, or only the TaskTemplateID is specified but it does not have a flow configured, the request returns an error because Amazon Connect cannot identify the unique flow to run when the task is created.

A ServiceQuotaExceededException occurs when the number of open tasks exceeds the active tasks quota or there are already 12 tasks referencing the same PreviousContactId. For more information about service quotas for task contacts, see Amazon Connect service quotas in the Amazon Connect Administrator Guide.

", "StartWebRTCContact": "

Places an inbound in-app, web, or video call to a contact, and then initiates the flow. It performs the actions in the flow that are specified (in ContactFlowId) and present in the Amazon Connect instance (specified as InstanceId).

", @@ -501,6 +501,18 @@ "SearchCriteria$AgentHierarchyGroups": "

The agent hierarchy groups of the agent at the time of handling the contact.

" } }, + "AgentId": { + "base": null, + "refs": { + "AgentIds$member": null + } + }, + "AgentIds": { + "base": null, + "refs": { + "AgentsCriteria$AgentIds": "

An object to specify a list of agents, by Agent ID.

" + } + }, "AgentInfo": { "base": "

Information about the agent who accepted the contact.

", "refs": { @@ -635,6 +647,12 @@ "UserSummary$Username": "

The Amazon Connect user name of the user account.

" } }, + "AgentsCriteria": { + "base": "

Can be used to define a list of preferred agents to target the contact within the queue. Note that agents must have the queue in their routing profile in order to be offered the contact.

", + "refs": { + "MatchCriteria$AgentsCriteria": "

An object to define AgentIds.

" + } + }, "AgentsMinOneMaxHundred": { "base": null, "refs": { @@ -2782,7 +2800,7 @@ "Double": { "base": null, "refs": { - "FieldValueUnion$DoubleValue": "

a Double number value type.

" + "FieldValueUnion$DoubleValue": "

A Double number value type.

" } }, "DownloadUrlMetadata": { @@ -4938,6 +4956,12 @@ "RoutingProfile$NumberOfAssociatedUsers": "

The number of associated users in routing profile.

" } }, + "MatchCriteria": { + "base": "

An object to define AgentsCriteria.

", + "refs": { + "AttributeCondition$MatchCriteria": "

An object to define AgentsCriteria.

" + } + }, "MaxResult10": { "base": null, "refs": { @@ -5197,7 +5221,7 @@ "MetricsV2": { "base": null, "refs": { - "GetMetricDataV2Request$Metrics": "

The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator Guide.

ABANDONMENT_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Abandonment rate

AGENT_ADHERENT_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Adherent time

AGENT_ANSWER_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Agent answer rate

AGENT_NON_ADHERENT_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Non-adherent time

AGENT_NON_RESPONSE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Agent non-response

AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

UI name: Agent non-response without customer abandons

AGENT_OCCUPANCY

Unit: Percentage

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

UI name: Occupancy

AGENT_SCHEDULE_ADHERENCE

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Adherence

AGENT_SCHEDULED_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Scheduled time

AVG_ABANDON_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average queue abandon time

AVG_ACTIVE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Average active time

AVG_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average after contact work time

Feature is a valid filter but not a valid grouping.

AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Average agent API connecting time

The Negate key in Metric Level Filters is not applicable for this metric.

AVG_AGENT_PAUSE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Average agent pause time

AVG_CASE_RELATED_CONTACTS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Average contacts per case

AVG_CASE_RESOLUTION_TIME

Unit: Seconds

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Average case resolution time

AVG_CONTACT_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average contact duration

Feature is a valid filter but not a valid grouping.

AVG_CONVERSATION_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average conversation duration

AVG_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

UI name: Average flow time

AVG_GREETING_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent greeting time

AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression

UI name: Average handle time

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average customer hold time

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME_ALL_CONTACTS

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average customer hold time all contacts

AVG_HOLDS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average holds

Feature is a valid filter but not a valid grouping.

AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent interaction and customer hold time

AVG_INTERACTION_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent interaction time

Feature is a valid filter but not a valid grouping.

AVG_INTERRUPTIONS_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent interruptions

AVG_INTERRUPTION_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent interruption time

AVG_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average non-talk time

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average queue answer time

Feature is a valid filter but not a valid grouping.

AVG_RESOLUTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average resolution time

AVG_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average talk time

AVG_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent talk time

AVG_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average customer talk time

CASES_CREATED

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases created

CONTACTS_ABANDONED

Unit: Count

Metric filter:

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

UI name: Contact abandoned

CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

UI name: Contacts abandoned in X seconds

CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

UI name: Contacts answered in X seconds

CONTACTS_CREATED

Unit: Count

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts created

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED

Unit: Count

Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

UI name: API contacts handled

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT

Unit: Count

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts handled (connected to agent timestamp)

CONTACTS_HOLD_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts hold disconnect

CONTACTS_ON_HOLD_AGENT_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contacts hold agent disconnect

CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contacts hold customer disconnect

CONTACTS_PUT_ON_HOLD

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contacts put on hold

CONTACTS_TRANSFERRED_OUT_EXTERNAL

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contacts transferred out external

CONTACTS_TRANSFERRED_OUT_INTERNAL

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contacts transferred out internal

CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts queued

CONTACTS_QUEUED_BY_ENQUEUE

Unit: Count

Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

UI name: Contacts queued (enqueue timestamp)

CONTACTS_RESOLVED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

UI name: Contacts resolved in X

CONTACTS_TRANSFERRED_OUT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts transferred out

Feature is a valid filter but not a valid grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts transferred out by agent

CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts transferred out queue

CURRENT_CASES

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Current cases

FLOWS_OUTCOME

Unit: Count

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

UI name: Flows outcome

FLOWS_STARTED

Unit: Count

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp

UI name: Flows started

MAX_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

UI name: Maximum flow time

MAX_QUEUED_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Maximum queued time

MIN_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

UI name: Minimum flow time

PERCENT_CASES_FIRST_CONTACT_RESOLVED

Unit: Percent

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases resolved on first contact

PERCENT_CONTACTS_STEP_EXPIRED

Unit: Percent

Valid groupings and filters: Queue, RoutingStepExpression

UI name: Not available

PERCENT_CONTACTS_STEP_JOINED

Unit: Percent

Valid groupings and filters: Queue, RoutingStepExpression

UI name: Not available

PERCENT_FLOWS_OUTCOME

Unit: Percent

Valid metric filter key: FLOWS_OUTCOME_TYPE

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

UI name: Flows outcome percentage.

The FLOWS_OUTCOME_TYPE is not a valid grouping.

PERCENT_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Non-talk time percent

PERCENT_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Talk time percent

PERCENT_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Agent talk time percent

PERCENT_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Customer talk time percent

REOPENED_CASE_ACTIONS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases reopened

RESOLVED_CASE_ACTIONS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases resolved

SERVICE_LEVEL

You can include up to 20 SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

UI name: Service level X

STEP_CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, RoutingStepExpression

UI name: Not available

SUM_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: After contact work time

SUM_CONNECTING_TIME_AGENT

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Agent API connecting time

The Negate key in Metric Level Filters is not applicable for this metric.

SUM_CONTACT_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contact flow time

SUM_CONTACT_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Agent on contact time

SUM_CONTACTS_DISCONNECTED

Valid metric filter key: DISCONNECT_REASON

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contact disconnected

SUM_ERROR_STATUS_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Error status time

SUM_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contact handle time

SUM_HOLD_TIME

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Customer hold time

SUM_IDLE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

UI name: Agent idle time

SUM_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Agent interaction and hold time

SUM_INTERACTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Agent interaction time

SUM_NON_PRODUCTIVE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

UI name: Non-Productive Time

SUM_ONLINE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

UI name: Online time

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Callback attempts

" + "GetMetricDataV2Request$Metrics": "

The metrics to retrieve. Specify the name, groupings, and filters for each metric. The following historical metrics are available. For a description of each metric, see Historical metrics definitions in the Amazon Connect Administrator Guide.

ABANDONMENT_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Abandonment rate

AGENT_ADHERENT_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Adherent time

AGENT_ANSWER_RATE

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Agent answer rate

AGENT_NON_ADHERENT_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Non-adherent time

AGENT_NON_RESPONSE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Agent non-response

AGENT_NON_RESPONSE_WITHOUT_CUSTOMER_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

Data for this metric is available starting from October 1, 2023 0:00:00 GMT.

UI name: Agent non-response without customer abandons

AGENT_OCCUPANCY

Unit: Percentage

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

UI name: Occupancy

AGENT_SCHEDULE_ADHERENCE

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Adherence

AGENT_SCHEDULED_TIME

This metric is available only in Amazon Web Services Regions where Forecasting, capacity planning, and scheduling is available.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Scheduled time

AVG_ABANDON_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average queue abandon time

AVG_ACTIVE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Average active time

AVG_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average after contact work time

Feature is a valid filter but not a valid grouping.

AVG_AGENT_CONNECTING_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. For now, this metric only supports the following as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Average agent API connecting time

The Negate key in Metric Level Filters is not applicable for this metric.

AVG_AGENT_PAUSE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Average agent pause time

AVG_CASE_RELATED_CONTACTS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Average contacts per case

AVG_CASE_RESOLUTION_TIME

Unit: Seconds

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Average case resolution time

AVG_CONTACT_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average contact duration

Feature is a valid filter but not a valid grouping.

AVG_CONVERSATION_DURATION

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average conversation duration

AVG_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

UI name: Average flow time

AVG_GREETING_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent greeting time

AVG_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression

UI name: Average handle time

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average customer hold time

Feature is a valid filter but not a valid grouping.

AVG_HOLD_TIME_ALL_CONTACTS

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average customer hold time all contacts

AVG_HOLDS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average holds

Feature is a valid filter but not a valid grouping.

AVG_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent interaction and customer hold time

AVG_INTERACTION_TIME

Unit: Seconds

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent interaction time

Feature is a valid filter but not a valid grouping.

AVG_INTERRUPTIONS_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent interruptions

AVG_INTERRUPTION_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent interruption time

AVG_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average non-talk time

AVG_QUEUE_ANSWER_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average queue answer time

Feature is a valid filter but not a valid grouping.

AVG_RESOLUTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average resolution time

AVG_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average talk time

AVG_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average agent talk time

AVG_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Average customer talk time

CASES_CREATED

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases created

CONTACTS_CREATED

Unit: Count

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Routing Profile, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts created

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED

Unit: Count

Valid metric filter key: INITIATION_METHOD, DISCONNECT_REASON

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

UI name: API contacts handled

Feature is a valid filter but not a valid grouping.

CONTACTS_HANDLED_BY_CONNECTED_TO_AGENT

Unit: Count

Valid metric filter key: INITIATION_METHOD

Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts handled (connected to agent timestamp)

CONTACTS_HOLD_ABANDONS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts hold disconnect

CONTACTS_ON_HOLD_AGENT_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contacts hold agent disconnect

CONTACTS_ON_HOLD_CUSTOMER_DISCONNECT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contacts hold customer disconnect

CONTACTS_PUT_ON_HOLD

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contacts put on hold

CONTACTS_TRANSFERRED_OUT_EXTERNAL

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contacts transferred out external

CONTACTS_TRANSFERRED_OUT_INTERNAL

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contacts transferred out internal

CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts queued

CONTACTS_QUEUED_BY_ENQUEUE

Unit: Count

Valid groupings and filters: Queue, Channel, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype

UI name: Contacts queued (enqueue timestamp)

CONTACTS_REMOVED_FROM_QUEUE_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

UI name: This metric is not available in Amazon Connect admin website.

CONTACTS_RESOLVED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

Threshold: For ThresholdValue enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

UI name: Contacts resolved in X

CONTACTS_TRANSFERRED_OUT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Feature, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts transferred out

Feature is a valid filter but not a valid grouping.

CONTACTS_TRANSFERRED_OUT_BY_AGENT

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts transferred out by agent

CONTACTS_TRANSFERRED_OUT_FROM_QUEUE

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contacts transferred out queue

CURRENT_CASES

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Current cases

FLOWS_OUTCOME

Unit: Count

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

UI name: Flows outcome

FLOWS_STARTED

Unit: Count

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows resource ID, Initiation method, Resource published timestamp

UI name: Flows started

MAX_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

UI name: Maximum flow time

MAX_QUEUED_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Maximum queued time

MIN_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

UI name: Minimum flow time

PERCENT_CASES_FIRST_CONTACT_RESOLVED

Unit: Percent

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases resolved on first contact

PERCENT_CONTACTS_STEP_EXPIRED

Unit: Percent

Valid groupings and filters: Queue, RoutingStepExpression

UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

PERCENT_CONTACTS_STEP_JOINED

Unit: Percent

Valid groupings and filters: Queue, RoutingStepExpression

UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

PERCENT_FLOWS_OUTCOME

Unit: Percent

Valid metric filter key: FLOWS_OUTCOME_TYPE

Valid groupings and filters: Channel, contact/segmentAttributes/connect:Subtype, Flow type, Flows module resource ID, Flows next resource ID, Flows next resource queue ID, Flows outcome type, Flows resource ID, Initiation method, Resource published timestamp

UI name: Flows outcome percentage.

The FLOWS_OUTCOME_TYPE is not a valid grouping.

PERCENT_NON_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Non-talk time percent

PERCENT_TALK_TIME

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Talk time percent

PERCENT_TALK_TIME_AGENT

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Agent talk time percent

PERCENT_TALK_TIME_CUSTOMER

This metric is available only for contacts analyzed by Contact Lens conversational analytics.

Unit: Percentage

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Customer talk time percent

REOPENED_CASE_ACTIONS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases reopened

RESOLVED_CASE_ACTIONS

Unit: Count

Required filter key: CASE_TEMPLATE_ARN

Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS

UI name: Cases resolved

SERVICE_LEVEL

You can include up to 20 SERVICE_LEVEL metrics in a request.

Unit: Percent

Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

UI name: Service level X

STEP_CONTACTS_QUEUED

Unit: Count

Valid groupings and filters: Queue, RoutingStepExpression

UI name: This metric is available in Real-time Metrics UI but not on the Historical Metrics UI.

SUM_AFTER_CONTACT_WORK_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: After contact work time

SUM_CONNECTING_TIME_AGENT

Unit: Seconds

Valid metric filter key: INITIATION_METHOD. This metric only supports the following filter keys as INITIATION_METHOD: INBOUND | OUTBOUND | CALLBACK | API

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Agent API connecting time

The Negate key in Metric Level Filters is not applicable for this metric.

SUM_CONTACTS_ABANDONED

Unit: Count

Metric filter:

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, Q in Connect

UI name: Contact abandoned

SUM_CONTACTS_ABANDONED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

UI name: Contacts abandoned in X seconds

SUM_CONTACTS_ANSWERED_IN_X

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For Comparison, you must enter LT (for \"Less than\").

UI name: Contacts answered in X seconds

SUM_CONTACT_FLOW_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contact flow time

SUM_CONTACT_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

UI name: Agent on contact time

SUM_CONTACTS_DISCONNECTED

Valid metric filter key: DISCONNECT_REASON

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Contact disconnected

SUM_ERROR_STATUS_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

UI name: Error status time

SUM_HANDLE_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Contact handle time

SUM_HOLD_TIME

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Customer hold time

SUM_IDLE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

UI name: Agent idle time

SUM_INTERACTION_AND_HOLD_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy, Q in Connect

UI name: Agent interaction and hold time

SUM_INTERACTION_TIME

Unit: Seconds

Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent Hierarchy

UI name: Agent interaction time

SUM_NON_PRODUCTIVE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

UI name: Non-Productive Time

SUM_ONLINE_TIME_AGENT

Unit: Seconds

Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy

UI name: Online time

SUM_RETRY_CALLBACK_ATTEMPTS

Unit: Count

Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, Q in Connect

UI name: Callback attempts

" } }, "MinutesLimit60": { @@ -5391,6 +5415,12 @@ "SendNotificationActionDefinition$Recipient": "

Notification recipient.

" } }, + "NullableProficiencyLevel": { + "base": null, + "refs": { + "AttributeCondition$ProficiencyLevel": "

The proficiency level of the condition.

" + } + }, "NumberReference": { "base": "

Information about a reference when the referenceType is NUMBER. Otherwise, null.

", "refs": { @@ -5873,7 +5903,6 @@ "ProficiencyLevel": { "base": null, "refs": { - "AttributeCondition$ProficiencyLevel": "

The proficiency level of the condition.

", "UserProficiency$Level": "

The level of the proficiency. The valid values are 1, 2, 3, 4 and 5.

" } }, @@ -7210,7 +7239,7 @@ "SearchableContactAttributes": { "base": "

A structure that defines search criteria based on user-defined contact attributes that are configured for contact search.

", "refs": { - "SearchCriteria$SearchableContactAttributes": "

The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by customer contact attributes in the Amazon Connect Administrator Guide.

To use SearchableContactAttributes in a search request, the GetContactAttributes action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.

" + "SearchCriteria$SearchableContactAttributes": "

The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by custom contact attributes in the Amazon Connect Administrator Guide.

To use SearchableContactAttributes in a search request, the GetContactAttributes action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.

" } }, "SearchableContactAttributesCriteria": { @@ -7455,7 +7484,7 @@ } }, "Sort": { - "base": "

A structure that defineds the field name to sort by and a sort order.

", + "base": "

A structure that defines the field name to sort by and a sort order.

", "refs": { "SearchContactsRequest$Sort": "

Specifies a field to sort by and a sort order.

" } diff --git a/models/apis/elasticmapreduce/2009-03-31/api-2.json b/models/apis/elasticmapreduce/2009-03-31/api-2.json index 47a4b13527b..94e07289274 100644 --- a/models/apis/elasticmapreduce/2009-03-31/api-2.json +++ b/models/apis/elasticmapreduce/2009-03-31/api-2.json @@ -5,12 +5,14 @@ "endpointPrefix":"elasticmapreduce", "jsonVersion":"1.1", "protocol":"json", + "protocols":["json"], "serviceAbbreviation":"Amazon EMR", "serviceFullName":"Amazon EMR", "serviceId":"EMR", "signatureVersion":"v4", "targetPrefix":"ElasticMapReduce", - "uid":"elasticmapreduce-2009-03-31" + "uid":"elasticmapreduce-2009-03-31", + "auth":["aws.auth#sigv4"] }, "operations":{ "AddInstanceFleet":{ @@ -1964,7 +1966,8 @@ "BidPriceAsPercentageOfOnDemandPrice":{"shape":"NonNegativeDouble"}, "EbsConfiguration":{"shape":"EbsConfiguration"}, "Configurations":{"shape":"ConfigurationList"}, - "CustomAmiId":{"shape":"XmlStringMaxLen256"} + "CustomAmiId":{"shape":"XmlStringMaxLen256"}, + "Priority":{"shape":"NonNegativeDouble"} } }, "InstanceTypeConfigList":{ @@ -1981,7 +1984,8 @@ "Configurations":{"shape":"ConfigurationList"}, "EbsBlockDevices":{"shape":"EbsBlockDeviceList"}, "EbsOptimized":{"shape":"BooleanObject"}, - "CustomAmiId":{"shape":"XmlStringMaxLen256"} + "CustomAmiId":{"shape":"XmlStringMaxLen256"}, + "Priority":{"shape":"NonNegativeDouble"} } }, "InstanceTypeSpecificationList":{ @@ -2502,7 +2506,10 @@ }, "OnDemandProvisioningAllocationStrategy":{ "type":"string", - "enum":["lowest-price"] + "enum":[ + "lowest-price", + "prioritized" + ] }, "OnDemandProvisioningSpecification":{ "type":"structure", @@ -2953,7 +2960,8 @@ "capacity-optimized", "price-capacity-optimized", "lowest-price", - "diversified" + "diversified", + "capacity-optimized-prioritized" ] }, "SpotProvisioningSpecification":{ diff --git a/models/apis/elasticmapreduce/2009-03-31/docs-2.json b/models/apis/elasticmapreduce/2009-03-31/docs-2.json index 2679ea5f165..2da61ffe7d7 100644 --- a/models/apis/elasticmapreduce/2009-03-31/docs-2.json +++ b/models/apis/elasticmapreduce/2009-03-31/docs-2.json @@ -1484,7 +1484,9 @@ "refs": { "CloudWatchAlarmDefinition$Threshold": "

The value against which the specified statistic is compared.

", "InstanceTypeConfig$BidPriceAsPercentageOfOnDemandPrice": "

The bid price, as a percentage of On-Demand price, for each Amazon EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.

", - "InstanceTypeSpecification$BidPriceAsPercentageOfOnDemandPrice": "

The bid price, as a percentage of On-Demand price, for each Amazon EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%).

" + "InstanceTypeConfig$Priority": "

The priority at which Amazon EMR launches the Amazon EC2 instances with this instance type. Priority starts at 0, which is the highest priority. Amazon EMR considers the highest priority first.

", + "InstanceTypeSpecification$BidPriceAsPercentageOfOnDemandPrice": "

The bid price, as a percentage of On-Demand price, for each Amazon EC2 Spot Instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%).

", + "InstanceTypeSpecification$Priority": "

The priority at which Amazon EMR launches the Amazon EC2 instances with this instance type. Priority starts at 0, which is the highest priority. Amazon EMR considers the highest priority first.

" } }, "NotebookExecution": { @@ -1559,7 +1561,7 @@ "OnDemandProvisioningAllocationStrategy": { "base": null, "refs": { - "OnDemandProvisioningSpecification$AllocationStrategy": "

Specifies the strategy to use in launching On-Demand instance fleets. Currently, the only option is lowest-price (the default), which launches the lowest price first.

" + "OnDemandProvisioningSpecification$AllocationStrategy": "

Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price and prioritized. lowest-price specifies to launch the instances with the lowest price first, and prioritized specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price.

" } }, "OnDemandProvisioningSpecification": { @@ -1893,7 +1895,7 @@ "SpotProvisioningAllocationStrategy": { "base": null, "refs": { - "SpotProvisioningSpecification$AllocationStrategy": "

Specifies one of the following strategies to launch Spot Instance fleets: price-capacity-optimized, capacity-optimized, lowest-price, or diversified. For more information on the provisioning strategies, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide for Linux Instances.

When you launch a Spot Instance fleet with the old console, it automatically launches with the capacity-optimized strategy. You can't change the allocation strategy from the old console.

" + "SpotProvisioningSpecification$AllocationStrategy": "

Specifies one of the following strategies to launch Spot Instance fleets: capacity-optimized, price-capacity-optimized, lowest-price, or diversified, and capacity-optimized-prioritized. For more information on the provisioning strategies, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide for Linux Instances.

When you launch a Spot Instance fleet with the old console, it automatically launches with the capacity-optimized strategy. You can't change the allocation strategy from the old console.

" } }, "SpotProvisioningSpecification": { diff --git a/models/apis/glue/2017-03-31/api-2.json b/models/apis/glue/2017-03-31/api-2.json index 6b73c4630b6..162c1f03e4a 100644 --- a/models/apis/glue/2017-03-31/api-2.json +++ b/models/apis/glue/2017-03-31/api-2.json @@ -6375,6 +6375,14 @@ "FederatedDatabase":{"shape":"FederatedDatabase"} } }, + "DatabaseAttributes":{ + "type":"string", + "enum":["NAME"] + }, + "DatabaseAttributesList":{ + "type":"list", + "member":{"shape":"DatabaseAttributes"} + }, "DatabaseIdentifier":{ "type":"structure", "members":{ @@ -7900,7 +7908,8 @@ "CatalogId":{"shape":"CatalogIdString"}, "NextToken":{"shape":"Token"}, "MaxResults":{"shape":"CatalogGetterPageSize"}, - "ResourceShareType":{"shape":"ResourceShareType"} + "ResourceShareType":{"shape":"ResourceShareType"}, + "AttributesToGet":{"shape":"DatabaseAttributesList"} } }, "GetDatabasesResponse":{ diff --git a/models/apis/glue/2017-03-31/docs-2.json b/models/apis/glue/2017-03-31/docs-2.json index 7ee2067492d..17650c23bb1 100644 --- a/models/apis/glue/2017-03-31/docs-2.json +++ b/models/apis/glue/2017-03-31/docs-2.json @@ -2534,6 +2534,18 @@ "GetDatabaseResponse$Database": "

The definition of the specified database in the Data Catalog.

" } }, + "DatabaseAttributes": { + "base": null, + "refs": { + "DatabaseAttributesList$member": null + } + }, + "DatabaseAttributesList": { + "base": null, + "refs": { + "GetDatabasesRequest$AttributesToGet": "

Specifies the database fields returned by the GetDatabases call. This parameter doesn’t accept an empty list. The request must include the NAME.

" + } + }, "DatabaseIdentifier": { "base": "

A structure that describes a target database for resource linking.

", "refs": { diff --git a/models/apis/kinesisanalyticsv2/2018-05-23/api-2.json b/models/apis/kinesisanalyticsv2/2018-05-23/api-2.json index a69f919ebdb..3058971a534 100644 --- a/models/apis/kinesisanalyticsv2/2018-05-23/api-2.json +++ b/models/apis/kinesisanalyticsv2/2018-05-23/api-2.json @@ -12,7 +12,8 @@ "signatureVersion":"v4", "signingName":"kinesisanalytics", "targetPrefix":"KinesisAnalytics_20180523", - "uid":"kinesisanalyticsv2-2018-05-23" + "uid":"kinesisanalyticsv2-2018-05-23", + "auth":["aws.auth#sigv4"] }, "operations":{ "AddApplicationCloudWatchLoggingOption":{ @@ -2471,7 +2472,8 @@ "ZEPPELIN-FLINK-2_0", "FLINK-1_15", "ZEPPELIN-FLINK-3_0", - "FLINK-1_18" + "FLINK-1_18", + "FLINK-1_19" ] }, "S3ApplicationCodeLocationDescription":{ diff --git a/models/apis/kinesisanalyticsv2/2018-05-23/docs-2.json b/models/apis/kinesisanalyticsv2/2018-05-23/docs-2.json index fe619a73358..9169eed0b57 100644 --- a/models/apis/kinesisanalyticsv2/2018-05-23/docs-2.json +++ b/models/apis/kinesisanalyticsv2/2018-05-23/docs-2.json @@ -400,7 +400,7 @@ "CheckpointConfigurationDescription$CheckpointingEnabled": "

Describes whether checkpointing is enabled for a Managed Service for Apache Flink application.

If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a CheckpointingEnabled value of true, even if this value is set to another value using this API or in application code.

", "CheckpointConfigurationUpdate$CheckpointingEnabledUpdate": "

Describes updates to whether checkpointing is enabled for an application.

If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a CheckpointingEnabled value of true, even if this value is set to another value using this API or in application code.

", "DescribeApplicationRequest$IncludeAdditionalDetails": "

Displays verbose information about a Managed Service for Apache Flink application, including the application's job plan.

", - "FlinkRunConfiguration$AllowNonRestoredState": "

When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see Allowing Non-Restored State in the Apache Flink documentation.

This value defaults to false. If you update your application without specifying this parameter, AllowNonRestoredState will be set to false, even if it was previously set to true.

", + "FlinkRunConfiguration$AllowNonRestoredState": "

When restoring from a snapshot, specifies whether the runtime is allowed to skip a state that cannot be mapped to the new program. This will happen if the program is updated between snapshots to remove stateful parameters, and state data in the snapshot no longer corresponds to valid application data. For more information, see Allowing Non-Restored State in the Apache Flink documentation.

This value defaults to false. If you update your application without specifying this parameter, AllowNonRestoredState will be set to false, even if it was previously set to true.

", "ParallelismConfiguration$AutoScalingEnabled": "

Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.

", "ParallelismConfigurationDescription$AutoScalingEnabled": "

Describes whether the Managed Service for Apache Flink service can increase the parallelism of the application in response to increased throughput.

", "ParallelismConfigurationUpdate$AutoScalingEnabledUpdate": "

Describes updates to whether the Managed Service for Apache Flink service can increase the parallelism of a Managed Service for Apache Flink application in response to increased throughput.

", @@ -447,9 +447,9 @@ } }, "CheckpointConfiguration": { - "base": "

Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation.

", + "base": "

Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation.

", "refs": { - "FlinkApplicationConfiguration$CheckpointConfiguration": "

Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation.

" + "FlinkApplicationConfiguration$CheckpointConfiguration": "

Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault tolerance. For more information, see Checkpoints for Fault Tolerance in the Apache Flink Documentation.

" } }, "CheckpointConfigurationDescription": { @@ -1088,7 +1088,7 @@ "JobPlanDescription": { "base": null, "refs": { - "FlinkApplicationConfigurationDescription$JobPlanDescription": "

The job plan for an application. For more information about the job plan, see Jobs and Scheduling in the Apache Flink Documentation. To retrieve the job plan for the application, use the DescribeApplicationRequest$IncludeAdditionalDetails parameter of the DescribeApplication operation.

" + "FlinkApplicationConfigurationDescription$JobPlanDescription": "

The job plan for an application. For more information about the job plan, see Jobs and Scheduling in the Apache Flink Documentation. To retrieve the job plan for the application, use the DescribeApplicationRequest$IncludeAdditionalDetails parameter of the DescribeApplication operation.

" } }, "KinesisAnalyticsARN": { @@ -1329,7 +1329,7 @@ "MinPauseBetweenCheckpoints": { "base": null, "refs": { - "CheckpointConfiguration$MinPauseBetweenCheckpoints": "

Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. If a checkpoint operation takes longer than the CheckpointInterval, the application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation.

If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a MinPauseBetweenCheckpoints value of 5000, even if this value is set using this API or in application code.

", + "CheckpointConfiguration$MinPauseBetweenCheckpoints": "

Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. If a checkpoint operation takes longer than the CheckpointInterval, the application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointing in the Apache Flink Documentation.

If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a MinPauseBetweenCheckpoints value of 5000, even if this value is set using this API or in application code.

", "CheckpointConfigurationDescription$MinPauseBetweenCheckpoints": "

Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.

If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a MinPauseBetweenCheckpoints value of 5000, even if this value is set using this API or in application code.

", "CheckpointConfigurationUpdate$MinPauseBetweenCheckpointsUpdate": "

Describes updates to the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start.

If CheckpointConfiguration.ConfigurationType is DEFAULT, the application will use a MinPauseBetweenCheckpoints value of 5000, even if this value is set using this API or in application code.

" } @@ -1457,7 +1457,7 @@ } }, "ParallelismConfiguration": { - "base": "

Describes parameters for how a Managed Service for Apache Flink application executes multiple tasks simultaneously. For more information about parallelism, see Parallel Execution in the Apache Flink Documentation.

", + "base": "

Describes parameters for how a Managed Service for Apache Flink application executes multiple tasks simultaneously. For more information about parallelism, see Parallel Execution in the Apache Flink Documentation.

", "refs": { "FlinkApplicationConfiguration$ParallelismConfiguration": "

Describes parameters for how an application executes multiple tasks simultaneously.

" } diff --git a/models/apis/opensearch/2021-01-01/api-2.json b/models/apis/opensearch/2021-01-01/api-2.json index b1bae1abcc1..ae094168fe8 100644 --- a/models/apis/opensearch/2021-01-01/api-2.json +++ b/models/apis/opensearch/2021-01-01/api-2.json @@ -1000,25 +1000,6 @@ } }, "shapes":{ - "AIMLOptionsInput":{ - "type":"structure", - "members":{ - "NaturalLanguageQueryGenerationOptions":{"shape":"NaturalLanguageQueryGenerationOptionsInput"} - } - }, - "AIMLOptionsOutput":{ - "type":"structure", - "members":{ - "NaturalLanguageQueryGenerationOptions":{"shape":"NaturalLanguageQueryGenerationOptionsOutput"} - } - }, - "AIMLOptionsStatus":{ - "type":"structure", - "members":{ - "Options":{"shape":"AIMLOptionsOutput"}, - "Status":{"shape":"OptionStatus"} - } - }, "ARN":{ "type":"string", "max":2048, @@ -1638,8 +1619,7 @@ "TagList":{"shape":"TagList"}, "AutoTuneOptions":{"shape":"AutoTuneOptionsInput"}, "OffPeakWindowOptions":{"shape":"OffPeakWindowOptions"}, - "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptions"}, - "AIMLOptions":{"shape":"AIMLOptionsInput"} + "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptions"} } }, "CreateDomainResponse":{ @@ -2298,8 +2278,7 @@ "ChangeProgressDetails":{"shape":"ChangeProgressDetails"}, "OffPeakWindowOptions":{"shape":"OffPeakWindowOptionsStatus"}, "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptionsStatus"}, - "ModifyingProperties":{"shape":"ModifyingPropertiesList"}, - "AIMLOptions":{"shape":"AIMLOptionsStatus"} + "ModifyingProperties":{"shape":"ModifyingPropertiesList"} } }, "DomainEndpointOptions":{ @@ -2492,8 +2471,7 @@ "OffPeakWindowOptions":{"shape":"OffPeakWindowOptions"}, "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptions"}, "DomainProcessingStatus":{"shape":"DomainProcessingStatusType"}, - "ModifyingProperties":{"shape":"ModifyingPropertiesList"}, - "AIMLOptions":{"shape":"AIMLOptionsOutput"} + "ModifyingProperties":{"shape":"ModifyingPropertiesList"} } }, "DomainStatusList":{ @@ -3387,38 +3365,6 @@ "type":"list", "member":{"shape":"ModifyingProperties"} }, - "NaturalLanguageQueryGenerationCurrentState":{ - "type":"string", - "enum":[ - "NOT_ENABLED", - "ENABLE_COMPLETE", - "ENABLE_IN_PROGRESS", - "ENABLE_FAILED", - "DISABLE_COMPLETE", - "DISABLE_IN_PROGRESS", - "DISABLE_FAILED" - ] - }, - "NaturalLanguageQueryGenerationDesiredState":{ - "type":"string", - "enum":[ - "ENABLED", - "DISABLED" - ] - }, - "NaturalLanguageQueryGenerationOptionsInput":{ - "type":"structure", - "members":{ - "DesiredState":{"shape":"NaturalLanguageQueryGenerationDesiredState"} - } - }, - "NaturalLanguageQueryGenerationOptionsOutput":{ - "type":"structure", - "members":{ - "DesiredState":{"shape":"NaturalLanguageQueryGenerationDesiredState"}, - "CurrentState":{"shape":"NaturalLanguageQueryGenerationCurrentState"} - } - }, "NextToken":{"type":"string"}, "NodeId":{ "type":"string", @@ -4363,8 +4309,7 @@ "DryRun":{"shape":"DryRun"}, "DryRunMode":{"shape":"DryRunMode"}, "OffPeakWindowOptions":{"shape":"OffPeakWindowOptions"}, - "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptions"}, - "AIMLOptions":{"shape":"AIMLOptionsInput"} + "SoftwareUpdateOptions":{"shape":"SoftwareUpdateOptions"} } }, "UpdateDomainConfigResponse":{ diff --git a/models/apis/opensearch/2021-01-01/docs-2.json b/models/apis/opensearch/2021-01-01/docs-2.json index 41f9e3dbba3..af8019750ea 100644 --- a/models/apis/opensearch/2021-01-01/docs-2.json +++ b/models/apis/opensearch/2021-01-01/docs-2.json @@ -67,26 +67,6 @@ "UpgradeDomain": "

Allows you to either upgrade your Amazon OpenSearch Service domain or perform an upgrade eligibility check to a compatible version of OpenSearch or Elasticsearch.

" }, "shapes": { - "AIMLOptionsInput": { - "base": "

Container for parameters required to enable all machine learning features.

", - "refs": { - "CreateDomainRequest$AIMLOptions": "

Options for all machine learning features for the specified domain.

", - "UpdateDomainConfigRequest$AIMLOptions": "

Options for all machine learning features for the specified domain.

" - } - }, - "AIMLOptionsOutput": { - "base": "

Container for parameters representing the state of machine learning features on the specified domain.

", - "refs": { - "AIMLOptionsStatus$Options": "

Machine learning options on the specified domain.

", - "DomainStatus$AIMLOptions": "

Container for parameters required to enable all machine learning features.

" - } - }, - "AIMLOptionsStatus": { - "base": "

The status of machine learning options on the specified domain.

", - "refs": { - "DomainConfig$AIMLOptions": "

Container for parameters required to enable all machine learning features.

" - } - }, "ARN": { "base": "

The Amazon Resource Name (ARN) of the domain. See Identifiers for IAM Entities in Using Amazon Web Services Identity and Access Management for more information.

", "refs": { @@ -1914,31 +1894,6 @@ "DomainStatus$ModifyingProperties": "

Information about the domain properties that are currently being modified.

" } }, - "NaturalLanguageQueryGenerationCurrentState": { - "base": null, - "refs": { - "NaturalLanguageQueryGenerationOptionsOutput$CurrentState": "

The current state of the natural language query generation feature, indicating completion, in progress, or failure.

" - } - }, - "NaturalLanguageQueryGenerationDesiredState": { - "base": null, - "refs": { - "NaturalLanguageQueryGenerationOptionsInput$DesiredState": "

The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.

", - "NaturalLanguageQueryGenerationOptionsOutput$DesiredState": "

The desired state of the natural language query generation feature. Valid values are ENABLED and DISABLED.

" - } - }, - "NaturalLanguageQueryGenerationOptionsInput": { - "base": "

Container for parameters required to enable the natural language query generation feature.

", - "refs": { - "AIMLOptionsInput$NaturalLanguageQueryGenerationOptions": "

Container for parameters required for natural language query generation on the specified domain.

" - } - }, - "NaturalLanguageQueryGenerationOptionsOutput": { - "base": "

Container for parameters representing the state of the natural language query generation feature on the specified domain.

", - "refs": { - "AIMLOptionsOutput$NaturalLanguageQueryGenerationOptions": "

Container for parameters required for natural language query generation on the specified domain.

" - } - }, "NextToken": { "base": "

When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.

", "refs": { @@ -2090,7 +2045,6 @@ "OptionStatus": { "base": "

Provides the current status of an entity.

", "refs": { - "AIMLOptionsStatus$Status": null, "AccessPoliciesStatus$Status": "

The status of the access policy for the domain.

", "AdvancedOptionsStatus$Status": "

The status of advanced options for the specified domain.

", "AdvancedSecurityOptionsStatus$Status": "

Status of the fine-grained access control settings for a domain.

", diff --git a/models/apis/pi/2018-02-27/api-2.json b/models/apis/pi/2018-02-27/api-2.json index 265a4b2d37c..187af7e8cae 100644 --- a/models/apis/pi/2018-02-27/api-2.json +++ b/models/apis/pi/2018-02-27/api-2.json @@ -12,7 +12,8 @@ "signatureVersion":"v4", "signingName":"pi", "targetPrefix":"PerformanceInsightsv20180227", - "uid":"pi-2018-02-27" + "uid":"pi-2018-02-27", + "auth":["aws.auth#sigv4"] }, "operations":{ "CreatePerformanceAnalysisReport":{ diff --git a/models/apis/pi/2018-02-27/docs-2.json b/models/apis/pi/2018-02-27/docs-2.json index 2860e241fcd..7e5dc0d8094 100644 --- a/models/apis/pi/2018-02-27/docs-2.json +++ b/models/apis/pi/2018-02-27/docs-2.json @@ -495,8 +495,8 @@ "MetricQueryFilterMap": { "base": null, "refs": { - "DescribeDimensionKeysRequest$Filter": "

One or more filters to apply in the request. Restrictions:

", - "MetricQuery$Filter": "

One or more filters to apply in the request. Restrictions:

" + "DescribeDimensionKeysRequest$Filter": "

One or more filters to apply in the request. Restrictions:

The db.sql.db_id filter isn't available for RDS for SQL Server DB instances.

", + "MetricQuery$Filter": "

One or more filters to apply in the request. Restrictions:

The db.sql.db_id filter isn't available for RDS for SQL Server DB instances.

" } }, "MetricQueryList": { diff --git a/models/apis/workspaces/2015-04-08/api-2.json b/models/apis/workspaces/2015-04-08/api-2.json index 21196d4506b..b1cbf69c672 100644 --- a/models/apis/workspaces/2015-04-08/api-2.json +++ b/models/apis/workspaces/2015-04-08/api-2.json @@ -3455,7 +3455,8 @@ "WINDOWS_7", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", - "WINDOWS_SERVER_2022" + "WINDOWS_SERVER_2022", + "RHEL_8" ] }, "OperatingSystemNameList":{ diff --git a/models/apis/workspaces/2015-04-08/docs-2.json b/models/apis/workspaces/2015-04-08/docs-2.json index 5831c1c5bc2..406c04e652f 100644 --- a/models/apis/workspaces/2015-04-08/docs-2.json +++ b/models/apis/workspaces/2015-04-08/docs-2.json @@ -50,8 +50,8 @@ "DescribeWorkspaceSnapshots": "

Describes the snapshots for the specified WorkSpace.

", "DescribeWorkspaces": "

Describes the specified WorkSpaces.

You can filter the results by using the bundle identifier, directory identifier, or owner, but you can specify only one filter at a time.

", "DescribeWorkspacesConnectionStatus": "

Describes the connection status of the specified WorkSpaces.

", - "DescribeWorkspacesPoolSessions": "

Retrieves a list that describes the streaming sessions for a specified WorkSpaces pool.

", - "DescribeWorkspacesPools": "

Describes the specified WorkSpaces pool.

", + "DescribeWorkspacesPoolSessions": "

Retrieves a list that describes the streaming sessions for a specified pool.

", + "DescribeWorkspacesPools": "

Describes the specified WorkSpaces Pools.

", "DisassociateConnectionAlias": "

Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different Regions. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

", "DisassociateIpGroups": "

Disassociates the specified IP access control group from the specified directory.

", "DisassociateWorkspaceApplication": "

Disassociates the specified application from a WorkSpace.

", @@ -78,18 +78,18 @@ "RestoreWorkspace": "

Restores the specified WorkSpace to its last known healthy state.

You cannot restore a WorkSpace unless its state is AVAILABLE, ERROR, UNHEALTHY, or STOPPED.

Restoring a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Restore a WorkSpace.

This operation is asynchronous and returns before the WorkSpace is completely restored.

", "RevokeIpRules": "

Removes one or more rules from the specified IP access control group.

", "StartWorkspaces": "

Starts the specified WorkSpaces.

You cannot start a WorkSpace unless it has a running mode of AutoStop and a state of STOPPED.

", - "StartWorkspacesPool": "

Starts the specified WorkSpaces pool.

You cannot start a WorkSpace pool unless it has a running mode of AutoStop and a state of STOPPED.

", + "StartWorkspacesPool": "

Starts the specified pool.

You cannot start a pool unless it has a running mode of AutoStop and a state of STOPPED.

", "StopWorkspaces": "

Stops the specified WorkSpaces.

You cannot stop a WorkSpace unless it has a running mode of AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR.

", - "StopWorkspacesPool": "

Stops the specifiedWorkSpaces pool.

You cannot stop a WorkSpace pool unless it has a running mode of AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR.

", + "StopWorkspacesPool": "

Stops the specified pool.

You cannot stop a WorkSpace pool unless it has a running mode of AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR.

", "TerminateWorkspaces": "

Terminates the specified WorkSpaces.

Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is destroyed. If you need to archive any user data, contact Amazon Web Services Support before terminating the WorkSpace.

You can terminate a WorkSpace that is in any state except SUSPENDED.

This operation is asynchronous and returns before the WorkSpaces have been completely terminated. After a WorkSpace is terminated, the TERMINATED state is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.

Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.

To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.

", - "TerminateWorkspacesPool": "

Terminates the specified WorkSpaces pool.

", - "TerminateWorkspacesPoolSession": "

Terminates the WorkSpaces pool session.

", + "TerminateWorkspacesPool": "

Terminates the specified pool.

", + "TerminateWorkspacesPoolSession": "

Terminates the pool session.

", "UpdateConnectClientAddIn": "

Updates a Amazon Connect client add-in. Use this action to update the name and endpoint URL of a Amazon Connect client add-in.

", "UpdateConnectionAliasPermission": "

Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. If the association permission is granted, the connection alias is shared with that account. If the association permission is revoked, the connection alias is unshared with the account. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

", "UpdateRulesOfIpGroup": "

Replaces the current rules of the specified IP access control group with the specified rules.

", "UpdateWorkspaceBundle": "

Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see Update a Custom WorkSpaces Bundle.

Existing WorkSpaces aren't automatically updated when you update the bundle that they're based on. To update existing WorkSpaces that are based on a bundle that you've updated, you must either rebuild the WorkSpaces or delete and recreate them.

", "UpdateWorkspaceImagePermission": "

Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image. If the copy image permission is granted, the image is shared with that account. If the copy image permission is revoked, the image is unshared with the account.

After an image has been shared, the recipient account can copy the image to other Regions as needed.

In the China (Ningxia) Region, you can copy images only within the same Region.

In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.

For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.

", - "UpdateWorkspacesPool": "

Updates the specified WorkSpaces pool.

" + "UpdateWorkspacesPool": "

Updates the specified pool.

" }, "shapes": { "ARN": { @@ -98,7 +98,7 @@ "DefaultWorkspaceCreationProperties$InstanceIamRoleArn": "

Indicates the IAM role ARN of the instance.

", "WorkspaceCreationProperties$InstanceIamRoleArn": "

Indicates the IAM role ARN of the instance.

", "WorkspaceDirectory$IamRoleId": "

The identifier of the IAM role. This is the role that allows Amazon WorkSpaces to make calls to other services, such as Amazon EC2, on your behalf.

", - "WorkspacesPool$PoolArn": "

The Amazon Resource Name (ARN) for the WorkSpaces pool.

" + "WorkspacesPool$PoolArn": "

The Amazon Resource Name (ARN) for the pool.

" } }, "AcceptAccountLinkInvitationRequest": { @@ -181,7 +181,7 @@ "ActualUserSessions": { "base": null, "refs": { - "CapacityStatus$ActualUserSessions": "

The total number of session slots that are available for WorkSpaces pools.

" + "CapacityStatus$ActualUserSessions": "

The total number of session slots that are available for a pool of WorkSpaces.

" } }, "AddInName": { @@ -212,7 +212,7 @@ "ConnectClientAddIn$AddInId": "

The client add-in identifier.

", "CreateConnectClientAddInResult$AddInId": "

The client add-in identifier.

", "DeleteConnectClientAddInRequest$AddInId": "

The identifier of the client add-in to delete.

", - "TerminateWorkspacesPoolSessionRequest$SessionId": "

The identifier of the WorkSpaces pool session.

", + "TerminateWorkspacesPoolSessionRequest$SessionId": "

The identifier of the pool session.

", "UpdateConnectClientAddInRequest$AddInId": "

The identifier of the client add-in to update.

", "WorkspacesPoolSession$SessionId": "

The identifier of the session.

" } @@ -260,14 +260,14 @@ } }, "ApplicationSettingsRequest": { - "base": "

The persistent application settings for users of a WorkSpaces pool.

", + "base": "

The persistent application settings for WorkSpaces Pools users.

", "refs": { - "CreateWorkspacesPoolRequest$ApplicationSettings": "

Indicates the application settings of the WorkSpaces pool.

", + "CreateWorkspacesPoolRequest$ApplicationSettings": "

Indicates the application settings of the pool.

", "UpdateWorkspacesPoolRequest$ApplicationSettings": "

The persistent application settings for users in the pool.

" } }, "ApplicationSettingsResponse": { - "base": "

Describes the persistent application settings for users of a WorkSpaces pool.

", + "base": "

Describes the persistent application settings for WorkSpaces Pools users.

", "refs": { "WorkspacesPool$ApplicationSettings": "

The persistent application settings for users of the pool.

" } @@ -342,7 +342,7 @@ "AuthenticationType": { "base": null, "refs": { - "WorkspacesPoolSession$AuthenticationType": "

The authentication method. The user is authenticated using a WorkSpaces pool URL (API) or SAML 2.0 federation (SAML).

" + "WorkspacesPoolSession$AuthenticationType": "

The authentication method. The user is authenticated using a WorkSpaces Pools URL (API) or SAML 2.0 federation (SAML).

" } }, "AuthorizeIpRulesRequest": { @@ -418,7 +418,7 @@ "refs": { "BundleIdList$member": null, "BundleResourceAssociation$BundleId": "

The identifier of the bundle.

", - "CreateWorkspacesPoolRequest$BundleId": "

The identifier of the bundle for the WorkSpaces pool.

", + "CreateWorkspacesPoolRequest$BundleId": "

The identifier of the bundle for the pool.

", "DeleteWorkspaceBundleRequest$BundleId": "

The identifier of the bundle.

", "DescribeBundleAssociationsRequest$BundleId": "

The identifier of the bundle.

", "DescribeWorkspacesRequest$BundleId": "

The identifier of the bundle. All WorkSpaces that are created from this bundle are retrieved. You cannot combine this parameter with any other filter.

", @@ -469,14 +469,14 @@ } }, "Capacity": { - "base": "

Describes the user capacity for a WorkSpaces pool.

", + "base": "

Describes the user capacity for a pool of WorkSpaces.

", "refs": { - "CreateWorkspacesPoolRequest$Capacity": "

The user capacity of the WorkSpaces pool.

", - "UpdateWorkspacesPoolRequest$Capacity": "

The desired capacity for the WorkSpaces pool.

" + "CreateWorkspacesPoolRequest$Capacity": "

The user capacity of the pool.

", + "UpdateWorkspacesPoolRequest$Capacity": "

The desired capacity for the pool.

" } }, "CapacityStatus": { - "base": "

Describes the capacity status for a WorkSpaces pool

", + "base": "

Describes the capacity status for a pool of WorkSpaces.

", "refs": { "WorkspacesPool$CapacityStatus": "

The capacity status for the pool

" } @@ -1265,7 +1265,7 @@ } }, "DescribeWorkspacesPoolsFilter": { - "base": "

Describes the filter conditions for the WorkSpaces pool to return.

", + "base": "

Describes the filter conditions for WorkSpaces Pools to return.

", "refs": { "DescribeWorkspacesPoolsFilters$member": null } @@ -1279,7 +1279,7 @@ "DescribeWorkspacesPoolsFilterOperator": { "base": null, "refs": { - "DescribeWorkspacesPoolsFilter$Operator": "

The operator values for filtering WorkSpaces pools.

" + "DescribeWorkspacesPoolsFilter$Operator": "

The operator values for filtering WorkSpaces Pools.

" } }, "DescribeWorkspacesPoolsFilterValue": { @@ -1291,13 +1291,13 @@ "DescribeWorkspacesPoolsFilterValues": { "base": null, "refs": { - "DescribeWorkspacesPoolsFilter$Values": "

The values for filtering WorkSpaces pools.

" + "DescribeWorkspacesPoolsFilter$Values": "

The values for filtering WorkSpaces Pools.

" } }, "DescribeWorkspacesPoolsFilters": { "base": null, "refs": { - "DescribeWorkspacesPoolsRequest$Filters": "

The filter conditions for the WorkSpaces pool to return.

" + "DescribeWorkspacesPoolsRequest$Filters": "

The filter conditions for the WorkSpaces Pool to return.

" } }, "DescribeWorkspacesPoolsRequest": { @@ -1347,7 +1347,7 @@ "AssociateIpGroupsRequest$DirectoryId": "

The identifier of the directory.

", "ConnectClientAddIn$ResourceId": "

The directory identifier for which the client add-in is configured.

", "CreateConnectClientAddInRequest$ResourceId": "

The directory identifier for which to configure the client add-in.

", - "CreateWorkspacesPoolRequest$DirectoryId": "

The identifier of the directory for the WorkSpaces pool.

", + "CreateWorkspacesPoolRequest$DirectoryId": "

The identifier of the directory for the pool.

", "DeleteClientBrandingRequest$ResourceId": "

The directory identifier of the WorkSpace for which you want to delete client branding.

", "DeleteConnectClientAddInRequest$ResourceId": "

The directory identifier for which the client add-in is configured.

", "DeregisterWorkspaceDirectoryRequest$DirectoryId": "

The identifier of the directory. If any WorkSpaces are registered to this directory, you must remove them before you deregister the directory, or you will receive an OperationNotSupportedException error.

", @@ -2004,7 +2004,7 @@ } }, "NetworkAccessConfiguration": { - "base": "

Describes the network details of a WorkSpaces pool.

", + "base": "

Describes the network details of a WorkSpaces Pool.

", "refs": { "WorkspacesPoolSession$NetworkAccessConfiguration": "

Describes the network details of the pool.

" } @@ -2589,7 +2589,7 @@ "CreateUpdatedWorkspaceImageRequest$Tags": "

The tags that you want to add to the new updated WorkSpace image.

To add tags at the same time when you're creating the updated image, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags.

", "CreateWorkspaceBundleRequest$Tags": "

The tags associated with the bundle.

To add tags at the same time when you're creating the bundle, you must create an IAM policy that grants your IAM user permissions to use workspaces:CreateTags.

", "CreateWorkspaceImageRequest$Tags": "

The tags that you want to add to the new WorkSpace image. To add tags when you're creating the image, you must create an IAM policy that grants your IAM user permission to use workspaces:CreateTags.

", - "CreateWorkspacesPoolRequest$Tags": "

The tags for the WorkSpaces pool.

", + "CreateWorkspacesPoolRequest$Tags": "

The tags for the pool.

", "DescribeTagsResult$TagList": "

The tags.

", "ImportWorkspaceImageRequest$Tags": "

The tags. Each WorkSpaces resource can have a maximum of 50 tags.

", "RegisterWorkspaceDirectoryRequest$Tags": "

The tags associated with the directory.

", @@ -2659,10 +2659,10 @@ } }, "TimeoutSettings": { - "base": "

Describes the timeout settings for a WorkSpaces pool.

", + "base": "

Describes the timeout settings for a pool of WorkSpaces.

", "refs": { - "CreateWorkspacesPoolRequest$TimeoutSettings": "

Indicates the timeout settings of the WorkSpaces pool.

", - "UpdateWorkspacesPoolRequest$TimeoutSettings": "

Indicates the timeout settings of the specified WorkSpaces pool.

", + "CreateWorkspacesPoolRequest$TimeoutSettings": "

Indicates the timeout settings of the pool.

", + "UpdateWorkspacesPoolRequest$TimeoutSettings": "

Indicates the timeout settings of the specified pool.

", "WorkspacesPool$TimeoutSettings": "

The amount of time that a pool session remains active after users disconnect. If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.

" } }, @@ -2726,9 +2726,9 @@ "UpdateDescription": { "base": null, "refs": { - "CreateWorkspacesPoolRequest$Description": "

The WorkSpaces pool description.

", + "CreateWorkspacesPoolRequest$Description": "

The pool description.

", "UpdateResult$Description": "

A description of whether updates for the WorkSpace image are pending or available.

", - "UpdateWorkspacesPoolRequest$Description": "

Describes the specified WorkSpaces pool to update.

", + "UpdateWorkspacesPoolRequest$Description": "

Describes the specified pool to update.

", "WorkspacesPool$Description": "

The description of the pool.

" } }, @@ -3233,15 +3233,15 @@ } }, "WorkspacesPool": { - "base": "

Describes a WorkSpaces pool.

", + "base": "

Describes a pool of WorkSpaces.

", "refs": { - "CreateWorkspacesPoolResult$WorkspacesPool": "

Indicates the WorkSpaces pool to create.

", - "UpdateWorkspacesPoolResult$WorkspacesPool": "

Describes the specified WorkSpaces pool.

", + "CreateWorkspacesPoolResult$WorkspacesPool": "

Indicates the pool to create.

", + "UpdateWorkspacesPoolResult$WorkspacesPool": "

Describes the specified pool.

", "WorkspacesPools$member": null } }, "WorkspacesPoolError": { - "base": "

Describes a WorkSpaces pool error.

", + "base": "

Describes a pool error.

", "refs": { "WorkspacesPoolErrors$member": null } @@ -3261,12 +3261,12 @@ "WorkspacesPoolId": { "base": null, "refs": { - "DescribeWorkspacesPoolSessionsRequest$PoolId": "

The identifier of the WorkSpaces pool.

", - "StartWorkspacesPoolRequest$PoolId": "

The identifier of the WorkSpaces pool.

", - "StopWorkspacesPoolRequest$PoolId": "

The identifier of the WorkSpaces pool.

", - "TerminateWorkspacesPoolRequest$PoolId": "

The identifier of the WorkSpaces pool.

", - "UpdateWorkspacesPoolRequest$PoolId": "

The identifier of the specified WorkSpaces pool to update.

", - "WorkspacesPool$PoolId": "

The identifier of a WorkSpaces pool.

", + "DescribeWorkspacesPoolSessionsRequest$PoolId": "

The identifier of the pool.

", + "StartWorkspacesPoolRequest$PoolId": "

The identifier of the pool.

", + "StopWorkspacesPoolRequest$PoolId": "

The identifier of the pool.

", + "TerminateWorkspacesPoolRequest$PoolId": "

The identifier of the pool.

", + "UpdateWorkspacesPoolRequest$PoolId": "

The identifier of the specified pool to update.

", + "WorkspacesPool$PoolId": "

The identifier of a pool.

", "WorkspacesPoolIds$member": null, "WorkspacesPoolSession$PoolId": "

The identifier of the pool.

" } @@ -3274,18 +3274,18 @@ "WorkspacesPoolIds": { "base": null, "refs": { - "DescribeWorkspacesPoolsRequest$PoolIds": "

The identifier of the WorkSpaces pool.

" + "DescribeWorkspacesPoolsRequest$PoolIds": "

The identifier of the WorkSpaces Pools.

" } }, "WorkspacesPoolName": { "base": null, "refs": { - "CreateWorkspacesPoolRequest$PoolName": "

The name of the WorkSpaces pool.

", + "CreateWorkspacesPoolRequest$PoolName": "

The name of the pool.

", "WorkspacesPool$PoolName": "

The name of the pool,

" } }, "WorkspacesPoolSession": { - "base": "

Describes a WorkSpaces pool session.

", + "base": "

Describes a pool session.

", "refs": { "WorkspacesPoolSessions$member": null } @@ -3293,7 +3293,7 @@ "WorkspacesPoolSessions": { "base": null, "refs": { - "DescribeWorkspacesPoolSessionsResult$Sessions": "

Describes the WorkSpaces pool sessions.

" + "DescribeWorkspacesPoolSessionsResult$Sessions": "

Describes the pool sessions.

" } }, "WorkspacesPoolState": { @@ -3312,7 +3312,7 @@ "WorkspacesPools": { "base": null, "refs": { - "DescribeWorkspacesPoolsResult$WorkspacesPools": "

Information about the WorkSpaces pools.

" + "DescribeWorkspacesPoolsResult$WorkspacesPools": "

Information about the WorkSpaces Pools.

" } } } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index d0a6e397e1e..16e3c463e32 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -21079,6 +21079,14 @@ "cn-northwest-1" : { } } }, + "acm-pca" : { + "defaults" : { + "protocols" : [ "https" ] + }, + "endpoints" : { + "cn-north-1" : { } + } + }, "airflow" : { "endpoints" : { "cn-north-1" : { }, diff --git a/service/acmpca/api.go b/service/acmpca/api.go index ce9eb4410a6..a3a22baa3f2 100644 --- a/service/acmpca/api.go +++ b/service/acmpca/api.go @@ -9135,6 +9135,9 @@ const ( // KeyAlgorithmEcSecp384r1 is a KeyAlgorithm enum value KeyAlgorithmEcSecp384r1 = "EC_secp384r1" + + // KeyAlgorithmSm2 is a KeyAlgorithm enum value + KeyAlgorithmSm2 = "SM2" ) // KeyAlgorithm_Values returns all elements of the KeyAlgorithm enum @@ -9144,6 +9147,7 @@ func KeyAlgorithm_Values() []string { KeyAlgorithmRsa4096, KeyAlgorithmEcPrime256v1, KeyAlgorithmEcSecp384r1, + KeyAlgorithmSm2, } } @@ -9153,6 +9157,9 @@ const ( // KeyStorageSecurityStandardFips1402Level3OrHigher is a KeyStorageSecurityStandard enum value KeyStorageSecurityStandardFips1402Level3OrHigher = "FIPS_140_2_LEVEL_3_OR_HIGHER" + + // KeyStorageSecurityStandardCcpcLevel1OrHigher is a KeyStorageSecurityStandard enum value + KeyStorageSecurityStandardCcpcLevel1OrHigher = "CCPC_LEVEL_1_OR_HIGHER" ) // KeyStorageSecurityStandard_Values returns all elements of the KeyStorageSecurityStandard enum @@ -9160,6 +9167,7 @@ func KeyStorageSecurityStandard_Values() []string { return []string{ KeyStorageSecurityStandardFips1402Level2OrHigher, KeyStorageSecurityStandardFips1402Level3OrHigher, + KeyStorageSecurityStandardCcpcLevel1OrHigher, } } @@ -9265,6 +9273,9 @@ const ( // SigningAlgorithmSha512withrsa is a SigningAlgorithm enum value SigningAlgorithmSha512withrsa = "SHA512WITHRSA" + + // SigningAlgorithmSm3withsm2 is a SigningAlgorithm enum value + SigningAlgorithmSm3withsm2 = "SM3WITHSM2" ) // SigningAlgorithm_Values returns all elements of the SigningAlgorithm enum @@ -9276,6 +9287,7 @@ func SigningAlgorithm_Values() []string { SigningAlgorithmSha256withrsa, SigningAlgorithmSha384withrsa, SigningAlgorithmSha512withrsa, + SigningAlgorithmSm3withsm2, } } diff --git a/service/cloudhsmv2/api.go b/service/cloudhsmv2/api.go index ce7676e1b9d..85930c2a7a6 100644 --- a/service/cloudhsmv2/api.go +++ b/service/cloudhsmv2/api.go @@ -56,7 +56,10 @@ func (c *CloudHSMV2) CopyBackupToRegionRequest(input *CopyBackupToRegionInput) ( // CopyBackupToRegion API operation for AWS CloudHSM V2. // -// Copy an AWS CloudHSM cluster backup to a different region. +// Copy an CloudHSM cluster backup to a different region. +// +// Cross-account use: No. You cannot perform this operation on an CloudHSM backup +// in a different Amazon Web Services account. // // 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 @@ -72,8 +75,8 @@ func (c *CloudHSMV2) CopyBackupToRegionRequest(input *CopyBackupToRegionInput) ( // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -153,7 +156,11 @@ func (c *CloudHSMV2) CreateClusterRequest(input *CreateClusterInput) (req *reque // CreateCluster API operation for AWS CloudHSM V2. // -// Creates a new AWS CloudHSM cluster. +// Creates a new CloudHSM cluster. +// +// Cross-account use: Yes. To perform this operation with an CloudHSM backup +// in a different AWS account, specify the full backup ARN in the value of the +// SourceBackupId parameter. // // 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 @@ -169,8 +176,8 @@ func (c *CloudHSMV2) CreateClusterRequest(input *CreateClusterInput) (req *reque // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -250,8 +257,10 @@ func (c *CloudHSMV2) CreateHsmRequest(input *CreateHsmInput) (req *request.Reque // CreateHsm API operation for AWS CloudHSM V2. // -// Creates a new hardware security module (HSM) in the specified AWS CloudHSM -// cluster. +// Creates a new hardware security module (HSM) in the specified CloudHSM cluster. +// +// Cross-account use: No. You cannot perform this operation on an CloudHSM cluster +// in a different Amazon Web Service account. // // 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 @@ -263,8 +272,8 @@ func (c *CloudHSMV2) CreateHsmRequest(input *CreateHsmInput) (req *request.Reque // Returned Error Types: // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmServiceException // The request was rejected because an error occurred. @@ -344,10 +353,13 @@ func (c *CloudHSMV2) DeleteBackupRequest(input *DeleteBackupInput) (req *request // DeleteBackup API operation for AWS CloudHSM V2. // -// Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 -// days after the DeleteBackup request is made. For more information on restoring +// Deletes a specified CloudHSM backup. A backup can be restored up to 7 days +// after the DeleteBackup request is made. For more information on restoring // a backup, see RestoreBackup. // +// Cross-account use: No. You cannot perform this operation on an CloudHSM backup +// in a different Amazon Web Services account. +// // 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. @@ -362,8 +374,8 @@ func (c *CloudHSMV2) DeleteBackupRequest(input *DeleteBackupInput) (req *request // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -439,10 +451,13 @@ func (c *CloudHSMV2) DeleteClusterRequest(input *DeleteClusterInput) (req *reque // DeleteCluster API operation for AWS CloudHSM V2. // -// Deletes the specified AWS CloudHSM cluster. Before you can delete a cluster, +// Deletes the specified CloudHSM cluster. Before you can delete a cluster, // you must delete all HSMs in the cluster. To see if the cluster contains any // HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm. // +// Cross-account use: No. You cannot perform this operation on an CloudHSM cluster +// in a different Amazon Web Services account. +// // 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. @@ -457,8 +472,8 @@ func (c *CloudHSMV2) DeleteClusterRequest(input *DeleteClusterInput) (req *reque // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -543,6 +558,9 @@ func (c *CloudHSMV2) DeleteHsmRequest(input *DeleteHsmInput) (req *request.Reque // ID of the HSM's ENI. You need to specify only one of these values. To find // these values, use DescribeClusters. // +// Cross-account use: No. You cannot perform this operation on an CloudHSM hsm +// in a different Amazon Web Services account. +// // 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. @@ -553,8 +571,8 @@ func (c *CloudHSMV2) DeleteHsmRequest(input *DeleteHsmInput) (req *request.Reque // Returned Error Types: // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmServiceException // The request was rejected because an error occurred. @@ -591,6 +609,105 @@ func (c *CloudHSMV2) DeleteHsmWithContext(ctx aws.Context, input *DeleteHsmInput return out, req.Send() } +const opDeleteResourcePolicy = "DeleteResourcePolicy" + +// DeleteResourcePolicyRequest generates a "aws/request.Request" representing the +// client's request for the DeleteResourcePolicy 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 DeleteResourcePolicy for more information on using the DeleteResourcePolicy +// 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 DeleteResourcePolicyRequest method. +// req, resp := client.DeleteResourcePolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteResourcePolicy +func (c *CloudHSMV2) DeleteResourcePolicyRequest(input *DeleteResourcePolicyInput) (req *request.Request, output *DeleteResourcePolicyOutput) { + op := &request.Operation{ + Name: opDeleteResourcePolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteResourcePolicyInput{} + } + + output = &DeleteResourcePolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// DeleteResourcePolicy API operation for AWS CloudHSM V2. +// +// Deletes an CloudHSM resource policy. Deleting a resource policy will result +// in the resource being unshared and removed from any RAM resource shares. +// Deleting the resource policy attached to a backup will not impact any clusters +// created from that backup. +// +// Cross-account use: No. You cannot perform this operation on an CloudHSM resource +// in a different Amazon Web Services account. +// +// 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 CloudHSM V2's +// API operation DeleteResourcePolicy for usage and error information. +// +// Returned Error Types: +// +// - CloudHsmInternalFailureException +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. +// +// - CloudHsmServiceException +// The request was rejected because an error occurred. +// +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. +// +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. +// +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/DeleteResourcePolicy +func (c *CloudHSMV2) DeleteResourcePolicy(input *DeleteResourcePolicyInput) (*DeleteResourcePolicyOutput, error) { + req, out := c.DeleteResourcePolicyRequest(input) + return out, req.Send() +} + +// DeleteResourcePolicyWithContext is the same as DeleteResourcePolicy with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteResourcePolicy 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 *CloudHSMV2) DeleteResourcePolicyWithContext(ctx aws.Context, input *DeleteResourcePolicyInput, opts ...request.Option) (*DeleteResourcePolicyOutput, error) { + req, out := c.DeleteResourcePolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeBackups = "DescribeBackups" // DescribeBackupsRequest generates a "aws/request.Request" representing the @@ -640,7 +757,8 @@ func (c *CloudHSMV2) DescribeBackupsRequest(input *DescribeBackupsInput) (req *r // DescribeBackups API operation for AWS CloudHSM V2. // -// Gets information about backups of AWS CloudHSM clusters. +// Gets information about backups of CloudHSM clusters. Lists either the backups +// you own or the backups shared with you when the Shared parameter is true. // // This is a paginated operation, which means that each response might contain // only a subset of all the backups. When the response contains only a subset @@ -649,6 +767,9 @@ func (c *CloudHSMV2) DescribeBackupsRequest(input *DescribeBackupsInput) (req *r // with no NextToken (or an empty or null value), that means there are no more // backups to get. // +// Cross-account use: Yes. Customers can describe backups in other Amazon Web +// Services accounts that are shared with them. +// // 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. @@ -663,8 +784,8 @@ func (c *CloudHSMV2) DescribeBackupsRequest(input *DescribeBackupsInput) (req *r // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -801,7 +922,7 @@ func (c *CloudHSMV2) DescribeClustersRequest(input *DescribeClustersInput) (req // DescribeClusters API operation for AWS CloudHSM V2. // -// Gets information about AWS CloudHSM clusters. +// Gets information about CloudHSM clusters. // // This is a paginated operation, which means that each response might contain // only a subset of all the clusters. When the response contains only a subset @@ -810,6 +931,9 @@ func (c *CloudHSMV2) DescribeClustersRequest(input *DescribeClustersInput) (req // with no NextToken (or an empty or null value), that means there are no more // clusters to get. // +// Cross-account use: No. You cannot perform this operation on CloudHSM clusters +// in a different Amazon Web Services account. +// // 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. @@ -824,8 +948,8 @@ func (c *CloudHSMV2) DescribeClustersRequest(input *DescribeClustersInput) (req // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -910,6 +1034,102 @@ func (c *CloudHSMV2) DescribeClustersPagesWithContext(ctx aws.Context, input *De return p.Err() } +const opGetResourcePolicy = "GetResourcePolicy" + +// GetResourcePolicyRequest generates a "aws/request.Request" representing the +// client's request for the GetResourcePolicy 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 GetResourcePolicy for more information on using the GetResourcePolicy +// 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 GetResourcePolicyRequest method. +// req, resp := client.GetResourcePolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/GetResourcePolicy +func (c *CloudHSMV2) GetResourcePolicyRequest(input *GetResourcePolicyInput) (req *request.Request, output *GetResourcePolicyOutput) { + op := &request.Operation{ + Name: opGetResourcePolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &GetResourcePolicyInput{} + } + + output = &GetResourcePolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// GetResourcePolicy API operation for AWS CloudHSM V2. +// +// Retrieves the resource policy document attached to a given resource. +// +// Cross-account use: No. You cannot perform this operation on an CloudHSM resource +// in a different Amazon Web Services account. +// +// 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 CloudHSM V2's +// API operation GetResourcePolicy for usage and error information. +// +// Returned Error Types: +// +// - CloudHsmInternalFailureException +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. +// +// - CloudHsmServiceException +// The request was rejected because an error occurred. +// +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. +// +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. +// +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/GetResourcePolicy +func (c *CloudHSMV2) GetResourcePolicy(input *GetResourcePolicyInput) (*GetResourcePolicyOutput, error) { + req, out := c.GetResourcePolicyRequest(input) + return out, req.Send() +} + +// GetResourcePolicyWithContext is the same as GetResourcePolicy with the addition of +// the ability to pass a context and additional request options. +// +// See GetResourcePolicy 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 *CloudHSMV2) GetResourcePolicyWithContext(ctx aws.Context, input *GetResourcePolicyInput, opts ...request.Option) (*GetResourcePolicyOutput, error) { + req, out := c.GetResourcePolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opInitializeCluster = "InitializeCluster" // InitializeClusterRequest generates a "aws/request.Request" representing the @@ -953,11 +1173,14 @@ func (c *CloudHSMV2) InitializeClusterRequest(input *InitializeClusterInput) (re // InitializeCluster API operation for AWS CloudHSM V2. // -// Claims an AWS CloudHSM cluster by submitting the cluster certificate issued -// by your issuing certificate authority (CA) and the CA's root certificate. -// Before you can claim a cluster, you must sign the cluster's certificate signing +// Claims an CloudHSM cluster by submitting the cluster certificate issued by +// your issuing certificate authority (CA) and the CA's root certificate. Before +// you can claim a cluster, you must sign the cluster's certificate signing // request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters. // +// Cross-account use: No. You cannot perform this operation on an CloudHSM cluster +// in a different Amazon Web Services account. +// // 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. @@ -972,8 +1195,8 @@ func (c *CloudHSMV2) InitializeClusterRequest(input *InitializeClusterInput) (re // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -1055,7 +1278,7 @@ func (c *CloudHSMV2) ListTagsRequest(input *ListTagsInput) (req *request.Request // ListTags API operation for AWS CloudHSM V2. // -// Gets a list of tags for the specified AWS CloudHSM cluster. +// Gets a list of tags for the specified CloudHSM cluster. // // This is a paginated operation, which means that each response might contain // only a subset of all the tags. When the response contains only a subset of @@ -1063,6 +1286,9 @@ func (c *CloudHSMV2) ListTagsRequest(input *ListTagsInput) (req *request.Request // request to get more tags. When you receive a response with no NextToken (or // an empty or null value), that means there are no more tags to get. // +// Cross-account use: No. You cannot perform this operation on an CloudHSM resource +// in a different Amazon Web Services account. +// // 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. @@ -1077,8 +1303,8 @@ func (c *CloudHSMV2) ListTagsRequest(input *ListTagsInput) (req *request.Request // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -1209,7 +1435,10 @@ func (c *CloudHSMV2) ModifyBackupAttributesRequest(input *ModifyBackupAttributes // ModifyBackupAttributes API operation for AWS CloudHSM V2. // -// Modifies attributes for AWS CloudHSM backup. +// Modifies attributes for CloudHSM backup. +// +// Cross-account use: No. You cannot perform this operation on an CloudHSM backup +// in a different Amazon Web Services account. // // 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 @@ -1225,8 +1454,8 @@ func (c *CloudHSMV2) ModifyBackupAttributesRequest(input *ModifyBackupAttributes // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -1302,7 +1531,10 @@ func (c *CloudHSMV2) ModifyClusterRequest(input *ModifyClusterInput) (req *reque // ModifyCluster API operation for AWS CloudHSM V2. // -// Modifies AWS CloudHSM cluster. +// Modifies CloudHSM cluster. +// +// Cross-account use: No. You cannot perform this operation on an CloudHSM cluster +// in a different Amazon Web Services account. // // 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 @@ -1318,8 +1550,8 @@ func (c *CloudHSMV2) ModifyClusterRequest(input *ModifyClusterInput) (req *reque // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -1352,6 +1584,121 @@ func (c *CloudHSMV2) ModifyClusterWithContext(ctx aws.Context, input *ModifyClus return out, req.Send() } +const opPutResourcePolicy = "PutResourcePolicy" + +// PutResourcePolicyRequest generates a "aws/request.Request" representing the +// client's request for the PutResourcePolicy 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 PutResourcePolicy for more information on using the PutResourcePolicy +// 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 PutResourcePolicyRequest method. +// req, resp := client.PutResourcePolicyRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/PutResourcePolicy +func (c *CloudHSMV2) PutResourcePolicyRequest(input *PutResourcePolicyInput) (req *request.Request, output *PutResourcePolicyOutput) { + op := &request.Operation{ + Name: opPutResourcePolicy, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &PutResourcePolicyInput{} + } + + output = &PutResourcePolicyOutput{} + req = c.newRequest(op, input, output) + return +} + +// PutResourcePolicy API operation for AWS CloudHSM V2. +// +// Creates or updates an CloudHSM resource policy. A resource policy helps you +// to define the IAM entity (for example, an Amazon Web Services account) that +// can manage your CloudHSM resources. The following resources support CloudHSM +// resource policies: +// +// - Backup - The resource policy allows you to describe the backup and restore +// a cluster from the backup in another Amazon Web Services account. +// +// In order to share a backup, it must be in a 'READY' state and you must own +// it. +// +// While you can share a backup using the CloudHSM PutResourcePolicy operation, +// we recommend using Resource Access Manager (RAM) instead. Using RAM provides +// multiple benefits as it creates the policy for you, allows multiple resources +// to be shared at one time, and increases the discoverability of shared resources. +// If you use PutResourcePolicy and want consumers to be able to describe the +// backups you share with them, you must promote the backup to a standard RAM +// Resource Share using the RAM PromoteResourceShareCreatedFromPolicy API operation. +// For more information, see Working with shared backups (https://docs.aws.amazon.com/cloudhsm/latest/userguide/sharing.html) +// in the CloudHSM User Guide +// +// Cross-account use: No. You cannot perform this operation on an CloudHSM resource +// in a different Amazon Web Services account. +// +// 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 CloudHSM V2's +// API operation PutResourcePolicy for usage and error information. +// +// Returned Error Types: +// +// - CloudHsmInternalFailureException +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. +// +// - CloudHsmServiceException +// The request was rejected because an error occurred. +// +// - CloudHsmInvalidRequestException +// The request was rejected because it is not a valid request. +// +// - CloudHsmResourceNotFoundException +// The request was rejected because it refers to a resource that cannot be found. +// +// - CloudHsmAccessDeniedException +// The request was rejected because the requester does not have permission to +// perform the requested operation. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28/PutResourcePolicy +func (c *CloudHSMV2) PutResourcePolicy(input *PutResourcePolicyInput) (*PutResourcePolicyOutput, error) { + req, out := c.PutResourcePolicyRequest(input) + return out, req.Send() +} + +// PutResourcePolicyWithContext is the same as PutResourcePolicy with the addition of +// the ability to pass a context and additional request options. +// +// See PutResourcePolicy 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 *CloudHSMV2) PutResourcePolicyWithContext(ctx aws.Context, input *PutResourcePolicyInput, opts ...request.Option) (*PutResourcePolicyOutput, error) { + req, out := c.PutResourcePolicyRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opRestoreBackup = "RestoreBackup" // RestoreBackupRequest generates a "aws/request.Request" representing the @@ -1395,8 +1742,11 @@ func (c *CloudHSMV2) RestoreBackupRequest(input *RestoreBackupInput) (req *reque // RestoreBackup API operation for AWS CloudHSM V2. // -// Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION -// state. For mor information on deleting a backup, see DeleteBackup. +// Restores a specified CloudHSM backup that is in the PENDING_DELETION state. +// For more information on deleting a backup, see DeleteBackup. +// +// Cross-account use: No. You cannot perform this operation on an CloudHSM backup +// in a different Amazon Web Services account. // // 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 @@ -1412,8 +1762,8 @@ func (c *CloudHSMV2) RestoreBackupRequest(input *RestoreBackupInput) (req *reque // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -1490,7 +1840,10 @@ func (c *CloudHSMV2) TagResourceRequest(input *TagResourceInput) (req *request.R // TagResource API operation for AWS CloudHSM V2. // -// Adds or overwrites one or more tags for the specified AWS CloudHSM cluster. +// Adds or overwrites one or more tags for the specified CloudHSM cluster. +// +// Cross-account use: No. You cannot perform this operation on an CloudHSM resource +// in a different Amazon Web Services account. // // 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 @@ -1506,8 +1859,8 @@ func (c *CloudHSMV2) TagResourceRequest(input *TagResourceInput) (req *request.R // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -1588,7 +1941,10 @@ func (c *CloudHSMV2) UntagResourceRequest(input *UntagResourceInput) (req *reque // UntagResource API operation for AWS CloudHSM V2. // -// Removes the specified tag or tags from the specified AWS CloudHSM cluster. +// Removes the specified tag or tags from the specified CloudHSM cluster. +// +// Cross-account use: No. You cannot perform this operation on an CloudHSM resource +// in a different Amazon Web Services account. // // 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 @@ -1604,8 +1960,8 @@ func (c *CloudHSMV2) UntagResourceRequest(input *UntagResourceInput) (req *reque // perform the requested operation. // // - CloudHsmInternalFailureException -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. // // - CloudHsmInvalidRequestException // The request was rejected because it is not a valid request. @@ -1642,15 +1998,17 @@ func (c *CloudHSMV2) UntagResourceWithContext(ctx aws.Context, input *UntagResou return out, req.Send() } -// Contains information about a backup of an AWS CloudHSM cluster. All backup -// objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp -// parameters. Backups that were copied into a destination region additionally -// contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion -// parameters. A backup that is pending deletion will include the DeleteTimestamp -// parameter. +// Contains information about a backup of an CloudHSM cluster. All backup objects +// contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. +// Backups that were copied into a destination region additionally contain the +// CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. +// A backup that is pending deletion will include the DeleteTimestamp parameter. type Backup struct { _ struct{} `type:"structure"` + // The Amazon Resource Name (ARN) of the backup. + BackupArn *string `type:"string"` + // The identifier (ID) of the backup. // // BackupId is a required field @@ -1671,7 +2029,7 @@ type Backup struct { // The date and time when the backup will be permanently deleted. DeleteTimestamp *time.Time `type:"timestamp"` - // The HSM type of the cluster that was backed up. + // The HSM type used to create the backup. HsmType *string `type:"string"` // The mode of the cluster that was backed up. @@ -1715,6 +2073,12 @@ func (s Backup) GoString() string { return s.String() } +// SetBackupArn sets the BackupArn field's value. +func (s *Backup) SetBackupArn(v string) *Backup { + s.BackupArn = &v + return s +} + // SetBackupId sets the BackupId field's value. func (s *Backup) SetBackupId(v string) *Backup { s.BackupId = &v @@ -1852,7 +2216,7 @@ func (s *BackupRetentionPolicy) SetValue(v string) *BackupRetentionPolicy { type Certificates struct { _ struct{} `type:"structure"` - // The HSM hardware certificate issued (signed) by AWS CloudHSM. + // The HSM hardware certificate issued (signed) by CloudHSM. AwsHardwareCertificate *string `type:"string"` // The cluster certificate issued (signed) by the issuing certificate authority @@ -1983,8 +2347,8 @@ func (s *CloudHsmAccessDeniedException) RequestID() string { return s.RespMetadata.RequestID } -// The request was rejected because of an AWS CloudHSM internal failure. The -// request can be retried. +// The request was rejected because of an CloudHSM internal failure. The request +// can be retried. type CloudHsmInternalFailureException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` @@ -2305,7 +2669,7 @@ func (s *CloudHsmTagException) RequestID() string { return s.RespMetadata.RequestID } -// Contains information about an AWS CloudHSM cluster. +// Contains information about an CloudHSM cluster. type Cluster struct { _ struct{} `type:"structure"` @@ -2613,9 +2977,10 @@ type CreateClusterInput struct { // The mode to use in the cluster. The allowed values are FIPS and NON_FIPS. Mode *string `type:"string" enum:"ClusterMode"` - // The identifier (ID) of the cluster backup to restore. Use this value to restore - // the cluster from a backup instead of creating a new cluster. To find the - // backup ID, use DescribeBackups. + // The identifier (ID) or the Amazon Resource Name (ARN) of the cluster backup + // to restore. Use this value to restore the cluster from a backup instead of + // creating a new cluster. To find the backup ID or ARN, use DescribeBackups. + // If using a backup in another account, the full ARN must be supplied. SourceBackupId *string `type:"string"` // The identifiers (IDs) of the subnets where you are creating the cluster. @@ -3121,6 +3486,78 @@ func (s *DeleteHsmOutput) SetHsmId(v string) *DeleteHsmOutput { return s } +type DeleteResourcePolicyInput struct { + _ struct{} `type:"structure"` + + // Amazon Resource Name (ARN) of the resource from which the policy will be + // removed. + ResourceArn *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteResourcePolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteResourcePolicyInput) GoString() string { + return s.String() +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *DeleteResourcePolicyInput) SetResourceArn(v string) *DeleteResourcePolicyInput { + s.ResourceArn = &v + return s +} + +type DeleteResourcePolicyOutput struct { + _ struct{} `type:"structure"` + + // The policy previously attached to the resource. + Policy *string `min:"1" type:"string"` + + // Amazon Resource Name (ARN) of the resource from which the policy was deleted. + ResourceArn *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteResourcePolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s DeleteResourcePolicyOutput) GoString() string { + return s.String() +} + +// SetPolicy sets the Policy field's value. +func (s *DeleteResourcePolicyOutput) SetPolicy(v string) *DeleteResourcePolicyOutput { + s.Policy = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *DeleteResourcePolicyOutput) SetResourceArn(v string) *DeleteResourcePolicyOutput { + s.ResourceArn = &v + return s +} + type DescribeBackupsInput struct { _ struct{} `type:"structure"` @@ -3152,6 +3589,18 @@ type DescribeBackupsInput struct { // value to get more backups. NextToken *string `type:"string"` + // Describe backups that are shared with you. + // + // By default when using this option, the command returns backups that have + // been shared using a standard Resource Access Manager resource share. In order + // for a backup that was shared using the PutResourcePolicy command to be returned, + // the share must be promoted to a standard resource share using the RAM PromoteResourceShareCreatedFromPolicy + // (https://docs.aws.amazon.com/cli/latest/reference/ram/promote-resource-share-created-from-policy.html) + // API operation. For more information about sharing backups, see Working with + // shared backups (https://docs.aws.amazon.com/cloudhsm/latest/userguide/sharing.html) + // in the CloudHSM User Guide. + Shared *bool `type:"boolean"` + // Designates whether or not to sort the return backups by ascending chronological // order of generation. SortAscending *bool `type:"boolean"` @@ -3206,6 +3655,12 @@ func (s *DescribeBackupsInput) SetNextToken(v string) *DescribeBackupsInput { return s } +// SetShared sets the Shared field's value. +func (s *DescribeBackupsInput) SetShared(v bool) *DescribeBackupsInput { + s.Shared = &v + return s +} + // SetSortAscending sets the SortAscending field's value. func (s *DescribeBackupsInput) SetSortAscending(v bool) *DescribeBackupsInput { s.SortAscending = &v @@ -3431,7 +3886,69 @@ func (s *DestinationBackup) SetSourceRegion(v string) *DestinationBackup { return s } -// Contains information about a hardware security module (HSM) in an AWS CloudHSM +type GetResourcePolicyInput struct { + _ struct{} `type:"structure"` + + // Amazon Resource Name (ARN) of the resource to which a policy is attached. + ResourceArn *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetResourcePolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetResourcePolicyInput) GoString() string { + return s.String() +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *GetResourcePolicyInput) SetResourceArn(v string) *GetResourcePolicyInput { + s.ResourceArn = &v + return s +} + +type GetResourcePolicyOutput struct { + _ struct{} `type:"structure"` + + // The policy attached to a resource. + Policy *string `min:"1" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetResourcePolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s GetResourcePolicyOutput) GoString() string { + return s.String() +} + +// SetPolicy sets the Policy field's value. +func (s *GetResourcePolicyOutput) SetPolicy(v string) *GetResourcePolicyOutput { + s.Policy = &v + return s +} + +// Contains information about a hardware security module (HSM) in an CloudHSM // cluster. type Hsm struct { _ struct{} `type:"structure"` @@ -3829,12 +4346,11 @@ func (s *ModifyBackupAttributesInput) SetNeverExpires(v bool) *ModifyBackupAttri type ModifyBackupAttributesOutput struct { _ struct{} `type:"structure"` - // Contains information about a backup of an AWS CloudHSM cluster. All backup - // objects contain the BackupId, BackupState, ClusterId, and CreateTimestamp - // parameters. Backups that were copied into a destination region additionally - // contain the CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion - // parameters. A backup that is pending deletion will include the DeleteTimestamp - // parameter. + // Contains information about a backup of an CloudHSM cluster. All backup objects + // contain the BackupId, BackupState, ClusterId, and CreateTimestamp parameters. + // Backups that were copied into a destination region additionally contain the + // CopyTimestamp, SourceBackup, SourceCluster, and SourceRegion parameters. + // A backup that is pending deletion will include the DeleteTimestamp parameter. Backup *Backup `type:"structure"` } @@ -3931,7 +4447,7 @@ func (s *ModifyClusterInput) SetClusterId(v string) *ModifyClusterInput { type ModifyClusterOutput struct { _ struct{} `type:"structure"` - // Contains information about an AWS CloudHSM cluster. + // Contains information about an CloudHSM cluster. Cluster *Cluster `type:"structure"` } @@ -3959,6 +4475,103 @@ func (s *ModifyClusterOutput) SetCluster(v *Cluster) *ModifyClusterOutput { return s } +type PutResourcePolicyInput struct { + _ struct{} `type:"structure"` + + // The policy you want to associate with a resource. + // + // For an example policy, see Working with shared backups (https://docs.aws.amazon.com/cloudhsm/latest/userguide/sharing.html) + // in the CloudHSM User Guide + Policy *string `min:"1" type:"string"` + + // Amazon Resource Name (ARN) of the resource to which you want to attach a + // policy. + ResourceArn *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutResourcePolicyInput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutResourcePolicyInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *PutResourcePolicyInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "PutResourcePolicyInput"} + if s.Policy != nil && len(*s.Policy) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Policy", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetPolicy sets the Policy field's value. +func (s *PutResourcePolicyInput) SetPolicy(v string) *PutResourcePolicyInput { + s.Policy = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *PutResourcePolicyInput) SetResourceArn(v string) *PutResourcePolicyInput { + s.ResourceArn = &v + return s +} + +type PutResourcePolicyOutput struct { + _ struct{} `type:"structure"` + + // The policy attached to a resource. + Policy *string `min:"1" type:"string"` + + // Amazon Resource Name (ARN) of the resource to which a policy is attached. + ResourceArn *string `type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutResourcePolicyOutput) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s PutResourcePolicyOutput) GoString() string { + return s.String() +} + +// SetPolicy sets the Policy field's value. +func (s *PutResourcePolicyOutput) SetPolicy(v string) *PutResourcePolicyOutput { + s.Policy = &v + return s +} + +// SetResourceArn sets the ResourceArn field's value. +func (s *PutResourcePolicyOutput) SetResourceArn(v string) *PutResourcePolicyOutput { + s.ResourceArn = &v + return s +} + type RestoreBackupInput struct { _ struct{} `type:"structure"` diff --git a/service/cloudhsmv2/cloudhsmv2iface/interface.go b/service/cloudhsmv2/cloudhsmv2iface/interface.go index cfe64bbae88..61b1a44d863 100644 --- a/service/cloudhsmv2/cloudhsmv2iface/interface.go +++ b/service/cloudhsmv2/cloudhsmv2iface/interface.go @@ -84,6 +84,10 @@ type CloudHSMV2API interface { DeleteHsmWithContext(aws.Context, *cloudhsmv2.DeleteHsmInput, ...request.Option) (*cloudhsmv2.DeleteHsmOutput, error) DeleteHsmRequest(*cloudhsmv2.DeleteHsmInput) (*request.Request, *cloudhsmv2.DeleteHsmOutput) + DeleteResourcePolicy(*cloudhsmv2.DeleteResourcePolicyInput) (*cloudhsmv2.DeleteResourcePolicyOutput, error) + DeleteResourcePolicyWithContext(aws.Context, *cloudhsmv2.DeleteResourcePolicyInput, ...request.Option) (*cloudhsmv2.DeleteResourcePolicyOutput, error) + DeleteResourcePolicyRequest(*cloudhsmv2.DeleteResourcePolicyInput) (*request.Request, *cloudhsmv2.DeleteResourcePolicyOutput) + DescribeBackups(*cloudhsmv2.DescribeBackupsInput) (*cloudhsmv2.DescribeBackupsOutput, error) DescribeBackupsWithContext(aws.Context, *cloudhsmv2.DescribeBackupsInput, ...request.Option) (*cloudhsmv2.DescribeBackupsOutput, error) DescribeBackupsRequest(*cloudhsmv2.DescribeBackupsInput) (*request.Request, *cloudhsmv2.DescribeBackupsOutput) @@ -98,6 +102,10 @@ type CloudHSMV2API interface { DescribeClustersPages(*cloudhsmv2.DescribeClustersInput, func(*cloudhsmv2.DescribeClustersOutput, bool) bool) error DescribeClustersPagesWithContext(aws.Context, *cloudhsmv2.DescribeClustersInput, func(*cloudhsmv2.DescribeClustersOutput, bool) bool, ...request.Option) error + GetResourcePolicy(*cloudhsmv2.GetResourcePolicyInput) (*cloudhsmv2.GetResourcePolicyOutput, error) + GetResourcePolicyWithContext(aws.Context, *cloudhsmv2.GetResourcePolicyInput, ...request.Option) (*cloudhsmv2.GetResourcePolicyOutput, error) + GetResourcePolicyRequest(*cloudhsmv2.GetResourcePolicyInput) (*request.Request, *cloudhsmv2.GetResourcePolicyOutput) + InitializeCluster(*cloudhsmv2.InitializeClusterInput) (*cloudhsmv2.InitializeClusterOutput, error) InitializeClusterWithContext(aws.Context, *cloudhsmv2.InitializeClusterInput, ...request.Option) (*cloudhsmv2.InitializeClusterOutput, error) InitializeClusterRequest(*cloudhsmv2.InitializeClusterInput) (*request.Request, *cloudhsmv2.InitializeClusterOutput) @@ -117,6 +125,10 @@ type CloudHSMV2API interface { ModifyClusterWithContext(aws.Context, *cloudhsmv2.ModifyClusterInput, ...request.Option) (*cloudhsmv2.ModifyClusterOutput, error) ModifyClusterRequest(*cloudhsmv2.ModifyClusterInput) (*request.Request, *cloudhsmv2.ModifyClusterOutput) + PutResourcePolicy(*cloudhsmv2.PutResourcePolicyInput) (*cloudhsmv2.PutResourcePolicyOutput, error) + PutResourcePolicyWithContext(aws.Context, *cloudhsmv2.PutResourcePolicyInput, ...request.Option) (*cloudhsmv2.PutResourcePolicyOutput, error) + PutResourcePolicyRequest(*cloudhsmv2.PutResourcePolicyInput) (*request.Request, *cloudhsmv2.PutResourcePolicyOutput) + RestoreBackup(*cloudhsmv2.RestoreBackupInput) (*cloudhsmv2.RestoreBackupOutput, error) RestoreBackupWithContext(aws.Context, *cloudhsmv2.RestoreBackupInput, ...request.Option) (*cloudhsmv2.RestoreBackupOutput, error) RestoreBackupRequest(*cloudhsmv2.RestoreBackupInput) (*request.Request, *cloudhsmv2.RestoreBackupOutput) diff --git a/service/cloudhsmv2/doc.go b/service/cloudhsmv2/doc.go index 36fac4c0cce..6fa5251c977 100644 --- a/service/cloudhsmv2/doc.go +++ b/service/cloudhsmv2/doc.go @@ -3,8 +3,8 @@ // Package cloudhsmv2 provides the client and types for making API // requests to AWS CloudHSM V2. // -// For more information about AWS CloudHSM, see AWS CloudHSM (http://aws.amazon.com/cloudhsm/) -// and the AWS CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/). +// For more information about CloudHSM, see CloudHSM (http://aws.amazon.com/cloudhsm/) +// and the CloudHSM User Guide (https://docs.aws.amazon.com/cloudhsm/latest/userguide/). // // See https://docs.aws.amazon.com/goto/WebAPI/cloudhsmv2-2017-04-28 for more information on this service. // diff --git a/service/cloudhsmv2/errors.go b/service/cloudhsmv2/errors.go index 9f72ea42eaf..af96bddaaac 100644 --- a/service/cloudhsmv2/errors.go +++ b/service/cloudhsmv2/errors.go @@ -18,8 +18,8 @@ const ( // ErrCodeCloudHsmInternalFailureException for service response error code // "CloudHsmInternalFailureException". // - // The request was rejected because of an AWS CloudHSM internal failure. The - // request can be retried. + // The request was rejected because of an CloudHSM internal failure. The request + // can be retried. ErrCodeCloudHsmInternalFailureException = "CloudHsmInternalFailureException" // ErrCodeCloudHsmInvalidRequestException for service response error code diff --git a/service/connect/api.go b/service/connect/api.go index de43b961d12..f2a6d347343 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -11751,6 +11751,27 @@ func (c *Connect) ImportPhoneNumberRequest(input *ImportPhoneNumberInput) (req * // into an Amazon Connect instance. You can call this API only in the same Amazon // Web Services Region where the Amazon Connect instance was created. // +// Call the DescribePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html) +// API to verify the status of a previous ImportPhoneNumber operation. +// +// If you plan to claim or import numbers and then release numbers frequently, +// contact us for a service quota exception. Otherwise, it is possible you will +// be blocked from claiming and releasing any more numbers until up to 180 days +// past the oldest number released has expired. +// +// By default you can claim or import and then release up to 200% of your maximum +// number of active phone numbers. If you claim or import and then release phone +// numbers using the UI or API during a rolling 180 day cycle that exceeds 200% +// of your phone number service level quota, you will be blocked from claiming +// or importing any more numbers until 180 days past the oldest number released +// has expired. +// +// For example, if you already have 99 claimed or imported numbers and a service +// level quota of 99 phone numbers, and in any 180 day period you release 99, +// claim 99, and then release 99, you will have exceeded the 200% limit. At +// that point you are blocked from claiming any more numbers until you open +// an Amazon Web Services Support ticket. +// // 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. @@ -21360,8 +21381,12 @@ func (c *Connect) StartChatContactRequest(input *StartChatContactInput) (req *re // account may not support the ability to configure custom chat durations. For // more information, contact Amazon Web Services Support. // -// For more information about chat, see Chat (https://docs.aws.amazon.com/connect/latest/adminguide/chat.html) -// in the Amazon Connect Administrator Guide. +// For more information about chat, see the following topics in the Amazon Connect +// Administrator Guide: +// +// - Concepts: Web and mobile messaging capabilities in Amazon Connect (https://docs.aws.amazon.com/connect/latest/adminguide/web-and-mobile-chat.html) +// +// - Amazon Connect Chat security best practices (https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat) // // 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 @@ -21666,6 +21691,13 @@ func (c *Connect) StartContactStreamingRequest(input *StartContactStreamingInput // streaming (https://docs.aws.amazon.com/connect/latest/adminguide/chat-message-streaming.html) // in the Amazon Connect Administrator Guide. // +// For more information about chat, see the following topics in the Amazon Connect +// Administrator Guide: +// +// - Concepts: Web and mobile messaging capabilities in Amazon Connect (https://docs.aws.amazon.com/connect/latest/adminguide/web-and-mobile-chat.html) +// +// - Amazon Connect Chat security best practices (https://docs.aws.amazon.com/connect/latest/adminguide/security-best-practices.html#bp-security-chat) +// // 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. @@ -28340,6 +28372,40 @@ func (s *AgentStatusSummary) SetType(v string) *AgentStatusSummary { return s } +// Can be used to define a list of preferred agents to target the contact within +// the queue. Note that agents must have the queue in their routing profile +// in order to be offered the contact. +type AgentsCriteria struct { + _ struct{} `type:"structure"` + + // An object to specify a list of agents, by Agent ID. + AgentIds []*string `type:"list"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AgentsCriteria) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s AgentsCriteria) GoString() string { + return s.String() +} + +// SetAgentIds sets the AgentIds field's value. +func (s *AgentsCriteria) SetAgentIds(v []*string) *AgentsCriteria { + s.AgentIds = v + return s +} + // Information about the capabilities enabled for participants of the contact. type AllowedCapabilities struct { _ struct{} `type:"structure"` @@ -30444,6 +30510,9 @@ type AttributeCondition struct { // The operator of the condition. ComparisonOperator *string `min:"1" type:"string"` + // An object to define AgentsCriteria. + MatchCriteria *MatchCriteria `type:"structure"` + // The name of predefined attribute. Name *string `min:"1" type:"string"` @@ -30478,6 +30547,12 @@ func (s *AttributeCondition) SetComparisonOperator(v string) *AttributeCondition return s } +// SetMatchCriteria sets the MatchCriteria field's value. +func (s *AttributeCondition) SetMatchCriteria(v *MatchCriteria) *AttributeCondition { + s.MatchCriteria = v + return s +} + // SetName sets the Name field's value. func (s *AttributeCondition) SetName(v string) *AttributeCondition { s.Name = &v @@ -47233,7 +47308,7 @@ type FieldValueUnion struct { // A Boolean number value type. BooleanValue *bool `type:"boolean"` - // a Double number value type. + // A Double number value type. DoubleValue *float64 `type:"double"` // An empty value. @@ -49391,45 +49466,6 @@ type GetMetricDataV2Input struct { // // UI name: Cases created (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html##cases-created-historical) // - // CONTACTS_ABANDONED - // - // Unit: Count - // - // Metric filter: - // - // * Valid values: API| Incoming | Outbound | Transfer | Callback | Queue_Transfer| - // Disconnect - // - // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent - // Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, - // Q in Connect - // - // UI name: Contact abandoned (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-historical) - // - // CONTACTS_ABANDONED_IN_X - // - // Unit: Count - // - // Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, - // Q in Connect - // - // Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), - // in seconds. For Comparison, you must enter LT (for "Less than"). - // - // UI name: Contacts abandoned in X seconds (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-x-historical) - // - // CONTACTS_ANSWERED_IN_X - // - // Unit: Count - // - // Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, - // Q in Connect - // - // Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), - // in seconds. For Comparison, you must enter LT (for "Less than"). - // - // UI name: Contacts answered in X seconds (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-answered-x-historical) - // // CONTACTS_CREATED // // Unit: Count @@ -49539,6 +49575,17 @@ type GetMetricDataV2Input struct { // // UI name: Contacts queued (enqueue timestamp) (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-queued-by-enqueue-historical) // + // CONTACTS_REMOVED_FROM_QUEUE_IN_X + // + // Unit: Count + // + // Valid groupings and filters: Queue, Channel, Routing Profile, Q in Connect + // + // Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), + // in seconds. For Comparison, you must enter LT (for "Less than"). + // + // UI name: This metric is not available in Amazon Connect admin website. + // // CONTACTS_RESOLVED_IN_X // // Unit: Count @@ -49658,7 +49705,8 @@ type GetMetricDataV2Input struct { // // Valid groupings and filters: Queue, RoutingStepExpression // - // UI name: Not available + // UI name: This metric is available in Real-time Metrics UI but not on the + // Historical Metrics UI. // // PERCENT_CONTACTS_STEP_JOINED // @@ -49666,7 +49714,8 @@ type GetMetricDataV2Input struct { // // Valid groupings and filters: Queue, RoutingStepExpression // - // UI name: Not available + // UI name: This metric is available in Real-time Metrics UI but not on the + // Historical Metrics UI. // // PERCENT_FLOWS_OUTCOME // @@ -49749,7 +49798,7 @@ type GetMetricDataV2Input struct { // // Valid groupings and filters: CASE_TEMPLATE_ARN, CASE_STATUS // - // UI name: Cases resolved (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-resolved-historicall) + // UI name: Cases resolved (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#cases-resolved-historical) // // SERVICE_LEVEL // @@ -49770,7 +49819,8 @@ type GetMetricDataV2Input struct { // // Valid groupings and filters: Queue, RoutingStepExpression // - // UI name: Not available + // UI name: This metric is available in Real-time Metrics UI but not on the + // Historical Metrics UI. // // SUM_AFTER_CONTACT_WORK_TIME // @@ -49796,6 +49846,45 @@ type GetMetricDataV2Input struct { // // The Negate key in Metric Level Filters is not applicable for this metric. // + // SUM_CONTACTS_ABANDONED + // + // Unit: Count + // + // Metric filter: + // + // * Valid values: API| Incoming | Outbound | Transfer | Callback | Queue_Transfer| + // Disconnect + // + // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent + // Hierarchy, contact/segmentAttributes/connect:Subtype, RoutingStepExpression, + // Q in Connect + // + // UI name: Contact abandoned (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-historical) + // + // SUM_CONTACTS_ABANDONED_IN_X + // + // Unit: Count + // + // Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, + // Q in Connect + // + // Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), + // in seconds. For Comparison, you must enter LT (for "Less than"). + // + // UI name: Contacts abandoned in X seconds (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-abandoned-x-historical) + // + // SUM_CONTACTS_ANSWERED_IN_X + // + // Unit: Count + // + // Valid groupings and filters: Queue, Channel, Routing Profile, contact/segmentAttributes/connect:Subtype, + // Q in Connect + // + // Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), + // in seconds. For Comparison, you must enter LT (for "Less than"). + // + // UI name: Contacts answered in X seconds (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#contacts-answered-x-historical) + // // SUM_CONTACT_FLOW_TIME // // Unit: Seconds @@ -49809,8 +49898,7 @@ type GetMetricDataV2Input struct { // // Unit: Seconds // - // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent - // Hierarchy + // Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy // // UI name: Agent on contact time (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#agent-on-contact-time-historical) // @@ -49829,8 +49917,7 @@ type GetMetricDataV2Input struct { // // Unit: Seconds // - // Valid groupings and filters: Queue, Channel, Routing Profile, Agent, Agent - // Hierarchy + // Valid groupings and filters: Routing Profile, Agent, Agent Hierarchy // // UI name: Error status time (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html#error-status-time-historical) // @@ -59077,6 +59164,38 @@ func (s *ListViewsOutput) SetViewsSummaryList(v []*ViewSummary) *ListViewsOutput return s } +// An object to define AgentsCriteria. +type MatchCriteria struct { + _ struct{} `type:"structure"` + + // An object to define AgentIds. + AgentsCriteria *AgentsCriteria `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MatchCriteria) String() string { + return awsutil.Prettify(s) +} + +// GoString returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s MatchCriteria) GoString() string { + return s.String() +} + +// SetAgentsCriteria sets the AgentsCriteria field's value. +func (s *MatchCriteria) SetAgentsCriteria(v *AgentsCriteria) *MatchCriteria { + s.AgentsCriteria = v + return s +} + // Maximum number (1000) of tags have been returned with current request. Consider // changing request parameters to get more tags. type MaximumResultReturnedException struct { @@ -66234,7 +66353,7 @@ type SearchCriteria struct { QueueIds []*string `type:"list"` // The search criteria based on user-defined contact attributes that have been - // configured for contact search. For more information, see Search by customer + // configured for contact search. For more information, see Search by custom // contact attributes (https://docs.aws.amazon.com/connect/latest/adminguide/search-custom-attributes.html) // in the Amazon Connect Administrator Guide. // @@ -68912,7 +69031,7 @@ func (s *SingleSelectQuestionRuleCategoryAutomation) SetOptionRefId(v string) *S return s } -// A structure that defineds the field name to sort by and a sort order. +// A structure that defines the field name to sort by and a sort order. type Sort struct { _ struct{} `type:"structure"` diff --git a/service/emr/api.go b/service/emr/api.go index 49ed74bf1e5..0a100f4419b 100644 --- a/service/emr/api.go +++ b/service/emr/api.go @@ -12071,6 +12071,11 @@ type InstanceTypeConfig struct { // InstanceType is a required field InstanceType *string `min:"1" type:"string" required:"true"` + // The priority at which Amazon EMR launches the Amazon EC2 instances with this + // instance type. Priority starts at 0, which is the highest priority. Amazon + // EMR considers the highest priority first. + Priority *float64 `type:"double"` + // The number of units that a provisioned instance of this type provides toward // fulfilling the target capacities defined in InstanceFleetConfig. This value // is 1 for a master instance fleet, and must be 1 or greater for core and task @@ -12153,6 +12158,12 @@ func (s *InstanceTypeConfig) SetInstanceType(v string) *InstanceTypeConfig { return s } +// SetPriority sets the Priority field's value. +func (s *InstanceTypeConfig) SetPriority(v float64) *InstanceTypeConfig { + s.Priority = &v + return s +} + // SetWeightedCapacity sets the WeightedCapacity field's value. func (s *InstanceTypeConfig) SetWeightedCapacity(v int64) *InstanceTypeConfig { s.WeightedCapacity = &v @@ -12193,6 +12204,11 @@ type InstanceTypeSpecification struct { // The Amazon EC2 instance type, for example m3.xlarge. InstanceType *string `min:"1" type:"string"` + // The priority at which Amazon EMR launches the Amazon EC2 instances with this + // instance type. Priority starts at 0, which is the highest priority. Amazon + // EMR considers the highest priority first. + Priority *float64 `type:"double"` + // The number of units that a provisioned instance of this type provides toward // fulfilling the target capacities defined in InstanceFleetConfig. Capacity // values represent performance characteristics such as vCPUs, memory, or I/O. @@ -12260,6 +12276,12 @@ func (s *InstanceTypeSpecification) SetInstanceType(v string) *InstanceTypeSpeci return s } +// SetPriority sets the Priority field's value. +func (s *InstanceTypeSpecification) SetPriority(v float64) *InstanceTypeSpecification { + s.Priority = &v + return s +} + // SetWeightedCapacity sets the WeightedCapacity field's value. func (s *InstanceTypeSpecification) SetWeightedCapacity(v int64) *InstanceTypeSpecification { s.WeightedCapacity = &v @@ -15457,9 +15479,11 @@ func (s *OnDemandCapacityReservationOptions) SetUsageStrategy(v string) *OnDeman type OnDemandProvisioningSpecification struct { _ struct{} `type:"structure"` - // Specifies the strategy to use in launching On-Demand instance fleets. Currently, - // the only option is lowest-price (the default), which launches the lowest - // price first. + // Specifies the strategy to use in launching On-Demand instance fleets. Available + // options are lowest-price and prioritized. lowest-price specifies to launch + // the instances with the lowest price first, and prioritized specifies that + // Amazon EMR should launch the instances with the highest priority first. The + // default is lowest-price. // // AllocationStrategy is a required field AllocationStrategy *string `type:"string" required:"true" enum:"OnDemandProvisioningAllocationStrategy"` @@ -18185,9 +18209,9 @@ type SpotProvisioningSpecification struct { _ struct{} `type:"structure"` // Specifies one of the following strategies to launch Spot Instance fleets: - // price-capacity-optimized, capacity-optimized, lowest-price, or diversified. - // For more information on the provisioning strategies, see Allocation strategies - // for Spot Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html) + // capacity-optimized, price-capacity-optimized, lowest-price, or diversified, + // and capacity-optimized-prioritized. For more information on the provisioning + // strategies, see Allocation strategies for Spot Instances (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-allocation-strategy.html) // in the Amazon EC2 User Guide for Linux Instances. // // When you launch a Spot Instance fleet with the old console, it automatically @@ -20814,12 +20838,16 @@ func OnDemandCapacityReservationUsageStrategy_Values() []string { const ( // OnDemandProvisioningAllocationStrategyLowestPrice is a OnDemandProvisioningAllocationStrategy enum value OnDemandProvisioningAllocationStrategyLowestPrice = "lowest-price" + + // OnDemandProvisioningAllocationStrategyPrioritized is a OnDemandProvisioningAllocationStrategy enum value + OnDemandProvisioningAllocationStrategyPrioritized = "prioritized" ) // OnDemandProvisioningAllocationStrategy_Values returns all elements of the OnDemandProvisioningAllocationStrategy enum func OnDemandProvisioningAllocationStrategy_Values() []string { return []string{ OnDemandProvisioningAllocationStrategyLowestPrice, + OnDemandProvisioningAllocationStrategyPrioritized, } } @@ -20919,6 +20947,9 @@ const ( // SpotProvisioningAllocationStrategyDiversified is a SpotProvisioningAllocationStrategy enum value SpotProvisioningAllocationStrategyDiversified = "diversified" + + // SpotProvisioningAllocationStrategyCapacityOptimizedPrioritized is a SpotProvisioningAllocationStrategy enum value + SpotProvisioningAllocationStrategyCapacityOptimizedPrioritized = "capacity-optimized-prioritized" ) // SpotProvisioningAllocationStrategy_Values returns all elements of the SpotProvisioningAllocationStrategy enum @@ -20928,6 +20959,7 @@ func SpotProvisioningAllocationStrategy_Values() []string { SpotProvisioningAllocationStrategyPriceCapacityOptimized, SpotProvisioningAllocationStrategyLowestPrice, SpotProvisioningAllocationStrategyDiversified, + SpotProvisioningAllocationStrategyCapacityOptimizedPrioritized, } } diff --git a/service/glue/api.go b/service/glue/api.go index ebb4bfa946a..777856bd32a 100644 --- a/service/glue/api.go +++ b/service/glue/api.go @@ -47213,6 +47213,10 @@ func (s *GetDatabaseOutput) SetDatabase(v *Database) *GetDatabaseOutput { type GetDatabasesInput struct { _ struct{} `type:"structure"` + // Specifies the database fields returned by the GetDatabases call. This parameter + // doesn’t accept an empty list. The request must include the NAME. + AttributesToGet []*string `type:"list" enum:"DatabaseAttributes"` + // The ID of the Data Catalog from which to retrieve Databases. If none is provided, // the Amazon Web Services account ID is used by default. CatalogId *string `min:"1" type:"string"` @@ -47270,6 +47274,12 @@ func (s *GetDatabasesInput) Validate() error { return nil } +// SetAttributesToGet sets the AttributesToGet field's value. +func (s *GetDatabasesInput) SetAttributesToGet(v []*string) *GetDatabasesInput { + s.AttributesToGet = v + return s +} + // SetCatalogId sets the CatalogId field's value. func (s *GetDatabasesInput) SetCatalogId(v string) *GetDatabasesInput { s.CatalogId = &v @@ -81195,6 +81205,18 @@ func DataQualityRuleResultStatus_Values() []string { } } +const ( + // DatabaseAttributesName is a DatabaseAttributes enum value + DatabaseAttributesName = "NAME" +) + +// DatabaseAttributes_Values returns all elements of the DatabaseAttributes enum +func DatabaseAttributes_Values() []string { + return []string{ + DatabaseAttributesName, + } +} + const ( // DeleteBehaviorLog is a DeleteBehavior enum value DeleteBehaviorLog = "LOG" diff --git a/service/kinesisanalyticsv2/api.go b/service/kinesisanalyticsv2/api.go index 5d4f3c8459f..15105878e75 100644 --- a/service/kinesisanalyticsv2/api.go +++ b/service/kinesisanalyticsv2/api.go @@ -6124,8 +6124,8 @@ func (s *CatalogConfigurationUpdate) SetGlueDataCatalogConfigurationUpdate(v *Gl // Describes an application's checkpointing configuration. Checkpointing is // the process of persisting application state for fault tolerance. For more -// information, see Checkpoints for Fault Tolerance (https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing) -// in the Apache Flink Documentation (https://nightlies.apache.org/flink/flink-docs-release-1.18/). +// information, see Checkpoints for Fault Tolerance (https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing) +// in the Apache Flink Documentation (https://nightlies.apache.org/flink/flink-docs-release-1.19/). type CheckpointConfiguration struct { _ struct{} `type:"structure"` @@ -6164,8 +6164,8 @@ type CheckpointConfiguration struct { // Describes the minimum time in milliseconds after a checkpoint operation completes // that a new checkpoint operation can start. If a checkpoint operation takes // longer than the CheckpointInterval, the application otherwise performs continual - // checkpoint operations. For more information, see Tuning Checkpointing (https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/ops/state/large_state_tuning/#tuning-checkpointing) - // in the Apache Flink Documentation (https://nightlies.apache.org/flink/flink-docs-release-1.18/). + // checkpoint operations. For more information, see Tuning Checkpointing (https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/state/large_state_tuning/#tuning-checkpointing) + // in the Apache Flink Documentation (https://nightlies.apache.org/flink/flink-docs-release-1.19/). // // If CheckpointConfiguration.ConfigurationType is DEFAULT, the application // will use a MinPauseBetweenCheckpoints value of 5000, even if this value is @@ -9238,8 +9238,8 @@ type FlinkApplicationConfiguration struct { // Describes an application's checkpointing configuration. Checkpointing is // the process of persisting application state for fault tolerance. For more - // information, see Checkpoints for Fault Tolerance (https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing) - // in the Apache Flink Documentation (https://nightlies.apache.org/flink/flink-docs-release-1.18/). + // information, see Checkpoints for Fault Tolerance (https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/dev/datastream/fault-tolerance/checkpointing/#enabling-and-configuring-checkpointing) + // in the Apache Flink Documentation (https://nightlies.apache.org/flink/flink-docs-release-1.19/). CheckpointConfiguration *CheckpointConfiguration `type:"structure"` // Describes configuration parameters for Amazon CloudWatch logging for an application. @@ -9320,8 +9320,8 @@ type FlinkApplicationConfigurationDescription struct { CheckpointConfigurationDescription *CheckpointConfigurationDescription `type:"structure"` // The job plan for an application. For more information about the job plan, - // see Jobs and Scheduling (https://nightlies.apache.org/flink/flink-docs-release-1.18/internals/job_scheduling.html) - // in the Apache Flink Documentation (https://nightlies.apache.org/flink/flink-docs-release-1.18/). + // see Jobs and Scheduling (https://nightlies.apache.org/flink/flink-docs-release-1.19/internals/job_scheduling.html) + // in the Apache Flink Documentation (https://nightlies.apache.org/flink/flink-docs-release-1.19/). // To retrieve the job plan for the application, use the DescribeApplicationRequest$IncludeAdditionalDetails // parameter of the DescribeApplication operation. JobPlanDescription *string `type:"string"` @@ -9458,8 +9458,8 @@ type FlinkRunConfiguration struct { // to skip a state that cannot be mapped to the new program. This will happen // if the program is updated between snapshots to remove stateful parameters, // and state data in the snapshot no longer corresponds to valid application - // data. For more information, see Allowing Non-Restored State (https://nightlies.apache.org/flink/flink-docs-release-1.18/docs/ops/state/savepoints/#allowing-non-restored-state) - // in the Apache Flink documentation (https://nightlies.apache.org/flink/flink-docs-release-1.18/). + // data. For more information, see Allowing Non-Restored State (https://nightlies.apache.org/flink/flink-docs-release-1.19/docs/ops/state/savepoints/#allowing-non-restored-state) + // in the Apache Flink documentation (https://nightlies.apache.org/flink/flink-docs-release-1.19/). // // This value defaults to false. If you update your application without specifying // this parameter, AllowNonRestoredState will be set to false, even if it was @@ -12887,8 +12887,8 @@ func (s *OutputUpdate) SetOutputId(v string) *OutputUpdate { // Describes parameters for how a Managed Service for Apache Flink application // executes multiple tasks simultaneously. For more information about parallelism, -// see Parallel Execution (https://nightlies.apache.org/flink/flink-docs-release-1.18/dev/parallel.html) -// in the Apache Flink Documentation (https://nightlies.apache.org/flink/flink-docs-release-1.18/). +// see Parallel Execution (https://nightlies.apache.org/flink/flink-docs-release-1.19/dev/parallel.html) +// in the Apache Flink Documentation (https://nightlies.apache.org/flink/flink-docs-release-1.19/). type ParallelismConfiguration struct { _ struct{} `type:"structure"` @@ -17110,6 +17110,9 @@ const ( // RuntimeEnvironmentFlink118 is a RuntimeEnvironment enum value RuntimeEnvironmentFlink118 = "FLINK-1_18" + + // RuntimeEnvironmentFlink119 is a RuntimeEnvironment enum value + RuntimeEnvironmentFlink119 = "FLINK-1_19" ) // RuntimeEnvironment_Values returns all elements of the RuntimeEnvironment enum @@ -17125,6 +17128,7 @@ func RuntimeEnvironment_Values() []string { RuntimeEnvironmentFlink115, RuntimeEnvironmentZeppelinFlink30, RuntimeEnvironmentFlink118, + RuntimeEnvironmentFlink119, } } diff --git a/service/opensearchservice/api.go b/service/opensearchservice/api.go index 1ef7db0895c..6d1f518410c 100644 --- a/service/opensearchservice/api.go +++ b/service/opensearchservice/api.go @@ -6653,114 +6653,6 @@ func (c *OpenSearchService) UpgradeDomainWithContext(ctx aws.Context, input *Upg return out, req.Send() } -// Container for parameters required to enable all machine learning features. -type AIMLOptionsInput_ struct { - _ struct{} `type:"structure"` - - // Container for parameters required for natural language query generation on - // the specified domain. - NaturalLanguageQueryGenerationOptions *NaturalLanguageQueryGenerationOptionsInput_ `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AIMLOptionsInput_) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AIMLOptionsInput_) GoString() string { - return s.String() -} - -// SetNaturalLanguageQueryGenerationOptions sets the NaturalLanguageQueryGenerationOptions field's value. -func (s *AIMLOptionsInput_) SetNaturalLanguageQueryGenerationOptions(v *NaturalLanguageQueryGenerationOptionsInput_) *AIMLOptionsInput_ { - s.NaturalLanguageQueryGenerationOptions = v - return s -} - -// Container for parameters representing the state of machine learning features -// on the specified domain. -type AIMLOptionsOutput_ struct { - _ struct{} `type:"structure"` - - // Container for parameters required for natural language query generation on - // the specified domain. - NaturalLanguageQueryGenerationOptions *NaturalLanguageQueryGenerationOptionsOutput_ `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AIMLOptionsOutput_) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AIMLOptionsOutput_) GoString() string { - return s.String() -} - -// SetNaturalLanguageQueryGenerationOptions sets the NaturalLanguageQueryGenerationOptions field's value. -func (s *AIMLOptionsOutput_) SetNaturalLanguageQueryGenerationOptions(v *NaturalLanguageQueryGenerationOptionsOutput_) *AIMLOptionsOutput_ { - s.NaturalLanguageQueryGenerationOptions = v - return s -} - -// The status of machine learning options on the specified domain. -type AIMLOptionsStatus struct { - _ struct{} `type:"structure"` - - // Machine learning options on the specified domain. - Options *AIMLOptionsOutput_ `type:"structure"` - - // Provides the current status of an entity. - Status *OptionStatus `type:"structure"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AIMLOptionsStatus) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s AIMLOptionsStatus) GoString() string { - return s.String() -} - -// SetOptions sets the Options field's value. -func (s *AIMLOptionsStatus) SetOptions(v *AIMLOptionsOutput_) *AIMLOptionsStatus { - s.Options = v - return s -} - -// SetStatus sets the Status field's value. -func (s *AIMLOptionsStatus) SetStatus(v *OptionStatus) *AIMLOptionsStatus { - s.Status = v - return s -} - // Information about an Amazon OpenSearch Service domain. type AWSDomainInformation struct { _ struct{} `type:"structure"` @@ -9512,9 +9404,6 @@ func (s *ConnectionProperties) SetEndpoint(v string) *ConnectionProperties { type CreateDomainInput struct { _ struct{} `type:"structure"` - // Options for all machine learning features for the specified domain. - AIMLOptions *AIMLOptionsInput_ `type:"structure"` - // Identity and Access Management (IAM) policy document specifying the access // policies for the new domain. AccessPolicies *string `type:"string"` @@ -9710,12 +9599,6 @@ func (s *CreateDomainInput) Validate() error { return nil } -// SetAIMLOptions sets the AIMLOptions field's value. -func (s *CreateDomainInput) SetAIMLOptions(v *AIMLOptionsInput_) *CreateDomainInput { - s.AIMLOptions = v - return s -} - // SetAccessPolicies sets the AccessPolicies field's value. func (s *CreateDomainInput) SetAccessPolicies(v string) *CreateDomainInput { s.AccessPolicies = &v @@ -12892,9 +12775,6 @@ func (s *DissociatePackageOutput) SetDomainPackageDetails(v *DomainPackageDetail type DomainConfig struct { _ struct{} `type:"structure"` - // Container for parameters required to enable all machine learning features. - AIMLOptions *AIMLOptionsStatus `type:"structure"` - // Specifies the access policies for the domain. AccessPolicies *AccessPoliciesStatus `type:"structure"` @@ -12979,12 +12859,6 @@ func (s DomainConfig) GoString() string { return s.String() } -// SetAIMLOptions sets the AIMLOptions field's value. -func (s *DomainConfig) SetAIMLOptions(v *AIMLOptionsStatus) *DomainConfig { - s.AIMLOptions = v - return s -} - // SetAccessPolicies sets the AccessPolicies field's value. func (s *DomainConfig) SetAccessPolicies(v *AccessPoliciesStatus) *DomainConfig { s.AccessPolicies = v @@ -13629,9 +13503,6 @@ func (s *DomainPackageDetails) SetReferencePath(v string) *DomainPackageDetails type DomainStatus struct { _ struct{} `type:"structure"` - // Container for parameters required to enable all machine learning features. - AIMLOptions *AIMLOptionsOutput_ `type:"structure"` - // The Amazon Resource Name (ARN) of the domain. For more information, see IAM // identifiers (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html) // in the AWS Identity and Access Management User Guide. @@ -13779,12 +13650,6 @@ func (s DomainStatus) GoString() string { return s.String() } -// SetAIMLOptions sets the AIMLOptions field's value. -func (s *DomainStatus) SetAIMLOptions(v *AIMLOptionsOutput_) *DomainStatus { - s.AIMLOptions = v - return s -} - // SetARN sets the ARN field's value. func (s *DomainStatus) SetARN(v string) *DomainStatus { s.ARN = &v @@ -17471,84 +17336,6 @@ func (s *ModifyingProperties) SetValueType(v string) *ModifyingProperties { return s } -// Container for parameters required to enable the natural language query generation -// feature. -type NaturalLanguageQueryGenerationOptionsInput_ struct { - _ struct{} `type:"structure"` - - // The desired state of the natural language query generation feature. Valid - // values are ENABLED and DISABLED. - DesiredState *string `type:"string" enum:"NaturalLanguageQueryGenerationDesiredState"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s NaturalLanguageQueryGenerationOptionsInput_) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s NaturalLanguageQueryGenerationOptionsInput_) GoString() string { - return s.String() -} - -// SetDesiredState sets the DesiredState field's value. -func (s *NaturalLanguageQueryGenerationOptionsInput_) SetDesiredState(v string) *NaturalLanguageQueryGenerationOptionsInput_ { - s.DesiredState = &v - return s -} - -// Container for parameters representing the state of the natural language query -// generation feature on the specified domain. -type NaturalLanguageQueryGenerationOptionsOutput_ struct { - _ struct{} `type:"structure"` - - // The current state of the natural language query generation feature, indicating - // completion, in progress, or failure. - CurrentState *string `type:"string" enum:"NaturalLanguageQueryGenerationCurrentState"` - - // The desired state of the natural language query generation feature. Valid - // values are ENABLED and DISABLED. - DesiredState *string `type:"string" enum:"NaturalLanguageQueryGenerationDesiredState"` -} - -// String returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s NaturalLanguageQueryGenerationOptionsOutput_) String() string { - return awsutil.Prettify(s) -} - -// GoString returns the string representation. -// -// API parameter values that are decorated as "sensitive" in the API will not -// be included in the string output. The member name will be present, but the -// value will be replaced with "sensitive". -func (s NaturalLanguageQueryGenerationOptionsOutput_) GoString() string { - return s.String() -} - -// SetCurrentState sets the CurrentState field's value. -func (s *NaturalLanguageQueryGenerationOptionsOutput_) SetCurrentState(v string) *NaturalLanguageQueryGenerationOptionsOutput_ { - s.CurrentState = &v - return s -} - -// SetDesiredState sets the DesiredState field's value. -func (s *NaturalLanguageQueryGenerationOptionsOutput_) SetDesiredState(v string) *NaturalLanguageQueryGenerationOptionsOutput_ { - s.DesiredState = &v - return s -} - // Enables or disables node-to-node encryption. For more information, see Node-to-node // encryption for Amazon OpenSearch Service (https://docs.aws.amazon.com/opensearch-service/latest/developerguide/ntn.html). type NodeToNodeEncryptionOptions struct { @@ -20458,9 +20245,6 @@ func (s *UpdateDataSourceOutput) SetMessage(v string) *UpdateDataSourceOutput { type UpdateDomainConfigInput struct { _ struct{} `type:"structure"` - // Options for all machine learning features for the specified domain. - AIMLOptions *AIMLOptionsInput_ `type:"structure"` - // Identity and Access Management (IAM) access policy as a JSON-formatted string. AccessPolicies *string `type:"string"` @@ -20635,12 +20419,6 @@ func (s *UpdateDomainConfigInput) Validate() error { return nil } -// SetAIMLOptions sets the AIMLOptions field's value. -func (s *UpdateDomainConfigInput) SetAIMLOptions(v *AIMLOptionsInput_) *UpdateDomainConfigInput { - s.AIMLOptions = v - return s -} - // SetAccessPolicies sets the AccessPolicies field's value. func (s *UpdateDomainConfigInput) SetAccessPolicies(v string) *UpdateDomainConfigInput { s.AccessPolicies = &v @@ -22670,58 +22448,6 @@ func MasterNodeStatus_Values() []string { } } -const ( - // NaturalLanguageQueryGenerationCurrentStateNotEnabled is a NaturalLanguageQueryGenerationCurrentState enum value - NaturalLanguageQueryGenerationCurrentStateNotEnabled = "NOT_ENABLED" - - // NaturalLanguageQueryGenerationCurrentStateEnableComplete is a NaturalLanguageQueryGenerationCurrentState enum value - NaturalLanguageQueryGenerationCurrentStateEnableComplete = "ENABLE_COMPLETE" - - // NaturalLanguageQueryGenerationCurrentStateEnableInProgress is a NaturalLanguageQueryGenerationCurrentState enum value - NaturalLanguageQueryGenerationCurrentStateEnableInProgress = "ENABLE_IN_PROGRESS" - - // NaturalLanguageQueryGenerationCurrentStateEnableFailed is a NaturalLanguageQueryGenerationCurrentState enum value - NaturalLanguageQueryGenerationCurrentStateEnableFailed = "ENABLE_FAILED" - - // NaturalLanguageQueryGenerationCurrentStateDisableComplete is a NaturalLanguageQueryGenerationCurrentState enum value - NaturalLanguageQueryGenerationCurrentStateDisableComplete = "DISABLE_COMPLETE" - - // NaturalLanguageQueryGenerationCurrentStateDisableInProgress is a NaturalLanguageQueryGenerationCurrentState enum value - NaturalLanguageQueryGenerationCurrentStateDisableInProgress = "DISABLE_IN_PROGRESS" - - // NaturalLanguageQueryGenerationCurrentStateDisableFailed is a NaturalLanguageQueryGenerationCurrentState enum value - NaturalLanguageQueryGenerationCurrentStateDisableFailed = "DISABLE_FAILED" -) - -// NaturalLanguageQueryGenerationCurrentState_Values returns all elements of the NaturalLanguageQueryGenerationCurrentState enum -func NaturalLanguageQueryGenerationCurrentState_Values() []string { - return []string{ - NaturalLanguageQueryGenerationCurrentStateNotEnabled, - NaturalLanguageQueryGenerationCurrentStateEnableComplete, - NaturalLanguageQueryGenerationCurrentStateEnableInProgress, - NaturalLanguageQueryGenerationCurrentStateEnableFailed, - NaturalLanguageQueryGenerationCurrentStateDisableComplete, - NaturalLanguageQueryGenerationCurrentStateDisableInProgress, - NaturalLanguageQueryGenerationCurrentStateDisableFailed, - } -} - -const ( - // NaturalLanguageQueryGenerationDesiredStateEnabled is a NaturalLanguageQueryGenerationDesiredState enum value - NaturalLanguageQueryGenerationDesiredStateEnabled = "ENABLED" - - // NaturalLanguageQueryGenerationDesiredStateDisabled is a NaturalLanguageQueryGenerationDesiredState enum value - NaturalLanguageQueryGenerationDesiredStateDisabled = "DISABLED" -) - -// NaturalLanguageQueryGenerationDesiredState_Values returns all elements of the NaturalLanguageQueryGenerationDesiredState enum -func NaturalLanguageQueryGenerationDesiredState_Values() []string { - return []string{ - NaturalLanguageQueryGenerationDesiredStateEnabled, - NaturalLanguageQueryGenerationDesiredStateDisabled, - } -} - const ( // NodeStatusActive is a NodeStatus enum value NodeStatusActive = "Active" diff --git a/service/pi/api.go b/service/pi/api.go index d419195fc20..9d79fdd5ac1 100644 --- a/service/pi/api.go +++ b/service/pi/api.go @@ -1962,6 +1962,8 @@ type DescribeDimensionKeysInput struct { // or Partition parameters. // // * A single filter for any other dimension in this dimension group. + // + // The db.sql.db_id filter isn't available for RDS for SQL Server DB instances. Filter map[string]*string `type:"map"` // A specification for how to aggregate the data points from a query result. @@ -4314,6 +4316,8 @@ type MetricQuery struct { // parameter. // // * A single filter for any other dimension in this dimension group. + // + // The db.sql.db_id filter isn't available for RDS for SQL Server DB instances. Filter map[string]*string `type:"map"` // A specification for how to aggregate the data points from a query result. diff --git a/service/workspaces/api.go b/service/workspaces/api.go index 5ebb2955da7..887577d5bca 100644 --- a/service/workspaces/api.go +++ b/service/workspaces/api.go @@ -4690,8 +4690,7 @@ func (c *WorkSpaces) DescribeWorkspacesPoolSessionsRequest(input *DescribeWorksp // DescribeWorkspacesPoolSessions API operation for Amazon WorkSpaces. // -// Retrieves a list that describes the streaming sessions for a specified WorkSpaces -// pool. +// Retrieves a list that describes the streaming sessions for a specified pool. // // 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 @@ -4776,7 +4775,7 @@ func (c *WorkSpaces) DescribeWorkspacesPoolsRequest(input *DescribeWorkspacesPoo // DescribeWorkspacesPools API operation for Amazon WorkSpaces. // -// Describes the specified WorkSpaces pool. +// Describes the specified WorkSpaces Pools. // // 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 @@ -7335,10 +7334,10 @@ func (c *WorkSpaces) StartWorkspacesPoolRequest(input *StartWorkspacesPoolInput) // StartWorkspacesPool API operation for Amazon WorkSpaces. // -// Starts the specified WorkSpaces pool. +// Starts the specified pool. // -// You cannot start a WorkSpace pool unless it has a running mode of AutoStop -// and a state of STOPPED. +// You cannot start a pool unless it has a running mode of AutoStop and a state +// of STOPPED. // // 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 @@ -7513,7 +7512,7 @@ func (c *WorkSpaces) StopWorkspacesPoolRequest(input *StopWorkspacesPoolInput) ( // StopWorkspacesPool API operation for Amazon WorkSpaces. // -// Stops the specifiedWorkSpaces pool. +// Stops the specified pool. // // You cannot stop a WorkSpace pool unless it has a running mode of AutoStop // and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or ERROR. @@ -7707,7 +7706,7 @@ func (c *WorkSpaces) TerminateWorkspacesPoolRequest(input *TerminateWorkspacesPo // TerminateWorkspacesPool API operation for Amazon WorkSpaces. // -// Terminates the specified WorkSpaces pool. +// Terminates the specified pool. // // 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 @@ -7800,7 +7799,7 @@ func (c *WorkSpaces) TerminateWorkspacesPoolSessionRequest(input *TerminateWorks // TerminateWorkspacesPoolSession API operation for Amazon WorkSpaces. // -// Terminates the WorkSpaces pool session. +// Terminates the pool session. // // 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 @@ -8397,7 +8396,7 @@ func (c *WorkSpaces) UpdateWorkspacesPoolRequest(input *UpdateWorkspacesPoolInpu // UpdateWorkspacesPool API operation for Amazon WorkSpaces. // -// Updates the specified WorkSpaces pool. +// Updates the specified pool. // // 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 @@ -8953,7 +8952,7 @@ func (s *ApplicationResourceAssociation) SetStateReason(v *AssociationStateReaso return s } -// The persistent application settings for users of a WorkSpaces pool. +// The persistent application settings for WorkSpaces Pools users. type ApplicationSettingsRequest struct { _ struct{} `type:"structure"` @@ -9013,7 +9012,7 @@ func (s *ApplicationSettingsRequest) SetStatus(v string) *ApplicationSettingsReq return s } -// Describes the persistent application settings for users of a WorkSpaces pool. +// Describes the persistent application settings for WorkSpaces Pools users. type ApplicationSettingsResponse struct { _ struct{} `type:"structure"` @@ -9556,7 +9555,7 @@ func (s *BundleResourceAssociation) SetStateReason(v *AssociationStateReason) *B return s } -// Describes the user capacity for a WorkSpaces pool. +// Describes the user capacity for a pool of WorkSpaces. type Capacity struct { _ struct{} `type:"structure"` @@ -9604,7 +9603,7 @@ func (s *Capacity) SetDesiredUserSessions(v int64) *Capacity { return s } -// Describes the capacity status for a WorkSpaces pool +// Describes the capacity status for a pool of WorkSpaces. type CapacityStatus struct { _ struct{} `type:"structure"` @@ -9614,7 +9613,7 @@ type CapacityStatus struct { // ActiveUserSessions is a required field ActiveUserSessions *int64 `type:"integer" required:"true"` - // The total number of session slots that are available for WorkSpaces pools. + // The total number of session slots that are available for a pool of WorkSpaces. // // ActualUserSessions is a required field ActualUserSessions *int64 `type:"integer" required:"true"` @@ -11627,38 +11626,38 @@ func (s *CreateWorkspacesOutput) SetPendingRequests(v []*Workspace) *CreateWorks type CreateWorkspacesPoolInput struct { _ struct{} `type:"structure"` - // Indicates the application settings of the WorkSpaces pool. + // Indicates the application settings of the pool. ApplicationSettings *ApplicationSettingsRequest `type:"structure"` - // The identifier of the bundle for the WorkSpaces pool. + // The identifier of the bundle for the pool. // // BundleId is a required field BundleId *string `type:"string" required:"true"` - // The user capacity of the WorkSpaces pool. + // The user capacity of the pool. // // Capacity is a required field Capacity *Capacity `type:"structure" required:"true"` - // The WorkSpaces pool description. + // The pool description. // // Description is a required field Description *string `min:"1" type:"string" required:"true"` - // The identifier of the directory for the WorkSpaces pool. + // The identifier of the directory for the pool. // // DirectoryId is a required field DirectoryId *string `min:"10" type:"string" required:"true"` - // The name of the WorkSpaces pool. + // The name of the pool. // // PoolName is a required field PoolName *string `type:"string" required:"true"` - // The tags for the WorkSpaces pool. + // The tags for the pool. Tags []*Tag `type:"list"` - // Indicates the timeout settings of the WorkSpaces pool. + // Indicates the timeout settings of the pool. TimeoutSettings *TimeoutSettings `type:"structure"` } @@ -11787,7 +11786,7 @@ func (s *CreateWorkspacesPoolInput) SetTimeoutSettings(v *TimeoutSettings) *Crea type CreateWorkspacesPoolOutput struct { _ struct{} `type:"structure"` - // Indicates the WorkSpaces pool to create. + // Indicates the pool to create. WorkspacesPool *WorkspacesPool `type:"structure"` } @@ -15234,7 +15233,7 @@ type DescribeWorkspacesPoolSessionsInput struct { // this token to receive the next set of results. NextToken *string `min:"1" type:"string"` - // The identifier of the WorkSpaces pool. + // The identifier of the pool. // // PoolId is a required field PoolId *string `type:"string" required:"true"` @@ -15314,7 +15313,7 @@ type DescribeWorkspacesPoolSessionsOutput struct { // this token to receive the next set of results. NextToken *string `min:"1" type:"string"` - // Describes the WorkSpaces pool sessions. + // Describes the pool sessions. Sessions []*WorkspacesPoolSession `type:"list"` } @@ -15348,7 +15347,7 @@ func (s *DescribeWorkspacesPoolSessionsOutput) SetSessions(v []*WorkspacesPoolSe return s } -// Describes the filter conditions for the WorkSpaces pool to return. +// Describes the filter conditions for WorkSpaces Pools to return. type DescribeWorkspacesPoolsFilter struct { _ struct{} `type:"structure"` @@ -15357,12 +15356,12 @@ type DescribeWorkspacesPoolsFilter struct { // Name is a required field Name *string `type:"string" required:"true" enum:"DescribeWorkspacesPoolsFilterName"` - // The operator values for filtering WorkSpaces pools. + // The operator values for filtering WorkSpaces Pools. // // Operator is a required field Operator *string `type:"string" required:"true" enum:"DescribeWorkspacesPoolsFilterOperator"` - // The values for filtering WorkSpaces pools. + // The values for filtering WorkSpaces Pools. // // Values is a required field Values []*string `min:"1" type:"list" required:"true"` @@ -15429,7 +15428,7 @@ func (s *DescribeWorkspacesPoolsFilter) SetValues(v []*string) *DescribeWorkspac type DescribeWorkspacesPoolsInput struct { _ struct{} `type:"structure"` - // The filter conditions for the WorkSpaces pool to return. + // The filter conditions for the WorkSpaces Pool to return. Filters []*DescribeWorkspacesPoolsFilter `min:"1" type:"list"` // The maximum number of items to return. @@ -15439,7 +15438,7 @@ type DescribeWorkspacesPoolsInput struct { // this token to receive the next set of results. NextToken *string `min:"1" type:"string"` - // The identifier of the WorkSpaces pool. + // The identifier of the WorkSpaces Pools. PoolIds []*string `min:"1" type:"list"` } @@ -15524,7 +15523,7 @@ type DescribeWorkspacesPoolsOutput struct { // this token to receive the next set of results. NextToken *string `min:"1" type:"string"` - // Information about the WorkSpaces pools. + // Information about the WorkSpaces Pools. WorkspacesPools []*WorkspacesPool `type:"list"` } @@ -18435,7 +18434,7 @@ func (s ModifyWorkspaceStateOutput) GoString() string { return s.String() } -// Describes the network details of a WorkSpaces pool. +// Describes the network details of a WorkSpaces Pool. type NetworkAccessConfiguration struct { _ struct{} `type:"structure"` @@ -20516,7 +20515,7 @@ func (s *StartWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeRequ type StartWorkspacesPoolInput struct { _ struct{} `type:"structure"` - // The identifier of the WorkSpaces pool. + // The identifier of the pool. // // PoolId is a required field PoolId *string `type:"string" required:"true"` @@ -20696,7 +20695,7 @@ func (s *StopWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChangeReque type StopWorkspacesPoolInput struct { _ struct{} `type:"structure"` - // The identifier of the WorkSpaces pool. + // The identifier of the pool. // // PoolId is a required field PoolId *string `type:"string" required:"true"` @@ -21107,7 +21106,7 @@ func (s *TerminateWorkspacesOutput) SetFailedRequests(v []*FailedWorkspaceChange type TerminateWorkspacesPoolInput struct { _ struct{} `type:"structure"` - // The identifier of the WorkSpaces pool. + // The identifier of the pool. // // PoolId is a required field PoolId *string `type:"string" required:"true"` @@ -21175,7 +21174,7 @@ func (s TerminateWorkspacesPoolOutput) GoString() string { type TerminateWorkspacesPoolSessionInput struct { _ struct{} `type:"structure"` - // The identifier of the WorkSpaces pool session. + // The identifier of the pool session. // // SessionId is a required field SessionId *string `min:"36" type:"string" required:"true"` @@ -21243,7 +21242,7 @@ func (s TerminateWorkspacesPoolSessionOutput) GoString() string { return s.String() } -// Describes the timeout settings for a WorkSpaces pool. +// Describes the timeout settings for a pool of WorkSpaces. type TimeoutSettings struct { _ struct{} `type:"structure"` @@ -21954,21 +21953,21 @@ type UpdateWorkspacesPoolInput struct { // The identifier of the bundle. BundleId *string `type:"string"` - // The desired capacity for the WorkSpaces pool. + // The desired capacity for the pool. Capacity *Capacity `type:"structure"` - // Describes the specified WorkSpaces pool to update. + // Describes the specified pool to update. Description *string `min:"1" type:"string"` // The identifier of the directory. DirectoryId *string `min:"10" type:"string"` - // The identifier of the specified WorkSpaces pool to update. + // The identifier of the specified pool to update. // // PoolId is a required field PoolId *string `type:"string" required:"true"` - // Indicates the timeout settings of the specified WorkSpaces pool. + // Indicates the timeout settings of the specified pool. TimeoutSettings *TimeoutSettings `type:"structure"` } @@ -22069,7 +22068,7 @@ func (s *UpdateWorkspacesPoolInput) SetTimeoutSettings(v *TimeoutSettings) *Upda type UpdateWorkspacesPoolOutput struct { _ struct{} `type:"structure"` - // Describes the specified WorkSpaces pool. + // Describes the specified pool. WorkspacesPool *WorkspacesPool `type:"structure"` } @@ -23872,7 +23871,7 @@ func (s *WorkspacesDefaultRoleNotFoundException) RequestID() string { return s.RespMetadata.RequestID } -// Describes a WorkSpaces pool. +// Describes a pool of WorkSpaces. type WorkspacesPool struct { _ struct{} `type:"structure"` @@ -23905,12 +23904,12 @@ type WorkspacesPool struct { // The pool errors. Errors []*WorkspacesPoolError `type:"list"` - // The Amazon Resource Name (ARN) for the WorkSpaces pool. + // The Amazon Resource Name (ARN) for the pool. // // PoolArn is a required field PoolArn *string `type:"string" required:"true"` - // The identifier of a WorkSpaces pool. + // The identifier of a pool. // // PoolId is a required field PoolId *string `type:"string" required:"true"` @@ -24022,7 +24021,7 @@ func (s *WorkspacesPool) SetTimeoutSettings(v *TimeoutSettings) *WorkspacesPool return s } -// Describes a WorkSpaces pool error. +// Describes a pool error. type WorkspacesPoolError struct { _ struct{} `type:"structure"` @@ -24063,11 +24062,11 @@ func (s *WorkspacesPoolError) SetErrorMessage(v string) *WorkspacesPoolError { return s } -// Describes a WorkSpaces pool session. +// Describes a pool session. type WorkspacesPoolSession struct { _ struct{} `type:"structure"` - // The authentication method. The user is authenticated using a WorkSpaces pool + // The authentication method. The user is authenticated using a WorkSpaces Pools // URL (API) or SAML 2.0 federation (SAML). AuthenticationType *string `type:"string" enum:"AuthenticationType"` @@ -24799,6 +24798,9 @@ const ( // OperatingSystemNameWindowsServer2022 is a OperatingSystemName enum value OperatingSystemNameWindowsServer2022 = "WINDOWS_SERVER_2022" + + // OperatingSystemNameRhel8 is a OperatingSystemName enum value + OperatingSystemNameRhel8 = "RHEL_8" ) // OperatingSystemName_Values returns all elements of the OperatingSystemName enum @@ -24815,6 +24817,7 @@ func OperatingSystemName_Values() []string { OperatingSystemNameWindowsServer2016, OperatingSystemNameWindowsServer2019, OperatingSystemNameWindowsServer2022, + OperatingSystemNameRhel8, } }