NAME

Paws::Connect::AssociateInstanceStorageConfig - Arguments for method AssociateInstanceStorageConfig on Paws::Connect

DESCRIPTION

This class represents the parameters used for calling the method AssociateInstanceStorageConfig on the Amazon Connect Service service. Use the attributes of this class as arguments to method AssociateInstanceStorageConfig.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AssociateInstanceStorageConfig.

SYNOPSIS

my $connect = Paws->service('Connect');
my $AssociateInstanceStorageConfigResponse =
  $connect->AssociateInstanceStorageConfig(
  InstanceId    => 'MyInstanceId',
  ResourceType  => 'CHAT_TRANSCRIPTS',
  StorageConfig => {
    StorageType => 'S3'
    ,   # values: S3, KINESIS_VIDEO_STREAM, KINESIS_STREAM, KINESIS_FIREHOSE
    AssociationId         => 'MyAssociationId', # min: 1, max: 100; OPTIONAL
    KinesisFirehoseConfig => {
      FirehoseArn => 'MyARN',

    },                                          # OPTIONAL
    KinesisStreamConfig => {
      StreamArn => 'MyARN',

    },                                          # OPTIONAL
    KinesisVideoStreamConfig => {
      EncryptionConfig => {
        EncryptionType => 'KMS',        # values: KMS
        KeyId          => 'MyKeyId',    # min: 1, max: 128

      },
      Prefix               => 'MyPrefix',    # min: 1, max: 128
      RetentionPeriodHours => 1,             # max: 87600

    },    # OPTIONAL
    S3Config => {
      BucketName       => 'MyBucketName',    # min: 1, max: 128
      BucketPrefix     => 'MyPrefix',        # min: 1, max: 128
      EncryptionConfig => {
        EncryptionType => 'KMS',             # values: KMS
        KeyId          => 'MyKeyId',         # min: 1, max: 128

      },
    },    # OPTIONAL
  },

  );

# Results:
my $AssociationId = $AssociateInstanceStorageConfigResponse->AssociationId;

# Returns a L<Paws::Connect::AssociateInstanceStorageConfigResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/connect/AssociateInstanceStorageConfig

ATTRIBUTES

REQUIRED InstanceId => Str

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

REQUIRED ResourceType => Str

A valid resource type.

Valid values are: "CHAT_TRANSCRIPTS", "CALL_RECORDINGS", "SCHEDULED_REPORTS", "MEDIA_STREAMS", "CONTACT_TRACE_RECORDS", "AGENT_EVENTS"

REQUIRED StorageConfig => Paws::Connect::InstanceStorageConfig

A valid storage type.

SEE ALSO

This class forms part of Paws, documenting arguments for method AssociateInstanceStorageConfig in Paws::Connect

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues