@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:36.295Z") @Stability(value=Experimental) public enum EventType extends Enum<EventType>
| Enum Constant and Description |
|---|
OBJECT_CREATED
(experimental) Amazon S3 APIs such as PUT, POST, and COPY can create an object.
|
OBJECT_CREATED_COMPLETE_MULTIPART_UPLOAD
(experimental) Amazon S3 APIs such as PUT, POST, and COPY can create an object.
|
OBJECT_CREATED_COPY
(experimental) Amazon S3 APIs such as PUT, POST, and COPY can create an object.
|
OBJECT_CREATED_POST
(experimental) Amazon S3 APIs such as PUT, POST, and COPY can create an object.
|
OBJECT_CREATED_PUT
(experimental) Amazon S3 APIs such as PUT, POST, and COPY can create an object.
|
OBJECT_REMOVED
(experimental) By using the ObjectRemoved event types, you can enable notification when an object or a batch of objects is removed from a bucket.
|
OBJECT_REMOVED_DELETE
(experimental) By using the ObjectRemoved event types, you can enable notification when an object or a batch of objects is removed from a bucket.
|
OBJECT_REMOVED_DELETE_MARKER_CREATED
(experimental) By using the ObjectRemoved event types, you can enable notification when an object or a batch of objects is removed from a bucket.
|
OBJECT_RESTORE_COMPLETED
(experimental) Using restore object event types you can receive notifications for initiation and completion when restoring objects from the S3 Glacier storage class.
|
OBJECT_RESTORE_POST
(experimental) Using restore object event types you can receive notifications for initiation and completion when restoring objects from the S3 Glacier storage class.
|
REDUCED_REDUNDANCY_LOST_OBJECT
(experimental) You can use this event type to request Amazon S3 to send a notification message when Amazon S3 detects that an object of the RRS storage class is lost.
|
REPLICATION_OPERATION_FAILED_REPLICATION
(experimental) You receive this notification event when an object that was eligible for replication using Amazon S3 Replication Time Control failed to replicate.
|
REPLICATION_OPERATION_MISSED_THRESHOLD
(experimental) You receive this notification event when an object that was eligible for replication using Amazon S3 Replication Time Control exceeded the 15-minute threshold for replication.
|
REPLICATION_OPERATION_NOT_TRACKED
(experimental) You receive this notification event for an object that was eligible for replication using Amazon S3 Replication Time Control but is no longer tracked by replication metrics.
|
REPLICATION_OPERATION_REPLICATED_AFTER_THRESHOLD
(experimental) You receive this notification event for an object that was eligible for replication using the Amazon S3 Replication Time Control feature replicated after the 15-minute threshold.
|
| Modifier and Type | Method and Description |
|---|---|
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final EventType OBJECT_CREATED
Using these event types, you can enable notification when an object is created using a specific API, or you can use the s3:ObjectCreated:* event type to request notification regardless of the API that was used to create an object.
@Stability(value=Experimental) public static final EventType OBJECT_CREATED_PUT
Using these event types, you can enable notification when an object is created using a specific API, or you can use the s3:ObjectCreated:* event type to request notification regardless of the API that was used to create an object.
@Stability(value=Experimental) public static final EventType OBJECT_CREATED_POST
Using these event types, you can enable notification when an object is created using a specific API, or you can use the s3:ObjectCreated:* event type to request notification regardless of the API that was used to create an object.
@Stability(value=Experimental) public static final EventType OBJECT_CREATED_COPY
Using these event types, you can enable notification when an object is created using a specific API, or you can use the s3:ObjectCreated:* event type to request notification regardless of the API that was used to create an object.
@Stability(value=Experimental) public static final EventType OBJECT_CREATED_COMPLETE_MULTIPART_UPLOAD
Using these event types, you can enable notification when an object is created using a specific API, or you can use the s3:ObjectCreated:* event type to request notification regardless of the API that was used to create an object.
@Stability(value=Experimental) public static final EventType OBJECT_REMOVED
You can request notification when an object is deleted or a versioned object is permanently deleted by using the s3:ObjectRemoved:Delete event type. Or you can request notification when a delete marker is created for a versioned object by using s3:ObjectRemoved:DeleteMarkerCreated. For information about deleting versioned objects, see Deleting Object Versions. You can also use a wildcard s3:ObjectRemoved:* to request notification anytime an object is deleted.
You will not receive event notifications from automatic deletes from lifecycle policies or from failed operations.
@Stability(value=Experimental) public static final EventType OBJECT_REMOVED_DELETE
You can request notification when an object is deleted or a versioned object is permanently deleted by using the s3:ObjectRemoved:Delete event type. Or you can request notification when a delete marker is created for a versioned object by using s3:ObjectRemoved:DeleteMarkerCreated. For information about deleting versioned objects, see Deleting Object Versions. You can also use a wildcard s3:ObjectRemoved:* to request notification anytime an object is deleted.
You will not receive event notifications from automatic deletes from lifecycle policies or from failed operations.
@Stability(value=Experimental) public static final EventType OBJECT_REMOVED_DELETE_MARKER_CREATED
You can request notification when an object is deleted or a versioned object is permanently deleted by using the s3:ObjectRemoved:Delete event type. Or you can request notification when a delete marker is created for a versioned object by using s3:ObjectRemoved:DeleteMarkerCreated. For information about deleting versioned objects, see Deleting Object Versions. You can also use a wildcard s3:ObjectRemoved:* to request notification anytime an object is deleted.
You will not receive event notifications from automatic deletes from lifecycle policies or from failed operations.
@Stability(value=Experimental) public static final EventType OBJECT_RESTORE_POST
You use s3:ObjectRestore:Post to request notification of object restoration initiation.
@Stability(value=Experimental) public static final EventType OBJECT_RESTORE_COMPLETED
You use s3:ObjectRestore:Completed to request notification of restoration completion.
@Stability(value=Experimental) public static final EventType REDUCED_REDUNDANCY_LOST_OBJECT
@Stability(value=Experimental) public static final EventType REPLICATION_OPERATION_FAILED_REPLICATION
@Stability(value=Experimental) public static final EventType REPLICATION_OPERATION_MISSED_THRESHOLD
@Stability(value=Experimental) public static final EventType REPLICATION_OPERATION_REPLICATED_AFTER_THRESHOLD
@Stability(value=Experimental) public static final EventType REPLICATION_OPERATION_NOT_TRACKED
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.