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
3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 | |