Nothing
# This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common get_config new_operation new_request send_request
#' @include acm_service.R
NULL
#' Adds one or more tags to an ACM certificate
#'
#' @description
#' Adds one or more tags to an ACM certificate. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a `key` and an optional `value`. You specify the certificate on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_add_tags_to_certificate/](https://www.paws-r-sdk.com/docs/acm_add_tags_to_certificate/) for full documentation.
#'
#' @param CertificateArn [required] String that contains the ARN of the ACM certificate to which the tag is to be applied. This must be of the form:
#'
#' `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
#'
#' For more information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html).
#' @param Tags [required] The key-value pair that defines the tag. The tag value is optional.
#'
#' @keywords internal
#'
#' @rdname acm_add_tags_to_certificate
acm_add_tags_to_certificate <- function(CertificateArn, Tags) {
op <- new_operation(
name = "AddTagsToCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$add_tags_to_certificate_input(CertificateArn = CertificateArn, Tags = Tags)
output <- .acm$add_tags_to_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$add_tags_to_certificate <- acm_add_tags_to_certificate
#' Creates a domain validation for an ACME endpoint
#'
#' @description
#' Creates a domain validation for an ACME endpoint. Domain validations authorize the endpoint to issue certificates for specified domain names. You configure prevalidation to prove domain ownership.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_create_acme_domain_validation/](https://www.paws-r-sdk.com/docs/acm_create_acme_domain_validation/) for full documentation.
#'
#' @param IdempotencyToken A unique, case-sensitive identifier to ensure idempotency of the request.
#' @param AcmeEndpointArn [required] The Amazon Resource Name (ARN) of the ACME endpoint.
#' @param DomainName [required] The domain name to validate.
#' @param PrevalidationOptions [required] The prevalidation options for the domain.
#' @param Tags One or more tags to associate with the domain validation.
#'
#' @keywords internal
#'
#' @rdname acm_create_acme_domain_validation
acm_create_acme_domain_validation <- function(IdempotencyToken = NULL, AcmeEndpointArn, DomainName, PrevalidationOptions, Tags = NULL) {
op <- new_operation(
name = "CreateAcmeDomainValidation",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$create_acme_domain_validation_input(IdempotencyToken = IdempotencyToken, AcmeEndpointArn = AcmeEndpointArn, DomainName = DomainName, PrevalidationOptions = PrevalidationOptions, Tags = Tags)
output <- .acm$create_acme_domain_validation_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$create_acme_domain_validation <- acm_create_acme_domain_validation
#' Creates an ACME endpoint, which is a managed ACME server with a unique
#' endpoint URL
#'
#' @description
#' Creates an ACME endpoint, which is a managed ACME server with a unique endpoint URL. After creation, ACME clients can use the endpoint URL to automate certificate issuance using the ACME protocol.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_create_acme_endpoint/](https://www.paws-r-sdk.com/docs/acm_create_acme_endpoint/) for full documentation.
#'
#' @param IdempotencyToken A unique, case-sensitive identifier to ensure idempotency of the request.
#' @param AuthorizationBehavior [required] The authorization behavior for the ACME endpoint.
#' @param Contact Specifies whether ACME clients must provide contact information during account registration.
#' @param CertificateAuthority [required] The type of certificate authority to use for issuing certificates through this ACME endpoint.
#' @param Tags One or more tags to associate with the ACME endpoint.
#' @param CertificateTags Tags to apply to certificates issued through this ACME endpoint.
#'
#' @keywords internal
#'
#' @rdname acm_create_acme_endpoint
acm_create_acme_endpoint <- function(IdempotencyToken = NULL, AuthorizationBehavior, Contact = NULL, CertificateAuthority, Tags = NULL, CertificateTags = NULL) {
op <- new_operation(
name = "CreateAcmeEndpoint",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$create_acme_endpoint_input(IdempotencyToken = IdempotencyToken, AuthorizationBehavior = AuthorizationBehavior, Contact = Contact, CertificateAuthority = CertificateAuthority, Tags = Tags, CertificateTags = CertificateTags)
output <- .acm$create_acme_endpoint_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$create_acme_endpoint <- acm_create_acme_endpoint
#' Creates an external account binding (EAB) for an ACME endpoint
#'
#' @description
#' Creates an external account binding (EAB) for an ACME endpoint. An EAB provides credentials that authorize an ACME client to register an account with the endpoint. Each EAB is associated with an IAM role that controls what certificate operations the ACME client can perform.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_create_acme_external_account_binding/](https://www.paws-r-sdk.com/docs/acm_create_acme_external_account_binding/) for full documentation.
#'
#' @param IdempotencyToken A unique, case-sensitive identifier to ensure idempotency of the request.
#' @param AcmeEndpointArn [required] The Amazon Resource Name (ARN) of the ACME endpoint.
#' @param RoleArn [required] The Amazon Resource Name (ARN) of the IAM role to associate with the external account binding.
#' @param Expiration The expiration configuration for the external account binding.
#' @param Tags One or more tags to associate with the external account binding.
#'
#' @keywords internal
#'
#' @rdname acm_create_acme_external_account_binding
acm_create_acme_external_account_binding <- function(IdempotencyToken = NULL, AcmeEndpointArn, RoleArn, Expiration = NULL, Tags = NULL) {
op <- new_operation(
name = "CreateAcmeExternalAccountBinding",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$create_acme_external_account_binding_input(IdempotencyToken = IdempotencyToken, AcmeEndpointArn = AcmeEndpointArn, RoleArn = RoleArn, Expiration = Expiration, Tags = Tags)
output <- .acm$create_acme_external_account_binding_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$create_acme_external_account_binding <- acm_create_acme_external_account_binding
#' Deletes a domain validation
#'
#' @description
#' Deletes a domain validation. After deletion, the ACME endpoint can no longer issue certificates for the associated domain.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_delete_acme_domain_validation/](https://www.paws-r-sdk.com/docs/acm_delete_acme_domain_validation/) for full documentation.
#'
#' @param AcmeDomainValidationArn [required] The Amazon Resource Name (ARN) of the ACME domain validation to delete.
#'
#' @keywords internal
#'
#' @rdname acm_delete_acme_domain_validation
acm_delete_acme_domain_validation <- function(AcmeDomainValidationArn) {
op <- new_operation(
name = "DeleteAcmeDomainValidation",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$delete_acme_domain_validation_input(AcmeDomainValidationArn = AcmeDomainValidationArn)
output <- .acm$delete_acme_domain_validation_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$delete_acme_domain_validation <- acm_delete_acme_domain_validation
#' Deletes an ACME endpoint
#'
#' @description
#' Deletes an ACME endpoint. After deletion, the endpoint URL is no longer accessible and ACME clients cannot issue certificates through it. Any existing external account bindings and domain validations associated with the endpoint are also deleted.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_delete_acme_endpoint/](https://www.paws-r-sdk.com/docs/acm_delete_acme_endpoint/) for full documentation.
#'
#' @param AcmeEndpointArn [required] The Amazon Resource Name (ARN) of the ACME endpoint to delete.
#'
#' @keywords internal
#'
#' @rdname acm_delete_acme_endpoint
acm_delete_acme_endpoint <- function(AcmeEndpointArn) {
op <- new_operation(
name = "DeleteAcmeEndpoint",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$delete_acme_endpoint_input(AcmeEndpointArn = AcmeEndpointArn)
output <- .acm$delete_acme_endpoint_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$delete_acme_endpoint <- acm_delete_acme_endpoint
#' Deletes an external account binding
#'
#' @description
#' Deletes an external account binding. Previously fetched credentials for this binding will no longer be usable for account registration. A deleted binding cannot be recovered.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_delete_acme_external_account_binding/](https://www.paws-r-sdk.com/docs/acm_delete_acme_external_account_binding/) for full documentation.
#'
#' @param AcmeExternalAccountBindingArn [required] The Amazon Resource Name (ARN) of the ACME external account binding to delete.
#'
#' @keywords internal
#'
#' @rdname acm_delete_acme_external_account_binding
acm_delete_acme_external_account_binding <- function(AcmeExternalAccountBindingArn) {
op <- new_operation(
name = "DeleteAcmeExternalAccountBinding",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$delete_acme_external_account_binding_input(AcmeExternalAccountBindingArn = AcmeExternalAccountBindingArn)
output <- .acm$delete_acme_external_account_binding_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$delete_acme_external_account_binding <- acm_delete_acme_external_account_binding
#' Deletes a certificate and its associated private key
#'
#' @description
#' Deletes a certificate and its associated private key. If this action succeeds, the certificate is not available for use by Amazon Web Services services integrated with ACM. Deleting a certificate is eventually consistent. The may be a short delay before the certificate no longer appears in the list that can be displayed by calling the [`list_certificates`][acm_list_certificates] action or be retrieved by calling the [`get_certificate`][acm_get_certificate] action.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_delete_certificate/](https://www.paws-r-sdk.com/docs/acm_delete_certificate/) for full documentation.
#'
#' @param CertificateArn [required] String that contains the ARN of the ACM certificate to be deleted. This must be of the form:
#'
#' `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
#'
#' For more information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html).
#'
#' @keywords internal
#'
#' @rdname acm_delete_certificate
acm_delete_certificate <- function(CertificateArn) {
op <- new_operation(
name = "DeleteCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$delete_certificate_input(CertificateArn = CertificateArn)
output <- .acm$delete_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$delete_certificate <- acm_delete_certificate
#' Returns detailed metadata about the specified ACME account, including
#' its status, public key thumbprint, and associated external account
#' binding
#'
#' @description
#' Returns detailed metadata about the specified ACME account, including its status, public key thumbprint, and associated external account binding.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_describe_acme_account/](https://www.paws-r-sdk.com/docs/acm_describe_acme_account/) for full documentation.
#'
#' @param AcmeEndpointArn [required] The Amazon Resource Name (ARN) of the ACME endpoint.
#' @param AccountUrl [required] The URL of the ACME account.
#'
#' @keywords internal
#'
#' @rdname acm_describe_acme_account
acm_describe_acme_account <- function(AcmeEndpointArn, AccountUrl) {
op <- new_operation(
name = "DescribeAcmeAccount",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$describe_acme_account_input(AcmeEndpointArn = AcmeEndpointArn, AccountUrl = AccountUrl)
output <- .acm$describe_acme_account_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$describe_acme_account <- acm_describe_acme_account
#' Returns detailed metadata about the specified domain validation,
#' including its status, domain scope, and DNS resource records required
#' for validation
#'
#' @description
#' Returns detailed metadata about the specified domain validation, including its status, domain scope, and DNS resource records required for validation.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_describe_acme_domain_validation/](https://www.paws-r-sdk.com/docs/acm_describe_acme_domain_validation/) for full documentation.
#'
#' @param AcmeDomainValidationArn [required] The Amazon Resource Name (ARN) of the ACME domain validation.
#'
#' @keywords internal
#'
#' @rdname acm_describe_acme_domain_validation
acm_describe_acme_domain_validation <- function(AcmeDomainValidationArn) {
op <- new_operation(
name = "DescribeAcmeDomainValidation",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$describe_acme_domain_validation_input(AcmeDomainValidationArn = AcmeDomainValidationArn)
output <- .acm$describe_acme_domain_validation_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$describe_acme_domain_validation <- acm_describe_acme_domain_validation
#' Returns detailed metadata about the specified ACME endpoint, including
#' its status, URL, authorization behavior, and certificate authority
#' configuration
#'
#' @description
#' Returns detailed metadata about the specified ACME endpoint, including its status, URL, authorization behavior, and certificate authority configuration.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_describe_acme_endpoint/](https://www.paws-r-sdk.com/docs/acm_describe_acme_endpoint/) for full documentation.
#'
#' @param AcmeEndpointArn [required] The Amazon Resource Name (ARN) of the ACME endpoint.
#'
#' @keywords internal
#'
#' @rdname acm_describe_acme_endpoint
acm_describe_acme_endpoint <- function(AcmeEndpointArn) {
op <- new_operation(
name = "DescribeAcmeEndpoint",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$describe_acme_endpoint_input(AcmeEndpointArn = AcmeEndpointArn)
output <- .acm$describe_acme_endpoint_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$describe_acme_endpoint <- acm_describe_acme_endpoint
#' Returns detailed metadata about the specified external account binding,
#' including the associated IAM role, expiration time, and usage history
#'
#' @description
#' Returns detailed metadata about the specified external account binding, including the associated IAM role, expiration time, and usage history.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_describe_acme_external_account_binding/](https://www.paws-r-sdk.com/docs/acm_describe_acme_external_account_binding/) for full documentation.
#'
#' @param AcmeExternalAccountBindingArn [required] The Amazon Resource Name (ARN) of the ACME external account binding.
#'
#' @keywords internal
#'
#' @rdname acm_describe_acme_external_account_binding
acm_describe_acme_external_account_binding <- function(AcmeExternalAccountBindingArn) {
op <- new_operation(
name = "DescribeAcmeExternalAccountBinding",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$describe_acme_external_account_binding_input(AcmeExternalAccountBindingArn = AcmeExternalAccountBindingArn)
output <- .acm$describe_acme_external_account_binding_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$describe_acme_external_account_binding <- acm_describe_acme_external_account_binding
#' Returns detailed metadata about the specified ACM certificate
#'
#' @description
#' Returns detailed metadata about the specified ACM certificate.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_describe_certificate/](https://www.paws-r-sdk.com/docs/acm_describe_certificate/) for full documentation.
#'
#' @param CertificateArn [required] The Amazon Resource Name (ARN) of the ACM certificate. The ARN must have the following form:
#'
#' `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
#'
#' For more information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html).
#'
#' @keywords internal
#'
#' @rdname acm_describe_certificate
acm_describe_certificate <- function(CertificateArn) {
op <- new_operation(
name = "DescribeCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$describe_certificate_input(CertificateArn = CertificateArn)
output <- .acm$describe_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$describe_certificate <- acm_describe_certificate
#' Exports a private certificate issued by a private certificate authority
#' (CA) or a public certificate for use anywhere
#'
#' @description
#' Exports a private certificate issued by a private certificate authority (CA) or a public certificate for use anywhere. The exported file contains the certificate, the certificate chain, and the encrypted private key associated with the public key that is embedded in the certificate. For security, you must assign a passphrase for the private key when exporting it.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_export_certificate/](https://www.paws-r-sdk.com/docs/acm_export_certificate/) for full documentation.
#'
#' @param CertificateArn [required] An Amazon Resource Name (ARN) of the issued certificate. This must be of the form:
#'
#' `arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012`
#' @param Passphrase [required] Passphrase to associate with the encrypted exported private key.
#'
#' When creating your passphrase, you can use any ASCII character except #, $, or %.
#'
#' If you want to later decrypt the private key, you must have the passphrase. You can use the following OpenSSL command to decrypt a private key. After entering the command, you are prompted for the passphrase.
#'
#' `openssl rsa -in encrypted_key.pem -out decrypted_key.pem`
#'
#' @keywords internal
#'
#' @rdname acm_export_certificate
acm_export_certificate <- function(CertificateArn, Passphrase) {
op <- new_operation(
name = "ExportCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$export_certificate_input(CertificateArn = CertificateArn, Passphrase = Passphrase)
output <- .acm$export_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$export_certificate <- acm_export_certificate
#' Returns the account configuration options associated with an Amazon Web
#' Services account
#'
#' @description
#' Returns the account configuration options associated with an Amazon Web Services account.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_get_account_configuration/](https://www.paws-r-sdk.com/docs/acm_get_account_configuration/) for full documentation.
#'
#'
#' @keywords internal
#'
#' @rdname acm_get_account_configuration
acm_get_account_configuration <- function() {
op <- new_operation(
name = "GetAccountConfiguration",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$get_account_configuration_input()
output <- .acm$get_account_configuration_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$get_account_configuration <- acm_get_account_configuration
#' Retrieves the key ID and MAC key credentials for an external account
#' binding
#'
#' @description
#' Retrieves the key ID and MAC key credentials for an external account binding. These credentials are used by ACME clients during account registration to bind to the endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_get_acme_external_account_binding_credentials/](https://www.paws-r-sdk.com/docs/acm_get_acme_external_account_binding_credentials/) for full documentation.
#'
#' @param AcmeExternalAccountBindingArn [required] The Amazon Resource Name (ARN) of the ACME external account binding.
#'
#' @keywords internal
#'
#' @rdname acm_get_acme_external_account_binding_credentials
acm_get_acme_external_account_binding_credentials <- function(AcmeExternalAccountBindingArn) {
op <- new_operation(
name = "GetAcmeExternalAccountBindingCredentials",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$get_acme_external_account_binding_credentials_input(AcmeExternalAccountBindingArn = AcmeExternalAccountBindingArn)
output <- .acm$get_acme_external_account_binding_credentials_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$get_acme_external_account_binding_credentials <- acm_get_acme_external_account_binding_credentials
#' Retrieves a certificate and its certificate chain
#'
#' @description
#' Retrieves a certificate and its certificate chain. The certificate may be either a public or private certificate issued using the ACM [`request_certificate`][acm_request_certificate] action, or a certificate imported into ACM using the [`import_certificate`][acm_import_certificate] action. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. All of the certificates are base64 encoded. You can use [OpenSSL](https://wiki.openssl.org/index.php/Command_Line_Utilities) to decode the certificates and inspect individual fields.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_get_certificate/](https://www.paws-r-sdk.com/docs/acm_get_certificate/) for full documentation.
#'
#' @param CertificateArn [required] String that contains a certificate ARN in the following format:
#'
#' `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
#'
#' For more information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html).
#'
#' @keywords internal
#'
#' @rdname acm_get_certificate
acm_get_certificate <- function(CertificateArn) {
op <- new_operation(
name = "GetCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$get_certificate_input(CertificateArn = CertificateArn)
output <- .acm$get_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$get_certificate <- acm_get_certificate
#' Imports a certificate into Certificate Manager (ACM) to use with
#' services that are integrated with ACM
#'
#' @description
#' Imports a certificate into Certificate Manager (ACM) to use with services that are integrated with ACM. Note that [integrated services](https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html) allow only certificate types and keys they support to be associated with their resources. Further, their support differs depending on whether the certificate is imported into IAM or into ACM. For more information, see the documentation for each service. For more information about importing certificates into ACM, see [Importing Certificates](https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in the *Certificate Manager User Guide*.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_import_certificate/](https://www.paws-r-sdk.com/docs/acm_import_certificate/) for full documentation.
#'
#' @param CertificateArn The [Amazon Resource Name (ARN)](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html) of an imported certificate to replace. To import a new certificate, omit this field.
#' @param Certificate [required] The certificate to import.
#' @param PrivateKey [required] The private key that matches the public key in the certificate.
#' @param CertificateChain The PEM encoded certificate chain.
#' @param Tags One or more resource tags to associate with the imported certificate.
#'
#' Note: You cannot apply tags when reimporting a certificate.
#'
#' @keywords internal
#'
#' @rdname acm_import_certificate
acm_import_certificate <- function(CertificateArn = NULL, Certificate, PrivateKey, CertificateChain = NULL, Tags = NULL) {
op <- new_operation(
name = "ImportCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$import_certificate_input(CertificateArn = CertificateArn, Certificate = Certificate, PrivateKey = PrivateKey, CertificateChain = CertificateChain, Tags = Tags)
output <- .acm$import_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$import_certificate <- acm_import_certificate
#' Retrieves a list of ACME accounts registered with the specified ACME
#' endpoint
#'
#' @description
#' Retrieves a list of ACME accounts registered with the specified ACME endpoint. ACME accounts are created when clients use external account binding credentials to register.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_list_acme_accounts/](https://www.paws-r-sdk.com/docs/acm_list_acme_accounts/) for full documentation.
#'
#' @param NextToken A token for pagination.
#' @param MaxResults The maximum number of results to return.
#' @param AcmeEndpointArn [required] The Amazon Resource Name (ARN) of the ACME endpoint.
#'
#' @keywords internal
#'
#' @rdname acm_list_acme_accounts
acm_list_acme_accounts <- function(NextToken = NULL, MaxResults = NULL, AcmeEndpointArn) {
op <- new_operation(
name = "ListAcmeAccounts",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(input_token = "NextToken", output_token = "NextToken", limit_key = "MaxResults", result_key = "AcmeAccounts"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$list_acme_accounts_input(NextToken = NextToken, MaxResults = MaxResults, AcmeEndpointArn = AcmeEndpointArn)
output <- .acm$list_acme_accounts_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$list_acme_accounts <- acm_list_acme_accounts
#' Retrieves a list of domain validations for the specified ACME endpoint
#'
#' @description
#' Retrieves a list of domain validations for the specified ACME endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_list_acme_domain_validations/](https://www.paws-r-sdk.com/docs/acm_list_acme_domain_validations/) for full documentation.
#'
#' @param NextToken A token for pagination.
#' @param MaxResults The maximum number of results to return.
#' @param AcmeEndpointArn [required] The Amazon Resource Name (ARN) of the ACME endpoint.
#'
#' @keywords internal
#'
#' @rdname acm_list_acme_domain_validations
acm_list_acme_domain_validations <- function(NextToken = NULL, MaxResults = NULL, AcmeEndpointArn) {
op <- new_operation(
name = "ListAcmeDomainValidations",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(input_token = "NextToken", output_token = "NextToken", limit_key = "MaxResults", result_key = "AcmeDomainValidations"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$list_acme_domain_validations_input(NextToken = NextToken, MaxResults = MaxResults, AcmeEndpointArn = AcmeEndpointArn)
output <- .acm$list_acme_domain_validations_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$list_acme_domain_validations <- acm_list_acme_domain_validations
#' Retrieves a list of ACME endpoints in your account
#'
#' @description
#' Retrieves a list of ACME endpoints in your account. Use this operation to view all configured ACME endpoints and their current status.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_list_acme_endpoints/](https://www.paws-r-sdk.com/docs/acm_list_acme_endpoints/) for full documentation.
#'
#' @param NextToken A token for pagination.
#' @param MaxResults The maximum number of results to return.
#'
#' @keywords internal
#'
#' @rdname acm_list_acme_endpoints
acm_list_acme_endpoints <- function(NextToken = NULL, MaxResults = NULL) {
op <- new_operation(
name = "ListAcmeEndpoints",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(input_token = "NextToken", output_token = "NextToken", limit_key = "MaxResults", result_key = "AcmeEndpoints"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$list_acme_endpoints_input(NextToken = NextToken, MaxResults = MaxResults)
output <- .acm$list_acme_endpoints_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$list_acme_endpoints <- acm_list_acme_endpoints
#' Retrieves a list of external account bindings for the specified ACME
#' endpoint
#'
#' @description
#' Retrieves a list of external account bindings for the specified ACME endpoint.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_list_acme_external_account_bindings/](https://www.paws-r-sdk.com/docs/acm_list_acme_external_account_bindings/) for full documentation.
#'
#' @param NextToken A token for pagination.
#' @param MaxResults The maximum number of results to return.
#' @param AcmeEndpointArn [required] The Amazon Resource Name (ARN) of the ACME endpoint.
#'
#' @keywords internal
#'
#' @rdname acm_list_acme_external_account_bindings
acm_list_acme_external_account_bindings <- function(NextToken = NULL, MaxResults = NULL, AcmeEndpointArn) {
op <- new_operation(
name = "ListAcmeExternalAccountBindings",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(input_token = "NextToken", output_token = "NextToken", limit_key = "MaxResults", result_key = "ExternalAccountBindings"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$list_acme_external_account_bindings_input(NextToken = NextToken, MaxResults = MaxResults, AcmeEndpointArn = AcmeEndpointArn)
output <- .acm$list_acme_external_account_bindings_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$list_acme_external_account_bindings <- acm_list_acme_external_account_bindings
#' Returns per-domain validation summaries for an ACM certificate
#'
#' @description
#' Returns per-domain validation summaries for an ACM certificate. Each summary includes the domain name, the active validation configuration, and the requested validation configuration when a validation method migration is in progress. You can use the results to monitor the progress of an email-to-DNS validation migration and to retrieve the CNAME records required for DNS validation.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_list_certificate_domain_validations/](https://www.paws-r-sdk.com/docs/acm_list_certificate_domain_validations/) for full documentation.
#'
#' @param CertificateArn [required] The Amazon Resource Name (ARN) of the certificate for which to list domain validation summaries.
#' @param NextToken A token returned by a previous call to [`list_certificate_domain_validations`][acm_list_certificate_domain_validations]. If the number of results exceeds `MaxItems`, use this token to retrieve the next page of results.
#' @param MaxItems The maximum number of domain validation summaries to return. If you don't specify a value, the default is 1000.
#'
#' @keywords internal
#'
#' @rdname acm_list_certificate_domain_validations
acm_list_certificate_domain_validations <- function(CertificateArn, NextToken = NULL, MaxItems = NULL) {
op <- new_operation(
name = "ListCertificateDomainValidations",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(input_token = "NextToken", output_token = "NextToken", limit_key = "MaxItems", result_key = "DomainValidationSummaryList"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$list_certificate_domain_validations_input(CertificateArn = CertificateArn, NextToken = NextToken, MaxItems = MaxItems)
output <- .acm$list_certificate_domain_validations_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$list_certificate_domain_validations <- acm_list_certificate_domain_validations
#' Retrieves a list of certificate ARNs and domain names
#'
#' @description
#' Retrieves a list of certificate ARNs and domain names. You can request that only certificates that match a specific status be listed. You can also filter by specific attributes of the certificate. Default filtering returns only `RSA_2048` certificates. For more information, see Filters.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_list_certificates/](https://www.paws-r-sdk.com/docs/acm_list_certificates/) for full documentation.
#'
#' @param CertificateStatuses Filter the certificate list by status value.
#' @param CertificateKeyPairOrigins Filter the certificate list by certificate key pair origin. Specify one or more `CertificateKeyPairOrigin` values. Default filtering returns only certificates with key pair origin of `AWS_MANAGED` and `CUSTOMER_PROVIDED`.
#' @param Includes Filter the certificate list. For more information, see the Filters structure.
#' @param NextToken Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of `NextToken` from the response you just received.
#' @param MaxItems Use this parameter when paginating results to specify the maximum number of items to return in the response. If additional items exist beyond the number you specify, the `NextToken` element is sent in the response. Use this `NextToken` value in a subsequent request to retrieve additional items.
#' @param SortBy Specifies the field to sort results by. If you specify `SortBy`, you must also specify `SortOrder`.
#' @param SortOrder Specifies the order of sorted results. If you specify `SortOrder`, you must also specify `SortBy`.
#'
#' @keywords internal
#'
#' @rdname acm_list_certificates
acm_list_certificates <- function(CertificateStatuses = NULL, CertificateKeyPairOrigins = NULL, Includes = NULL, NextToken = NULL, MaxItems = NULL, SortBy = NULL, SortOrder = NULL) {
op <- new_operation(
name = "ListCertificates",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(input_token = "NextToken", output_token = "NextToken", limit_key = "MaxItems", result_key = "CertificateSummaryList"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$list_certificates_input(CertificateStatuses = CertificateStatuses, CertificateKeyPairOrigins = CertificateKeyPairOrigins, Includes = Includes, NextToken = NextToken, MaxItems = MaxItems, SortBy = SortBy, SortOrder = SortOrder)
output <- .acm$list_certificates_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$list_certificates <- acm_list_certificates
#' Lists the tags that have been applied to the ACM certificate
#'
#' @description
#' Lists the tags that have been applied to the ACM certificate. Use the certificate's Amazon Resource Name (ARN) to specify the certificate. To add a tag to an ACM certificate, use the [`add_tags_to_certificate`][acm_add_tags_to_certificate] action. To delete a tag, use the [`remove_tags_from_certificate`][acm_remove_tags_from_certificate] action.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_list_tags_for_certificate/](https://www.paws-r-sdk.com/docs/acm_list_tags_for_certificate/) for full documentation.
#'
#' @param CertificateArn [required] String that contains the ARN of the ACM certificate for which you want to list the tags. This must have the following form:
#'
#' `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
#'
#' For more information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html).
#'
#' @keywords internal
#'
#' @rdname acm_list_tags_for_certificate
acm_list_tags_for_certificate <- function(CertificateArn) {
op <- new_operation(
name = "ListTagsForCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$list_tags_for_certificate_input(CertificateArn = CertificateArn)
output <- .acm$list_tags_for_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$list_tags_for_certificate <- acm_list_tags_for_certificate
#' Lists the tags associated with an ACM resource
#'
#' @description
#' Lists the tags associated with an ACM resource.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_list_tags_for_resource/](https://www.paws-r-sdk.com/docs/acm_list_tags_for_resource/) for full documentation.
#'
#' @param ResourceArn [required] The ARN of the ACM resource for which to list tags.
#'
#' @keywords internal
#'
#' @rdname acm_list_tags_for_resource
acm_list_tags_for_resource <- function(ResourceArn) {
op <- new_operation(
name = "ListTagsForResource",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$list_tags_for_resource_input(ResourceArn = ResourceArn)
output <- .acm$list_tags_for_resource_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$list_tags_for_resource <- acm_list_tags_for_resource
#' Adds or modifies account-level configurations in ACM
#'
#' @description
#' Adds or modifies account-level configurations in ACM.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_put_account_configuration/](https://www.paws-r-sdk.com/docs/acm_put_account_configuration/) for full documentation.
#'
#' @param ExpiryEvents Specifies expiration events associated with an account.
#' @param IdempotencyToken [required] Customer-chosen string used to distinguish between calls to [`put_account_configuration`][acm_put_account_configuration]. Idempotency tokens time out after one hour. If you call [`put_account_configuration`][acm_put_account_configuration] multiple times with the same unexpired idempotency token, ACM treats it as the same request and returns the original result. If you change the idempotency token for each call, ACM treats each call as a new request.
#'
#' @keywords internal
#'
#' @rdname acm_put_account_configuration
acm_put_account_configuration <- function(ExpiryEvents = NULL, IdempotencyToken) {
op <- new_operation(
name = "PutAccountConfiguration",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$put_account_configuration_input(ExpiryEvents = ExpiryEvents, IdempotencyToken = IdempotencyToken)
output <- .acm$put_account_configuration_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$put_account_configuration <- acm_put_account_configuration
#' Remove one or more tags from an ACM certificate
#'
#' @description
#' Remove one or more tags from an ACM certificate. A tag consists of a key-value pair. If you do not specify the value portion of the tag when calling this function, the tag will be removed regardless of value. If you specify a value, the tag is removed only if it is associated with the specified value.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_remove_tags_from_certificate/](https://www.paws-r-sdk.com/docs/acm_remove_tags_from_certificate/) for full documentation.
#'
#' @param CertificateArn [required] String that contains the ARN of the ACM Certificate with one or more tags that you want to remove. This must be of the form:
#'
#' `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
#'
#' For more information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html).
#' @param Tags [required] The key-value pair that defines the tag to remove.
#'
#' @keywords internal
#'
#' @rdname acm_remove_tags_from_certificate
acm_remove_tags_from_certificate <- function(CertificateArn, Tags) {
op <- new_operation(
name = "RemoveTagsFromCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$remove_tags_from_certificate_input(CertificateArn = CertificateArn, Tags = Tags)
output <- .acm$remove_tags_from_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$remove_tags_from_certificate <- acm_remove_tags_from_certificate
#' Renews an eligible ACM certificate
#'
#' @description
#' Renews an [eligible ACM certificate](https://docs.aws.amazon.com/acm/latest/userguide/managed-renewal.html). In order to renew your Amazon Web Services Private CA certificates with ACM, you must first [grant the ACM service principal permission to do so](https://docs.aws.amazon.com/privateca/latest/userguide/assign-permissions.html#PcaPermissions). For more information, see [Testing Managed Renewal](https://docs.aws.amazon.com/acm/latest/userguide/managed-renewal.html) in the ACM User Guide.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_renew_certificate/](https://www.paws-r-sdk.com/docs/acm_renew_certificate/) for full documentation.
#'
#' @param CertificateArn [required] String that contains the ARN of the ACM certificate to be renewed. This must be of the form:
#'
#' `arn:aws:acm:region:123456789012:certificate/12345678-1234-1234-1234-123456789012`
#'
#' For more information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference-arns.html).
#'
#' @keywords internal
#'
#' @rdname acm_renew_certificate
acm_renew_certificate <- function(CertificateArn) {
op <- new_operation(
name = "RenewCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$renew_certificate_input(CertificateArn = CertificateArn)
output <- .acm$renew_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$renew_certificate <- acm_renew_certificate
#' Requests an ACM certificate for use with other Amazon Web Services
#' services
#'
#' @description
#' Requests an ACM certificate for use with other Amazon Web Services services. To request an ACM certificate, you must specify a fully qualified domain name (FQDN) in the `DomainName` parameter. You can also specify additional FQDNs in the `SubjectAlternativeNames` parameter.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_request_certificate/](https://www.paws-r-sdk.com/docs/acm_request_certificate/) for full documentation.
#'
#' @param DomainName [required] Fully qualified domain name (FQDN), such as www.example.com, that you want to secure with an ACM certificate. Use an asterisk (*) to create a wildcard certificate that protects several sites in the same domain. For example, *.example.com protects www.example.com, site.example.com, and images.example.com.
#'
#' In compliance with [RFC 5280](https://datatracker.ietf.org/doc/html/rfc5280), the length of the domain name (technically, the Common Name) that you provide cannot exceed 64 octets (characters), including periods. To add a longer domain name, specify it in the Subject Alternative Name field, which supports names up to 253 octets in length.
#' @param ValidationMethod The method you want to use if you are requesting a public certificate to validate that you own or control domain. You can [validate with DNS](https://docs.aws.amazon.com/acm/latest/userguide/dns-validation.html) or [validate with email](https://docs.aws.amazon.com/acm/latest/userguide/email-validation.html). We recommend that you use DNS validation.
#' @param SubjectAlternativeNames Additional FQDNs to be included in the Subject Alternative Name extension of the ACM certificate. For example, add the name www.example.net to a certificate for which the `DomainName` field is www.example.com if users can reach your site by using either name. The maximum number of domain names that you can add to an ACM certificate is 100. However, the initial quota is 10 domain names. If you need more than 10 names, you must request a quota increase. For more information, see [Quotas](https://docs.aws.amazon.com/acm/latest/userguide/acm-limits.html).
#'
#' The maximum length of a SAN DNS name is 253 octets. The name is made up of multiple labels separated by periods. No label can be longer than 63 octets. Consider the following examples:
#'
#' - `(63 octets).(63 octets).(63 octets).(61 octets)` is legal because the total length is 253 octets (63+1+63+1+63+1+61) and no label exceeds 63 octets.
#'
#' - `(64 octets).(63 octets).(63 octets).(61 octets)` is not legal because the total length exceeds 253 octets (64+1+63+1+63+1+61) and the first label exceeds 63 octets.
#'
#' - `(63 octets).(63 octets).(63 octets).(62 octets)` is not legal because the total length of the DNS name (63+1+63+1+63+1+62) exceeds 253 octets.
#' @param IdempotencyToken Customer chosen string that can be used to distinguish between calls to [`request_certificate`][acm_request_certificate]. Idempotency tokens time out after one hour. Therefore, if you call [`request_certificate`][acm_request_certificate] multiple times with the same idempotency token within one hour, ACM recognizes that you are requesting only one certificate and will issue only one. If you change the idempotency token for each call, ACM recognizes that you are requesting multiple certificates.
#' @param DomainValidationOptions The domain name that you want ACM to use to send you emails so that you can validate domain ownership.
#' @param Options You can use this parameter to specify whether to export your certificate.
#'
#' Certificate transparency logging opt-out is no longer available. All public certificates are recorded in a certificate transparency log. For more information, see [Certificate Transparency Logging](https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency).
#'
#' You can export public ACM certificates to use with Amazon Web Services services as well as outside the Amazon Web Services Cloud. For more information, see [Certificate Manager exportable public certificate](https://docs.aws.amazon.com/acm/latest/userguide/acm-exportable-certificates.html).
#' @param CertificateAuthorityArn The Amazon Resource Name (ARN) of the private certificate authority (CA) that will be used to issue the certificate. If you do not provide an ARN and you are trying to request a private certificate, ACM will attempt to issue a public certificate. For more information about private CAs, see the [Amazon Web Services Private Certificate Authority](https://docs.aws.amazon.com/privateca/latest/userguide/PcaWelcome.html) user guide. The ARN must have the following form:
#'
#' `arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012`
#' @param Tags One or more resource tags to associate with the certificate.
#' @param KeyAlgorithm Specifies the algorithm of the public and private key pair that your certificate uses to encrypt data. RSA is the default key algorithm for ACM certificates. Elliptic Curve Digital Signature Algorithm (ECDSA) keys are smaller, offering security comparable to RSA keys but with greater computing efficiency. However, ECDSA is not supported by all network clients. Some Amazon Web Services services may require RSA keys, or only support ECDSA keys of a particular size, while others allow the use of either RSA and ECDSA keys to ensure that compatibility is not broken. Check the requirements for the Amazon Web Services service where you plan to deploy your certificate. For more information about selecting an algorithm, see [Key algorithms](https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate-characteristics.html#algorithms-term).
#'
#' Algorithms supported for an ACM certificate request include:
#'
#' - `RSA_2048`
#'
#' - `EC_prime256v1`
#'
#' - `EC_secp384r1`
#'
#' Other listed algorithms are for imported certificates only.
#'
#' When you request a private PKI certificate signed by a CA from Amazon Web Services Private CA, the specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key.
#'
#' Default: RSA_2048
#' @param ManagedBy Identifies the Amazon Web Services service that manages the certificate issued by ACM.
#'
#' @keywords internal
#'
#' @rdname acm_request_certificate
acm_request_certificate <- function(DomainName, ValidationMethod = NULL, SubjectAlternativeNames = NULL, IdempotencyToken = NULL, DomainValidationOptions = NULL, Options = NULL, CertificateAuthorityArn = NULL, Tags = NULL, KeyAlgorithm = NULL, ManagedBy = NULL) {
op <- new_operation(
name = "RequestCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$request_certificate_input(DomainName = DomainName, ValidationMethod = ValidationMethod, SubjectAlternativeNames = SubjectAlternativeNames, IdempotencyToken = IdempotencyToken, DomainValidationOptions = DomainValidationOptions, Options = Options, CertificateAuthorityArn = CertificateAuthorityArn, Tags = Tags, KeyAlgorithm = KeyAlgorithm, ManagedBy = ManagedBy)
output <- .acm$request_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$request_certificate <- acm_request_certificate
#' Resends the email that requests domain ownership validation
#'
#' @description
#' Resends the email that requests domain ownership validation. The domain owner or an authorized representative must approve the ACM certificate before it can be issued. The certificate can be approved by clicking a link in the mail to navigate to the Amazon certificate approval website and then clicking **I Approve**. However, the validation email can be blocked by spam filters. Therefore, if you do not receive the original mail, you can request that the mail be resent within 72 hours of requesting the ACM certificate. If more than 72 hours have elapsed since your original request or since your last attempt to resend validation mail, you must request a new certificate. For more information about setting up your contact email addresses, see [Configure Email for your Domain](https://docs.aws.amazon.com/acm/latest/userguide/email-validation.html).
#'
#' See [https://www.paws-r-sdk.com/docs/acm_resend_validation_email/](https://www.paws-r-sdk.com/docs/acm_resend_validation_email/) for full documentation.
#'
#' @param CertificateArn [required] String that contains the ARN of the requested certificate. The certificate ARN is generated and returned by the [`request_certificate`][acm_request_certificate] action as soon as the request is made. By default, using this parameter causes email to be sent to all top-level domains you specified in the certificate request. The ARN must be of the form:
#'
#' `arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012`
#' @param Domain [required] The fully qualified domain name (FQDN) of the certificate that needs to be validated.
#' @param ValidationDomain [required] The base validation domain that will act as the suffix of the email addresses that are used to send the emails. This must be the same as the `Domain` value or a superdomain of the `Domain` value. For example, if you requested a certificate for `site.subdomain.example.com` and specify a **ValidationDomain** of `subdomain.example.com`, ACM sends email to the the following five addresses:
#'
#' - admin@@subdomain.example.com
#'
#' - administrator@@subdomain.example.com
#'
#' - hostmaster@@subdomain.example.com
#'
#' - postmaster@@subdomain.example.com
#'
#' - webmaster@@subdomain.example.com
#'
#' @keywords internal
#'
#' @rdname acm_resend_validation_email
acm_resend_validation_email <- function(CertificateArn, Domain, ValidationDomain) {
op <- new_operation(
name = "ResendValidationEmail",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$resend_validation_email_input(CertificateArn = CertificateArn, Domain = Domain, ValidationDomain = ValidationDomain)
output <- .acm$resend_validation_email_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$resend_validation_email <- acm_resend_validation_email
#' Revokes an ACME account, preventing it from requesting or revoking
#' certificates
#'
#' @description
#' Revokes an ACME account, preventing it from requesting or revoking certificates. This operation is irreversible.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_revoke_acme_account/](https://www.paws-r-sdk.com/docs/acm_revoke_acme_account/) for full documentation.
#'
#' @param AcmeEndpointArn [required] The Amazon Resource Name (ARN) of the ACME endpoint.
#' @param AccountUrl [required] The URL of the ACME account to revoke.
#'
#' @keywords internal
#'
#' @rdname acm_revoke_acme_account
acm_revoke_acme_account <- function(AcmeEndpointArn, AccountUrl) {
op <- new_operation(
name = "RevokeAcmeAccount",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$revoke_acme_account_input(AcmeEndpointArn = AcmeEndpointArn, AccountUrl = AccountUrl)
output <- .acm$revoke_acme_account_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$revoke_acme_account <- acm_revoke_acme_account
#' Revokes an external account binding, preventing new ACME accounts from
#' being registered using this binding
#'
#' @description
#' Revokes an external account binding, preventing new ACME accounts from being registered using this binding. Existing ACME accounts that were previously registered using the binding are not affected and must be revoked separately.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_revoke_acme_external_account_binding/](https://www.paws-r-sdk.com/docs/acm_revoke_acme_external_account_binding/) for full documentation.
#'
#' @param AcmeExternalAccountBindingArn [required] The Amazon Resource Name (ARN) of the ACME external account binding to revoke.
#'
#' @keywords internal
#'
#' @rdname acm_revoke_acme_external_account_binding
acm_revoke_acme_external_account_binding <- function(AcmeExternalAccountBindingArn) {
op <- new_operation(
name = "RevokeAcmeExternalAccountBinding",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$revoke_acme_external_account_binding_input(AcmeExternalAccountBindingArn = AcmeExternalAccountBindingArn)
output <- .acm$revoke_acme_external_account_binding_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$revoke_acme_external_account_binding <- acm_revoke_acme_external_account_binding
#' Revokes a public ACM certificate
#'
#' @description
#' Revokes a public ACM certificate. You can only revoke certificates that have been previously exported.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_revoke_certificate/](https://www.paws-r-sdk.com/docs/acm_revoke_certificate/) for full documentation.
#'
#' @param CertificateArn [required] The Amazon Resource Name (ARN) of the public or private certificate that will be revoked. The ARN must have the following form:
#'
#' `arn:aws:acm:region:account:certificate/12345678-1234-1234-1234-123456789012`
#' @param RevocationReason [required] Specifies why you revoked the certificate.
#'
#' @keywords internal
#'
#' @rdname acm_revoke_certificate
acm_revoke_certificate <- function(CertificateArn, RevocationReason) {
op <- new_operation(
name = "RevokeCertificate",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$revoke_certificate_input(CertificateArn = CertificateArn, RevocationReason = RevocationReason)
output <- .acm$revoke_certificate_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$revoke_certificate <- acm_revoke_certificate
#' Retrieves a list of certificates matching search criteria
#'
#' @description
#' Retrieves a list of certificates matching search criteria. You can filter certificates by X.509 attributes and ACM specific properties like certificate status, type and renewal eligibility. This operation provides more flexible filtering than [`list_certificates`][acm_list_certificates] by supporting complex filter statements.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_search_certificates/](https://www.paws-r-sdk.com/docs/acm_search_certificates/) for full documentation.
#'
#' @param FilterStatement A filter statement that defines the search criteria. You can combine multiple filters using AND, OR, and NOT logical operators to create complex queries.
#' @param MaxResults The maximum number of results to return in the response. Default is 100.
#' @param NextToken Use this parameter only when paginating results and only in a subsequent request after you receive a response with truncated results. Set it to the value of `NextToken` from the response you just received.
#' @param SortBy Specifies the field to sort results by. Valid values are CREATED_AT, NOT_AFTER, STATUS, RENEWAL_STATUS, EXPORTED, IN_USE, NOT_BEFORE, KEY_ALGORITHM, TYPE, CERTIFICATE_ARN, COMMON_NAME, REVOKED_AT, RENEWAL_ELIGIBILITY, ISSUED_AT, MANAGED_BY, EXPORT_OPTION, VALIDATION_METHOD, and IMPORTED_AT.
#' @param SortOrder Specifies the order of sorted results. Valid values are ASCENDING or DESCENDING.
#'
#' @keywords internal
#'
#' @rdname acm_search_certificates
acm_search_certificates <- function(FilterStatement = NULL, MaxResults = NULL, NextToken = NULL, SortBy = NULL, SortOrder = NULL) {
op <- new_operation(
name = "SearchCertificates",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(input_token = "NextToken", output_token = "NextToken", limit_key = "MaxResults", result_key = "Results"),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$search_certificates_input(FilterStatement = FilterStatement, MaxResults = MaxResults, NextToken = NextToken, SortBy = SortBy, SortOrder = SortOrder)
output <- .acm$search_certificates_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$search_certificates <- acm_search_certificates
#' Adds one or more tags to an ACM resource
#'
#' @description
#' Adds one or more tags to an ACM resource. Tags are labels that you can use to identify and organize your Amazon Web Services resources. Each tag consists of a `key` and an optional `value`.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_tag_resource/](https://www.paws-r-sdk.com/docs/acm_tag_resource/) for full documentation.
#'
#' @param ResourceArn [required] The ARN of the ACM resource to which the tag is to be applied.
#' @param Tags [required] The key-value pair that defines the tag to apply.
#'
#' @keywords internal
#'
#' @rdname acm_tag_resource
acm_tag_resource <- function(ResourceArn, Tags) {
op <- new_operation(
name = "TagResource",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$tag_resource_input(ResourceArn = ResourceArn, Tags = Tags)
output <- .acm$tag_resource_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$tag_resource <- acm_tag_resource
#' Removes one or more tags from an ACM resource
#'
#' @description
#' Removes one or more tags from an ACM resource.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_untag_resource/](https://www.paws-r-sdk.com/docs/acm_untag_resource/) for full documentation.
#'
#' @param ResourceArn [required] The ARN of the ACM resource from which the tag is to be removed.
#' @param TagKeys [required] The key of each tag to remove.
#'
#' @keywords internal
#'
#' @rdname acm_untag_resource
acm_untag_resource <- function(ResourceArn, TagKeys) {
op <- new_operation(
name = "UntagResource",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$untag_resource_input(ResourceArn = ResourceArn, TagKeys = TagKeys)
output <- .acm$untag_resource_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$untag_resource <- acm_untag_resource
#' Updates the prevalidation configuration of an existing domain validation
#'
#' @description
#' Updates the prevalidation configuration of an existing domain validation.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_update_acme_domain_validation/](https://www.paws-r-sdk.com/docs/acm_update_acme_domain_validation/) for full documentation.
#'
#' @param AcmeDomainValidationArn [required] The Amazon Resource Name (ARN) of the ACME domain validation to update.
#' @param PrevalidationOptions The updated prevalidation options.
#'
#' @keywords internal
#'
#' @rdname acm_update_acme_domain_validation
acm_update_acme_domain_validation <- function(AcmeDomainValidationArn, PrevalidationOptions = NULL) {
op <- new_operation(
name = "UpdateAcmeDomainValidation",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$update_acme_domain_validation_input(AcmeDomainValidationArn = AcmeDomainValidationArn, PrevalidationOptions = PrevalidationOptions)
output <- .acm$update_acme_domain_validation_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$update_acme_domain_validation <- acm_update_acme_domain_validation
#' Updates the configuration of an existing ACME endpoint
#'
#' @description
#' Updates the configuration of an existing ACME endpoint. You can change the authorization behavior, contact requirement, or certificate authority settings.
#'
#' See [https://www.paws-r-sdk.com/docs/acm_update_acme_endpoint/](https://www.paws-r-sdk.com/docs/acm_update_acme_endpoint/) for full documentation.
#'
#' @param AcmeEndpointArn [required] The Amazon Resource Name (ARN) of the ACME endpoint to update.
#' @param AuthorizationBehavior The updated authorization behavior.
#' @param Contact The updated contact requirement.
#' @param CertificateAuthority The updated certificate authority configuration.
#'
#' @keywords internal
#'
#' @rdname acm_update_acme_endpoint
acm_update_acme_endpoint <- function(AcmeEndpointArn, AuthorizationBehavior = NULL, Contact = NULL, CertificateAuthority = NULL) {
op <- new_operation(
name = "UpdateAcmeEndpoint",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$update_acme_endpoint_input(AcmeEndpointArn = AcmeEndpointArn, AuthorizationBehavior = AuthorizationBehavior, Contact = Contact, CertificateAuthority = CertificateAuthority)
output <- .acm$update_acme_endpoint_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$update_acme_endpoint <- acm_update_acme_endpoint
#' Updates certificate options
#'
#' @description
#' Updates certificate options. You can use this operation to change the domain validation method or specify whether to export your certificate. For more information, see [Migrate from email to DNS validation](https://docs.aws.amazon.com/acm/latest/userguide/) and [Certificate Manager Exportable Managed Certificates](https://docs.aws.amazon.com/acm/latest/userguide/acm-exportable-certificates.html).
#'
#' See [https://www.paws-r-sdk.com/docs/acm_update_certificate_options/](https://www.paws-r-sdk.com/docs/acm_update_certificate_options/) for full documentation.
#'
#' @param CertificateArn [required] ARN of the requested certificate to update. This must be of the form:
#'
#' `arn:aws:acm:us-east-1:account:certificate/12345678-1234-1234-1234-123456789012 `
#' @param Options [required] Use to update the options for your certificate. Currently, you can change the domain validation method or specify whether to export your certificate. For more information about migrating from email to DNS validation, see [Migrate from email to DNS validation](https://docs.aws.amazon.com/acm/latest/userguide/).
#'
#' @keywords internal
#'
#' @rdname acm_update_certificate_options
acm_update_certificate_options <- function(CertificateArn, Options) {
op <- new_operation(
name = "UpdateCertificateOptions",
http_method = "POST",
http_path = "/",
host_prefix = "",
paginator = list(),
stream_api = FALSE,
http_checksum = NULL
)
input <- .acm$update_certificate_options_input(CertificateArn = CertificateArn, Options = Options)
output <- .acm$update_certificate_options_output()
config <- get_config()
svc <- .acm$service(config, op)
request <- new_request(svc, op, input, output)
response <- send_request(request)
return(response)
}
.acm$operations$update_certificate_options <- acm_update_certificate_options
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.