View a markdown version of this page

Amazon S3 Storage Lens 대시보드 삭제 - Amazon Simple Storage Service

Amazon S3 Storage Lens 대시보드 삭제

기본 대시보드는 삭제할 수 없습니다. 그러나 비활성화는 가능합니다. 생성한 대시보드를 삭제하기 전에 다음을 고려하십시오.

  • 대시보드를 삭제하는 대신, 대시보드를 사용 중지하여 나중에 다시 사용 설정하도록 설정할 수 있습니다. 자세한 내용은 S3 콘솔 사용 섹션을 참조하세요.

  • 대시보드를 삭제하면 대시보드와 연결된 모든 구성 설정이 삭제됩니다.

  • 대시보드를 삭제하면 모든 기록 지표 데이터를 사용할 수 없게 됩니다. 이 기록 데이터는 여전히 15개월 동안 보존됩니다. 이 데이터에 다시 액세스하려면 삭제된 리전과 동일한 홈 리전에서 이름이 같은 대시보드를 생성합니다.

Amazon S3 콘솔에서 Amazon S3 Storage Lens 대시보드를 삭제할 수 있습니다. 그러나 대시보드를 삭제하면 나중에 지표를 생성할 수 없습니다.

Amazon S3 스토리지 렌즈 대시보드 삭제
  1. AWS Management Console에 로그인한 후 https://console.aws.amazon.com/s3/에서 S3 콘솔을 엽니다.

  2. 왼쪽 탐색 창에서 스토리지 렌즈(스토리지 렌즈), Dashboards(대시보드)를 선택합니다.

  3. 대시보드 목록에서 삭제할 대시보드를 선택한 다음 삭제를 선택합니다.

  4. 대시보드 삭제 페이지에서 텍스트 필드에 대시보드 이름을 입력하여 대시보드를 삭제하겠다고 확인합니다. 그 다음 확인을 선택합니다.

다음 예제에서는 S3 Storage Lens 구성을 삭제합니다. 이러한 예제를 사용하려면 user input placeholders를 실제 정보로 대체하세요.

aws s3control delete-storage-lens-configuration --account-id=222222222222 --region=us-east-1 --config-id=your-configuration-id
예– Amazon S3 Storage Lens 대시보드 구성 삭제

다음 예제에서는 SDK for Java를 사용하여 S3 Storage Lens 구성을 삭제하는 방법을 보여줍니다.

package aws.example.s3control; import com.amazonaws.AmazonServiceException; import com.amazonaws.SdkClientException; import com.amazonaws.auth.profile.ProfileCredentialsProvider; import com.amazonaws.services.s3control.AWSS3Control; import com.amazonaws.services.s3control.AWSS3ControlClient; import com.amazonaws.services.s3control.model.DeleteStorageLensConfigurationRequest; import static com.amazonaws.regions.Regions.US_WEST_2; public class DeleteDashboard { public static void main(String[] args) { String configurationId = "ConfigurationId"; String sourceAccountId = "111122223333"; try { AWSS3Control s3ControlClient = AWSS3ControlClient.builder() .withCredentials(new ProfileCredentialsProvider()) .withRegion(US_WEST_2) .build(); s3ControlClient.deleteStorageLensConfiguration(new DeleteStorageLensConfigurationRequest() .withAccountId(sourceAccountId) .withConfigId(configurationId) ); } catch (AmazonServiceException e) { // The call was transmitted successfully, but Amazon S3 couldn't process // it and returned an error response. e.printStackTrace(); } catch (SdkClientException e) { // Amazon S3 couldn't be contacted for a response, or the client // couldn't parse the response from Amazon S3. e.printStackTrace(); } } }