Skip to content

Commit

Permalink
Updated service API models for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Dec 11, 2018
1 parent 230ccee commit 4d10d6c
Show file tree
Hide file tree
Showing 7 changed files with 286 additions and 26 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,12 @@
Unreleased Changes
------------------

* Feature - Aws::Connect - Updated the API, and documentation for Amazon Connect Service.

* Feature - Aws::ECS - Updated the documentation for Amazon EC2 Container Service.

* Feature - Aws::MediaStore - Updated the API, and documentation for AWS Elemental MediaStore.

2.11.188 (2018-12-07)
------------------

Expand Down
39 changes: 39 additions & 0 deletions aws-sdk-core/apis/connect/2017-08-08/api-2.json
Expand Up @@ -94,6 +94,20 @@
{"shape":"InternalServiceException"}
]
},
"GetContactAttributes":{
"name":"GetContactAttributes",
"http":{
"method":"GET",
"requestUri":"/contact/attributes/{InstanceId}/{InitialContactId}"
},
"input":{"shape":"GetContactAttributesRequest"},
"output":{"shape":"GetContactAttributesResponse"},
"errors":[
{"shape":"InvalidRequestException"},
{"shape":"ResourceNotFoundException"},
{"shape":"InternalServiceException"}
]
},
"GetCurrentMetricData":{
"name":"GetCurrentMetricData",
"http":{
Expand Down Expand Up @@ -614,6 +628,31 @@
"Channels":{"shape":"Channels"}
}
},
"GetContactAttributesRequest":{
"type":"structure",
"required":[
"InstanceId",
"InitialContactId"
],
"members":{
"InstanceId":{
"shape":"InstanceId",
"location":"uri",
"locationName":"InstanceId"
},
"InitialContactId":{
"shape":"ContactId",
"location":"uri",
"locationName":"InitialContactId"
}
}
},
"GetContactAttributesResponse":{
"type":"structure",
"members":{
"Attributes":{"shape":"Attributes"}
}
},
"GetCurrentMetricDataRequest":{
"type":"structure",
"required":[
Expand Down
38 changes: 26 additions & 12 deletions aws-sdk-core/apis/connect/2017-08-08/docs-2.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions aws-sdk-core/apis/ecs/2014-11-13/docs-2.json
Expand Up @@ -1336,7 +1336,7 @@
"NetworkInterface$ipv6Address": "<p>The private IPv6 address for the network interface.</p>",
"PlacementConstraint$expression": "<p>A cluster query language expression to apply to the constraint. You cannot specify an expression if the constraint type is <code>distinctInstance</code>. For more information, see <a href=\"http://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html\">Cluster Query Language</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>",
"PlacementStrategy$field": "<p>The field to apply the placement strategy against. For the <code>spread</code> placement strategy, valid values are <code>instanceId</code> (or <code>host</code>, which has the same effect), or any platform or custom attribute that is applied to a container instance, such as <code>attribute:ecs.availability-zone</code>. For the <code>binpack</code> placement strategy, valid values are <code>cpu</code> and <code>memory</code>. For the <code>random</code> placement strategy, this field is not used.</p>",
"PutAccountSettingRequest$value": "<p>The account setting value for the specified principal ARN. Accepted values are <code>ENABLED</code> and <code>DISABLED</code>.</p>",
"PutAccountSettingRequest$value": "<p>The account setting value for the specified principal ARN. Accepted values are <code>enabled</code> and <code>disabled</code>.</p>",
"PutAccountSettingRequest$principalArn": "<p>The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it modifies the ARN and resource ID format for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings for themselves. If this field is omitted, the setting are changed only for the authenticated user.</p>",
"PutAttributesRequest$cluster": "<p>The short name or full Amazon Resource Name (ARN) of the cluster that contains the resource to apply attributes. If you do not specify a cluster, the default cluster is assumed.</p>",
"RegisterContainerInstanceRequest$cluster": "<p>The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. If you do not specify a cluster, the default cluster is assumed.</p>",
Expand Down Expand Up @@ -1371,7 +1371,7 @@
"ServiceEvent$message": "<p>The event message.</p>",
"ServiceRegistry$registryArn": "<p>The Amazon Resource Name (ARN) of the service registry. The currently supported service registry is Amazon Route 53 Auto Naming. For more information, see <a href=\"https://docs.aws.amazon.com/Route53/latest/APIReference/API_autonaming_Service.html\">Service</a>.</p>",
"ServiceRegistry$containerName": "<p>The container name value, already specified in the task definition, to be used for your service discovery service. If the task definition that your service task specifies uses the <code>bridge</code> or <code>host</code> network mode, you must specify a <code>containerName</code> and <code>containerPort</code> combination from the task definition. If the task definition that your service task specifies uses the <code>awsvpc</code> network mode and a type SRV DNS record is used, you must specify either a <code>containerName</code> and <code>containerPort</code> combination or a <code>port</code> value, but not both.</p>",
"Setting$value": "<p>The current account setting for the resource name. If <code>ENABLED</code>, then the resource will receive the new Amazon Resource Name (ARN) and resource identifier (ID) format. If <code>DISABLED</code>, then the resource will receive the old Amazon Resource Name (ARN) and resource identifier (ID) format.</p>",
"Setting$value": "<p>The current account setting for the resource name. If <code>enabled</code>, then the resource will receive the new Amazon Resource Name (ARN) and resource identifier (ID) format. If <code>disabled</code>, then the resource will receive the old Amazon Resource Name (ARN) and resource identifier (ID) format.</p>",
"Setting$principalArn": "<p>The ARN of the principal, which can be an IAM user, IAM role, or the root user. If this field is omitted, the authenticated user is assumed.</p>",
"StartTaskRequest$cluster": "<p>The short name or full Amazon Resource Name (ARN) of the cluster on which to start your task. If you do not specify a cluster, the default cluster is assumed.</p>",
"StartTaskRequest$taskDefinition": "<p>The <code>family</code> and <code>revision</code> (<code>family:revision</code>) or full ARN of the task definition to start. If a <code>revision</code> is not specified, the latest <code>ACTIVE</code> revision is used.</p>",
Expand Down
108 changes: 105 additions & 3 deletions aws-sdk-core/apis/mediastore/2017-09-01/api-2.json
Expand Up @@ -72,6 +72,21 @@
{"shape":"InternalServerError"}
]
},
"DeleteLifecyclePolicy":{
"name":"DeleteLifecyclePolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"DeleteLifecyclePolicyInput"},
"output":{"shape":"DeleteLifecyclePolicyOutput"},
"errors":[
{"shape":"ContainerInUseException"},
{"shape":"ContainerNotFoundException"},
{"shape":"PolicyNotFoundException"},
{"shape":"InternalServerError"}
]
},
"DescribeContainer":{
"name":"DescribeContainer",
"http":{
Expand Down Expand Up @@ -115,6 +130,21 @@
{"shape":"InternalServerError"}
]
},
"GetLifecyclePolicy":{
"name":"GetLifecyclePolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetLifecyclePolicyInput"},
"output":{"shape":"GetLifecyclePolicyOutput"},
"errors":[
{"shape":"ContainerInUseException"},
{"shape":"ContainerNotFoundException"},
{"shape":"PolicyNotFoundException"},
{"shape":"InternalServerError"}
]
},
"ListContainers":{
"name":"ListContainers",
"http":{
Expand Down Expand Up @@ -154,6 +184,20 @@
{"shape":"ContainerInUseException"},
{"shape":"InternalServerError"}
]
},
"PutLifecyclePolicy":{
"name":"PutLifecyclePolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"PutLifecyclePolicyInput"},
"output":{"shape":"PutLifecyclePolicyOutput"},
"errors":[
{"shape":"ContainerInUseException"},
{"shape":"ContainerNotFoundException"},
{"shape":"InternalServerError"}
]
}
},
"shapes":{
Expand All @@ -165,11 +209,15 @@
},
"AllowedMethods":{
"type":"list",
"member":{"shape":"MethodName"}
"member":{"shape":"MethodName"},
"max":4,
"min":1
},
"AllowedOrigins":{
"type":"list",
"member":{"shape":"Origin"}
"member":{"shape":"Origin"},
"max":100,
"min":1
},
"Container":{
"type":"structure",
Expand Down Expand Up @@ -207,7 +255,7 @@
"type":"string",
"max":255,
"min":1,
"pattern":"\\w+"
"pattern":"[\\w-]+"
},
"ContainerNotFoundException":{
"type":"structure",
Expand Down Expand Up @@ -247,6 +295,10 @@
},
"CorsRule":{
"type":"structure",
"required":[
"AllowedOrigins",
"AllowedHeaders"
],
"members":{
"AllowedOrigins":{"shape":"AllowedOrigins"},
"AllowedMethods":{"shape":"AllowedMethods"},
Expand Down Expand Up @@ -305,6 +357,18 @@
"members":{
}
},
"DeleteLifecyclePolicyInput":{
"type":"structure",
"required":["ContainerName"],
"members":{
"ContainerName":{"shape":"ContainerName"}
}
},
"DeleteLifecyclePolicyOutput":{
"type":"structure",
"members":{
}
},
"DescribeContainerInput":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -362,6 +426,20 @@
"CorsPolicy":{"shape":"CorsPolicy"}
}
},
"GetLifecyclePolicyInput":{
"type":"structure",
"required":["ContainerName"],
"members":{
"ContainerName":{"shape":"ContainerName"}
}
},
"GetLifecyclePolicyOutput":{
"type":"structure",
"required":["LifecyclePolicy"],
"members":{
"LifecyclePolicy":{"shape":"LifecyclePolicy"}
}
},
"Header":{
"type":"string",
"max":8192,
Expand All @@ -376,6 +454,12 @@
"exception":true,
"fault":true
},
"LifecyclePolicy":{
"type":"string",
"max":8192,
"min":0,
"pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+"
},
"LimitExceededException":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -414,6 +498,8 @@
},
"Origin":{
"type":"string",
"max":2048,
"min":1,
"pattern":"[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+"
},
"PaginationToken":{
Expand Down Expand Up @@ -461,6 +547,22 @@
"members":{
}
},
"PutLifecyclePolicyInput":{
"type":"structure",
"required":[
"ContainerName",
"LifecyclePolicy"
],
"members":{
"ContainerName":{"shape":"ContainerName"},
"LifecyclePolicy":{"shape":"LifecyclePolicy"}
}
},
"PutLifecyclePolicyOutput":{
"type":"structure",
"members":{
}
},
"TimeStamp":{"type":"timestamp"}
}
}

0 comments on commit 4d10d6c

Please sign in to comment.