EC2:enable_snapshot_block_public_access doesn't accept unblocked as argument option #3942
Labels
documentation
This is a problem with documentation.
ec2
service-api
This issue is caused by the service API, not the SDK implementation.
Describe the issue
The doc describes the method as receiving a State argument with three possible values. Though the method actually accepts only two values 'block-all-sharing'|'block-new-sharing'
It should be
Since unblocked is not supported, there is a dedicated method to disable the protection.
The error when using unblocked
Links
The enable method
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/enable-snapshot-block-public-access.html
The disable method
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/disable-snapshot-block-public-access.html
The text was updated successfully, but these errors were encountered: