list_backup_access_points_by_resource
¶
list_backup_access_points_by_resource(
resource_arn: ResourceArn,
*,
config_overrides: Optional[BackupClientConfig] = 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/backup.py
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 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 | |