Class: Aws::Connect::Types::AssociateInstanceStorageConfigRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb

Overview

Note:

When making an API call, you may pass AssociateInstanceStorageConfigRequest data as a hash:

{
  instance_id: "InstanceId", # required
  resource_type: "CHAT_TRANSCRIPTS", # required, accepts CHAT_TRANSCRIPTS, CALL_RECORDINGS, SCHEDULED_REPORTS, MEDIA_STREAMS, CONTACT_TRACE_RECORDS, AGENT_EVENTS
  storage_config: { # required
    association_id: "AssociationId",
    storage_type: "S3", # required, accepts S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM, KINESIS_FIREHOSE
    s3_config: {
      bucket_name: "BucketName", # required
      bucket_prefix: "Prefix", # required
      encryption_config: {
        encryption_type: "KMS", # required, accepts KMS
        key_id: "KeyId", # required
      },
    },
    kinesis_video_stream_config: {
      prefix: "Prefix", # required
      retention_period_hours: 1, # required
      encryption_config: { # required
        encryption_type: "KMS", # required, accepts KMS
        key_id: "KeyId", # required
      },
    },
    kinesis_stream_config: {
      stream_arn: "ARN", # required
    },
    kinesis_firehose_config: {
      firehose_arn: "ARN", # required
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Returns:

  • (String)


232
233
234
235
236
237
238
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 232

class AssociateInstanceStorageConfigRequest < Struct.new(
  :instance_id,
  :resource_type,
  :storage_config)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

A valid resource type.

Returns:

  • (String)


232
233
234
235
236
237
238
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 232

class AssociateInstanceStorageConfigRequest < Struct.new(
  :instance_id,
  :resource_type,
  :storage_config)
  SENSITIVE = []
  include Aws::Structure
end

#storage_configTypes::InstanceStorageConfig

A valid storage type.



232
233
234
235
236
237
238
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 232

class AssociateInstanceStorageConfigRequest < Struct.new(
  :instance_id,
  :resource_type,
  :storage_config)
  SENSITIVE = []
  include Aws::Structure
end