list_automatic_tape_creation_policies
async
¶
list_automatic_tape_creation_policies(
*,
config_overrides: Optional[AsyncStorageGatewayClientConfig] = None,
gateway_arn: Optional[GatewayARN] = None,
) -> ListAutomaticTapeCreationPoliciesOutput
Lists the automatic tape creation policies for a gateway. If there are no automatic tape creation policies for the gateway, it returns an empty list.
This operation is only supported for tape gateways.
Raises:
-
InternalServerError–An internal server error has occurred during the request. For more information, see the error and message fields.
-
InvalidGatewayRequestException–An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
-
UnknownServiceError–The service returned an error code this client does not model.