Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListGroupsCommand

Lists the IAM groups that have the specified path prefix.

You can paginate the results using the MaxItems and Marker parameters.

example

Use a bare-bones client and the command you need to make an API call.

import { IAMClient, ListGroupsCommand } from "@aws-sdk/client-iam"; // ES Modules import
// const { IAMClient, ListGroupsCommand } = require("@aws-sdk/client-iam"); // CommonJS import
const client = new IAMClient(config);
const command = new ListGroupsCommand(input);
const response = await client.send(command);
see

ListGroupsCommandInput for command's input shape.

see

ListGroupsCommandOutput for command's response shape.

see

config for IAMClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ListGroupsCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListGroupsCommandInput, ListGroupsCommandOutput>

Methods

Static getEndpointParameterInstructions