Struct aws_sdk_securityhub::client::fluent_builders::GetMembers
source · pub struct GetMembers { /* private fields */ }
Expand description
Fluent builder constructing a request to GetMembers
.
Returns the details for the Security Hub member accounts for the specified account IDs.
An administrator account can be either the delegated Security Hub administrator account for an organization or an administrator account that enabled Security Hub manually.
The results include both member accounts that are managed using Organizations and accounts that were invited manually.
Implementations§
source§impl GetMembers
impl GetMembers
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetMembers, AwsResponseRetryClassifier>, SdkError<GetMembersError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetMembers, AwsResponseRetryClassifier>, SdkError<GetMembersError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(self) -> Result<GetMembersOutput, SdkError<GetMembersError>>
pub async fn send(self) -> Result<GetMembersOutput, SdkError<GetMembersError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn account_ids(self, input: impl Into<String>) -> Self
pub fn account_ids(self, input: impl Into<String>) -> Self
Appends an item to AccountIds
.
To override the contents of this collection use set_account_ids
.
The list of account IDs for the Security Hub member accounts to return the details for.
sourcepub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_account_ids(self, input: Option<Vec<String>>) -> Self
The list of account IDs for the Security Hub member accounts to return the details for.
Trait Implementations§
source§impl Clone for GetMembers
impl Clone for GetMembers
source§fn clone(&self) -> GetMembers
fn clone(&self) -> GetMembers
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more