Skip to content

Commit fe5a3c2

Browse files
author
awstools
committed
feat(client-cloudwatch): Update endpoint ruleset parameters casing
1 parent 721f9c6 commit fe5a3c2

File tree

2 files changed

+44
-44
lines changed

2 files changed

+44
-44
lines changed

clients/client-cloudwatch/src/endpoint/ruleset.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ e="error",
2020
f="endpoint",
2121
g="tree",
2222
h="PartitionResult",
23-
i={[w]:true,"default":false,"type":"Boolean"},
24-
j={[w]:false,"type":"String"},
23+
i={[w]:true,"default":false,"type":"boolean"},
24+
j={[w]:false,"type":"string"},
2525
k={[z]:"Endpoint"},
2626
l={[x]:d,[y]:[{[z]:"UseFIPS"},true]},
2727
m={[z]:"UseFIPS"},

codegen/sdk-codegen/aws-models/cloudwatch.json

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2918,26 +2918,26 @@
29182918
"required": true,
29192919
"default": false,
29202920
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
2921-
"type": "Boolean"
2921+
"type": "boolean"
29222922
},
29232923
"UseFIPS": {
29242924
"builtIn": "AWS::UseFIPS",
29252925
"required": true,
29262926
"default": false,
29272927
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
2928-
"type": "Boolean"
2928+
"type": "boolean"
29292929
},
29302930
"Endpoint": {
29312931
"builtIn": "SDK::Endpoint",
29322932
"required": false,
29332933
"documentation": "Override the endpoint used to send this request",
2934-
"type": "String"
2934+
"type": "string"
29352935
},
29362936
"Region": {
29372937
"builtIn": "AWS::Region",
29382938
"required": false,
29392939
"documentation": "The AWS region used to dispatch the request.",
2940-
"type": "String"
2940+
"type": "string"
29412941
}
29422942
},
29432943
"rules": [
@@ -3480,53 +3480,27 @@
34803480
}
34813481
},
34823482
{
3483-
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
3484-
"expect": {
3485-
"endpoint": {
3486-
"url": "https://monitoring.us-gov-west-1.api.aws"
3487-
}
3488-
},
3489-
"params": {
3490-
"Region": "us-gov-west-1",
3491-
"UseFIPS": true,
3492-
"UseDualStack": true
3493-
}
3494-
},
3495-
{
3496-
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
3483+
"documentation": "For region eusc-de-east-1 with FIPS enabled and DualStack disabled",
34973484
"expect": {
34983485
"endpoint": {
3499-
"url": "https://monitoring.us-gov-west-1.amazonaws.com"
3486+
"url": "https://monitoring-fips.eusc-de-east-1.amazonaws.eu"
35003487
}
35013488
},
35023489
"params": {
3503-
"Region": "us-gov-west-1",
3490+
"Region": "eusc-de-east-1",
35043491
"UseFIPS": true,
35053492
"UseDualStack": false
35063493
}
35073494
},
35083495
{
3509-
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
3510-
"expect": {
3511-
"endpoint": {
3512-
"url": "https://monitoring.us-gov-west-1.api.aws"
3513-
}
3514-
},
3515-
"params": {
3516-
"Region": "us-gov-west-1",
3517-
"UseFIPS": false,
3518-
"UseDualStack": true
3519-
}
3520-
},
3521-
{
3522-
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
3496+
"documentation": "For region eusc-de-east-1 with FIPS disabled and DualStack disabled",
35233497
"expect": {
35243498
"endpoint": {
3525-
"url": "https://monitoring.us-gov-west-1.amazonaws.com"
3499+
"url": "https://monitoring.eusc-de-east-1.amazonaws.eu"
35263500
}
35273501
},
35283502
"params": {
3529-
"Region": "us-gov-west-1",
3503+
"Region": "eusc-de-east-1",
35303504
"UseFIPS": false,
35313505
"UseDualStack": false
35323506
}
@@ -3636,27 +3610,53 @@
36363610
}
36373611
},
36383612
{
3639-
"documentation": "For region eusc-de-east-1 with FIPS enabled and DualStack disabled",
3613+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
36403614
"expect": {
36413615
"endpoint": {
3642-
"url": "https://monitoring-fips.eusc-de-east-1.amazonaws.eu"
3616+
"url": "https://monitoring.us-gov-west-1.api.aws"
36433617
}
36443618
},
36453619
"params": {
3646-
"Region": "eusc-de-east-1",
3620+
"Region": "us-gov-west-1",
3621+
"UseFIPS": true,
3622+
"UseDualStack": true
3623+
}
3624+
},
3625+
{
3626+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
3627+
"expect": {
3628+
"endpoint": {
3629+
"url": "https://monitoring.us-gov-west-1.amazonaws.com"
3630+
}
3631+
},
3632+
"params": {
3633+
"Region": "us-gov-west-1",
36473634
"UseFIPS": true,
36483635
"UseDualStack": false
36493636
}
36503637
},
36513638
{
3652-
"documentation": "For region eusc-de-east-1 with FIPS disabled and DualStack disabled",
3639+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
36533640
"expect": {
36543641
"endpoint": {
3655-
"url": "https://monitoring.eusc-de-east-1.amazonaws.eu"
3642+
"url": "https://monitoring.us-gov-west-1.api.aws"
36563643
}
36573644
},
36583645
"params": {
3659-
"Region": "eusc-de-east-1",
3646+
"Region": "us-gov-west-1",
3647+
"UseFIPS": false,
3648+
"UseDualStack": true
3649+
}
3650+
},
3651+
{
3652+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
3653+
"expect": {
3654+
"endpoint": {
3655+
"url": "https://monitoring.us-gov-west-1.amazonaws.com"
3656+
}
3657+
},
3658+
"params": {
3659+
"Region": "us-gov-west-1",
36603660
"UseFIPS": false,
36613661
"UseDualStack": false
36623662
}

0 commit comments

Comments
 (0)