libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
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.StorageGateway.DeleteChapCredentials

Description

Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair. This operation is supported in volume and tape gateway types.

Synopsis

Creating a Request

data DeleteChapCredentials Source #

A JSON object containing one or more of the following fields:

  • DeleteChapCredentialsInput$InitiatorName
  • DeleteChapCredentialsInput$TargetARN

See: newDeleteChapCredentials smart constructor.

Constructors

DeleteChapCredentials' 

Fields

  • targetARN :: Text

    The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

  • initiatorName :: Text

    The iSCSI initiator that connects to the target.

Instances

Instances details
Eq DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

Read DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

Show DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

Generic DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

Associated Types

type Rep DeleteChapCredentials :: Type -> Type #

NFData DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

Methods

rnf :: DeleteChapCredentials -> () #

Hashable DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

ToJSON DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

AWSRequest DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

Associated Types

type AWSResponse DeleteChapCredentials #

ToHeaders DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

ToPath DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

ToQuery DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

type Rep DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

type Rep DeleteChapCredentials = D1 ('MetaData "DeleteChapCredentials" "Amazonka.StorageGateway.DeleteChapCredentials" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DeleteChapCredentials'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "initiatorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteChapCredentials Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

newDeleteChapCredentials Source #

Create a value of DeleteChapCredentials 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:targetARN:DeleteChapCredentials', deleteChapCredentials_targetARN - The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

$sel:initiatorName:DeleteChapCredentials', deleteChapCredentials_initiatorName - The iSCSI initiator that connects to the target.

Request Lenses

deleteChapCredentials_targetARN :: Lens' DeleteChapCredentials Text Source #

The Amazon Resource Name (ARN) of the iSCSI volume target. Use the DescribeStorediSCSIVolumes operation to return to retrieve the TargetARN for specified VolumeARN.

deleteChapCredentials_initiatorName :: Lens' DeleteChapCredentials Text Source #

The iSCSI initiator that connects to the target.

Destructuring the Response

data DeleteChapCredentialsResponse Source #

A JSON object containing the following fields:

See: newDeleteChapCredentialsResponse smart constructor.

Constructors

DeleteChapCredentialsResponse' 

Fields

Instances

Instances details
Eq DeleteChapCredentialsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

Read DeleteChapCredentialsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

Show DeleteChapCredentialsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

Generic DeleteChapCredentialsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

Associated Types

type Rep DeleteChapCredentialsResponse :: Type -> Type #

NFData DeleteChapCredentialsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

type Rep DeleteChapCredentialsResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteChapCredentials

type Rep DeleteChapCredentialsResponse = D1 ('MetaData "DeleteChapCredentialsResponse" "Amazonka.StorageGateway.DeleteChapCredentials" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DeleteChapCredentialsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "targetARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "initiatorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDeleteChapCredentialsResponse Source #

Create a value of DeleteChapCredentialsResponse 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:targetARN:DeleteChapCredentials', deleteChapCredentialsResponse_targetARN - The Amazon Resource Name (ARN) of the target.

$sel:initiatorName:DeleteChapCredentials', deleteChapCredentialsResponse_initiatorName - The iSCSI initiator that connects to the target.

$sel:httpStatus:DeleteChapCredentialsResponse', deleteChapCredentialsResponse_httpStatus - The response's http status code.

Response Lenses