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
4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 | |