update_snapshot
async
¶
update_snapshot(
*,
config_overrides: Optional[AsyncFSxClientConfig] = None,
client_request_token: Optional[ClientRequestToken] = None,
name: Optional[SnapshotName] = None,
snapshot_id: Optional[SnapshotId] = None,
) -> UpdateSnapshotResponse
Updates the name of an Amazon FSx for OpenZFS snapshot.
Parameters:
-
name(Optional[SnapshotName], default:None) –The name of the snapshot to update.
-
snapshot_id(Optional[SnapshotId], default:None) –The ID of the snapshot that you want to update, in the format
fsvolsnap-0123456789abcdef0.
Raises:
-
BadRequest–A generic error indicating a failure with a client request.
-
InternalServerError–A generic error indicating a server-side failure.
-
SnapshotNotFound–No Amazon FSx snapshots were found based on the supplied parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_fsx/_services/async_f_sx.py
3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 | |