| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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_iamSessionArn :: Lens' RegisterOnPremisesInstance (Maybe Text)
- registerOnPremisesInstance_iamUserArn :: 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 #
Arguments
| :: Text | |
| -> RegisterOnPremisesInstance |
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:
RegisterOnPremisesInstance, registerOnPremisesInstance_iamSessionArn - The ARN of the IAM session to associate with the on-premises instance.
RegisterOnPremisesInstance, registerOnPremisesInstance_iamUserArn - The ARN of the IAM user to associate with the on-premises instance.
RegisterOnPremisesInstance, registerOnPremisesInstance_instanceName - The name of the on-premises instance to register.
Request Lenses
registerOnPremisesInstance_iamSessionArn :: Lens' RegisterOnPremisesInstance (Maybe Text) Source #
The ARN of the IAM session to associate with the on-premises instance.
registerOnPremisesInstance_iamUserArn :: Lens' RegisterOnPremisesInstance (Maybe Text) Source #
The ARN of the IAM user 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.