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`.
8244 8245 8246 8247 8248 8249 |
# File 'lib/aws-sdk-ec2/types.rb', line 8244 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`).
8244 8245 8246 8247 8248 8249 |
# File 'lib/aws-sdk-ec2/types.rb', line 8244 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.
8244 8245 8246 8247 8248 8249 |
# File 'lib/aws-sdk-ec2/types.rb', line 8244 class DescribePlacementGroupsRequest < Struct.new( :filters, :dry_run, :group_names) include Aws::Structure end |