AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Namespace: Amazon.CodeDeploy
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract RegisterOnPremisesInstanceResponse RegisterOnPremisesInstance( RegisterOnPremisesInstanceRequest request )
Container for the necessary parameters to execute the RegisterOnPremisesInstance service method.
Exception | Condition |
---|---|
IamUserArnAlreadyRegisteredException | The specified IAM user ARN is already registered with an on-premises instance. |
IamUserArnRequiredException | An IAM user ARN was not specified. |
InstanceNameAlreadyRegisteredException | The specified on-premises instance name is already registered. |
InstanceNameRequiredException | An on-premises instance name was not specified. |
InvalidIamUserArnException | The IAM user ARN was specified in an invalid format. |
InvalidInstanceNameException | The specified on-premises instance name was specified in an invalid format. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5