From c6c6446b255fad752e3833e6fa1d794675de8668 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Mon, 9 May 2022 18:13:45 +0000 Subject: [PATCH] Regenerated Clients --- .changelog/15a689ad224142b9a687e6dcabad55ff.json | 8 ++++++++ .changelog/9a7a360f1eb541a191227515348c1723.json | 8 ++++++++ .changelog/af71198fa5574392a91a4b2f142a4015.json | 8 ++++++++ service/cloudcontrol/endpoints.go | 2 +- service/evidently/api_op_GetExperimentResults.go | 14 ++++++++++++-- service/evidently/api_op_StartExperiment.go | 3 ++- service/evidently/deserializers.go | 9 +++++++++ service/firehose/internal/endpoints/endpoints.go | 3 +++ service/ssmcontacts/api_op_PutContactPolicy.go | 6 +++++- 9 files changed, 56 insertions(+), 5 deletions(-) create mode 100644 .changelog/15a689ad224142b9a687e6dcabad55ff.json create mode 100644 .changelog/9a7a360f1eb541a191227515348c1723.json create mode 100644 .changelog/af71198fa5574392a91a4b2f142a4015.json diff --git a/.changelog/15a689ad224142b9a687e6dcabad55ff.json b/.changelog/15a689ad224142b9a687e6dcabad55ff.json new file mode 100644 index 00000000000..b7ae7564149 --- /dev/null +++ b/.changelog/15a689ad224142b9a687e6dcabad55ff.json @@ -0,0 +1,8 @@ +{ + "id": "15a689ad-2241-42b9-a687-e6dcabad55ff", + "type": "feature", + "description": "SDK release for Cloud Control API to include paginators for Python SDK.", + "modules": [ + "service/cloudcontrol" + ] +} \ No newline at end of file diff --git a/.changelog/9a7a360f1eb541a191227515348c1723.json b/.changelog/9a7a360f1eb541a191227515348c1723.json new file mode 100644 index 00000000000..4878731739a --- /dev/null +++ b/.changelog/9a7a360f1eb541a191227515348c1723.json @@ -0,0 +1,8 @@ +{ + "id": "9a7a360f-1eb5-41a1-9122-7515348c1723", + "type": "documentation", + "description": "Fixed an error in the DescribeEngagement example for AWS Incident Manager.", + "modules": [ + "service/ssmcontacts" + ] +} \ No newline at end of file diff --git a/.changelog/af71198fa5574392a91a4b2f142a4015.json b/.changelog/af71198fa5574392a91a4b2f142a4015.json new file mode 100644 index 00000000000..9cdd87d8438 --- /dev/null +++ b/.changelog/af71198fa5574392a91a4b2f142a4015.json @@ -0,0 +1,8 @@ +{ + "id": "af71198f-a557-4392-a91a-4b2f142a4015", + "type": "feature", + "description": "Add detail message inside GetExperimentResults API response to indicate experiment result availability", + "modules": [ + "service/evidently" + ] +} \ No newline at end of file diff --git a/service/cloudcontrol/endpoints.go b/service/cloudcontrol/endpoints.go index b43baea72fb..f732c3c013f 100644 --- a/service/cloudcontrol/endpoints.go +++ b/service/cloudcontrol/endpoints.go @@ -105,7 +105,7 @@ func (m *ResolveEndpoint) HandleSerialize(ctx context.Context, in middleware.Ser if len(awsmiddleware.GetSigningName(ctx)) == 0 { signingName := endpoint.SigningName if len(signingName) == 0 { - signingName = "cloudcontrolapi" + signingName = "cloudapiservice" } ctx = awsmiddleware.SetSigningName(ctx, signingName) } diff --git a/service/evidently/api_op_GetExperimentResults.go b/service/evidently/api_op_GetExperimentResults.go index 932e251b124..10182f011a9 100644 --- a/service/evidently/api_op_GetExperimentResults.go +++ b/service/evidently/api_op_GetExperimentResults.go @@ -12,7 +12,11 @@ import ( "time" ) -// 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. func (c *Client) GetExperimentResults(ctx context.Context, params *GetExperimentResultsInput, optFns ...func(*Options)) (*GetExperimentResultsOutput, error) { if params == nil { params = &GetExperimentResultsInput{} @@ -55,7 +59,8 @@ type GetExperimentResultsInput struct { // value is mean, which uses the mean of the collected values as the statistic. BaseStat types.ExperimentBaseStat - // 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. EndTime *time.Time // In seconds, the amount of time to aggregate results together. @@ -97,6 +102,11 @@ type GetExperimentResultsInput struct { type GetExperimentResultsOutput struct { + // 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. + Details *string + // An array of structures that include the reports that you requested. Reports []types.ExperimentReport diff --git a/service/evidently/api_op_StartExperiment.go b/service/evidently/api_op_StartExperiment.go index d538bab4924..2363213c16f 100644 --- a/service/evidently/api_op_StartExperiment.go +++ b/service/evidently/api_op_StartExperiment.go @@ -30,7 +30,8 @@ func (c *Client) StartExperiment(ctx context.Context, params *StartExperimentInp type StartExperimentInput struct { - // 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. // // This member is required. AnalysisCompleteTime *time.Time diff --git a/service/evidently/deserializers.go b/service/evidently/deserializers.go index 59b5b4b65d9..fbf8e5c1924 100644 --- a/service/evidently/deserializers.go +++ b/service/evidently/deserializers.go @@ -1677,6 +1677,15 @@ func awsRestjson1_deserializeOpDocumentGetExperimentResultsOutput(v **GetExperim for key, value := range shape { switch key { + case "details": + if value != nil { + jtv, ok := value.(string) + if !ok { + return fmt.Errorf("expected String to be of type string, got %T instead", value) + } + sv.Details = ptr.String(jtv) + } + case "reports": if err := awsRestjson1_deserializeDocumentExperimentReportList(&sv.Reports, value); err != nil { return err diff --git a/service/firehose/internal/endpoints/endpoints.go b/service/firehose/internal/endpoints/endpoints.go index c85c1238828..52c1bd9a30d 100644 --- a/service/firehose/internal/endpoints/endpoints.go +++ b/service/firehose/internal/endpoints/endpoints.go @@ -159,6 +159,9 @@ var defaultPartitions = endpoints.Partitions{ endpoints.EndpointKey{ Region: "ap-southeast-2", }: endpoints.Endpoint{}, + endpoints.EndpointKey{ + Region: "ap-southeast-3", + }: endpoints.Endpoint{}, endpoints.EndpointKey{ Region: "ca-central-1", }: endpoints.Endpoint{}, diff --git a/service/ssmcontacts/api_op_PutContactPolicy.go b/service/ssmcontacts/api_op_PutContactPolicy.go index b4a4569303c..9e8da4db622 100644 --- a/service/ssmcontacts/api_op_PutContactPolicy.go +++ b/service/ssmcontacts/api_op_PutContactPolicy.go @@ -10,7 +10,11 @@ import ( smithyhttp "github.com/aws/smithy-go/transport/http" ) -// 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 +// (https://docs.aws.amazon.com/incident-manager/latest/userguide/xa.html). func (c *Client) PutContactPolicy(ctx context.Context, params *PutContactPolicyInput, optFns ...func(*Options)) (*PutContactPolicyOutput, error) { if params == nil { params = &PutContactPolicyInput{}