Skip to content

Commit

Permalink
docs(client-ecs): This is a documentation update to address various t…
Browse files Browse the repository at this point in the history
…ickets.
  • Loading branch information
awstools committed Aug 4, 2023
1 parent a2d8d18 commit 2aecb8b
Show file tree
Hide file tree
Showing 6 changed files with 964 additions and 273 deletions.
3 changes: 3 additions & 0 deletions clients/client-ecs/src/commands/DescribeTasksCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ export interface DescribeTasksCommandOutput extends DescribeTasksResponse, __Met
* @public
* <p>Describes a specified task or tasks.</p>
* <p>Currently, stopped tasks appear in the returned results for at least one hour.</p>
* <p>If you have tasks with tags, and then delete the cluster, the tagged tasks are
* returned in the response. If you create a new cluster with the same name as the deleted
* cluster, the tagged tasks are not included in the response.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
3 changes: 1 addition & 2 deletions clients/client-ecs/src/commands/ListTasksCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ export interface ListTasksCommandOutput extends ListTasksResponse, __MetadataBea
* <p>Returns a list of tasks. You can filter the results by cluster, task definition
* family, container instance, launch type, what IAM principal started the task, or by the
* desired status of the task.</p>
* <p>Recently stopped tasks might appear in the returned results. Currently, stopped tasks
* appear in the returned results for at least one hour.</p>
* <p>Recently stopped tasks might appear in the returned results. </p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
11 changes: 6 additions & 5 deletions clients/client-ecs/src/commands/UpdateServiceCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,21 +143,22 @@ export interface UpdateServiceCommandOutput extends UpdateServiceResponse, __Met
* </ul>
* <note>
* <p>You must have a service-linked role when you update any of the following service
* properties. If you specified a custom role when you created the service, Amazon ECS
* automatically replaces the <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_Service.html#ECS-Type-Service-roleArn">roleARN</a> associated with the service with the ARN of your
* service-linked role. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using-service-linked-roles.html">Service-linked roles</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>
* properties:</p>
* <ul>
* <li>
* <p>
* <code>loadBalancers,</code>
* </p>
* <code>loadBalancers</code>,</p>
* </li>
* <li>
* <p>
* <code>serviceRegistries</code>
* </p>
* </li>
* </ul>
* <p>For more information about the role see the <code>CreateService</code> request parameter
* <a href="https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_CreateService.html#ECS-CreateService-request-role">
* <code>role</code>
* </a>. </p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
Expand Down
2 changes: 1 addition & 1 deletion clients/client-ecs/src/endpoint/ruleset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack"
n=[i],
o=[j],
p=[{[t]:"Region"}];
const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://ecs.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]};
const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://ecs-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://ecs-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://ecs.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://ecs.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]};
export const ruleSet: RuleSetObject = _data;
Loading

0 comments on commit 2aecb8b

Please sign in to comment.