Struct aws_sdk_securityhub::client::Client [−][src]
pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Client for AWS SecurityHub
Client for invoking operations on AWS SecurityHub. Each operation on AWS SecurityHub is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_securityhub::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_securityhub::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_securityhub::Client::from_conf(config);
Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the AcceptAdministratorInvitation
operation.
See AcceptAdministratorInvitation
for more information about the
operation and its arguments.
Constructs a fluent builder for the AcceptInvitation
operation.
See AcceptInvitation
for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchDisableStandards
operation.
See BatchDisableStandards
for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchEnableStandards
operation.
See BatchEnableStandards
for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchImportFindings
operation.
See BatchImportFindings
for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchUpdateFindings
operation.
See BatchUpdateFindings
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateActionTarget
operation.
See CreateActionTarget
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateFindingAggregator
operation.
See CreateFindingAggregator
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateInsight
operation.
See CreateInsight
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateMembers
operation.
See CreateMembers
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeclineInvitations
operation.
See DeclineInvitations
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteActionTarget
operation.
See DeleteActionTarget
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteFindingAggregator
operation.
See DeleteFindingAggregator
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteInsight
operation.
See DeleteInsight
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteInvitations
operation.
See DeleteInvitations
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteMembers
operation.
See DeleteMembers
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeActionTargets
operation.
See DescribeActionTargets
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeHub
operation.
See DescribeHub
for more information about the
operation and its arguments.
pub fn describe_organization_configuration(
&self
) -> DescribeOrganizationConfiguration<C, M, R>
pub fn describe_organization_configuration(
&self
) -> DescribeOrganizationConfiguration<C, M, R>
Constructs a fluent builder for the DescribeOrganizationConfiguration
operation.
See DescribeOrganizationConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeProducts
operation.
See DescribeProducts
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeStandards
operation.
See DescribeStandards
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DescribeStandardsControls
operation.
See DescribeStandardsControls
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the DisableImportFindingsForProduct
operation.
See DisableImportFindingsForProduct
for more information about the
operation and its arguments.
Constructs a fluent builder for the DisableOrganizationAdminAccount
operation.
See DisableOrganizationAdminAccount
for more information about the
operation and its arguments.
Constructs a fluent builder for the DisableSecurityHub
operation.
See DisableSecurityHub
for more information about the
operation and its arguments.
pub fn disassociate_from_administrator_account(
&self
) -> DisassociateFromAdministratorAccount<C, M, R>
pub fn disassociate_from_administrator_account(
&self
) -> DisassociateFromAdministratorAccount<C, M, R>
Constructs a fluent builder for the DisassociateFromAdministratorAccount
operation.
See DisassociateFromAdministratorAccount
for more information about the
operation and its arguments.
Constructs a fluent builder for the DisassociateFromMasterAccount
operation.
See DisassociateFromMasterAccount
for more information about the
operation and its arguments.
Constructs a fluent builder for the DisassociateMembers
operation.
See DisassociateMembers
for more information about the
operation and its arguments.
Constructs a fluent builder for the EnableImportFindingsForProduct
operation.
See EnableImportFindingsForProduct
for more information about the
operation and its arguments.
Constructs a fluent builder for the EnableOrganizationAdminAccount
operation.
See EnableOrganizationAdminAccount
for more information about the
operation and its arguments.
Constructs a fluent builder for the EnableSecurityHub
operation.
See EnableSecurityHub
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetAdministratorAccount
operation.
See GetAdministratorAccount
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetEnabledStandards
operation.
See GetEnabledStandards
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the GetFindingAggregator
operation.
See GetFindingAggregator
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetFindings
operation.
See GetFindings
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the GetInsightResults
operation.
See GetInsightResults
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetInsights
operation.
See GetInsights
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the GetInvitationsCount
operation.
See GetInvitationsCount
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetMasterAccount
operation.
See GetMasterAccount
for more information about the
operation and its arguments.
Constructs a fluent builder for the GetMembers
operation.
See GetMembers
for more information about the
operation and its arguments.
Constructs a fluent builder for the InviteMembers
operation.
See InviteMembers
for more information about the
operation and its arguments.
Constructs a fluent builder for the ListEnabledProductsForImport
operation.
See ListEnabledProductsForImport
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListFindingAggregators
operation.
See ListFindingAggregators
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListInvitations
operation.
See ListInvitations
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListMembers
operation.
See ListMembers
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListOrganizationAdminAccounts
operation.
See ListOrganizationAdminAccounts
for more information about the
operation and its arguments.
This operation supports pagination. See into_paginator()
.
Constructs a fluent builder for the ListTagsForResource
operation.
See ListTagsForResource
for more information about the
operation and its arguments.
Constructs a fluent builder for the TagResource
operation.
See TagResource
for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagResource
operation.
See UntagResource
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateActionTarget
operation.
See UpdateActionTarget
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateFindingAggregator
operation.
See UpdateFindingAggregator
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateFindings
operation.
See UpdateFindings
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateInsight
operation.
See UpdateInsight
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateOrganizationConfiguration
operation.
See UpdateOrganizationConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateSecurityHubConfiguration
operation.
See UpdateSecurityHubConfiguration
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateStandardsControl
operation.
See UpdateStandardsControl
for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more