Skip to content

Commit

Permalink
Updates SDK to latest version of APIs (#1409)
Browse files Browse the repository at this point in the history
Updates the SDK API clients to be generated off the latest version of API models.
  • Loading branch information
jasdel committed Sep 10, 2021
1 parent 48e0568 commit d8ccbac
Show file tree
Hide file tree
Showing 200 changed files with 40,385 additions and 624 deletions.
8 changes: 8 additions & 0 deletions .changelog/41575353444b40ffbf474f4155544f00.json
@@ -0,0 +1,8 @@
{
"id": "41575353-444b-40ff-bf47-4f4155544f00",
"type": "release",
"description": "New AWS service client module",
"modules": [
"service/opensearch"
]
}
27 changes: 27 additions & 0 deletions .changelog/8f837f19caba4c6faaf88577e5e9a00e.json
@@ -0,0 +1,27 @@
{
"id": "8f837f19-caba-4c6f-aaf8-8577e5e9a00e",
"type": "feature",
"description": "API client updated",
"modules": [
"service/amp",
"service/braket",
"service/chimesdkidentity",
"service/chimesdkmessaging",
"service/codegurureviewer",
"service/eks",
"service/elasticache",
"service/emr",
"service/forecast",
"service/frauddetector",
"service/kafka",
"service/lookoutequipment",
"service/mediapackage",
"service/opensearch",
"service/outposts",
"service/ram",
"service/sagemaker",
"service/servicediscovery",
"service/ssmcontacts",
"service/xray"
]
}
258 changes: 257 additions & 1 deletion codegen/sdk-codegen/aws-models/amp.2020-08-01.json
Expand Up @@ -21,6 +21,17 @@
"com.amazonaws.amp#AmazonPrometheusService": {
"type": "service",
"version": "2020-08-01",
"operations": [
{
"target": "com.amazonaws.amp#ListTagsForResource"
},
{
"target": "com.amazonaws.amp#TagResource"
},
{
"target": "com.amazonaws.amp#UntagResource"
}
],
"resources": [
{
"target": "com.amazonaws.amp#Workspace"
Expand All @@ -31,7 +42,8 @@
"sdkId": "amp",
"arnNamespace": "aps",
"cloudFormationName": "AmazonPrometheusService",
"cloudTrailEventSource": "CLOUDTRAIL_PLACEHOLDER_REPLACED_BY_CDK"
"cloudTrailEventSource": "CLOUDTRAIL_PLACEHOLDER_REPLACED_BY_CDK",
"endpointPrefix": "aps"
},
"aws.auth#sigv4": {
"name": "aps"
Expand Down Expand Up @@ -148,6 +160,12 @@
"smithy.api#documentation": "Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.",
"smithy.api#idempotencyToken": {}
}
},
"tags": {
"target": "com.amazonaws.amp#TagMap",
"traits": {
"smithy.api#documentation": "Optional, user-provided tags for this workspace."
}
}
},
"traits": {
Expand Down Expand Up @@ -177,6 +195,12 @@
"smithy.api#documentation": "The status of the workspace that was just created (usually CREATING).",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.amp#TagMap",
"traits": {
"smithy.api#documentation": "The tags of this workspace."
}
}
},
"traits": {
Expand Down Expand Up @@ -341,6 +365,62 @@
"smithy.api#retryable": {}
}
},
"com.amazonaws.amp#ListTagsForResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.amp#ListTagsForResourceRequest"
},
"output": {
"target": "com.amazonaws.amp#ListTagsForResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.amp#AccessDeniedException"
},
{
"target": "com.amazonaws.amp#InternalServerException"
},
{
"target": "com.amazonaws.amp#ResourceNotFoundException"
},
{
"target": "com.amazonaws.amp#ThrottlingException"
},
{
"target": "com.amazonaws.amp#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "Lists the tags you have assigned to the resource.",
"smithy.api#http": {
"method": "GET",
"uri": "/tags/{resourceArn}",
"code": 200
},
"smithy.api#readonly": {}
}
},
"com.amazonaws.amp#ListTagsForResourceRequest": {
"type": "structure",
"members": {
"resourceArn": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "The ARN of the resource.",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.amp#ListTagsForResourceResponse": {
"type": "structure",
"members": {
"tags": {
"target": "com.amazonaws.amp#TagMap"
}
}
},
"com.amazonaws.amp#ListWorkspaces": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -515,6 +595,110 @@
"smithy.api#httpError": 402
}
},
"com.amazonaws.amp#TagKey": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
}
},
"com.amazonaws.amp#TagKeys": {
"type": "list",
"member": {
"target": "com.amazonaws.amp#TagKey"
}
},
"com.amazonaws.amp#TagMap": {
"type": "map",
"key": {
"target": "com.amazonaws.amp#TagKey",
"traits": {
"smithy.api#documentation": "The key of the tag.\n\nConstraints: Tag keys are case-sensitive and accept a maximum of 128 Unicode characters.\nValid characters are Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @\nMay not begin with `aws:`.\n"
}
},
"value": {
"target": "com.amazonaws.amp#TagValue",
"traits": {
"smithy.api#documentation": "The value of the tag.\n\nConstraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.\nValid characters are Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @\n"
}
},
"traits": {
"smithy.api#documentation": "The list of tags assigned to the resource.",
"smithy.api#length": {
"max": 50
}
}
},
"com.amazonaws.amp#TagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.amp#TagResourceRequest"
},
"output": {
"target": "com.amazonaws.amp#TagResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.amp#AccessDeniedException"
},
{
"target": "com.amazonaws.amp#InternalServerException"
},
{
"target": "com.amazonaws.amp#ResourceNotFoundException"
},
{
"target": "com.amazonaws.amp#ThrottlingException"
},
{
"target": "com.amazonaws.amp#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "Creates tags for the specified resource.",
"smithy.api#http": {
"method": "POST",
"uri": "/tags/{resourceArn}",
"code": 200
}
}
},
"com.amazonaws.amp#TagResourceRequest": {
"type": "structure",
"members": {
"resourceArn": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "The ARN of the resource.",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.amp#TagMap",
"traits": {
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.amp#TagResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.amp#TagValue": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 256
},
"smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
}
},
"com.amazonaws.amp#ThrottlingException": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -552,6 +736,66 @@
"smithy.api#retryable": {}
}
},
"com.amazonaws.amp#UntagResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.amp#UntagResourceRequest"
},
"output": {
"target": "com.amazonaws.amp#UntagResourceResponse"
},
"errors": [
{
"target": "com.amazonaws.amp#AccessDeniedException"
},
{
"target": "com.amazonaws.amp#InternalServerException"
},
{
"target": "com.amazonaws.amp#ResourceNotFoundException"
},
{
"target": "com.amazonaws.amp#ThrottlingException"
},
{
"target": "com.amazonaws.amp#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "Deletes tags from the specified resource.",
"smithy.api#http": {
"method": "DELETE",
"uri": "/tags/{resourceArn}",
"code": 200
},
"smithy.api#idempotent": {}
}
},
"com.amazonaws.amp#UntagResourceRequest": {
"type": "structure",
"members": {
"resourceArn": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "The ARN of the resource.",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"tagKeys": {
"target": "com.amazonaws.amp#TagKeys",
"traits": {
"smithy.api#documentation": "One or more tag keys",
"smithy.api#httpQuery": "tagKeys",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.amp#UntagResourceResponse": {
"type": "structure",
"members": {}
},
"com.amazonaws.amp#UpdateWorkspaceAlias": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -808,6 +1052,12 @@
"smithy.api#documentation": "The time when the workspace was created.",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.amp#TagMap",
"traits": {
"smithy.api#documentation": "The tags of this workspace."
}
}
},
"traits": {
Expand Down Expand Up @@ -914,6 +1164,12 @@
"smithy.api#documentation": "The time when the workspace was created.",
"smithy.api#required": {}
}
},
"tags": {
"target": "com.amazonaws.amp#TagMap",
"traits": {
"smithy.api#documentation": "The tags of this workspace."
}
}
},
"traits": {
Expand Down
Expand Up @@ -334,7 +334,7 @@
"name": "chime"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "<p>The Amazon Chime SDK Identity APIs in this section allow software developers to create\n and manage unique instances of their messaging applications. These APIs provide the\n overarching framework for creating and sending messages. For more information about the\n identity APIs, refer to .</p>",
"smithy.api#documentation": "<p>The Amazon Chime SDK Identity APIs in this section allow software developers to create\n and manage unique instances of their messaging applications. These APIs provide the\n overarching framework for creating and sending messages. For more information about the\n identity APIs, refer to <a href=\"https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Identity.html\">Amazon Chime SDK identity</a>.</p>",
"smithy.api#title": "Amazon Chime SDK Identity"
}
},
Expand Down
Expand Up @@ -877,7 +877,7 @@
"name": "chime"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "<p>The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see .</p>",
"smithy.api#documentation": "<p>The Amazon Chime SDK Messaging APIs in this section allow software developers to send\n and receive messages in custom messaging applications. These APIs depend on the frameworks\n provided by the Amazon Chime SDK Identity APIs. For more information about the messaging\n APIs, see <a href=\"https://docs.aws.amazon.com/chime/latest/APIReference/API_Operations_Amazon_Chime_SDK_Messaging\">Amazon Chime SDK messaging</a>\n </p>",
"smithy.api#title": "Amazon Chime SDK Messaging"
}
},
Expand Down

0 comments on commit d8ccbac

Please sign in to comment.