Skip to content

Commit

Permalink
Update AWS models for SDK (#918)
Browse files Browse the repository at this point in the history
<!--

IMPORTANT:

> Making changes to examples? 

Be sure to make example changes in the awsdocs/aws-doc-sdk-examples
repository (https://github.com/awsdocs/aws-doc-sdk-examples).
The examples in aws-sdk-rust are copied from the `rust_dev_preview/`
directory in that repository.


> Making changes to code?

All the code in aws-sdk-rust is auto-generated by smithy-rs
(https://github.com/awslabs/smithy-rs).
Changes to code need to be made in that repository.

-->


## Motivation and Context
<!-- Why is this change required? What problem does it solve? -->
<!-- If it fixes an open issue, please link to the issue here -->

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
  • Loading branch information
ysaito1001 committed Oct 13, 2023
1 parent 60e41cc commit 0894811
Show file tree
Hide file tree
Showing 21 changed files with 2,746 additions and 220 deletions.
4 changes: 4 additions & 0 deletions aws-models/auditmanager.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
"target": "com.amazonaws.auditmanager#AWSAccount"
},
"traits": {
"smithy.api#length": {
"min": 1,
"max": 200
},
"smithy.api#sensitive": {}
}
},
Expand Down
37 changes: 31 additions & 6 deletions aws-models/autoscaling.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,16 @@
"smithy.api#httpError": 400
}
},
"com.amazonaws.autoscaling#AnyPrintableAsciiStringMaxLen4000": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 4000
},
"smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u007e]+$"
}
},
"com.amazonaws.autoscaling#AsciiStringMaxLen255": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -3975,7 +3985,12 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Gets information about the instance refreshes for the specified Auto Scaling group.</p>\n <p>This operation is part of the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html\">instance refresh\n feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group\n after you make configuration changes.</p>\n <p>To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information\n about the instance refreshes you previously initiated, including their status, start\n time, end time, the percentage of the instance refresh that is complete, and the number\n of instances remaining to update before the instance refresh is complete. If a rollback\n is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information\n about the rollback of the instance refresh.</p>"
"smithy.api#documentation": "<p>Gets information about the instance refreshes for the specified Auto Scaling group.</p>\n <p>This operation is part of the <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html\">instance refresh\n feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group\n after you make configuration changes.</p>\n <p>To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information\n about the instance refreshes you previously initiated, including their status, start\n time, end time, the percentage of the instance refresh that is complete, and the number\n of instances remaining to update before the instance refresh is complete. If a rollback\n is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information\n about the rollback of the instance refresh.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxRecords"
}
}
},
"com.amazonaws.autoscaling#DescribeInstanceRefreshesAnswer": {
Expand Down Expand Up @@ -4225,7 +4240,12 @@
]
}
}
]
],
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxRecords"
}
}
},
"com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroupsRequest": {
Expand Down Expand Up @@ -4309,7 +4329,12 @@
]
}
}
]
],
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxRecords"
}
}
},
"com.amazonaws.autoscaling#DescribeLoadBalancersRequest": {
Expand Down Expand Up @@ -6991,7 +7016,7 @@
}
},
"NotificationMetadata": {
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
"target": "com.amazonaws.autoscaling#AnyPrintableAsciiStringMaxLen4000",
"traits": {
"smithy.api#documentation": "<p>Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the\n notification target.</p>"
}
Expand Down Expand Up @@ -7049,7 +7074,7 @@
}
},
"NotificationMetadata": {
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
"target": "com.amazonaws.autoscaling#AnyPrintableAsciiStringMaxLen4000",
"traits": {
"smithy.api#documentation": "<p>Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to\n the notification target.</p>"
}
Expand Down Expand Up @@ -8440,7 +8465,7 @@
}
},
"NotificationMetadata": {
"target": "com.amazonaws.autoscaling#XmlStringMaxLen1023",
"target": "com.amazonaws.autoscaling#AnyPrintableAsciiStringMaxLen4000",
"traits": {
"smithy.api#documentation": "<p>Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to\n the notification target.</p>"
}
Expand Down
Loading

0 comments on commit 0894811

Please sign in to comment.