libZSservicesZSamazonka-codedeployZSamazonka-codedeploy
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.CodeDeploy.RegisterOnPremisesInstance

Description

Registers an on-premises instance.

Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request. You cannot use both.

Synopsis

Creating a Request

data RegisterOnPremisesInstance Source #

Represents the input of the register on-premises instance operation.

See: newRegisterOnPremisesInstance smart constructor.

Constructors

RegisterOnPremisesInstance' 

Fields

Instances

Instances details
Eq RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

Read RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

Show RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

Generic RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

Associated Types

type Rep RegisterOnPremisesInstance :: Type -> Type #

NFData RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

Hashable RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

ToJSON RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

AWSRequest RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

ToHeaders RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

ToPath RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

ToQuery RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

type Rep RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

type Rep RegisterOnPremisesInstance = D1 ('MetaData "RegisterOnPremisesInstance" "Amazonka.CodeDeploy.RegisterOnPremisesInstance" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "RegisterOnPremisesInstance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iamUserArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "iamSessionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse RegisterOnPremisesInstance Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

newRegisterOnPremisesInstance Source #

Create a value of RegisterOnPremisesInstance 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:iamUserArn:RegisterOnPremisesInstance', registerOnPremisesInstance_iamUserArn - The ARN of the IAM user to associate with the on-premises instance.

$sel:iamSessionArn:RegisterOnPremisesInstance', registerOnPremisesInstance_iamSessionArn - The ARN of the IAM session to associate with the on-premises instance.

$sel:instanceName:RegisterOnPremisesInstance', registerOnPremisesInstance_instanceName - The name of the on-premises instance to register.

Request Lenses

registerOnPremisesInstance_iamUserArn :: Lens' RegisterOnPremisesInstance (Maybe Text) Source #

The ARN of the IAM user to associate with the on-premises instance.

registerOnPremisesInstance_iamSessionArn :: Lens' RegisterOnPremisesInstance (Maybe Text) Source #

The ARN of the IAM session to associate with the on-premises instance.

registerOnPremisesInstance_instanceName :: Lens' RegisterOnPremisesInstance Text Source #

The name of the on-premises instance to register.

Destructuring the Response

data RegisterOnPremisesInstanceResponse Source #

Instances

Instances details
Eq RegisterOnPremisesInstanceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

Read RegisterOnPremisesInstanceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

Show RegisterOnPremisesInstanceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

Generic RegisterOnPremisesInstanceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

Associated Types

type Rep RegisterOnPremisesInstanceResponse :: Type -> Type #

NFData RegisterOnPremisesInstanceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

type Rep RegisterOnPremisesInstanceResponse Source # 
Instance details

Defined in Amazonka.CodeDeploy.RegisterOnPremisesInstance

type Rep RegisterOnPremisesInstanceResponse = D1 ('MetaData "RegisterOnPremisesInstanceResponse" "Amazonka.CodeDeploy.RegisterOnPremisesInstance" "libZSservicesZSamazonka-codedeployZSamazonka-codedeploy" 'False) (C1 ('MetaCons "RegisterOnPremisesInstanceResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRegisterOnPremisesInstanceResponse :: RegisterOnPremisesInstanceResponse Source #

Create a value of RegisterOnPremisesInstanceResponse with all optional fields omitted.

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