AWS SDK 예제 GitHub 리포지토리에 더 많은 AWS문서 SDK 예제
AWS SDK와 함께 CompleteSnapshot사용
다음 코드 예시는 CompleteSnapshot의 사용 방법을 보여 줍니다.
- Rust
-
- SDK for Rust
-
참고
GitHub에 더 많은 내용이 있습니다. AWS코드 예 리포지토리
에서 전체 예를 찾고 설정 및 실행하는 방법을 배워보세요. async fn finish(client: &Client, id: &str) -> Result<(), Error> { client .complete_snapshot() .changed_blocks_count(2) .snapshot_id(id) .send() .await?; println!("Snapshot ID {}", id); println!("The state is 'completed' when all of the modified blocks have been transferred to Amazon S3."); println!("Use the get-snapshot-state code example to get the state of the snapshot."); Ok(()) }-
API 세부 정보는 AWS SDK for Rust API 참조의 CompleteSnapshot
을 참조하십시오.
-
작업
PutSnapshotBlock