Skip to content

Commit

Permalink
Release v1.44.304 (2023-07-20) (#4920)
Browse files Browse the repository at this point in the history
Release v1.44.304 (2023-07-20)
===

### Service Client Updates
* `service/savingsplans`: Updates service documentation
  • Loading branch information
aws-sdk-go-automation authored Jul 20, 2023
1 parent e4acaad commit beb9940
Show file tree
Hide file tree
Showing 7 changed files with 754 additions and 28 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Release v1.44.304 (2023-07-20)
===

### Service Client Updates
* `service/savingsplans`: Updates service documentation

Release v1.44.303 (2023-07-19)
===

Expand Down
14 changes: 0 additions & 14 deletions aws/endpoints/defaults.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aws/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"

// SDKVersion is the version of this SDK
const SDKVersion = "1.44.303"
const SDKVersion = "1.44.304"
2 changes: 1 addition & 1 deletion models/apis/savingsplans/2019-06-28/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
"base": null,
"refs": {
"DescribeSavingsPlanRatesRequest$nextToken": "<p>The token for the next page of results.</p>",
"DescribeSavingsPlanRatesResponse$nextToken": "<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>",
"DescribeSavingsPlanRatesResponse$nextToken": "<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return. </p>",
"DescribeSavingsPlansOfferingRatesRequest$nextToken": "<p>The token for the next page of results.</p>",
"DescribeSavingsPlansOfferingRatesResponse$nextToken": "<p>The token to use to retrieve the next page of results. This value is null when there are no more results to return.</p>",
"DescribeSavingsPlansOfferingsRequest$nextToken": "<p>The token for the next page of results.</p>",
Expand Down
401 changes: 401 additions & 0 deletions models/apis/savingsplans/2019-06-28/endpoint-rule-set-1.json

Large diffs are not rendered by default.

345 changes: 345 additions & 0 deletions models/apis/savingsplans/2019-06-28/endpoint-tests-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,345 @@
{
"testCases": [
{
"documentation": "For region aws-global with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "savingsplans",
"signingRegion": "us-east-1"
}
]
},
"url": "https://savingsplans.amazonaws.com"
}
},
"params": {
"Region": "aws-global",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://savingsplans-fips.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://savingsplans-fips.us-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://savingsplans.us-east-1.api.aws"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"properties": {
"authSchemes": [
{
"name": "sigv4",
"signingName": "savingsplans",
"signingRegion": "us-east-1"
}
]
},
"url": "https://savingsplans.amazonaws.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://savingsplans-fips.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://savingsplans-fips.cn-north-1.amazonaws.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://savingsplans.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://savingsplans.cn-north-1.amazonaws.com.cn"
}
},
"params": {
"Region": "cn-north-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://savingsplans-fips.us-gov-east-1.api.aws"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://savingsplans-fips.us-gov-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
"url": "https://savingsplans.us-gov-east-1.api.aws"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://savingsplans.us-gov-east-1.amazonaws.com"
}
},
"params": {
"Region": "us-gov-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://savingsplans-fips.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://savingsplans.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
"Region": "us-iso-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": true,
"UseDualStack": true
}
},
{
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://savingsplans-fips.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": true,
"UseDualStack": false
}
},
{
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"error": "DualStack is enabled but this partition does not support DualStack"
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": false,
"UseDualStack": true
}
},
{
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
"url": "https://savingsplans.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
"Region": "us-isob-east-1",
"UseFIPS": false,
"UseDualStack": false
}
},
{
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
"expect": {
"endpoint": {
"url": "https://example.com"
}
},
"params": {
"UseFIPS": false,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
"expect": {
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
"Region": "us-east-1",
"UseFIPS": true,
"UseDualStack": false,
"Endpoint": "https://example.com"
}
},
{
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
"expect": {
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
"Region": "us-east-1",
"UseFIPS": false,
"UseDualStack": true,
"Endpoint": "https://example.com"
}
},
{
"documentation": "Missing region",
"expect": {
"error": "Invalid Configuration: Missing Region"
}
}
],
"version": "1.0"
}
Loading

0 comments on commit beb9940

Please sign in to comment.