Skip to content

Commit f36bbf9

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 3db3b14 commit f36bbf9

File tree

9 files changed

+2705
-277
lines changed

9 files changed

+2705
-277
lines changed

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

+122-88
Large diffs are not rendered by default.

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

+98-43
Large diffs are not rendered by default.

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

+1,366-53
Large diffs are not rendered by default.

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

+239-48
Large diffs are not rendered by default.

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

+13
Original file line numberDiff line numberDiff line change
@@ -15351,6 +15351,12 @@
1535115351
"traits": {
1535215352
"smithy.api#enumValue": "APPLICATION"
1535315353
}
15354+
},
15355+
"FILE_SCANNER": {
15356+
"target": "smithy.api#Unit",
15357+
"traits": {
15358+
"smithy.api#enumValue": "FILE_SCANNER"
15359+
}
1535415360
}
1535515361
}
1535615362
},
@@ -17078,6 +17084,13 @@
1707817084
"smithy.api#documentation": "<p>The maximum number of results to return per page.</p>",
1707917085
"smithy.api#httpQuery": "maxResults"
1708017086
}
17087+
},
17088+
"IntegrationArn": {
17089+
"target": "com.amazonaws.connect#ARN",
17090+
"traits": {
17091+
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the integration.</p>",
17092+
"smithy.api#httpQuery": "integrationArn"
17093+
}
1708117094
}
1708217095
},
1708317096
"traits": {

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

+166
Original file line numberDiff line numberDiff line change
@@ -3229,6 +3229,9 @@
32293229
{
32303230
"target": "com.amazonaws.ec2#DisableSerialConsoleAccess"
32313231
},
3232+
{
3233+
"target": "com.amazonaws.ec2#DisableSnapshotBlockPublicAccess"
3234+
},
32323235
{
32333236
"target": "com.amazonaws.ec2#DisableTransitGatewayRouteTablePropagation"
32343237
},
@@ -3316,6 +3319,9 @@
33163319
{
33173320
"target": "com.amazonaws.ec2#EnableSerialConsoleAccess"
33183321
},
3322+
{
3323+
"target": "com.amazonaws.ec2#EnableSnapshotBlockPublicAccess"
3324+
},
33193325
{
33203326
"target": "com.amazonaws.ec2#EnableTransitGatewayRouteTablePropagation"
33213327
},
@@ -3436,6 +3442,9 @@
34363442
{
34373443
"target": "com.amazonaws.ec2#GetSerialConsoleAccessStatus"
34383444
},
3445+
{
3446+
"target": "com.amazonaws.ec2#GetSnapshotBlockPublicAccessState"
3447+
},
34393448
{
34403449
"target": "com.amazonaws.ec2#GetSpotPlacementScores"
34413450
},
@@ -41996,6 +42005,48 @@
4199642005
"smithy.api#output": {}
4199742006
}
4199842007
},
42008+
"com.amazonaws.ec2#DisableSnapshotBlockPublicAccess": {
42009+
"type": "operation",
42010+
"input": {
42011+
"target": "com.amazonaws.ec2#DisableSnapshotBlockPublicAccessRequest"
42012+
},
42013+
"output": {
42014+
"target": "com.amazonaws.ec2#DisableSnapshotBlockPublicAccessResult"
42015+
},
42016+
"traits": {
42017+
"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>"
42018+
}
42019+
},
42020+
"com.amazonaws.ec2#DisableSnapshotBlockPublicAccessRequest": {
42021+
"type": "structure",
42022+
"members": {
42023+
"DryRun": {
42024+
"target": "com.amazonaws.ec2#Boolean",
42025+
"traits": {
42026+
"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>"
42027+
}
42028+
}
42029+
},
42030+
"traits": {
42031+
"smithy.api#input": {}
42032+
}
42033+
},
42034+
"com.amazonaws.ec2#DisableSnapshotBlockPublicAccessResult": {
42035+
"type": "structure",
42036+
"members": {
42037+
"State": {
42038+
"target": "com.amazonaws.ec2#SnapshotBlockPublicAccessState",
42039+
"traits": {
42040+
"aws.protocols#ec2QueryName": "State",
42041+
"smithy.api#documentation": "<p>Returns <code>unblocked</code> if the request succeeds.</p>",
42042+
"smithy.api#xmlName": "state"
42043+
}
42044+
}
42045+
},
42046+
"traits": {
42047+
"smithy.api#output": {}
42048+
}
42049+
},
4199942050
"com.amazonaws.ec2#DisableTransitGatewayRouteTablePropagation": {
4200042051
"type": "operation",
4200142052
"input": {
@@ -45281,6 +45332,56 @@
4528145332
"smithy.api#output": {}
4528245333
}
4528345334
},
45335+
"com.amazonaws.ec2#EnableSnapshotBlockPublicAccess": {
45336+
"type": "operation",
45337+
"input": {
45338+
"target": "com.amazonaws.ec2#EnableSnapshotBlockPublicAccessRequest"
45339+
},
45340+
"output": {
45341+
"target": "com.amazonaws.ec2#EnableSnapshotBlockPublicAccessResult"
45342+
},
45343+
"traits": {
45344+
"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>"
45345+
}
45346+
},
45347+
"com.amazonaws.ec2#EnableSnapshotBlockPublicAccessRequest": {
45348+
"type": "structure",
45349+
"members": {
45350+
"State": {
45351+
"target": "com.amazonaws.ec2#SnapshotBlockPublicAccessState",
45352+
"traits": {
45353+
"smithy.api#clientOptional": {},
45354+
"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>",
45355+
"smithy.api#required": {}
45356+
}
45357+
},
45358+
"DryRun": {
45359+
"target": "com.amazonaws.ec2#Boolean",
45360+
"traits": {
45361+
"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>"
45362+
}
45363+
}
45364+
},
45365+
"traits": {
45366+
"smithy.api#input": {}
45367+
}
45368+
},
45369+
"com.amazonaws.ec2#EnableSnapshotBlockPublicAccessResult": {
45370+
"type": "structure",
45371+
"members": {
45372+
"State": {
45373+
"target": "com.amazonaws.ec2#SnapshotBlockPublicAccessState",
45374+
"traits": {
45375+
"aws.protocols#ec2QueryName": "State",
45376+
"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>",
45377+
"smithy.api#xmlName": "state"
45378+
}
45379+
}
45380+
},
45381+
"traits": {
45382+
"smithy.api#output": {}
45383+
}
45384+
},
4528445385
"com.amazonaws.ec2#EnableTransitGatewayRouteTablePropagation": {
4528545386
"type": "operation",
4528645387
"input": {
@@ -51414,6 +51515,48 @@
5141451515
"smithy.api#output": {}
5141551516
}
5141651517
},
51518+
"com.amazonaws.ec2#GetSnapshotBlockPublicAccessState": {
51519+
"type": "operation",
51520+
"input": {
51521+
"target": "com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateRequest"
51522+
},
51523+
"output": {
51524+
"target": "com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateResult"
51525+
},
51526+
"traits": {
51527+
"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>"
51528+
}
51529+
},
51530+
"com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateRequest": {
51531+
"type": "structure",
51532+
"members": {
51533+
"DryRun": {
51534+
"target": "com.amazonaws.ec2#Boolean",
51535+
"traits": {
51536+
"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>"
51537+
}
51538+
}
51539+
},
51540+
"traits": {
51541+
"smithy.api#input": {}
51542+
}
51543+
},
51544+
"com.amazonaws.ec2#GetSnapshotBlockPublicAccessStateResult": {
51545+
"type": "structure",
51546+
"members": {
51547+
"State": {
51548+
"target": "com.amazonaws.ec2#SnapshotBlockPublicAccessState",
51549+
"traits": {
51550+
"aws.protocols#ec2QueryName": "State",
51551+
"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>",
51552+
"smithy.api#xmlName": "state"
51553+
}
51554+
}
51555+
},
51556+
"traits": {
51557+
"smithy.api#output": {}
51558+
}
51559+
},
5141751560
"com.amazonaws.ec2#GetSpotPlacementScores": {
5141851561
"type": "operation",
5141951562
"input": {
@@ -90544,6 +90687,29 @@
9054490687
}
9054590688
}
9054690689
},
90690+
"com.amazonaws.ec2#SnapshotBlockPublicAccessState": {
90691+
"type": "enum",
90692+
"members": {
90693+
"block_all_sharing": {
90694+
"target": "smithy.api#Unit",
90695+
"traits": {
90696+
"smithy.api#enumValue": "block-all-sharing"
90697+
}
90698+
},
90699+
"block_new_sharing": {
90700+
"target": "smithy.api#Unit",
90701+
"traits": {
90702+
"smithy.api#enumValue": "block-new-sharing"
90703+
}
90704+
},
90705+
"unblocked": {
90706+
"target": "smithy.api#Unit",
90707+
"traits": {
90708+
"smithy.api#enumValue": "unblocked"
90709+
}
90710+
}
90711+
}
90712+
},
9054790713
"com.amazonaws.ec2#SnapshotDetail": {
9054890714
"type": "structure",
9054990715
"members": {

0 commit comments

Comments
 (0)