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 Jan 12, 2024
1 parent 5ed0159 commit 2956312
Show file tree
Hide file tree
Showing 7 changed files with 1,904 additions and 192 deletions.
34 changes: 23 additions & 11 deletions codegen/sdk-codegen/aws-models/connect.json

Large diffs are not rendered by default.

59 changes: 37 additions & 22 deletions codegen/sdk-codegen/aws-models/connectparticipant.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -179,7 +178,8 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -192,7 +192,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -206,7 +205,6 @@
"assign": "PartitionResult"
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -229,7 +227,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -264,7 +261,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -275,14 +271,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 @@ -296,14 +294,12 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
Expand All @@ -312,18 +308,17 @@
},
"supportsFIPS"
]
}
},
true
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
"aws-us-gov",
{
"fn": "getAttr",
"argv": [
Expand All @@ -332,7 +327,8 @@
},
"name"
]
}
},
"aws-us-gov"
]
}
],
Expand All @@ -352,14 +348,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -373,7 +371,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -393,7 +390,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -404,14 +400,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand All @@ -422,9 +420,11 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand Down Expand Up @@ -1762,6 +1762,12 @@
"traits": {
"smithy.api#enumValue": "CUSTOM_BOT"
}
},
"SUPERVISOR": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "SUPERVISOR"
}
}
}
},
Expand Down Expand Up @@ -1905,6 +1911,12 @@
"traits": {
"smithy.api#enumValue": "USER"
}
},
"PHONE_NUMBER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PHONE_NUMBER"
}
}
}
},
Expand Down Expand Up @@ -1937,6 +1949,9 @@
{
"target": "com.amazonaws.connectparticipant#AccessDeniedException"
},
{
"target": "com.amazonaws.connectparticipant#ConflictException"
},
{
"target": "com.amazonaws.connectparticipant#InternalServerException"
},
Expand Down
Loading

0 comments on commit 2956312

Please sign in to comment.