From a15e6b9dffa93c3908b9c812fdbf9668bfa2d350 Mon Sep 17 00:00:00 2001 From: AWS SDK for Go v2 automation user Date: Mon, 9 May 2022 18:05:00 +0000 Subject: [PATCH] Update API model --- .../sdk-codegen/aws-models/cloudcontrol.json | 56 +++++++------------ codegen/sdk-codegen/aws-models/evidently.json | 12 +++- .../sdk-codegen/aws-models/ssm-contacts.json | 34 +++++------ 3 files changed, 45 insertions(+), 57 deletions(-) diff --git a/codegen/sdk-codegen/aws-models/cloudcontrol.json b/codegen/sdk-codegen/aws-models/cloudcontrol.json index a25406094d5..aacad96cbdb 100644 --- a/codegen/sdk-codegen/aws-models/cloudcontrol.json +++ b/codegen/sdk-codegen/aws-models/cloudcontrol.json @@ -1,33 +1,5 @@ { "smithy": "1.0", - "metadata": { - "suppressions": [ - { - "id": "HttpMethodSemantics", - "namespace": "*" - }, - { - "id": "HttpResponseCodeSemantics", - "namespace": "*" - }, - { - "id": "PaginatedTrait", - "namespace": "*" - }, - { - "id": "HttpHeaderTrait", - "namespace": "*" - }, - { - "id": "HttpUriConflict", - "namespace": "*" - }, - { - "id": "Service", - "namespace": "*" - } - ] - }, "shapes": { "com.amazonaws.cloudcontrol#AlreadyExistsException": { "type": "structure", @@ -119,9 +91,7 @@ "traits": { "aws.api#service": { "sdkId": "CloudControl", - "arnNamespace": "cloudcontrolapi", - "cloudFormationName": "CloudControl", - "cloudTrailEventSource": "cloudcontrol.amazonaws.com", + "cloudTrailEventSource": "cloudcontrolapi.amazonaws.com", "endpointPrefix": "cloudcontrolapi" }, "aws.auth#sigv4": { @@ -439,7 +409,8 @@ "smithy.api#length": { "min": 1, "max": 1024 - } + }, + "smithy.api#pattern": "^.+$" } }, "com.amazonaws.cloudcontrol#GeneralServiceException": { @@ -815,7 +786,8 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", - "pageSize": "MaxResults" + "pageSize": "MaxResults", + "items": "ResourceRequestStatusSummaries" } } }, @@ -857,6 +829,9 @@ "smithy.api#documentation": "

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResources again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudcontrol#ListResources": { @@ -925,7 +900,8 @@ "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", - "pageSize": "MaxResults" + "pageSize": "MaxResults", + "items": "ResourceDescriptions" } } }, @@ -992,6 +968,9 @@ "smithy.api#documentation": "

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call ListResources again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

" } } + }, + "traits": { + "smithy.api#output": {} } }, "com.amazonaws.cloudcontrol#MaxResults": { @@ -1134,6 +1113,7 @@ "min": 1, "max": 65536 }, + "smithy.api#pattern": "^[\\s\\S]*$", "smithy.api#sensitive": {} } }, @@ -1227,8 +1207,9 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 16384 + "max": 65536 }, + "smithy.api#pattern": "^[\\s\\S]*$", "smithy.api#sensitive": {} } }, @@ -1395,7 +1376,8 @@ "smithy.api#length": { "min": 0, "max": 1024 - } + }, + "smithy.api#pattern": "^[\\s\\S]*$" } }, "com.amazonaws.cloudcontrol#ThrottlingException": { @@ -1600,4 +1582,4 @@ } } } -} +} \ No newline at end of file diff --git a/codegen/sdk-codegen/aws-models/evidently.json b/codegen/sdk-codegen/aws-models/evidently.json index 53dd025a105..1a6dc5c2804 100644 --- a/codegen/sdk-codegen/aws-models/evidently.json +++ b/codegen/sdk-codegen/aws-models/evidently.json @@ -2000,7 +2000,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves the results of a running or completed experiment.

", + "smithy.api#documentation": "

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

\n

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

", "smithy.api#http": { "method": "POST", "uri": "/projects/{project}/experiments/{experiment}/results", @@ -2036,7 +2036,7 @@ "endTime": { "target": "smithy.api#Timestamp", "traits": { - "smithy.api#documentation": "

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

" + "smithy.api#documentation": "

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

" } }, "metricNames": { @@ -2099,6 +2099,12 @@ "traits": { "smithy.api#documentation": "

The timestamps of each result returned.

" } + }, + "details": { + "target": "smithy.api#String", + "traits": { + "smithy.api#documentation": "

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

" + } } } }, @@ -4141,7 +4147,7 @@ "analysisCompleteTime": { "target": "smithy.api#Timestamp", "traits": { - "smithy.api#documentation": "

The date and time to end the experiment.

", + "smithy.api#documentation": "

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

", "smithy.api#required": {} } } diff --git a/codegen/sdk-codegen/aws-models/ssm-contacts.json b/codegen/sdk-codegen/aws-models/ssm-contacts.json index 0279bc0cf73..a097d2c3c3c 100644 --- a/codegen/sdk-codegen/aws-models/ssm-contacts.json +++ b/codegen/sdk-codegen/aws-models/ssm-contacts.json @@ -2099,7 +2099,7 @@ } ], "traits": { - "smithy.api#documentation": "

Adds a resource to the specified contact or escalation plan.

" + "smithy.api#documentation": "

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

" } }, "com.amazonaws.ssmcontacts#PutContactPolicyRequest": { @@ -2247,6 +2247,21 @@ }, "com.amazonaws.ssmcontacts#SSMContacts": { "type": "service", + "traits": { + "aws.api#service": { + "sdkId": "SSM Contacts", + "arnNamespace": "ssm-contacts", + "cloudFormationName": "SSMContacts", + "cloudTrailEventSource": "ssmcontacts.amazonaws.com", + "endpointPrefix": "ssm-contacts" + }, + "aws.auth#sigv4": { + "name": "ssm-contacts" + }, + "aws.protocols#awsJson1_1": {}, + "smithy.api#documentation": "

Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications.\n An incident is any unplanned interruption or reduction in quality of services.

\n

Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get\n services back up and running. To achieve the primary goal of reducing the\n time-to-resolution of critical incidents, Incident Manager automates response plans\n and enables responder team escalation.

", + "smithy.api#title": "AWS Systems Manager Incident Manager Contacts" + }, "version": "2021-05-03", "operations": [ { @@ -2330,22 +2345,7 @@ { "target": "com.amazonaws.ssmcontacts#UpdateContactChannel" } - ], - "traits": { - "aws.api#service": { - "sdkId": "SSM Contacts", - "arnNamespace": "ssm-contacts", - "cloudFormationName": "SSMContacts", - "cloudTrailEventSource": "ssmcontacts.amazonaws.com", - "endpointPrefix": "ssm-contacts" - }, - "aws.auth#sigv4": { - "name": "ssm-contacts" - }, - "aws.protocols#awsJson1_1": {}, - "smithy.api#documentation": "

Systems Manager Incident Manager is an incident management console designed to help users\n mitigate and recover from incidents affecting their Amazon Web Services-hosted applications.\n An incident is any unplanned interruption or reduction in quality of services.

\n

Incident Manager increases incident resolution by notifying responders of impact,\n highlighting relevant troubleshooting data, and providing collaboration tools to get\n services back up and running. To achieve the primary goal of reducing the\n time-to-resolution of critical incidents, Incident Manager automates response plans\n and enables responder team escalation.

", - "smithy.api#title": "AWS Systems Manager Incident Manager Contacts" - } + ] }, "com.amazonaws.ssmcontacts#SendActivationCode": { "type": "operation",