diff --git a/apis/cloudcontrol/2021-09-30/api-2.json b/apis/cloudcontrol/2021-09-30/api-2.json index 43cc8d9e10f..d56678956d4 100644 --- a/apis/cloudcontrol/2021-09-30/api-2.json +++ b/apis/cloudcontrol/2021-09-30/api-2.json @@ -23,8 +23,8 @@ "input":{"shape":"CancelResourceRequestInput"}, "output":{"shape":"CancelResourceRequestOutput"}, "errors":[ - {"shape":"RequestTokenNotFoundException"}, - {"shape":"ConcurrentModificationException"} + {"shape":"ConcurrentModificationException"}, + {"shape":"RequestTokenNotFoundException"} ], "idempotent":true }, @@ -37,25 +37,25 @@ "input":{"shape":"CreateResourceInput"}, "output":{"shape":"CreateResourceOutput"}, "errors":[ - {"shape":"ConcurrentOperationException"}, - {"shape":"ClientTokenConflictException"}, - {"shape":"UnsupportedActionException"}, - {"shape":"TypeNotFoundException"}, {"shape":"AlreadyExistsException"}, - {"shape":"GeneralServiceException"}, {"shape":"HandlerInternalFailureException"}, - {"shape":"InvalidCredentialsException"}, + {"shape":"GeneralServiceException"}, + {"shape":"NotUpdatableException"}, + {"shape":"TypeNotFoundException"}, + {"shape":"ConcurrentOperationException"}, {"shape":"InvalidRequestException"}, - {"shape":"NetworkFailureException"}, + {"shape":"PrivateTypeException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"NetworkFailureException"}, + {"shape":"UnsupportedActionException"}, {"shape":"NotStabilizedException"}, - {"shape":"NotUpdatableException"}, - {"shape":"ResourceConflictException"}, {"shape":"ServiceInternalErrorException"}, + {"shape":"HandlerFailureException"}, {"shape":"ServiceLimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"PrivateTypeException"}, - {"shape":"HandlerFailureException"} + {"shape":"InvalidCredentialsException"}, + {"shape":"ResourceConflictException"}, + {"shape":"ClientTokenConflictException"}, + {"shape":"ThrottlingException"} ] }, "DeleteResource":{ @@ -67,25 +67,25 @@ "input":{"shape":"DeleteResourceInput"}, "output":{"shape":"DeleteResourceOutput"}, "errors":[ - {"shape":"ConcurrentOperationException"}, - {"shape":"ClientTokenConflictException"}, - {"shape":"UnsupportedActionException"}, - {"shape":"TypeNotFoundException"}, {"shape":"AlreadyExistsException"}, - {"shape":"GeneralServiceException"}, {"shape":"HandlerInternalFailureException"}, - {"shape":"InvalidCredentialsException"}, + {"shape":"GeneralServiceException"}, + {"shape":"NotUpdatableException"}, + {"shape":"TypeNotFoundException"}, + {"shape":"ConcurrentOperationException"}, {"shape":"InvalidRequestException"}, - {"shape":"NetworkFailureException"}, + {"shape":"PrivateTypeException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"NetworkFailureException"}, + {"shape":"UnsupportedActionException"}, {"shape":"NotStabilizedException"}, - {"shape":"NotUpdatableException"}, - {"shape":"ResourceConflictException"}, {"shape":"ServiceInternalErrorException"}, + {"shape":"HandlerFailureException"}, {"shape":"ServiceLimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"PrivateTypeException"}, - {"shape":"HandlerFailureException"} + {"shape":"InvalidCredentialsException"}, + {"shape":"ResourceConflictException"}, + {"shape":"ClientTokenConflictException"}, + {"shape":"ThrottlingException"} ] }, "GetResource":{ @@ -97,23 +97,23 @@ "input":{"shape":"GetResourceInput"}, "output":{"shape":"GetResourceOutput"}, "errors":[ - {"shape":"UnsupportedActionException"}, - {"shape":"TypeNotFoundException"}, {"shape":"AlreadyExistsException"}, - {"shape":"GeneralServiceException"}, {"shape":"HandlerInternalFailureException"}, - {"shape":"InvalidCredentialsException"}, + {"shape":"GeneralServiceException"}, + {"shape":"NotUpdatableException"}, + {"shape":"TypeNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"NetworkFailureException"}, + {"shape":"PrivateTypeException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"NetworkFailureException"}, + {"shape":"UnsupportedActionException"}, {"shape":"NotStabilizedException"}, - {"shape":"NotUpdatableException"}, - {"shape":"ResourceConflictException"}, {"shape":"ServiceInternalErrorException"}, + {"shape":"HandlerFailureException"}, {"shape":"ServiceLimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"PrivateTypeException"}, - {"shape":"HandlerFailureException"} + {"shape":"InvalidCredentialsException"}, + {"shape":"ResourceConflictException"}, + {"shape":"ThrottlingException"} ] }, "GetResourceRequestStatus":{ @@ -146,23 +146,23 @@ "input":{"shape":"ListResourcesInput"}, "output":{"shape":"ListResourcesOutput"}, "errors":[ - {"shape":"UnsupportedActionException"}, - {"shape":"TypeNotFoundException"}, {"shape":"AlreadyExistsException"}, - {"shape":"GeneralServiceException"}, {"shape":"HandlerInternalFailureException"}, - {"shape":"InvalidCredentialsException"}, + {"shape":"GeneralServiceException"}, + {"shape":"NotUpdatableException"}, + {"shape":"TypeNotFoundException"}, {"shape":"InvalidRequestException"}, - {"shape":"NetworkFailureException"}, + {"shape":"PrivateTypeException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"NetworkFailureException"}, + {"shape":"UnsupportedActionException"}, {"shape":"NotStabilizedException"}, - {"shape":"NotUpdatableException"}, - {"shape":"ResourceConflictException"}, {"shape":"ServiceInternalErrorException"}, + {"shape":"HandlerFailureException"}, {"shape":"ServiceLimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"PrivateTypeException"}, - {"shape":"HandlerFailureException"} + {"shape":"InvalidCredentialsException"}, + {"shape":"ResourceConflictException"}, + {"shape":"ThrottlingException"} ] }, "UpdateResource":{ @@ -174,25 +174,25 @@ "input":{"shape":"UpdateResourceInput"}, "output":{"shape":"UpdateResourceOutput"}, "errors":[ - {"shape":"ConcurrentOperationException"}, - {"shape":"ClientTokenConflictException"}, - {"shape":"UnsupportedActionException"}, - {"shape":"TypeNotFoundException"}, {"shape":"AlreadyExistsException"}, - {"shape":"GeneralServiceException"}, {"shape":"HandlerInternalFailureException"}, - {"shape":"InvalidCredentialsException"}, + {"shape":"GeneralServiceException"}, + {"shape":"NotUpdatableException"}, + {"shape":"TypeNotFoundException"}, + {"shape":"ConcurrentOperationException"}, {"shape":"InvalidRequestException"}, - {"shape":"NetworkFailureException"}, + {"shape":"PrivateTypeException"}, {"shape":"ResourceNotFoundException"}, + {"shape":"NetworkFailureException"}, + {"shape":"UnsupportedActionException"}, {"shape":"NotStabilizedException"}, - {"shape":"NotUpdatableException"}, - {"shape":"ResourceConflictException"}, {"shape":"ServiceInternalErrorException"}, + {"shape":"HandlerFailureException"}, {"shape":"ServiceLimitExceededException"}, - {"shape":"ThrottlingException"}, - {"shape":"PrivateTypeException"}, - {"shape":"HandlerFailureException"} + {"shape":"InvalidCredentialsException"}, + {"shape":"ResourceConflictException"}, + {"shape":"ClientTokenConflictException"}, + {"shape":"ThrottlingException"} ] } }, @@ -235,7 +235,8 @@ "members":{ "Message":{"shape":"ErrorMessage"} }, - "exception":true + "exception":true, + "fault":true }, "ConcurrentOperationException":{ "type":"structure", @@ -293,7 +294,8 @@ "ErrorMessage":{ "type":"string", "max":1024, - "min":1 + "min":1, + "pattern":".+" }, "GeneralServiceException":{ "type":"structure", @@ -360,14 +362,16 @@ "members":{ "Message":{"shape":"ErrorMessage"} }, - "exception":true + "exception":true, + "fault":true }, "HandlerInternalFailureException":{ "type":"structure", "members":{ "Message":{"shape":"ErrorMessage"} }, - "exception":true + "exception":true, + "fault":true }, "HandlerNextToken":{ "type":"string", @@ -432,6 +436,7 @@ }, "MaxResults":{ "type":"integer", + "box":true, "max":100, "min":1 }, @@ -440,7 +445,8 @@ "members":{ "Message":{"shape":"ErrorMessage"} }, - "exception":true + "exception":true, + "fault":true }, "NextToken":{ "type":"string", @@ -493,6 +499,7 @@ "type":"string", "max":65536, "min":1, + "pattern":"[\\s\\S]*", "sensitive":true }, "PrivateTypeException":{ @@ -519,8 +526,9 @@ }, "Properties":{ "type":"string", - "max":16384, + "max":65536, "min":1, + "pattern":"[\\s\\S]*", "sensitive":true }, "RequestToken":{ @@ -583,7 +591,8 @@ "members":{ "Message":{"shape":"ErrorMessage"} }, - "exception":true + "exception":true, + "fault":true }, "ServiceLimitExceededException":{ "type":"structure", @@ -594,7 +603,9 @@ }, "StatusMessage":{ "type":"string", - "max":1024 + "max":1024, + "min":0, + "pattern":"[\\s\\S]*" }, "ThrottlingException":{ "type":"structure", diff --git a/apis/cloudcontrol/2021-09-30/docs-2.json b/apis/cloudcontrol/2021-09-30/docs-2.json index 0e665d15857..d39b4967e46 100644 --- a/apis/cloudcontrol/2021-09-30/docs-2.json +++ b/apis/cloudcontrol/2021-09-30/docs-2.json @@ -264,7 +264,7 @@ "Properties": { "base": null, "refs": { - "CreateResourceInput$DesiredState": "

Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.

Cloud Control API currently supports JSON as a structured data format.

Specify the desired state as one of the following:

For more information, see Composing the desired state of the resource in the Amazon Web Services Cloud Control API User Guide.

For more information about the properties of a specific resource, refer to the related topic for the resource in the Resource and property types reference in the CloudFormation Users Guide.

", + "CreateResourceInput$DesiredState": "

Structured data format representing the desired state of the resource, consisting of that resource's properties and their desired values.

Cloud Control API currently supports JSON as a structured data format.

 <p>Specify the desired state as one of the following:</p> <ul> <li> <p>A JSON blob</p> </li> <li> <p>A local path containing the desired state in JSON data format</p> </li> </ul> <p>For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p> <p>For more information about the properties of a specific resource, refer to the related topic for the resource in the <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html">Resource and property types reference</a> in the <i>CloudFormation Users Guide</i>.</p> 
", "ListResourcesInput$ResourceModel": "

The resource model to use to select the resources to return.

", "ProgressEvent$ResourceModel": "

A JSON string containing the resource model, consisting of each resource property and its current value.

", "ResourceDescription$Properties": "

A list of the resource properties and their current values.

" diff --git a/apis/cloudcontrol/2021-09-30/paginators-1.json b/apis/cloudcontrol/2021-09-30/paginators-1.json index 107915ef700..14380b07447 100644 --- a/apis/cloudcontrol/2021-09-30/paginators-1.json +++ b/apis/cloudcontrol/2021-09-30/paginators-1.json @@ -3,12 +3,14 @@ "ListResourceRequests": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "ResourceRequestStatusSummaries" }, "ListResources": { "input_token": "NextToken", "output_token": "NextToken", - "limit_key": "MaxResults" + "limit_key": "MaxResults", + "result_key": "ResourceDescriptions" } } } diff --git a/apis/cloudcontrol/2021-09-30/smoke.json b/apis/cloudcontrol/2021-09-30/smoke.json new file mode 100644 index 00000000000..35901fd4c88 --- /dev/null +++ b/apis/cloudcontrol/2021-09-30/smoke.json @@ -0,0 +1,8 @@ +{ + "version": 1, + "defaultRegion": "us-west-2", + "testCases": [ + ] +} + + \ No newline at end of file diff --git a/apis/cloudcontrol/2021-09-30/waiters-2.json b/apis/cloudcontrol/2021-09-30/waiters-2.json index be633a924ae..e5f82acb299 100644 --- a/apis/cloudcontrol/2021-09-30/waiters-2.json +++ b/apis/cloudcontrol/2021-09-30/waiters-2.json @@ -1,31 +1,27 @@ { - "version": 2, - "waiters": { - "ResourceRequestSuccess": { - "description": "Wait until resource operation request is successful", - "operation": "GetResourceRequestStatus", - "delay": 5, - "maxAttempts": 720, - "acceptors": [ - { - "state": "success", - "matcher": "path", - "argument": "ProgressEvent.OperationStatus", - "expected": "SUCCESS" - }, - { - "state": "failure", - "matcher": "path", - "argument": "ProgressEvent.OperationStatus", - "expected": "FAILED" - }, - { - "state": "failure", - "matcher": "path", - "argument": "ProgressEvent.OperationStatus", - "expected": "CANCEL_COMPLETE" - } - ] + "version" : 2, + "waiters" : { + "ResourceRequestSuccess" : { + "description" : "Wait until resource operation request is successful", + "delay" : 5, + "maxAttempts" : 24, + "operation" : "GetResourceRequestStatus", + "acceptors" : [ { + "matcher" : "path", + "argument" : "ProgressEvent.OperationStatus", + "state" : "success", + "expected" : "SUCCESS" + }, { + "matcher" : "path", + "argument" : "ProgressEvent.OperationStatus", + "state" : "failure", + "expected" : "FAILED" + }, { + "matcher" : "path", + "argument" : "ProgressEvent.OperationStatus", + "state" : "failure", + "expected" : "CANCEL_COMPLETE" + } ] } } } \ No newline at end of file diff --git a/apis/evidently/2021-02-01/api-2.json b/apis/evidently/2021-02-01/api-2.json index 8aa8ec91a6f..caedc3be474 100644 --- a/apis/evidently/2021-02-01/api-2.json +++ b/apis/evidently/2021-02-01/api-2.json @@ -1287,6 +1287,7 @@ "GetExperimentResultsResponse":{ "type":"structure", "members":{ + "details":{"shape":"String"}, "reports":{"shape":"ExperimentReportList"}, "resultsData":{"shape":"ExperimentResultsDataList"}, "timestamps":{"shape":"TimestampList"} diff --git a/apis/evidently/2021-02-01/docs-2.json b/apis/evidently/2021-02-01/docs-2.json index 3674a5a79e6..c176bf66fe0 100644 --- a/apis/evidently/2021-02-01/docs-2.json +++ b/apis/evidently/2021-02-01/docs-2.json @@ -13,7 +13,7 @@ "DeleteProject": "

Deletes an Evidently project. Before you can delete a project, you must delete all the features that the project contains. To delete a feature, use DeleteFeature.

", "EvaluateFeature": "

This operation assigns a feature variation to one given user session. You pass in an entityID that represents the user. Evidently then checks the evaluation rules and assigns the variation.

The first rules that are evaluated are the override rules. If the user's entityID matches an override rule, the user is served the variation specified by that rule.

Next, if there is a launch of the feature, the user might be assigned to a variation in the launch. The chance of this depends on the percentage of users that are allocated to that launch. If the user is enrolled in the launch, the variation they are served depends on the allocation of the various feature variations used for the launch.

If the user is not assigned to a launch, and there is an ongoing experiment for this feature, the user might be assigned to a variation in the experiment. The chance of this depends on the percentage of users that are allocated to that experiment. If the user is enrolled in the experiment, the variation they are served depends on the allocation of the various feature variations used for the experiment.

If the user is not assigned to a launch or experiment, they are served the default variation.

", "GetExperiment": "

Returns the details about one experiment. You must already know the experiment name. To retrieve a list of experiments in your account, use ListExperiments.

", - "GetExperimentResults": "

Retrieves the results of a running or completed experiment.

", + "GetExperimentResults": "

Retrieves the results of a running or completed experiment. No results are available until there have been 100 events for each variation and at least 10 minutes have passed since the start of the experiment.

Experiment results are available up to 63 days after the start of the experiment. They are not available after that because of CloudWatch data retention policies.

", "GetFeature": "

Returns the details about one feature. You must already know the feature name. To retrieve a list of features in your account, use ListFeatures.

", "GetLaunch": "

Returns the details about one launch. You must already know the launch name. To retrieve a list of launches in your account, use ListLaunches.

", "GetProject": "

Returns the details about one launch. You must already know the project name. To retrieve a list of projects in your account, use ListProjects.

", @@ -1175,6 +1175,7 @@ "EvaluateFeatureResponse$variation": "

The name of the variation that was served to the user session.

", "EvaluationResult$reason": "

Specifies the reason that the user session was assigned this variation. Possible values include DEFAULT, meaning the user was served the default variation; LAUNCH_RULE_MATCH, if the user session was enrolled in a launch; or EXPERIMENT_RULE_MATCH, if the user session was enrolled in an experiment.

", "EvaluationResult$variation": "

The name of the variation that was served to the user session.

", + "GetExperimentResultsResponse$details": "

If the experiment doesn't yet have enough events to provide valid results, this field is returned with the message Not enough events to generate results. If there are enough events to provide valid results, this field is not returned.

", "InternalServerException$message": null, "ResourceNotFoundException$message": null, "ResourceNotFoundException$resourceId": "

The ID of the resource that caused the exception.

", @@ -1257,7 +1258,7 @@ "Feature$lastUpdatedTime": "

The date and time that the feature was most recently updated.

", "FeatureSummary$createdTime": "

The date and time that the feature is created.

", "FeatureSummary$lastUpdatedTime": "

The date and time that the feature was most recently updated.

", - "GetExperimentResultsRequest$endTime": "

The date and time that the experiment ended, if it is completed.

", + "GetExperimentResultsRequest$endTime": "

The date and time that the experiment ended, if it is completed. This must be no longer than 30 days after the experiment start time.

", "GetExperimentResultsRequest$startTime": "

The date and time that the experiment started.

", "Launch$createdTime": "

The date and time that the launch is created.

", "Launch$lastUpdatedTime": "

The date and time that the launch was most recently updated.

", @@ -1269,7 +1270,7 @@ "ProjectSummary$lastUpdatedTime": "

The date and time that the project was most recently updated.

", "ScheduledSplit$startTime": "

The date and time that this step of the launch starts.

", "ScheduledSplitConfig$startTime": "

The date and time that this step of the launch starts.

", - "StartExperimentRequest$analysisCompleteTime": "

The date and time to end the experiment.

", + "StartExperimentRequest$analysisCompleteTime": "

The date and time to end the experiment. This must be no more than 30 days after the experiment starts.

", "StartExperimentResponse$startedTime": "

A timestamp that indicates when the experiment started.

", "StopExperimentResponse$endedTime": "

The date and time that the experiment stopped.

", "StopLaunchResponse$endedTime": "

The date and time that the launch stopped.

", diff --git a/apis/ssm-contacts/2021-05-03/docs-2.json b/apis/ssm-contacts/2021-05-03/docs-2.json index 3e745c376d0..db3e74d45d1 100644 --- a/apis/ssm-contacts/2021-05-03/docs-2.json +++ b/apis/ssm-contacts/2021-05-03/docs-2.json @@ -21,7 +21,7 @@ "ListPagesByContact": "

Lists the engagements to a contact's contact channels.

", "ListPagesByEngagement": "

Lists the engagements to contact channels that occurred by engaging a contact.

", "ListTagsForResource": "

Lists the tags of an escalation plan or contact.

", - "PutContactPolicy": "

Adds a resource to the specified contact or escalation plan.

", + "PutContactPolicy": "

Adds a resource policy to the specified contact or escalation plan. The resource policy is used to share the contact or escalation plan using Resource Access Manager (RAM). For more information about cross-account sharing, see Setting up cross-account functionality.

", "SendActivationCode": "

Sends an activation code to a contact channel. The contact can use this code to activate the contact channel in the console or with the ActivateChannel operation. Incident Manager can't engage a contact channel until it has been activated.

", "StartEngagement": "

Starts an engagement to a contact or escalation plan. The engagement engages each contact specified in the incident.

", "StopEngagement": "

Stops an engagement before it finishes the final stage of the escalation plan or engagement plan. Further contacts aren't engaged.

", diff --git a/apis/ssm-contacts/2021-05-03/examples-1.json b/apis/ssm-contacts/2021-05-03/examples-1.json index afe05355607..d7c714d8fe8 100644 --- a/apis/ssm-contacts/2021-05-03/examples-1.json +++ b/apis/ssm-contacts/2021-05-03/examples-1.json @@ -136,7 +136,7 @@ "PublicContent": "Testing engagements", "PublicSubject": "test", "Sender": "tester", - "StartTime": "$2021-05-18T18:25:41.151000+00:00", + "StartTime": "2021-05-18T18:25:41.151000+00:00", "Subject": "test" }, "comments": { diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md index 9639898ac64..4e56a569232 100644 --- a/gems/aws-partitions/CHANGELOG.md +++ b/gems/aws-partitions/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.587.0 (2022-05-09) +------------------ + +* Feature - Updated the partitions source data the determines the AWS service regions and endpoints. + 1.586.0 (2022-05-06) ------------------ diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION index 3a14e5c9f3a..f3d6fe62feb 100644 --- a/gems/aws-partitions/VERSION +++ b/gems/aws-partitions/VERSION @@ -1 +1 @@ -1.586.0 +1.587.0 diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json index 84b4c9e6f5d..d527ee75463 100644 --- a/gems/aws-partitions/partitions.json +++ b/gems/aws-partitions/partitions.json @@ -5146,6 +5146,7 @@ "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { }, "eu-central-1" : { }, "eu-north-1" : { }, diff --git a/gems/aws-sdk-cloudcontrolapi/CHANGELOG.md b/gems/aws-sdk-cloudcontrolapi/CHANGELOG.md index 7f61ac45e61..2e0758998b5 100644 --- a/gems/aws-sdk-cloudcontrolapi/CHANGELOG.md +++ b/gems/aws-sdk-cloudcontrolapi/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.8.0 (2022-05-09) +------------------ + +* Feature - SDK release for Cloud Control API to include paginators for Python SDK. + 1.7.0 (2022-03-31) ------------------ diff --git a/gems/aws-sdk-cloudcontrolapi/VERSION b/gems/aws-sdk-cloudcontrolapi/VERSION index bd8bf882d06..27f9cd322bb 100644 --- a/gems/aws-sdk-cloudcontrolapi/VERSION +++ b/gems/aws-sdk-cloudcontrolapi/VERSION @@ -1 +1 @@ -1.7.0 +1.8.0 diff --git a/gems/aws-sdk-cloudcontrolapi/features/smoke.feature b/gems/aws-sdk-cloudcontrolapi/features/smoke.feature new file mode 100644 index 00000000000..a78c3351978 --- /dev/null +++ b/gems/aws-sdk-cloudcontrolapi/features/smoke.feature @@ -0,0 +1,11 @@ +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +Feature: Smoke tests for CloudControlApi + +Background: + Given I create a client in region 'us-west-2' diff --git a/gems/aws-sdk-cloudcontrolapi/features/smoke_step_definitions.rb b/gems/aws-sdk-cloudcontrolapi/features/smoke_step_definitions.rb new file mode 100644 index 00000000000..7dcba6e0876 --- /dev/null +++ b/gems/aws-sdk-cloudcontrolapi/features/smoke_step_definitions.rb @@ -0,0 +1,35 @@ +# frozen_string_literal: true + +# WARNING ABOUT GENERATED CODE +# +# This file is generated. See the contributing guide for more information: +# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md +# +# WARNING ABOUT GENERATED CODE + +# Shared Smoke Test Definitions +Given(/I create a client in region '(.*?)'/) do |region| + @regional_client = Aws::CloudControlApi::Client.new(region: region) +end + +Given(/I create a client with endpoint '(.*?)'/) do |endpoint| + @regional_client = Aws::CloudControlApi::Client.new(endpoint: endpoint) +end + +When(/I call the operation '(.*?)' with params:/) do |operation, params| + opts = JSON.parse(params, symbolize_names: true) + begin + @regional_client.send(operation.to_sym, opts) + @operation_raised_error = false + rescue StandardError + @operation_raised_error = true + end +end + +Then(/I expect an error was raised/) do + expect(@operation_raised_error).to be_truthy +end + +Then(/I expect an error was not raised/) do + expect(@operation_raised_error).not_to be_truthy +end diff --git a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi.rb b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi.rb index a3fdfaf239e..1fdf70258e7 100644 --- a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi.rb +++ b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi.rb @@ -49,6 +49,6 @@ # @!group service module Aws::CloudControlApi - GEM_VERSION = '1.7.0' + GEM_VERSION = '1.8.0' end diff --git a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client.rb b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client.rb index 906abf6c885..ae681770488 100644 --- a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client.rb +++ b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client.rb @@ -480,24 +480,7 @@ def cancel_resource_request(params = {}, options = {}) # # # - # Specify the desired state as one of the following: - # - # * A JSON blob - # - # * A local path containing the desired state in JSON data format - # - # For more information, see [Composing the desired state of the - # resource][1] in the *Amazon Web Services Cloud Control API User - # Guide*. - # - # For more information about the properties of a specific resource, - # refer to the related topic for the resource in the [Resource and - # property types reference][2] in the *CloudFormation Users Guide*. - # - # - # - # [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate - # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html + #

Specify the desired state as one of the following:

For more information, see Composing the desired state of the resource in the Amazon Web Services Cloud Control API User Guide.

For more information about the properties of a specific resource, refer to the related topic for the resource in the Resource and property types reference in the CloudFormation Users Guide.

# # @return [Types::CreateResourceOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # @@ -1114,7 +1097,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-cloudcontrolapi' - context[:gem_version] = '1.7.0' + context[:gem_version] = '1.8.0' Seahorse::Client::Request.new(handlers, context) end @@ -1182,7 +1165,7 @@ def build_request(operation_name, params = {}) # # | waiter_name | params | :delay | :max_attempts | # | ------------------------ | ------------------------------------ | -------- | ------------- | - # | resource_request_success | {Client#get_resource_request_status} | 5 | 720 | + # | resource_request_success | {Client#get_resource_request_status} | 5 | 24 | # # @raise [Errors::FailureStateError] Raised when the waiter terminates # because the waiter has entered a state that it will not transition diff --git a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client_api.rb b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client_api.rb index 97013e8a29e..183468c0b77 100644 --- a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client_api.rb +++ b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client_api.rb @@ -267,8 +267,8 @@ module ClientApi o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CancelResourceRequestInput) o.output = Shapes::ShapeRef.new(shape: CancelResourceRequestOutput) - o.errors << Shapes::ShapeRef.new(shape: RequestTokenNotFoundException) o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException) + o.errors << Shapes::ShapeRef.new(shape: RequestTokenNotFoundException) end) api.add_operation(:create_resource, Seahorse::Model::Operation.new.tap do |o| @@ -277,25 +277,25 @@ module ClientApi o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: CreateResourceInput) o.output = Shapes::ShapeRef.new(shape: CreateResourceOutput) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException) - o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException) - o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException) - o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException) o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException) - o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException) + o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException) + o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException) + o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException) + o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException) + o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException) o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException) - o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException) - o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException) + o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException) o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException) + o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException) + o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) + o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) - o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException) - o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException) end) api.add_operation(:delete_resource, Seahorse::Model::Operation.new.tap do |o| @@ -304,25 +304,25 @@ module ClientApi o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: DeleteResourceInput) o.output = Shapes::ShapeRef.new(shape: DeleteResourceOutput) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException) - o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException) - o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException) - o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException) o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException) - o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException) + o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException) + o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException) + o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException) + o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException) + o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException) o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException) - o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException) - o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException) + o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException) o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException) + o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException) + o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) + o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) - o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException) - o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException) end) api.add_operation(:get_resource, Seahorse::Model::Operation.new.tap do |o| @@ -331,23 +331,23 @@ module ClientApi o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: GetResourceInput) o.output = Shapes::ShapeRef.new(shape: GetResourceOutput) - o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException) - o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException) o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException) - o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException) + o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException) + o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException) + o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException) + o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException) + o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException) o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException) - o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException) - o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException) + o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException) o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException) + o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException) + o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) - o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException) - o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException) end) api.add_operation(:get_resource_request_status, Seahorse::Model::Operation.new.tap do |o| @@ -379,23 +379,23 @@ module ClientApi o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: ListResourcesInput) o.output = Shapes::ShapeRef.new(shape: ListResourcesOutput) - o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException) - o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException) o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException) - o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException) + o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException) + o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException) + o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException) + o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException) + o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException) o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException) - o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException) - o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException) + o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException) o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException) + o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException) + o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) - o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException) - o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException) o[:pager] = Aws::Pager.new( limit_key: "max_results", tokens: { @@ -410,25 +410,25 @@ module ClientApi o.http_request_uri = "/" o.input = Shapes::ShapeRef.new(shape: UpdateResourceInput) o.output = Shapes::ShapeRef.new(shape: UpdateResourceOutput) - o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException) - o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException) - o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException) - o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException) - o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException) o.errors << Shapes::ShapeRef.new(shape: HandlerInternalFailureException) - o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException) + o.errors << Shapes::ShapeRef.new(shape: GeneralServiceException) + o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException) + o.errors << Shapes::ShapeRef.new(shape: TypeNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: ConcurrentOperationException) o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException) - o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException) + o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException) o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException) + o.errors << Shapes::ShapeRef.new(shape: NetworkFailureException) + o.errors << Shapes::ShapeRef.new(shape: UnsupportedActionException) o.errors << Shapes::ShapeRef.new(shape: NotStabilizedException) - o.errors << Shapes::ShapeRef.new(shape: NotUpdatableException) - o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) o.errors << Shapes::ShapeRef.new(shape: ServiceInternalErrorException) + o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException) o.errors << Shapes::ShapeRef.new(shape: ServiceLimitExceededException) + o.errors << Shapes::ShapeRef.new(shape: InvalidCredentialsException) + o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException) + o.errors << Shapes::ShapeRef.new(shape: ClientTokenConflictException) o.errors << Shapes::ShapeRef.new(shape: ThrottlingException) - o.errors << Shapes::ShapeRef.new(shape: PrivateTypeException) - o.errors << Shapes::ShapeRef.new(shape: HandlerFailureException) end) end diff --git a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/types.rb b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/types.rb index ccd9921cea1..dc8f424cdd2 100644 --- a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/types.rb +++ b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/types.rb @@ -183,24 +183,7 @@ class ConcurrentOperationException < Struct.new( # # # - # Specify the desired state as one of the following: - # - # * A JSON blob - # - # * A local path containing the desired state in JSON data format - # - # For more information, see [Composing the desired state of the - # resource][1] in the *Amazon Web Services Cloud Control API User - # Guide*. - # - # For more information about the properties of a specific resource, - # refer to the related topic for the resource in the [Resource and - # property types reference][2] in the *CloudFormation Users Guide*. - # - # - # - # [1]: https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate - # [2]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html + #

Specify the desired state as one of the following:

For more information, see Composing the desired state of the resource in the Amazon Web Services Cloud Control API User Guide.

For more information about the properties of a specific resource, refer to the related topic for the resource in the Resource and property types reference in the CloudFormation Users Guide.

# @return [String] # # @see http://docs.aws.amazon.com/goto/WebAPI/cloudcontrol-2021-09-30/CreateResourceInput AWS API Documentation diff --git a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/waiters.rb b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/waiters.rb index f9b0831bbd6..95d5a0ca2f0 100644 --- a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/waiters.rb +++ b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/waiters.rb @@ -69,7 +69,7 @@ module Aws::CloudControlApi # # | waiter_name | params | :delay | :max_attempts | # | ------------------------ | ------------------------------------ | -------- | ------------- | - # | resource_request_success | {Client#get_resource_request_status} | 5 | 720 | + # | resource_request_success | {Client#get_resource_request_status} | 5 | 24 | # module Waiters @@ -78,34 +78,34 @@ class ResourceRequestSuccess # @param [Hash] options # @option options [required, Client] :client - # @option options [Integer] :max_attempts (720) + # @option options [Integer] :max_attempts (24) # @option options [Integer] :delay (5) # @option options [Proc] :before_attempt # @option options [Proc] :before_wait def initialize(options) @client = options.fetch(:client) @waiter = Aws::Waiters::Waiter.new({ - max_attempts: 720, + max_attempts: 24, delay: 5, poller: Aws::Waiters::Poller.new( operation_name: :get_resource_request_status, acceptors: [ { - "state" => "success", "matcher" => "path", "argument" => "progress_event.operation_status", + "state" => "success", "expected" => "SUCCESS" }, { - "state" => "failure", "matcher" => "path", "argument" => "progress_event.operation_status", + "state" => "failure", "expected" => "FAILED" }, { - "state" => "failure", "matcher" => "path", "argument" => "progress_event.operation_status", + "state" => "failure", "expected" => "CANCEL_COMPLETE" } ] diff --git a/gems/aws-sdk-cloudwatchevidently/CHANGELOG.md b/gems/aws-sdk-cloudwatchevidently/CHANGELOG.md index e0f0c7a060e..f228ace91eb 100644 --- a/gems/aws-sdk-cloudwatchevidently/CHANGELOG.md +++ b/gems/aws-sdk-cloudwatchevidently/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.6.0 (2022-05-09) +------------------ + +* Feature - Add detail message inside GetExperimentResults API response to indicate experiment result availability + 1.5.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-cloudwatchevidently/VERSION b/gems/aws-sdk-cloudwatchevidently/VERSION index bc80560fad6..dc1e644a101 100644 --- a/gems/aws-sdk-cloudwatchevidently/VERSION +++ b/gems/aws-sdk-cloudwatchevidently/VERSION @@ -1 +1 @@ -1.5.0 +1.6.0 diff --git a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently.rb b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently.rb index 8b05bbec88c..f9f82016326 100644 --- a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently.rb +++ b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently.rb @@ -48,6 +48,6 @@ # @!group service module Aws::CloudWatchEvidently - GEM_VERSION = '1.5.0' + GEM_VERSION = '1.6.0' end diff --git a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client.rb b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client.rb index e8fea541590..8ae93ab9d5b 100644 --- a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client.rb +++ b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client.rb @@ -1201,7 +1201,13 @@ def get_experiment(params = {}, options = {}) req.send_request(options) end - # Retrieves the results of a running or completed experiment. + # Retrieves the results of a running or completed experiment. No results + # are available until there have been 100 events for each variation and + # at least 10 minutes have passed since the start of the experiment. + # + # Experiment results are available up to 63 days after the start of the + # experiment. They are not available after that because of CloudWatch + # data retention policies. # # @option params [String] :base_stat # The statistic used to calculate experiment results. Currently the only @@ -1209,7 +1215,8 @@ def get_experiment(params = {}, options = {}) # the statistic. # # @option params [Time,DateTime,Date,Integer,String] :end_time - # The date and time that the experiment ended, if it is completed. + # The date and time that the experiment ended, if it is completed. This + # must be no longer than 30 days after the experiment start time. # # @option params [required, String] :experiment # The name of the experiment to retrieve the results of. @@ -1262,6 +1269,7 @@ def get_experiment(params = {}, options = {}) # # @return [Types::GetExperimentResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods: # + # * {Types::GetExperimentResultsResponse#details #details} => String # * {Types::GetExperimentResultsResponse#reports #reports} => Array<Types::ExperimentReport> # * {Types::GetExperimentResultsResponse#results_data #results_data} => Array<Types::ExperimentResultsData> # * {Types::GetExperimentResultsResponse#timestamps #timestamps} => Array<Time> @@ -1283,6 +1291,7 @@ def get_experiment(params = {}, options = {}) # # @example Response structure # + # resp.details #=> String # resp.reports #=> Array # resp.reports[0].content #=> String # resp.reports[0].metric_name #=> String @@ -1823,7 +1832,8 @@ def put_project_events(params = {}, options = {}) # [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateExperiment.html # # @option params [required, Time,DateTime,Date,Integer,String] :analysis_complete_time - # The date and time to end the experiment. + # The date and time to end the experiment. This must be no more than 30 + # days after the experiment starts. # # @option params [required, String] :experiment # The name of the experiment to start. @@ -2597,7 +2607,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-cloudwatchevidently' - context[:gem_version] = '1.5.0' + context[:gem_version] = '1.6.0' Seahorse::Client::Request.new(handlers, context) end diff --git a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client_api.rb b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client_api.rb index e9340df162b..803482acc3d 100644 --- a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client_api.rb +++ b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client_api.rb @@ -469,6 +469,7 @@ module ClientApi GetExperimentResultsRequest.add_member(:treatment_names, Shapes::ShapeRef.new(shape: TreatmentNameList, required: true, location_name: "treatmentNames")) GetExperimentResultsRequest.struct_class = Types::GetExperimentResultsRequest + GetExperimentResultsResponse.add_member(:details, Shapes::ShapeRef.new(shape: String, location_name: "details")) GetExperimentResultsResponse.add_member(:reports, Shapes::ShapeRef.new(shape: ExperimentReportList, location_name: "reports")) GetExperimentResultsResponse.add_member(:results_data, Shapes::ShapeRef.new(shape: ExperimentResultsDataList, location_name: "resultsData")) GetExperimentResultsResponse.add_member(:timestamps, Shapes::ShapeRef.new(shape: TimestampList, location_name: "timestamps")) diff --git a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb index 8e7197538e7..75397f1db20 100644 --- a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb +++ b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb @@ -1351,6 +1351,7 @@ class GetExperimentResponse < Struct.new( # # @!attribute [rw] end_time # The date and time that the experiment ended, if it is completed. + # This must be no longer than 30 days after the experiment start time. # @return [Time] # # @!attribute [rw] experiment @@ -1429,6 +1430,13 @@ class GetExperimentResultsRequest < Struct.new( include Aws::Structure end + # @!attribute [rw] details + # If the experiment doesn't yet have enough events to provide valid + # results, this field is returned with the message `Not enough events + # to generate results`. If there are enough events to provide valid + # results, this field is not returned. + # @return [String] + # # @!attribute [rw] reports # An array of structures that include the reports that you requested. # @return [Array] @@ -1445,6 +1453,7 @@ class GetExperimentResultsRequest < Struct.new( # @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/GetExperimentResultsResponse AWS API Documentation # class GetExperimentResultsResponse < Struct.new( + :details, :reports, :results_data, :timestamps) @@ -2785,7 +2794,8 @@ class ServiceUnavailableException < Struct.new( # } # # @!attribute [rw] analysis_complete_time - # The date and time to end the experiment. + # The date and time to end the experiment. This must be no more than + # 30 days after the experiment starts. # @return [Time] # # @!attribute [rw] experiment diff --git a/gems/aws-sdk-ssmcontacts/CHANGELOG.md b/gems/aws-sdk-ssmcontacts/CHANGELOG.md index bfcd56b5a41..62c768e731f 100644 --- a/gems/aws-sdk-ssmcontacts/CHANGELOG.md +++ b/gems/aws-sdk-ssmcontacts/CHANGELOG.md @@ -1,6 +1,11 @@ Unreleased Changes ------------------ +1.14.0 (2022-05-09) +------------------ + +* Feature - Fixed an error in the DescribeEngagement example for AWS Incident Manager. + 1.13.0 (2022-02-24) ------------------ diff --git a/gems/aws-sdk-ssmcontacts/VERSION b/gems/aws-sdk-ssmcontacts/VERSION index feaae22bac7..850e742404b 100644 --- a/gems/aws-sdk-ssmcontacts/VERSION +++ b/gems/aws-sdk-ssmcontacts/VERSION @@ -1 +1 @@ -1.13.0 +1.14.0 diff --git a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts.rb b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts.rb index f2fa35a02eb..9892aee1633 100644 --- a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts.rb +++ b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts.rb @@ -48,6 +48,6 @@ # @!group service module Aws::SSMContacts - GEM_VERSION = '1.13.0' + GEM_VERSION = '1.14.0' end diff --git a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/client.rb b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/client.rb index ecf254e39c6..16f9e095027 100644 --- a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/client.rb +++ b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/client.rb @@ -824,7 +824,7 @@ def delete_contact_channel(params = {}, options = {}) # public_content: "Testing engagements", # public_subject: "test", # sender: "tester", - # start_time: Time.parse("$2021-05-18T18:25:41.151000+00:00"), + # start_time: Time.parse("2021-05-18T18:25:41.151000+00:00"), # subject: "test", # } # @@ -1713,7 +1713,15 @@ def list_tags_for_resource(params = {}, options = {}) req.send_request(options) end - # Adds a resource to the specified contact or escalation plan. + # Adds a resource policy to the specified contact or escalation plan. + # The resource policy is used to share the contact or escalation plan + # using Resource Access Manager (RAM). For more information about + # cross-account sharing, see [Setting up cross-account + # functionality][1]. + # + # + # + # [1]: https://docs.aws.amazon.com/incident-manager/latest/userguide/xa.html # # @option params [required, String] :contact_arn # The Amazon Resource Name (ARN) of the contact or escalation plan. @@ -2197,7 +2205,7 @@ def build_request(operation_name, params = {}) params: params, config: config) context[:gem_name] = 'aws-sdk-ssmcontacts' - context[:gem_version] = '1.13.0' + context[:gem_version] = '1.14.0' Seahorse::Client::Request.new(handlers, context) end