fn associate_admin_account(
        &self,
        input: AssociateAdminAccountRequest,
    ) -> RusotoFuture<(), AssociateAdminAccountError> {
        let mut request = SignedRequest::new("POST", "fms", &self.region, "/");

        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "AWSFMS_20180101.AssociateAdminAccount");
        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(AssociateAdminAccountError::from_response(response))
                    }),
                )
            }
        })
    }
/// <p>Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with a master account in AWS Organizations or associated with a member account that has the appropriate permissions. If the account ID that you submit is not an AWS Organizations master account, AWS Firewall Manager will set the appropriate permissions for the given member account.</p> <p>The account that you associate with AWS Firewall Manager is called the AWS Firewall manager administrator account. </p>
Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with a master account in AWS Organizations or associated with a member account that has the appropriate permissions. If the account ID that you submit is not an AWS Organizations master account, AWS Firewall Manager will set the appropriate permissions for the given member account. The account that you associate with AWS Firewall Manager is called the AWS Firewall manager administrator account.
Sets the AWS Firewall Manager administrator account . AWS Firewall Manager must be associated with a master account in AWS Organizations or associated with a member account that has the appropriate permissions . If the account ID that you submit is not an AWS Organizations master account AWS Firewall Manager will set the appropriate permissions for the given member account . The account that you associate with AWS Firewall Manager is called the AWS Firewall manager administrator account .
fn associate_admin_account(
        &self,
        input: AssociateAdminAccountRequest,
    ) -> RusotoFuture<(), AssociateAdminAccountError> {
        let mut request = SignedRequest::new("POST", "fms", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "AWSFMS_20180101.AssociateAdminAccount");
        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(AssociateAdminAccountError::from_response(response))
                    }),
                )
            }
        })
    }
fn associate_admin_account ( & self , input : AssociateAdminAccountRequest , ) -> RusotoFuture < ( ) , AssociateAdminAccountError > { 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 ( AssociateAdminAccountError :: from_response ( response ) ) } ) , ) } } ) }
<p>Sets the AWS Firewall Manager administrator account.
<p > Sets the AWS Firewall Manager administrator account .
&self
input
AssociateAdminAccountRequest
&self
input
AssociateAdminAccountRequest