list_backup_access_points_by_resource
async
¶
list_backup_access_points_by_resource(
resource_arn: ResourceArn,
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
max_results: Optional[
ListBackupAccessPointsByResourceRequestMaxResultsInteger
] = None,
next_token: Optional[str] = None,
) -> ListBackupAccessPointsByResourceResponse
Returns the backup access points associated with the specified resource, such as an Amazon S3 bucket.
Parameters:
-
max_results(Optional[ListBackupAccessPointsByResourceRequestMaxResultsInteger], default:None) –The maximum number of items to be returned.
-
next_token(Optional[str], default:None) –The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token. -
resource_arn(ResourceArn) –The Amazon Resource Name (ARN) of the resource whose backup access points you want to list.
Raises:
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup/_services/async_backup.py
4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 | |