Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class ListSAMLProvidersCommandProtected

Lists the SAML provider resource objects defined in IAM in the account. 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 SAML provider, see GetSAMLProvider.

This operation requires Signature Version 4.

Example

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

import { IAMClient, ListSAMLProvidersCommand } from "@aws-sdk/client-iam"; // ES Modules import
// const { IAMClient, ListSAMLProvidersCommand } = require("@aws-sdk/client-iam"); // CommonJS import
const client = new IAMClient(config);
const input = {};
const command = new ListSAMLProvidersCommand(input);
const response = await client.send(command);
// { // ListSAMLProvidersResponse
// SAMLProviderList: [ // SAMLProviderListType
// { // SAMLProviderListEntry
// Arn: "STRING_VALUE",
// ValidUntil: new Date("TIMESTAMP"),
// CreateDate: new Date("TIMESTAMP"),
// },
// ],
// };

Param

ListSAMLProvidersCommandInput

Returns

ListSAMLProvidersCommandOutput

See

Throws

ServiceFailureException (server fault)

The request processing has failed because of an unknown error, exception or failure.

Throws

IAMServiceException

Base exception class for all service exceptions from IAM service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods