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"],
}
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`.
13239 13240 13241 13242 13243 13244 |
# File 'lib/aws-sdk-ec2/types.rb', line 13239 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` | `partition`).
13239 13240 13241 13242 13243 13244 |
# File 'lib/aws-sdk-ec2/types.rb', line 13239 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.
13239 13240 13241 13242 13243 13244 |
# File 'lib/aws-sdk-ec2/types.rb', line 13239 class DescribePlacementGroupsRequest < Struct.new( :filters, :dry_run, :group_names) include Aws::Structure end |