import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types"; import { type CreateProfileCommandInput, type CreateProfileCommandOutput } from "./commands/CreateProfileCommand"; import { type CreateTrustAnchorCommandInput, type CreateTrustAnchorCommandOutput } from "./commands/CreateTrustAnchorCommand"; import { type DeleteAttributeMappingCommandInput, type DeleteAttributeMappingCommandOutput } from "./commands/DeleteAttributeMappingCommand"; import { type DeleteCrlCommandInput, type DeleteCrlCommandOutput } from "./commands/DeleteCrlCommand"; import { type DeleteProfileCommandInput, type DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand"; import { type DeleteTrustAnchorCommandInput, type DeleteTrustAnchorCommandOutput } from "./commands/DeleteTrustAnchorCommand"; import { type DisableCrlCommandInput, type DisableCrlCommandOutput } from "./commands/DisableCrlCommand"; import { type DisableProfileCommandInput, type DisableProfileCommandOutput } from "./commands/DisableProfileCommand"; import { type DisableTrustAnchorCommandInput, type DisableTrustAnchorCommandOutput } from "./commands/DisableTrustAnchorCommand"; import { type EnableCrlCommandInput, type EnableCrlCommandOutput } from "./commands/EnableCrlCommand"; import { type EnableProfileCommandInput, type EnableProfileCommandOutput } from "./commands/EnableProfileCommand"; import { type EnableTrustAnchorCommandInput, type EnableTrustAnchorCommandOutput } from "./commands/EnableTrustAnchorCommand"; import { type GetCrlCommandInput, type GetCrlCommandOutput } from "./commands/GetCrlCommand"; import { type GetProfileCommandInput, type GetProfileCommandOutput } from "./commands/GetProfileCommand"; import { type GetSubjectCommandInput, type GetSubjectCommandOutput } from "./commands/GetSubjectCommand"; import { type GetTrustAnchorCommandInput, type GetTrustAnchorCommandOutput } from "./commands/GetTrustAnchorCommand"; import { type ImportCrlCommandInput, type ImportCrlCommandOutput } from "./commands/ImportCrlCommand"; import { type ListCrlsCommandInput, type ListCrlsCommandOutput } from "./commands/ListCrlsCommand"; import { type ListProfilesCommandInput, type ListProfilesCommandOutput } from "./commands/ListProfilesCommand"; import { type ListSubjectsCommandInput, type ListSubjectsCommandOutput } from "./commands/ListSubjectsCommand"; import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import { type ListTrustAnchorsCommandInput, type ListTrustAnchorsCommandOutput } from "./commands/ListTrustAnchorsCommand"; import { type PutAttributeMappingCommandInput, type PutAttributeMappingCommandOutput } from "./commands/PutAttributeMappingCommand"; import { type PutNotificationSettingsCommandInput, type PutNotificationSettingsCommandOutput } from "./commands/PutNotificationSettingsCommand"; import { type ResetNotificationSettingsCommandInput, type ResetNotificationSettingsCommandOutput } from "./commands/ResetNotificationSettingsCommand"; import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { type UpdateCrlCommandInput, type UpdateCrlCommandOutput } from "./commands/UpdateCrlCommand"; import { type UpdateProfileCommandInput, type UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand"; import { type UpdateTrustAnchorCommandInput, type UpdateTrustAnchorCommandOutput } from "./commands/UpdateTrustAnchorCommand"; import { RolesAnywhereClient } from "./RolesAnywhereClient"; export interface RolesAnywhere { /** * @see {@link CreateProfileCommand} */ createProfile(args: CreateProfileCommandInput, options?: __HttpHandlerOptions): Promise; createProfile(args: CreateProfileCommandInput, cb: (err: any, data?: CreateProfileCommandOutput) => void): void; createProfile(args: CreateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfileCommandOutput) => void): void; /** * @see {@link CreateTrustAnchorCommand} */ createTrustAnchor(args: CreateTrustAnchorCommandInput, options?: __HttpHandlerOptions): Promise; createTrustAnchor(args: CreateTrustAnchorCommandInput, cb: (err: any, data?: CreateTrustAnchorCommandOutput) => void): void; createTrustAnchor(args: CreateTrustAnchorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTrustAnchorCommandOutput) => void): void; /** * @see {@link DeleteAttributeMappingCommand} */ deleteAttributeMapping(args: DeleteAttributeMappingCommandInput, options?: __HttpHandlerOptions): Promise; deleteAttributeMapping(args: DeleteAttributeMappingCommandInput, cb: (err: any, data?: DeleteAttributeMappingCommandOutput) => void): void; deleteAttributeMapping(args: DeleteAttributeMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAttributeMappingCommandOutput) => void): void; /** * @see {@link DeleteCrlCommand} */ deleteCrl(args: DeleteCrlCommandInput, options?: __HttpHandlerOptions): Promise; deleteCrl(args: DeleteCrlCommandInput, cb: (err: any, data?: DeleteCrlCommandOutput) => void): void; deleteCrl(args: DeleteCrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCrlCommandOutput) => void): void; /** * @see {@link DeleteProfileCommand} */ deleteProfile(args: DeleteProfileCommandInput, options?: __HttpHandlerOptions): Promise; deleteProfile(args: DeleteProfileCommandInput, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void; deleteProfile(args: DeleteProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void; /** * @see {@link DeleteTrustAnchorCommand} */ deleteTrustAnchor(args: DeleteTrustAnchorCommandInput, options?: __HttpHandlerOptions): Promise; deleteTrustAnchor(args: DeleteTrustAnchorCommandInput, cb: (err: any, data?: DeleteTrustAnchorCommandOutput) => void): void; deleteTrustAnchor(args: DeleteTrustAnchorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTrustAnchorCommandOutput) => void): void; /** * @see {@link DisableCrlCommand} */ disableCrl(args: DisableCrlCommandInput, options?: __HttpHandlerOptions): Promise; disableCrl(args: DisableCrlCommandInput, cb: (err: any, data?: DisableCrlCommandOutput) => void): void; disableCrl(args: DisableCrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableCrlCommandOutput) => void): void; /** * @see {@link DisableProfileCommand} */ disableProfile(args: DisableProfileCommandInput, options?: __HttpHandlerOptions): Promise; disableProfile(args: DisableProfileCommandInput, cb: (err: any, data?: DisableProfileCommandOutput) => void): void; disableProfile(args: DisableProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableProfileCommandOutput) => void): void; /** * @see {@link DisableTrustAnchorCommand} */ disableTrustAnchor(args: DisableTrustAnchorCommandInput, options?: __HttpHandlerOptions): Promise; disableTrustAnchor(args: DisableTrustAnchorCommandInput, cb: (err: any, data?: DisableTrustAnchorCommandOutput) => void): void; disableTrustAnchor(args: DisableTrustAnchorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableTrustAnchorCommandOutput) => void): void; /** * @see {@link EnableCrlCommand} */ enableCrl(args: EnableCrlCommandInput, options?: __HttpHandlerOptions): Promise; enableCrl(args: EnableCrlCommandInput, cb: (err: any, data?: EnableCrlCommandOutput) => void): void; enableCrl(args: EnableCrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableCrlCommandOutput) => void): void; /** * @see {@link EnableProfileCommand} */ enableProfile(args: EnableProfileCommandInput, options?: __HttpHandlerOptions): Promise; enableProfile(args: EnableProfileCommandInput, cb: (err: any, data?: EnableProfileCommandOutput) => void): void; enableProfile(args: EnableProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableProfileCommandOutput) => void): void; /** * @see {@link EnableTrustAnchorCommand} */ enableTrustAnchor(args: EnableTrustAnchorCommandInput, options?: __HttpHandlerOptions): Promise; enableTrustAnchor(args: EnableTrustAnchorCommandInput, cb: (err: any, data?: EnableTrustAnchorCommandOutput) => void): void; enableTrustAnchor(args: EnableTrustAnchorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableTrustAnchorCommandOutput) => void): void; /** * @see {@link GetCrlCommand} */ getCrl(args: GetCrlCommandInput, options?: __HttpHandlerOptions): Promise; getCrl(args: GetCrlCommandInput, cb: (err: any, data?: GetCrlCommandOutput) => void): void; getCrl(args: GetCrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCrlCommandOutput) => void): void; /** * @see {@link GetProfileCommand} */ getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise; getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void; getProfile(args: GetProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void; /** * @see {@link GetSubjectCommand} */ getSubject(args: GetSubjectCommandInput, options?: __HttpHandlerOptions): Promise; getSubject(args: GetSubjectCommandInput, cb: (err: any, data?: GetSubjectCommandOutput) => void): void; getSubject(args: GetSubjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSubjectCommandOutput) => void): void; /** * @see {@link GetTrustAnchorCommand} */ getTrustAnchor(args: GetTrustAnchorCommandInput, options?: __HttpHandlerOptions): Promise; getTrustAnchor(args: GetTrustAnchorCommandInput, cb: (err: any, data?: GetTrustAnchorCommandOutput) => void): void; getTrustAnchor(args: GetTrustAnchorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrustAnchorCommandOutput) => void): void; /** * @see {@link ImportCrlCommand} */ importCrl(args: ImportCrlCommandInput, options?: __HttpHandlerOptions): Promise; importCrl(args: ImportCrlCommandInput, cb: (err: any, data?: ImportCrlCommandOutput) => void): void; importCrl(args: ImportCrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportCrlCommandOutput) => void): void; /** * @see {@link ListCrlsCommand} */ listCrls(): Promise; listCrls(args: ListCrlsCommandInput, options?: __HttpHandlerOptions): Promise; listCrls(args: ListCrlsCommandInput, cb: (err: any, data?: ListCrlsCommandOutput) => void): void; listCrls(args: ListCrlsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCrlsCommandOutput) => void): void; /** * @see {@link ListProfilesCommand} */ listProfiles(): Promise; listProfiles(args: ListProfilesCommandInput, options?: __HttpHandlerOptions): Promise; listProfiles(args: ListProfilesCommandInput, cb: (err: any, data?: ListProfilesCommandOutput) => void): void; listProfiles(args: ListProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfilesCommandOutput) => void): void; /** * @see {@link ListSubjectsCommand} */ listSubjects(): Promise; listSubjects(args: ListSubjectsCommandInput, options?: __HttpHandlerOptions): Promise; listSubjects(args: ListSubjectsCommandInput, cb: (err: any, data?: ListSubjectsCommandOutput) => void): void; listSubjects(args: ListSubjectsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSubjectsCommandOutput) => void): void; /** * @see {@link ListTagsForResourceCommand} */ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise; listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; /** * @see {@link ListTrustAnchorsCommand} */ listTrustAnchors(): Promise; listTrustAnchors(args: ListTrustAnchorsCommandInput, options?: __HttpHandlerOptions): Promise; listTrustAnchors(args: ListTrustAnchorsCommandInput, cb: (err: any, data?: ListTrustAnchorsCommandOutput) => void): void; listTrustAnchors(args: ListTrustAnchorsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrustAnchorsCommandOutput) => void): void; /** * @see {@link PutAttributeMappingCommand} */ putAttributeMapping(args: PutAttributeMappingCommandInput, options?: __HttpHandlerOptions): Promise; putAttributeMapping(args: PutAttributeMappingCommandInput, cb: (err: any, data?: PutAttributeMappingCommandOutput) => void): void; putAttributeMapping(args: PutAttributeMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAttributeMappingCommandOutput) => void): void; /** * @see {@link PutNotificationSettingsCommand} */ putNotificationSettings(args: PutNotificationSettingsCommandInput, options?: __HttpHandlerOptions): Promise; putNotificationSettings(args: PutNotificationSettingsCommandInput, cb: (err: any, data?: PutNotificationSettingsCommandOutput) => void): void; putNotificationSettings(args: PutNotificationSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutNotificationSettingsCommandOutput) => void): void; /** * @see {@link ResetNotificationSettingsCommand} */ resetNotificationSettings(args: ResetNotificationSettingsCommandInput, options?: __HttpHandlerOptions): Promise; resetNotificationSettings(args: ResetNotificationSettingsCommandInput, cb: (err: any, data?: ResetNotificationSettingsCommandOutput) => void): void; resetNotificationSettings(args: ResetNotificationSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetNotificationSettingsCommandOutput) => void): void; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; /** * @see {@link UpdateCrlCommand} */ updateCrl(args: UpdateCrlCommandInput, options?: __HttpHandlerOptions): Promise; updateCrl(args: UpdateCrlCommandInput, cb: (err: any, data?: UpdateCrlCommandOutput) => void): void; updateCrl(args: UpdateCrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCrlCommandOutput) => void): void; /** * @see {@link UpdateProfileCommand} */ updateProfile(args: UpdateProfileCommandInput, options?: __HttpHandlerOptions): Promise; updateProfile(args: UpdateProfileCommandInput, cb: (err: any, data?: UpdateProfileCommandOutput) => void): void; updateProfile(args: UpdateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfileCommandOutput) => void): void; /** * @see {@link UpdateTrustAnchorCommand} */ updateTrustAnchor(args: UpdateTrustAnchorCommandInput, options?: __HttpHandlerOptions): Promise; updateTrustAnchor(args: UpdateTrustAnchorCommandInput, cb: (err: any, data?: UpdateTrustAnchorCommandOutput) => void): void; updateTrustAnchor(args: UpdateTrustAnchorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTrustAnchorCommandOutput) => void): void; /** * @see {@link ListCrlsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListCrlsCommandOutput}. */ paginateListCrls(args?: ListCrlsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListProfilesCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListProfilesCommandOutput}. */ paginateListProfiles(args?: ListProfilesCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListSubjectsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListSubjectsCommandOutput}. */ paginateListSubjects(args?: ListSubjectsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListTrustAnchorsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListTrustAnchorsCommandOutput}. */ paginateListTrustAnchors(args?: ListTrustAnchorsCommandInput, paginationConfig?: Omit): Paginator; } /** *

Identity and Access Management Roles Anywhere provides a secure way for your workloads such as servers, containers, and applications that run outside of Amazon Web Services to obtain temporary Amazon Web Services credentials. Your workloads can use the same IAM policies and roles you have for native Amazon Web Services applications to access Amazon Web Services resources. Using IAM Roles Anywhere eliminates the need to manage long-term credentials for workloads running outside of Amazon Web Services.

To use IAM Roles Anywhere, your workloads must use X.509 certificates issued by their certificate authority (CA). You register the CA with IAM Roles Anywhere as a trust anchor to establish trust between your public key infrastructure (PKI) and IAM Roles Anywhere. If you don't manage your own PKI system, you can use Private Certificate Authority to create a CA and then use that to establish trust with IAM Roles Anywhere.

This guide describes the IAM Roles Anywhere operations that you can call programmatically. For more information about IAM Roles Anywhere, see the IAM Roles Anywhere User Guide.

* @public */ export declare class RolesAnywhere extends RolesAnywhereClient implements RolesAnywhere { }