| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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
- data RegisterOnPremisesInstance = RegisterOnPremisesInstance' {}
- newRegisterOnPremisesInstance :: Text -> RegisterOnPremisesInstance
- registerOnPremisesInstance_iamUserArn :: Lens' RegisterOnPremisesInstance (Maybe Text)
- registerOnPremisesInstance_iamSessionArn :: Lens' RegisterOnPremisesInstance (Maybe Text)
- registerOnPremisesInstance_instanceName :: Lens' RegisterOnPremisesInstance Text
- data RegisterOnPremisesInstanceResponse = RegisterOnPremisesInstanceResponse' {
- newRegisterOnPremisesInstanceResponse :: RegisterOnPremisesInstanceResponse
Creating a Request
data RegisterOnPremisesInstance Source #
Represents the input of the register on-premises instance operation.
See: newRegisterOnPremisesInstance smart constructor.
Constructors
| RegisterOnPremisesInstance' | |
Fields
| |
Instances
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 #
See: newRegisterOnPremisesInstanceResponse smart constructor.
Constructors
| RegisterOnPremisesInstanceResponse' | |
Instances
newRegisterOnPremisesInstanceResponse :: RegisterOnPremisesInstanceResponse Source #
Create a value of RegisterOnPremisesInstanceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.