Skip to content

Commit

Permalink
docs(client-iam): Documentation updates for AWS Identity and Access M…
Browse files Browse the repository at this point in the history
…anagement (IAM).
  • Loading branch information
awstools committed Jun 16, 2023
1 parent 06feb14 commit 8d894a1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
14 changes: 13 additions & 1 deletion clients/client-iam/src/commands/ListRolesCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,19 @@ export interface ListRolesCommandOutput extends ListRolesResponse, __MetadataBea
* roles</a>.</p>
* <note>
* <p>IAM resource-listing operations return a subset of the available
* attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a role, see <a>GetRole</a>.</p>
* attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object:</p>
* <ul>
* <li>
* <p>PermissionsBoundary</p>
* </li>
* <li>
* <p>RoleLastUsed</p>
* </li>
* <li>
* <p>Tags</p>
* </li>
* </ul>
* <p>To view all of the information for a role, see <a>GetRole</a>.</p>
* </note>
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
* parameters.</p>
Expand Down
11 changes: 10 additions & 1 deletion clients/client-iam/src/commands/ListUsersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,16 @@ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBea
* operation returns an empty list.</p>
* <note>
* <p>IAM resource-listing operations return a subset of the available
* attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a user, see <a>GetUser</a>.</p>
* attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object:</p>
* <ul>
* <li>
* <p>PermissionsBoundary</p>
* </li>
* <li>
* <p>Tags</p>
* </li>
* </ul>
* <p>To view all of the information for a user, see <a>GetUser</a>.</p>
* </note>
* <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>
* parameters.</p>
Expand Down
2 changes: 1 addition & 1 deletion clients/client-iam/src/protocols/Aws_query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18592,7 +18592,7 @@ const parseBody = (streamBody: any, context: __SerdeContext): any =>
ignoreDeclaration: true,
parseTagValue: false,
trimValues: false,
tagValueProcessor: (_, val) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
tagValueProcessor: (_: any, val: any) => (val.trim() === "" && val.includes("\n") ? "" : undefined),
});
parser.addEntity("#xD", "\r");
parser.addEntity("#10", "\n");
Expand Down
4 changes: 2 additions & 2 deletions codegen/sdk-codegen/aws-models/iam.json
Original file line number Diff line number Diff line change
Expand Up @@ -9095,7 +9095,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the IAM roles that have the specified path prefix. If there are none, the\n operation returns an empty list. For more information about roles, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html\">Working with\n roles</a>.</p>\n <note>\n <p>IAM resource-listing operations return a subset of the available \n attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a role, see <a>GetRole</a>.</p>\n </note>\n <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>\n parameters.</p>",
"smithy.api#documentation": "<p>Lists the IAM roles that have the specified path prefix. If there are none, the\n operation returns an empty list. For more information about roles, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html\">Working with\n roles</a>.</p>\n <note>\n <p>IAM resource-listing operations return a subset of the available \n attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object:</p>\n <ul>\n <li>\n <p>PermissionsBoundary</p>\n </li>\n <li>\n <p>RoleLastUsed</p>\n </li>\n <li>\n <p>Tags</p>\n </li>\n </ul>\n <p>To view all of the information for a role, see <a>GetRole</a>.</p>\n </note>\n <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>\n parameters.</p>",
"smithy.api#paginated": {
"inputToken": "Marker",
"outputToken": "Marker",
Expand Down Expand Up @@ -9818,7 +9818,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the IAM users that have the specified path prefix. If no path prefix is\n specified, the operation returns all users in the Amazon Web Services account. If there are none, the\n operation returns an empty list.</p>\n <note>\n <p>IAM resource-listing operations return a subset of the available \n attributes for the resource. For example, this operation does not return tags, even though they are an attribute of the returned object. To view all of the information for a user, see <a>GetUser</a>.</p>\n </note>\n <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>\n parameters.</p>",
"smithy.api#documentation": "<p>Lists the IAM users that have the specified path prefix. If no path prefix is\n specified, the operation returns all users in the Amazon Web Services account. If there are none, the\n operation returns an empty list.</p>\n <note>\n <p>IAM resource-listing operations return a subset of the available \n attributes for the resource. This operation does not return the following attributes, even though they are an attribute of the returned object:</p>\n <ul>\n <li>\n <p>PermissionsBoundary</p>\n </li>\n <li>\n <p>Tags</p>\n </li>\n </ul>\n <p>To view all of the information for a user, see <a>GetUser</a>.</p>\n </note>\n <p>You can paginate the results using the <code>MaxItems</code> and <code>Marker</code>\n parameters.</p>",
"smithy.api#paginated": {
"inputToken": "Marker",
"outputToken": "Marker",
Expand Down

0 comments on commit 8d894a1

Please sign in to comment.