libZSservicesZSamazonka-connectZSamazonka-connect
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Connect.AssociateInstanceStorageConfig

Description

This API is in preview release for Amazon Connect and is subject to change.

Associates a storage resource type for the first time. You can only associate one type of storage configuration in a single call. This means, for example, that you can't define an instance with multiple S3 buckets for storing chat transcripts.

This API does not create a resource that doesn't exist. It only associates it to the instance. Ensure that the resource being specified in the storage configuration, like an S3 bucket, exists when being used for association.

Synopsis

Creating a Request

data AssociateInstanceStorageConfig Source #

See: newAssociateInstanceStorageConfig smart constructor.

Constructors

AssociateInstanceStorageConfig' 

Fields

Instances

Instances details
Eq AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

Read AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

Show AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

Generic AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

Associated Types

type Rep AssociateInstanceStorageConfig :: Type -> Type #

NFData AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

Hashable AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

ToJSON AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

AWSRequest AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

ToHeaders AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

ToPath AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

ToQuery AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

type Rep AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

type Rep AssociateInstanceStorageConfig = D1 ('MetaData "AssociateInstanceStorageConfig" "Amazonka.Connect.AssociateInstanceStorageConfig" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "AssociateInstanceStorageConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InstanceStorageResourceType) :*: S1 ('MetaSel ('Just "storageConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InstanceStorageConfig))))
type AWSResponse AssociateInstanceStorageConfig Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

Request Lenses

associateInstanceStorageConfig_instanceId :: Lens' AssociateInstanceStorageConfig Text Source #

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

Destructuring the Response

data AssociateInstanceStorageConfigResponse Source #

Constructors

AssociateInstanceStorageConfigResponse' 

Fields

  • associationId :: Maybe Text

    The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq AssociateInstanceStorageConfigResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

Read AssociateInstanceStorageConfigResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

Show AssociateInstanceStorageConfigResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

Generic AssociateInstanceStorageConfigResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

NFData AssociateInstanceStorageConfigResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

type Rep AssociateInstanceStorageConfigResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateInstanceStorageConfig

type Rep AssociateInstanceStorageConfigResponse = D1 ('MetaData "AssociateInstanceStorageConfigResponse" "Amazonka.Connect.AssociateInstanceStorageConfig" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "AssociateInstanceStorageConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateInstanceStorageConfigResponse Source #

Create a value of AssociateInstanceStorageConfigResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:associationId:AssociateInstanceStorageConfigResponse', associateInstanceStorageConfigResponse_associationId - The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.

$sel:httpStatus:AssociateInstanceStorageConfigResponse', associateInstanceStorageConfigResponse_httpStatus - The response's http status code.

Response Lenses

associateInstanceStorageConfigResponse_associationId :: Lens' AssociateInstanceStorageConfigResponse (Maybe Text) Source #

The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.