Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed May 9, 2022
1 parent 8afaa75 commit a15e6b9
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 57 deletions.
56 changes: 19 additions & 37 deletions codegen/sdk-codegen/aws-models/cloudcontrol.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -439,7 +409,8 @@
"smithy.api#length": {
"min": 1,
"max": 1024
}
},
"smithy.api#pattern": "^.+$"
}
},
"com.amazonaws.cloudcontrol#GeneralServiceException": {
Expand Down Expand Up @@ -815,7 +786,8 @@
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
"pageSize": "MaxResults",
"items": "ResourceRequestStatusSummaries"
}
}
},
Expand Down Expand Up @@ -857,6 +829,9 @@
"smithy.api#documentation": "<p>If the request doesn't return all of the remaining results, <code>NextToken</code> is set to a token. To retrieve the next set of results, call <code>ListResources</code> again and assign that token to the request object's <code>NextToken</code> parameter. If the request returns all results, <code>NextToken</code> is set to null.</p>"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.cloudcontrol#ListResources": {
Expand Down Expand Up @@ -925,7 +900,8 @@
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
"pageSize": "MaxResults",
"items": "ResourceDescriptions"
}
}
},
Expand Down Expand Up @@ -992,6 +968,9 @@
"smithy.api#documentation": "<p>If the request doesn't return all of the remaining results, <code>NextToken</code> is set to a token. To retrieve the next set of results, call <code>ListResources</code> again and assign that token to the request object's <code>NextToken</code> parameter. If the request returns all results, <code>NextToken</code> is set to null.</p>"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.cloudcontrol#MaxResults": {
Expand Down Expand Up @@ -1134,6 +1113,7 @@
"min": 1,
"max": 65536
},
"smithy.api#pattern": "^[\\s\\S]*$",
"smithy.api#sensitive": {}
}
},
Expand Down Expand Up @@ -1227,8 +1207,9 @@
"traits": {
"smithy.api#length": {
"min": 1,
"max": 16384
"max": 65536
},
"smithy.api#pattern": "^[\\s\\S]*$",
"smithy.api#sensitive": {}
}
},
Expand Down Expand Up @@ -1395,7 +1376,8 @@
"smithy.api#length": {
"min": 0,
"max": 1024
}
},
"smithy.api#pattern": "^[\\s\\S]*$"
}
},
"com.amazonaws.cloudcontrol#ThrottlingException": {
Expand Down Expand Up @@ -1600,4 +1582,4 @@
}
}
}
}
}
12 changes: 9 additions & 3 deletions codegen/sdk-codegen/aws-models/evidently.json
Original file line number Diff line number Diff line change
Expand Up @@ -2000,7 +2000,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the results of a running or completed experiment.</p>",
"smithy.api#documentation": "<p>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.</p>\n <p>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.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/projects/{project}/experiments/{experiment}/results",
Expand Down Expand Up @@ -2036,7 +2036,7 @@
"endTime": {
"target": "smithy.api#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time that the experiment ended, if it is completed.</p>"
"smithy.api#documentation": "<p>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.</p>"
}
},
"metricNames": {
Expand Down Expand Up @@ -2099,6 +2099,12 @@
"traits": {
"smithy.api#documentation": "<p>The timestamps of each result returned.</p>"
}
},
"details": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>If the experiment doesn't yet have enough events to provide valid results, this \n field is returned with the message <code>Not enough events to generate results</code>. If there are \n enough events to provide valid results, this field is not returned.</p>"
}
}
}
},
Expand Down Expand Up @@ -4141,7 +4147,7 @@
"analysisCompleteTime": {
"target": "smithy.api#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The date and time to end the experiment.</p>",
"smithy.api#documentation": "<p>The date and time to end the experiment. This must be no more than 30 days after\n the experiment starts.</p>",
"smithy.api#required": {}
}
}
Expand Down
34 changes: 17 additions & 17 deletions codegen/sdk-codegen/aws-models/ssm-contacts.json
Original file line number Diff line number Diff line change
Expand Up @@ -2099,7 +2099,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Adds a resource to the specified contact or escalation plan.</p>"
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/incident-manager/latest/userguide/xa.html\">Setting up\n cross-account functionality</a>.</p>"
}
},
"com.amazonaws.ssmcontacts#PutContactPolicyRequest": {
Expand Down Expand Up @@ -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": "<p>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. </p>\n <p>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. </p>",
"smithy.api#title": "AWS Systems Manager Incident Manager Contacts"
},
"version": "2021-05-03",
"operations": [
{
Expand Down Expand Up @@ -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": "<p>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. </p>\n <p>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. </p>",
"smithy.api#title": "AWS Systems Manager Incident Manager Contacts"
}
]
},
"com.amazonaws.ssmcontacts#SendActivationCode": {
"type": "operation",
Expand Down

0 comments on commit a15e6b9

Please sign in to comment.