Struct aws_sdk_cloudcontrol::input::ListResourcesInput [−][src]
#[non_exhaustive]pub struct ListResourcesInput {
pub type_name: Option<String>,
pub type_version_id: Option<String>,
pub role_arn: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub resource_model: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.type_name: Option<String>
The name of the resource type.
type_version_id: Option<String>
For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the handlers
section of the resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
For more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
next_token: Option<String>
If the previous paginated request didn't return all of the remaining results, the response object's NextToken
parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
max_results: Option<i32>
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken
value that you can assign to the NextToken
request parameter to get the next set of results.
The default is 20
.
resource_model: Option<String>
The resource model to use to select the resources to return.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListResources, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ListResources, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ListResources
>
Creates a new builder-style object to manufacture ListResourcesInput
For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the handlers
section of the resource type definition schema.
If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.
For more information, see Specifying credentials in the Amazon Web Services Cloud Control API User Guide.
If the previous paginated request didn't return all of the remaining results, the response object's NextToken
parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken
parameter is set to null
.
The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken
value that you can assign to the NextToken
request parameter to get the next set of results.
The default is 20
.
The resource model to use to select the resources to return.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListResourcesInput
impl Send for ListResourcesInput
impl Sync for ListResourcesInput
impl Unpin for ListResourcesInput
impl UnwindSafe for ListResourcesInput
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