Struct rusoto_shield::ShieldClient [−][src]
pub struct ShieldClient { /* fields omitted */ }
A client for the AWS Shield API.
Methods
impl ShieldClient
[src]
impl ShieldClient
pub fn new(region: Region) -> ShieldClient
[src]
pub fn new(region: Region) -> ShieldClient
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
) -> ShieldClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
[src]
pub fn new_with<P, D>(
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> ShieldClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
P::Future: Send,
D: DispatchSignedRequest + Send + Sync + 'static,
D::Future: Send,
Trait Implementations
impl Shield for ShieldClient
[src]
impl Shield for ShieldClient
fn create_protection(
&self,
input: CreateProtectionRequest
) -> RusotoFuture<CreateProtectionResponse, CreateProtectionError>
[src]
fn create_protection(
&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]
fn create_subscription(
&self
) -> RusotoFuture<CreateSubscriptionResponse, CreateSubscriptionError>
Activates AWS Shield Advanced for an account.
fn delete_protection(
&self,
input: DeleteProtectionRequest
) -> RusotoFuture<DeleteProtectionResponse, DeleteProtectionError>
[src]
fn delete_protection(
&self,
input: DeleteProtectionRequest
) -> RusotoFuture<DeleteProtectionResponse, DeleteProtectionError>
Deletes an AWS Shield Advanced Protection.
fn delete_subscription(
&self
) -> RusotoFuture<DeleteSubscriptionResponse, DeleteSubscriptionError>
[src]
fn delete_subscription(
&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]
fn describe_attack(
&self,
input: DescribeAttackRequest
) -> RusotoFuture<DescribeAttackResponse, DescribeAttackError>
Describes the details of a DDoS attack.
fn describe_protection(
&self,
input: DescribeProtectionRequest
) -> RusotoFuture<DescribeProtectionResponse, DescribeProtectionError>
[src]
fn describe_protection(
&self,
input: DescribeProtectionRequest
) -> RusotoFuture<DescribeProtectionResponse, DescribeProtectionError>
Lists the details of a Protection object.
fn describe_subscription(
&self
) -> RusotoFuture<DescribeSubscriptionResponse, DescribeSubscriptionError>
[src]
fn describe_subscription(
&self
) -> RusotoFuture<DescribeSubscriptionResponse, DescribeSubscriptionError>
Provides details about the AWS Shield Advanced subscription for an account.
fn get_subscription_state(
&self
) -> RusotoFuture<GetSubscriptionStateResponse, GetSubscriptionStateError>
[src]
fn get_subscription_state(
&self
) -> RusotoFuture<GetSubscriptionStateResponse, GetSubscriptionStateError>
Returns the SubscriptionState
, either Active
or Inactive
.
fn list_attacks(
&self,
input: ListAttacksRequest
) -> RusotoFuture<ListAttacksResponse, ListAttacksError>
[src]
fn list_attacks(
&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]
fn list_protections(
&self,
input: ListProtectionsRequest
) -> RusotoFuture<ListProtectionsResponse, ListProtectionsError>
Lists all Protection objects for the account.
Auto Trait Implementations
impl Send for ShieldClient
impl Send for ShieldClient
impl Sync for ShieldClient
impl Sync for ShieldClient