Class: Aws::EC2::Types::DescribePlacementGroupsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EC2::Types::DescribePlacementGroupsRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ec2/types.rb
Overview
When making an API call, you may pass DescribePlacementGroupsRequest data as a hash:
{
filters: [
{
name: "String",
values: ["String"],
},
],
dry_run: false,
group_names: ["String"],
}
Contains the parameters for DescribePlacementGroups.
Instance Attribute Summary collapse
-
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
-
#filters ⇒ Array<Types::Filter>
One or more filters.
-
#group_names ⇒ Array<String>
One or more placement group names.
Instance Attribute Details
#dry_run ⇒ Boolean
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ‘DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
10416 10417 10418 10419 10420 10421 |
# File 'lib/aws-sdk-ec2/types.rb', line 10416 class DescribePlacementGroupsRequest < Struct.new( :filters, :dry_run, :group_names) include Aws::Structure end |
#filters ⇒ Array<Types::Filter>
One or more filters.
-
‘group-name` - The name of the placement group.
-
‘state` - The state of the placement group (`pending` | `available` | `deleting` | `deleted`).
-
‘strategy` - The strategy of the placement group (`cluster` | `spread`).
10416 10417 10418 10419 10420 10421 |
# File 'lib/aws-sdk-ec2/types.rb', line 10416 class DescribePlacementGroupsRequest < Struct.new( :filters, :dry_run, :group_names) include Aws::Structure end |
#group_names ⇒ Array<String>
One or more placement group names.
Default: Describes all your placement groups, or only those otherwise specified.
10416 10417 10418 10419 10420 10421 |
# File 'lib/aws-sdk-ec2/types.rb', line 10416 class DescribePlacementGroupsRequest < Struct.new( :filters, :dry_run, :group_names) include Aws::Structure end |