[][src]Trait rusoto_fms::Fms

pub trait Fms {
    fn associate_admin_account<'life0, 'async_trait>(
        &'life0 self,
        input: AssociateAdminAccountRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<AssociateAdminAccountError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn delete_notification_channel<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteNotificationChannelError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn delete_policy<'life0, 'async_trait>(
        &'life0 self,
        input: DeletePolicyRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeletePolicyError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn disassociate_admin_account<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DisassociateAdminAccountError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_admin_account<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<GetAdminAccountResponse, RusotoError<GetAdminAccountError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_compliance_detail<'life0, 'async_trait>(
        &'life0 self,
        input: GetComplianceDetailRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetComplianceDetailResponse, RusotoError<GetComplianceDetailError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_notification_channel<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<GetNotificationChannelResponse, RusotoError<GetNotificationChannelError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_policy<'life0, 'async_trait>(
        &'life0 self,
        input: GetPolicyRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetPolicyResponse, RusotoError<GetPolicyError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_protection_status<'life0, 'async_trait>(
        &'life0 self,
        input: GetProtectionStatusRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetProtectionStatusResponse, RusotoError<GetProtectionStatusError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn list_compliance_status<'life0, 'async_trait>(
        &'life0 self,
        input: ListComplianceStatusRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListComplianceStatusResponse, RusotoError<ListComplianceStatusError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn list_member_accounts<'life0, 'async_trait>(
        &'life0 self,
        input: ListMemberAccountsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListMemberAccountsResponse, RusotoError<ListMemberAccountsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn list_policies<'life0, 'async_trait>(
        &'life0 self,
        input: ListPoliciesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListPoliciesResponse, RusotoError<ListPoliciesError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn list_tags_for_resource<'life0, 'async_trait>(
        &'life0 self,
        input: ListTagsForResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn put_notification_channel<'life0, 'async_trait>(
        &'life0 self,
        input: PutNotificationChannelRequest
    ) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<PutNotificationChannelError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn put_policy<'life0, 'async_trait>(
        &'life0 self,
        input: PutPolicyRequest
    ) -> Pin<Box<dyn Future<Output = Result<PutPolicyResponse, RusotoError<PutPolicyError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn tag_resource<'life0, 'async_trait>(
        &'life0 self,
        input: TagResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn untag_resource<'life0, 'async_trait>(
        &'life0 self,
        input: UntagResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Trait representing the capabilities of the FMS API. FMS clients implement this trait.

Required methods

fn associate_admin_account<'life0, 'async_trait>(
    &'life0 self,
    input: AssociateAdminAccountRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<AssociateAdminAccountError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with the master account of 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<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteNotificationChannelError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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<'life0, 'async_trait>(
    &'life0 self,
    input: DeletePolicyRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeletePolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Permanently deletes an AWS Firewall Manager policy.

fn disassociate_admin_account<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DisassociateAdminAccountError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetAdminAccountResponse, RusotoError<GetAdminAccountError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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

fn get_compliance_detail<'life0, 'async_trait>(
    &'life0 self,
    input: GetComplianceDetailRequest
) -> Pin<Box<dyn Future<Output = Result<GetComplianceDetailResponse, RusotoError<GetComplianceDetailError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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 noncompliant for AWS WAF and Shield Advanced policies if the specified policy has not been applied to them. Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.

fn get_notification_channel<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetNotificationChannelResponse, RusotoError<GetNotificationChannelError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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

fn get_policy<'life0, 'async_trait>(
    &'life0 self,
    input: GetPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<GetPolicyResponse, RusotoError<GetPolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Returns information about the specified AWS Firewall Manager policy.

fn get_protection_status<'life0, 'async_trait>(
    &'life0 self,
    input: GetProtectionStatusRequest
) -> Pin<Box<dyn Future<Output = Result<GetProtectionStatusResponse, RusotoError<GetProtectionStatusError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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

fn list_compliance_status<'life0, 'async_trait>(
    &'life0 self,
    input: ListComplianceStatusRequest
) -> Pin<Box<dyn Future<Output = Result<ListComplianceStatusResponse, RusotoError<ListComplianceStatusError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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<'life0, 'async_trait>(
    &'life0 self,
    input: ListMemberAccountsRequest
) -> Pin<Box<dyn Future<Output = Result<ListMemberAccountsResponse, RusotoError<ListMemberAccountsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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<'life0, 'async_trait>(
    &'life0 self,
    input: ListPoliciesRequest
) -> Pin<Box<dyn Future<Output = Result<ListPoliciesResponse, RusotoError<ListPoliciesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Returns an array of PolicySummary objects in the response.

fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Retrieves the list of tags for the specified AWS resource.

fn put_notification_channel<'life0, 'async_trait>(
    &'life0 self,
    input: PutNotificationChannelRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<PutNotificationChannelError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

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

fn put_policy<'life0, 'async_trait>(
    &'life0 self,
    input: PutPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<PutPolicyResponse, RusotoError<PutPolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Creates an AWS Firewall Manager policy.

Firewall Manager provides the following types of policies:

  • A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources

  • An AWS WAF policy, which contains a rule group and defines which resources are to be protected by that rule group

  • A security group policy, which manages VPC security groups across your AWS organization.

Each policy is specific to one of the three types. If you want to enforce more than one policy type across accounts, you can create multiple policies. You can create multiple policies for each type.

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

fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Adds one or more tags to an AWS resource.

fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Removes one or more tags from an AWS resource.

Loading content...

Implementors

impl Fms for FmsClient[src]

fn associate_admin_account<'life0, 'async_trait>(
    &'life0 self,
    input: AssociateAdminAccountRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<AssociateAdminAccountError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Sets the AWS Firewall Manager administrator account. AWS Firewall Manager must be associated with the master account of 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<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeleteNotificationChannelError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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<'life0, 'async_trait>(
    &'life0 self,
    input: DeletePolicyRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DeletePolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Permanently deletes an AWS Firewall Manager policy.

fn disassociate_admin_account<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<DisassociateAdminAccountError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetAdminAccountResponse, RusotoError<GetAdminAccountError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

fn get_compliance_detail<'life0, 'async_trait>(
    &'life0 self,
    input: GetComplianceDetailRequest
) -> Pin<Box<dyn Future<Output = Result<GetComplianceDetailResponse, RusotoError<GetComplianceDetailError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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 noncompliant for AWS WAF and Shield Advanced policies if the specified policy has not been applied to them. Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.

fn get_notification_channel<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<GetNotificationChannelResponse, RusotoError<GetNotificationChannelError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

fn get_policy<'life0, 'async_trait>(
    &'life0 self,
    input: GetPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<GetPolicyResponse, RusotoError<GetPolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns information about the specified AWS Firewall Manager policy.

fn get_protection_status<'life0, 'async_trait>(
    &'life0 self,
    input: GetProtectionStatusRequest
) -> Pin<Box<dyn Future<Output = Result<GetProtectionStatusResponse, RusotoError<GetProtectionStatusError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

fn list_compliance_status<'life0, 'async_trait>(
    &'life0 self,
    input: ListComplianceStatusRequest
) -> Pin<Box<dyn Future<Output = Result<ListComplianceStatusResponse, RusotoError<ListComplianceStatusError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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<'life0, 'async_trait>(
    &'life0 self,
    input: ListMemberAccountsRequest
) -> Pin<Box<dyn Future<Output = Result<ListMemberAccountsResponse, RusotoError<ListMemberAccountsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[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<'life0, 'async_trait>(
    &'life0 self,
    input: ListPoliciesRequest
) -> Pin<Box<dyn Future<Output = Result<ListPoliciesResponse, RusotoError<ListPoliciesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Returns an array of PolicySummary objects in the response.

fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the list of tags for the specified AWS resource.

fn put_notification_channel<'life0, 'async_trait>(
    &'life0 self,
    input: PutNotificationChannelRequest
) -> Pin<Box<dyn Future<Output = Result<(), RusotoError<PutNotificationChannelError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

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

fn put_policy<'life0, 'async_trait>(
    &'life0 self,
    input: PutPolicyRequest
) -> Pin<Box<dyn Future<Output = Result<PutPolicyResponse, RusotoError<PutPolicyError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates an AWS Firewall Manager policy.

Firewall Manager provides the following types of policies:

  • A Shield Advanced policy, which applies Shield Advanced protection to specified accounts and resources

  • An AWS WAF policy, which contains a rule group and defines which resources are to be protected by that rule group

  • A security group policy, which manages VPC security groups across your AWS organization.

Each policy is specific to one of the three types. If you want to enforce more than one policy type across accounts, you can create multiple policies. You can create multiple policies for each type.

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

fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds one or more tags to an AWS resource.

fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes one or more tags from an AWS resource.

Loading content...