pub struct GetMembersFluentBuilder { /* 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 GetMembersFluentBuilder
impl GetMembersFluentBuilder
sourcepub fn as_input(&self) -> &GetMembersInputBuilder
pub fn as_input(&self) -> &GetMembersInputBuilder
Access the GetMembers as a reference.
sourcepub async fn send(
self
) -> Result<GetMembersOutput, SdkError<GetMembersError, HttpResponse>>
pub async fn send( self ) -> Result<GetMembersOutput, SdkError<GetMembersError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<GetMembersOutput, GetMembersError, Self>
pub fn customize( self ) -> CustomizableOperation<GetMembersOutput, GetMembersError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
sourcepub fn get_account_ids(&self) -> &Option<Vec<String>>
pub fn get_account_ids(&self) -> &Option<Vec<String>>
The list of account IDs for the Security Hub member accounts to return the details for.
Trait Implementations§
source§impl Clone for GetMembersFluentBuilder
impl Clone for GetMembersFluentBuilder
source§fn clone(&self) -> GetMembersFluentBuilder
fn clone(&self) -> GetMembersFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more