Class: Aws::S3::Types::PutBucketNotificationConfigurationRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-s3/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucketString

The name of the bucket.

Returns:

  • (String)

9881
9882
9883
9884
9885
9886
9887
9888
# File 'lib/aws-sdk-s3/types.rb', line 9881

class PutBucketNotificationConfigurationRequest < Struct.new(
  :bucket,
  :notification_configuration,
  :expected_bucket_owner,
  :skip_destination_validation)
  SENSITIVE = []
  include Aws::Structure
end

#expected_bucket_ownerString

The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code `403 Forbidden` (access denied).

Returns:

  • (String)

9881
9882
9883
9884
9885
9886
9887
9888
# File 'lib/aws-sdk-s3/types.rb', line 9881

class PutBucketNotificationConfigurationRequest < Struct.new(
  :bucket,
  :notification_configuration,
  :expected_bucket_owner,
  :skip_destination_validation)
  SENSITIVE = []
  include Aws::Structure
end

#notification_configurationTypes::NotificationConfiguration

A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.


9881
9882
9883
9884
9885
9886
9887
9888
# File 'lib/aws-sdk-s3/types.rb', line 9881

class PutBucketNotificationConfigurationRequest < Struct.new(
  :bucket,
  :notification_configuration,
  :expected_bucket_owner,
  :skip_destination_validation)
  SENSITIVE = []
  include Aws::Structure
end

#skip_destination_validationBoolean

Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.

Returns:

  • (Boolean)

9881
9882
9883
9884
9885
9886
9887
9888
# File 'lib/aws-sdk-s3/types.rb', line 9881

class PutBucketNotificationConfigurationRequest < Struct.new(
  :bucket,
  :notification_configuration,
  :expected_bucket_owner,
  :skip_destination_validation)
  SENSITIVE = []
  include Aws::Structure
end