Struct rusoto_shield::ShieldClient
[−]
[src]
pub struct ShieldClient<P = CredentialsProvider, D = RequestDispatcher> where
P: ProvideAwsCredentials,
D: DispatchSignedRequest, { /* fields omitted */ }
A client for the AWS Shield API.
Methods
impl ShieldClient
[src]
pub fn simple(region: Region) -> ShieldClient
[src]
Creates a simple client backed by an implicit event loop.
The client will use the default credentials provider and tls client.
See the rusoto_core::reactor
module for more details.
impl<P, D> ShieldClient<P, D> where
P: ProvideAwsCredentials,
D: DispatchSignedRequest,
[src]
P: ProvideAwsCredentials,
D: DispatchSignedRequest,
Trait Implementations
impl<P, D> Shield for ShieldClient<P, D> where
P: ProvideAwsCredentials + 'static,
D: DispatchSignedRequest + 'static,
[src]
P: ProvideAwsCredentials + 'static,
D: DispatchSignedRequest + 'static,
fn create_protection(
&self,
input: &CreateProtectionRequest
) -> RusotoFuture<CreateProtectionResponse, CreateProtectionError>
[src]
&self,
input: &CreateProtectionRequest
) -> RusotoFuture<CreateProtectionResponse, CreateProtectionError>
Enables AWS Shield Advanced for a specific AWS resource. The resource can be an Amazon CloudFront distribution, Elastic Load Balancing load balancer, Elastic IP Address, or an Amazon Route 53 hosted zone.
fn create_subscription(
&self
) -> RusotoFuture<CreateSubscriptionResponse, CreateSubscriptionError>
[src]
&self
) -> RusotoFuture<CreateSubscriptionResponse, CreateSubscriptionError>
Activates AWS Shield Advanced for an account.
fn delete_protection(
&self,
input: &DeleteProtectionRequest
) -> RusotoFuture<DeleteProtectionResponse, DeleteProtectionError>
[src]
&self,
input: &DeleteProtectionRequest
) -> RusotoFuture<DeleteProtectionResponse, DeleteProtectionError>
Deletes an AWS Shield Advanced Protection.
fn delete_subscription(
&self
) -> RusotoFuture<DeleteSubscriptionResponse, DeleteSubscriptionError>
[src]
&self
) -> RusotoFuture<DeleteSubscriptionResponse, DeleteSubscriptionError>
Removes AWS Shield Advanced from an account. AWS Shield Advanced requires a 1-year subscription commitment. You cannot delete a subscription prior to the completion of that commitment.
fn describe_attack(
&self,
input: &DescribeAttackRequest
) -> RusotoFuture<DescribeAttackResponse, DescribeAttackError>
[src]
&self,
input: &DescribeAttackRequest
) -> RusotoFuture<DescribeAttackResponse, DescribeAttackError>
Describes the details of a DDoS attack.
fn describe_protection(
&self,
input: &DescribeProtectionRequest
) -> RusotoFuture<DescribeProtectionResponse, DescribeProtectionError>
[src]
&self,
input: &DescribeProtectionRequest
) -> RusotoFuture<DescribeProtectionResponse, DescribeProtectionError>
Lists the details of a Protection object.
fn describe_subscription(
&self
) -> RusotoFuture<DescribeSubscriptionResponse, DescribeSubscriptionError>
[src]
&self
) -> RusotoFuture<DescribeSubscriptionResponse, DescribeSubscriptionError>
Provides details about the AWS Shield Advanced subscription for an account.
fn get_subscription_state(
&self
) -> RusotoFuture<GetSubscriptionStateResponse, GetSubscriptionStateError>
[src]
&self
) -> RusotoFuture<GetSubscriptionStateResponse, GetSubscriptionStateError>
Returns the SubscriptionState
, either Active
or Inactive
.
fn list_attacks(
&self,
input: &ListAttacksRequest
) -> RusotoFuture<ListAttacksResponse, ListAttacksError>
[src]
&self,
input: &ListAttacksRequest
) -> RusotoFuture<ListAttacksResponse, ListAttacksError>
Returns all ongoing DDoS attacks or all DDoS attacks during a specified time period.
fn list_protections(
&self,
input: &ListProtectionsRequest
) -> RusotoFuture<ListProtectionsResponse, ListProtectionsError>
[src]
&self,
input: &ListProtectionsRequest
) -> RusotoFuture<ListProtectionsResponse, ListProtectionsError>
Lists all Protection objects for the account.