[ aws . identitystore ]
Lists the attribute name and value of the group that you specified in the search. We only support DisplayName
as a valid filter attribute path currently, and filter is required. This API returns minimum attributes, including GroupId
and group DisplayName
in the response.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
list-groups
--identity-store-id <value>
[--max-results <value>]
[--next-token <value>]
[--filters <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--identity-store-id
(string)
The globally unique identifier for the identity store, such as d-1234567890. In this example, d- is a fixed prefix, and 1234567890 is a randomly generated string which contains number and lower case letters. This value is generated at the time that a new identity store is created.
--max-results
(integer)
The maximum number of results to be returned per request, which is used in the
ListUsers
andListGroups
request to specify how many results to return in one page. The length limit is 50 characters.
--next-token
(string)
The pagination token used for the
ListUsers
andListGroups
APIs. This value is generated by the identity store service and is returned in the API response if the total results are more than the size of one page, and when this token is used in the API request to search for the next page.
--filters
(list)
A list of
Filter
objects, which is used in theListUsers
andListGroups
request.(structure)
A query filter used by
ListUsers
andListGroup
. This filter object provides the attribute name and attribute value to search users or groups.AttributePath -> (string)
The attribute path used to specify which attribute name to search. Length limit is 255 characters. For example,
UserName
is a valid attribute path for theListUsers
API, andDisplayName
is a valid attribute path for theListGroups
API.AttributeValue -> (string)
Represents the data for an attribute. Each attribute value is described as a name-value pair.
Shorthand Syntax:
AttributePath=string,AttributeValue=string ...
JSON Syntax:
[
{
"AttributePath": "string",
"AttributeValue": "string"
}
...
]
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
Groups -> (list)
A list of
Group
objects in the identity store.(structure)
A group object, which contains a specified group’s metadata and attributes.
GroupId -> (string)
The identifier for a group in the identity store.
DisplayName -> (string)
Contains the group’s display name value. The length limit is 1024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space and non breaking space in this attribute. The characters “<>;:%” are excluded. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store.
NextToken -> (string)
The pagination token used for the
ListUsers
andListGroups
APIs. This value is generated by the identity store service and is returned in the API response if the total results are more than the size of one page, and when this token is used in the API request to search for the next page.