AssociateCertificate
Associates an ACM certificate with the specified proxy.
Request Parameters
- certificateIdentifier
-
The Amazon Resource Name (ARN) of the ACM certificate.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 512.
Pattern:
arn:[a-z0-9\-]+:acm:[a-z0-9\-]+:[0-9]{12}:certificate/.+Required: Yes
- proxyIdentifier
-
The Amazon Resource Name (ARN) of the proxy.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
arn:[a-z-]+:elasticloadbalancing:[a-z0-9-]+:[0-9]{12}:proxy/[a-zA-Z0-9-]+:[a-zA-Z0-9]+Required: Yes
Response Elements
The following element is returned by the service.
- certificateAssociation
-
The certificate association.
Type: CertificateAssociation object
Errors
For information about the errors that are common to all actions, see Common Error Types.
- AccessDeniedException
-
The user does not have sufficient access to perform this action.
- message
-
The error message.
HTTP Status Code: 403
- ConflictException
-
The request conflicts with the current state of the resource.
- message
-
The error message.
HTTP Status Code: 409
- InternalServerException
-
An unexpected error occurred while processing the request.
- message
-
The error message.
HTTP Status Code: 500
- ResourceNotFoundException
-
The request references a resource that does not exist.
- message
-
The error message.
HTTP Status Code: 404
- ServiceQuotaExceededException
-
The request would cause a service quota to be exceeded.
- message
-
The error message.
- quotaCode
-
The ID of the service quota that was exceeded.
- resourceId
-
The ID of the resource that caused the service quota to be exceeded.
- resourceType
-
The type of the resource that caused the service quota to be exceeded.
- serviceCode
-
The code of the service associated with the exceeded quota.
HTTP Status Code: 402
- ThrottlingException
-
The limit on the number of requests per second was exceeded.
- message
-
The error message.
HTTP Status Code: 429
- ValidationError
-
The input does not satisfy the constraints specified by an AWS service.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: