fn tag_certificate_authority(
        &self,
        input: TagCertificateAuthorityRequest,
    ) -> RusotoFuture<(), TagCertificateAuthorityError> {
        let mut request = SignedRequest::new("POST", "acm-pca", &self.region, "/");

        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "ACMPrivateCA.TagCertificateAuthority");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(future::ok(::std::mem::drop(response)))
            } else {
                Box::new(response.buffer().from_err().and_then(|response| {
                    Err(TagCertificateAuthorityError::from_response(response))
                }))
            }
        })
    }
/// <p>Adds one or more tags to your private CA. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. You specify the private CA on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. You can apply a tag to just one private CA if you want to identify a specific characteristic of that CA, or you can apply the same tag to multiple private CAs if you want to filter for a common relationship among those CAs. To remove one or more tags, use the <a>UntagCertificateAuthority</a> operation. Call the <a>ListTags</a> operation to see what tags are associated with your CA. </p>
Adds one or more tags to your private CA. Tags are labels that you can use to identify and organize your AWS resources. Each tag consists of a key and an optional value. You specify the private CA on input by its Amazon Resource Name (ARN). You specify the tag by using a key-value pair. You can apply a tag to just one private CA if you want to identify a specific characteristic of that CA, or you can apply the same tag to multiple private CAs if you want to filter for a common relationship among those CAs. To remove one or more tags, use the UntagCertificateAuthority operation. Call the ListTags operation to see what tags are associated with your CA.
Adds one or more tags to your private CA . Tags are labels that you can use to identify and organize your AWS resources . Each tag consists of a key and an optional value . You specify the private CA on input by its Amazon Resource Name ( ARN ) . You specify the tag by using a key - value pair . You can apply a tag to just one private CA if you want to identify a specific characteristic of that CA or you can apply the same tag to multiple private CAs if you want to filter for a common relationship among those CAs . To remove one or more tags use the UntagCertificateAuthority operation . Call the ListTags operation to see what tags are associated with your CA .
fn tag_certificate_authority(
        &self,
        input: TagCertificateAuthorityRequest,
    ) -> RusotoFuture<(), TagCertificateAuthorityError> {
        let mut request = SignedRequest::new("POST", "acm-pca", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "ACMPrivateCA.TagCertificateAuthority");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(future::ok(::std::mem::drop(response)))
            } else {
                Box::new(response.buffer().from_err().and_then(|response| {
                    Err(TagCertificateAuthorityError::from_response(response))
                }))
            }
        })
    }
fn tag_certificate_authority ( & self , input : TagCertificateAuthorityRequest , ) -> RusotoFuture < ( ) , TagCertificateAuthorityError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; request . set_content_type ( " " . to_owned ( ) ) ; request . add_header ( " " , " " ) ; let encoded = serde_json :: to_string ( & input ) . unwrap ( ) ; request . set_payload ( Some ( encoded . into_bytes ( ) ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( future :: ok ( :: std :: mem :: drop ( response ) ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( TagCertificateAuthorityError :: from_response ( response ) ) } ) ) } } ) }
<p>Adds one or more tags to your private CA.
<p > Adds one or more tags to your private CA .
&self
input
TagCertificateAuthorityRequest
&self
input
TagCertificateAuthorityRequest