From c6135f40e5012a759519f519d5ca9c83c399209b Mon Sep 17 00:00:00 2001 From: awssdkgo Date: Fri, 20 Oct 2023 20:21:52 +0000 Subject: [PATCH] Release v1.46.1 (2023-10-20) === ### Service Client Updates * `service/appconfig`: Updates service API * `service/appintegrations`: Updates service API * `service/connect`: Updates service API and documentation * `service/discovery`: Updates service API, documentation, and paginators * This release introduces three new APIs: StartBatchDeleteConfigurationTask, DescribeBatchDeleteConfigurationTask, and BatchDeleteAgents. * `service/medical-imaging`: Updates service documentation * `service/ssm`: Updates service API and documentation * This release introduces a new API: DeleteOpsItem. This allows deletion of an OpsItem. --- CHANGELOG.md | 13 + aws/endpoints/defaults.go | 41 + aws/version.go | 2 +- models/apis/appconfig/2019-10-09/api-2.json | 6 +- .../2019-10-09/endpoint-rule-set-1.json | 40 +- .../appintegrations/2020-07-29/api-2.json | 3 +- .../2020-07-29/endpoint-rule-set-1.json | 40 +- models/apis/connect/2017-08-08/api-2.json | 52 +- models/apis/connect/2017-08-08/docs-2.json | 65 +- .../2017-08-08/endpoint-rule-set-1.json | 44 +- models/apis/discovery/2015-11-01/api-2.json | 199 ++- models/apis/discovery/2015-11-01/docs-2.json | 160 +- .../discovery/2015-11-01/paginators-1.json | 36 +- .../medical-imaging/2023-07-19/docs-2.json | 18 +- .../2023-07-19/endpoint-rule-set-1.json | 64 +- .../2023-07-19/endpoint-tests-1.json | 101 +- models/apis/ssm/2014-11-06/api-2.json | 41 +- models/apis/ssm/2014-11-06/docs-2.json | 26 +- .../ssm/2014-11-06/endpoint-rule-set-1.json | 44 +- models/endpoints/endpoints.json | 29 +- service/appconfig/api.go | 22 +- service/appintegrationsservice/api.go | 7 +- service/applicationdiscoveryservice/api.go | 1313 ++++++++++++++++- .../interface.go | 27 + service/applicationdiscoveryservice/errors.go | 7 + service/connect/api.go | 334 ++++- service/connect/connectiface/interface.go | 4 + service/connect/doc.go | 2 +- service/medicalimaging/api.go | 63 +- service/medicalimaging/doc.go | 89 +- service/medicalimaging/errors.go | 2 +- service/ssm/api.go | 253 +++- service/ssm/doc.go | 2 +- service/ssm/errors.go | 7 + service/ssm/ssmiface/interface.go | 4 + 35 files changed, 2805 insertions(+), 355 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29e734898b2..487943197e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +Release v1.46.1 (2023-10-20) +=== + +### Service Client Updates +* `service/appconfig`: Updates service API +* `service/appintegrations`: Updates service API +* `service/connect`: Updates service API and documentation +* `service/discovery`: Updates service API, documentation, and paginators + * This release introduces three new APIs: StartBatchDeleteConfigurationTask, DescribeBatchDeleteConfigurationTask, and BatchDeleteAgents. +* `service/medical-imaging`: Updates service documentation +* `service/ssm`: Updates service API and documentation + * This release introduces a new API: DeleteOpsItem. This allows deletion of an OpsItem. + Release v1.46.0 (2023-10-19) === diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go index f833a86863b..c555c965927 100644 --- a/aws/endpoints/defaults.go +++ b/aws/endpoints/defaults.go @@ -11312,6 +11312,12 @@ var awsPartition = partition{ endpointKey{ Region: "us-east-2", }: endpoint{}, + endpointKey{ + Region: "us-east-2", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "elasticmapreduce.us-east-2.api.aws", + }, endpointKey{ Region: "us-east-2", Variant: fipsVariant, @@ -11525,6 +11531,9 @@ var awsPartition = partition{ endpointKey{ Region: "ap-northeast-2", }: endpoint{}, + endpointKey{ + Region: "ap-northeast-3", + }: endpoint{}, endpointKey{ Region: "ap-south-1", }: endpoint{}, @@ -33257,9 +33266,21 @@ var awscnPartition = partition{ endpointKey{ Region: "cn-north-1", }: endpoint{}, + endpointKey{ + Region: "cn-north-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "elasticmapreduce.cn-north-1.api.amazonwebservices.com.cn", + }, endpointKey{ Region: "cn-northwest-1", }: endpoint{}, + endpointKey{ + Region: "cn-northwest-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "elasticmapreduce.cn-northwest-1.api.amazonwebservices.com.cn", + }, }, }, "emr-containers": service{ @@ -36783,6 +36804,12 @@ var awsusgovPartition = partition{ endpointKey{ Region: "us-gov-east-1", }: endpoint{}, + endpointKey{ + Region: "us-gov-east-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "elasticmapreduce.us-gov-east-1.api.aws", + }, endpointKey{ Region: "us-gov-east-1", Variant: fipsVariant, @@ -36794,6 +36821,13 @@ var awsusgovPartition = partition{ }: endpoint{ Protocols: []string{"https"}, }, + endpointKey{ + Region: "us-gov-west-1", + Variant: dualStackVariant, + }: endpoint{ + Hostname: "elasticmapreduce.us-gov-west-1.api.aws", + Protocols: []string{"https"}, + }, endpointKey{ Region: "us-gov-west-1", Variant: fipsVariant, @@ -41861,6 +41895,13 @@ var awsisobPartition = partition{ }, }, }, + "api.sagemaker": service{ + Endpoints: serviceEndpoints{ + endpointKey{ + Region: "us-isob-east-1", + }: endpoint{}, + }, + }, "appconfig": service{ Endpoints: serviceEndpoints{ endpointKey{ diff --git a/aws/version.go b/aws/version.go index 713d5769224..f9f634d40d3 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.46.0" +const SDKVersion = "1.46.1" diff --git a/models/apis/appconfig/2019-10-09/api-2.json b/models/apis/appconfig/2019-10-09/api-2.json index 1c281c768c8..762c82e5df7 100644 --- a/models/apis/appconfig/2019-10-09/api-2.json +++ b/models/apis/appconfig/2019-10-09/api-2.json @@ -1625,11 +1625,13 @@ }, "KmsKeyIdentifier":{ "type":"string", - "pattern":"^[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}|alias/[a-zA-Z0-9/_-]{1,250}|arn:aws[a-zA-Z-]*:kms:[a-z]{2}(-gov|-iso(b?))?-[a-z]+-\\d{1}:\\d{12}:(key/[0-9a-f-]{36}|alias/[a-zA-Z0-9/_-]{1,250})$" + "max":2048, + "min":1 }, "KmsKeyIdentifierOrEmpty":{ "type":"string", - "pattern":"^\\s{0,1}|[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}|alias/[a-zA-Z0-9/_-]{1,250}|arn:aws[a-zA-Z-]*:kms:[a-z]{2}(-gov|-iso(b?))?-[a-z]+-\\d{1}:\\d{12}:(key/[0-9a-f-]{36}|alias/[a-zA-Z0-9/_-]{1,250})$" + "max":2048, + "min":0 }, "ListApplicationsRequest":{ "type":"structure", diff --git a/models/apis/appconfig/2019-10-09/endpoint-rule-set-1.json b/models/apis/appconfig/2019-10-09/endpoint-rule-set-1.json index dc7da8dca97..c995d803c8f 100644 --- a/models/apis/appconfig/2019-10-09/endpoint-rule-set-1.json +++ b/models/apis/appconfig/2019-10-09/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -269,14 +265,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -290,7 +288,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -310,7 +307,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -321,14 +317,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -339,9 +337,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/appintegrations/2020-07-29/api-2.json b/models/apis/appintegrations/2020-07-29/api-2.json index 4780a16c9cb..527ac2fc18e 100644 --- a/models/apis/appintegrations/2020-07-29/api-2.json +++ b/models/apis/appintegrations/2020-07-29/api-2.json @@ -426,8 +426,7 @@ "required":[ "Name", "KmsKey", - "SourceURI", - "ScheduleConfig" + "SourceURI" ], "members":{ "Name":{"shape":"Name"}, diff --git a/models/apis/appintegrations/2020-07-29/endpoint-rule-set-1.json b/models/apis/appintegrations/2020-07-29/endpoint-rule-set-1.json index deb3d197b8c..96d5672a738 100644 --- a/models/apis/appintegrations/2020-07-29/endpoint-rule-set-1.json +++ b/models/apis/appintegrations/2020-07-29/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,11 +212,11 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -231,14 +227,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -252,7 +250,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -272,7 +269,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -283,14 +279,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -301,9 +299,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/connect/2017-08-08/api-2.json b/models/apis/connect/2017-08-08/api-2.json index bf8f43574e0..57c262b3211 100644 --- a/models/apis/connect/2017-08-08/api-2.json +++ b/models/apis/connect/2017-08-08/api-2.json @@ -3001,6 +3001,24 @@ {"shape":"AccessDeniedException"} ] }, + "UpdatePhoneNumberMetadata":{ + "name":"UpdatePhoneNumberMetadata", + "http":{ + "method":"PUT", + "requestUri":"/phone-number/{PhoneNumberId}/metadata" + }, + "input":{"shape":"UpdatePhoneNumberMetadataRequest"}, + "errors":[ + {"shape":"InvalidParameterException"}, + {"shape":"InvalidRequestException"}, + {"shape":"AccessDeniedException"}, + {"shape":"ResourceNotFoundException"}, + {"shape":"ResourceInUseException"}, + {"shape":"IdempotencyException"}, + {"shape":"ThrottlingException"}, + {"shape":"InternalServiceException"} + ] + }, "UpdatePrompt":{ "name":"UpdatePrompt", "http":{ @@ -3935,10 +3953,7 @@ "type":"string", "max":50 }, - "BoxedBoolean":{ - "type":"boolean", - "box":true - }, + "BoxedBoolean":{"type":"boolean"}, "BucketName":{ "type":"string", "max":128, @@ -5177,6 +5192,7 @@ }, "EvaluationFormVersion":{ "shape":"VersionNumber", + "box":true, "location":"querystring", "locationName":"version" } @@ -5683,6 +5699,7 @@ }, "EvaluationFormVersion":{ "shape":"VersionNumber", + "box":true, "location":"querystring", "locationName":"version" } @@ -6796,7 +6813,10 @@ "LastActivatedTime":{"shape":"Timestamp"}, "LastActivatedBy":{"shape":"ARN"}, "LatestVersion":{"shape":"VersionNumber"}, - "ActiveVersion":{"shape":"VersionNumber"} + "ActiveVersion":{ + "shape":"VersionNumber", + "box":true + } } }, "EvaluationFormSummaryList":{ @@ -12131,7 +12151,10 @@ "locationName":"EvaluationFormId" }, "EvaluationFormVersion":{"shape":"VersionNumber"}, - "CreateNewVersion":{"shape":"BoxedBoolean"}, + "CreateNewVersion":{ + "shape":"BoxedBoolean", + "box":true + }, "Title":{"shape":"EvaluationFormTitle"}, "Description":{"shape":"EvaluationFormDescription"}, "Items":{"shape":"EvaluationFormItemsList"}, @@ -12264,6 +12287,22 @@ "members":{ } }, + "UpdatePhoneNumberMetadataRequest":{ + "type":"structure", + "required":["PhoneNumberId"], + "members":{ + "PhoneNumberId":{ + "shape":"PhoneNumberId", + "location":"uri", + "locationName":"PhoneNumberId" + }, + "PhoneNumberDescription":{"shape":"PhoneNumberDescription"}, + "ClientToken":{ + "shape":"ClientToken", + "idempotencyToken":true + } + } + }, "UpdatePhoneNumberRequest":{ "type":"structure", "required":[ @@ -13083,7 +13122,6 @@ "Value":{"type":"double"}, "VersionNumber":{ "type":"integer", - "box":true, "min":1 }, "View":{ diff --git a/models/apis/connect/2017-08-08/docs-2.json b/models/apis/connect/2017-08-08/docs-2.json index e148a556008..dd9d5fe63ac 100644 --- a/models/apis/connect/2017-08-08/docs-2.json +++ b/models/apis/connect/2017-08-08/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.

Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.

There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, see Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.

", + "service": "

Amazon Connect is a cloud-based contact center solution that you use to set up and manage a customer contact center and provide reliable customer engagement at any scale.

Amazon Connect provides metrics and real-time reporting that enable you to optimize contact routing. You can also resolve customer issues more efficiently by getting customers in touch with the appropriate agents.

There are limits to the number of Amazon Connect resources that you can create. There are also limits to the number of requests that you can make per second. For more information, seeP98941055 Amazon Connect Service Quotas in the Amazon Connect Administrator Guide.

You can connect programmatically to an Amazon Web Services service by using an endpoint. For a list of Amazon Connect endpoints, see Amazon Connect Endpoints.

", "operations": { "ActivateEvaluationForm": "

Activates an evaluation form in the specified Amazon Connect instance. After the evaluation form is activated, it is available to start new evaluations based on the form.

", "AssociateApprovedOrigin": "

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

Associates an approved origin to an Amazon Connect instance.

", @@ -30,9 +30,9 @@ "CreateRule": "

Creates a rule for the specified Amazon Connect instance.

Use the Rules Function language to code conditions for the rule.

", "CreateSecurityProfile": "

Creates a security profile.

", "CreateTaskTemplate": "

Creates a new task template in the specified Amazon Connect instance.

", - "CreateTrafficDistributionGroup": "

Creates a traffic distribution group given an Amazon Connect instance that has been replicated.

You can change the SignInConfig distribution only for a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.

", + "CreateTrafficDistributionGroup": "

Creates a traffic distribution group given an Amazon Connect instance that has been replicated.

The SignInConfig distribution is available only on a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

For more information about creating traffic distribution groups, see Set up traffic distribution groups in the Amazon Connect Administrator Guide.

", "CreateUseCase": "

Creates a use case for an integration association.

", - "CreateUser": "

Creates a user account for the specified Amazon Connect instance.

For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide.

", + "CreateUser": "

Creates a user account for the specified Amazon Connect instance.

Certain UserIdentityInfo parameters are required in some situations. For example, Email is required if you are using SAML for identity management. FirstName and LastName are required if you are using Amazon Connect or SAML for identity management.

For information about how to create user accounts using the Amazon Connect console, see Add Users in the Amazon Connect Administrator Guide.

", "CreateUserHierarchyGroup": "

Creates a new user hierarchy group.

", "CreateView": "

Creates a new view with the possible status of SAVED or PUBLISHED.

The views will have a unique name for each connect instance.

It performs basic content validation if the status is SAVED or full content validation if the status is set to PUBLISHED. An error is returned if validation fails. It associates either the $SAVED qualifier or both of the $SAVED and $LATEST qualifiers with the provided view content based on the status. The view is idempotent if ClientToken is provided.

", "CreateViewVersion": "

Publishes a new version of the view identifier.

Versions are immutable and monotonically increasing.

It returns the highest version if there is no change in content compared to that version. An error is displayed if the supplied ViewContentSha256 is different from the ViewContentSha256 of the $LATEST alias.

", @@ -96,8 +96,8 @@ "GetContactAttributes": "

Retrieves the contact attributes for the specified contact.

", "GetCurrentMetricData": "

Gets the real-time metric data from the specified Amazon Connect instance.

For a description of each metric, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.

", "GetCurrentUserData": "

Gets the real-time active user data from the specified Amazon Connect instance.

", - "GetFederationToken": "

Retrieves a token for federation.

This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears:

Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect

", - "GetMetricData": "

Gets historical metric data from the specified Amazon Connect instance.

For a description of each historical metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.

", + "GetFederationToken": "

Supports SAML sign-in for Amazon Connect. Retrieves a token for federation. The token is for the Amazon Connect user which corresponds to the IAM credentials that were used to invoke this action.

For more information about how SAML sign-in works in Amazon Connect, see Configure SAML with IAM for Amazon Connect in the Amazon Connect Administrator Guide.

This API doesn't support root users. If you try to invoke GetFederationToken with root credentials, an error message similar to the following one appears:

Provided identity: Principal: .... User: .... cannot be used for federation with Amazon Connect

", + "GetMetricData": "

Gets historical metric data from the specified Amazon Connect instance.

For a description of each historical metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.

We recommend using the GetMetricDataV2 API. It provides more flexibility, features, and the ability to query longer time ranges than GetMetricData. Use it to retrieve historical agent and contact metrics for the last 3 months, at varying intervals. You can also use it to build custom dashboards to measure historical queue and agent performance. For example, you can track the number of incoming contacts for the last 7 days, with data split by day, to see how contact volume changed per day of the week.

", "GetMetricDataV2": "

Gets metric data from the specified Amazon Connect instance.

GetMetricDataV2 offers more features than GetMetricData, the previous version of this API. It has new metrics, offers filtering at a metric level, and offers the ability to filter and group data by channels, queues, routing profiles, agents, and agent hierarchy levels. It can retrieve historical data for the last 3 months, at varying intervals.

For a description of the historical metrics that are supported by GetMetricDataV2 and GetMetricData, see Historical metrics definitions in the Amazon Connect Administrator's Guide.

", "GetPromptFile": "

Gets the prompt file.

", "GetTaskTemplate": "

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

", @@ -154,14 +154,14 @@ "SearchResourceTags": "

Searches tags used in an Amazon Connect instance using optional search criteria.

", "SearchRoutingProfiles": "

Searches routing profiles in an Amazon Connect instance, with optional filtering.

", "SearchSecurityProfiles": "

Searches security profiles in an Amazon Connect instance, with optional filtering.

", - "SearchUsers": "

Searches users in an Amazon Connect instance, with optional filtering.

AfterContactWorkTimeLimit is returned in milliseconds.

", + "SearchUsers": "

Searches users in an Amazon Connect instance, with optional filtering.

AfterContactWorkTimeLimit is returned in milliseconds.

", "SearchVocabularies": "

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

", "StartChatContact": "

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

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

A 429 error occurs in the following situations:

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

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

", "StartContactEvaluation": "

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

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

", "StartContactRecording": "

Starts recording the contact:

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

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

Only voice recordings are supported at this time.

", "StartContactStreaming": "

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

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

", "StartOutboundVoiceContact": "

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

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

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

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

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

", - "StartTaskContact": "

Initiates a flow to start a new task.

", + "StartTaskContact": "

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

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

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

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

", "StopContact": "

Ends the specified contact. This call does not work for voice contacts that use the following initiation methods:

Chat and task contacts, however, can be terminated in any state, regardless of initiation method.

", "StopContactRecording": "

Stops recording a call when a contact is being recorded. StopContactRecording is a one-time action. If you use StopContactRecording to stop recording an ongoing call, you can't use StartContactRecording to restart it. For scenarios where the recording has started and you want to suspend it for sensitive information (for example, to collect a credit card number), and then restart it, use SuspendContactRecording and ResumeContactRecording.

Only voice recordings are supported at this time.

", "StopContactStreaming": "

Ends message streaming on a specified contact. To restart message streaming on that contact, call the StartContactStreaming API.

", @@ -186,6 +186,7 @@ "UpdateInstanceStorageConfig": "

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

Updates an existing configuration for a resource type. This API is idempotent.

", "UpdateParticipantRoleConfig": "

Updates timeouts for when human chat participants are to be considered idle, and when agents are automatically disconnected from a chat due to idleness. You can set four timers:

For more information about how chat timeouts work, see Set up chat timeouts for human participants.

", "UpdatePhoneNumber": "

Updates your claimed phone number from its current Amazon Connect instance or traffic distribution group to another Amazon Connect instance or traffic distribution group in the same Amazon Web Services Region.

After using this API, you must verify that the phone number is attached to the correct flow in the target instance or traffic distribution group. You need to do this because the API switches only the phone number to a new instance or traffic distribution group. It doesn't migrate the flow configuration of the phone number, too.

You can call DescribePhoneNumber API to verify the status of a previous UpdatePhoneNumber operation.

", + "UpdatePhoneNumberMetadata": "

Updates a phone number’s metadata.

To verify the status of a previous UpdatePhoneNumberMetadata operation, call the DescribePhoneNumber API.

", "UpdatePrompt": "

Updates a prompt.

", "UpdateQueueHoursOfOperation": "

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

Updates the hours of operation for the specified queue.

", "UpdateQueueMaxContacts": "

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

Updates the maximum number of contacts allowed in a queue before it is considered full.

", @@ -202,7 +203,7 @@ "UpdateRule": "

Updates a rule for the specified Amazon Connect instance.

Use the Rules Function language to code conditions for the rule.

", "UpdateSecurityProfile": "

Updates a security profile.

", "UpdateTaskTemplate": "

Updates details about a specific task template in the specified Amazon Connect instance. This operation does not support partial updates. Instead it does a full update of template content.

", - "UpdateTrafficDistribution": "

Updates the traffic distribution for a given traffic distribution group.

You can change the SignInConfig distribution only for a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.

", + "UpdateTrafficDistribution": "

Updates the traffic distribution for a given traffic distribution group.

The SignInConfig distribution is available only on a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

For more information about updating a traffic distribution group, see Update telephony traffic distribution across Amazon Web Services Regions in the Amazon Connect Administrator Guide.

", "UpdateUserHierarchy": "

Assigns the specified hierarchy group to the specified user.

", "UpdateUserHierarchyGroupName": "

Updates the name of the user hierarchy group.

", "UpdateUserHierarchyStructure": "

Updates the user hierarchy structure: add, remove, and rename user hierarchy levels.

", @@ -764,7 +765,7 @@ "EvaluationScore$AutomaticFail": "

The flag that marks the item as automatic fail. If the item or a child item gets an automatic fail answer, this flag will be true.

", "MetricFilterV2$Negate": "

The flag to use to filter on requested metric filter values or to not filter on requested metric filter values. By default the negate is false, which indicates to filter on the requested metric filter.

", "SignInDistribution$Enabled": "

Whether sign in distribution is enabled.

", - "TrafficDistributionGroup$IsDefault": "

Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica.

You can change the SignInConfig distribution only for a default TrafficDistributionGroup (see the IsDefault parameter in the TrafficDistributionGroup data type). If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

", + "TrafficDistributionGroup$IsDefault": "

Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica.

The SignInConfig distribution is available only on the default TrafficDistributionGroup. If you call UpdateTrafficDistribution with a modified SignInConfig and a non-default TrafficDistributionGroup, an InvalidRequestException is returned.

", "TrafficDistributionGroupSummary$IsDefault": "

Whether this is the default traffic distribution group created during instance replication. The default traffic distribution group cannot be deleted by the DeleteTrafficDistributionGroup API. The default traffic distribution group is deleted as part of the process for deleting a replica.

", "UpdateAgentStatusRequest$ResetOrderNumber": "

A number indicating the reset order of the agent status.

" } @@ -901,6 +902,7 @@ "StartTaskContactRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "TransferContactRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "UpdateEvaluationFormRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", + "UpdatePhoneNumberMetadataRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

", "UpdatePhoneNumberRequest$ClientToken": "

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

" } }, @@ -951,9 +953,9 @@ "ContactFlowContent": { "base": null, "refs": { - "ContactFlow$Content": "

The JSON string that represents the content of the flow. For an example, see Example contact flow in Amazon Connect Flow language.

", - "CreateContactFlowRequest$Content": "

The JSON string that represents the content of the flow. For an example, see Example contact flow in Amazon Connect Flow language.

Length Constraints: Minimum length of 1. Maximum length of 256000.

", - "UpdateContactFlowContentRequest$Content": "

The JSON string that represents the content of the flow. For an example, see Example contact flow in Amazon Connect Flow language.

Length Constraints: Minimum length of 1. Maximum length of 256000.

" + "ContactFlow$Content": "

The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.

Length Constraints: Minimum length of 1. Maximum length of 256000.

", + "CreateContactFlowRequest$Content": "

The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.

Length Constraints: Minimum length of 1. Maximum length of 256000.

", + "UpdateContactFlowContentRequest$Content": "

The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.

Length Constraints: Minimum length of 1. Maximum length of 256000.

" } }, "ContactFlowDescription": { @@ -1000,9 +1002,9 @@ "ContactFlowModuleContent": { "base": null, "refs": { - "ContactFlowModule$Content": "

The JSON string that represents the content of the flow. For an example, see Example contact flow in Amazon Connect Flow language.

Length Constraints: Minimum length of 1. Maximum length of 256000.

", - "CreateContactFlowModuleRequest$Content": "

The content of the flow module.

", - "UpdateContactFlowModuleContentRequest$Content": "

The JSON string that represents the content of the flow. For an example, see Example contact flow in Amazon Connect Flow language.

" + "ContactFlowModule$Content": "

The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.

", + "CreateContactFlowModuleRequest$Content": "

The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.

", + "UpdateContactFlowModuleContentRequest$Content": "

The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.

" } }, "ContactFlowModuleDescription": { @@ -1139,8 +1141,8 @@ "StartContactRecordingRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", "StartContactStreamingRequest$ContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", "StartOutboundVoiceContactResponse$ContactId": "

The identifier of this contact within the Amazon Connect instance.

", - "StartTaskContactRequest$PreviousContactId": "

The identifier of the previous chat, voice, or task contact.

", - "StartTaskContactRequest$RelatedContactId": "

The contactId that is related to this contact.

", + "StartTaskContactRequest$PreviousContactId": "

The identifier of the previous chat, voice, or task contact. Any updates to user-defined attributes to task contacts linked using the same PreviousContactID will affect every contact in the chain. There can be a maximum of 12 linked task contacts in a chain.

", + "StartTaskContactRequest$RelatedContactId": "

The contactId that is related to this contact. Linking tasks together by using RelatedContactID copies over contact attributes from the related task contact to the new task contact. All updates to user-defined attributes in the new task contact are limited to the individual contact ID, unlike what happens when tasks are linked by using PreviousContactID. There are no limits to the number of contacts that can be linked by using RelatedContactId.

", "StartTaskContactResponse$ContactId": "

The identifier of this contact within the Amazon Connect instance.

", "StopContactRecordingRequest$ContactId": "

The identifier of the contact.

", "StopContactRecordingRequest$InitialContactId": "

The identifier of the contact. This is the identifier of the contact associated with the first interaction with the contact center.

", @@ -1171,7 +1173,7 @@ "ContactReferences": { "base": null, "refs": { - "StartTaskContactRequest$References": "

A formatted URL that is shown to an agent in the Contact Control Panel (CCP).

", + "StartTaskContactRequest$References": "

A formatted URL that is shown to an agent in the Contact Control Panel (CCP). Tasks can have the following reference types at the time of creation: URL | NUMBER | STRING | DATE | EMAIL. ATTACHMENT is not a supported reference type during task creation.

", "TaskActionDefinition$References": "

Information about the reference when the referenceType is URL. Otherwise, null. (Supports variable injection in the Value field.)

", "UpdateContactRequest$References": "

Well-formed data on contact, shown to agents on Contact Control Panel (CCP).

" } @@ -3094,7 +3096,7 @@ "SearchQuickConnectsRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "SearchRoutingProfilesRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "SearchSecurityProfilesRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", - "SearchUsersRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", + "SearchUsersRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

InstanceID is a required field. The \"Required: No\" below is incorrect.

", "SearchVocabulariesRequest$InstanceId": "

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

", "SecurityProfile$OrganizationResourceId": "

The organization resource identifier for the security profile.

", "SecurityProfileSearchSummary$OrganizationResourceId": "

The organization resource identifier.

", @@ -4379,7 +4381,8 @@ "base": null, "refs": { "ClaimPhoneNumberRequest$PhoneNumberDescription": "

The description of the phone number.

", - "ClaimedPhoneNumberSummary$PhoneNumberDescription": "

The description of the phone number.

" + "ClaimedPhoneNumberSummary$PhoneNumberDescription": "

The description of the phone number.

", + "UpdatePhoneNumberMetadataRequest$PhoneNumberDescription": "

The description of the phone number.

" } }, "PhoneNumberId": { @@ -4394,6 +4397,7 @@ "OutboundCallerConfig$OutboundCallerIdNumberId": "

The caller ID number.

", "PhoneNumberSummary$Id": "

The identifier of the phone number.

", "ReleasePhoneNumberRequest$PhoneNumberId": "

A unique identifier for the phone number.

", + "UpdatePhoneNumberMetadataRequest$PhoneNumberId": "

The Amazon Resource Name (ARN) or resource ID of the phone number.

", "UpdatePhoneNumberRequest$PhoneNumberId": "

A unique identifier for the phone number.

", "UpdatePhoneNumberResponse$PhoneNumberId": "

A unique identifier for the phone number.

" } @@ -4412,9 +4416,9 @@ } }, "PhoneNumberStatus": { - "base": "

The status of the phone number.

", + "base": "

The status of the phone number.

", "refs": { - "ClaimedPhoneNumberSummary$PhoneNumberStatus": "

The status of the phone number.

You will not be billed for the phone number during the 1-day period if number claiming fails.

" + "ClaimedPhoneNumberSummary$PhoneNumberStatus": "

The status of the phone number.

You will not be billed for the phone number during the 1-day period if number claiming fails.

" } }, "PhoneNumberSummary": { @@ -4783,7 +4787,7 @@ "QuickConnect$QuickConnectId": "

The identifier for the quick connect.

", "QuickConnectSummary$Id": "

The identifier for the quick connect.

", "QuickConnectsList$member": null, - "StartTaskContactRequest$QuickConnectId": "

The identifier for the quick connect.

", + "StartTaskContactRequest$QuickConnectId": "

The identifier for the quick connect. Tasks that are created by using QuickConnectId will use the flow that is defined on agent or queue quick connect. For more information about quick connects, see Create quick connects.

", "UpdateQuickConnectConfigRequest$QuickConnectId": "

The identifier for the quick connect.

", "UpdateQuickConnectNameRequest$QuickConnectId": "

The identifier for the quick connect.

" } @@ -5540,10 +5544,10 @@ } }, "SignInConfig": { - "base": "

The distribution of allowing signing in to the instance and its replica(s).

", + "base": "

The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).

", "refs": { - "GetTrafficDistributionResponse$SignInConfig": "

The distribution of allowing signing in to the instance and its replica(s).

", - "UpdateTrafficDistributionRequest$SignInConfig": "

The distribution of allowing signing in to the instance and its replica(s).

" + "GetTrafficDistributionResponse$SignInConfig": "

The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).

", + "UpdateTrafficDistributionRequest$SignInConfig": "

The distribution that determines which Amazon Web Services Regions should be used to sign in agents in to both the instance and its replica(s).

" } }, "SignInDistribution": { @@ -6057,7 +6061,7 @@ "DeleteTaskTemplateRequest$TaskTemplateId": "

A unique identifier for the task template.

", "GetTaskTemplateRequest$TaskTemplateId": "

A unique identifier for the task template.

", "GetTaskTemplateResponse$Id": "

A unique identifier for the task template.

", - "StartTaskContactRequest$TaskTemplateId": "

A unique identifier for the task template.

", + "StartTaskContactRequest$TaskTemplateId": "

A unique identifier for the task template. For more information about task templates, see Create task templates in the Amazon Connect Administrator Guide.

", "TaskTemplateMetadata$Id": "

A unique identifier for the task template.

", "UpdateTaskTemplateRequest$TaskTemplateId": "

A unique identifier for the task template.

", "UpdateTaskTemplateResponse$Id": "

The identifier of the task template resource.

" @@ -6231,7 +6235,7 @@ "TrafficDistributionGroupStatus": { "base": null, "refs": { - "TrafficDistributionGroup$Status": "

The status of the traffic distribution group.

", + "TrafficDistributionGroup$Status": "

The status of the traffic distribution group.

", "TrafficDistributionGroupSummary$Status": "

The status of the traffic distribution group.

" } }, @@ -6442,6 +6446,11 @@ "refs": { } }, + "UpdatePhoneNumberMetadataRequest": { + "base": null, + "refs": { + } + }, "UpdatePhoneNumberRequest": { "base": null, "refs": { diff --git a/models/apis/connect/2017-08-08/endpoint-rule-set-1.json b/models/apis/connect/2017-08-08/endpoint-rule-set-1.json index 1f6adf2f2f3..ac641522636 100644 --- a/models/apis/connect/2017-08-08/endpoint-rule-set-1.json +++ b/models/apis/connect/2017-08-08/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/apis/discovery/2015-11-01/api-2.json b/models/apis/discovery/2015-11-01/api-2.json index 28d8b37daa2..f831c57921f 100644 --- a/models/apis/discovery/2015-11-01/api-2.json +++ b/models/apis/discovery/2015-11-01/api-2.json @@ -28,6 +28,21 @@ {"shape":"HomeRegionNotSetException"} ] }, + "BatchDeleteAgents":{ + "name":"BatchDeleteAgents", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"BatchDeleteAgentsRequest"}, + "output":{"shape":"BatchDeleteAgentsResponse"}, + "errors":[ + {"shape":"AuthorizationErrorException"}, + {"shape":"InvalidParameterException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ServerInternalErrorException"} + ] + }, "BatchDeleteImportData":{ "name":"BatchDeleteImportData", "http":{ @@ -126,6 +141,21 @@ {"shape":"HomeRegionNotSetException"} ] }, + "DescribeBatchDeleteConfigurationTask":{ + "name":"DescribeBatchDeleteConfigurationTask", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeBatchDeleteConfigurationTaskRequest"}, + "output":{"shape":"DescribeBatchDeleteConfigurationTaskResponse"}, + "errors":[ + {"shape":"AuthorizationErrorException"}, + {"shape":"InvalidParameterValueException"}, + {"shape":"ServerInternalErrorException"}, + {"shape":"HomeRegionNotSetException"} + ] + }, "DescribeConfigurations":{ "name":"DescribeConfigurations", "http":{ @@ -309,6 +339,23 @@ {"shape":"HomeRegionNotSetException"} ] }, + "StartBatchDeleteConfigurationTask":{ + "name":"StartBatchDeleteConfigurationTask", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"StartBatchDeleteConfigurationTaskRequest"}, + "output":{"shape":"StartBatchDeleteConfigurationTaskResponse"}, + "errors":[ + {"shape":"LimitExceededException"}, + {"shape":"AuthorizationErrorException"}, + {"shape":"ServerInternalErrorException"}, + {"shape":"HomeRegionNotSetException"}, + {"shape":"OperationNotPermittedException"}, + {"shape":"InvalidParameterValueException"} + ] + }, "StartContinuousExport":{ "name":"StartContinuousExport", "http":{ @@ -537,6 +584,60 @@ }, "exception":true }, + "BatchDeleteAgentError":{ + "type":"structure", + "required":[ + "agentId", + "errorMessage", + "errorCode" + ], + "members":{ + "agentId":{"shape":"AgentId"}, + "errorMessage":{"shape":"String"}, + "errorCode":{"shape":"DeleteAgentErrorCode"} + } + }, + "BatchDeleteAgentErrors":{ + "type":"list", + "member":{"shape":"BatchDeleteAgentError"} + }, + "BatchDeleteAgentsRequest":{ + "type":"structure", + "required":["deleteAgents"], + "members":{ + "deleteAgents":{"shape":"DeleteAgents"} + } + }, + "BatchDeleteAgentsResponse":{ + "type":"structure", + "members":{ + "errors":{"shape":"BatchDeleteAgentErrors"} + } + }, + "BatchDeleteConfigurationTask":{ + "type":"structure", + "members":{ + "taskId":{"shape":"UUID"}, + "status":{"shape":"BatchDeleteConfigurationTaskStatus"}, + "startTime":{"shape":"TimeStamp"}, + "endTime":{"shape":"TimeStamp"}, + "configurationType":{"shape":"DeletionConfigurationItemType"}, + "requestedConfigurations":{"shape":"ConfigurationIdList"}, + "deletedConfigurations":{"shape":"ConfigurationIdList"}, + "failedConfigurations":{"shape":"FailedConfigurationList"}, + "deletionWarnings":{"shape":"DeletionWarningsList"} + } + }, + "BatchDeleteConfigurationTaskStatus":{ + "type":"string", + "enum":[ + "INITIALIZING", + "VALIDATING", + "DELETING", + "COMPLETED", + "FAILED" + ] + }, "BatchDeleteImportDataError":{ "type":"structure", "members":{ @@ -562,7 +663,8 @@ "type":"structure", "required":["importTaskIds"], "members":{ - "importTaskIds":{"shape":"ToDeleteIdentifierList"} + "importTaskIds":{"shape":"ToDeleteIdentifierList"}, + "deleteHistory":{"shape":"Boolean"} } }, "BatchDeleteImportDataResponse":{ @@ -796,6 +898,28 @@ "max":252, "min":1 }, + "DeleteAgent":{ + "type":"structure", + "required":["agentId"], + "members":{ + "agentId":{"shape":"AgentId"}, + "force":{"shape":"Boolean"} + } + }, + "DeleteAgentErrorCode":{ + "type":"string", + "enum":[ + "NOT_FOUND", + "INTERNAL_SERVER_ERROR", + "AGENT_IN_USE" + ] + }, + "DeleteAgents":{ + "type":"list", + "member":{"shape":"DeleteAgent"}, + "max":50, + "min":1 + }, "DeleteApplicationsRequest":{ "type":"structure", "required":["configurationIds"], @@ -821,6 +945,22 @@ "members":{ } }, + "DeletionConfigurationItemType":{ + "type":"string", + "enum":["SERVER"] + }, + "DeletionWarning":{ + "type":"structure", + "members":{ + "configurationId":{"shape":"ConfigurationId"}, + "warningCode":{"shape":"WarningCode"}, + "warningText":{"shape":"WarningText"} + } + }, + "DeletionWarningsList":{ + "type":"list", + "member":{"shape":"DeletionWarning"} + }, "DescribeAgentsRequest":{ "type":"structure", "members":{ @@ -837,6 +977,19 @@ "nextToken":{"shape":"NextToken"} } }, + "DescribeBatchDeleteConfigurationTaskRequest":{ + "type":"structure", + "required":["taskId"], + "members":{ + "taskId":{"shape":"UUID"} + } + }, + "DescribeBatchDeleteConfigurationTaskResponse":{ + "type":"structure", + "members":{ + "task":{"shape":"BatchDeleteConfigurationTask"} + } + }, "DescribeConfigurationsAttribute":{ "type":"map", "key":{"shape":"String"}, @@ -985,6 +1138,8 @@ "reservedInstanceOptions":{"shape":"ReservedInstanceOptions"} } }, + "ErrorMessage":{"type":"string"}, + "ErrorStatusCode":{"type":"integer"}, "ExcludedInstanceTypes":{ "type":"list", "member":{"shape":"EC2InstanceType"} @@ -1065,6 +1220,18 @@ "type":"list", "member":{"shape":"ExportInfo"} }, + "FailedConfiguration":{ + "type":"structure", + "members":{ + "configurationId":{"shape":"ConfigurationId"}, + "errorStatusCode":{"shape":"ErrorStatusCode"}, + "errorMessage":{"shape":"ErrorMessage"} + } + }, + "FailedConfigurationList":{ + "type":"list", + "member":{"shape":"FailedConfiguration"} + }, "Filter":{ "type":"structure", "required":[ @@ -1217,6 +1384,13 @@ }, "exception":true }, + "LimitExceededException":{ + "type":"structure", + "members":{ + "message":{"shape":"Message"} + }, + "exception":true + }, "ListConfigurationsRequest":{ "type":"structure", "required":["configurationType"], @@ -1358,6 +1532,23 @@ "exception":true, "fault":true }, + "StartBatchDeleteConfigurationTaskRequest":{ + "type":"structure", + "required":[ + "configurationType", + "configurationIds" + ], + "members":{ + "configurationType":{"shape":"DeletionConfigurationItemType"}, + "configurationIds":{"shape":"ConfigurationIdList"} + } + }, + "StartBatchDeleteConfigurationTaskResponse":{ + "type":"structure", + "members":{ + "taskId":{"shape":"UUID"} + } + }, "StartContinuousExportRequest":{ "type":"structure", "members":{ @@ -1514,6 +1705,10 @@ "max":10, "min":1 }, + "UUID":{ + "type":"string", + "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}" + }, "UpdateApplicationRequest":{ "type":"structure", "required":["configurationId"], @@ -1550,6 +1745,8 @@ "min":1, "pattern":"[a-z]{2}-[a-z\\-]+-[0-9]+" }, + "WarningCode":{"type":"integer"}, + "WarningText":{"type":"string"}, "orderString":{ "type":"string", "enum":[ diff --git a/models/apis/discovery/2015-11-01/docs-2.json b/models/apis/discovery/2015-11-01/docs-2.json index c5258be9e0b..0414fabe03a 100644 --- a/models/apis/discovery/2015-11-01/docs-2.json +++ b/models/apis/discovery/2015-11-01/docs-2.json @@ -3,12 +3,14 @@ "service": "Amazon Web Services Application Discovery Service

Amazon Web Services Application Discovery Service (Application Discovery Service) helps you plan application migration projects. It automatically identifies servers, virtual machines (VMs), and network dependencies in your on-premises data centers. For more information, see the Amazon Web Services Application Discovery Service FAQ.

Application Discovery Service offers three ways of performing discovery and collecting data about your on-premises servers:

Working With This Guide

This API reference provides descriptions, syntax, and usage examples for each of the actions and data types for Application Discovery Service. The topic for each action shows the API request parameters and the response. Alternatively, you can use one of the Amazon Web Services SDKs to access an API that is tailored to the programming language or platform that you're using. For more information, see Amazon Web Services SDKs.

This guide is intended for use with the Amazon Web Services Application Discovery Service User Guide.

All data is handled according to the Amazon Web Services Privacy Policy. You can operate Application Discovery Service offline to inspect collected data before it is shared with the service.

", "operations": { "AssociateConfigurationItemsToApplication": "

Associates one or more configuration items with an application.

", + "BatchDeleteAgents": "

Deletes one or more agents or collectors as specified by ID. Deleting an agent or collector does not delete the previously discovered data. To delete the data collected, use StartBatchDeleteConfigurationTask.

", "BatchDeleteImportData": "

Deletes one or more import tasks, each identified by their import ID. Each import task has a number of records that can identify servers or applications.

Amazon Web Services Application Discovery Service has built-in matching logic that will identify when discovered servers match existing entries that you've previously discovered, the information for the already-existing discovered server is updated. When you delete an import task that contains records that were used to match, the information in those matched records that comes from the deleted records will also be deleted.

", "CreateApplication": "

Creates an application with the given name and description.

", "CreateTags": "

Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.

Do not store sensitive information (like personal data) in tags.

", "DeleteApplications": "

Deletes a list of applications and their associations with configuration items.

", "DeleteTags": "

Deletes the association between configuration items and one or more tags. This API accepts a list of multiple configuration items.

", "DescribeAgents": "

Lists agents or collectors as specified by ID or other filters. All agents/collectors associated with your user can be listed if you call DescribeAgents as is without passing any parameters.

", + "DescribeBatchDeleteConfigurationTask": "

Takes a unique deletion task identifier as input and returns metadata about a configuration deletion task.

", "DescribeConfigurations": "

Retrieves attributes for a list of configuration item IDs.

All of the supplied IDs must be for the same asset type from one of the following:

Output fields are specific to the asset type specified. For example, the output for a server configuration item includes a list of attributes about the server, such as host name, operating system, number of network cards, etc.

For a complete list of outputs for each asset type, see Using the DescribeConfigurations Action in the Amazon Web Services Application Discovery Service User Guide.

", "DescribeContinuousExports": "

Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call DescribeContinuousExports as is without passing any parameters.

", "DescribeExportConfigurations": "

DescribeExportConfigurations is deprecated. Use DescribeExportTasks, instead.

", @@ -20,6 +22,7 @@ "GetDiscoverySummary": "

Retrieves a short summary of discovered assets.

This API operation takes no request parameters and is called as is at the command prompt as shown in the example.

", "ListConfigurations": "

Retrieves a list of configuration items as specified by the value passed to the required parameter configurationType. Optional filtering may be applied to refine search results.

", "ListServerNeighbors": "

Retrieves a list of servers that are one network hop away from a specified server.

", + "StartBatchDeleteConfigurationTask": "

Takes a list of configurationId as input and starts an asynchronous deletion task to remove the configurationItems. Returns a unique deletion task identifier.

", "StartContinuousExport": "

Start the continuous flow of agent's discovered data into Amazon Athena.

", "StartDataCollectionByAgentIds": "

Instructs the specified agents to start collecting data.

", "StartExportTask": "

Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon Web Services.

Exports might provide an estimate of fees and savings based on certain information that you provide. Fee estimates do not include any taxes that might apply. Your actual fees and savings depend on a variety of factors, including your actual usage of Amazon Web Services services, which might vary from the estimates provided in this report.

If you do not specify preferences or agentIds in the filter, a summary of all servers, applications, tags, and performance is generated. This data is an aggregation of all server data collected through on-premises tooling, file import, application grouping and applying tags.

If you specify agentIds in a filter, the task exports up to 72 hours of detailed data collected by the identified Application Discovery Agent, including network, process, and performance details. A time range for exported agent data may be set by using startTime and endTime. Export of detailed agent data is limited to five concurrently running exports. Export of detailed agent data is limited to two exports per day.

If you enable ec2RecommendationsPreferences in preferences , an Amazon EC2 instance matching the characteristics of each server in Application Discovery Service is generated. Changing the attributes of the ec2RecommendationsPreferences changes the criteria of the recommendation.

", @@ -46,7 +49,9 @@ "base": null, "refs": { "AgentIds$member": null, - "AgentInfo$agentId": "

The agent or collector ID.

" + "AgentInfo$agentId": "

The agent or collector ID.

", + "BatchDeleteAgentError$agentId": "

The ID of the agent or data collector to delete.

", + "DeleteAgent$agentId": "

The ID of the agent or data collector to delete.

" } }, "AgentIds": { @@ -131,6 +136,40 @@ "refs": { } }, + "BatchDeleteAgentError": { + "base": "

An object representing the agent or data collector that failed to delete, each containing agentId, errorMessage, and errorCode.

", + "refs": { + "BatchDeleteAgentErrors$member": null + } + }, + "BatchDeleteAgentErrors": { + "base": null, + "refs": { + "BatchDeleteAgentsResponse$errors": "

A list of agent IDs that failed to delete during the deletion task, each paired with an error message.

" + } + }, + "BatchDeleteAgentsRequest": { + "base": null, + "refs": { + } + }, + "BatchDeleteAgentsResponse": { + "base": null, + "refs": { + } + }, + "BatchDeleteConfigurationTask": { + "base": "

A metadata object that represents the deletion task being executed.

", + "refs": { + "DescribeBatchDeleteConfigurationTaskResponse$task": "

The BatchDeleteConfigurationTask that represents the deletion task being executed.

" + } + }, + "BatchDeleteConfigurationTaskStatus": { + "base": null, + "refs": { + "BatchDeleteConfigurationTask$status": "

The current execution status of the deletion task. Valid status are: INITIALIZING | VALIDATING | DELETING | COMPLETED | FAILED.

" + } + }, "BatchDeleteImportDataError": { "base": "

Error messages returned for each import task that you deleted as a response for this command.

", "refs": { @@ -169,6 +208,8 @@ "base": null, "refs": { "AgentConfigurationStatus$operationSucceeded": "

Information about the status of the StartDataCollection and StopDataCollection operations. The system has recorded the data collection operation. The agent receives this command the next time it polls for a new command.

", + "BatchDeleteImportDataRequest$deleteHistory": "

Set to true to remove the deleted import task from DescribeImportTasks.

", + "DeleteAgent$force": "

Optional flag used to force delete an agent or data collector. It is needed to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting an agent that is actively reporting health causes it to be re-registered with a different agent ID after data collector re-connects with Amazon Web Services.

", "ExportInfo$isTruncated": "

If true, the export of agent information exceeded the size limit for a single export and the exported data is incomplete for the requested time range. To address this, select a smaller time range for the export by using startDate and endDate.

", "ListServerNeighborsRequest$portInformationNeeded": "

Flag to indicate if port and protocol information is needed as part of the response.

" } @@ -204,6 +245,8 @@ "refs": { "ConfigurationIdList$member": null, "ConfigurationTag$configurationId": "

The configuration ID for the item to tag. You can specify a list of keys and values.

", + "DeletionWarning$configurationId": "

The unique identifier of the configuration that produced a warning.

", + "FailedConfiguration$configurationId": "

The unique identifier of the configuration the failed to delete.

", "ListServerNeighborsRequest$configurationId": "

Configuration ID of the server for which neighbors are being listed.

", "NeighborConnectionDetail$sourceServerId": "

The ID of the server that opened the network connection.

", "NeighborConnectionDetail$destinationServerId": "

The ID of the server that accepted the network connection.

" @@ -213,11 +256,14 @@ "base": null, "refs": { "AssociateConfigurationItemsToApplicationRequest$configurationIds": "

The ID of each configuration item to be associated with an application.

", + "BatchDeleteConfigurationTask$requestedConfigurations": "

The list of configuration IDs that were originally requested to be deleted by the deletion task.

", + "BatchDeleteConfigurationTask$deletedConfigurations": "

The list of configuration IDs that were successfully deleted by the deletion task.

", "CreateTagsRequest$configurationIds": "

A list of configuration items that you want to tag.

", "DeleteTagsRequest$configurationIds": "

A list of configuration items with tags that you want to delete.

", "DescribeConfigurationsRequest$configurationIds": "

One or more configuration IDs.

", "DisassociateConfigurationItemsFromApplicationRequest$configurationIds": "

Configuration ID of each item to be disassociated from an application.

", - "ListServerNeighborsRequest$neighborConfigurationIds": "

List of configuration IDs to test for one-hop-away.

" + "ListServerNeighborsRequest$neighborConfigurationIds": "

List of configuration IDs to test for one-hop-away.

", + "StartBatchDeleteConfigurationTaskRequest$configurationIds": "

The list of configuration IDs that will be deleted by the task.

" } }, "ConfigurationItemType": { @@ -350,6 +396,24 @@ "SchemaStorageConfig$key": null } }, + "DeleteAgent": { + "base": "

An object representing the agent or data collector to be deleted along with the optional configurations for error handling.

", + "refs": { + "DeleteAgents$member": null + } + }, + "DeleteAgentErrorCode": { + "base": null, + "refs": { + "BatchDeleteAgentError$errorCode": "

The type of error that occurred for the delete failed agent. Valid status are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR.

" + } + }, + "DeleteAgents": { + "base": null, + "refs": { + "BatchDeleteAgentsRequest$deleteAgents": "

The list of agents to delete.

" + } + }, "DeleteApplicationsRequest": { "base": null, "refs": { @@ -370,6 +434,25 @@ "refs": { } }, + "DeletionConfigurationItemType": { + "base": null, + "refs": { + "BatchDeleteConfigurationTask$configurationType": "

The type of configuration item to delete. Supported types are: SERVER.

", + "StartBatchDeleteConfigurationTaskRequest$configurationType": "

The type of configuration item to delete. Supported types are: SERVER.

" + } + }, + "DeletionWarning": { + "base": "

A configuration ID paired with a warning message.

", + "refs": { + "DeletionWarningsList$member": null + } + }, + "DeletionWarningsList": { + "base": null, + "refs": { + "BatchDeleteConfigurationTask$deletionWarnings": "

A list of configuration IDs that produced warnings regarding their deletion, paired with a warning message.

" + } + }, "DescribeAgentsRequest": { "base": null, "refs": { @@ -380,6 +463,16 @@ "refs": { } }, + "DescribeBatchDeleteConfigurationTaskRequest": { + "base": null, + "refs": { + } + }, + "DescribeBatchDeleteConfigurationTaskResponse": { + "base": null, + "refs": { + } + }, "DescribeConfigurationsAttribute": { "base": null, "refs": { @@ -492,6 +585,18 @@ "ExportPreferences$ec2RecommendationsPreferences": "

If enabled, exported data includes EC2 instance type matches for on-premises servers discovered through Amazon Web Services Application Discovery Service.

" } }, + "ErrorMessage": { + "base": null, + "refs": { + "FailedConfiguration$errorMessage": "

A descriptive message indicating why the associated configuration failed to delete.

" + } + }, + "ErrorStatusCode": { + "base": null, + "refs": { + "FailedConfiguration$errorStatusCode": "

The integer error code associated with the error message.

" + } + }, "ExcludedInstanceTypes": { "base": null, "refs": { @@ -578,6 +683,18 @@ "DescribeExportTasksResponse$exportsInfo": "

Contains one or more sets of export request details. When the status of a request is SUCCEEDED, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.

" } }, + "FailedConfiguration": { + "base": "

A configuration ID paired with an error message.

", + "refs": { + "FailedConfigurationList$member": null + } + }, + "FailedConfigurationList": { + "base": null, + "refs": { + "BatchDeleteConfigurationTask$failedConfigurations": "

A list of configuration IDs that failed to delete during the deletion task, each paired with an error message.

" + } + }, "Filter": { "base": "

A filter that can use conditional operators.

For more information about filters, see Querying Discovered Configuration Items in the Amazon Web Services Application Discovery Service User Guide.

", "refs": { @@ -745,6 +862,11 @@ "refs": { } }, + "LimitExceededException": { + "base": "

The limit of 200 configuration IDs per request has been exceeded.

", + "refs": { + } + }, "ListConfigurationsRequest": { "base": null, "refs": { @@ -784,6 +906,7 @@ "HomeRegionNotSetException$message": null, "InvalidParameterException$message": null, "InvalidParameterValueException$message": null, + "LimitExceededException$message": null, "OperationNotPermittedException$message": null, "ResourceInUseException$message": null, "ResourceNotFoundException$message": null, @@ -897,6 +1020,16 @@ "refs": { } }, + "StartBatchDeleteConfigurationTaskRequest": { + "base": null, + "refs": { + } + }, + "StartBatchDeleteConfigurationTaskResponse": { + "base": null, + "refs": { + } + }, "StartContinuousExportRequest": { "base": null, "refs": { @@ -971,6 +1104,7 @@ "AgentInfo$registeredTime": "

Agent's first registration timestamp in UTC.

", "AgentNetworkInfo$ipAddress": "

The IP address for the host where the agent/collector resides.

", "AgentNetworkInfo$macAddress": "

The MAC address for the host where the agent/collector resides.

", + "BatchDeleteAgentError$errorMessage": "

The description of the error that occurred for the delete failed agent.

", "Configuration$key": null, "Configuration$value": null, "CreateApplicationResponse$configurationId": "

Configuration ID of an application to be created.

", @@ -1043,6 +1177,8 @@ "TimeStamp": { "base": null, "refs": { + "BatchDeleteConfigurationTask$startTime": "

An epoch seconds timestamp (UTC) of when the deletion task was started.

", + "BatchDeleteConfigurationTask$endTime": "

An epoch seconds timestamp (UTC) of when the deletion task was completed or failed.

", "ConfigurationTag$timeOfCreation": "

The time the configuration tag was created in Coordinated Universal Time (UTC).

", "ContinuousExportDescription$startTime": "

The timestamp representing when the continuous export was started.

", "ContinuousExportDescription$stopTime": "

The timestamp that represents when this continuous export was stopped.

", @@ -1064,6 +1200,14 @@ "BatchDeleteImportDataRequest$importTaskIds": "

The IDs for the import tasks that you want to delete.

" } }, + "UUID": { + "base": null, + "refs": { + "BatchDeleteConfigurationTask$taskId": "

The deletion task's unique identifier.

", + "DescribeBatchDeleteConfigurationTaskRequest$taskId": "

The ID of the task to delete.

", + "StartBatchDeleteConfigurationTaskResponse$taskId": "

The unique identifier associated with the newly started deletion task.

" + } + }, "UpdateApplicationRequest": { "base": null, "refs": { @@ -1099,6 +1243,18 @@ "Ec2RecommendationsExportPreferences$preferredRegion": "

The target Amazon Web Services Region for the recommendations. You can use any of the Region codes available for the chosen service, as listed in Amazon Web Services service endpoints in the Amazon Web Services General Reference.

" } }, + "WarningCode": { + "base": null, + "refs": { + "DeletionWarning$warningCode": "

The integer warning code associated with the warning message.

" + } + }, + "WarningText": { + "base": null, + "refs": { + "DeletionWarning$warningText": "

A descriptive message of the warning the associated configuration ID produced.

" + } + }, "orderString": { "base": null, "refs": { diff --git a/models/apis/discovery/2015-11-01/paginators-1.json b/models/apis/discovery/2015-11-01/paginators-1.json index 38fa172621c..b6bdbe4ed49 100644 --- a/models/apis/discovery/2015-11-01/paginators-1.json +++ b/models/apis/discovery/2015-11-01/paginators-1.json @@ -1,14 +1,46 @@ { "pagination": { + "DescribeAgents": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "agentsInfo" + }, "DescribeContinuousExports": { "input_token": "nextToken", "output_token": "nextToken", - "limit_key": "maxResults" + "limit_key": "maxResults", + "result_key": "descriptions" + }, + "DescribeExportConfigurations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "exportsInfo" + }, + "DescribeExportTasks": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "exportsInfo" }, "DescribeImportTasks": { "input_token": "nextToken", "output_token": "nextToken", - "limit_key": "maxResults" + "limit_key": "maxResults", + "result_key": "tasks" + }, + "DescribeTags": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "tags" + }, + "ListConfigurations": { + "input_token": "nextToken", + "output_token": "nextToken", + "limit_key": "maxResults", + "result_key": "configurations" } } } diff --git a/models/apis/medical-imaging/2023-07-19/docs-2.json b/models/apis/medical-imaging/2023-07-19/docs-2.json index 6d007234695..7ac5b665e82 100644 --- a/models/apis/medical-imaging/2023-07-19/docs-2.json +++ b/models/apis/medical-imaging/2023-07-19/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

This is the AWS HealthImaging API Reference. AWS HealthImaging is an AWS service for storing, accessing, and analyzing medical images. For an introduction to the service, see the AWS HealthImaging Developer Guide .

We recommend using one of the AWS Software Development Kits (SDKs) for your programming language, as they take care of request authentication, serialization, and connection management. For more information, see Tools to build on AWS.

For information about using AWS HealthImaging API actions in one of the language-specific AWS SDKs, refer to the See Also link at the end of each section that describes an API action or data type.

The following sections list AWS HealthImaging API actions categorized according to functionality. Links are provided to actions within this Reference, along with links back to corresponding sections in the AWS HealthImaging Developer Guide so you can view console procedures and CLI/SDK code examples.

Data store actions

Import job actions

Image set access actions

Image set modification actions

Tagging actions

", + "service": "

This is the AWS HealthImaging API Reference. AWS HealthImaging is a HIPAA-eligible service that helps health care providers and their medical imaging ISV partners store, transform, and apply machine learning to medical images. For an introduction to the service, see the AWS HealthImaging Developer Guide .

We recommend using one of the AWS Software Development Kits (SDKs) for your programming language, as they take care of request authentication, serialization, and connection management. For more information, see Tools to build on AWS.

For information about using HealthImaging API actions in one of the language-specific AWS SDKs, refer to the See Also link at the end of each section that describes an API action or data type.

The following sections list AWS HealthImaging API actions categorized according to functionality. Links are provided to actions within this Reference, along with links back to corresponding sections in the AWS HealthImaging Developer Guide where you can view console procedures and CLI/SDK code examples.

Data store actions

Import job actions

Image set access actions

Image set modification actions

Tagging actions

", "operations": { "CopyImageSet": "

Copy an image set.

", "CreateDatastore": "

Create a data store.

", @@ -11,11 +11,11 @@ "GetImageFrame": "

Get an image frame (pixel data) for an image set.

", "GetImageSet": "

Get image set properties.

", "GetImageSetMetadata": "

Get metadata attributes for an image set.

", - "ListDICOMImportJobs": "

List import jobs created by this AWS account for a specific data store.

", - "ListDatastores": "

List data stores created by this AWS account.

", + "ListDICOMImportJobs": "

List import jobs created for a specific data store.

", + "ListDatastores": "

List data stores.

", "ListImageSetVersions": "

List image set versions.

", "ListTagsForResource": "

Lists all tags associated with a medical imaging resource.

", - "SearchImageSets": "

Search image sets based on defined input attributes.

", + "SearchImageSets": "

Search image sets based on defined input attributes.

SearchImageSets accepts a single search query parameter and returns a paginated response of all image sets that have the matching criteria. All range queries must be input as (lowerBound, upperBound).

SearchImageSets uses the updatedAt field for sorting in decreasing order from latest to oldest.

", "StartDICOMImportJob": "

Start importing bulk data into an ACTIVE data store. The import job imports DICOM P10 files found in the S3 prefix specified by the inputS3Uri parameter. The import job stores processing results in the file specified by the outputS3Uri parameter.

", "TagResource": "

Adds a user-specifed key and value tag to a medical imaging resource.

", "UntagResource": "

Removes tags from a medical imaging resource.

", @@ -309,8 +309,8 @@ "ImageSetProperties$createdAt": "

The timestamp when the image set properties were created.

", "ImageSetProperties$updatedAt": "

The timestamp when the image set properties were updated.

", "ImageSetProperties$deletedAt": "

The timestamp when the image set properties were deleted.

", - "ImageSetsMetadataSummary$createdAt": "

The time an image set is created in AWS HealthImaging. Sample creation date is provided in 1985-04-12T23:20:50.52Z format.

", - "ImageSetsMetadataSummary$updatedAt": "

The time when an image was last updated in AWS HealthImaging.

", + "ImageSetsMetadataSummary$createdAt": "

The time an image set is created. Sample creation date is provided in 1985-04-12T23:20:50.52Z format.

", + "ImageSetsMetadataSummary$updatedAt": "

The time an image set was last updated.

", "SearchByAttributeValue$createdAt": "

The created at time of the image set provided for search.

", "StartDICOMImportJobResponse$submittedAt": "

The timestamp when the import job was submitted.

", "UpdateImageSetMetadataResponse$createdAt": "

The timestamp when image set metadata was created.

", @@ -526,8 +526,8 @@ "KmsKeyArn": { "base": "

ARN referencing a KMS key or KMS key alias.

", "refs": { - "CreateDatastoreRequest$kmsKeyArn": "

The Amazon Resource Name (ARN) assigned to the AWS Key Management Service (AWS KMS) key for accessing encrypted data.

", - "DatastoreProperties$kmsKeyArn": "

The Amazon Resource Name (ARN) assigned to the AWS Key Management Service (AWS KMS) key for accessing encrypted data.

" + "CreateDatastoreRequest$kmsKeyArn": "

The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.

", + "DatastoreProperties$kmsKeyArn": "

The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) key for accessing encrypted data.

" } }, "ListDICOMImportJobsRequest": { @@ -790,7 +790,7 @@ } }, "ValidationException": { - "base": "

The input fails to satisfy the constraints specified by an AWS service.

", + "base": "

The input fails to satisfy the constraints set by the service.

", "refs": { } } diff --git a/models/apis/medical-imaging/2023-07-19/endpoint-rule-set-1.json b/models/apis/medical-imaging/2023-07-19/endpoint-rule-set-1.json index 25567f71c6e..f7497e44436 100644 --- a/models/apis/medical-imaging/2023-07-19/endpoint-rule-set-1.json +++ b/models/apis/medical-imaging/2023-07-19/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -59,7 +58,6 @@ }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -87,13 +85,14 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [ @@ -106,7 +105,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -120,7 +118,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -143,7 +140,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -178,11 +174,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -193,16 +187,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -216,14 +213,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -232,15 +227,14 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -251,16 +245,19 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -274,7 +271,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -294,11 +290,9 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -309,20 +303,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], - "type": "tree", "rules": [ { "conditions": [], @@ -333,18 +329,22 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "Invalid Configuration: Missing Region", "type": "error" } - ] + ], + "type": "tree" } ] } \ No newline at end of file diff --git a/models/apis/medical-imaging/2023-07-19/endpoint-tests-1.json b/models/apis/medical-imaging/2023-07-19/endpoint-tests-1.json index bbca79c2a27..6ed7bab23a2 100644 --- a/models/apis/medical-imaging/2023-07-19/endpoint-tests-1.json +++ b/models/apis/medical-imaging/2023-07-19/endpoint-tests-1.json @@ -1,53 +1,53 @@ { "testCases": [ { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://medical-imaging-fips.us-gov-east-1.api.aws" + "url": "https://medical-imaging-fips.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging-fips.us-gov-east-1.amazonaws.com" + "url": "https://medical-imaging-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://medical-imaging.us-gov-east-1.api.aws" + "url": "https://medical-imaging.us-east-1.api.aws" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging.us-gov-east-1.amazonaws.com" + "url": "https://medical-imaging.us-east-1.amazonaws.com" } }, "params": { - "Region": "us-gov-east-1", + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } @@ -105,101 +105,101 @@ } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled", "expect": { - "error": "FIPS and DualStack are enabled, but this partition does not support one or both" + "endpoint": { + "url": "https://medical-imaging-fips.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging-fips.us-iso-east-1.c2s.ic.gov" + "url": "https://medical-imaging-fips.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled", "expect": { - "error": "DualStack is enabled but this partition does not support DualStack" + "endpoint": { + "url": "https://medical-imaging.us-gov-east-1.api.aws" + } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging.us-iso-east-1.c2s.ic.gov" + "url": "https://medical-imaging.us-gov-east-1.amazonaws.com" } }, "params": { - "Region": "us-iso-east-1", + "Region": "us-gov-east-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://medical-imaging-fips.us-east-1.api.aws" - } + "error": "FIPS and DualStack are enabled, but this partition does not support one or both" }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging-fips.us-east-1.amazonaws.com" + "url": "https://medical-imaging-fips.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled", "expect": { - "endpoint": { - "url": "https://medical-imaging.us-east-1.api.aws" - } + "error": "DualStack is enabled but this partition does not support DualStack" }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://medical-imaging.us-east-1.amazonaws.com" + "url": "https://medical-imaging.us-iso-east-1.c2s.ic.gov" } }, "params": { - "Region": "us-east-1", + "Region": "us-iso-east-1", "UseFIPS": false, "UseDualStack": false } @@ -253,7 +253,7 @@ } }, { - "documentation": "For custom endpoint with fips disabled and dualstack disabled", + "documentation": "For custom endpoint with region set and fips disabled and dualstack disabled", "expect": { "endpoint": { "url": "https://example.com" @@ -266,6 +266,19 @@ "Endpoint": "https://example.com" } }, + { + "documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled", + "expect": { + "endpoint": { + "url": "https://example.com" + } + }, + "params": { + "UseFIPS": false, + "UseDualStack": false, + "Endpoint": "https://example.com" + } + }, { "documentation": "For custom endpoint with fips enabled and dualstack disabled", "expect": { @@ -289,6 +302,12 @@ "UseDualStack": true, "Endpoint": "https://example.com" } + }, + { + "documentation": "Missing region", + "expect": { + "error": "Invalid Configuration: Missing Region" + } } ], "version": "1.0" diff --git a/models/apis/ssm/2014-11-06/api-2.json b/models/apis/ssm/2014-11-06/api-2.json index faa8c3709e9..ba6e38c3226 100644 --- a/models/apis/ssm/2014-11-06/api-2.json +++ b/models/apis/ssm/2014-11-06/api-2.json @@ -42,7 +42,8 @@ {"shape":"OpsItemNotFoundException"}, {"shape":"OpsItemLimitExceededException"}, {"shape":"OpsItemInvalidParameterException"}, - {"shape":"OpsItemRelatedItemAlreadyExistsException"} + {"shape":"OpsItemRelatedItemAlreadyExistsException"}, + {"shape":"OpsItemConflictException"} ] }, "CancelCommand":{ @@ -299,6 +300,19 @@ {"shape":"InternalServerError"} ] }, + "DeleteOpsItem":{ + "name":"DeleteOpsItem", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteOpsItemRequest"}, + "output":{"shape":"DeleteOpsItemResponse"}, + "errors":[ + {"shape":"InternalServerError"}, + {"shape":"OpsItemInvalidParameterException"} + ] + }, "DeleteOpsMetadata":{ "name":"DeleteOpsMetadata", "http":{ @@ -883,7 +897,8 @@ {"shape":"InternalServerError"}, {"shape":"OpsItemRelatedItemAssociationNotFoundException"}, {"shape":"OpsItemNotFoundException"}, - {"shape":"OpsItemInvalidParameterException"} + {"shape":"OpsItemInvalidParameterException"}, + {"shape":"OpsItemConflictException"} ] }, "GetAutomationExecution":{ @@ -1983,7 +1998,8 @@ {"shape":"OpsItemAlreadyExistsException"}, {"shape":"OpsItemLimitExceededException"}, {"shape":"OpsItemInvalidParameterException"}, - {"shape":"OpsItemAccessDeniedException"} + {"shape":"OpsItemAccessDeniedException"}, + {"shape":"OpsItemConflictException"} ] }, "UpdateOpsMetadata":{ @@ -3738,6 +3754,18 @@ "WindowId":{"shape":"MaintenanceWindowId"} } }, + "DeleteOpsItemRequest":{ + "type":"structure", + "required":["OpsItemId"], + "members":{ + "OpsItemId":{"shape":"OpsItemId"} + } + }, + "DeleteOpsItemResponse":{ + "type":"structure", + "members":{ + } + }, "DeleteOpsMetadataRequest":{ "type":"structure", "required":["OpsMetadataArn"], @@ -7724,6 +7752,13 @@ "min":1, "pattern":"^(?!\\s*$).+" }, + "OpsItemConflictException":{ + "type":"structure", + "members":{ + "Message":{"shape":"String"} + }, + "exception":true + }, "OpsItemDataKey":{ "type":"string", "max":128, diff --git a/models/apis/ssm/2014-11-06/docs-2.json b/models/apis/ssm/2014-11-06/docs-2.json index 003f04786f0..0f75ced0326 100644 --- a/models/apis/ssm/2014-11-06/docs-2.json +++ b/models/apis/ssm/2014-11-06/docs-2.json @@ -1,6 +1,6 @@ { "version": "2.0", - "service": "

Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure end-to-end management solution for hybrid cloud environments that enables safe and secure operations at scale.

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide. To get started, see Setting up Amazon Web Services Systems Manager.

Related resources

", + "service": "

Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure end-to-end management solution for hybrid cloud environments that enables safe and secure operations at scale.

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide. To get started, see Setting up Amazon Web Services Systems Manager.

Related resources

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

Adds or overwrites one or more tags for the specified resource. Tags are metadata that you can assign to your automations, documents, managed nodes, maintenance windows, Parameter Store parameters, and patch baselines. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment. Each tag consists of a key and an optional value, both of which you define. For example, you could define a set of tags for your account's managed nodes that helps you track each node's owner and stack level. For example:

Most resources can have a maximum of 50 tags. Automations can have a maximum of 5 tags.

We recommend that you devise a set of tag keys that meets your needs for each resource type. Using a consistent set of tag keys makes it easier for you to manage your resources. You can search and filter the resources based on the tags you add. Tags don't have any semantic meaning to and are interpreted strictly as a string of characters.

For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see Tagging your Amazon EC2 resources in the Amazon EC2 User Guide.

", "AssociateOpsItemRelatedItem": "

Associates a related item to a Systems Manager OpsCenter OpsItem. For example, you can associate an Incident Manager incident or analysis with an OpsItem. Incident Manager and OpsCenter are capabilities of Amazon Web Services Systems Manager.

", @@ -20,6 +20,7 @@ "DeleteDocument": "

Deletes the Amazon Web Services Systems Manager document (SSM document) and all managed node associations to the document.

Before you delete the document, we recommend that you use DeleteAssociation to disassociate all managed nodes that are associated with the document.

", "DeleteInventory": "

Delete a custom inventory type or the data associated with a custom Inventory type. Deleting a custom inventory type is also referred to as deleting a custom inventory schema.

", "DeleteMaintenanceWindow": "

Deletes a maintenance window.

", + "DeleteOpsItem": "

Delete an OpsItem. You must have permission in Identity and Access Management (IAM) to delete an OpsItem.

Note the following important information about this operation.

", "DeleteOpsMetadata": "

Delete OpsMetadata related to an application.

", "DeleteParameter": "

Delete a parameter from the system. After deleting a parameter, wait for at least 30 seconds to create a parameter with the same name.

", "DeleteParameters": "

Delete a list of parameters. After deleting a parameter, wait for at least 30 seconds to create a parameter with the same name.

", @@ -1725,6 +1726,16 @@ "refs": { } }, + "DeleteOpsItemRequest": { + "base": null, + "refs": { + } + }, + "DeleteOpsItemResponse": { + "base": null, + "refs": { + } + }, "DeleteOpsMetadataRequest": { "base": null, "refs": { @@ -5174,6 +5185,11 @@ "UpdateOpsItemRequest$Category": "

Specify a new category for an OpsItem.

" } }, + "OpsItemConflictException": { + "base": "

The specified OpsItem is in the process of being deleted.

", + "refs": { + } + }, "OpsItemDataKey": { "base": null, "refs": { @@ -5300,6 +5316,7 @@ "base": null, "refs": { "AssociateOpsItemRelatedItemRequest$OpsItemId": "

The ID of the OpsItem to which you want to associate a resource as a related item.

", + "DeleteOpsItemRequest$OpsItemId": "

The ID of the OpsItem that you want to delete.

", "DisassociateOpsItemRelatedItemRequest$OpsItemId": "

The ID of the OpsItem for which you want to delete an association between the OpsItem and a related item.

", "GetOpsItemRequest$OpsItemId": "

The ID of the OpsItem that you want to get.

", "ListOpsItemRelatedItemsRequest$OpsItemId": "

The ID of the OpsItem for which you want to list all related-item resources.

", @@ -5527,9 +5544,9 @@ "OpsItemType": { "base": null, "refs": { - "CreateOpsItemRequest$OpsItemType": "

The type of OpsItem to create. Systems Manager supports the following types of OpsItems:

", - "OpsItem$OpsItemType": "

The type of OpsItem. Systems Manager supports the following types of OpsItems:

", - "OpsItemSummary$OpsItemType": "

The type of OpsItem. Systems Manager supports the following types of OpsItems:

" + "CreateOpsItemRequest$OpsItemType": "

The type of OpsItem to create. Systems Manager supports the following types of OpsItems:

", + "OpsItem$OpsItemType": "

The type of OpsItem. Systems Manager supports the following types of OpsItems:

", + "OpsItemSummary$OpsItemType": "

The type of OpsItem. Systems Manager supports the following types of OpsItems:

" } }, "OpsMetadata": { @@ -7731,6 +7748,7 @@ "OpsItemAccessDeniedException$Message": null, "OpsItemAlreadyExistsException$Message": null, "OpsItemAlreadyExistsException$OpsItemId": null, + "OpsItemConflictException$Message": null, "OpsItemEventSummary$OpsItemId": "

The ID of the OpsItem.

", "OpsItemEventSummary$EventId": "

The ID of the OpsItem event.

", "OpsItemEventSummary$Source": "

The source of the OpsItem event.

", diff --git a/models/apis/ssm/2014-11-06/endpoint-rule-set-1.json b/models/apis/ssm/2014-11-06/endpoint-rule-set-1.json index 7d680a93a72..bc0b44f21ba 100644 --- a/models/apis/ssm/2014-11-06/endpoint-rule-set-1.json +++ b/models/apis/ssm/2014-11-06/endpoint-rule-set-1.json @@ -40,7 +40,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -83,7 +82,8 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -96,7 +96,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -110,7 +109,6 @@ "assign": "PartitionResult" } ], - "type": "tree", "rules": [ { "conditions": [ @@ -133,7 +131,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -168,7 +165,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -179,14 +175,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS and DualStack are enabled, but this partition does not support one or both", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -200,14 +198,12 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ - true, { "fn": "getAttr", "argv": [ @@ -216,18 +212,17 @@ }, "supportsFIPS" ] - } + }, + true ] } ], - "type": "tree", "rules": [ { "conditions": [ { "fn": "stringEquals", "argv": [ - "aws-us-gov", { "fn": "getAttr", "argv": [ @@ -236,7 +231,8 @@ }, "name" ] - } + }, + "aws-us-gov" ] } ], @@ -256,14 +252,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "FIPS is enabled but this partition does not support FIPS", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [ @@ -277,7 +275,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [ @@ -297,7 +294,6 @@ ] } ], - "type": "tree", "rules": [ { "conditions": [], @@ -308,14 +304,16 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" }, { "conditions": [], "error": "DualStack is enabled but this partition does not support DualStack", "type": "error" } - ] + ], + "type": "tree" }, { "conditions": [], @@ -326,9 +324,11 @@ }, "type": "endpoint" } - ] + ], + "type": "tree" } - ] + ], + "type": "tree" }, { "conditions": [], diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json index 37f9c5d2fda..9ebd6d1629b 100644 --- a/models/endpoints/endpoints.json +++ b/models/endpoints/endpoints.json @@ -6420,6 +6420,9 @@ "variants" : [ { "hostname" : "elasticmapreduce-fips.us-east-2.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "elasticmapreduce.us-east-2.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-west-1" : { @@ -6540,6 +6543,7 @@ "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, @@ -19254,8 +19258,18 @@ "protocols" : [ "https" ] }, "endpoints" : { - "cn-north-1" : { }, - "cn-northwest-1" : { } + "cn-north-1" : { + "variants" : [ { + "hostname" : "elasticmapreduce.cn-north-1.api.amazonwebservices.com.cn", + "tags" : [ "dualstack" ] + } ] + }, + "cn-northwest-1" : { + "variants" : [ { + "hostname" : "elasticmapreduce.cn-northwest-1.api.amazonwebservices.com.cn", + "tags" : [ "dualstack" ] + } ] + } } }, "emr-containers" : { @@ -21764,6 +21778,9 @@ "variants" : [ { "hostname" : "elasticmapreduce.us-gov-east-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "elasticmapreduce.us-gov-east-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-gov-west-1" : { @@ -21771,6 +21788,9 @@ "variants" : [ { "hostname" : "elasticmapreduce.us-gov-west-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "elasticmapreduce.us-gov-west-1.api.aws", + "tags" : [ "dualstack" ] } ] } } @@ -25347,6 +25367,11 @@ } } }, + "api.sagemaker" : { + "endpoints" : { + "us-isob-east-1" : { } + } + }, "appconfig" : { "endpoints" : { "us-isob-east-1" : { } diff --git a/service/appconfig/api.go b/service/appconfig/api.go index f164372a741..f7862a84fdc 100644 --- a/service/appconfig/api.go +++ b/service/appconfig/api.go @@ -5104,7 +5104,7 @@ type CreateConfigurationProfileInput struct { // key ID, alias, or the Amazon Resource Name (ARN) of the key ID or alias. // To encrypt data managed in other configuration stores, see the documentation // for how to specify an KMS key for that particular service. - KmsKeyIdentifier *string `type:"string"` + KmsKeyIdentifier *string `min:"1" type:"string"` // A URI to locate the configuration. You can specify the following: // @@ -5190,6 +5190,9 @@ func (s *CreateConfigurationProfileInput) Validate() error { if s.ApplicationId != nil && len(*s.ApplicationId) < 1 { invalidParams.Add(request.NewErrParamMinLen("ApplicationId", 1)) } + if s.KmsKeyIdentifier != nil && len(*s.KmsKeyIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KmsKeyIdentifier", 1)) + } if s.LocationUri == nil { invalidParams.Add(request.NewErrParamRequired("LocationUri")) } @@ -5297,7 +5300,7 @@ type CreateConfigurationProfileOutput struct { // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. - KmsKeyIdentifier *string `type:"string"` + KmsKeyIdentifier *string `min:"1" type:"string"` // The URI location of the configuration. LocationUri *string `min:"1" type:"string"` @@ -7915,7 +7918,7 @@ type GetConfigurationProfileOutput struct { // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. - KmsKeyIdentifier *string `type:"string"` + KmsKeyIdentifier *string `min:"1" type:"string"` // The URI location of the configuration. LocationUri *string `min:"1" type:"string"` @@ -8165,7 +8168,7 @@ type GetDeploymentOutput struct { // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. - KmsKeyIdentifier *string `type:"string"` + KmsKeyIdentifier *string `min:"1" type:"string"` // The percentage of targets for which the deployment is available. PercentageComplete *float64 `min:"1" type:"float"` @@ -10710,7 +10713,7 @@ type StartDeploymentInput struct { // The KMS key identifier (key ID, key alias, or key ARN). AppConfig uses this // ID to encrypt the configuration data using a customer managed key. - KmsKeyIdentifier *string `type:"string"` + KmsKeyIdentifier *string `min:"1" type:"string"` // Metadata to assign to the deployment. Tags help organize and categorize your // AppConfig resources. Each tag consists of a key and an optional value, both @@ -10763,6 +10766,9 @@ func (s *StartDeploymentInput) Validate() error { if s.EnvironmentId != nil && len(*s.EnvironmentId) < 1 { invalidParams.Add(request.NewErrParamMinLen("EnvironmentId", 1)) } + if s.KmsKeyIdentifier != nil && len(*s.KmsKeyIdentifier) < 1 { + invalidParams.Add(request.NewErrParamMinLen("KmsKeyIdentifier", 1)) + } if invalidParams.Len() > 0 { return invalidParams @@ -10883,7 +10889,7 @@ type StartDeploymentOutput struct { // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. - KmsKeyIdentifier *string `type:"string"` + KmsKeyIdentifier *string `min:"1" type:"string"` // The percentage of targets for which the deployment is available. PercentageComplete *float64 `min:"1" type:"float"` @@ -11193,7 +11199,7 @@ type StopDeploymentOutput struct { // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. - KmsKeyIdentifier *string `type:"string"` + KmsKeyIdentifier *string `min:"1" type:"string"` // The percentage of targets for which the deployment is available. PercentageComplete *float64 `min:"1" type:"float"` @@ -11803,7 +11809,7 @@ type UpdateConfigurationProfileOutput struct { // The Key Management Service key identifier (key ID, key alias, or key ARN) // provided when the resource was created or updated. - KmsKeyIdentifier *string `type:"string"` + KmsKeyIdentifier *string `min:"1" type:"string"` // The URI location of the configuration. LocationUri *string `min:"1" type:"string"` diff --git a/service/appintegrationsservice/api.go b/service/appintegrationsservice/api.go index 636300d23fb..7b566ed0a40 100644 --- a/service/appintegrationsservice/api.go +++ b/service/appintegrationsservice/api.go @@ -2488,9 +2488,7 @@ type CreateDataIntegrationInput struct { ObjectConfiguration map[string]map[string][]*string `type:"map"` // The name of the data and how often it should be pulled from the source. - // - // ScheduleConfig is a required field - ScheduleConfig *ScheduleConfiguration `type:"structure" required:"true"` + ScheduleConfig *ScheduleConfiguration `type:"structure"` // The URI of the data source. // @@ -2541,9 +2539,6 @@ func (s *CreateDataIntegrationInput) Validate() error { if s.Name != nil && len(*s.Name) < 1 { invalidParams.Add(request.NewErrParamMinLen("Name", 1)) } - if s.ScheduleConfig == nil { - invalidParams.Add(request.NewErrParamRequired("ScheduleConfig")) - } if s.SourceURI == nil { invalidParams.Add(request.NewErrParamRequired("SourceURI")) } diff --git a/service/applicationdiscoveryservice/api.go b/service/applicationdiscoveryservice/api.go index 5efd67cca89..12ee316282d 100644 --- a/service/applicationdiscoveryservice/api.go +++ b/service/applicationdiscoveryservice/api.go @@ -107,6 +107,98 @@ func (c *ApplicationDiscoveryService) AssociateConfigurationItemsToApplicationWi return out, req.Send() } +const opBatchDeleteAgents = "BatchDeleteAgents" + +// BatchDeleteAgentsRequest generates a "aws/request.Request" representing the +// client's request for the BatchDeleteAgents 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 BatchDeleteAgents for more information on using the BatchDeleteAgents +// 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 BatchDeleteAgentsRequest method. +// req, resp := client.BatchDeleteAgentsRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/BatchDeleteAgents +func (c *ApplicationDiscoveryService) BatchDeleteAgentsRequest(input *BatchDeleteAgentsInput) (req *request.Request, output *BatchDeleteAgentsOutput) { + op := &request.Operation{ + Name: opBatchDeleteAgents, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &BatchDeleteAgentsInput{} + } + + output = &BatchDeleteAgentsOutput{} + req = c.newRequest(op, input, output) + return +} + +// BatchDeleteAgents API operation for AWS Application Discovery Service. +// +// Deletes one or more agents or collectors as specified by ID. Deleting an +// agent or collector does not delete the previously discovered data. To delete +// the data collected, use StartBatchDeleteConfigurationTask. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Application Discovery Service's +// API operation BatchDeleteAgents for usage and error information. +// +// Returned Error Types: +// +// - AuthorizationErrorException +// The user does not have permission to perform the action. Check the IAM policy +// associated with this user. +// +// - InvalidParameterException +// One or more parameters are not valid. Verify the parameters and try again. +// +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. +// +// - ServerInternalErrorException +// The server experienced an internal error. Try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/BatchDeleteAgents +func (c *ApplicationDiscoveryService) BatchDeleteAgents(input *BatchDeleteAgentsInput) (*BatchDeleteAgentsOutput, error) { + req, out := c.BatchDeleteAgentsRequest(input) + return out, req.Send() +} + +// BatchDeleteAgentsWithContext is the same as BatchDeleteAgents with the addition of +// the ability to pass a context and additional request options. +// +// See BatchDeleteAgents 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 *ApplicationDiscoveryService) BatchDeleteAgentsWithContext(ctx aws.Context, input *BatchDeleteAgentsInput, opts ...request.Option) (*BatchDeleteAgentsOutput, error) { + req, out := c.BatchDeleteAgentsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opBatchDeleteImportData = "BatchDeleteImportData" // BatchDeleteImportDataRequest generates a "aws/request.Request" representing the @@ -627,6 +719,12 @@ func (c *ApplicationDiscoveryService) DescribeAgentsRequest(input *DescribeAgent Name: opDescribeAgents, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -692,6 +790,148 @@ func (c *ApplicationDiscoveryService) DescribeAgentsWithContext(ctx aws.Context, return out, req.Send() } +// DescribeAgentsPages iterates over the pages of a DescribeAgents operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeAgents method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeAgents operation. +// pageNum := 0 +// err := client.DescribeAgentsPages(params, +// func(page *applicationdiscoveryservice.DescribeAgentsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ApplicationDiscoveryService) DescribeAgentsPages(input *DescribeAgentsInput, fn func(*DescribeAgentsOutput, bool) bool) error { + return c.DescribeAgentsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeAgentsPagesWithContext same as DescribeAgentsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ApplicationDiscoveryService) DescribeAgentsPagesWithContext(ctx aws.Context, input *DescribeAgentsInput, fn func(*DescribeAgentsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeAgentsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeAgentsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeAgentsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + +const opDescribeBatchDeleteConfigurationTask = "DescribeBatchDeleteConfigurationTask" + +// DescribeBatchDeleteConfigurationTaskRequest generates a "aws/request.Request" representing the +// client's request for the DescribeBatchDeleteConfigurationTask 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 DescribeBatchDeleteConfigurationTask for more information on using the DescribeBatchDeleteConfigurationTask +// 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 DescribeBatchDeleteConfigurationTaskRequest method. +// req, resp := client.DescribeBatchDeleteConfigurationTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeBatchDeleteConfigurationTask +func (c *ApplicationDiscoveryService) DescribeBatchDeleteConfigurationTaskRequest(input *DescribeBatchDeleteConfigurationTaskInput) (req *request.Request, output *DescribeBatchDeleteConfigurationTaskOutput) { + op := &request.Operation{ + Name: opDescribeBatchDeleteConfigurationTask, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DescribeBatchDeleteConfigurationTaskInput{} + } + + output = &DescribeBatchDeleteConfigurationTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// DescribeBatchDeleteConfigurationTask API operation for AWS Application Discovery Service. +// +// Takes a unique deletion task identifier as input and returns metadata about +// a configuration deletion task. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Application Discovery Service's +// API operation DescribeBatchDeleteConfigurationTask for usage and error information. +// +// Returned Error Types: +// +// - AuthorizationErrorException +// The user does not have permission to perform the action. Check the IAM policy +// associated with this user. +// +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. +// +// - ServerInternalErrorException +// The server experienced an internal error. Try again. +// +// - HomeRegionNotSetException +// The home Region is not set. Set the home Region to continue. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/DescribeBatchDeleteConfigurationTask +func (c *ApplicationDiscoveryService) DescribeBatchDeleteConfigurationTask(input *DescribeBatchDeleteConfigurationTaskInput) (*DescribeBatchDeleteConfigurationTaskOutput, error) { + req, out := c.DescribeBatchDeleteConfigurationTaskRequest(input) + return out, req.Send() +} + +// DescribeBatchDeleteConfigurationTaskWithContext is the same as DescribeBatchDeleteConfigurationTask with the addition of +// the ability to pass a context and additional request options. +// +// See DescribeBatchDeleteConfigurationTask 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 *ApplicationDiscoveryService) DescribeBatchDeleteConfigurationTaskWithContext(ctx aws.Context, input *DescribeBatchDeleteConfigurationTaskInput, opts ...request.Option) (*DescribeBatchDeleteConfigurationTaskOutput, error) { + req, out := c.DescribeBatchDeleteConfigurationTaskRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDescribeConfigurations = "DescribeConfigurations" // DescribeConfigurationsRequest generates a "aws/request.Request" representing the @@ -998,6 +1238,12 @@ func (c *ApplicationDiscoveryService) DescribeExportConfigurationsRequest(input Name: opDescribeExportConfigurations, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -1070,6 +1316,61 @@ func (c *ApplicationDiscoveryService) DescribeExportConfigurationsWithContext(ct return out, req.Send() } +// DescribeExportConfigurationsPages iterates over the pages of a DescribeExportConfigurations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeExportConfigurations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeExportConfigurations operation. +// pageNum := 0 +// err := client.DescribeExportConfigurationsPages(params, +// func(page *applicationdiscoveryservice.DescribeExportConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +// +// Deprecated: DescribeExportConfigurationsPages has been deprecated +func (c *ApplicationDiscoveryService) DescribeExportConfigurationsPages(input *DescribeExportConfigurationsInput, fn func(*DescribeExportConfigurationsOutput, bool) bool) error { + return c.DescribeExportConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeExportConfigurationsPagesWithContext same as DescribeExportConfigurationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +// +// Deprecated: DescribeExportConfigurationsPagesWithContext has been deprecated +func (c *ApplicationDiscoveryService) DescribeExportConfigurationsPagesWithContext(ctx aws.Context, input *DescribeExportConfigurationsInput, fn func(*DescribeExportConfigurationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeExportConfigurationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeExportConfigurationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeExportConfigurationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeExportTasks = "DescribeExportTasks" // DescribeExportTasksRequest generates a "aws/request.Request" representing the @@ -1100,6 +1401,12 @@ func (c *ApplicationDiscoveryService) DescribeExportTasksRequest(input *Describe Name: opDescribeExportTasks, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -1164,6 +1471,57 @@ func (c *ApplicationDiscoveryService) DescribeExportTasksWithContext(ctx aws.Con return out, req.Send() } +// DescribeExportTasksPages iterates over the pages of a DescribeExportTasks operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeExportTasks method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeExportTasks operation. +// pageNum := 0 +// err := client.DescribeExportTasksPages(params, +// func(page *applicationdiscoveryservice.DescribeExportTasksOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ApplicationDiscoveryService) DescribeExportTasksPages(input *DescribeExportTasksInput, fn func(*DescribeExportTasksOutput, bool) bool) error { + return c.DescribeExportTasksPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeExportTasksPagesWithContext same as DescribeExportTasksPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ApplicationDiscoveryService) DescribeExportTasksPagesWithContext(ctx aws.Context, input *DescribeExportTasksInput, fn func(*DescribeExportTasksOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeExportTasksInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeExportTasksRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeExportTasksOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDescribeImportTasks = "DescribeImportTasks" // DescribeImportTasksRequest generates a "aws/request.Request" representing the @@ -1345,6 +1703,12 @@ func (c *ApplicationDiscoveryService) DescribeTagsRequest(input *DescribeTagsInp Name: opDescribeTags, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -1424,6 +1788,57 @@ func (c *ApplicationDiscoveryService) DescribeTagsWithContext(ctx aws.Context, i return out, req.Send() } +// DescribeTagsPages iterates over the pages of a DescribeTags operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See DescribeTags method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a DescribeTags operation. +// pageNum := 0 +// err := client.DescribeTagsPages(params, +// func(page *applicationdiscoveryservice.DescribeTagsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ApplicationDiscoveryService) DescribeTagsPages(input *DescribeTagsInput, fn func(*DescribeTagsOutput, bool) bool) error { + return c.DescribeTagsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// DescribeTagsPagesWithContext same as DescribeTagsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ApplicationDiscoveryService) DescribeTagsPagesWithContext(ctx aws.Context, input *DescribeTagsInput, fn func(*DescribeTagsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *DescribeTagsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.DescribeTagsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*DescribeTagsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opDisassociateConfigurationItemsFromApplication = "DisassociateConfigurationItemsFromApplication" // DisassociateConfigurationItemsFromApplicationRequest generates a "aws/request.Request" representing the @@ -1755,6 +2170,12 @@ func (c *ApplicationDiscoveryService) ListConfigurationsRequest(input *ListConfi Name: opListConfigurations, HTTPMethod: "POST", HTTPPath: "/", + Paginator: &request.Paginator{ + InputTokens: []string{"nextToken"}, + OutputTokens: []string{"nextToken"}, + LimitToken: "maxResults", + TruncationToken: "", + }, } if input == nil { @@ -1824,6 +2245,57 @@ func (c *ApplicationDiscoveryService) ListConfigurationsWithContext(ctx aws.Cont return out, req.Send() } +// ListConfigurationsPages iterates over the pages of a ListConfigurations operation, +// calling the "fn" function with the response data for each page. To stop +// iterating, return false from the fn function. +// +// See ListConfigurations method for more information on how to use this operation. +// +// Note: This operation can generate multiple requests to a service. +// +// // Example iterating over at most 3 pages of a ListConfigurations operation. +// pageNum := 0 +// err := client.ListConfigurationsPages(params, +// func(page *applicationdiscoveryservice.ListConfigurationsOutput, lastPage bool) bool { +// pageNum++ +// fmt.Println(page) +// return pageNum <= 3 +// }) +func (c *ApplicationDiscoveryService) ListConfigurationsPages(input *ListConfigurationsInput, fn func(*ListConfigurationsOutput, bool) bool) error { + return c.ListConfigurationsPagesWithContext(aws.BackgroundContext(), input, fn) +} + +// ListConfigurationsPagesWithContext same as ListConfigurationsPages except +// it takes a Context and allows setting request options on the pages. +// +// The context must be non-nil and will be used for request cancellation. If +// the context is nil a panic will occur. In the future the SDK may create +// sub-contexts for http.Requests. See https://golang.org/pkg/context/ +// for more information on using Contexts. +func (c *ApplicationDiscoveryService) ListConfigurationsPagesWithContext(ctx aws.Context, input *ListConfigurationsInput, fn func(*ListConfigurationsOutput, bool) bool, opts ...request.Option) error { + p := request.Pagination{ + NewRequest: func() (*request.Request, error) { + var inCpy *ListConfigurationsInput + if input != nil { + tmp := *input + inCpy = &tmp + } + req, _ := c.ListConfigurationsRequest(inCpy) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return req, nil + }, + } + + for p.Next() { + if !fn(p.Page().(*ListConfigurationsOutput), !p.HasNextPage()) { + break + } + } + + return p.Err() +} + const opListServerNeighbors = "ListServerNeighbors" // ListServerNeighborsRequest generates a "aws/request.Request" representing the @@ -1896,23 +2368,120 @@ func (c *ApplicationDiscoveryService) ListServerNeighborsRequest(input *ListServ // - HomeRegionNotSetException // The home Region is not set. Set the home Region to continue. // -// See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighbors -func (c *ApplicationDiscoveryService) ListServerNeighbors(input *ListServerNeighborsInput) (*ListServerNeighborsOutput, error) { - req, out := c.ListServerNeighborsRequest(input) +// See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/ListServerNeighbors +func (c *ApplicationDiscoveryService) ListServerNeighbors(input *ListServerNeighborsInput) (*ListServerNeighborsOutput, error) { + req, out := c.ListServerNeighborsRequest(input) + return out, req.Send() +} + +// ListServerNeighborsWithContext is the same as ListServerNeighbors with the addition of +// the ability to pass a context and additional request options. +// +// See ListServerNeighbors 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 *ApplicationDiscoveryService) ListServerNeighborsWithContext(ctx aws.Context, input *ListServerNeighborsInput, opts ...request.Option) (*ListServerNeighborsOutput, error) { + req, out := c.ListServerNeighborsRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + +const opStartBatchDeleteConfigurationTask = "StartBatchDeleteConfigurationTask" + +// StartBatchDeleteConfigurationTaskRequest generates a "aws/request.Request" representing the +// client's request for the StartBatchDeleteConfigurationTask 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 StartBatchDeleteConfigurationTask for more information on using the StartBatchDeleteConfigurationTask +// 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 StartBatchDeleteConfigurationTaskRequest method. +// req, resp := client.StartBatchDeleteConfigurationTaskRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartBatchDeleteConfigurationTask +func (c *ApplicationDiscoveryService) StartBatchDeleteConfigurationTaskRequest(input *StartBatchDeleteConfigurationTaskInput) (req *request.Request, output *StartBatchDeleteConfigurationTaskOutput) { + op := &request.Operation{ + Name: opStartBatchDeleteConfigurationTask, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &StartBatchDeleteConfigurationTaskInput{} + } + + output = &StartBatchDeleteConfigurationTaskOutput{} + req = c.newRequest(op, input, output) + return +} + +// StartBatchDeleteConfigurationTask API operation for AWS Application Discovery Service. +// +// Takes a list of configurationId as input and starts an asynchronous deletion +// task to remove the configurationItems. Returns a unique deletion task identifier. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for AWS Application Discovery Service's +// API operation StartBatchDeleteConfigurationTask for usage and error information. +// +// Returned Error Types: +// +// - LimitExceededException +// The limit of 200 configuration IDs per request has been exceeded. +// +// - AuthorizationErrorException +// The user does not have permission to perform the action. Check the IAM policy +// associated with this user. +// +// - ServerInternalErrorException +// The server experienced an internal error. Try again. +// +// - HomeRegionNotSetException +// The home Region is not set. Set the home Region to continue. +// +// - OperationNotPermittedException +// This operation is not permitted. +// +// - InvalidParameterValueException +// The value of one or more parameters are either invalid or out of range. Verify +// the parameter values and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/discovery-2015-11-01/StartBatchDeleteConfigurationTask +func (c *ApplicationDiscoveryService) StartBatchDeleteConfigurationTask(input *StartBatchDeleteConfigurationTaskInput) (*StartBatchDeleteConfigurationTaskOutput, error) { + req, out := c.StartBatchDeleteConfigurationTaskRequest(input) return out, req.Send() } -// ListServerNeighborsWithContext is the same as ListServerNeighbors with the addition of +// StartBatchDeleteConfigurationTaskWithContext is the same as StartBatchDeleteConfigurationTask with the addition of // the ability to pass a context and additional request options. // -// See ListServerNeighbors for details on how to use this API operation. +// See StartBatchDeleteConfigurationTask 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 *ApplicationDiscoveryService) ListServerNeighborsWithContext(ctx aws.Context, input *ListServerNeighborsInput, opts ...request.Option) (*ListServerNeighborsOutput, error) { - req, out := c.ListServerNeighborsRequest(input) +func (c *ApplicationDiscoveryService) StartBatchDeleteConfigurationTaskWithContext(ctx aws.Context, input *StartBatchDeleteConfigurationTaskInput, opts ...request.Option) (*StartBatchDeleteConfigurationTaskOutput, error) { + req, out := c.StartBatchDeleteConfigurationTaskRequest(input) req.SetContext(ctx) req.ApplyOptions(opts...) return out, req.Send() @@ -3021,6 +3590,265 @@ func (s *AuthorizationErrorException) RequestID() string { return s.RespMetadata.RequestID } +// An object representing the agent or data collector that failed to delete, +// each containing agentId, errorMessage, and errorCode. +type BatchDeleteAgentError struct { + _ struct{} `type:"structure"` + + // The ID of the agent or data collector to delete. + // + // AgentId is a required field + AgentId *string `locationName:"agentId" min:"10" type:"string" required:"true"` + + // The type of error that occurred for the delete failed agent. Valid status + // are: AGENT_IN_USE | NOT_FOUND | INTERNAL_SERVER_ERROR. + // + // ErrorCode is a required field + ErrorCode *string `locationName:"errorCode" type:"string" required:"true" enum:"DeleteAgentErrorCode"` + + // The description of the error that occurred for the delete failed agent. + // + // ErrorMessage is a required field + ErrorMessage *string `locationName:"errorMessage" 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 BatchDeleteAgentError) 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 BatchDeleteAgentError) GoString() string { + return s.String() +} + +// SetAgentId sets the AgentId field's value. +func (s *BatchDeleteAgentError) SetAgentId(v string) *BatchDeleteAgentError { + s.AgentId = &v + return s +} + +// SetErrorCode sets the ErrorCode field's value. +func (s *BatchDeleteAgentError) SetErrorCode(v string) *BatchDeleteAgentError { + s.ErrorCode = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *BatchDeleteAgentError) SetErrorMessage(v string) *BatchDeleteAgentError { + s.ErrorMessage = &v + return s +} + +type BatchDeleteAgentsInput struct { + _ struct{} `type:"structure"` + + // The list of agents to delete. + // + // DeleteAgents is a required field + DeleteAgents []*DeleteAgent `locationName:"deleteAgents" min:"1" 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 BatchDeleteAgentsInput) 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 BatchDeleteAgentsInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *BatchDeleteAgentsInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "BatchDeleteAgentsInput"} + if s.DeleteAgents == nil { + invalidParams.Add(request.NewErrParamRequired("DeleteAgents")) + } + if s.DeleteAgents != nil && len(s.DeleteAgents) < 1 { + invalidParams.Add(request.NewErrParamMinLen("DeleteAgents", 1)) + } + if s.DeleteAgents != nil { + for i, v := range s.DeleteAgents { + if v == nil { + continue + } + if err := v.Validate(); err != nil { + invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DeleteAgents", i), err.(request.ErrInvalidParams)) + } + } + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetDeleteAgents sets the DeleteAgents field's value. +func (s *BatchDeleteAgentsInput) SetDeleteAgents(v []*DeleteAgent) *BatchDeleteAgentsInput { + s.DeleteAgents = v + return s +} + +type BatchDeleteAgentsOutput struct { + _ struct{} `type:"structure"` + + // A list of agent IDs that failed to delete during the deletion task, each + // paired with an error message. + Errors []*BatchDeleteAgentError `locationName:"errors" 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 BatchDeleteAgentsOutput) 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 BatchDeleteAgentsOutput) GoString() string { + return s.String() +} + +// SetErrors sets the Errors field's value. +func (s *BatchDeleteAgentsOutput) SetErrors(v []*BatchDeleteAgentError) *BatchDeleteAgentsOutput { + s.Errors = v + return s +} + +// A metadata object that represents the deletion task being executed. +type BatchDeleteConfigurationTask struct { + _ struct{} `type:"structure"` + + // The type of configuration item to delete. Supported types are: SERVER. + ConfigurationType *string `locationName:"configurationType" type:"string" enum:"DeletionConfigurationItemType"` + + // The list of configuration IDs that were successfully deleted by the deletion + // task. + DeletedConfigurations []*string `locationName:"deletedConfigurations" type:"list"` + + // A list of configuration IDs that produced warnings regarding their deletion, + // paired with a warning message. + DeletionWarnings []*DeletionWarning `locationName:"deletionWarnings" type:"list"` + + // An epoch seconds timestamp (UTC) of when the deletion task was completed + // or failed. + EndTime *time.Time `locationName:"endTime" type:"timestamp"` + + // A list of configuration IDs that failed to delete during the deletion task, + // each paired with an error message. + FailedConfigurations []*FailedConfiguration `locationName:"failedConfigurations" type:"list"` + + // The list of configuration IDs that were originally requested to be deleted + // by the deletion task. + RequestedConfigurations []*string `locationName:"requestedConfigurations" type:"list"` + + // An epoch seconds timestamp (UTC) of when the deletion task was started. + StartTime *time.Time `locationName:"startTime" type:"timestamp"` + + // The current execution status of the deletion task. Valid status are: INITIALIZING + // | VALIDATING | DELETING | COMPLETED | FAILED. + Status *string `locationName:"status" type:"string" enum:"BatchDeleteConfigurationTaskStatus"` + + // The deletion task's unique identifier. + TaskId *string `locationName:"taskId" 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 BatchDeleteConfigurationTask) 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 BatchDeleteConfigurationTask) GoString() string { + return s.String() +} + +// SetConfigurationType sets the ConfigurationType field's value. +func (s *BatchDeleteConfigurationTask) SetConfigurationType(v string) *BatchDeleteConfigurationTask { + s.ConfigurationType = &v + return s +} + +// SetDeletedConfigurations sets the DeletedConfigurations field's value. +func (s *BatchDeleteConfigurationTask) SetDeletedConfigurations(v []*string) *BatchDeleteConfigurationTask { + s.DeletedConfigurations = v + return s +} + +// SetDeletionWarnings sets the DeletionWarnings field's value. +func (s *BatchDeleteConfigurationTask) SetDeletionWarnings(v []*DeletionWarning) *BatchDeleteConfigurationTask { + s.DeletionWarnings = v + return s +} + +// SetEndTime sets the EndTime field's value. +func (s *BatchDeleteConfigurationTask) SetEndTime(v time.Time) *BatchDeleteConfigurationTask { + s.EndTime = &v + return s +} + +// SetFailedConfigurations sets the FailedConfigurations field's value. +func (s *BatchDeleteConfigurationTask) SetFailedConfigurations(v []*FailedConfiguration) *BatchDeleteConfigurationTask { + s.FailedConfigurations = v + return s +} + +// SetRequestedConfigurations sets the RequestedConfigurations field's value. +func (s *BatchDeleteConfigurationTask) SetRequestedConfigurations(v []*string) *BatchDeleteConfigurationTask { + s.RequestedConfigurations = v + return s +} + +// SetStartTime sets the StartTime field's value. +func (s *BatchDeleteConfigurationTask) SetStartTime(v time.Time) *BatchDeleteConfigurationTask { + s.StartTime = &v + return s +} + +// SetStatus sets the Status field's value. +func (s *BatchDeleteConfigurationTask) SetStatus(v string) *BatchDeleteConfigurationTask { + s.Status = &v + return s +} + +// SetTaskId sets the TaskId field's value. +func (s *BatchDeleteConfigurationTask) SetTaskId(v string) *BatchDeleteConfigurationTask { + s.TaskId = &v + return s +} + // Error messages returned for each import task that you deleted as a response // for this command. type BatchDeleteImportDataError struct { @@ -3075,6 +3903,9 @@ func (s *BatchDeleteImportDataError) SetImportTaskId(v string) *BatchDeleteImpor type BatchDeleteImportDataInput struct { _ struct{} `type:"structure"` + // Set to true to remove the deleted import task from DescribeImportTasks. + DeleteHistory *bool `locationName:"deleteHistory" type:"boolean"` + // The IDs for the import tasks that you want to delete. // // ImportTaskIds is a required field @@ -3115,6 +3946,12 @@ func (s *BatchDeleteImportDataInput) Validate() error { return nil } +// SetDeleteHistory sets the DeleteHistory field's value. +func (s *BatchDeleteImportDataInput) SetDeleteHistory(v bool) *BatchDeleteImportDataInput { + s.DeleteHistory = &v + return s +} + // SetImportTaskIds sets the ImportTaskIds field's value. func (s *BatchDeleteImportDataInput) SetImportTaskIds(v []*string) *BatchDeleteImportDataInput { s.ImportTaskIds = v @@ -4044,6 +4881,70 @@ func (s *CustomerMeCollectorInfo) SetUnknownMeCollectors(v int64) *CustomerMeCol return s } +// An object representing the agent or data collector to be deleted along with +// the optional configurations for error handling. +type DeleteAgent struct { + _ struct{} `type:"structure"` + + // The ID of the agent or data collector to delete. + // + // AgentId is a required field + AgentId *string `locationName:"agentId" min:"10" type:"string" required:"true"` + + // Optional flag used to force delete an agent or data collector. It is needed + // to delete any agent in HEALTHY/UNHEALTHY/RUNNING status. Note that deleting + // an agent that is actively reporting health causes it to be re-registered + // with a different agent ID after data collector re-connects with Amazon Web + // Services. + Force *bool `locationName:"force" type:"boolean"` +} + +// 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 DeleteAgent) 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 DeleteAgent) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteAgent) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteAgent"} + if s.AgentId == nil { + invalidParams.Add(request.NewErrParamRequired("AgentId")) + } + if s.AgentId != nil && len(*s.AgentId) < 10 { + invalidParams.Add(request.NewErrParamMinLen("AgentId", 10)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetAgentId sets the AgentId field's value. +func (s *DeleteAgent) SetAgentId(v string) *DeleteAgent { + s.AgentId = &v + return s +} + +// SetForce sets the Force field's value. +func (s *DeleteAgent) SetForce(v bool) *DeleteAgent { + s.Force = &v + return s +} + type DeleteApplicationsInput struct { _ struct{} `type:"structure"` @@ -4189,7 +5090,39 @@ type DeleteTagsOutput 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 DeleteTagsOutput) String() string { +func (s DeleteTagsOutput) 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 DeleteTagsOutput) GoString() string { + return s.String() +} + +// A configuration ID paired with a warning message. +type DeletionWarning struct { + _ struct{} `type:"structure"` + + // The unique identifier of the configuration that produced a warning. + ConfigurationId *string `locationName:"configurationId" type:"string"` + + // The integer warning code associated with the warning message. + WarningCode *int64 `locationName:"warningCode" type:"integer"` + + // A descriptive message of the warning the associated configuration ID produced. + WarningText *string `locationName:"warningText" 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 DeletionWarning) String() string { return awsutil.Prettify(s) } @@ -4198,10 +5131,28 @@ func (s DeleteTagsOutput) 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 DeleteTagsOutput) GoString() string { +func (s DeletionWarning) GoString() string { return s.String() } +// SetConfigurationId sets the ConfigurationId field's value. +func (s *DeletionWarning) SetConfigurationId(v string) *DeletionWarning { + s.ConfigurationId = &v + return s +} + +// SetWarningCode sets the WarningCode field's value. +func (s *DeletionWarning) SetWarningCode(v int64) *DeletionWarning { + s.WarningCode = &v + return s +} + +// SetWarningText sets the WarningText field's value. +func (s *DeletionWarning) SetWarningText(v string) *DeletionWarning { + s.WarningText = &v + return s +} + type DescribeAgentsInput struct { _ struct{} `type:"structure"` @@ -4336,6 +5287,84 @@ func (s *DescribeAgentsOutput) SetNextToken(v string) *DescribeAgentsOutput { return s } +type DescribeBatchDeleteConfigurationTaskInput struct { + _ struct{} `type:"structure"` + + // The ID of the task to delete. + // + // TaskId is a required field + TaskId *string `locationName:"taskId" 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 DescribeBatchDeleteConfigurationTaskInput) 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 DescribeBatchDeleteConfigurationTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DescribeBatchDeleteConfigurationTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DescribeBatchDeleteConfigurationTaskInput"} + if s.TaskId == nil { + invalidParams.Add(request.NewErrParamRequired("TaskId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetTaskId sets the TaskId field's value. +func (s *DescribeBatchDeleteConfigurationTaskInput) SetTaskId(v string) *DescribeBatchDeleteConfigurationTaskInput { + s.TaskId = &v + return s +} + +type DescribeBatchDeleteConfigurationTaskOutput struct { + _ struct{} `type:"structure"` + + // The BatchDeleteConfigurationTask that represents the deletion task being + // executed. + Task *BatchDeleteConfigurationTask `locationName:"task" 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 DescribeBatchDeleteConfigurationTaskOutput) 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 DescribeBatchDeleteConfigurationTaskOutput) GoString() string { + return s.String() +} + +// SetTask sets the Task field's value. +func (s *DescribeBatchDeleteConfigurationTaskOutput) SetTask(v *BatchDeleteConfigurationTask) *DescribeBatchDeleteConfigurationTaskOutput { + s.Task = v + return s +} + type DescribeConfigurationsInput struct { _ struct{} `type:"structure"` @@ -5452,6 +6481,57 @@ func (s *ExportPreferences) SetEc2RecommendationsPreferences(v *Ec2Recommendatio return s } +// A configuration ID paired with an error message. +type FailedConfiguration struct { + _ struct{} `type:"structure"` + + // The unique identifier of the configuration the failed to delete. + ConfigurationId *string `locationName:"configurationId" type:"string"` + + // A descriptive message indicating why the associated configuration failed + // to delete. + ErrorMessage *string `locationName:"errorMessage" type:"string"` + + // The integer error code associated with the error message. + ErrorStatusCode *int64 `locationName:"errorStatusCode" type:"integer"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s FailedConfiguration) 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 FailedConfiguration) GoString() string { + return s.String() +} + +// SetConfigurationId sets the ConfigurationId field's value. +func (s *FailedConfiguration) SetConfigurationId(v string) *FailedConfiguration { + s.ConfigurationId = &v + return s +} + +// SetErrorMessage sets the ErrorMessage field's value. +func (s *FailedConfiguration) SetErrorMessage(v string) *FailedConfiguration { + s.ErrorMessage = &v + return s +} + +// SetErrorStatusCode sets the ErrorStatusCode field's value. +func (s *FailedConfiguration) SetErrorStatusCode(v int64) *FailedConfiguration { + s.ErrorStatusCode = &v + return s +} + // A filter that can use conditional operators. // // For more information about filters, see Querying Discovered Configuration @@ -6074,6 +7154,70 @@ func (s *InvalidParameterValueException) RequestID() string { return s.RespMetadata.RequestID } +// The limit of 200 configuration IDs per request has been exceeded. +type LimitExceededException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s LimitExceededException) 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 LimitExceededException) GoString() string { + return s.String() +} + +func newErrorLimitExceededException(v protocol.ResponseMetadata) error { + return &LimitExceededException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *LimitExceededException) Code() string { + return "LimitExceededException" +} + +// Message returns the exception's message. +func (s *LimitExceededException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *LimitExceededException) OrigErr() error { + return nil +} + +func (s *LimitExceededException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *LimitExceededException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *LimitExceededException) RequestID() string { + return s.RespMetadata.RequestID +} + type ListConfigurationsInput struct { _ struct{} `type:"structure"` @@ -6840,6 +7984,97 @@ func (s *ServerInternalErrorException) RequestID() string { return s.RespMetadata.RequestID } +type StartBatchDeleteConfigurationTaskInput struct { + _ struct{} `type:"structure"` + + // The list of configuration IDs that will be deleted by the task. + // + // ConfigurationIds is a required field + ConfigurationIds []*string `locationName:"configurationIds" type:"list" required:"true"` + + // The type of configuration item to delete. Supported types are: SERVER. + // + // ConfigurationType is a required field + ConfigurationType *string `locationName:"configurationType" type:"string" required:"true" enum:"DeletionConfigurationItemType"` +} + +// 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 StartBatchDeleteConfigurationTaskInput) 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 StartBatchDeleteConfigurationTaskInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *StartBatchDeleteConfigurationTaskInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "StartBatchDeleteConfigurationTaskInput"} + if s.ConfigurationIds == nil { + invalidParams.Add(request.NewErrParamRequired("ConfigurationIds")) + } + if s.ConfigurationType == nil { + invalidParams.Add(request.NewErrParamRequired("ConfigurationType")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetConfigurationIds sets the ConfigurationIds field's value. +func (s *StartBatchDeleteConfigurationTaskInput) SetConfigurationIds(v []*string) *StartBatchDeleteConfigurationTaskInput { + s.ConfigurationIds = v + return s +} + +// SetConfigurationType sets the ConfigurationType field's value. +func (s *StartBatchDeleteConfigurationTaskInput) SetConfigurationType(v string) *StartBatchDeleteConfigurationTaskInput { + s.ConfigurationType = &v + return s +} + +type StartBatchDeleteConfigurationTaskOutput struct { + _ struct{} `type:"structure"` + + // The unique identifier associated with the newly started deletion task. + TaskId *string `locationName:"taskId" 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 StartBatchDeleteConfigurationTaskOutput) 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 StartBatchDeleteConfigurationTaskOutput) GoString() string { + return s.String() +} + +// SetTaskId sets the TaskId field's value. +func (s *StartBatchDeleteConfigurationTaskOutput) SetTaskId(v string) *StartBatchDeleteConfigurationTaskOutput { + s.TaskId = &v + return s +} + type StartContinuousExportInput struct { _ struct{} `type:"structure"` } @@ -7726,6 +8961,34 @@ func AgentStatus_Values() []string { } } +const ( + // BatchDeleteConfigurationTaskStatusInitializing is a BatchDeleteConfigurationTaskStatus enum value + BatchDeleteConfigurationTaskStatusInitializing = "INITIALIZING" + + // BatchDeleteConfigurationTaskStatusValidating is a BatchDeleteConfigurationTaskStatus enum value + BatchDeleteConfigurationTaskStatusValidating = "VALIDATING" + + // BatchDeleteConfigurationTaskStatusDeleting is a BatchDeleteConfigurationTaskStatus enum value + BatchDeleteConfigurationTaskStatusDeleting = "DELETING" + + // BatchDeleteConfigurationTaskStatusCompleted is a BatchDeleteConfigurationTaskStatus enum value + BatchDeleteConfigurationTaskStatusCompleted = "COMPLETED" + + // BatchDeleteConfigurationTaskStatusFailed is a BatchDeleteConfigurationTaskStatus enum value + BatchDeleteConfigurationTaskStatusFailed = "FAILED" +) + +// BatchDeleteConfigurationTaskStatus_Values returns all elements of the BatchDeleteConfigurationTaskStatus enum +func BatchDeleteConfigurationTaskStatus_Values() []string { + return []string{ + BatchDeleteConfigurationTaskStatusInitializing, + BatchDeleteConfigurationTaskStatusValidating, + BatchDeleteConfigurationTaskStatusDeleting, + BatchDeleteConfigurationTaskStatusCompleted, + BatchDeleteConfigurationTaskStatusFailed, + } +} + const ( // BatchDeleteImportDataErrorCodeNotFound is a BatchDeleteImportDataErrorCode enum value BatchDeleteImportDataErrorCodeNotFound = "NOT_FOUND" @@ -7818,6 +9081,38 @@ func DataSource_Values() []string { } } +const ( + // DeleteAgentErrorCodeNotFound is a DeleteAgentErrorCode enum value + DeleteAgentErrorCodeNotFound = "NOT_FOUND" + + // DeleteAgentErrorCodeInternalServerError is a DeleteAgentErrorCode enum value + DeleteAgentErrorCodeInternalServerError = "INTERNAL_SERVER_ERROR" + + // DeleteAgentErrorCodeAgentInUse is a DeleteAgentErrorCode enum value + DeleteAgentErrorCodeAgentInUse = "AGENT_IN_USE" +) + +// DeleteAgentErrorCode_Values returns all elements of the DeleteAgentErrorCode enum +func DeleteAgentErrorCode_Values() []string { + return []string{ + DeleteAgentErrorCodeNotFound, + DeleteAgentErrorCodeInternalServerError, + DeleteAgentErrorCodeAgentInUse, + } +} + +const ( + // DeletionConfigurationItemTypeServer is a DeletionConfigurationItemType enum value + DeletionConfigurationItemTypeServer = "SERVER" +) + +// DeletionConfigurationItemType_Values returns all elements of the DeletionConfigurationItemType enum +func DeletionConfigurationItemType_Values() []string { + return []string{ + DeletionConfigurationItemTypeServer, + } +} + const ( // ExportDataFormatCsv is a ExportDataFormat enum value ExportDataFormatCsv = "CSV" diff --git a/service/applicationdiscoveryservice/applicationdiscoveryserviceiface/interface.go b/service/applicationdiscoveryservice/applicationdiscoveryserviceiface/interface.go index 451a2d15f30..d3ecd99755b 100644 --- a/service/applicationdiscoveryservice/applicationdiscoveryserviceiface/interface.go +++ b/service/applicationdiscoveryservice/applicationdiscoveryserviceiface/interface.go @@ -64,6 +64,10 @@ type ApplicationDiscoveryServiceAPI interface { AssociateConfigurationItemsToApplicationWithContext(aws.Context, *applicationdiscoveryservice.AssociateConfigurationItemsToApplicationInput, ...request.Option) (*applicationdiscoveryservice.AssociateConfigurationItemsToApplicationOutput, error) AssociateConfigurationItemsToApplicationRequest(*applicationdiscoveryservice.AssociateConfigurationItemsToApplicationInput) (*request.Request, *applicationdiscoveryservice.AssociateConfigurationItemsToApplicationOutput) + BatchDeleteAgents(*applicationdiscoveryservice.BatchDeleteAgentsInput) (*applicationdiscoveryservice.BatchDeleteAgentsOutput, error) + BatchDeleteAgentsWithContext(aws.Context, *applicationdiscoveryservice.BatchDeleteAgentsInput, ...request.Option) (*applicationdiscoveryservice.BatchDeleteAgentsOutput, error) + BatchDeleteAgentsRequest(*applicationdiscoveryservice.BatchDeleteAgentsInput) (*request.Request, *applicationdiscoveryservice.BatchDeleteAgentsOutput) + BatchDeleteImportData(*applicationdiscoveryservice.BatchDeleteImportDataInput) (*applicationdiscoveryservice.BatchDeleteImportDataOutput, error) BatchDeleteImportDataWithContext(aws.Context, *applicationdiscoveryservice.BatchDeleteImportDataInput, ...request.Option) (*applicationdiscoveryservice.BatchDeleteImportDataOutput, error) BatchDeleteImportDataRequest(*applicationdiscoveryservice.BatchDeleteImportDataInput) (*request.Request, *applicationdiscoveryservice.BatchDeleteImportDataOutput) @@ -88,6 +92,13 @@ type ApplicationDiscoveryServiceAPI interface { DescribeAgentsWithContext(aws.Context, *applicationdiscoveryservice.DescribeAgentsInput, ...request.Option) (*applicationdiscoveryservice.DescribeAgentsOutput, error) DescribeAgentsRequest(*applicationdiscoveryservice.DescribeAgentsInput) (*request.Request, *applicationdiscoveryservice.DescribeAgentsOutput) + DescribeAgentsPages(*applicationdiscoveryservice.DescribeAgentsInput, func(*applicationdiscoveryservice.DescribeAgentsOutput, bool) bool) error + DescribeAgentsPagesWithContext(aws.Context, *applicationdiscoveryservice.DescribeAgentsInput, func(*applicationdiscoveryservice.DescribeAgentsOutput, bool) bool, ...request.Option) error + + DescribeBatchDeleteConfigurationTask(*applicationdiscoveryservice.DescribeBatchDeleteConfigurationTaskInput) (*applicationdiscoveryservice.DescribeBatchDeleteConfigurationTaskOutput, error) + DescribeBatchDeleteConfigurationTaskWithContext(aws.Context, *applicationdiscoveryservice.DescribeBatchDeleteConfigurationTaskInput, ...request.Option) (*applicationdiscoveryservice.DescribeBatchDeleteConfigurationTaskOutput, error) + DescribeBatchDeleteConfigurationTaskRequest(*applicationdiscoveryservice.DescribeBatchDeleteConfigurationTaskInput) (*request.Request, *applicationdiscoveryservice.DescribeBatchDeleteConfigurationTaskOutput) + DescribeConfigurations(*applicationdiscoveryservice.DescribeConfigurationsInput) (*applicationdiscoveryservice.DescribeConfigurationsOutput, error) DescribeConfigurationsWithContext(aws.Context, *applicationdiscoveryservice.DescribeConfigurationsInput, ...request.Option) (*applicationdiscoveryservice.DescribeConfigurationsOutput, error) DescribeConfigurationsRequest(*applicationdiscoveryservice.DescribeConfigurationsInput) (*request.Request, *applicationdiscoveryservice.DescribeConfigurationsOutput) @@ -103,10 +114,16 @@ type ApplicationDiscoveryServiceAPI interface { DescribeExportConfigurationsWithContext(aws.Context, *applicationdiscoveryservice.DescribeExportConfigurationsInput, ...request.Option) (*applicationdiscoveryservice.DescribeExportConfigurationsOutput, error) DescribeExportConfigurationsRequest(*applicationdiscoveryservice.DescribeExportConfigurationsInput) (*request.Request, *applicationdiscoveryservice.DescribeExportConfigurationsOutput) + DescribeExportConfigurationsPages(*applicationdiscoveryservice.DescribeExportConfigurationsInput, func(*applicationdiscoveryservice.DescribeExportConfigurationsOutput, bool) bool) error + DescribeExportConfigurationsPagesWithContext(aws.Context, *applicationdiscoveryservice.DescribeExportConfigurationsInput, func(*applicationdiscoveryservice.DescribeExportConfigurationsOutput, bool) bool, ...request.Option) error + DescribeExportTasks(*applicationdiscoveryservice.DescribeExportTasksInput) (*applicationdiscoveryservice.DescribeExportTasksOutput, error) DescribeExportTasksWithContext(aws.Context, *applicationdiscoveryservice.DescribeExportTasksInput, ...request.Option) (*applicationdiscoveryservice.DescribeExportTasksOutput, error) DescribeExportTasksRequest(*applicationdiscoveryservice.DescribeExportTasksInput) (*request.Request, *applicationdiscoveryservice.DescribeExportTasksOutput) + DescribeExportTasksPages(*applicationdiscoveryservice.DescribeExportTasksInput, func(*applicationdiscoveryservice.DescribeExportTasksOutput, bool) bool) error + DescribeExportTasksPagesWithContext(aws.Context, *applicationdiscoveryservice.DescribeExportTasksInput, func(*applicationdiscoveryservice.DescribeExportTasksOutput, bool) bool, ...request.Option) error + DescribeImportTasks(*applicationdiscoveryservice.DescribeImportTasksInput) (*applicationdiscoveryservice.DescribeImportTasksOutput, error) DescribeImportTasksWithContext(aws.Context, *applicationdiscoveryservice.DescribeImportTasksInput, ...request.Option) (*applicationdiscoveryservice.DescribeImportTasksOutput, error) DescribeImportTasksRequest(*applicationdiscoveryservice.DescribeImportTasksInput) (*request.Request, *applicationdiscoveryservice.DescribeImportTasksOutput) @@ -118,6 +135,9 @@ type ApplicationDiscoveryServiceAPI interface { DescribeTagsWithContext(aws.Context, *applicationdiscoveryservice.DescribeTagsInput, ...request.Option) (*applicationdiscoveryservice.DescribeTagsOutput, error) DescribeTagsRequest(*applicationdiscoveryservice.DescribeTagsInput) (*request.Request, *applicationdiscoveryservice.DescribeTagsOutput) + DescribeTagsPages(*applicationdiscoveryservice.DescribeTagsInput, func(*applicationdiscoveryservice.DescribeTagsOutput, bool) bool) error + DescribeTagsPagesWithContext(aws.Context, *applicationdiscoveryservice.DescribeTagsInput, func(*applicationdiscoveryservice.DescribeTagsOutput, bool) bool, ...request.Option) error + DisassociateConfigurationItemsFromApplication(*applicationdiscoveryservice.DisassociateConfigurationItemsFromApplicationInput) (*applicationdiscoveryservice.DisassociateConfigurationItemsFromApplicationOutput, error) DisassociateConfigurationItemsFromApplicationWithContext(aws.Context, *applicationdiscoveryservice.DisassociateConfigurationItemsFromApplicationInput, ...request.Option) (*applicationdiscoveryservice.DisassociateConfigurationItemsFromApplicationOutput, error) DisassociateConfigurationItemsFromApplicationRequest(*applicationdiscoveryservice.DisassociateConfigurationItemsFromApplicationInput) (*request.Request, *applicationdiscoveryservice.DisassociateConfigurationItemsFromApplicationOutput) @@ -134,10 +154,17 @@ type ApplicationDiscoveryServiceAPI interface { ListConfigurationsWithContext(aws.Context, *applicationdiscoveryservice.ListConfigurationsInput, ...request.Option) (*applicationdiscoveryservice.ListConfigurationsOutput, error) ListConfigurationsRequest(*applicationdiscoveryservice.ListConfigurationsInput) (*request.Request, *applicationdiscoveryservice.ListConfigurationsOutput) + ListConfigurationsPages(*applicationdiscoveryservice.ListConfigurationsInput, func(*applicationdiscoveryservice.ListConfigurationsOutput, bool) bool) error + ListConfigurationsPagesWithContext(aws.Context, *applicationdiscoveryservice.ListConfigurationsInput, func(*applicationdiscoveryservice.ListConfigurationsOutput, bool) bool, ...request.Option) error + ListServerNeighbors(*applicationdiscoveryservice.ListServerNeighborsInput) (*applicationdiscoveryservice.ListServerNeighborsOutput, error) ListServerNeighborsWithContext(aws.Context, *applicationdiscoveryservice.ListServerNeighborsInput, ...request.Option) (*applicationdiscoveryservice.ListServerNeighborsOutput, error) ListServerNeighborsRequest(*applicationdiscoveryservice.ListServerNeighborsInput) (*request.Request, *applicationdiscoveryservice.ListServerNeighborsOutput) + StartBatchDeleteConfigurationTask(*applicationdiscoveryservice.StartBatchDeleteConfigurationTaskInput) (*applicationdiscoveryservice.StartBatchDeleteConfigurationTaskOutput, error) + StartBatchDeleteConfigurationTaskWithContext(aws.Context, *applicationdiscoveryservice.StartBatchDeleteConfigurationTaskInput, ...request.Option) (*applicationdiscoveryservice.StartBatchDeleteConfigurationTaskOutput, error) + StartBatchDeleteConfigurationTaskRequest(*applicationdiscoveryservice.StartBatchDeleteConfigurationTaskInput) (*request.Request, *applicationdiscoveryservice.StartBatchDeleteConfigurationTaskOutput) + StartContinuousExport(*applicationdiscoveryservice.StartContinuousExportInput) (*applicationdiscoveryservice.StartContinuousExportOutput, error) StartContinuousExportWithContext(aws.Context, *applicationdiscoveryservice.StartContinuousExportInput, ...request.Option) (*applicationdiscoveryservice.StartContinuousExportOutput, error) StartContinuousExportRequest(*applicationdiscoveryservice.StartContinuousExportInput) (*request.Request, *applicationdiscoveryservice.StartContinuousExportOutput) diff --git a/service/applicationdiscoveryservice/errors.go b/service/applicationdiscoveryservice/errors.go index dd9e63ddca0..86ce38bd51a 100644 --- a/service/applicationdiscoveryservice/errors.go +++ b/service/applicationdiscoveryservice/errors.go @@ -40,6 +40,12 @@ const ( // the parameter values and try again. ErrCodeInvalidParameterValueException = "InvalidParameterValueException" + // ErrCodeLimitExceededException for service response error code + // "LimitExceededException". + // + // The limit of 200 configuration IDs per request has been exceeded. + ErrCodeLimitExceededException = "LimitExceededException" + // ErrCodeOperationNotPermittedException for service response error code // "OperationNotPermittedException". // @@ -76,6 +82,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "HomeRegionNotSetException": newErrorHomeRegionNotSetException, "InvalidParameterException": newErrorInvalidParameterException, "InvalidParameterValueException": newErrorInvalidParameterValueException, + "LimitExceededException": newErrorLimitExceededException, "OperationNotPermittedException": newErrorOperationNotPermittedException, "ResourceInUseException": newErrorResourceInUseException, "ResourceNotFoundException": newErrorResourceNotFoundException, diff --git a/service/connect/api.go b/service/connect/api.go index 4cc0cbf01bd..4cad36889b9 100644 --- a/service/connect/api.go +++ b/service/connect/api.go @@ -2851,7 +2851,7 @@ func (c *Connect) CreateTrafficDistributionGroupRequest(input *CreateTrafficDist // Creates a traffic distribution group given an Amazon Connect instance that // has been replicated. // -// You can change the SignInConfig distribution only for a default TrafficDistributionGroup +// The SignInConfig distribution is available only on a default TrafficDistributionGroup // (see the IsDefault parameter in the TrafficDistributionGroup (https://docs.aws.amazon.com/connect/latest/APIReference/API_TrafficDistributionGroup.html) // data type). If you call UpdateTrafficDistribution with a modified SignInConfig // and a non-default TrafficDistributionGroup, an InvalidRequestException is @@ -3052,6 +3052,11 @@ func (c *Connect) CreateUserRequest(input *CreateUserInput) (req *request.Reques // // Creates a user account for the specified Amazon Connect instance. // +// Certain UserIdentityInfo (https://docs.aws.amazon.com/connect/latest/APIReference/API_UserIdentityInfo.html) +// parameters are required in some situations. For example, Email is required +// if you are using SAML for identity management. FirstName and LastName are +// required if you are using Amazon Connect or SAML for identity management. +// // For information about how to create user accounts using the Amazon Connect // console, see Add Users (https://docs.aws.amazon.com/connect/latest/adminguide/user-management.html) // in the Amazon Connect Administrator Guide. @@ -9212,7 +9217,13 @@ func (c *Connect) GetFederationTokenRequest(input *GetFederationTokenInput) (req // GetFederationToken API operation for Amazon Connect Service. // -// Retrieves a token for federation. +// Supports SAML sign-in for Amazon Connect. Retrieves a token for federation. +// The token is for the Amazon Connect user which corresponds to the IAM credentials +// that were used to invoke this action. +// +// For more information about how SAML sign-in works in Amazon Connect, see +// Configure SAML with IAM for Amazon Connect in the Amazon Connect Administrator +// Guide. (https://docs.aws.amazon.com/connect/latest/adminguide/configure-saml.html) // // This API doesn't support root users. If you try to invoke GetFederationToken // with root credentials, an error message similar to the following one appears: @@ -9324,6 +9335,15 @@ func (c *Connect) GetMetricDataRequest(input *GetMetricDataInput) (req *request. // (https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html) // in the Amazon Connect Administrator Guide. // +// We recommend using the GetMetricDataV2 (https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricDataV2.html) +// API. It provides more flexibility, features, and the ability to query longer +// time ranges than GetMetricData. Use it to retrieve historical agent and contact +// metrics for the last 3 months, at varying intervals. You can also use it +// to build custom dashboards to measure historical queue and agent performance. +// For example, you can track the number of incoming contacts for the last 7 +// days, with data split by day, to see how contact volume changed per day of +// the week. +// // 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. @@ -18232,7 +18252,36 @@ func (c *Connect) StartTaskContactRequest(input *StartTaskContactInput) (req *re // StartTaskContact API operation for Amazon Connect Service. // -// Initiates a flow to start a new task. +// Initiates a flow to start a new task contact. For more information about +// task contacts, see Concepts: Tasks in Amazon Connect (https://docs.aws.amazon.com/connect/latest/adminguide/tasks.html) +// in the Amazon Connect Administrator Guide. +// +// When using PreviousContactId and RelatedContactId input parameters, note +// the following: +// +// - PreviousContactId Any updates to user-defined task contact attributes +// on any contact linked through the same PreviousContactId will affect every +// contact in the chain. There can be a maximum of 12 linked task contacts +// in a chain. That is, 12 task contacts can be created that share the same +// PreviousContactId. +// +// - RelatedContactId Copies contact attributes from the related task contact +// to the new contact. Any update on attributes in a new task contact does +// not update attributes on previous contact. There’s no limit on the number +// of task contacts that can be created that use the same RelatedContactId. +// +// In addition, when calling StartTaskContact include only one of these parameters: +// ContactFlowID, QuickConnectID, or TaskTemplateID. Only one parameter is required +// as long as the task template has a flow configured to run it. If more than +// one parameter is specified, or only the TaskTemplateID is specified but it +// does not have a flow configured, the request returns an error because Amazon +// Connect cannot identify the unique flow to run when the task is created. +// +// A ServiceQuotaExceededException occurs when the number of open tasks exceeds +// the active tasks quota or there are already 12 tasks referencing the same +// PreviousContactId. For more information about service quotas for task contacts, +// see Amazon Connect service quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) +// in the Amazon Connect Administrator Guide. // // Returns awserr.Error for service API and SDK errors. Use runtime type assertions // with awserr.Error's Code and Message methods to get detailed information about @@ -20647,6 +20696,111 @@ func (c *Connect) UpdatePhoneNumberWithContext(ctx aws.Context, input *UpdatePho return out, req.Send() } +const opUpdatePhoneNumberMetadata = "UpdatePhoneNumberMetadata" + +// UpdatePhoneNumberMetadataRequest generates a "aws/request.Request" representing the +// client's request for the UpdatePhoneNumberMetadata 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 UpdatePhoneNumberMetadata for more information on using the UpdatePhoneNumberMetadata +// 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 UpdatePhoneNumberMetadataRequest method. +// req, resp := client.UpdatePhoneNumberMetadataRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePhoneNumberMetadata +func (c *Connect) UpdatePhoneNumberMetadataRequest(input *UpdatePhoneNumberMetadataInput) (req *request.Request, output *UpdatePhoneNumberMetadataOutput) { + op := &request.Operation{ + Name: opUpdatePhoneNumberMetadata, + HTTPMethod: "PUT", + HTTPPath: "/phone-number/{PhoneNumberId}/metadata", + } + + if input == nil { + input = &UpdatePhoneNumberMetadataInput{} + } + + output = &UpdatePhoneNumberMetadataOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// UpdatePhoneNumberMetadata API operation for Amazon Connect Service. +// +// Updates a phone number’s metadata. +// +// To verify the status of a previous UpdatePhoneNumberMetadata operation, call +// the DescribePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html) +// API. +// +// 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 Connect Service's +// API operation UpdatePhoneNumberMetadata for usage and error information. +// +// Returned Error Types: +// +// - InvalidParameterException +// One or more of the specified parameters are not valid. +// +// - InvalidRequestException +// The request is not valid. +// +// - AccessDeniedException +// You do not have sufficient permissions to perform this action. +// +// - ResourceNotFoundException +// The specified resource was not found. +// +// - ResourceInUseException +// That resource is already in use. Please try another. +// +// - IdempotencyException +// An entity with the same name already exists. +// +// - ThrottlingException +// The throttling limit has been exceeded. +// +// - InternalServiceException +// Request processing failed because of an error or failure with the service. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/UpdatePhoneNumberMetadata +func (c *Connect) UpdatePhoneNumberMetadata(input *UpdatePhoneNumberMetadataInput) (*UpdatePhoneNumberMetadataOutput, error) { + req, out := c.UpdatePhoneNumberMetadataRequest(input) + return out, req.Send() +} + +// UpdatePhoneNumberMetadataWithContext is the same as UpdatePhoneNumberMetadata with the addition of +// the ability to pass a context and additional request options. +// +// See UpdatePhoneNumberMetadata 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 *Connect) UpdatePhoneNumberMetadataWithContext(ctx aws.Context, input *UpdatePhoneNumberMetadataInput, opts ...request.Option) (*UpdatePhoneNumberMetadataOutput, error) { + req, out := c.UpdatePhoneNumberMetadataRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opUpdatePrompt = "UpdatePrompt" // UpdatePromptRequest generates a "aws/request.Request" representing the @@ -22217,7 +22371,7 @@ func (c *Connect) UpdateTrafficDistributionRequest(input *UpdateTrafficDistribut // // Updates the traffic distribution for a given traffic distribution group. // -// You can change the SignInConfig distribution only for a default TrafficDistributionGroup +// The SignInConfig distribution is available only on a default TrafficDistributionGroup // (see the IsDefault parameter in the TrafficDistributionGroup (https://docs.aws.amazon.com/connect/latest/APIReference/API_TrafficDistributionGroup.html) // data type). If you call UpdateTrafficDistribution with a modified SignInConfig // and a non-default TrafficDistributionGroup, an InvalidRequestException is @@ -25518,17 +25672,18 @@ type ClaimedPhoneNumberSummary struct { // The status of the phone number. // - // * CLAIMED means the previous ClaimedPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimedPhoneNumber.html) + // * CLAIMED means the previous ClaimPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html) // or UpdatePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html) // operation succeeded. // - // * IN_PROGRESS means a ClaimedPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimedPhoneNumber.html) - // or UpdatePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html) + // * IN_PROGRESS means a ClaimPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html), + // UpdatePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html), + // or UpdatePhoneNumberMetadata (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumberMetadata.html) // operation is still in progress and has not yet completed. You can call // DescribePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html) // at a later time to verify if the previous operation has completed. // - // * FAILED indicates that the previous ClaimedPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimedPhoneNumber.html) + // * FAILED indicates that the previous ClaimPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html) // or UpdatePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html) // operation has failed. It will include a message indicating the failure // reason. A common reason for a failure may be that the TargetArn value @@ -25843,7 +25998,9 @@ type ContactFlow struct { Arn *string `type:"string"` // The JSON string that represents the content of the flow. For an example, - // see Example contact flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). + // see Example flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). + // + // Length Constraints: Minimum length of 1. Maximum length of 256000. Content *string `type:"string"` // The description of the flow. @@ -25942,9 +26099,7 @@ type ContactFlowModule struct { Arn *string `type:"string"` // The JSON string that represents the content of the flow. For an example, - // see Example contact flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). - // - // Length Constraints: Minimum length of 1. Maximum length of 256000. + // see Example flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). Content *string `min:"1" type:"string"` // The description of the flow module. @@ -26512,7 +26667,7 @@ type CreateContactFlowInput struct { _ struct{} `type:"structure"` // The JSON string that represents the content of the flow. For an example, - // see Example contact flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). + // see Example flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). // // Length Constraints: Minimum length of 1. Maximum length of 256000. // @@ -26638,7 +26793,8 @@ type CreateContactFlowModuleInput struct { // idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). ClientToken *string `type:"string" idempotencyToken:"true"` - // The content of the flow module. + // The JSON string that represents the content of the flow. For an example, + // see Example flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). // // Content is a required field Content *string `min:"1" type:"string" required:"true"` @@ -40479,7 +40635,8 @@ type GetTrafficDistributionOutput struct { // Region. Id *string `type:"string"` - // The distribution of allowing signing in to the instance and its replica(s). + // The distribution that determines which Amazon Web Services Regions should + // be used to sign in agents in to both the instance and its replica(s). SignInConfig *SignInConfig `type:"structure"` // The distribution of traffic between the instance and its replicas. @@ -49173,17 +49330,18 @@ func (s *PhoneNumberQuickConnectConfig) SetPhoneNumber(v string) *PhoneNumberQui // The status of the phone number. // -// - CLAIMED means the previous ClaimedPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimedPhoneNumber.html) +// - CLAIMED means the previous ClaimPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html) // or UpdatePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html) // operation succeeded. // -// - IN_PROGRESS means a ClaimedPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimedPhoneNumber.html) -// or UpdatePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html) +// - IN_PROGRESS means a ClaimPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html), +// UpdatePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html), +// or UpdatePhoneNumberMetadata (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumberMetadata.html) // operation is still in progress and has not yet completed. You can call // DescribePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html) // at a later time to verify if the previous operation has completed. // -// - FAILED indicates that the previous ClaimedPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimedPhoneNumber.html) +// - FAILED indicates that the previous ClaimPhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html) // or UpdatePhoneNumber (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html) // operation has failed. It will include a message indicating the failure // reason. A common reason for a failure may be that the TargetArn value @@ -53597,6 +53755,8 @@ type SearchUsersInput struct { // The identifier of the Amazon Connect instance. You can find the instance // ID (https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html) // in the Amazon Resource Name (ARN) of the instance. + // + // InstanceID is a required field. The "Required: No" below is incorrect. InstanceId *string `min:"1" type:"string"` // The maximum number of results to return per page. @@ -54421,7 +54581,8 @@ func (s *ServiceQuotaExceededException) RequestID() string { return s.RespMetadata.RequestID } -// The distribution of allowing signing in to the instance and its replica(s). +// The distribution that determines which Amazon Web Services Regions should +// be used to sign in agents in to both the instance and its replica(s). type SignInConfig struct { _ struct{} `type:"structure"` @@ -55522,17 +55683,30 @@ type StartTaskContactInput struct { // Name is a required field Name *string `type:"string" required:"true"` - // The identifier of the previous chat, voice, or task contact. + // The identifier of the previous chat, voice, or task contact. Any updates + // to user-defined attributes to task contacts linked using the same PreviousContactID + // will affect every contact in the chain. There can be a maximum of 12 linked + // task contacts in a chain. PreviousContactId *string `min:"1" type:"string"` - // The identifier for the quick connect. + // The identifier for the quick connect. Tasks that are created by using QuickConnectId + // will use the flow that is defined on agent or queue quick connect. For more + // information about quick connects, see Create quick connects (https://docs.aws.amazon.com/connect/latest/adminguide/quick-connects.html). QuickConnectId *string `type:"string"` // A formatted URL that is shown to an agent in the Contact Control Panel (CCP). + // Tasks can have the following reference types at the time of creation: URL + // | NUMBER | STRING | DATE | EMAIL. ATTACHMENT is not a supported reference + // type during task creation. References map[string]*Reference `type:"map"` // The contactId that is related (https://docs.aws.amazon.com/connect/latest/adminguide/tasks.html#linked-tasks) - // to this contact. + // to this contact. Linking tasks together by using RelatedContactID copies + // over contact attributes from the related task contact to the new task contact. + // All updates to user-defined attributes in the new task contact are limited + // to the individual contact ID, unlike what happens when tasks are linked by + // using PreviousContactID. There are no limits to the number of contacts that + // can be linked by using RelatedContactId. RelatedContactId *string `min:"1" type:"string"` // The timestamp, in Unix Epoch seconds format, at which to start running the @@ -55540,7 +55714,9 @@ type StartTaskContactInput struct { // up to 6 days in future. ScheduledTime *time.Time `type:"timestamp"` - // A unique identifier for the task template. + // A unique identifier for the task template. For more information about task + // templates, see Create task templates (https://docs.aws.amazon.com/connect/latest/adminguide/task-templates.html) + // in the Amazon Connect Administrator Guide. TaskTemplateId *string `min:"1" type:"string"` } @@ -57386,11 +57562,9 @@ type TrafficDistributionGroup struct { // the DeleteTrafficDistributionGroup API. The default traffic distribution // group is deleted as part of the process for deleting a replica. // - // You can change the SignInConfig distribution only for a default TrafficDistributionGroup - // (see the IsDefault parameter in the TrafficDistributionGroup (https://docs.aws.amazon.com/connect/latest/APIReference/API_TrafficDistributionGroup.html) - // data type). If you call UpdateTrafficDistribution with a modified SignInConfig - // and a non-default TrafficDistributionGroup, an InvalidRequestException is - // returned. + // The SignInConfig distribution is available only on the default TrafficDistributionGroup. + // If you call UpdateTrafficDistribution with a modified SignInConfig and a + // non-default TrafficDistributionGroup, an InvalidRequestException is returned. IsDefault *bool `type:"boolean"` // The name of the traffic distribution group. @@ -57415,8 +57589,7 @@ type TrafficDistributionGroup struct { // * DELETION_FAILED means the previous DeleteTrafficDistributionGroup (https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteTrafficDistributionGroup.html) // operation has failed. // - // * UPDATE_IN_PROGRESS means the previous UpdateTrafficDistributionGroup - // (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistributionGroup.html) + // * UPDATE_IN_PROGRESS means the previous UpdateTrafficDistribution (https://docs.aws.amazon.com/connect/latest/APIReference/API_UpdateTrafficDistribution.html) // operation is still in progress and has not yet completed. Status *string `type:"string" enum:"TrafficDistributionGroupStatus"` @@ -58259,7 +58432,7 @@ type UpdateContactFlowContentInput struct { ContactFlowId *string `location:"uri" locationName:"ContactFlowId" type:"string" required:"true"` // The JSON string that represents the content of the flow. For an example, - // see Example contact flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). + // see Example flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). // // Length Constraints: Minimum length of 1. Maximum length of 256000. // @@ -58484,7 +58657,7 @@ type UpdateContactFlowModuleContentInput struct { ContactFlowModuleId *string `location:"uri" locationName:"ContactFlowModuleId" min:"1" type:"string" required:"true"` // The JSON string that represents the content of the flow. For an example, - // see Example contact flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). + // see Example flow in Amazon Connect Flow language (https://docs.aws.amazon.com/connect/latest/APIReference/flow-language-example.html). // // Content is a required field Content *string `min:"1" type:"string" required:"true"` @@ -59881,6 +60054,98 @@ func (s *UpdatePhoneNumberInput) SetTargetArn(v string) *UpdatePhoneNumberInput return s } +type UpdatePhoneNumberMetadataInput struct { + _ struct{} `type:"structure"` + + // A unique, case-sensitive identifier that you provide to ensure the idempotency + // of the request. If not provided, the Amazon Web Services SDK populates this + // field. For more information about idempotency, see Making retries safe with + // idempotent APIs (https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/). + ClientToken *string `type:"string" idempotencyToken:"true"` + + // The description of the phone number. + PhoneNumberDescription *string `type:"string"` + + // The Amazon Resource Name (ARN) or resource ID of the phone number. + // + // PhoneNumberId is a required field + PhoneNumberId *string `location:"uri" locationName:"PhoneNumberId" 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 UpdatePhoneNumberMetadataInput) 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 UpdatePhoneNumberMetadataInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *UpdatePhoneNumberMetadataInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "UpdatePhoneNumberMetadataInput"} + if s.PhoneNumberId == nil { + invalidParams.Add(request.NewErrParamRequired("PhoneNumberId")) + } + if s.PhoneNumberId != nil && len(*s.PhoneNumberId) < 1 { + invalidParams.Add(request.NewErrParamMinLen("PhoneNumberId", 1)) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetClientToken sets the ClientToken field's value. +func (s *UpdatePhoneNumberMetadataInput) SetClientToken(v string) *UpdatePhoneNumberMetadataInput { + s.ClientToken = &v + return s +} + +// SetPhoneNumberDescription sets the PhoneNumberDescription field's value. +func (s *UpdatePhoneNumberMetadataInput) SetPhoneNumberDescription(v string) *UpdatePhoneNumberMetadataInput { + s.PhoneNumberDescription = &v + return s +} + +// SetPhoneNumberId sets the PhoneNumberId field's value. +func (s *UpdatePhoneNumberMetadataInput) SetPhoneNumberId(v string) *UpdatePhoneNumberMetadataInput { + s.PhoneNumberId = &v + return s +} + +type UpdatePhoneNumberMetadataOutput 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 UpdatePhoneNumberMetadataOutput) 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 UpdatePhoneNumberMetadataOutput) GoString() string { + return s.String() +} + type UpdatePhoneNumberOutput struct { _ struct{} `type:"structure"` @@ -61993,7 +62258,8 @@ type UpdateTrafficDistributionInput struct { // Id is a required field Id *string `location:"uri" locationName:"Id" type:"string" required:"true"` - // The distribution of allowing signing in to the instance and its replica(s). + // The distribution that determines which Amazon Web Services Regions should + // be used to sign in agents in to both the instance and its replica(s). SignInConfig *SignInConfig `type:"structure"` // The distribution of traffic between the instance and its replica(s). diff --git a/service/connect/connectiface/interface.go b/service/connect/connectiface/interface.go index e67ba7dd369..59f9497437d 100644 --- a/service/connect/connectiface/interface.go +++ b/service/connect/connectiface/interface.go @@ -952,6 +952,10 @@ type ConnectAPI interface { UpdatePhoneNumberWithContext(aws.Context, *connect.UpdatePhoneNumberInput, ...request.Option) (*connect.UpdatePhoneNumberOutput, error) UpdatePhoneNumberRequest(*connect.UpdatePhoneNumberInput) (*request.Request, *connect.UpdatePhoneNumberOutput) + UpdatePhoneNumberMetadata(*connect.UpdatePhoneNumberMetadataInput) (*connect.UpdatePhoneNumberMetadataOutput, error) + UpdatePhoneNumberMetadataWithContext(aws.Context, *connect.UpdatePhoneNumberMetadataInput, ...request.Option) (*connect.UpdatePhoneNumberMetadataOutput, error) + UpdatePhoneNumberMetadataRequest(*connect.UpdatePhoneNumberMetadataInput) (*request.Request, *connect.UpdatePhoneNumberMetadataOutput) + UpdatePrompt(*connect.UpdatePromptInput) (*connect.UpdatePromptOutput, error) UpdatePromptWithContext(aws.Context, *connect.UpdatePromptInput, ...request.Option) (*connect.UpdatePromptOutput, error) UpdatePromptRequest(*connect.UpdatePromptInput) (*request.Request, *connect.UpdatePromptOutput) diff --git a/service/connect/doc.go b/service/connect/doc.go index 73da5c55de5..9a399748671 100644 --- a/service/connect/doc.go +++ b/service/connect/doc.go @@ -13,7 +13,7 @@ // // There are limits to the number of Amazon Connect resources that you can create. // There are also limits to the number of requests that you can make per second. -// For more information, see Amazon Connect Service Quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) +// For more information, seeP98941055 Amazon Connect Service Quotas (https://docs.aws.amazon.com/connect/latest/adminguide/amazon-connect-service-limits.html) // in the Amazon Connect Administrator Guide. // // You can connect programmatically to an Amazon Web Services service by using diff --git a/service/medicalimaging/api.go b/service/medicalimaging/api.go index 4e4be864a6a..14ebfbd2f1f 100644 --- a/service/medicalimaging/api.go +++ b/service/medicalimaging/api.go @@ -80,7 +80,7 @@ func (c *MedicalImaging) CopyImageSetRequest(input *CopyImageSetInput) (req *req // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -177,7 +177,7 @@ func (c *MedicalImaging) CreateDatastoreRequest(input *CreateDatastoreInput) (re // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -274,7 +274,7 @@ func (c *MedicalImaging) DeleteDatastoreRequest(input *DeleteDatastoreInput) (re // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -370,7 +370,7 @@ func (c *MedicalImaging) DeleteImageSetRequest(input *DeleteImageSetInput) (req // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -464,7 +464,7 @@ func (c *MedicalImaging) GetDICOMImportJobRequest(input *GetDICOMImportJobInput) // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -555,7 +555,7 @@ func (c *MedicalImaging) GetDatastoreRequest(input *GetDatastoreInput) (req *req // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -651,7 +651,7 @@ func (c *MedicalImaging) GetImageFrameRequest(input *GetImageFrameInput) (req *r // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -747,7 +747,7 @@ func (c *MedicalImaging) GetImageSetRequest(input *GetImageSetInput) (req *reque // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -843,7 +843,7 @@ func (c *MedicalImaging) GetImageSetMetadataRequest(input *GetImageSetMetadataIn // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -922,7 +922,7 @@ func (c *MedicalImaging) ListDICOMImportJobsRequest(input *ListDICOMImportJobsIn // ListDICOMImportJobs API operation for AWS Health Imaging. // -// List import jobs created by this AWS account for a specific data store. +// List import jobs created for a specific data store. // // 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 @@ -943,7 +943,7 @@ func (c *MedicalImaging) ListDICOMImportJobsRequest(input *ListDICOMImportJobsIn // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -1073,7 +1073,7 @@ func (c *MedicalImaging) ListDatastoresRequest(input *ListDatastoresInput) (req // ListDatastores API operation for AWS Health Imaging. // -// List data stores created by this AWS account. +// List data stores. // // 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 @@ -1091,7 +1091,7 @@ func (c *MedicalImaging) ListDatastoresRequest(input *ListDatastoresInput) (req // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -1241,7 +1241,7 @@ func (c *MedicalImaging) ListImageSetVersionsRequest(input *ListImageSetVersions // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -1383,7 +1383,7 @@ func (c *MedicalImaging) ListTagsForResourceRequest(input *ListTagsForResourceIn // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -1466,6 +1466,13 @@ func (c *MedicalImaging) SearchImageSetsRequest(input *SearchImageSetsInput) (re // // Search image sets based on defined input attributes. // +// SearchImageSets accepts a single search query parameter and returns a paginated +// response of all image sets that have the matching criteria. All range queries +// must be input as (lowerBound, upperBound). +// +// SearchImageSets uses the updatedAt field for sorting in decreasing order +// from latest to oldest. +// // 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. @@ -1485,7 +1492,7 @@ func (c *MedicalImaging) SearchImageSetsRequest(input *SearchImageSetsInput) (re // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -1633,7 +1640,7 @@ func (c *MedicalImaging) StartDICOMImportJobRequest(input *StartDICOMImportJobIn // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -1728,7 +1735,7 @@ func (c *MedicalImaging) TagResourceRequest(input *TagResourceInput) (req *reque // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -1820,7 +1827,7 @@ func (c *MedicalImaging) UntagResourceRequest(input *UntagResourceInput) (req *r // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -1916,7 +1923,7 @@ func (c *MedicalImaging) UpdateImageSetMetadataRequest(input *UpdateImageSetMeta // The user does not have sufficient access to perform this action. // // - ValidationException -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. // // - InternalServerException // An unexpected error occurred during processing of the request. @@ -2580,8 +2587,8 @@ type CreateDatastoreInput struct { // The data store name. DatastoreName *string `locationName:"datastoreName" min:"1" type:"string"` - // The Amazon Resource Name (ARN) assigned to the AWS Key Management Service - // (AWS KMS) key for accessing encrypted data. + // The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) + // key for accessing encrypted data. KmsKeyArn *string `locationName:"kmsKeyArn" min:"1" type:"string"` // The tags provided when creating a data store. @@ -3258,8 +3265,8 @@ type DatastoreProperties struct { // DatastoreStatus is a required field DatastoreStatus *string `locationName:"datastoreStatus" type:"string" required:"true" enum:"DatastoreStatus"` - // The Amazon Resource Name (ARN) assigned to the AWS Key Management Service - // (AWS KMS) key for accessing encrypted data. + // The Amazon Resource Name (ARN) assigned to the Key Management Service (KMS) + // key for accessing encrypted data. KmsKeyArn *string `locationName:"kmsKeyArn" min:"1" type:"string"` // The timestamp when the data store was last updated. @@ -4417,8 +4424,8 @@ func (s *ImageSetProperties) SetVersionId(v string) *ImageSetProperties { type ImageSetsMetadataSummary struct { _ struct{} `type:"structure"` - // The time an image set is created in AWS HealthImaging. Sample creation date - // is provided in 1985-04-12T23:20:50.52Z format. + // The time an image set is created. Sample creation date is provided in 1985-04-12T23:20:50.52Z + // format. CreatedAt *time.Time `locationName:"createdAt" type:"timestamp"` // The DICOM tags associated with the image set. @@ -4429,7 +4436,7 @@ type ImageSetsMetadataSummary struct { // ImageSetId is a required field ImageSetId *string `locationName:"imageSetId" type:"string" required:"true"` - // The time when an image was last updated in AWS HealthImaging. + // The time an image set was last updated. UpdatedAt *time.Time `locationName:"updatedAt" type:"timestamp"` // The image set version. @@ -6175,7 +6182,7 @@ func (s *UpdateImageSetMetadataOutput) SetUpdatedAt(v time.Time) *UpdateImageSet return s } -// The input fails to satisfy the constraints specified by an AWS service. +// The input fails to satisfy the constraints set by the service. type ValidationException struct { _ struct{} `type:"structure"` RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` diff --git a/service/medicalimaging/doc.go b/service/medicalimaging/doc.go index 90ddd3fc001..e56bda9ae5e 100644 --- a/service/medicalimaging/doc.go +++ b/service/medicalimaging/doc.go @@ -3,90 +3,91 @@ // Package medicalimaging provides the client and types for making API // requests to AWS Health Imaging. // -// This is the AWS HealthImaging API Reference. AWS HealthImaging is an AWS -// service for storing, accessing, and analyzing medical images. For an introduction -// to the service, see the AWS HealthImaging Developer Guide (https://docs.aws.amazon.com/medical-imaging/latest/devguide). +// This is the AWS HealthImaging API Reference. AWS HealthImaging is a HIPAA-eligible +// service that helps health care providers and their medical imaging ISV partners +// store, transform, and apply machine learning to medical images. For an introduction +// to the service, see the AWS HealthImaging Developer Guide (https://docs.aws.amazon.com/healthimaging/latest/devguide/what-is.html). // // We recommend using one of the AWS Software Development Kits (SDKs) for your // programming language, as they take care of request authentication, serialization, // and connection management. For more information, see Tools to build on AWS // (http://aws.amazon.com/developer/tools). // -// For information about using AWS HealthImaging API actions in one of the language-specific +// For information about using HealthImaging API actions in one of the language-specific // AWS SDKs, refer to the See Also link at the end of each section that describes // an API action or data type. // // The following sections list AWS HealthImaging API actions categorized according // to functionality. Links are provided to actions within this Reference, along // with links back to corresponding sections in the AWS HealthImaging Developer -// Guide so you can view console procedures and CLI/SDK code examples. +// Guide where you can view console procedures and CLI/SDK code examples. // // Data store actions // -// - CreateDatastore (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_CreateDatastore.html) -// – See Creating a data store (https://docs.aws.amazon.com/medical-imaging/latest/devguide/create-data-store.html). +// - CreateDatastore (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_CreateDatastore.html) +// – See Creating a data store (https://docs.aws.amazon.com/healthimaging/latest/devguide/create-data-store.html). // -// - GetDatastore (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_GetDatastore.html) -// – See Getting data store properties (https://docs.aws.amazon.com/medical-imaging/latest/devguide/get-data-store.html). +// - GetDatastore (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_GetDatastore.html) +// – See Getting data store properties (https://docs.aws.amazon.com/healthimaging/latest/devguide/get-data-store.html). // -// - ListDatastores (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_ListDatastores.html) -// – See Listing data stores (https://docs.aws.amazon.com/medical-imaging/latest/devguide/list-data-stores.html). +// - ListDatastores (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_ListDatastores.html) +// – See Listing data stores (https://docs.aws.amazon.com/healthimaging/latest/devguide/list-data-stores.html). // -// - DeleteDatastore (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_DeleteDatastore.html) -// – See Deleting a data store (https://docs.aws.amazon.com/medical-imaging/latest/devguide/delete-data-store.html). +// - DeleteDatastore (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_DeleteDatastore.html) +// – See Deleting a data store (https://docs.aws.amazon.com/healthimaging/latest/devguide/delete-data-store.html). // // Import job actions // -// - StartDICOMImportJob (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_StartDICOMImportJob.html) -// – See Starting an import job (https://docs.aws.amazon.com/medical-imaging/latest/devguide/start-dicom-import-job.html). +// - StartDICOMImportJob (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_StartDICOMImportJob.html) +// – See Starting an import job (https://docs.aws.amazon.com/healthimaging/latest/devguide/start-dicom-import-job.html). // -// - GetDICOMImportJob (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_GetDICOMImportJob.html) -// – See Getting import job properties (https://docs.aws.amazon.com/medical-imaging/latest/devguide/get-dicom-import-job.html). +// - GetDICOMImportJob (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_GetDICOMImportJob.html) +// – See Getting import job properties (https://docs.aws.amazon.com/healthimaging/latest/devguide/get-dicom-import-job.html). // -// - ListDICOMImportJobs (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_ListDICOMImportJobs.html) -// – See Listing import jobs (https://docs.aws.amazon.com/medical-imaging/latest/devguide/list-dicom-import-jobs.html). +// - ListDICOMImportJobs (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_ListDICOMImportJobs.html) +// – See Listing import jobs (https://docs.aws.amazon.com/healthimaging/latest/devguide/list-dicom-import-jobs.html). // // Image set access actions // -// - SearchImageSets (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_SearchImageSets.html) -// – See Searching image sets (https://docs.aws.amazon.com/medical-imaging/latest/devguide/search-image-sets.html). +// - SearchImageSets (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_SearchImageSets.html) +// – See Searching image sets (https://docs.aws.amazon.com/healthimaging/latest/devguide/search-image-sets.html). // -// - GetImageSet (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_GetImageSet.html) -// – See Getting image set properties (https://docs.aws.amazon.com/medical-imaging/latest/devguide/get-image-set-properties.html). +// - GetImageSet (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_GetImageSet.html) +// – See Getting image set properties (https://docs.aws.amazon.com/healthimaging/latest/devguide/get-image-set-properties.html). // -// - GetImageSetMetadata (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_GetImageSetMetadata.html) -// – See Getting image set metadata (https://docs.aws.amazon.com/medical-imaging/latest/devguide/get-image-set-metadata.html). +// - GetImageSetMetadata (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_GetImageSetMetadata.html) +// – See Getting image set metadata (https://docs.aws.amazon.com/healthimaging/latest/devguide/get-image-set-metadata.html). // -// - GetImageFrame (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_GetImageFrame.html) -// – See Getting image set pixel data (https://docs.aws.amazon.com/medical-imaging/latest/devguide/get-image-frame.html). +// - GetImageFrame (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_GetImageFrame.html) +// – See Getting image set pixel data (https://docs.aws.amazon.com/healthimaging/latest/devguide/get-image-frame.html). // // Image set modification actions // -// - ListImageSetVersions (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_ListImageSetVersions.html) -// – See Listing image set versions (https://docs.aws.amazon.com/medical-imaging/latest/devguide/list-image-set-versions.html). +// - ListImageSetVersions (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_ListImageSetVersions.html) +// – See Listing image set versions (https://docs.aws.amazon.com/healthimaging/latest/devguide/list-image-set-versions.html). // -// - UpdateImageSetMetadata (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_UpdateImageSetMetadata.html) -// – See Updating image set metadata (https://docs.aws.amazon.com/medical-imaging/latest/devguide/update-image-set-metadata.html). +// - UpdateImageSetMetadata (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_UpdateImageSetMetadata.html) +// – See Updating image set metadata (https://docs.aws.amazon.com/healthimaging/latest/devguide/update-image-set-metadata.html). // -// - CopyImageSet (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_CopyImageSet.html) -// – See Copying an image set (https://docs.aws.amazon.com/medical-imaging/latest/devguide/copy-image-set.html). +// - CopyImageSet (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_CopyImageSet.html) +// – See Copying an image set (https://docs.aws.amazon.com/healthimaging/latest/devguide/copy-image-set.html). // -// - DeleteImageSet (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_DeleteImageSet.html) -// – See Deleting an image set (https://docs.aws.amazon.com/medical-imaging/latest/devguide/delete-image-set.html). +// - DeleteImageSet (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_DeleteImageSet.html) +// – See Deleting an image set (https://docs.aws.amazon.com/healthimaging/latest/devguide/delete-image-set.html). // // Tagging actions // -// - TagResource (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_TagResource.html) -// – See Tagging a data store (https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-data-store.html) -// and Tagging an image set (https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-image-set.html). +// - TagResource (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_TagResource.html) +// – See Tagging a data store (https://docs.aws.amazon.com/healthimaging/latest/devguide/tag-list-untag-data-store.html) +// and Tagging an image set (https://docs.aws.amazon.com/healthimaging/latest/devguide/tag-list-untag-image-set.html). // -// - ListTagsForResource (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_ListTagsForResource.html) -// – See Tagging a data store (https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-data-store.html) -// and Tagging an image set (https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-image-set.html). +// - ListTagsForResource (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_ListTagsForResource.html) +// – See Tagging a data store (https://docs.aws.amazon.com/healthimaging/latest/devguide/tag-list-untag-data-store.html) +// and Tagging an image set (https://docs.aws.amazon.com/healthimaging/latest/devguide/tag-list-untag-image-set.html). // -// - UntagResource (https://docs.aws.amazon.com/medical-imaging/latest/APIReference/API_UntagResource.html) -// – See Tagging a data store (https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-data-store.html) -// and Tagging an image set (https://docs.aws.amazon.com/medical-imaging/latest/devguide/tag-list-untag-image-set.html). +// - UntagResource (https://docs.aws.amazon.com/healthimaging/latest/APIReference/API_UntagResource.html) +// – See Tagging a data store (https://docs.aws.amazon.com/healthimaging/latest/devguide/tag-list-untag-data-store.html) +// and Tagging an image set (https://docs.aws.amazon.com/healthimaging/latest/devguide/tag-list-untag-image-set.html). // // See https://docs.aws.amazon.com/goto/WebAPI/medical-imaging-2023-07-19 for more information on this service. // diff --git a/service/medicalimaging/errors.go b/service/medicalimaging/errors.go index ed16f846103..49dd75e3965 100644 --- a/service/medicalimaging/errors.go +++ b/service/medicalimaging/errors.go @@ -47,7 +47,7 @@ const ( // ErrCodeValidationException for service response error code // "ValidationException". // - // The input fails to satisfy the constraints specified by an AWS service. + // The input fails to satisfy the constraints set by the service. ErrCodeValidationException = "ValidationException" ) diff --git a/service/ssm/api.go b/service/ssm/api.go index 614b04f1811..aa2b3f1d597 100644 --- a/service/ssm/api.go +++ b/service/ssm/api.go @@ -214,6 +214,9 @@ func (c *SSM) AssociateOpsItemRelatedItemRequest(input *AssociateOpsItemRelatedI // - OpsItemRelatedItemAlreadyExistsException // The Amazon Resource Name (ARN) is already associated with the OpsItem. // +// - OpsItemConflictException +// The specified OpsItem is in the process of being deleted. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/AssociateOpsItemRelatedItem func (c *SSM) AssociateOpsItemRelatedItem(input *AssociateOpsItemRelatedItemInput) (*AssociateOpsItemRelatedItemOutput, error) { req, out := c.AssociateOpsItemRelatedItemRequest(input) @@ -1881,6 +1884,112 @@ func (c *SSM) DeleteMaintenanceWindowWithContext(ctx aws.Context, input *DeleteM return out, req.Send() } +const opDeleteOpsItem = "DeleteOpsItem" + +// DeleteOpsItemRequest generates a "aws/request.Request" representing the +// client's request for the DeleteOpsItem 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 DeleteOpsItem for more information on using the DeleteOpsItem +// 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 DeleteOpsItemRequest method. +// req, resp := client.DeleteOpsItemRequest(params) +// +// err := req.Send() +// if err == nil { // resp is now filled +// fmt.Println(resp) +// } +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsItem +func (c *SSM) DeleteOpsItemRequest(input *DeleteOpsItemInput) (req *request.Request, output *DeleteOpsItemOutput) { + op := &request.Operation{ + Name: opDeleteOpsItem, + HTTPMethod: "POST", + HTTPPath: "/", + } + + if input == nil { + input = &DeleteOpsItemInput{} + } + + output = &DeleteOpsItemOutput{} + req = c.newRequest(op, input, output) + req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler) + return +} + +// DeleteOpsItem API operation for Amazon Simple Systems Manager (SSM). +// +// Delete an OpsItem. You must have permission in Identity and Access Management +// (IAM) to delete an OpsItem. +// +// Note the following important information about this operation. +// +// - Deleting an OpsItem is irreversible. You can't restore a deleted OpsItem. +// +// - This operation uses an eventual consistency model, which means the system +// can take a few minutes to complete this operation. If you delete an OpsItem +// and immediately call, for example, GetOpsItem, the deleted OpsItem might +// still appear in the response. +// +// - This operation is idempotent. The system doesn't throw an exception +// if you repeatedly call this operation for the same OpsItem. If the first +// call is successful, all additional calls return the same successful response +// as the first call. +// +// - This operation doesn't support cross-account calls. A delegated administrator +// or management account can't delete OpsItems in other accounts, even if +// OpsCenter has been set up for cross-account administration. For more information +// about cross-account administration, see Setting up OpsCenter to centrally +// manage OpsItems across accounts (https://docs.aws.amazon.com/systems-manager/latest/userguide/OpsCenter-setting-up-cross-account.html) +// in the Systems Manager User Guide. +// +// Returns awserr.Error for service API and SDK errors. Use runtime type assertions +// with awserr.Error's Code and Message methods to get detailed information about +// the error. +// +// See the AWS API reference guide for Amazon Simple Systems Manager (SSM)'s +// API operation DeleteOpsItem for usage and error information. +// +// Returned Error Types: +// +// - InternalServerError +// An error occurred on the server side. +// +// - OpsItemInvalidParameterException +// A specified parameter argument isn't valid. Verify the available arguments +// and try again. +// +// See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteOpsItem +func (c *SSM) DeleteOpsItem(input *DeleteOpsItemInput) (*DeleteOpsItemOutput, error) { + req, out := c.DeleteOpsItemRequest(input) + return out, req.Send() +} + +// DeleteOpsItemWithContext is the same as DeleteOpsItem with the addition of +// the ability to pass a context and additional request options. +// +// See DeleteOpsItem 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 *SSM) DeleteOpsItemWithContext(ctx aws.Context, input *DeleteOpsItemInput, opts ...request.Option) (*DeleteOpsItemOutput, error) { + req, out := c.DeleteOpsItemRequest(input) + req.SetContext(ctx) + req.ApplyOptions(opts...) + return out, req.Send() +} + const opDeleteOpsMetadata = "DeleteOpsMetadata" // DeleteOpsMetadataRequest generates a "aws/request.Request" representing the @@ -7307,6 +7416,9 @@ func (c *SSM) DisassociateOpsItemRelatedItemRequest(input *DisassociateOpsItemRe // A specified parameter argument isn't valid. Verify the available arguments // and try again. // +// - OpsItemConflictException +// The specified OpsItem is in the process of being deleted. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DisassociateOpsItemRelatedItem func (c *SSM) DisassociateOpsItemRelatedItem(input *DisassociateOpsItemRelatedItemInput) (*DisassociateOpsItemRelatedItemOutput, error) { req, out := c.DisassociateOpsItemRelatedItemRequest(input) @@ -15497,6 +15609,9 @@ func (c *SSM) UpdateOpsItemRequest(input *UpdateOpsItemInput) (req *request.Requ // that your account is configured either as a Systems Manager delegated administrator // or that you are logged into the Organizations management account. // +// - OpsItemConflictException +// The specified OpsItem is in the process of being deleted. +// // See also, https://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateOpsItem func (c *SSM) UpdateOpsItem(input *UpdateOpsItemInput) (*UpdateOpsItemOutput, error) { req, out := c.UpdateOpsItemRequest(input) @@ -22853,7 +22968,7 @@ type CreateOpsItemInput struct { // * /aws/changerequest This type of OpsItem is used by Change Manager for // reviewing and approving or rejecting change requests. // - // * /aws/insight This type of OpsItem is used by OpsCenter for aggregating + // * /aws/insights This type of OpsItem is used by OpsCenter for aggregating // and reporting on duplicate OpsItems. OpsItemType *string `type:"string"` @@ -24163,6 +24278,74 @@ func (s *DeleteMaintenanceWindowOutput) SetWindowId(v string) *DeleteMaintenance return s } +type DeleteOpsItemInput struct { + _ struct{} `type:"structure"` + + // The ID of the OpsItem that you want to delete. + // + // OpsItemId is a required field + OpsItemId *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 DeleteOpsItemInput) 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 DeleteOpsItemInput) GoString() string { + return s.String() +} + +// Validate inspects the fields of the type to determine if they are valid. +func (s *DeleteOpsItemInput) Validate() error { + invalidParams := request.ErrInvalidParams{Context: "DeleteOpsItemInput"} + if s.OpsItemId == nil { + invalidParams.Add(request.NewErrParamRequired("OpsItemId")) + } + + if invalidParams.Len() > 0 { + return invalidParams + } + return nil +} + +// SetOpsItemId sets the OpsItemId field's value. +func (s *DeleteOpsItemInput) SetOpsItemId(v string) *DeleteOpsItemInput { + s.OpsItemId = &v + return s +} + +type DeleteOpsItemOutput 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 DeleteOpsItemOutput) 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 DeleteOpsItemOutput) GoString() string { + return s.String() +} + type DeleteOpsMetadataInput struct { _ struct{} `type:"structure"` @@ -45309,7 +45492,7 @@ type OpsItem struct { // * /aws/changerequest This type of OpsItem is used by Change Manager for // reviewing and approving or rejecting change requests. // - // * /aws/insight This type of OpsItem is used by OpsCenter for aggregating + // * /aws/insights This type of OpsItem is used by OpsCenter for aggregating // and reporting on duplicate OpsItems. OpsItemType *string `type:"string"` @@ -45632,6 +45815,70 @@ func (s *OpsItemAlreadyExistsException) RequestID() string { return s.RespMetadata.RequestID } +// The specified OpsItem is in the process of being deleted. +type OpsItemConflictException struct { + _ struct{} `type:"structure"` + RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"` + + Message_ *string `locationName:"Message" type:"string"` +} + +// String returns the string representation. +// +// API parameter values that are decorated as "sensitive" in the API will not +// be included in the string output. The member name will be present, but the +// value will be replaced with "sensitive". +func (s OpsItemConflictException) 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 OpsItemConflictException) GoString() string { + return s.String() +} + +func newErrorOpsItemConflictException(v protocol.ResponseMetadata) error { + return &OpsItemConflictException{ + RespMetadata: v, + } +} + +// Code returns the exception type name. +func (s *OpsItemConflictException) Code() string { + return "OpsItemConflictException" +} + +// Message returns the exception's message. +func (s *OpsItemConflictException) Message() string { + if s.Message_ != nil { + return *s.Message_ + } + return "" +} + +// OrigErr always returns nil, satisfies awserr.Error interface. +func (s *OpsItemConflictException) OrigErr() error { + return nil +} + +func (s *OpsItemConflictException) Error() string { + return fmt.Sprintf("%s: %s", s.Code(), s.Message()) +} + +// Status code returns the HTTP status code for the request's response error. +func (s *OpsItemConflictException) StatusCode() int { + return s.RespMetadata.StatusCode +} + +// RequestID returns the service's response RequestID for request. +func (s *OpsItemConflictException) RequestID() string { + return s.RespMetadata.RequestID +} + // An object that defines the value of the key and its type in the OperationalData // map. type OpsItemDataValue struct { @@ -46536,7 +46783,7 @@ type OpsItemSummary struct { // * /aws/changerequest This type of OpsItem is used by Change Manager for // reviewing and approving or rejecting change requests. // - // * /aws/insight This type of OpsItem is used by OpsCenter for aggregating + // * /aws/insights This type of OpsItem is used by OpsCenter for aggregating // and reporting on duplicate OpsItems. OpsItemType *string `type:"string"` diff --git a/service/ssm/doc.go b/service/ssm/doc.go index a527ef256c4..b7b2854b4a9 100644 --- a/service/ssm/doc.go +++ b/service/ssm/doc.go @@ -15,7 +15,7 @@ // Related resources // // - For information about each of the capabilities that comprise Systems -// Manager, see Systems Manager capabilities (https://docs.aws.amazon.com/systems-manager/latest/userguide/what-is-systems-manager.html#systems-manager-capabilities) +// Manager, see Systems Manager capabilities (https://docs.aws.amazon.com/systems-manager-automation-runbooks/latest/userguide/systems-manager-capabilities.html) // in the Amazon Web Services Systems Manager User Guide. // // - For details about predefined runbooks for Automation, a capability of diff --git a/service/ssm/errors.go b/service/ssm/errors.go index 3aceb54946e..99f4f82416f 100644 --- a/service/ssm/errors.go +++ b/service/ssm/errors.go @@ -586,6 +586,12 @@ const ( // The OpsItem already exists. ErrCodeOpsItemAlreadyExistsException = "OpsItemAlreadyExistsException" + // ErrCodeOpsItemConflictException for service response error code + // "OpsItemConflictException". + // + // The specified OpsItem is in the process of being deleted. + ErrCodeOpsItemConflictException = "OpsItemConflictException" + // ErrCodeOpsItemInvalidParameterException for service response error code // "OpsItemInvalidParameterException". // @@ -995,6 +1001,7 @@ var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ "MaxDocumentSizeExceeded": newErrorMaxDocumentSizeExceeded, "OpsItemAccessDeniedException": newErrorOpsItemAccessDeniedException, "OpsItemAlreadyExistsException": newErrorOpsItemAlreadyExistsException, + "OpsItemConflictException": newErrorOpsItemConflictException, "OpsItemInvalidParameterException": newErrorOpsItemInvalidParameterException, "OpsItemLimitExceededException": newErrorOpsItemLimitExceededException, "OpsItemNotFoundException": newErrorOpsItemNotFoundException, diff --git a/service/ssm/ssmiface/interface.go b/service/ssm/ssmiface/interface.go index de479b10e92..ad6a6e7fd94 100644 --- a/service/ssm/ssmiface/interface.go +++ b/service/ssm/ssmiface/interface.go @@ -132,6 +132,10 @@ type SSMAPI interface { DeleteMaintenanceWindowWithContext(aws.Context, *ssm.DeleteMaintenanceWindowInput, ...request.Option) (*ssm.DeleteMaintenanceWindowOutput, error) DeleteMaintenanceWindowRequest(*ssm.DeleteMaintenanceWindowInput) (*request.Request, *ssm.DeleteMaintenanceWindowOutput) + DeleteOpsItem(*ssm.DeleteOpsItemInput) (*ssm.DeleteOpsItemOutput, error) + DeleteOpsItemWithContext(aws.Context, *ssm.DeleteOpsItemInput, ...request.Option) (*ssm.DeleteOpsItemOutput, error) + DeleteOpsItemRequest(*ssm.DeleteOpsItemInput) (*request.Request, *ssm.DeleteOpsItemOutput) + DeleteOpsMetadata(*ssm.DeleteOpsMetadataInput) (*ssm.DeleteOpsMetadataOutput, error) DeleteOpsMetadataWithContext(aws.Context, *ssm.DeleteOpsMetadataInput, ...request.Option) (*ssm.DeleteOpsMetadataOutput, error) DeleteOpsMetadataRequest(*ssm.DeleteOpsMetadataInput) (*request.Request, *ssm.DeleteOpsMetadataOutput)