Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Jun 13, 2024
1 parent 177d1a4 commit 216374a
Show file tree
Hide file tree
Showing 5 changed files with 532 additions and 40 deletions.
97 changes: 74 additions & 23 deletions codegen/sdk-codegen/aws-models/cloudhsm-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,18 @@
"traits": {
"smithy.api#documentation": "<p>The list of tags for the backup.</p>"
}
},
"HsmType": {
"target": "com.amazonaws.cloudhsmv2#HsmType",
"traits": {
"smithy.api#documentation": "<p>The HSM type of the cluster that was backed up.</p>"
}
},
"Mode": {
"target": "com.amazonaws.cloudhsmv2#ClusterMode",
"traits": {
"smithy.api#documentation": "<p>The mode of the cluster that was backed up.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -313,7 +325,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -356,7 +367,8 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -369,7 +381,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -383,7 +394,6 @@
"assign": "PartitionResult"
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -406,7 +416,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -441,7 +450,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -452,14 +460,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -473,14 +483,12 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
Expand All @@ -489,11 +497,11 @@
},
"supportsFIPS"
]
}
},
true
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -504,14 +512,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -525,7 +535,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -545,7 +554,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -556,14 +564,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand Down Expand Up @@ -624,9 +634,11 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand Down Expand Up @@ -1232,7 +1244,7 @@
"traits": {
"smithy.api#length": {
"min": 0,
"max": 5000
"max": 20000
},
"smithy.api#pattern": "^[a-zA-Z0-9+-/=\\s]*$"
}
Expand Down Expand Up @@ -1439,6 +1451,12 @@
"traits": {
"smithy.api#documentation": "<p>The list of tags for the cluster.</p>"
}
},
"Mode": {
"target": "com.amazonaws.cloudhsmv2#ClusterMode",
"traits": {
"smithy.api#documentation": "<p>The mode of the cluster.</p>"
}
}
},
"traits": {
Expand All @@ -1451,6 +1469,23 @@
"smithy.api#pattern": "^cluster-[2-7a-zA-Z]{11,16}$"
}
},
"com.amazonaws.cloudhsmv2#ClusterMode": {
"type": "enum",
"members": {
"FIPS": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "FIPS"
}
},
"NON_FIPS": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "NON_FIPS"
}
}
}
},
"com.amazonaws.cloudhsmv2#ClusterState": {
"type": "enum",
"members": {
Expand Down Expand Up @@ -1643,7 +1678,7 @@
"HsmType": {
"target": "com.amazonaws.cloudhsmv2#HsmType",
"traits": {
"smithy.api#documentation": "<p>The type of HSM to use in the cluster. Currently the only allowed value is\n <code>hsm1.medium</code>.</p>",
"smithy.api#documentation": "<p>The type of HSM to use in the cluster. The allowed values are\n <code>hsm1.medium</code> and <code>hsm2m.medium</code>.</p>",
"smithy.api#required": {}
}
},
Expand All @@ -1665,6 +1700,12 @@
"traits": {
"smithy.api#documentation": "<p>Tags to apply to the CloudHSM cluster during creation.</p>"
}
},
"Mode": {
"target": "com.amazonaws.cloudhsmv2#ClusterMode",
"traits": {
"smithy.api#documentation": "<p>The mode to use in the cluster. The allowed values are\n <code>FIPS</code> and <code>NON_FIPS</code>.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -2186,6 +2227,12 @@
},
"value": {
"target": "com.amazonaws.cloudhsmv2#Strings"
},
"traits": {
"smithy.api#length": {
"min": 0,
"max": 30
}
}
},
"com.amazonaws.cloudhsmv2#Hsm": {
Expand Down Expand Up @@ -2289,7 +2336,11 @@
"com.amazonaws.cloudhsmv2#HsmType": {
"type": "string",
"traits": {
"smithy.api#pattern": "^(hsm1\\.medium)$"
"smithy.api#length": {
"min": 0,
"max": 32
},
"smithy.api#pattern": "^((p|)hsm[0-9][a-z.]*\\.[a-zA-Z]+)$"
}
},
"com.amazonaws.cloudhsmv2#Hsms": {
Expand Down
25 changes: 24 additions & 1 deletion codegen/sdk-codegen/aws-models/glue.json
Original file line number Diff line number Diff line change
Expand Up @@ -10639,6 +10639,23 @@
"target": "com.amazonaws.glue#GenericString"
}
},
"com.amazonaws.glue#DQCompositeRuleEvaluationMethod": {
"type": "enum",
"members": {
"COLUMN": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "COLUMN"
}
},
"ROW": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ROW"
}
}
}
},
"com.amazonaws.glue#DQDLAliases": {
"type": "map",
"key": {
Expand Down Expand Up @@ -10874,6 +10891,12 @@
"traits": {
"smithy.api#documentation": "<p>Prefix for Amazon S3 to store results.</p>"
}
},
"CompositeRuleEvaluationMethod": {
"target": "com.amazonaws.glue#DQCompositeRuleEvaluationMethod",
"traits": {
"smithy.api#documentation": "<p>Set the evaluation method for composite rules in the ruleset to ROW/COLUMN</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -16713,7 +16736,7 @@
"RulesetNames": {
"target": "com.amazonaws.glue#RulesetNames",
"traits": {
"smithy.api#documentation": "<p>A list of ruleset names for the run.</p>"
"smithy.api#documentation": "<p>A list of ruleset names for the run. Currently, this parameter takes only one Ruleset name.</p>"
}
},
"ResultIds": {
Expand Down
12 changes: 12 additions & 0 deletions codegen/sdk-codegen/aws-models/iot-wireless.json
Original file line number Diff line number Diff line change
Expand Up @@ -10165,6 +10165,18 @@
"smithy.api#enumValue": "DeviceSNR"
}
},
"DeviceRoamingRSSI": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DeviceRoamingRSSI"
}
},
"DeviceRoamingSNR": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DeviceRoamingSNR"
}
},
"DeviceUplinkCount": {
"target": "smithy.api#Unit",
"traits": {
Expand Down
Loading

0 comments on commit 216374a

Please sign in to comment.