Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.
Verwenden von Amazon S3-Storage-Lens-Konfigurationen mit der AWS CLI
Sie können die AWS CLI verwenden, um S3-Storage-Lens-Konfigurationen aufzulisten, zu erstellen, zu löschen, abzurufen, zu markieren und zu aktualisieren. In den folgenden Beispielen werden die JSON-Hilfsdateien für wichtige Eingaben verwendet. Wenn Sie diese Beispiele verwenden möchten, ersetzen Sie die
durch Ihre Informationen.user input placeholders
Erstellen einer S3-Storage-Lens-Konfiguration
Beispiel Erstellen einer S3-Storage-Lens-Konfiguration
aws s3control put-storage-lens-configuration --account-id=
111122223333
--config-id=example-dashboard-configuration-id
--region=us-east-1
--storage-lens-configuration=file://./config.json
--tags=file://./tags.json
Erstellen einer S3-Storage-Lens-Konfiguration ohne Markierungen
Beispiel Erstellen einer S3-Storage-Lens-Konfiguration ohne Markierungen
aws s3control put-storage-lens-configuration --account-id=
222222222222
--config-id=your-configuration-id
--region=us-east-1
--storage-lens-configuration=file://./config.json
Abrufen einer S3-Storage-Lens-Konfiguration
Beispiel Abrufen einer S3-Storage-Lens-Konfiguration
aws s3control get-storage-lens-configuration --account-id=
222222222222
--config-id=your-configuration-id
--region=us-east-1
Auflisten von S3-Storage-Lens-Konfigurationen ohne das nächste Token
Beispiel Auflisten von S3-Storage-Lens-Konfigurationen ohne das nächste Token
aws s3control list-storage-lens-configurations --account-id=
222222222222
--region=us-east-1
Listet S3-Storage-Lens-Konfigurationen auf
Beispiel Listet S3-Storage-Lens-Konfigurationen auf
aws s3control list-storage-lens-configurations --account-id=
222222222222
--region=us-east-1
--next-token=abcdefghij1234
Löschen einer S3-Storage-Lens-Konfiguration
Beispiel Löschen einer S3-Storage-Lens-Konfiguration
aws s3control delete-storage-lens-configuration --account-id=
222222222222
--region=us-east-1
--config-id=your-configuration-id
Hinzufügen von Markierungen zu einer S3-Storage-Lens-Konfiguration
Beispiel Hinzufügen von Markierungen zu einer S3-Storage-Lens-Konfiguration
aws s3control put-storage-lens-configuration-tagging --account-id=
222222222222
--region=us-east-1
--config-id=your-configuration-id
--tags=file://./tags.json
Abrufen von Markierungen für eine S3-Storage-Lens-Konfiguration
Beispiel Abrufen von Markierungen für eine S3-Storage-Lens-Konfiguration
aws s3control get-storage-lens-configuration-tagging --account-id=
222222222222
--region=us-east-1
--config-id=your-configuration-id
Löschen von Markierungen für eine S3-Storage-Lens-Konfiguration
Beispiel Löschen von Markierungen für eine S3-Storage-Lens-Konfiguration
aws s3control delete-storage-lens-configuration-tagging --account-id=
222222222222
--region=us-east-1
--config-id=your-configuration-id