diff --git a/CHANGELOG.md b/CHANGELOG.md index 3329554df0..b3152cb0c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +Release v1.44.70 (2022-08-04) +=== + +### Service Client Updates +* `service/chime-sdk-meetings`: Updates service API and documentation +* `service/config`: Updates service API +* `service/dms`: Updates service documentation + * Documentation updates for Database Migration Service (DMS). +* `service/iot`: Updates service API and documentation + * The release is to support attach a provisioning template to CACert for JITP function, Customer now doesn't have to hardcode a roleArn and templateBody during register a CACert to enable JITP. + Release v1.44.69 (2022-08-03) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index 2716911c9b..dac58f87cb 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -5229,6 +5229,22 @@ var awsPartition = partition{ }, "compute-optimizer": service{ Endpoints: serviceEndpoints{ + endpointKey{ + Region: "af-south-1", + }: endpoint{ + Hostname: "compute-optimizer.af-south-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "af-south-1", + }, + }, + endpointKey{ + Region: "ap-east-1", + }: endpoint{ + Hostname: "compute-optimizer.ap-east-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ap-east-1", + }, + }, endpointKey{ Region: "ap-northeast-1", }: endpoint{ @@ -5245,6 +5261,14 @@ var awsPartition = partition{ Region: "ap-northeast-2", }, }, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{ + Hostname: "compute-optimizer.ap-northeast-3.amazonaws.com", + CredentialScope: credentialScope{ + Region: "ap-northeast-3", + }, + }, endpointKey{ Region: "ap-south-1", }: endpoint{ @@ -5293,6 +5317,14 @@ var awsPartition = partition{ Region: "eu-north-1", }, }, + endpointKey{ + Region: "eu-south-1", + }: endpoint{ + Hostname: "compute-optimizer.eu-south-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "eu-south-1", + }, + }, endpointKey{ Region: "eu-west-1", }: endpoint{ @@ -5317,6 +5349,14 @@ var awsPartition = partition{ Region: "eu-west-3", }, }, + endpointKey{ + Region: "me-south-1", + }: endpoint{ + Hostname: "compute-optimizer.me-south-1.amazonaws.com", + CredentialScope: credentialScope{ + Region: "me-south-1", + }, + }, endpointKey{ Region: "sa-east-1", }: endpoint{ diff --git a/aws/version.go b/aws/version.go index 6e11820a4a..942b5e69dc 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.44.69" +const SDKVersion = "1.44.70" diff --git a/models/apis/chime-sdk-meetings/2021-07-15/api-2.json b/models/apis/chime-sdk-meetings/2021-07-15/api-2.json index 627c621c08..4a7871e5ba 100644 --- a/models/apis/chime-sdk-meetings/2021-07-15/api-2.json +++ b/models/apis/chime-sdk-meetings/2021-07-15/api-2.json @@ -195,6 +195,19 @@ {"shape":"ThrottlingException"} ] }, + "ListTagsForResource":{ + "name":"ListTagsForResource", + "http":{ + "method":"GET", + "requestUri":"/tags", + "responseCode":200 + }, + "input":{"shape":"ListTagsForResourceRequest"}, + "output":{"shape":"ListTagsForResourceResponse"}, + "errors":[ + {"shape":"ResourceNotFoundException"} + ] + }, "StartMeetingTranscription":{ "name":"StartMeetingTranscription", "http":{ @@ -234,6 +247,35 @@ {"shape":"ServiceFailureException"} ] }, + "TagResource":{ + "name":"TagResource", + "http":{ + "method":"POST", + "requestUri":"/tags?operation=tag-resource", + "responseCode":204 + }, + "input":{"shape":"TagResourceRequest"}, + "output":{"shape":"TagResourceResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"TooManyTagsException"} + ] + }, + "UntagResource":{ + "name":"UntagResource", + "http":{ + "method":"POST", + "requestUri":"/tags?operation=untag-resource", + "responseCode":204 + }, + "input":{"shape":"UntagResourceRequest"}, + "output":{"shape":"UntagResourceResponse"}, + "errors":[ + {"shape":"BadRequestException"}, + {"shape":"ResourceNotFoundException"} + ] + }, "UpdateAttendeeCapabilities":{ "name":"UpdateAttendeeCapabilities", "http":{ @@ -253,6 +295,12 @@ } }, "shapes":{ + "AmazonResourceName":{ + "type":"string", + "max":1011, + "min":1, + "pattern":"^arn:.*" + }, "Arn":{ "type":"string", "max":1024, @@ -438,7 +486,8 @@ "NotificationsConfiguration":{"shape":"NotificationsConfiguration"}, "MeetingFeatures":{"shape":"MeetingFeaturesConfiguration"}, "PrimaryMeetingId":{"shape":"PrimaryMeetingId"}, - "TenantIds":{"shape":"TenantIdList"} + "TenantIds":{"shape":"TenantIdList"}, + "Tags":{"shape":"TagList"} } }, "CreateMeetingResponse":{ @@ -467,7 +516,8 @@ "NotificationsConfiguration":{"shape":"NotificationsConfiguration"}, "Attendees":{"shape":"CreateMeetingWithAttendeesRequestItemList"}, "PrimaryMeetingId":{"shape":"PrimaryMeetingId"}, - "TenantIds":{"shape":"TenantIdList"} + "TenantIds":{"shape":"TenantIdList"}, + "Tags":{"shape":"TagList"} } }, "CreateMeetingWithAttendeesRequestItemList":{ @@ -661,6 +711,23 @@ "NextToken":{"shape":"String"} } }, + "ListTagsForResourceRequest":{ + "type":"structure", + "required":["ResourceARN"], + "members":{ + "ResourceARN":{ + "shape":"AmazonResourceName", + "location":"querystring", + "locationName":"arn" + } + } + }, + "ListTagsForResourceResponse":{ + "type":"structure", + "members":{ + "Tags":{"shape":"TagList"} + } + }, "MediaCapabilities":{ "type":"string", "enum":[ @@ -698,7 +765,8 @@ "MediaPlacement":{"shape":"MediaPlacement"}, "MeetingFeatures":{"shape":"MeetingFeaturesConfiguration"}, "PrimaryMeetingId":{"shape":"PrimaryMeetingId"}, - "TenantIds":{"shape":"TenantIdList"} + "TenantIds":{"shape":"TenantIdList"}, + "MeetingArn":{"shape":"AmazonResourceName"} } }, "MeetingFeatureStatus":{ @@ -737,6 +805,17 @@ "max":64, "min":2 }, + "ResourceNotFoundException":{ + "type":"structure", + "members":{ + "Code":{"shape":"String"}, + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"}, + "ResourceName":{"shape":"AmazonResourceName"} + }, + "error":{"httpStatusCode":404}, + "exception":true + }, "ResultMax":{ "type":"integer", "max":100, @@ -800,6 +879,57 @@ "type":"string", "max":4096 }, + "Tag":{ + "type":"structure", + "required":[ + "Key", + "Value" + ], + "members":{ + "Key":{"shape":"TagKey"}, + "Value":{"shape":"TagValue"} + } + }, + "TagKey":{ + "type":"string", + "max":128, + "min":1, + "pattern":"^[a-zA-Z+-=._:/]+$" + }, + "TagKeyList":{ + "type":"list", + "member":{"shape":"TagKey"}, + "max":50, + "min":0 + }, + "TagList":{ + "type":"list", + "member":{"shape":"Tag"}, + "max":50, + "min":0 + }, + "TagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceARN", + "Tags" + ], + "members":{ + "ResourceARN":{"shape":"AmazonResourceName"}, + "Tags":{"shape":"TagList"} + } + }, + "TagResourceResponse":{ + "type":"structure", + "members":{ + } + }, + "TagValue":{ + "type":"string", + "max":256, + "min":0, + "pattern":"[\\s\\w+-=\\.:/@]*" + }, "TenantId":{ "type":"string", "max":256, @@ -822,6 +952,17 @@ "error":{"httpStatusCode":429}, "exception":true }, + "TooManyTagsException":{ + "type":"structure", + "members":{ + "Code":{"shape":"String"}, + "Message":{"shape":"String"}, + "RequestId":{"shape":"String"}, + "ResourceName":{"shape":"AmazonResourceName"} + }, + "error":{"httpStatusCode":400}, + "exception":true + }, "TranscribeContentIdentificationType":{ "type":"string", "enum":["PII"] @@ -964,6 +1105,22 @@ "error":{"httpStatusCode":422}, "exception":true }, + "UntagResourceRequest":{ + "type":"structure", + "required":[ + "ResourceARN", + "TagKeys" + ], + "members":{ + "ResourceARN":{"shape":"AmazonResourceName"}, + "TagKeys":{"shape":"TagKeyList"} + } + }, + "UntagResourceResponse":{ + "type":"structure", + "members":{ + } + }, "UpdateAttendeeCapabilitiesRequest":{ "type":"structure", "required":[ diff --git a/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json b/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json index 9e37f86238..8af9247519 100644 --- a/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json +++ b/models/apis/chime-sdk-meetings/2021-07-15/docs-2.json @@ -12,11 +12,25 @@ "GetAttendee": "

Gets the Amazon Chime SDK attendee details for a specified meeting ID and attendee ID. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", "GetMeeting": "

Gets the Amazon Chime SDK meeting details for the specified meeting ID. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", "ListAttendees": "

Lists the attendees for the specified Amazon Chime SDK meeting. For more information about the Amazon Chime SDK, see Using the Amazon Chime SDK in the Amazon Chime Developer Guide.

", + "ListTagsForResource": "

Returns a list of the tags available for the specified resource.

", "StartMeetingTranscription": "

Starts transcription for the specified meetingId.

", "StopMeetingTranscription": "

Stops transcription for the specified meetingId.

", + "TagResource": "

The resource that supports tags.

", + "UntagResource": "

Removes the specified tags from the specified resources. When you specify a tag key, the action removes both that key and its associated value. The operation succeeds even if you attempt to remove tags from a resource that were already removed. Note the following:

Minimum permissions

In addition to the tag:UntagResources permission required by this operation, you must also have the remove tags permission defined by the service that created the resource. For example, to remove the tags from an Amazon EC2 instance using the UntagResources operation, you must have both of the following permissions:

tag:UntagResource

ChimeSDKMeetings:DeleteTags

", "UpdateAttendeeCapabilities": "

The capabilties that you want to update.

You use the capabilities with a set of values that control what the capabilities can do, such as SendReceive data. For more information about those values, see .

When using capabilities, be aware of these corner cases:

" }, "shapes": { + "AmazonResourceName": { + "base": null, + "refs": { + "ListTagsForResourceRequest$ResourceARN": "

The ARN of the resource.

", + "Meeting$MeetingArn": "

The ARN of the meeting.

", + "ResourceNotFoundException$ResourceName": "

The name of the resource that couldn't be found.

", + "TagResourceRequest$ResourceARN": "

The ARN of the resource.

", + "TooManyTagsException$ResourceName": "

The name of the resource that received too many tags.

", + "UntagResourceRequest$ResourceARN": "

The ARN of the resource that you're removing tags from.

" + } + }, "Arn": { "base": null, "refs": { @@ -281,6 +295,16 @@ "refs": { } }, + "ListTagsForResourceRequest": { + "base": null, + "refs": { + } + }, + "ListTagsForResourceResponse": { + "base": null, + "refs": { + } + }, "MediaCapabilities": { "base": null, "refs": { @@ -345,6 +369,11 @@ "Meeting$PrimaryMeetingId": "

When specified, replicates the media from the primary meeting to this meeting.

" } }, + "ResourceNotFoundException": { + "base": "

The resource that you want to tag couldn't be found.

", + "refs": { + } + }, "ResultMax": { "base": null, "refs": { @@ -385,7 +414,7 @@ "BadRequestException$RequestId": "

The request id associated with the call responsible for the exception.

", "ConflictException$Code": null, "ConflictException$Message": null, - "ConflictException$RequestId": null, + "ConflictException$RequestId": "

The ID of the request involved in the conflict.

", "CreateAttendeeError$ErrorCode": "

The error code.

", "CreateAttendeeError$ErrorMessage": "

The error message.

", "EngineTranscribeMedicalSettings$VocabularyName": "

The name of the vocabulary passed to Amazon Transcribe Medical.

", @@ -410,15 +439,21 @@ "NotFoundException$Code": null, "NotFoundException$Message": null, "NotFoundException$RequestId": "

The request ID associated with the call responsible for the exception.

", + "ResourceNotFoundException$Code": null, + "ResourceNotFoundException$Message": null, + "ResourceNotFoundException$RequestId": "

The ID of the resource that couldn't be found.

", "ServiceFailureException$Code": null, "ServiceFailureException$Message": null, - "ServiceFailureException$RequestId": null, + "ServiceFailureException$RequestId": "

The ID of the failed request.

", "ServiceUnavailableException$Code": null, "ServiceUnavailableException$Message": null, "ServiceUnavailableException$RequestId": "

The request id associated with the call responsible for the exception.

", "ThrottlingException$Code": null, "ThrottlingException$Message": null, - "ThrottlingException$RequestId": null, + "ThrottlingException$RequestId": "

The ID of the request that exceeded the throttling limit.

", + "TooManyTagsException$Code": null, + "TooManyTagsException$Message": null, + "TooManyTagsException$RequestId": "

The ID of the request that contains too many tags.

", "UnauthorizedException$Code": null, "UnauthorizedException$Message": null, "UnauthorizedException$RequestId": "

The request id associated with the call responsible for the exception.

", @@ -427,6 +462,50 @@ "UnprocessableEntityException$RequestId": "

The request id associated with the call responsible for the exception.

" } }, + "Tag": { + "base": "

A key-value pair that you define.

", + "refs": { + "TagList$member": null + } + }, + "TagKey": { + "base": null, + "refs": { + "Tag$Key": "

The tag's key.

", + "TagKeyList$member": null + } + }, + "TagKeyList": { + "base": null, + "refs": { + "UntagResourceRequest$TagKeys": "

The tag keys being removed from the resources.

" + } + }, + "TagList": { + "base": null, + "refs": { + "CreateMeetingRequest$Tags": "

Applies one or more tags to an Amazon Chime SDK meeting. Note the following:

Do not store personally identifiable information (PII) or other confidential or sensitive information in tags. We use tags to provide you with billing and administration services. Tags are not intended to be used for private or sensitive data.

Minimum permissions

In addition to the tag:TagResources permission required by this operation, you must also have the tagging permission defined by the service that created the resource. For example, to tag a ChimeSDKMeetings instance using the TagResources operation, you must have both of the following permissions:

tag:TagResources

ChimeSDKMeetings:CreateTags

Some services might have specific requirements for tagging some resources. For example, to tag an Amazon S3 bucket, you must also have the s3:GetBucketTagging permission. If the expected minimum permissions don't work, check the documentation for that service's tagging APIs for more information.

", + "CreateMeetingWithAttendeesRequest$Tags": "

The tags in the request.

", + "ListTagsForResourceResponse$Tags": "

The tags requested for the specified resource.

", + "TagResourceRequest$Tags": "

Lists the requested tags.

" + } + }, + "TagResourceRequest": { + "base": null, + "refs": { + } + }, + "TagResourceResponse": { + "base": null, + "refs": { + } + }, + "TagValue": { + "base": null, + "refs": { + "Tag$Value": "

The tag's value.

" + } + }, "TenantId": { "base": null, "refs": { @@ -446,6 +525,11 @@ "refs": { } }, + "TooManyTagsException": { + "base": "

Too many tags were added to the specified resource.

", + "refs": { + } + }, "TranscribeContentIdentificationType": { "base": null, "refs": { @@ -547,6 +631,16 @@ "refs": { } }, + "UntagResourceRequest": { + "base": null, + "refs": { + } + }, + "UntagResourceResponse": { + "base": null, + "refs": { + } + }, "UpdateAttendeeCapabilitiesRequest": { "base": null, "refs": { diff --git a/models/apis/config/2014-11-12/api-2.json b/models/apis/config/2014-11-12/api-2.json index a70a60abe7..124abbd9b8 100644 --- a/models/apis/config/2014-11-12/api-2.json +++ b/models/apis/config/2014-11-12/api-2.json @@ -4583,7 +4583,16 @@ "AWS::StepFunctions::StateMachine", "AWS::Batch::JobQueue", "AWS::Batch::ComputeEnvironment", - "AWS::AccessAnalyzer::Analyzer" + "AWS::AccessAnalyzer::Analyzer", + "AWS::Athena::WorkGroup", + "AWS::Athena::DataCatalog", + "AWS::Detective::Graph", + "AWS::GlobalAccelerator::Accelerator", + "AWS::GlobalAccelerator::EndpointGroup", + "AWS::GlobalAccelerator::Listener", + "AWS::EC2::TransitGatewayAttachment", + "AWS::EC2::TransitGatewayRouteTable", + "AWS::DMS::Certificate" ] }, "ResourceTypeList":{ diff --git a/models/apis/dms/2016-01-01/docs-2.json b/models/apis/dms/2016-01-01/docs-2.json index 7fbc32b95c..46b73dc67a 100644 --- a/models/apis/dms/2016-01-01/docs-2.json +++ b/models/apis/dms/2016-01-01/docs-2.json @@ -1968,7 +1968,7 @@ "Connection$EndpointIdentifier": "

The identifier of the endpoint. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.

", "Connection$ReplicationInstanceIdentifier": "

The replication instance identifier. This parameter is stored as a lowercase string.

", "CreateEndpointMessage$EndpointIdentifier": "

The database endpoint identifier. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen, or contain two consecutive hyphens.

", - "CreateEndpointMessage$EngineName": "

The type of engine for the endpoint. Valid values, depending on the EndpointType value, include \"mysql\", \"oracle\", \"postgres\", \"mariadb\", \"aurora\", \"aurora-postgresql\", \"opensearch\", \"redshift\", \"s3\", \"db2\", db2-zos, \"azuredb\", \"sybase\", \"dynamodb\", \"mongodb\", \"kinesis\", \"kafka\", \"elasticsearch\", \"docdb\", \"sqlserver\", \"neptune\", and babelfish.

", + "CreateEndpointMessage$EngineName": "

The type of engine for the endpoint. Valid values, depending on the EndpointType value, include \"mysql\", \"oracle\", \"postgres\", \"mariadb\", \"aurora\", \"aurora-postgresql\", \"opensearch\", \"redshift\", \"s3\", \"db2\", \"azuredb\", \"sybase\", \"dynamodb\", \"mongodb\", \"kinesis\", \"kafka\", \"elasticsearch\", \"docdb\", \"sqlserver\", and \"neptune\".

", "CreateEndpointMessage$Username": "

The user name to be used to log in to the endpoint database.

", "CreateEndpointMessage$ServerName": "

The name of the server where the endpoint database resides.

", "CreateEndpointMessage$DatabaseName": "

The name of the endpoint database. For a MySQL source or target endpoint, do not specify DatabaseName. To migrate to a specific database, use this setting and targetDbType.

", diff --git a/models/apis/iot/2015-05-28/api-2.json b/models/apis/iot/2015-05-28/api-2.json index b45cf7ef77..4e543b7346 100644 --- a/models/apis/iot/2015-05-28/api-2.json +++ b/models/apis/iot/2015-05-28/api-2.json @@ -3026,6 +3026,7 @@ "input":{"shape":"RegisterCACertificateRequest"}, "output":{"shape":"RegisterCACertificateResponse"}, "errors":[ + {"shape":"ResourceNotFoundException"}, {"shape":"ResourceAlreadyExistsException"}, {"shape":"RegistrationCodeValidationException"}, {"shape":"InvalidRequestException"}, @@ -5720,7 +5721,8 @@ "enabled":{"shape":"Enabled"}, "provisioningRoleArn":{"shape":"RoleArn"}, "preProvisioningHook":{"shape":"ProvisioningHook"}, - "tags":{"shape":"TagList"} + "tags":{"shape":"TagList"}, + "type":{"shape":"TemplateType"} } }, "CreateProvisioningTemplateResponse":{ @@ -7102,7 +7104,8 @@ "templateBody":{"shape":"TemplateBody"}, "enabled":{"shape":"Enabled"}, "provisioningRoleArn":{"shape":"RoleArn"}, - "preProvisioningHook":{"shape":"ProvisioningHook"} + "preProvisioningHook":{"shape":"ProvisioningHook"}, + "type":{"shape":"TemplateType"} } }, "DescribeProvisioningTemplateVersionRequest":{ @@ -9100,6 +9103,11 @@ "shape":"AscendingOrder", "location":"querystring", "locationName":"isAscendingOrder" + }, + "templateName":{ + "shape":"TemplateName", + "location":"querystring", + "locationName":"templateName" } } }, @@ -11167,7 +11175,8 @@ "description":{"shape":"TemplateDescription"}, "creationDate":{"shape":"DateType"}, "lastModifiedDate":{"shape":"DateType"}, - "enabled":{"shape":"Enabled"} + "enabled":{"shape":"Enabled"}, + "type":{"shape":"TemplateType"} } }, "ProvisioningTemplateVersionListing":{ @@ -11382,7 +11391,8 @@ "type":"structure", "members":{ "templateBody":{"shape":"TemplateBody"}, - "roleArn":{"shape":"RoleArn"} + "roleArn":{"shape":"RoleArn"}, + "templateName":{"shape":"TemplateName"} } }, "RegistryMaxResults":{ @@ -12397,6 +12407,13 @@ "min":1, "pattern":"^[0-9A-Za-z_-]+$" }, + "TemplateType":{ + "type":"string", + "enum":[ + "FLEET_PROVISIONING", + "JITP" + ] + }, "TemplateVersionId":{"type":"integer"}, "TermsAggregation":{ "type":"structure", diff --git a/models/apis/iot/2015-05-28/docs-2.json b/models/apis/iot/2015-05-28/docs-2.json index 2be05f1700..6c29c589cb 100644 --- a/models/apis/iot/2015-05-28/docs-2.json +++ b/models/apis/iot/2015-05-28/docs-2.json @@ -35,8 +35,8 @@ "CreatePolicy": "

Creates an IoT policy.

The created policy is the default version for the policy. This operation creates a policy version with a version identifier of 1 and sets 1 as the policy's default version.

Requires permission to access the CreatePolicy action.

", "CreatePolicyVersion": "

Creates a new version of the specified IoT policy. To update a policy, create a new policy version. A managed policy can have up to five versions. If the policy has five versions, you must use DeletePolicyVersion to delete an existing version before you create a new one.

Optionally, you can set the new version as the policy's default version. The default version is the operative version (that is, the version that is in effect for the certificates to which the policy is attached).

Requires permission to access the CreatePolicyVersion action.

", "CreateProvisioningClaim": "

Creates a provisioning claim.

Requires permission to access the CreateProvisioningClaim action.

", - "CreateProvisioningTemplate": "

Creates a fleet provisioning template.

Requires permission to access the CreateProvisioningTemplate action.

", - "CreateProvisioningTemplateVersion": "

Creates a new version of a fleet provisioning template.

Requires permission to access the CreateProvisioningTemplateVersion action.

", + "CreateProvisioningTemplate": "

Creates a provisioning template.

Requires permission to access the CreateProvisioningTemplate action.

", + "CreateProvisioningTemplateVersion": "

Creates a new version of a provisioning template.

Requires permission to access the CreateProvisioningTemplateVersion action.

", "CreateRoleAlias": "

Creates a role alias.

Requires permission to access the CreateRoleAlias action.

", "CreateScheduledAudit": "

Creates a scheduled audit that is run at a specified time interval.

Requires permission to access the CreateScheduledAudit action.

", "CreateSecurityProfile": "

Creates a Device Defender security profile.

Requires permission to access the CreateSecurityProfile action.

", @@ -64,8 +64,8 @@ "DeleteOTAUpdate": "

Delete an OTA update.

Requires permission to access the DeleteOTAUpdate action.

", "DeletePolicy": "

Deletes the specified policy.

A policy cannot be deleted if it has non-default versions or it is attached to any certificate.

To delete a policy, use the DeletePolicyVersion action to delete all non-default versions of the policy; use the DetachPolicy action to detach the policy from any certificate; and then use the DeletePolicy action to delete the policy.

When a policy is deleted using DeletePolicy, its default version is deleted with it.

Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.

Requires permission to access the DeletePolicy action.

", "DeletePolicyVersion": "

Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this action. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.

Requires permission to access the DeletePolicyVersion action.

", - "DeleteProvisioningTemplate": "

Deletes a fleet provisioning template.

Requires permission to access the DeleteProvisioningTemplate action.

", - "DeleteProvisioningTemplateVersion": "

Deletes a fleet provisioning template version.

Requires permission to access the DeleteProvisioningTemplateVersion action.

", + "DeleteProvisioningTemplate": "

Deletes a provisioning template.

Requires permission to access the DeleteProvisioningTemplate action.

", + "DeleteProvisioningTemplateVersion": "

Deletes a provisioning template version.

Requires permission to access the DeleteProvisioningTemplateVersion action.

", "DeleteRegistrationCode": "

Deletes a CA certificate registration code.

Requires permission to access the DeleteRegistrationCode action.

", "DeleteRoleAlias": "

Deletes a role alias

Requires permission to access the DeleteRoleAlias action.

", "DeleteScheduledAudit": "

Deletes a scheduled audit.

Requires permission to access the DeleteScheduledAudit action.

", @@ -101,8 +101,8 @@ "DescribeJobTemplate": "

Returns information about a job template.

", "DescribeManagedJobTemplate": "

View details of a managed job template.

", "DescribeMitigationAction": "

Gets information about a mitigation action.

Requires permission to access the DescribeMitigationAction action.

", - "DescribeProvisioningTemplate": "

Returns information about a fleet provisioning template.

Requires permission to access the DescribeProvisioningTemplate action.

", - "DescribeProvisioningTemplateVersion": "

Returns information about a fleet provisioning template version.

Requires permission to access the DescribeProvisioningTemplateVersion action.

", + "DescribeProvisioningTemplate": "

Returns information about a provisioning template.

Requires permission to access the DescribeProvisioningTemplate action.

", + "DescribeProvisioningTemplateVersion": "

Returns information about a provisioning template version.

Requires permission to access the DescribeProvisioningTemplateVersion action.

", "DescribeRoleAlias": "

Describes a role alias.

Requires permission to access the DescribeRoleAlias action.

", "DescribeScheduledAudit": "

Gets information about a scheduled audit.

Requires permission to access the DescribeScheduledAudit action.

", "DescribeSecurityProfile": "

Gets information about a Device Defender security profile.

Requires permission to access the DescribeSecurityProfile action.

", @@ -112,7 +112,7 @@ "DescribeThingRegistrationTask": "

Describes a bulk thing provisioning task.

Requires permission to access the DescribeThingRegistrationTask action.

", "DescribeThingType": "

Gets information about the specified thing type.

Requires permission to access the DescribeThingType action.

", "DetachPolicy": "

Detaches a policy from the specified target.

Because of the distributed nature of Amazon Web Services, it can take up to five minutes after a policy is detached before it's ready to be deleted.

Requires permission to access the DetachPolicy action.

", - "DetachPrincipalPolicy": "

Removes the specified policy from the specified certificate.

This action is deprecated. Please use DetachPolicy instead.

Requires permission to access the DetachPrincipalPolicy action.

", + "DetachPrincipalPolicy": "

Removes the specified policy from the specified certificate.

Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use DetachPolicy instead.

Requires permission to access the DetachPrincipalPolicy action.

", "DetachSecurityProfile": "

Disassociates a Device Defender security profile from a thing group or from this account.

Requires permission to access the DetachSecurityProfile action.

", "DetachThingPrincipal": "

Detaches the specified principal from the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.

This call is asynchronous. It might take several seconds for the detachment to propagate.

Requires permission to access the DetachThingPrincipal action.

", "DisableTopicRule": "

Disables the rule.

Requires permission to access the DisableTopicRule action.

", @@ -162,12 +162,12 @@ "ListOTAUpdates": "

Lists OTA updates.

Requires permission to access the ListOTAUpdates action.

", "ListOutgoingCertificates": "

Lists certificates that are being transferred but not yet accepted.

Requires permission to access the ListOutgoingCertificates action.

", "ListPolicies": "

Lists your policies.

Requires permission to access the ListPolicies action.

", - "ListPolicyPrincipals": "

Lists the principals associated with the specified policy.

Note: This action is deprecated. Please use ListTargetsForPolicy instead.

Requires permission to access the ListPolicyPrincipals action.

", + "ListPolicyPrincipals": "

Lists the principals associated with the specified policy.

Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use ListTargetsForPolicy instead.

Requires permission to access the ListPolicyPrincipals action.

", "ListPolicyVersions": "

Lists the versions of the specified policy and identifies the default version.

Requires permission to access the ListPolicyVersions action.

", - "ListPrincipalPolicies": "

Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.

Note: This action is deprecated. Please use ListAttachedPolicies instead.

Requires permission to access the ListPrincipalPolicies action.

", + "ListPrincipalPolicies": "

Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.

Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use ListAttachedPolicies instead.

Requires permission to access the ListPrincipalPolicies action.

", "ListPrincipalThings": "

Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.

Requires permission to access the ListPrincipalThings action.

", - "ListProvisioningTemplateVersions": "

A list of fleet provisioning template versions.

Requires permission to access the ListProvisioningTemplateVersions action.

", - "ListProvisioningTemplates": "

Lists the fleet provisioning templates in your Amazon Web Services account.

Requires permission to access the ListProvisioningTemplates action.

", + "ListProvisioningTemplateVersions": "

A list of provisioning template versions.

Requires permission to access the ListProvisioningTemplateVersions action.

", + "ListProvisioningTemplates": "

Lists the provisioning templates in your Amazon Web Services account.

Requires permission to access the ListProvisioningTemplates action.

", "ListRoleAliases": "

Lists the role aliases registered in your account.

Requires permission to access the ListRoleAliases action.

", "ListScheduledAudits": "

Lists all of your scheduled audits.

Requires permission to access the ListScheduledAudits action.

", "ListSecurityProfiles": "

Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.

Requires permission to access the ListSecurityProfiles action.

dimensionName and metricName cannot be used in the same request.

", @@ -229,7 +229,7 @@ "UpdateIndexingConfiguration": "

Updates the search configuration.

Requires permission to access the UpdateIndexingConfiguration action.

", "UpdateJob": "

Updates supported fields of the specified job.

Requires permission to access the UpdateJob action.

", "UpdateMitigationAction": "

Updates the definition for the specified mitigation action.

Requires permission to access the UpdateMitigationAction action.

", - "UpdateProvisioningTemplate": "

Updates a fleet provisioning template.

Requires permission to access the UpdateProvisioningTemplate action.

", + "UpdateProvisioningTemplate": "

Updates a provisioning template.

Requires permission to access the UpdateProvisioningTemplate action.

", "UpdateRoleAlias": "

Updates a role alias.

Requires permission to access the UpdateRoleAlias action.

", "UpdateScheduledAudit": "

Updates a scheduled audit, including which checks are performed and how often the audit takes place.

Requires permission to access the UpdateScheduledAudit action.

", "UpdateSecurityProfile": "

Updates a Device Defender security profile.

Requires permission to access the UpdateSecurityProfile action.

", @@ -2154,9 +2154,9 @@ "CreateProvisioningClaimResponse$expiration": "

The provisioning claim expiration time.

", "DescribeDomainConfigurationResponse$lastStatusChangeDate": "

The date and time the domain configuration's status was last changed.

", "DescribeJobTemplateResponse$createdAt": "

The time, in seconds since the epoch, when the job template was created.

", - "DescribeProvisioningTemplateResponse$creationDate": "

The date when the fleet provisioning template was created.

", - "DescribeProvisioningTemplateResponse$lastModifiedDate": "

The date when the fleet provisioning template was last modified.

", - "DescribeProvisioningTemplateVersionResponse$creationDate": "

The date when the fleet provisioning template version was created.

", + "DescribeProvisioningTemplateResponse$creationDate": "

The date when the provisioning template was created.

", + "DescribeProvisioningTemplateResponse$lastModifiedDate": "

The date when the provisioning template was last modified.

", + "DescribeProvisioningTemplateVersionResponse$creationDate": "

The date when the provisioning template version was created.

", "GetPolicyResponse$creationDate": "

The date the policy was created.

", "GetPolicyResponse$lastModifiedDate": "

The date the policy was last modified.

", "GetPolicyVersionResponse$creationDate": "

The date the policy was created.

", @@ -2180,9 +2180,9 @@ "OutgoingCertificate$transferDate": "

The date the transfer was initiated.

", "OutgoingCertificate$creationDate": "

The certificate creation date.

", "PolicyVersion$createDate": "

The date and time the policy was created.

", - "ProvisioningTemplateSummary$creationDate": "

The date when the fleet provisioning template summary was created.

", - "ProvisioningTemplateSummary$lastModifiedDate": "

The date when the fleet provisioning template summary was last modified.

", - "ProvisioningTemplateVersionSummary$creationDate": "

The date when the fleet provisioning template version was created

", + "ProvisioningTemplateSummary$creationDate": "

The date when the provisioning template summary was created.

", + "ProvisioningTemplateSummary$lastModifiedDate": "

The date when the provisioning template summary was last modified.

", + "ProvisioningTemplateVersionSummary$creationDate": "

The date when the provisioning template version was created

", "RoleAliasDescription$creationDate": "

The UNIX timestamp of when the role alias was created.

", "RoleAliasDescription$lastModifiedDate": "

The UNIX timestamp of when the role alias was last modified.

", "StreamInfo$createdAt": "

The date when the stream was created.

", @@ -3263,10 +3263,10 @@ "AuditCheckConfiguration$enabled": "

True if this audit check is enabled for this account.

", "AuditNotificationTarget$enabled": "

True if notifications to the target are enabled.

", "Configuration$Enabled": "

True to enable the configuration.

", - "CreateProvisioningTemplateRequest$enabled": "

True to enable the fleet provisioning template, otherwise false.

", - "DescribeProvisioningTemplateResponse$enabled": "

True if the fleet provisioning template is enabled, otherwise false.

", + "CreateProvisioningTemplateRequest$enabled": "

True to enable the provisioning template, otherwise false.

", + "DescribeProvisioningTemplateResponse$enabled": "

True if the provisioning template is enabled, otherwise false.

", "ProvisioningTemplateSummary$enabled": "

True if the fleet provision template is enabled, otherwise false.

", - "UpdateProvisioningTemplateRequest$enabled": "

True to enable the fleet provisioning template, otherwise false.

" + "UpdateProvisioningTemplateRequest$enabled": "

True to enable the provisioning template, otherwise false.

" } }, "EndpointAddress": { @@ -4027,11 +4027,11 @@ "base": null, "refs": { "CreatePolicyVersionResponse$isDefaultVersion": "

Specifies whether the policy version is the default.

", - "CreateProvisioningTemplateVersionResponse$isDefaultVersion": "

True if the fleet provisioning template version is the default version, otherwise false.

", - "DescribeProvisioningTemplateVersionResponse$isDefaultVersion": "

True if the fleet provisioning template version is the default version.

", + "CreateProvisioningTemplateVersionResponse$isDefaultVersion": "

True if the provisioning template version is the default version, otherwise false.

", + "DescribeProvisioningTemplateVersionResponse$isDefaultVersion": "

True if the provisioning template version is the default version.

", "GetPolicyVersionResponse$isDefaultVersion": "

Specifies whether the policy version is the default.

", "PolicyVersion$isDefaultVersion": "

Specifies whether the policy version is the default.

", - "ProvisioningTemplateVersionSummary$isDefaultVersion": "

True if the fleet provisioning template version is the default version, otherwise false.

" + "ProvisioningTemplateVersionSummary$isDefaultVersion": "

True if the provisioning template version is the default version, otherwise false.

" } }, "IsDisabled": { @@ -5989,11 +5989,11 @@ "ProvisioningTemplateListing": { "base": null, "refs": { - "ListProvisioningTemplatesResponse$templates": "

A list of fleet provisioning templates

" + "ListProvisioningTemplatesResponse$templates": "

A list of provisioning templates

" } }, "ProvisioningTemplateSummary": { - "base": "

A summary of information about a fleet provisioning template.

", + "base": "

A summary of information about a provisioning template.

", "refs": { "ProvisioningTemplateListing$member": null } @@ -6001,7 +6001,7 @@ "ProvisioningTemplateVersionListing": { "base": null, "refs": { - "ListProvisioningTemplateVersionsResponse$versions": "

The list of fleet provisioning template versions.

" + "ListProvisioningTemplateVersionsResponse$versions": "

The list of provisioning template versions.

" } }, "ProvisioningTemplateVersionSummary": { @@ -6512,7 +6512,7 @@ "AuditNotificationTarget$roleArn": "

The ARN of the role that grants permission to send notifications to the target.

", "CreateMitigationActionRequest$roleArn": "

The ARN of the IAM role that is used to apply the mitigation action.

", "CreateOTAUpdateRequest$roleArn": "

The IAM role that grants Amazon Web Services IoT Core access to the Amazon S3, IoT jobs and Amazon Web Services Code Signing resources to create an OTA update job.

", - "CreateProvisioningTemplateRequest$provisioningRoleArn": "

The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.

", + "CreateProvisioningTemplateRequest$provisioningRoleArn": "

The role ARN for the role associated with the provisioning template. This IoT role grants permission to provision a device.

", "CreateRoleAliasRequest$roleArn": "

The role ARN.

", "CreateStreamRequest$roleArn": "

An IAM role that allows the IoT service principal to access your S3 files.

", "DescribeAccountAuditConfigurationResponse$roleArn": "

The ARN of the role that grants permission to IoT to access information about your devices, policies, certificates, and other items as required when performing an audit.

On the first call to UpdateAccountAuditConfiguration, this parameter is required.

", @@ -7309,7 +7309,7 @@ "CreateMitigationActionRequest$tags": "

Metadata that can be used to manage the mitigation action.

", "CreateOTAUpdateRequest$tags": "

Metadata which can be used to manage updates.

", "CreatePolicyRequest$tags": "

Metadata which can be used to manage the policy.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags \"key1=value1&key2=value2...\"

For the cli-input-json file use format: \"tags\": \"key1=value1&key2=value2...\"

", - "CreateProvisioningTemplateRequest$tags": "

Metadata which can be used to manage the fleet provisioning template.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags \"key1=value1&key2=value2...\"

For the cli-input-json file use format: \"tags\": \"key1=value1&key2=value2...\"

", + "CreateProvisioningTemplateRequest$tags": "

Metadata which can be used to manage the provisioning template.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags \"key1=value1&key2=value2...\"

For the cli-input-json file use format: \"tags\": \"key1=value1&key2=value2...\"

", "CreateRoleAliasRequest$tags": "

Metadata which can be used to manage the role alias.

For URI Request parameters use format: ...key1=value1&key2=value2...

For the CLI command-line parameter use format: &&tags \"key1=value1&key2=value2...\"

For the cli-input-json file use format: \"tags\": \"key1=value1&key2=value2...\"

", "CreateScheduledAuditRequest$tags": "

Metadata that can be used to manage the scheduled audit.

", "CreateSecurityProfileRequest$tags": "

Metadata that can be used to manage the security profile.

", @@ -7423,17 +7423,17 @@ "refs": { "CreateProvisioningTemplateResponse$templateArn": "

The ARN that identifies the provisioning template.

", "CreateProvisioningTemplateVersionResponse$templateArn": "

The ARN that identifies the provisioning template.

", - "DescribeProvisioningTemplateResponse$templateArn": "

The ARN of the fleet provisioning template.

", - "ProvisioningTemplateSummary$templateArn": "

The ARN of the fleet provisioning template.

" + "DescribeProvisioningTemplateResponse$templateArn": "

The ARN of the provisioning template.

", + "ProvisioningTemplateSummary$templateArn": "

The ARN of the provisioning template.

" } }, "TemplateBody": { "base": null, "refs": { - "CreateProvisioningTemplateRequest$templateBody": "

The JSON formatted contents of the fleet provisioning template.

", - "CreateProvisioningTemplateVersionRequest$templateBody": "

The JSON formatted contents of the fleet provisioning template.

", - "DescribeProvisioningTemplateResponse$templateBody": "

The JSON formatted contents of the fleet provisioning template.

", - "DescribeProvisioningTemplateVersionResponse$templateBody": "

The JSON formatted contents of the fleet provisioning template version.

", + "CreateProvisioningTemplateRequest$templateBody": "

The JSON formatted contents of the provisioning template.

", + "CreateProvisioningTemplateVersionRequest$templateBody": "

The JSON formatted contents of the provisioning template.

", + "DescribeProvisioningTemplateResponse$templateBody": "

The JSON formatted contents of the provisioning template.

", + "DescribeProvisioningTemplateVersionResponse$templateBody": "

The JSON formatted contents of the provisioning template version.

", "DescribeThingRegistrationTaskResponse$templateBody": "

The task's template.

", "RegisterThingRequest$templateBody": "

The provisioning template. See Provisioning Devices That Have Device Certificates for more information.

", "RegistrationConfig$templateBody": "

The template body.

", @@ -7443,39 +7443,49 @@ "TemplateDescription": { "base": null, "refs": { - "CreateProvisioningTemplateRequest$description": "

The description of the fleet provisioning template.

", - "DescribeProvisioningTemplateResponse$description": "

The description of the fleet provisioning template.

", - "ProvisioningTemplateSummary$description": "

The description of the fleet provisioning template.

", - "UpdateProvisioningTemplateRequest$description": "

The description of the fleet provisioning template.

" + "CreateProvisioningTemplateRequest$description": "

The description of the provisioning template.

", + "DescribeProvisioningTemplateResponse$description": "

The description of the provisioning template.

", + "ProvisioningTemplateSummary$description": "

The description of the provisioning template.

", + "UpdateProvisioningTemplateRequest$description": "

The description of the provisioning template.

" } }, "TemplateName": { "base": null, "refs": { "CreateProvisioningClaimRequest$templateName": "

The name of the provisioning template to use.

", - "CreateProvisioningTemplateRequest$templateName": "

The name of the fleet provisioning template.

", - "CreateProvisioningTemplateResponse$templateName": "

The name of the fleet provisioning template.

", - "CreateProvisioningTemplateVersionRequest$templateName": "

The name of the fleet provisioning template.

", - "CreateProvisioningTemplateVersionResponse$templateName": "

The name of the fleet provisioning template.

", + "CreateProvisioningTemplateRequest$templateName": "

The name of the provisioning template.

", + "CreateProvisioningTemplateResponse$templateName": "

The name of the provisioning template.

", + "CreateProvisioningTemplateVersionRequest$templateName": "

The name of the provisioning template.

", + "CreateProvisioningTemplateVersionResponse$templateName": "

The name of the provisioning template.

", "DeleteProvisioningTemplateRequest$templateName": "

The name of the fleet provision template to delete.

", - "DeleteProvisioningTemplateVersionRequest$templateName": "

The name of the fleet provisioning template version to delete.

", - "DescribeProvisioningTemplateRequest$templateName": "

The name of the fleet provisioning template.

", - "DescribeProvisioningTemplateResponse$templateName": "

The name of the fleet provisioning template.

", + "DeleteProvisioningTemplateVersionRequest$templateName": "

The name of the provisioning template version to delete.

", + "DescribeProvisioningTemplateRequest$templateName": "

The name of the provisioning template.

", + "DescribeProvisioningTemplateResponse$templateName": "

The name of the provisioning template.

", "DescribeProvisioningTemplateVersionRequest$templateName": "

The template name.

", - "ListProvisioningTemplateVersionsRequest$templateName": "

The name of the fleet provisioning template.

", - "ProvisioningTemplateSummary$templateName": "

The name of the fleet provisioning template.

", - "UpdateProvisioningTemplateRequest$templateName": "

The name of the fleet provisioning template.

" + "ListCACertificatesRequest$templateName": "

The name of the provisioning template.

", + "ListProvisioningTemplateVersionsRequest$templateName": "

The name of the provisioning template.

", + "ProvisioningTemplateSummary$templateName": "

The name of the provisioning template.

", + "RegistrationConfig$templateName": "

The name of the provisioning template.

", + "UpdateProvisioningTemplateRequest$templateName": "

The name of the provisioning template.

" + } + }, + "TemplateType": { + "base": null, + "refs": { + "CreateProvisioningTemplateRequest$type": "

The type you define in a provisioning template. You can create a template with only one type. You can't change the template type after its creation. The default value is FLEET_PROVISIONING. For more information about provisioning template, see: Provisioning template.

", + "DescribeProvisioningTemplateResponse$type": "

The type you define in a provisioning template. You can create a template with only one type. You can't change the template type after its creation. The default value is FLEET_PROVISIONING. For more information about provisioning template, see: Provisioning template.

", + "ProvisioningTemplateSummary$type": "

The type you define in a provisioning template. You can create a template with only one type. You can't change the template type after its creation. The default value is FLEET_PROVISIONING. For more information about provisioning template, see: Provisioning template.

" } }, "TemplateVersionId": { "base": null, "refs": { - "CreateProvisioningTemplateResponse$defaultVersionId": "

The default version of the fleet provisioning template.

", - "CreateProvisioningTemplateVersionResponse$versionId": "

The version of the fleet provisioning template.

", - "DeleteProvisioningTemplateVersionRequest$versionId": "

The fleet provisioning template version ID to delete.

", + "CreateProvisioningTemplateResponse$defaultVersionId": "

The default version of the provisioning template.

", + "CreateProvisioningTemplateVersionResponse$versionId": "

The version of the provisioning template.

", + "DeleteProvisioningTemplateVersionRequest$versionId": "

The provisioning template version ID to delete.

", "DescribeProvisioningTemplateResponse$defaultVersionId": "

The default fleet template version ID.

", - "DescribeProvisioningTemplateVersionRequest$versionId": "

The fleet provisioning template version ID.

", - "DescribeProvisioningTemplateVersionResponse$versionId": "

The fleet provisioning template version ID.

", + "DescribeProvisioningTemplateVersionRequest$versionId": "

The provisioning template version ID.

", + "DescribeProvisioningTemplateVersionResponse$versionId": "

The provisioning template version ID.

", "ProvisioningTemplateVersionSummary$versionId": "

The ID of the fleet privisioning template version.

", "UpdateProvisioningTemplateRequest$defaultVersionId": "

The ID of the default provisioning template version.

" } diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index fb6850bc02..8fc31b66b1 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -2859,6 +2859,18 @@ }, "compute-optimizer" : { "endpoints" : { + "af-south-1" : { + "credentialScope" : { + "region" : "af-south-1" + }, + "hostname" : "compute-optimizer.af-south-1.amazonaws.com" + }, + "ap-east-1" : { + "credentialScope" : { + "region" : "ap-east-1" + }, + "hostname" : "compute-optimizer.ap-east-1.amazonaws.com" + }, "ap-northeast-1" : { "credentialScope" : { "region" : "ap-northeast-1" @@ -2871,6 +2883,12 @@ }, "hostname" : "compute-optimizer.ap-northeast-2.amazonaws.com" }, + "ap-northeast-3" : { + "credentialScope" : { + "region" : "ap-northeast-3" + }, + "hostname" : "compute-optimizer.ap-northeast-3.amazonaws.com" + }, "ap-south-1" : { "credentialScope" : { "region" : "ap-south-1" @@ -2907,6 +2925,12 @@ }, "hostname" : "compute-optimizer.eu-north-1.amazonaws.com" }, + "eu-south-1" : { + "credentialScope" : { + "region" : "eu-south-1" + }, + "hostname" : "compute-optimizer.eu-south-1.amazonaws.com" + }, "eu-west-1" : { "credentialScope" : { "region" : "eu-west-1" @@ -2925,6 +2949,12 @@ }, "hostname" : "compute-optimizer.eu-west-3.amazonaws.com" }, + "me-south-1" : { + "credentialScope" : { + "region" : "me-south-1" + }, + "hostname" : "compute-optimizer.me-south-1.amazonaws.com" + }, "sa-east-1" : { "credentialScope" : { "region" : "sa-east-1" diff --git a/service/chimesdkmeetings/api.go b/service/chimesdkmeetings/api.go index 45606cf189..6cc0106f4e 100644 --- a/service/chimesdkmeetings/api.go +++ b/service/chimesdkmeetings/api.go @@ -1106,6 +1106,85 @@ func (c *ChimeSDKMeetings) ListAttendeesPagesWithContext(ctx aws.Context, input return p.Err() } +const opListTagsForResource = "ListTagsForResource" + +// ListTagsForResourceRequest generates a "aws/request.Request" representing the +// client's request for the ListTagsForResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See ListTagsForResource for more information on using the ListTagsForResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the ListTagsForResourceRequest method. +// req, resp := client.ListTagsForResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/ListTagsForResource +func (c *ChimeSDKMeetings) ListTagsForResourceRequest(input *ListTagsForResourceInput) (req *request.Request, output *ListTagsForResourceOutput) { + op := &request.Operation{ + Name: opListTagsForResource, + HTTPMethod: "GET", + HTTPPath: "/tags", + } + + if input == nil { + input = &ListTagsForResourceInput{} + } + + output = &ListTagsForResourceOutput{} + req = c.newRequest(op, input, output) + return +} + +// ListTagsForResource API operation for Amazon Chime SDK Meetings. +// +// Returns a list of the tags available for the specified resource. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Chime SDK Meetings's +// API operation ListTagsForResource for usage and error information. +// +// Returned Error Types: +// * ResourceNotFoundException +// The resource that you want to tag couldn't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/ListTagsForResource +func (c *ChimeSDKMeetings) ListTagsForResource(input *ListTagsForResourceInput) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + return out, req.Send() +} + +// ListTagsForResourceWithContext is the same as ListTagsForResource with the addition of +// the ability to pass a context and additional request options. +// +// See ListTagsForResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ChimeSDKMeetings) ListTagsForResourceWithContext(ctx aws.Context, input *ListTagsForResourceInput, opts ...request.Option) (*ListTagsForResourceOutput, error) { + req, out := c.ListTagsForResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opStartMeetingTranscription = "StartMeetingTranscription" // StartMeetingTranscriptionRequest generates a "aws/request.Request" representing the @@ -1313,6 +1392,198 @@ func (c *ChimeSDKMeetings) StopMeetingTranscriptionWithContext(ctx aws.Context, return out, req.Send() } +const opTagResource = "TagResource" + +// TagResourceRequest generates a "aws/request.Request" representing the +// client's request for the TagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See TagResource for more information on using the TagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the TagResourceRequest method. +// req, resp := client.TagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/TagResource +func (c *ChimeSDKMeetings) TagResourceRequest(input *TagResourceInput) (req *request.Request, output *TagResourceOutput) { + op := &request.Operation{ + Name: opTagResource, + HTTPMethod: "POST", + HTTPPath: "/tags?operation=tag-resource", + } + + if input == nil { + input = &TagResourceInput{} + } + + output = &TagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// TagResource API operation for Amazon Chime SDK Meetings. +// +// The resource that supports tags. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Chime SDK Meetings's +// API operation TagResource for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// The input parameters don't match the service's restrictions. +// +// * ResourceNotFoundException +// The resource that you want to tag couldn't be found. +// +// * TooManyTagsException +// Too many tags were added to the specified resource. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/TagResource +func (c *ChimeSDKMeetings) TagResource(input *TagResourceInput) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + return out, req.Send() +} + +// TagResourceWithContext is the same as TagResource with the addition of +// the ability to pass a context and additional request options. +// +// See TagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ChimeSDKMeetings) TagResourceWithContext(ctx aws.Context, input *TagResourceInput, opts ...request.Option) (*TagResourceOutput, error) { + req, out := c.TagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opUntagResource = "UntagResource" + +// UntagResourceRequest generates a "aws/request.Request" representing the +// client's request for the UntagResource operation. The "output" return +// value will be populated with the request's response once the request completes +// successfully. +// +// Use "Send" method on the returned Request to send the API call to the service. +// the "output" return value is not valid until after Send returns without error. +// +// See UntagResource for more information on using the UntagResource +// API call, and error handling. +// +// This method is useful when you want to inject custom logic or configuration +// into the SDK's request lifecycle. Such as custom headers, or retry logic. +// +// +// // Example sending a request using the UntagResourceRequest method. +// req, resp := client.UntagResourceRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/UntagResource +func (c *ChimeSDKMeetings) UntagResourceRequest(input *UntagResourceInput) (req *request.Request, output *UntagResourceOutput) { + op := &request.Operation{ + Name: opUntagResource, + HTTPMethod: "POST", + HTTPPath: "/tags?operation=untag-resource", + } + + if input == nil { + input = &UntagResourceInput{} + } + + output = &UntagResourceOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UntagResource API operation for Amazon Chime SDK Meetings. +// +// Removes the specified tags from the specified resources. When you specify +// a tag key, the action removes both that key and its associated value. The +// operation succeeds even if you attempt to remove tags from a resource that +// were already removed. Note the following: +// +// * To remove tags from a resource, you need the necessary permissions for +// the service that the resource belongs to as well as permissions for removing +// tags. For more information, see the documentation for the service whose +// resource you want to untag. +// +// * You can only tag resources that are located in the specified AWS Region +// for the calling AWS account. +// +// Minimum permissions +// +// In addition to the tag:UntagResources permission required by this operation, +// you must also have the remove tags permission defined by the service that +// created the resource. For example, to remove the tags from an Amazon EC2 +// instance using the UntagResources operation, you must have both of the following +// permissions: +// +// tag:UntagResource +// +// ChimeSDKMeetings:DeleteTags +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Chime SDK Meetings's +// API operation UntagResource for usage and error information. +// +// Returned Error Types: +// * BadRequestException +// The input parameters don't match the service's restrictions. +// +// * ResourceNotFoundException +// The resource that you want to tag couldn't be found. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-meetings-2021-07-15/UntagResource +func (c *ChimeSDKMeetings) UntagResource(input *UntagResourceInput) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + return out, req.Send() +} + +// UntagResourceWithContext is the same as UntagResource with the addition of +// the ability to pass a context and additional request options. +// +// See UntagResource for details on how to use this API operation. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ChimeSDKMeetings) UntagResourceWithContext(ctx aws.Context, input *UntagResourceInput, opts ...request.Option) (*UntagResourceOutput, error) { + req, out := c.UntagResourceRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdateAttendeeCapabilities = "UpdateAttendeeCapabilities" // UpdateAttendeeCapabilitiesRequest generates a "aws/request.Request" representing the @@ -2012,6 +2283,7 @@ type ConflictException struct { Message_ *string `locationName:"Message" type:"string"` + // The ID of the request involved in the conflict. RequestId *string `type:"string"` } @@ -2387,6 +2659,48 @@ type CreateMeetingInput struct { // meeting. PrimaryMeetingId *string `min:"2" type:"string"` + // Applies one or more tags to an Amazon Chime SDK meeting. Note the following: + // + // * Not all resources have tags. For a list of services with resources that + // support tagging using this operation, see Services that support the Resource + // Groups Tagging API (https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html). + // If the resource doesn't yet support this operation, the resource's service + // might support tagging using its own API operations. For more information, + // refer to the documentation for that service. + // + // * Each resource can have up to 50 tags. For other limits, see Tag Naming + // and Usage Conventions (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions) + // in the AWS General Reference. + // + // * You can only tag resources that are located in the specified AWS Region + // for the AWS account. + // + // * To add tags to a resource, you need the necessary permissions for the + // service that the resource belongs to as well as permissions for adding + // tags. For more information, see the documentation for each service. + // + // Do not store personally identifiable information (PII) or other confidential + // or sensitive information in tags. We use tags to provide you with billing + // and administration services. Tags are not intended to be used for private + // or sensitive data. + // + // Minimum permissions + // + // In addition to the tag:TagResources permission required by this operation, + // you must also have the tagging permission defined by the service that created + // the resource. For example, to tag a ChimeSDKMeetings instance using the TagResources + // operation, you must have both of the following permissions: + // + // tag:TagResources + // + // ChimeSDKMeetings:CreateTags + // + // Some services might have specific requirements for tagging some resources. + // For example, to tag an Amazon S3 bucket, you must also have the s3:GetBucketTagging + // permission. If the expected minimum permissions don't work, check the documentation + // for that service's tagging APIs for more information. + Tags []*Tag `type:"list"` + // A consistent and opaque identifier, created and maintained by the builder // to represent a segment of their users. TenantIds []*string `min:"1" type:"list"` @@ -2442,6 +2756,16 @@ func (s *CreateMeetingInput) Validate() error { invalidParams.AddNested("NotificationsConfiguration", err.(request.ErrInvalidParams)) } } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -2491,6 +2815,12 @@ func (s *CreateMeetingInput) SetPrimaryMeetingId(v string) *CreateMeetingInput { return s } +// SetTags sets the Tags field's value. +func (s *CreateMeetingInput) SetTags(v []*Tag) *CreateMeetingInput { + s.Tags = v + return s +} + // SetTenantIds sets the TenantIds field's value. func (s *CreateMeetingInput) SetTenantIds(v []*string) *CreateMeetingInput { s.TenantIds = v @@ -2583,6 +2913,9 @@ type CreateMeetingWithAttendeesInput struct { // meeting. PrimaryMeetingId *string `min:"2" type:"string"` + // The tags in the request. + Tags []*Tag `type:"list"` + // A consistent and opaque identifier, created and maintained by the builder // to represent a segment of their users. TenantIds []*string `min:"1" type:"list"` @@ -2654,6 +2987,16 @@ func (s *CreateMeetingWithAttendeesInput) Validate() error { invalidParams.AddNested("NotificationsConfiguration", err.(request.ErrInvalidParams)) } } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } if invalidParams.Len() > 0 { return invalidParams @@ -2709,6 +3052,12 @@ func (s *CreateMeetingWithAttendeesInput) SetPrimaryMeetingId(v string) *CreateM return s } +// SetTags sets the Tags field's value. +func (s *CreateMeetingWithAttendeesInput) SetTags(v []*Tag) *CreateMeetingWithAttendeesInput { + s.Tags = v + return s +} + // SetTenantIds sets the TenantIds field's value. func (s *CreateMeetingWithAttendeesInput) SetTenantIds(v []*string) *CreateMeetingWithAttendeesInput { s.TenantIds = v @@ -3640,34 +3989,13 @@ func (s *ListAttendeesOutput) SetNextToken(v string) *ListAttendeesOutput { return s } -// A set of endpoints used by clients to connect to the media service group -// for an Amazon Chime SDK meeting. -type MediaPlacement struct { - _ struct{} `type:"structure"` - - // The audio fallback URL. - AudioFallbackUrl *string `type:"string"` - - // The audio host URL. - AudioHostUrl *string `type:"string"` - - // The event ingestion URL. - EventIngestionUrl *string `type:"string"` - - // The screen data URL. - ScreenDataUrl *string `type:"string"` - - // The screen sharing URL. - ScreenSharingUrl *string `type:"string"` - - // The screen viewing URL. - ScreenViewingUrl *string `type:"string"` - - // The signaling URL. - SignalingUrl *string `type:"string"` +type ListTagsForResourceInput struct { + _ struct{} `type:"structure" nopayload:"true"` - // The turn control URL. - TurnControlUrl *string `type:"string"` + // The ARN of the resource. + // + // ResourceARN is a required field + ResourceARN *string `location:"querystring" locationName:"arn" min:"1" type:"string" required:"true"` } // String returns the string representation. @@ -3675,7 +4003,7 @@ type MediaPlacement struct { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MediaPlacement) String() string { +func (s ListTagsForResourceInput) String() string { return awsutil.Prettify(s) } @@ -3684,13 +4012,114 @@ func (s MediaPlacement) String() string { // API parameter values that are decorated as "sensitive" in the API will not // be included in the string output. The member name will be present, but the // value will be replaced with "sensitive". -func (s MediaPlacement) GoString() string { +func (s ListTagsForResourceInput) GoString() string { return s.String() } -// SetAudioFallbackUrl sets the AudioFallbackUrl field's value. -func (s *MediaPlacement) SetAudioFallbackUrl(v string) *MediaPlacement { - s.AudioFallbackUrl = &v +// Validate inspects the fields of the type to determine if they are valid. +func (s *ListTagsForResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "ListTagsForResourceInput"} + if s.ResourceARN == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceARN")) + } + if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceARN sets the ResourceARN field's value. +func (s *ListTagsForResourceInput) SetResourceARN(v string) *ListTagsForResourceInput { + s.ResourceARN = &v + return s +} + +type ListTagsForResourceOutput struct { + _ struct{} `type:"structure"` + + // The tags requested for the specified resource. + Tags []*Tag `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 ListTagsForResourceOutput) 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 ListTagsForResourceOutput) GoString() string { + return s.String() +} + +// SetTags sets the Tags field's value. +func (s *ListTagsForResourceOutput) SetTags(v []*Tag) *ListTagsForResourceOutput { + s.Tags = v + return s +} + +// A set of endpoints used by clients to connect to the media service group +// for an Amazon Chime SDK meeting. +type MediaPlacement struct { + _ struct{} `type:"structure"` + + // The audio fallback URL. + AudioFallbackUrl *string `type:"string"` + + // The audio host URL. + AudioHostUrl *string `type:"string"` + + // The event ingestion URL. + EventIngestionUrl *string `type:"string"` + + // The screen data URL. + ScreenDataUrl *string `type:"string"` + + // The screen sharing URL. + ScreenSharingUrl *string `type:"string"` + + // The screen viewing URL. + ScreenViewingUrl *string `type:"string"` + + // The signaling URL. + SignalingUrl *string `type:"string"` + + // The turn control URL. + TurnControlUrl *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 MediaPlacement) 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 MediaPlacement) GoString() string { + return s.String() +} + +// SetAudioFallbackUrl sets the AudioFallbackUrl field's value. +func (s *MediaPlacement) SetAudioFallbackUrl(v string) *MediaPlacement { + s.AudioFallbackUrl = &v return s } @@ -3758,6 +4187,9 @@ type Meeting struct { // Available values in AWS GovCloud (US) Regions: us-gov-east-1, us-gov-west-1. MediaRegion *string `min:"2" type:"string"` + // The ARN of the meeting. + MeetingArn *string `min:"1" type:"string"` + // The features available to a meeting, such as Amazon Voice Focus. MeetingFeatures *MeetingFeaturesConfiguration `type:"structure"` @@ -3814,6 +4246,12 @@ func (s *Meeting) SetMediaRegion(v string) *Meeting { return s } +// SetMeetingArn sets the MeetingArn field's value. +func (s *Meeting) SetMeetingArn(v string) *Meeting { + s.MeetingArn = &v + return s +} + // SetMeetingFeatures sets the MeetingFeatures field's value. func (s *Meeting) SetMeetingFeatures(v *MeetingFeaturesConfiguration) *Meeting { s.MeetingFeatures = v @@ -4027,6 +4465,78 @@ func (s *NotificationsConfiguration) SetSqsQueueArn(v string) *NotificationsConf return s } +// The resource that you want to tag couldn't be found. +type ResourceNotFoundException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Code_ *string `locationName:"Code" type:"string"` + + Message_ *string `locationName:"Message" type:"string"` + + // The ID of the resource that couldn't be found. + RequestId *string `type:"string"` + + // The name of the resource that couldn't be found. + ResourceName *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 ResourceNotFoundException) 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 ResourceNotFoundException) GoString() string { + return s.String() +} + +func newErrorResourceNotFoundException(v protocol.ResponseMetadata) error { + return &ResourceNotFoundException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *ResourceNotFoundException) Code() string { + return "ResourceNotFoundException" +} + +// Message returns the exception's message. +func (s *ResourceNotFoundException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *ResourceNotFoundException) OrigErr() error { + return nil +} + +func (s *ResourceNotFoundException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *ResourceNotFoundException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *ResourceNotFoundException) RequestID() string { + return s.RespMetadata.RequestID +} + // The service encountered an unexpected error. type ServiceFailureException struct { _ struct{} `type:"structure"` @@ -4036,6 +4546,7 @@ type ServiceFailureException struct { Message_ *string `locationName:"Message" type:"string"` + // The ID of the failed request. RequestId *string `type:"string"` } @@ -4329,6 +4840,165 @@ func (s StopMeetingTranscriptionOutput) GoString() string { return s.String() } +// A key-value pair that you define. +type Tag struct { + _ struct{} `type:"structure"` + + // The tag's key. + // + // Key is a required field + Key *string `min:"1" type:"string" required:"true"` + + // The tag's value. + // + // Value is a required field + Value *string `type:"string" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s Tag) 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 Tag) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *Tag) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "Tag"} + if s.Key == nil { + invalidParams.Add(request.NewErrParamRequired("Key")) + } + if s.Key != nil && len(*s.Key) < 1 { + invalidParams.Add(request.NewErrParamMinLen("Key", 1)) + } + if s.Value == nil { + invalidParams.Add(request.NewErrParamRequired("Value")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetKey sets the Key field's value. +func (s *Tag) SetKey(v string) *Tag { + s.Key = &v + return s +} + +// SetValue sets the Value field's value. +func (s *Tag) SetValue(v string) *Tag { + s.Value = &v + return s +} + +type TagResourceInput struct { + _ struct{} `type:"structure"` + + // The ARN of the resource. + // + // ResourceARN is a required field + ResourceARN *string `min:"1" type:"string" required:"true"` + + // Lists the requested tags. + // + // Tags is a required field + Tags []*Tag `type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceInput) 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 TagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *TagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "TagResourceInput"} + if s.ResourceARN == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceARN")) + } + if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) + } + if s.Tags == nil { + invalidParams.Add(request.NewErrParamRequired("Tags")) + } + if s.Tags != nil { + for i, v := range s.Tags { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceARN sets the ResourceARN field's value. +func (s *TagResourceInput) SetResourceARN(v string) *TagResourceInput { + s.ResourceARN = &v + return s +} + +// SetTags sets the Tags field's value. +func (s *TagResourceInput) SetTags(v []*Tag) *TagResourceInput { + s.Tags = v + return s +} + +type TagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s TagResourceOutput) 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 TagResourceOutput) GoString() string { + return s.String() +} + // The number of customer requests exceeds the request rate limit. type ThrottlingException struct { _ struct{} `type:"structure"` @@ -4338,6 +5008,7 @@ type ThrottlingException struct { Message_ *string `locationName:"Message" type:"string"` + // The ID of the request that exceeded the throttling limit. RequestId *string `type:"string"` } @@ -4397,6 +5068,78 @@ func (s *ThrottlingException) RequestID() string { return s.RespMetadata.RequestID } +// Too many tags were added to the specified resource. +type TooManyTagsException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Code_ *string `locationName:"Code" type:"string"` + + Message_ *string `locationName:"Message" type:"string"` + + // The ID of the request that contains too many tags. + RequestId *string `type:"string"` + + // The name of the resource that received too many tags. + ResourceName *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 TooManyTagsException) 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 TooManyTagsException) GoString() string { + return s.String() +} + +func newErrorTooManyTagsException(v protocol.ResponseMetadata) error { + return &TooManyTagsException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *TooManyTagsException) Code() string { + return "TooManyTagsException" +} + +// Message returns the exception's message. +func (s *TooManyTagsException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *TooManyTagsException) OrigErr() error { + return nil +} + +func (s *TooManyTagsException) Error() string { + return fmt.Sprintf("%s: %s\n%s", s.Code(), s.Message(), s.String()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *TooManyTagsException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *TooManyTagsException) RequestID() string { + return s.RespMetadata.RequestID +} + // The configuration for the current transcription operation. Must contain EngineTranscribeSettings // or EngineTranscribeMedicalSettings. type TranscriptionConfiguration struct { @@ -4598,6 +5341,91 @@ func (s *UnprocessableEntityException) RequestID() string { return s.RespMetadata.RequestID } +type UntagResourceInput struct { + _ struct{} `type:"structure"` + + // The ARN of the resource that you're removing tags from. + // + // ResourceARN is a required field + ResourceARN *string `min:"1" type:"string" required:"true"` + + // The tag keys being removed from the resources. + // + // TagKeys is a required field + TagKeys []*string `type:"list" required:"true"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s UntagResourceInput) 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 UntagResourceInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UntagResourceInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UntagResourceInput"} + if s.ResourceARN == nil { + invalidParams.Add(request.NewErrParamRequired("ResourceARN")) + } + if s.ResourceARN != nil && len(*s.ResourceARN) < 1 { + invalidParams.Add(request.NewErrParamMinLen("ResourceARN", 1)) + } + if s.TagKeys == nil { + invalidParams.Add(request.NewErrParamRequired("TagKeys")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetResourceARN sets the ResourceARN field's value. +func (s *UntagResourceInput) SetResourceARN(v string) *UntagResourceInput { + s.ResourceARN = &v + return s +} + +// SetTagKeys sets the TagKeys field's value. +func (s *UntagResourceInput) SetTagKeys(v []*string) *UntagResourceInput { + s.TagKeys = v + return s +} + +type UntagResourceOutput struct { + _ struct{} `type:"structure"` +} + +// String returns the string representation. +// +// 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 UntagResourceOutput) 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 UntagResourceOutput) GoString() string { + return s.String() +} + type UpdateAttendeeCapabilitiesInput struct { _ struct{} `type:"structure"` diff --git a/service/chimesdkmeetings/chimesdkmeetingsiface/interface.go b/service/chimesdkmeetings/chimesdkmeetingsiface/interface.go index 523ea0f994..9e942568e2 100644 --- a/service/chimesdkmeetings/chimesdkmeetingsiface/interface.go +++ b/service/chimesdkmeetings/chimesdkmeetingsiface/interface.go @@ -103,6 +103,10 @@ type ChimeSDKMeetingsAPI interface { ListAttendeesPages(*chimesdkmeetings.ListAttendeesInput, func(*chimesdkmeetings.ListAttendeesOutput, bool) bool) error ListAttendeesPagesWithContext(aws.Context, *chimesdkmeetings.ListAttendeesInput, func(*chimesdkmeetings.ListAttendeesOutput, bool) bool, ...request.Option) error + ListTagsForResource(*chimesdkmeetings.ListTagsForResourceInput) (*chimesdkmeetings.ListTagsForResourceOutput, error) + ListTagsForResourceWithContext(aws.Context, *chimesdkmeetings.ListTagsForResourceInput, ...request.Option) (*chimesdkmeetings.ListTagsForResourceOutput, error) + ListTagsForResourceRequest(*chimesdkmeetings.ListTagsForResourceInput) (*request.Request, *chimesdkmeetings.ListTagsForResourceOutput) + StartMeetingTranscription(*chimesdkmeetings.StartMeetingTranscriptionInput) (*chimesdkmeetings.StartMeetingTranscriptionOutput, error) StartMeetingTranscriptionWithContext(aws.Context, *chimesdkmeetings.StartMeetingTranscriptionInput, ...request.Option) (*chimesdkmeetings.StartMeetingTranscriptionOutput, error) StartMeetingTranscriptionRequest(*chimesdkmeetings.StartMeetingTranscriptionInput) (*request.Request, *chimesdkmeetings.StartMeetingTranscriptionOutput) @@ -111,6 +115,14 @@ type ChimeSDKMeetingsAPI interface { StopMeetingTranscriptionWithContext(aws.Context, *chimesdkmeetings.StopMeetingTranscriptionInput, ...request.Option) (*chimesdkmeetings.StopMeetingTranscriptionOutput, error) StopMeetingTranscriptionRequest(*chimesdkmeetings.StopMeetingTranscriptionInput) (*request.Request, *chimesdkmeetings.StopMeetingTranscriptionOutput) + TagResource(*chimesdkmeetings.TagResourceInput) (*chimesdkmeetings.TagResourceOutput, error) + TagResourceWithContext(aws.Context, *chimesdkmeetings.TagResourceInput, ...request.Option) (*chimesdkmeetings.TagResourceOutput, error) + TagResourceRequest(*chimesdkmeetings.TagResourceInput) (*request.Request, *chimesdkmeetings.TagResourceOutput) + + UntagResource(*chimesdkmeetings.UntagResourceInput) (*chimesdkmeetings.UntagResourceOutput, error) + UntagResourceWithContext(aws.Context, *chimesdkmeetings.UntagResourceInput, ...request.Option) (*chimesdkmeetings.UntagResourceOutput, error) + UntagResourceRequest(*chimesdkmeetings.UntagResourceInput) (*request.Request, *chimesdkmeetings.UntagResourceOutput) + UpdateAttendeeCapabilities(*chimesdkmeetings.UpdateAttendeeCapabilitiesInput) (*chimesdkmeetings.UpdateAttendeeCapabilitiesOutput, error) UpdateAttendeeCapabilitiesWithContext(aws.Context, *chimesdkmeetings.UpdateAttendeeCapabilitiesInput, ...request.Option) (*chimesdkmeetings.UpdateAttendeeCapabilitiesOutput, error) UpdateAttendeeCapabilitiesRequest(*chimesdkmeetings.UpdateAttendeeCapabilitiesInput) (*request.Request, *chimesdkmeetings.UpdateAttendeeCapabilitiesOutput) diff --git a/service/chimesdkmeetings/errors.go b/service/chimesdkmeetings/errors.go index cac3dcb859..473b7cf720 100644 --- a/service/chimesdkmeetings/errors.go +++ b/service/chimesdkmeetings/errors.go @@ -38,6 +38,12 @@ const ( // One or more of the resources in the request does not exist in the system. ErrCodeNotFoundException = "NotFoundException" + // ErrCodeResourceNotFoundException for service response error code + // "ResourceNotFoundException". + // + // The resource that you want to tag couldn't be found. + ErrCodeResourceNotFoundException = "ResourceNotFoundException" + // ErrCodeServiceFailureException for service response error code // "ServiceFailureException". // @@ -56,6 +62,12 @@ const ( // The number of customer requests exceeds the request rate limit. ErrCodeThrottlingException = "ThrottlingException" + // ErrCodeTooManyTagsException for service response error code + // "TooManyTagsException". + // + // Too many tags were added to the specified resource. + ErrCodeTooManyTagsException = "TooManyTagsException" + // ErrCodeUnauthorizedException for service response error code // "UnauthorizedException". // @@ -76,9 +88,11 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "ForbiddenException": newErrorForbiddenException, "LimitExceededException": newErrorLimitExceededException, "NotFoundException": newErrorNotFoundException, + "ResourceNotFoundException": newErrorResourceNotFoundException, "ServiceFailureException": newErrorServiceFailureException, "ServiceUnavailableException": newErrorServiceUnavailableException, "ThrottlingException": newErrorThrottlingException, + "TooManyTagsException": newErrorTooManyTagsException, "UnauthorizedException": newErrorUnauthorizedException, "UnprocessableEntityException": newErrorUnprocessableEntityException, } diff --git a/service/configservice/api.go b/service/configservice/api.go index 6b5ecfd7c7..40930235c4 100644 --- a/service/configservice/api.go +++ b/service/configservice/api.go @@ -32514,6 +32514,33 @@ const ( // ResourceTypeAwsAccessAnalyzerAnalyzer is a ResourceType enum value ResourceTypeAwsAccessAnalyzerAnalyzer = "AWS::AccessAnalyzer::Analyzer" + + // ResourceTypeAwsAthenaWorkGroup is a ResourceType enum value + ResourceTypeAwsAthenaWorkGroup = "AWS::Athena::WorkGroup" + + // ResourceTypeAwsAthenaDataCatalog is a ResourceType enum value + ResourceTypeAwsAthenaDataCatalog = "AWS::Athena::DataCatalog" + + // ResourceTypeAwsDetectiveGraph is a ResourceType enum value + ResourceTypeAwsDetectiveGraph = "AWS::Detective::Graph" + + // ResourceTypeAwsGlobalAcceleratorAccelerator is a ResourceType enum value + ResourceTypeAwsGlobalAcceleratorAccelerator = "AWS::GlobalAccelerator::Accelerator" + + // ResourceTypeAwsGlobalAcceleratorEndpointGroup is a ResourceType enum value + ResourceTypeAwsGlobalAcceleratorEndpointGroup = "AWS::GlobalAccelerator::EndpointGroup" + + // ResourceTypeAwsGlobalAcceleratorListener is a ResourceType enum value + ResourceTypeAwsGlobalAcceleratorListener = "AWS::GlobalAccelerator::Listener" + + // ResourceTypeAwsEc2TransitGatewayAttachment is a ResourceType enum value + ResourceTypeAwsEc2TransitGatewayAttachment = "AWS::EC2::TransitGatewayAttachment" + + // ResourceTypeAwsEc2TransitGatewayRouteTable is a ResourceType enum value + ResourceTypeAwsEc2TransitGatewayRouteTable = "AWS::EC2::TransitGatewayRouteTable" + + // ResourceTypeAwsDmsCertificate is a ResourceType enum value + ResourceTypeAwsDmsCertificate = "AWS::DMS::Certificate" ) // ResourceType_Values returns all elements of the ResourceType enum @@ -32654,6 +32681,15 @@ func ResourceType_Values() []string { ResourceTypeAwsBatchJobQueue, ResourceTypeAwsBatchComputeEnvironment, ResourceTypeAwsAccessAnalyzerAnalyzer, + ResourceTypeAwsAthenaWorkGroup, + ResourceTypeAwsAthenaDataCatalog, + ResourceTypeAwsDetectiveGraph, + ResourceTypeAwsGlobalAcceleratorAccelerator, + ResourceTypeAwsGlobalAcceleratorEndpointGroup, + ResourceTypeAwsGlobalAcceleratorListener, + ResourceTypeAwsEc2TransitGatewayAttachment, + ResourceTypeAwsEc2TransitGatewayRouteTable, + ResourceTypeAwsDmsCertificate, } } diff --git a/service/databasemigrationservice/api.go b/service/databasemigrationservice/api.go index cd9b91c290..5c8d8e78a5 100644 --- a/service/databasemigrationservice/api.go +++ b/service/databasemigrationservice/api.go @@ -8102,9 +8102,8 @@ type CreateEndpointInput struct { // The type of engine for the endpoint. Valid values, depending on the EndpointType // value, include "mysql", "oracle", "postgres", "mariadb", "aurora", "aurora-postgresql", - // "opensearch", "redshift", "s3", "db2", db2-zos, "azuredb", "sybase", "dynamodb", - // "mongodb", "kinesis", "kafka", "elasticsearch", "docdb", "sqlserver", "neptune", - // and babelfish. + // "opensearch", "redshift", "s3", "db2", "azuredb", "sybase", "dynamodb", "mongodb", + // "kinesis", "kafka", "elasticsearch", "docdb", "sqlserver", and "neptune". // // EngineName is a required field EngineName *string `type:"string" required:"true"` diff --git a/service/iot/api.go b/service/iot/api.go index 13a964b5b6..2f99f91568 100644 --- a/service/iot/api.go +++ b/service/iot/api.go @@ -3279,7 +3279,7 @@ func (c *IoT) CreateProvisioningTemplateRequest(input *CreateProvisioningTemplat // CreateProvisioningTemplate API operation for AWS IoT. // -// Creates a fleet provisioning template. +// Creates a provisioning template. // // Requires permission to access the CreateProvisioningTemplate (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -3373,7 +3373,7 @@ func (c *IoT) CreateProvisioningTemplateVersionRequest(input *CreateProvisioning // CreateProvisioningTemplateVersion API operation for AWS IoT. // -// Creates a new version of a fleet provisioning template. +// Creates a new version of a provisioning template. // // Requires permission to access the CreateProvisioningTemplateVersion (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -6041,7 +6041,7 @@ func (c *IoT) DeleteProvisioningTemplateRequest(input *DeleteProvisioningTemplat // DeleteProvisioningTemplate API operation for AWS IoT. // -// Deletes a fleet provisioning template. +// Deletes a provisioning template. // // Requires permission to access the DeleteProvisioningTemplate (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -6140,7 +6140,7 @@ func (c *IoT) DeleteProvisioningTemplateVersionRequest(input *DeleteProvisioning // DeleteProvisioningTemplateVersion API operation for AWS IoT. // -// Deletes a fleet provisioning template version. +// Deletes a provisioning template version. // // Requires permission to access the DeleteProvisioningTemplateVersion (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -9414,7 +9414,7 @@ func (c *IoT) DescribeProvisioningTemplateRequest(input *DescribeProvisioningTem // DescribeProvisioningTemplate API operation for AWS IoT. // -// Returns information about a fleet provisioning template. +// Returns information about a provisioning template. // // Requires permission to access the DescribeProvisioningTemplate (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -9505,7 +9505,7 @@ func (c *IoT) DescribeProvisioningTemplateVersionRequest(input *DescribeProvisio // DescribeProvisioningTemplateVersion API operation for AWS IoT. // -// Returns information about a fleet provisioning template version. +// Returns information about a provisioning template version. // // Requires permission to access the DescribeProvisioningTemplateVersion (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -10433,7 +10433,8 @@ func (c *IoT) DetachPrincipalPolicyRequest(input *DetachPrincipalPolicyInput) (r // // Removes the specified policy from the specified certificate. // -// This action is deprecated. Please use DetachPolicy instead. +// Note: This action is deprecated and works as expected for backward compatibility, +// but we won't add enhancements. Use DetachPolicy instead. // // Requires permission to access the DetachPrincipalPolicy (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -16678,7 +16679,8 @@ func (c *IoT) ListPolicyPrincipalsRequest(input *ListPolicyPrincipalsInput) (req // // Lists the principals associated with the specified policy. // -// Note: This action is deprecated. Please use ListTargetsForPolicy instead. +// Note: This action is deprecated and works as expected for backward compatibility, +// but we won't add enhancements. Use ListTargetsForPolicy instead. // // Requires permission to access the ListPolicyPrincipals (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -16940,7 +16942,8 @@ func (c *IoT) ListPrincipalPoliciesRequest(input *ListPrincipalPoliciesInput) (r // Lists the policies attached to the specified principal. If you use an Cognito // identity, the ID must be in AmazonCognito Identity format (https://docs.aws.amazon.com/cognitoidentity/latest/APIReference/API_GetCredentialsForIdentity.html#API_GetCredentialsForIdentity_RequestSyntax). // -// Note: This action is deprecated. Please use ListAttachedPolicies instead. +// Note: This action is deprecated and works as expected for backward compatibility, +// but we won't add enhancements. Use ListAttachedPolicies instead. // // Requires permission to access the ListPrincipalPolicies (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -17254,7 +17257,7 @@ func (c *IoT) ListProvisioningTemplateVersionsRequest(input *ListProvisioningTem // ListProvisioningTemplateVersions API operation for AWS IoT. // -// A list of fleet provisioning template versions. +// A list of provisioning template versions. // // Requires permission to access the ListProvisioningTemplateVersions (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -17403,7 +17406,7 @@ func (c *IoT) ListProvisioningTemplatesRequest(input *ListProvisioningTemplatesI // ListProvisioningTemplates API operation for AWS IoT. // -// Lists the fleet provisioning templates in your Amazon Web Services account. +// Lists the provisioning templates in your Amazon Web Services account. // // Requires permission to access the ListProvisioningTemplates (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -20739,6 +20742,9 @@ func (c *IoT) RegisterCACertificateRequest(input *RegisterCACertificateInput) (r // API operation RegisterCACertificate for usage and error information. // // Returned Error Types: +// * ResourceNotFoundException +// The specified resource does not exist. +// // * ResourceAlreadyExistsException // The resource already exists. // @@ -24433,7 +24439,7 @@ func (c *IoT) UpdateProvisioningTemplateRequest(input *UpdateProvisioningTemplat // UpdateProvisioningTemplate API operation for AWS IoT. // -// Updates a fleet provisioning template. +// Updates a provisioning template. // // Requires permission to access the UpdateProvisioningTemplate (https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) // action. @@ -33922,22 +33928,22 @@ func (s *CreateProvisioningClaimOutput) SetKeyPair(v *KeyPair) *CreateProvisioni type CreateProvisioningTemplateInput struct { _ struct{} `type:"structure"` - // The description of the fleet provisioning template. + // The description of the provisioning template. Description *string `locationName:"description" type:"string"` - // True to enable the fleet provisioning template, otherwise false. + // True to enable the provisioning template, otherwise false. Enabled *bool `locationName:"enabled" type:"boolean"` // Creates a pre-provisioning hook template. PreProvisioningHook *ProvisioningHook `locationName:"preProvisioningHook" type:"structure"` - // The role ARN for the role associated with the fleet provisioning template. - // This IoT role grants permission to provision a device. + // The role ARN for the role associated with the provisioning template. This + // IoT role grants permission to provision a device. // // ProvisioningRoleArn is a required field ProvisioningRoleArn *string `locationName:"provisioningRoleArn" min:"20" type:"string" required:"true"` - // Metadata which can be used to manage the fleet provisioning template. + // Metadata which can be used to manage the provisioning template. // // For URI Request parameters use format: ...key1=value1&key2=value2... // @@ -33946,15 +33952,21 @@ type CreateProvisioningTemplateInput struct { // For the cli-input-json file use format: "tags": "key1=value1&key2=value2..." Tags []*Tag `locationName:"tags" type:"list"` - // The JSON formatted contents of the fleet provisioning template. + // The JSON formatted contents of the provisioning template. // // TemplateBody is a required field TemplateBody *string `locationName:"templateBody" type:"string" required:"true"` - // The name of the fleet provisioning template. + // The name of the provisioning template. // // TemplateName is a required field TemplateName *string `locationName:"templateName" min:"1" type:"string" required:"true"` + + // The type you define in a provisioning template. You can create a template + // with only one type. You can't change the template type after its creation. + // The default value is FLEET_PROVISIONING. For more information about provisioning + // template, see: Provisioning template (https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html). + Type *string `locationName:"type" type:"string" enum:"TemplateType"` } // String returns the string representation. @@ -34057,16 +34069,22 @@ func (s *CreateProvisioningTemplateInput) SetTemplateName(v string) *CreateProvi return s } +// SetType sets the Type field's value. +func (s *CreateProvisioningTemplateInput) SetType(v string) *CreateProvisioningTemplateInput { + s.Type = &v + return s +} + type CreateProvisioningTemplateOutput struct { _ struct{} `type:"structure"` - // The default version of the fleet provisioning template. + // The default version of the provisioning template. DefaultVersionId *int64 `locationName:"defaultVersionId" type:"integer"` // The ARN that identifies the provisioning template. TemplateArn *string `locationName:"templateArn" type:"string"` - // The name of the fleet provisioning template. + // The name of the provisioning template. TemplateName *string `locationName:"templateName" min:"1" type:"string"` } @@ -34112,12 +34130,12 @@ type CreateProvisioningTemplateVersionInput struct { // Sets a fleet provision template version as the default version. SetAsDefault *bool `location:"querystring" locationName:"setAsDefault" type:"boolean"` - // The JSON formatted contents of the fleet provisioning template. + // The JSON formatted contents of the provisioning template. // // TemplateBody is a required field TemplateBody *string `locationName:"templateBody" type:"string" required:"true"` - // The name of the fleet provisioning template. + // The name of the provisioning template. // // TemplateName is a required field TemplateName *string `location:"uri" locationName:"templateName" min:"1" type:"string" required:"true"` @@ -34181,17 +34199,17 @@ func (s *CreateProvisioningTemplateVersionInput) SetTemplateName(v string) *Crea type CreateProvisioningTemplateVersionOutput struct { _ struct{} `type:"structure"` - // True if the fleet provisioning template version is the default version, otherwise + // True if the provisioning template version is the default version, otherwise // false. IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` // The ARN that identifies the provisioning template. TemplateArn *string `locationName:"templateArn" type:"string"` - // The name of the fleet provisioning template. + // The name of the provisioning template. TemplateName *string `locationName:"templateName" min:"1" type:"string"` - // The version of the fleet provisioning template. + // The version of the provisioning template. VersionId *int64 `locationName:"versionId" type:"integer"` } @@ -37189,12 +37207,12 @@ func (s DeleteProvisioningTemplateOutput) GoString() string { type DeleteProvisioningTemplateVersionInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the fleet provisioning template version to delete. + // The name of the provisioning template version to delete. // // TemplateName is a required field TemplateName *string `location:"uri" locationName:"templateName" min:"1" type:"string" required:"true"` - // The fleet provisioning template version ID to delete. + // The provisioning template version ID to delete. // // VersionId is a required field VersionId *int64 `location:"uri" locationName:"versionId" type:"integer" required:"true"` @@ -40796,7 +40814,7 @@ func (s *DescribeMitigationActionOutput) SetRoleArn(v string) *DescribeMitigatio type DescribeProvisioningTemplateInput struct { _ struct{} `type:"structure" nopayload:"true"` - // The name of the fleet provisioning template. + // The name of the provisioning template. // // TemplateName is a required field TemplateName *string `location:"uri" locationName:"templateName" min:"1" type:"string" required:"true"` @@ -40845,19 +40863,19 @@ func (s *DescribeProvisioningTemplateInput) SetTemplateName(v string) *DescribeP type DescribeProvisioningTemplateOutput struct { _ struct{} `type:"structure"` - // The date when the fleet provisioning template was created. + // The date when the provisioning template was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` // The default fleet template version ID. DefaultVersionId *int64 `locationName:"defaultVersionId" type:"integer"` - // The description of the fleet provisioning template. + // The description of the provisioning template. Description *string `locationName:"description" type:"string"` - // True if the fleet provisioning template is enabled, otherwise false. + // True if the provisioning template is enabled, otherwise false. Enabled *bool `locationName:"enabled" type:"boolean"` - // The date when the fleet provisioning template was last modified. + // The date when the provisioning template was last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"` // Gets information about a pre-provisioned hook. @@ -40867,14 +40885,20 @@ type DescribeProvisioningTemplateOutput struct { // grants permission to provision a device. ProvisioningRoleArn *string `locationName:"provisioningRoleArn" min:"20" type:"string"` - // The ARN of the fleet provisioning template. + // The ARN of the provisioning template. TemplateArn *string `locationName:"templateArn" type:"string"` - // The JSON formatted contents of the fleet provisioning template. + // The JSON formatted contents of the provisioning template. TemplateBody *string `locationName:"templateBody" type:"string"` - // The name of the fleet provisioning template. + // The name of the provisioning template. TemplateName *string `locationName:"templateName" min:"1" type:"string"` + + // The type you define in a provisioning template. You can create a template + // with only one type. You can't change the template type after its creation. + // The default value is FLEET_PROVISIONING. For more information about provisioning + // template, see: Provisioning template (https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html). + Type *string `locationName:"type" type:"string" enum:"TemplateType"` } // String returns the string representation. @@ -40955,6 +40979,12 @@ func (s *DescribeProvisioningTemplateOutput) SetTemplateName(v string) *Describe return s } +// SetType sets the Type field's value. +func (s *DescribeProvisioningTemplateOutput) SetType(v string) *DescribeProvisioningTemplateOutput { + s.Type = &v + return s +} + type DescribeProvisioningTemplateVersionInput struct { _ struct{} `type:"structure" nopayload:"true"` @@ -40963,7 +40993,7 @@ type DescribeProvisioningTemplateVersionInput struct { // TemplateName is a required field TemplateName *string `location:"uri" locationName:"templateName" min:"1" type:"string" required:"true"` - // The fleet provisioning template version ID. + // The provisioning template version ID. // // VersionId is a required field VersionId *int64 `location:"uri" locationName:"versionId" type:"integer" required:"true"` @@ -41021,16 +41051,16 @@ func (s *DescribeProvisioningTemplateVersionInput) SetVersionId(v int64) *Descri type DescribeProvisioningTemplateVersionOutput struct { _ struct{} `type:"structure"` - // The date when the fleet provisioning template version was created. + // The date when the provisioning template version was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` - // True if the fleet provisioning template version is the default version. + // True if the provisioning template version is the default version. IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` - // The JSON formatted contents of the fleet provisioning template version. + // The JSON formatted contents of the provisioning template version. TemplateBody *string `locationName:"templateBody" type:"string"` - // The fleet provisioning template version ID. + // The provisioning template version ID. VersionId *int64 `locationName:"versionId" type:"integer"` } @@ -49456,6 +49486,9 @@ type ListCACertificatesInput struct { // The result page size. PageSize *int64 `location:"querystring" locationName:"pageSize" min:"1" type:"integer"` + + // The name of the provisioning template. + TemplateName *string `location:"querystring" locationName:"templateName" min:"1" type:"string"` } // String returns the string representation. @@ -49482,6 +49515,9 @@ func (s *ListCACertificatesInput) Validate() error { if s.PageSize != nil && *s.PageSize < 1 { invalidParams.Add(request.NewErrParamMinValue("PageSize", 1)) } + if s.TemplateName != nil && len(*s.TemplateName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateName", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -49507,6 +49543,12 @@ func (s *ListCACertificatesInput) SetPageSize(v int64) *ListCACertificatesInput return s } +// SetTemplateName sets the TemplateName field's value. +func (s *ListCACertificatesInput) SetTemplateName(v string) *ListCACertificatesInput { + s.TemplateName = &v + return s +} + // The output from the ListCACertificates operation. type ListCACertificatesOutput struct { _ struct{} `type:"structure"` @@ -52211,7 +52253,7 @@ type ListProvisioningTemplateVersionsInput struct { // A token to retrieve the next set of results. NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` - // The name of the fleet provisioning template. + // The name of the provisioning template. // // TemplateName is a required field TemplateName *string `location:"uri" locationName:"templateName" min:"1" type:"string" required:"true"` @@ -52278,7 +52320,7 @@ type ListProvisioningTemplateVersionsOutput struct { // A token to retrieve the next set of results. NextToken *string `locationName:"nextToken" type:"string"` - // The list of fleet provisioning template versions. + // The list of provisioning template versions. Versions []*ProvisioningTemplateVersionSummary `locationName:"versions" type:"list"` } @@ -52371,7 +52413,7 @@ type ListProvisioningTemplatesOutput struct { // A token to retrieve the next set of results. NextToken *string `locationName:"nextToken" type:"string"` - // A list of fleet provisioning templates + // A list of provisioning templates Templates []*ProvisioningTemplateSummary `locationName:"templates" type:"list"` } @@ -56642,27 +56684,33 @@ func (s *ProvisioningHook) SetTargetArn(v string) *ProvisioningHook { return s } -// A summary of information about a fleet provisioning template. +// A summary of information about a provisioning template. type ProvisioningTemplateSummary struct { _ struct{} `type:"structure"` - // The date when the fleet provisioning template summary was created. + // The date when the provisioning template summary was created. CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` - // The description of the fleet provisioning template. + // The description of the provisioning template. Description *string `locationName:"description" type:"string"` // True if the fleet provision template is enabled, otherwise false. Enabled *bool `locationName:"enabled" type:"boolean"` - // The date when the fleet provisioning template summary was last modified. + // The date when the provisioning template summary was last modified. LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"` - // The ARN of the fleet provisioning template. + // The ARN of the provisioning template. TemplateArn *string `locationName:"templateArn" type:"string"` - // The name of the fleet provisioning template. + // The name of the provisioning template. TemplateName *string `locationName:"templateName" min:"1" type:"string"` + + // The type you define in a provisioning template. You can create a template + // with only one type. You can't change the template type after its creation. + // The default value is FLEET_PROVISIONING. For more information about provisioning + // template, see: Provisioning template (https://docs.aws.amazon.com/iot/latest/developerguide/provision-template.html). + Type *string `locationName:"type" type:"string" enum:"TemplateType"` } // String returns the string representation. @@ -56719,14 +56767,20 @@ func (s *ProvisioningTemplateSummary) SetTemplateName(v string) *ProvisioningTem return s } +// SetType sets the Type field's value. +func (s *ProvisioningTemplateSummary) SetType(v string) *ProvisioningTemplateSummary { + s.Type = &v + return s +} + // A summary of information about a fleet provision template version. type ProvisioningTemplateVersionSummary struct { _ struct{} `type:"structure"` - // The date when the fleet provisioning template version was created + // The date when the provisioning template version was created CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` - // True if the fleet provisioning template version is the default version, otherwise + // True if the provisioning template version is the default version, otherwise // false. IsDefaultVersion *bool `locationName:"isDefaultVersion" type:"boolean"` @@ -57704,6 +57758,9 @@ type RegistrationConfig struct { // The template body. TemplateBody *string `locationName:"templateBody" type:"string"` + + // The name of the provisioning template. + TemplateName *string `locationName:"templateName" min:"1" type:"string"` } // String returns the string representation. @@ -57730,6 +57787,9 @@ func (s *RegistrationConfig) Validate() error { if s.RoleArn != nil && len(*s.RoleArn) < 20 { invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20)) } + if s.TemplateName != nil && len(*s.TemplateName) < 1 { + invalidParams.Add(request.NewErrParamMinLen("TemplateName", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -57749,6 +57809,12 @@ func (s *RegistrationConfig) SetTemplateBody(v string) *RegistrationConfig { return s } +// SetTemplateName sets the TemplateName field's value. +func (s *RegistrationConfig) SetTemplateName(v string) *RegistrationConfig { + s.TemplateName = &v + return s +} + // The input for the RejectCertificateTransfer operation. type RejectCertificateTransferInput struct { _ struct{} `type:"structure"` @@ -66189,10 +66255,10 @@ type UpdateProvisioningTemplateInput struct { // The ID of the default provisioning template version. DefaultVersionId *int64 `locationName:"defaultVersionId" type:"integer"` - // The description of the fleet provisioning template. + // The description of the provisioning template. Description *string `locationName:"description" type:"string"` - // True to enable the fleet provisioning template, otherwise false. + // True to enable the provisioning template, otherwise false. Enabled *bool `locationName:"enabled" type:"boolean"` // Updates the pre-provisioning hook template. @@ -66205,7 +66271,7 @@ type UpdateProvisioningTemplateInput struct { // Removes pre-provisioning hook template. RemovePreProvisioningHook *bool `locationName:"removePreProvisioningHook" type:"boolean"` - // The name of the fleet provisioning template. + // The name of the provisioning template. // // TemplateName is a required field TemplateName *string `location:"uri" locationName:"templateName" min:"1" type:"string" required:"true"` @@ -69538,6 +69604,22 @@ func TargetSelection_Values() []string { } } +const ( + // TemplateTypeFleetProvisioning is a TemplateType enum value + TemplateTypeFleetProvisioning = "FLEET_PROVISIONING" + + // TemplateTypeJitp is a TemplateType enum value + TemplateTypeJitp = "JITP" +) + +// TemplateType_Values returns all elements of the TemplateType enum +func TemplateType_Values() []string { + return []string{ + TemplateTypeFleetProvisioning, + TemplateTypeJitp, + } +} + const ( // ThingConnectivityIndexingModeOff is a ThingConnectivityIndexingMode enum value ThingConnectivityIndexingModeOff = "OFF"