|
3712 | 3712 | "output":{"shape":"DisableFastSnapshotRestoresResult"},
|
3713 | 3713 | "documentation":"<p>Disables fast snapshot restores for the specified snapshots in the specified Availability Zones.</p>"
|
3714 | 3714 | },
|
| 3715 | + "DisableImageBlockPublicAccess":{ |
| 3716 | + "name":"DisableImageBlockPublicAccess", |
| 3717 | + "http":{ |
| 3718 | + "method":"POST", |
| 3719 | + "requestUri":"/" |
| 3720 | + }, |
| 3721 | + "input":{"shape":"DisableImageBlockPublicAccessRequest"}, |
| 3722 | + "output":{"shape":"DisableImageBlockPublicAccessResult"}, |
| 3723 | + "documentation":"<p>Disables <i>block public access for AMIs</i> at the account level in the specified Amazon Web Services Region. This removes the <i>block public access</i> restriction from your account. With the restriction removed, you can publicly share your AMIs in the specified Amazon Web Services Region.</p> <p>The API can take up to 10 minutes to configure this setting. During this time, if you run <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetImageBlockPublicAccessState.html\">GetImageBlockPublicAccessState</a>, the response will be <code>block-new-sharing</code>. When the API has completed the configuration, the response will be <code>unblocked</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html#block-public-access-to-amis\">Block public access to your AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>" |
| 3724 | + }, |
3715 | 3725 | "DisableImageDeprecation":{
|
3716 | 3726 | "name":"DisableImageDeprecation",
|
3717 | 3727 | "http":{
|
|
3969 | 3979 | "output":{"shape":"EnableFastSnapshotRestoresResult"},
|
3970 | 3980 | "documentation":"<p>Enables fast snapshot restores for the specified snapshots in the specified Availability Zones.</p> <p>You get the full benefit of fast snapshot restores after they enter the <code>enabled</code> state. To get the current state of fast snapshot restores, use <a>DescribeFastSnapshotRestores</a>. To disable fast snapshot restores, use <a>DisableFastSnapshotRestores</a>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-fast-snapshot-restore.html\">Amazon EBS fast snapshot restore</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
|
3971 | 3981 | },
|
| 3982 | + "EnableImageBlockPublicAccess":{ |
| 3983 | + "name":"EnableImageBlockPublicAccess", |
| 3984 | + "http":{ |
| 3985 | + "method":"POST", |
| 3986 | + "requestUri":"/" |
| 3987 | + }, |
| 3988 | + "input":{"shape":"EnableImageBlockPublicAccessRequest"}, |
| 3989 | + "output":{"shape":"EnableImageBlockPublicAccessResult"}, |
| 3990 | + "documentation":"<p>Enables <i>block public access for AMIs</i> at the account level in the specified Amazon Web Services Region. This prevents the public sharing of your AMIs. However, if you already have public AMIs, they will remain publicly available.</p> <p>The API can take up to 10 minutes to configure this setting. During this time, if you run <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_GetImageBlockPublicAccessState.html\">GetImageBlockPublicAccessState</a>, the response will be <code>unblocked</code>. When the API has completed the configuration, the response will be <code>block-new-sharing</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html#block-public-access-to-amis\">Block public access to your AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>" |
| 3991 | + }, |
3972 | 3992 | "EnableImageDeprecation":{
|
3973 | 3993 | "name":"EnableImageDeprecation",
|
3974 | 3994 | "http":{
|
|
4227 | 4247 | "output":{"shape":"GetHostReservationPurchasePreviewResult"},
|
4228 | 4248 | "documentation":"<p>Preview a reservation purchase with configurations that match those of your Dedicated Host. You must have active Dedicated Hosts in your account before you purchase a reservation.</p> <p>This is a preview of the <a>PurchaseHostReservation</a> action and does not result in the offering being purchased.</p>"
|
4229 | 4249 | },
|
| 4250 | + "GetImageBlockPublicAccessState":{ |
| 4251 | + "name":"GetImageBlockPublicAccessState", |
| 4252 | + "http":{ |
| 4253 | + "method":"POST", |
| 4254 | + "requestUri":"/" |
| 4255 | + }, |
| 4256 | + "input":{"shape":"GetImageBlockPublicAccessStateRequest"}, |
| 4257 | + "output":{"shape":"GetImageBlockPublicAccessStateResult"}, |
| 4258 | + "documentation":"<p>Gets the current state of <i>block public access for AMIs</i> at the account level in the specified Amazon Web Services Region.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html#block-public-access-to-amis\">Block public access to your AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>" |
| 4259 | + }, |
4230 | 4260 | "GetInstanceTypesFromInstanceRequirements":{
|
4231 | 4261 | "name":"GetInstanceTypesFromInstanceRequirements",
|
4232 | 4262 | "http":{
|
|
25154 | 25184 | }
|
25155 | 25185 | }
|
25156 | 25186 | },
|
| 25187 | + "DisableImageBlockPublicAccessRequest":{ |
| 25188 | + "type":"structure", |
| 25189 | + "members":{ |
| 25190 | + "DryRun":{ |
| 25191 | + "shape":"Boolean", |
| 25192 | + "documentation":"<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>" |
| 25193 | + } |
| 25194 | + } |
| 25195 | + }, |
| 25196 | + "DisableImageBlockPublicAccessResult":{ |
| 25197 | + "type":"structure", |
| 25198 | + "members":{ |
| 25199 | + "ImageBlockPublicAccessState":{ |
| 25200 | + "shape":"ImageBlockPublicAccessDisabledState", |
| 25201 | + "documentation":"<p>Returns <code>unblocked</code> if the request succeeds; otherwise, it returns an error.</p>", |
| 25202 | + "locationName":"imageBlockPublicAccessState" |
| 25203 | + } |
| 25204 | + } |
| 25205 | + }, |
25157 | 25206 | "DisableImageDeprecationRequest":{
|
25158 | 25207 | "type":"structure",
|
25159 | 25208 | "required":["ImageId"],
|
|
26883 | 26932 | }
|
26884 | 26933 | }
|
26885 | 26934 | },
|
| 26935 | + "EnableImageBlockPublicAccessRequest":{ |
| 26936 | + "type":"structure", |
| 26937 | + "required":["ImageBlockPublicAccessState"], |
| 26938 | + "members":{ |
| 26939 | + "ImageBlockPublicAccessState":{ |
| 26940 | + "shape":"ImageBlockPublicAccessEnabledState", |
| 26941 | + "documentation":"<p>Specify <code>block-new-sharing</code> to enable block public access for AMIs at the account level in the specified Region. This will block any attempt to publicly share your AMIs in the specified Region.</p>" |
| 26942 | + }, |
| 26943 | + "DryRun":{ |
| 26944 | + "shape":"Boolean", |
| 26945 | + "documentation":"<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>" |
| 26946 | + } |
| 26947 | + } |
| 26948 | + }, |
| 26949 | + "EnableImageBlockPublicAccessResult":{ |
| 26950 | + "type":"structure", |
| 26951 | + "members":{ |
| 26952 | + "ImageBlockPublicAccessState":{ |
| 26953 | + "shape":"ImageBlockPublicAccessEnabledState", |
| 26954 | + "documentation":"<p>Returns <code>block-new-sharing</code> if the request succeeds; otherwise, it returns an error.</p>", |
| 26955 | + "locationName":"imageBlockPublicAccessState" |
| 26956 | + } |
| 26957 | + } |
| 26958 | + }, |
26886 | 26959 | "EnableImageDeprecationRequest":{
|
26887 | 26960 | "type":"structure",
|
26888 | 26961 | "required":[
|
|
29554 | 29627 | }
|
29555 | 29628 | }
|
29556 | 29629 | },
|
| 29630 | + "GetImageBlockPublicAccessStateRequest":{ |
| 29631 | + "type":"structure", |
| 29632 | + "members":{ |
| 29633 | + "DryRun":{ |
| 29634 | + "shape":"Boolean", |
| 29635 | + "documentation":"<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>" |
| 29636 | + } |
| 29637 | + } |
| 29638 | + }, |
| 29639 | + "GetImageBlockPublicAccessStateResult":{ |
| 29640 | + "type":"structure", |
| 29641 | + "members":{ |
| 29642 | + "ImageBlockPublicAccessState":{ |
| 29643 | + "shape":"String", |
| 29644 | + "documentation":"<p>The current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.</p> <p>Possible values:</p> <ul> <li> <p> <code>block-new-sharing</code> - Any attempt to publicly share your AMIs in the specified Region is blocked.</p> </li> <li> <p> <code>unblocked</code> - Your AMIs in the specified Region can be publicly shared.</p> </li> </ul>", |
| 29645 | + "locationName":"imageBlockPublicAccessState" |
| 29646 | + } |
| 29647 | + } |
| 29648 | + }, |
29557 | 29649 | "GetInstanceTypesFromInstanceRequirementsRequest":{
|
29558 | 29650 | "type":"structure",
|
29559 | 29651 | "required":[
|
|
31789 | 31881 | "imdsSupport"
|
31790 | 31882 | ]
|
31791 | 31883 | },
|
| 31884 | + "ImageBlockPublicAccessDisabledState":{ |
| 31885 | + "type":"string", |
| 31886 | + "enum":["unblocked"] |
| 31887 | + }, |
| 31888 | + "ImageBlockPublicAccessEnabledState":{ |
| 31889 | + "type":"string", |
| 31890 | + "enum":["block-new-sharing"] |
| 31891 | + }, |
31792 | 31892 | "ImageDiskContainer":{
|
31793 | 31893 | "type":"structure",
|
31794 | 31894 | "members":{
|
|
0 commit comments