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 Nov 9, 2023
1 parent 3db3b14 commit f36bbf9
Show file tree
Hide file tree
Showing 9 changed files with 2,705 additions and 277 deletions.
210 changes: 122 additions & 88 deletions codegen/sdk-codegen/aws-models/cloudformation.json

Large diffs are not rendered by default.

141 changes: 98 additions & 43 deletions codegen/sdk-codegen/aws-models/cloudtrail.json

Large diffs are not rendered by default.

1,419 changes: 1,366 additions & 53 deletions codegen/sdk-codegen/aws-models/cloudwatch-logs.json

Large diffs are not rendered by default.

287 changes: 239 additions & 48 deletions codegen/sdk-codegen/aws-models/comprehend.json

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions codegen/sdk-codegen/aws-models/connect.json
Original file line number Diff line number Diff line change
Expand Up @@ -15351,6 +15351,12 @@
"traits": {
"smithy.api#enumValue": "APPLICATION"
}
},
"FILE_SCANNER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "FILE_SCANNER"
}
}
}
},
Expand Down Expand Up @@ -17078,6 +17084,13 @@
"smithy.api#documentation": "<p>The maximum number of results to return per page.</p>",
"smithy.api#httpQuery": "maxResults"
}
},
"IntegrationArn": {
"target": "com.amazonaws.connect#ARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the integration.</p>",
"smithy.api#httpQuery": "integrationArn"
}
}
},
"traits": {
Expand Down
166 changes: 166 additions & 0 deletions codegen/sdk-codegen/aws-models/ec2.json
Original file line number Diff line number Diff line change
Expand Up @@ -3229,6 +3229,9 @@
{
"target": "com.amazonaws.ec2#DisableSerialConsoleAccess"
},
{
"target": "com.amazonaws.ec2#DisableSnapshotBlockPublicAccess"
},
{
"target": "com.amazonaws.ec2#DisableTransitGatewayRouteTablePropagation"
},
Expand Down Expand Up @@ -3316,6 +3319,9 @@
{
"target": "com.amazonaws.ec2#EnableSerialConsoleAccess"
},
{
"target": "com.amazonaws.ec2#EnableSnapshotBlockPublicAccess"
},
{
"target": "com.amazonaws.ec2#EnableTransitGatewayRouteTablePropagation"
},
Expand Down Expand Up @@ -3436,6 +3442,9 @@
{
"target": "com.amazonaws.ec2#GetSerialConsoleAccessStatus"
},
{
"target": "com.amazonaws.ec2#GetSnapshotBlockPublicAccessState"
},
{
"target": "com.amazonaws.ec2#GetSpotPlacementScores"
},
Expand Down Expand Up @@ -41996,6 +42005,48 @@
"smithy.api#output": {}
}
},
"com.amazonaws.ec2#DisableSnapshotBlockPublicAccess": {
"type": "operation",
"input": {
"target": "com.amazonaws.ec2#DisableSnapshotBlockPublicAccessRequest"
},
"output": {
"target": "com.amazonaws.ec2#DisableSnapshotBlockPublicAccessResult"
},
"traits": {
"smithy.api#documentation": "<p>Disables the <i>block public access for snapshots</i> setting at \n the account level for the specified Amazon Web Services Region. After you disable block public \n access for snapshots in a Region, users can publicly share snapshots in that Region.</p>\n <p>If block public access is enabled in <code>block-all-sharing</code> mode, and \n you disable block public access, all snapshots that were previously publicly shared \n are no longer treated as private and they become publicly accessible again.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-snapshots.html\">\n Block public access for snapshots</a> in the <i>Amazon Elastic Compute Cloud User Guide</i> .</p>\n <p></p>"
}
},
"com.amazonaws.ec2#DisableSnapshotBlockPublicAccessRequest": {
"type": "structure",
"members": {
"DryRun": {
"target": "com.amazonaws.ec2#Boolean",
"traits": {
"smithy.api#documentation": "<p>Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. \n Otherwise, it is <code>UnauthorizedOperation</code>.</p>"
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.ec2#DisableSnapshotBlockPublicAccessResult": {
"type": "structure",
"members": {
"State": {
"target": "com.amazonaws.ec2#SnapshotBlockPublicAccessState",
"traits": {
"aws.protocols#ec2QueryName": "State",
"smithy.api#documentation": "<p>Returns <code>unblocked</code> if the request succeeds.</p>",
"smithy.api#xmlName": "state"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.ec2#DisableTransitGatewayRouteTablePropagation": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -45281,6 +45332,56 @@
"smithy.api#output": {}
}
},
"com.amazonaws.ec2#EnableSnapshotBlockPublicAccess": {
"type": "operation",
"input": {
"target": "com.amazonaws.ec2#EnableSnapshotBlockPublicAccessRequest"
},
"output": {
"target": "com.amazonaws.ec2#EnableSnapshotBlockPublicAccessResult"
},
"traits": {
"smithy.api#documentation": "<p>Enables or modifies the <i>block public access for snapshots</i> \n setting at the account level for the specified Amazon Web Services Region. After you enable block \n public access for snapshots in a Region, users can no longer request public sharing \n for snapshots in that Region. Snapshots that are already publicly shared are either \n treated as private or they remain publicly shared, depending on the \n <b>State</b> that you specify.</p>\n <p>If block public access is enabled in <code>block-all-sharing</code> mode, and \n you change the mode to <code>block-new-sharing</code>, all snapshots that were \n previously publicly shared are no longer treated as private and they become publicly \n accessible again.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-snapshots.html\">\n Block public access for snapshots</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
}
},
"com.amazonaws.ec2#EnableSnapshotBlockPublicAccessRequest": {
"type": "structure",
"members": {
"State": {
"target": "com.amazonaws.ec2#SnapshotBlockPublicAccessState",
"traits": {
"smithy.api#clientOptional": {},
"smithy.api#documentation": "<p>The mode in which to enable block public access for snapshots for the Region. \n Specify one of the following values:</p>\n <ul>\n <li>\n <p>\n <code>block-all-sharing</code> - Prevents all public sharing of snapshots in \n the Region. Users in the account will no longer be able to request new public \n sharing. Additionally, snapshots that are already publicly shared are treated as \n private and they are no longer publicly available.</p>\n <note>\n <p>If you enable block public access for snapshots in <code>block-all-sharing</code> \n mode, it does not change the permissions for snapshots that are already publicly shared. \n Instead, it prevents these snapshots from be publicly visible and publicly accessible. \n Therefore, the attributes for these snapshots still indicate that they are publicly \n shared, even though they are not publicly available.</p>\n </note>\n </li>\n <li>\n <p>\n <code>block-new-sharing</code> - Prevents only new public sharing of snapshots \n in the Region. Users in the account will no longer be able to request new public \n sharing. However, snapshots that are already publicly shared, remain publicly \n available.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
"DryRun": {
"target": "com.amazonaws.ec2#Boolean",
"traits": {
"smithy.api#documentation": "<p>Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. \n Otherwise, it is <code>UnauthorizedOperation</code>.</p>"
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.ec2#EnableSnapshotBlockPublicAccessResult": {
"type": "structure",
"members": {
"State": {
"target": "com.amazonaws.ec2#SnapshotBlockPublicAccessState",
"traits": {
"aws.protocols#ec2QueryName": "State",
"smithy.api#documentation": "<p>The state of block public access for snapshots for the account and Region. Returns \n either <code>block-all-sharing</code> or <code>block-new-sharing</code> if the request \n succeeds.</p>",
"smithy.api#xmlName": "state"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.ec2#EnableTransitGatewayRouteTablePropagation": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -51414,6 +51515,48 @@
"smithy.api#output": {}
}
},
"com.amazonaws.ec2#GetSnapshotBlockPublicAccessState": {
"type": "operation",
"input": {
"target": "com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateRequest"
},
"output": {
"target": "com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateResult"
},
"traits": {
"smithy.api#documentation": "<p>Gets the current state of <i>block public access for snapshots</i> setting \n for the account and Region.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-public-access-snapshots.html\">\n Block public access for snapshots</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
}
},
"com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateRequest": {
"type": "structure",
"members": {
"DryRun": {
"target": "com.amazonaws.ec2#Boolean",
"traits": {
"smithy.api#documentation": "<p>Checks whether you have the required permissions for the action, without actually making the request, \n and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. \n Otherwise, it is <code>UnauthorizedOperation</code>.</p>"
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateResult": {
"type": "structure",
"members": {
"State": {
"target": "com.amazonaws.ec2#SnapshotBlockPublicAccessState",
"traits": {
"aws.protocols#ec2QueryName": "State",
"smithy.api#documentation": "<p>The current state of block public access for snapshots. Possible values include:</p>\n <ul>\n <li>\n <p>\n <code>block-all-sharing</code> - All public sharing of snapshots is blocked. Users in \n the account can't request new public sharing. Additionally, snapshots that were already \n publicly shared are treated as private and are not publicly available.</p>\n </li>\n <li>\n <p>\n <code>block-new-sharing</code> - Only new public sharing of snapshots is blocked. \n Users in the account can't request new public sharing. However, snapshots that were \n already publicly shared, remain publicly available.</p>\n </li>\n <li>\n <p>\n <code>unblocked</code> - Public sharing is not blocked. Users can publicly share \n snapshots.</p>\n </li>\n </ul>",
"smithy.api#xmlName": "state"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.ec2#GetSpotPlacementScores": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -90544,6 +90687,29 @@
}
}
},
"com.amazonaws.ec2#SnapshotBlockPublicAccessState": {
"type": "enum",
"members": {
"block_all_sharing": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "block-all-sharing"
}
},
"block_new_sharing": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "block-new-sharing"
}
},
"unblocked": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "unblocked"
}
}
}
},
"com.amazonaws.ec2#SnapshotDetail": {
"type": "structure",
"members": {
Expand Down
Loading

0 comments on commit f36bbf9

Please sign in to comment.