libZSservicesZSamazonka-codestar-connectionsZSamazonka-codestar-connections
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.CodeStarConnections.DeleteHost

Description

The host to be deleted. Before you delete a host, all connections associated to the host must be deleted.

A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.

Synopsis

Creating a Request

data DeleteHost Source #

See: newDeleteHost smart constructor.

Constructors

DeleteHost' 

Fields

  • hostArn :: Text

    The Amazon Resource Name (ARN) of the host to be deleted.

Instances

Instances details
Eq DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Read DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Show DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Generic DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Associated Types

type Rep DeleteHost :: Type -> Type #

NFData DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Methods

rnf :: DeleteHost -> () #

Hashable DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

ToJSON DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

AWSRequest DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Associated Types

type AWSResponse DeleteHost #

ToHeaders DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Methods

toHeaders :: DeleteHost -> [Header] #

ToPath DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

ToQuery DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

type Rep DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

type Rep DeleteHost = D1 ('MetaData "DeleteHost" "Amazonka.CodeStarConnections.DeleteHost" "libZSservicesZSamazonka-codestar-connectionsZSamazonka-codestar-connections" 'False) (C1 ('MetaCons "DeleteHost'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteHost Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

newDeleteHost Source #

Create a value of DeleteHost 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:hostArn:DeleteHost', deleteHost_hostArn - The Amazon Resource Name (ARN) of the host to be deleted.

Request Lenses

deleteHost_hostArn :: Lens' DeleteHost Text Source #

The Amazon Resource Name (ARN) of the host to be deleted.

Destructuring the Response

data DeleteHostResponse Source #

See: newDeleteHostResponse smart constructor.

Constructors

DeleteHostResponse' 

Fields

Instances

Instances details
Eq DeleteHostResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Read DeleteHostResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Show DeleteHostResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Generic DeleteHostResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Associated Types

type Rep DeleteHostResponse :: Type -> Type #

NFData DeleteHostResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

Methods

rnf :: DeleteHostResponse -> () #

type Rep DeleteHostResponse Source # 
Instance details

Defined in Amazonka.CodeStarConnections.DeleteHost

type Rep DeleteHostResponse = D1 ('MetaData "DeleteHostResponse" "Amazonka.CodeStarConnections.DeleteHost" "libZSservicesZSamazonka-codestar-connectionsZSamazonka-codestar-connections" 'False) (C1 ('MetaCons "DeleteHostResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteHostResponse Source #

Create a value of DeleteHostResponse 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:httpStatus:DeleteHostResponse', deleteHostResponse_httpStatus - The response's http status code.

Response Lenses