[][src]Struct rusoto_fms::FmsClient

pub struct FmsClient { /* fields omitted */ }

A client for the FMS API.

Methods

impl FmsClient[src]

pub fn new(region: Region) -> FmsClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> FmsClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

pub fn new_with_client(client: Client, region: Region) -> FmsClient[src]

Trait Implementations

impl Fms for FmsClient[src]

fn associate_admin_account(
    &self,
    input: AssociateAdminAccountRequest
) -> RusotoFuture<(), AssociateAdminAccountError>
[src]

Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with the master account your AWS organization 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 delete_notification_channel(
    &self
) -> RusotoFuture<(), DeleteNotificationChannelError>
[src]

Deletes an AWS Firewall Manager association with the IAM role and the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.

fn delete_policy(
    &self,
    input: DeletePolicyRequest
) -> RusotoFuture<(), DeletePolicyError>
[src]

Permanently deletes an AWS Firewall Manager policy.

fn disassociate_admin_account(
    &self
) -> RusotoFuture<(), DisassociateAdminAccountError>
[src]

Disassociates the account that has been set as the AWS Firewall Manager administrator account. To set a different account as the administrator account, you must submit an AssociateAdminAccount request .

fn get_admin_account(
    &self
) -> RusotoFuture<GetAdminAccountResponse, GetAdminAccountError>
[src]

Returns the AWS Organizations master account that is associated with AWS Firewall Manager as the AWS Firewall Manager administrator.

fn get_compliance_detail(
    &self,
    input: GetComplianceDetailRequest
) -> RusotoFuture<GetComplianceDetailResponse, GetComplianceDetailError>
[src]

Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. Resources are considered non-compliant if the specified policy has not been applied to them.

fn get_notification_channel(
    &self
) -> RusotoFuture<GetNotificationChannelResponse, GetNotificationChannelError>
[src]

Returns information about the Amazon Simple Notification Service (SNS) topic that is used to record AWS Firewall Manager SNS logs.

fn get_policy(
    &self,
    input: GetPolicyRequest
) -> RusotoFuture<GetPolicyResponse, GetPolicyError>
[src]

Returns information about the specified AWS Firewall Manager policy.

fn get_protection_status(
    &self,
    input: GetProtectionStatusRequest
) -> RusotoFuture<GetProtectionStatusResponse, GetProtectionStatusError>
[src]

If you created a Shield Advanced policy, returns policy-level attack summary information in the event of a potential DDoS attack.

fn list_compliance_status(
    &self,
    input: ListComplianceStatusRequest
) -> RusotoFuture<ListComplianceStatusResponse, ListComplianceStatusError>
[src]

Returns an array of PolicyComplianceStatus objects in the response. Use PolicyComplianceStatus to get a summary of which member accounts are protected by the specified policy.

fn list_member_accounts(
    &self,
    input: ListMemberAccountsRequest
) -> RusotoFuture<ListMemberAccountsResponse, ListMemberAccountsError>
[src]

Returns a MemberAccounts object that lists the member accounts in the administrator's AWS organization.

The ListMemberAccounts must be submitted by the account that is set as the AWS Firewall Manager administrator.

fn list_policies(
    &self,
    input: ListPoliciesRequest
) -> RusotoFuture<ListPoliciesResponse, ListPoliciesError>
[src]

Returns an array of PolicySummary objects in the response.

fn put_notification_channel(
    &self,
    input: PutNotificationChannelRequest
) -> RusotoFuture<(), PutNotificationChannelError>
[src]

Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.

fn put_policy(
    &self,
    input: PutPolicyRequest
) -> RusotoFuture<PutPolicyResponse, PutPolicyError>
[src]

Creates an AWS Firewall Manager policy.

Firewall Manager provides two types of policies: A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources, or a WAF policy, which contains a rule group and defines which resources are to be protected by that rule group. A policy is specific to either WAF or Shield Advanced. If you want to enforce both WAF rules and Shield Advanced protection across accounts, you can create multiple policies. You can create one or more policies for WAF rules, and one or more policies for Shield Advanced.

You must be subscribed to Shield Advanced to create a Shield Advanced policy. For more information on subscribing to Shield Advanced, see CreateSubscription.

impl Clone for FmsClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self