@aws-sdk/client-rolesanywhere 3.123.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +208 -0
- package/dist-cjs/RolesAnywhere.js +397 -0
- package/dist-cjs/RolesAnywhereClient.js +37 -0
- package/dist-cjs/commands/CreateProfileCommand.js +36 -0
- package/dist-cjs/commands/CreateTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/DeleteCrlCommand.js +36 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +36 -0
- package/dist-cjs/commands/DeleteTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/DisableCrlCommand.js +36 -0
- package/dist-cjs/commands/DisableProfileCommand.js +36 -0
- package/dist-cjs/commands/DisableTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/EnableCrlCommand.js +36 -0
- package/dist-cjs/commands/EnableProfileCommand.js +36 -0
- package/dist-cjs/commands/EnableTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/GetCrlCommand.js +36 -0
- package/dist-cjs/commands/GetProfileCommand.js +36 -0
- package/dist-cjs/commands/GetSubjectCommand.js +36 -0
- package/dist-cjs/commands/GetTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/ImportCrlCommand.js +36 -0
- package/dist-cjs/commands/ListCrlsCommand.js +36 -0
- package/dist-cjs/commands/ListProfilesCommand.js +36 -0
- package/dist-cjs/commands/ListSubjectsCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/ListTrustAnchorsCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateCrlCommand.js +36 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +36 -0
- package/dist-cjs/commands/UpdateTrustAnchorCommand.js +36 -0
- package/dist-cjs/commands/index.js +29 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/RolesAnywhereServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +301 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCrlsPaginator.js +35 -0
- package/dist-cjs/pagination/ListProfilesPaginator.js +35 -0
- package/dist-cjs/pagination/ListSubjectsPaginator.js +35 -0
- package/dist-cjs/pagination/ListTrustAnchorsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2195 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/RolesAnywhere.js +400 -0
- package/dist-es/RolesAnywhereClient.js +39 -0
- package/dist-es/commands/CreateProfileCommand.js +39 -0
- package/dist-es/commands/CreateTrustAnchorCommand.js +39 -0
- package/dist-es/commands/DeleteCrlCommand.js +39 -0
- package/dist-es/commands/DeleteProfileCommand.js +39 -0
- package/dist-es/commands/DeleteTrustAnchorCommand.js +39 -0
- package/dist-es/commands/DisableCrlCommand.js +39 -0
- package/dist-es/commands/DisableProfileCommand.js +39 -0
- package/dist-es/commands/DisableTrustAnchorCommand.js +39 -0
- package/dist-es/commands/EnableCrlCommand.js +39 -0
- package/dist-es/commands/EnableProfileCommand.js +39 -0
- package/dist-es/commands/EnableTrustAnchorCommand.js +39 -0
- package/dist-es/commands/GetCrlCommand.js +39 -0
- package/dist-es/commands/GetProfileCommand.js +39 -0
- package/dist-es/commands/GetSubjectCommand.js +39 -0
- package/dist-es/commands/GetTrustAnchorCommand.js +39 -0
- package/dist-es/commands/ImportCrlCommand.js +39 -0
- package/dist-es/commands/ListCrlsCommand.js +39 -0
- package/dist-es/commands/ListProfilesCommand.js +39 -0
- package/dist-es/commands/ListSubjectsCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/ListTrustAnchorsCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateCrlCommand.js +39 -0
- package/dist-es/commands/UpdateProfileCommand.js +39 -0
- package/dist-es/commands/UpdateTrustAnchorCommand.js +39 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/RolesAnywhereServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +214 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCrlsPaginator.js +74 -0
- package/dist-es/pagination/ListProfilesPaginator.js +74 -0
- package/dist-es/pagination/ListSubjectsPaginator.js +74 -0
- package/dist-es/pagination/ListTrustAnchorsPaginator.js +74 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +2793 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +30 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/RolesAnywhere.d.ts +296 -0
- package/dist-types/RolesAnywhereClient.d.ts +173 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +39 -0
- package/dist-types/commands/CreateTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/DeleteCrlCommand.d.ts +39 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +39 -0
- package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/DisableCrlCommand.d.ts +39 -0
- package/dist-types/commands/DisableProfileCommand.d.ts +39 -0
- package/dist-types/commands/DisableTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/EnableCrlCommand.d.ts +39 -0
- package/dist-types/commands/EnableProfileCommand.d.ts +39 -0
- package/dist-types/commands/EnableTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/GetCrlCommand.d.ts +39 -0
- package/dist-types/commands/GetProfileCommand.d.ts +39 -0
- package/dist-types/commands/GetSubjectCommand.d.ts +39 -0
- package/dist-types/commands/GetTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/ImportCrlCommand.d.ts +39 -0
- package/dist-types/commands/ListCrlsCommand.d.ts +39 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +39 -0
- package/dist-types/commands/ListSubjectsCommand.d.ts +39 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/commands/ListTrustAnchorsCommand.d.ts +39 -0
- package/dist-types/commands/TagResourceCommand.d.ts +39 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +39 -0
- package/dist-types/commands/UpdateCrlCommand.d.ts +39 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +39 -0
- package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/RolesAnywhereServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +823 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListCrlsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSubjectsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListTrustAnchorsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +80 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/RolesAnywhere.d.ts +135 -0
- package/dist-types/ts3.4/RolesAnywhereClient.d.ts +99 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSubjectCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ImportCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCrlsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListSubjectsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTrustAnchorsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCrlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateTrustAnchorCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/RolesAnywhereServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +498 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListCrlsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListSubjectsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListTrustAnchorsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +94 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CreateTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface CreateTrustAnchorCommandInput extends CreateTrustAnchorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateTrustAnchorCommandOutput extends TrustAnchorDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a trust anchor. You establish trust between IAM Roles Anywhere and your certificate authority (CA) by configuring a trust anchor. A Trust Anchor is defined either as a reference to a AWS Certificate Manager Private Certificate Authority (ACM PCA), or by uploading a Certificate Authority (CA) certificate. Your AWS workloads can authenticate with the trust anchor using certificates issued by the trusted Certificate Authority (CA) in exchange for temporary AWS credentials.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:CreateTrustAnchor</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, CreateTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, CreateTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new CreateTrustAnchorCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link CreateTrustAnchorCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link CreateTrustAnchorCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class CreateTrustAnchorCommand extends $Command<CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: CreateTrustAnchorCommandInput;
|
|
32
|
+
constructor(input: CreateTrustAnchorCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface DeleteCrlCommandInput extends ScalarCrlRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteCrlCommandOutput extends CrlDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes a certificate revocation list (CRL).</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:DeleteCrl</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, DeleteCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, DeleteCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new DeleteCrlCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DeleteCrlCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DeleteCrlCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DeleteCrlCommand extends $Command<DeleteCrlCommandInput, DeleteCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: DeleteCrlCommandInput;
|
|
32
|
+
constructor(input: DeleteCrlCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCrlCommandInput, DeleteCrlCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ProfileDetailResponse, ScalarProfileRequest } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface DeleteProfileCommandInput extends ScalarProfileRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteProfileCommandOutput extends ProfileDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes a profile.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:DeleteProfile</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, DeleteProfileCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, DeleteProfileCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new DeleteProfileCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DeleteProfileCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DeleteProfileCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DeleteProfileCommand extends $Command<DeleteProfileCommandInput, DeleteProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: DeleteProfileCommandInput;
|
|
32
|
+
constructor(input: DeleteProfileCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProfileCommandInput, DeleteProfileCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ScalarTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface DeleteTrustAnchorCommandInput extends ScalarTrustAnchorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeleteTrustAnchorCommandOutput extends TrustAnchorDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deletes a trust anchor.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:DeleteTrustAnchor</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, DeleteTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, DeleteTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new DeleteTrustAnchorCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DeleteTrustAnchorCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DeleteTrustAnchorCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DeleteTrustAnchorCommand extends $Command<DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: DeleteTrustAnchorCommandInput;
|
|
32
|
+
constructor(input: DeleteTrustAnchorCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface DisableCrlCommandInput extends ScalarCrlRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DisableCrlCommandOutput extends CrlDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Disables a certificate revocation list (CRL).</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:DisableCrl</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, DisableCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, DisableCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new DisableCrlCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DisableCrlCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DisableCrlCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DisableCrlCommand extends $Command<DisableCrlCommandInput, DisableCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: DisableCrlCommandInput;
|
|
32
|
+
constructor(input: DisableCrlCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableCrlCommandInput, DisableCrlCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ProfileDetailResponse, ScalarProfileRequest } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface DisableProfileCommandInput extends ScalarProfileRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DisableProfileCommandOutput extends ProfileDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Disables a profile. When disabled, <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> requests with this profile fail.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:DisableProfile</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, DisableProfileCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, DisableProfileCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new DisableProfileCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DisableProfileCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DisableProfileCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DisableProfileCommand extends $Command<DisableProfileCommandInput, DisableProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: DisableProfileCommandInput;
|
|
32
|
+
constructor(input: DisableProfileCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableProfileCommandInput, DisableProfileCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ScalarTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface DisableTrustAnchorCommandInput extends ScalarTrustAnchorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DisableTrustAnchorCommandOutput extends TrustAnchorDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Disables a trust anchor. When disabled, <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a> requests specifying this trust anchor are unauthorized.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:DisableTrustAnchor</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, DisableTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, DisableTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new DisableTrustAnchorCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DisableTrustAnchorCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DisableTrustAnchorCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DisableTrustAnchorCommand extends $Command<DisableTrustAnchorCommandInput, DisableTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: DisableTrustAnchorCommandInput;
|
|
32
|
+
constructor(input: DisableTrustAnchorCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableTrustAnchorCommandInput, DisableTrustAnchorCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface EnableCrlCommandInput extends ScalarCrlRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface EnableCrlCommandOutput extends CrlDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Enables a certificate revocation list (CRL). When enabled, certificates stored in the CRL are unauthorized to receive session credentials.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:EnableCrl</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, EnableCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, EnableCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new EnableCrlCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link EnableCrlCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link EnableCrlCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class EnableCrlCommand extends $Command<EnableCrlCommandInput, EnableCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: EnableCrlCommandInput;
|
|
32
|
+
constructor(input: EnableCrlCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableCrlCommandInput, EnableCrlCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ProfileDetailResponse, ScalarProfileRequest } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface EnableProfileCommandInput extends ScalarProfileRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface EnableProfileCommandOutput extends ProfileDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Enables the roles in a profile to receive session credentials in <a href="https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html">CreateSession</a>. </p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:EnableProfile</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, EnableProfileCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, EnableProfileCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new EnableProfileCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link EnableProfileCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link EnableProfileCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class EnableProfileCommand extends $Command<EnableProfileCommandInput, EnableProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: EnableProfileCommandInput;
|
|
32
|
+
constructor(input: EnableProfileCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableProfileCommandInput, EnableProfileCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ScalarTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface EnableTrustAnchorCommandInput extends ScalarTrustAnchorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface EnableTrustAnchorCommandOutput extends TrustAnchorDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Enables a trust anchor. When enabled, certificates in the trust anchor chain are authorized for trust validation. </p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:EnableTrustAnchor</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, EnableTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, EnableTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new EnableTrustAnchorCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link EnableTrustAnchorCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link EnableTrustAnchorCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class EnableTrustAnchorCommand extends $Command<EnableTrustAnchorCommandInput, EnableTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: EnableTrustAnchorCommandInput;
|
|
32
|
+
constructor(input: EnableTrustAnchorCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<EnableTrustAnchorCommandInput, EnableTrustAnchorCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CrlDetailResponse, ScalarCrlRequest } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface GetCrlCommandInput extends ScalarCrlRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetCrlCommandOutput extends CrlDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a certificate revocation list (CRL).</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:GetCrl</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, GetCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, GetCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new GetCrlCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link GetCrlCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link GetCrlCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class GetCrlCommand extends $Command<GetCrlCommandInput, GetCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: GetCrlCommandInput;
|
|
32
|
+
constructor(input: GetCrlCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCrlCommandInput, GetCrlCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ProfileDetailResponse, ScalarProfileRequest } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface GetProfileCommandInput extends ScalarProfileRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetProfileCommandOutput extends ProfileDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a profile.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:GetProfile</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, GetProfileCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, GetProfileCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new GetProfileCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link GetProfileCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link GetProfileCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class GetProfileCommand extends $Command<GetProfileCommandInput, GetProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: GetProfileCommandInput;
|
|
32
|
+
constructor(input: GetProfileCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetProfileCommandInput, GetProfileCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ScalarSubjectRequest, SubjectDetailResponse } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface GetSubjectCommandInput extends ScalarSubjectRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetSubjectCommandOutput extends SubjectDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a Subject. A Subject associates a certificate identity with authentication attempts by CreateSession. The Subject resources stores audit information such as status of the last authentication attempt, the certificate data used in the attempt, and the last time the associated identity attempted authentication. </p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:GetSubject</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, GetSubjectCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, GetSubjectCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new GetSubjectCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link GetSubjectCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link GetSubjectCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class GetSubjectCommand extends $Command<GetSubjectCommandInput, GetSubjectCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: GetSubjectCommandInput;
|
|
32
|
+
constructor(input: GetSubjectCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSubjectCommandInput, GetSubjectCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ScalarTrustAnchorRequest, TrustAnchorDetailResponse } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface GetTrustAnchorCommandInput extends ScalarTrustAnchorRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetTrustAnchorCommandOutput extends TrustAnchorDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets a trust anchor.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:GetTrustAnchor</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, GetTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, GetTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new GetTrustAnchorCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link GetTrustAnchorCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link GetTrustAnchorCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class GetTrustAnchorCommand extends $Command<GetTrustAnchorCommandInput, GetTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: GetTrustAnchorCommandInput;
|
|
32
|
+
constructor(input: GetTrustAnchorCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetTrustAnchorCommandInput, GetTrustAnchorCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CrlDetailResponse, ImportCrlRequest } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface ImportCrlCommandInput extends ImportCrlRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ImportCrlCommandOutput extends CrlDetailResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Imports the certificate revocation list (CRL). CRl is a list of certificates that have been revoked by the issuing certificate Authority (CA). IAM Roles Anywhere validates against the crl list before issuing credentials. </p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:ImportCrl</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, ImportCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, ImportCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new ImportCrlCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link ImportCrlCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link ImportCrlCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class ImportCrlCommand extends $Command<ImportCrlCommandInput, ImportCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: ImportCrlCommandInput;
|
|
32
|
+
constructor(input: ImportCrlCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ImportCrlCommandInput, ImportCrlCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListCrlsResponse, ListRequest } from "../models/models_0";
|
|
4
|
+
import { RolesAnywhereClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RolesAnywhereClient";
|
|
5
|
+
export interface ListCrlsCommandInput extends ListRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListCrlsCommandOutput extends ListCrlsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all Crls in the authenticated account and Amazon Web Services Region.</p>
|
|
11
|
+
* <p>
|
|
12
|
+
* <b>Required permissions: </b>
|
|
13
|
+
* <code>rolesanywhere:ListCrls</code>.
|
|
14
|
+
* </p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { RolesAnywhereClient, ListCrlsCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
19
|
+
* // const { RolesAnywhereClient, ListCrlsCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
20
|
+
* const client = new RolesAnywhereClient(config);
|
|
21
|
+
* const command = new ListCrlsCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link ListCrlsCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link ListCrlsCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link RolesAnywhereClientResolvedConfig | config} for RolesAnywhereClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class ListCrlsCommand extends $Command<ListCrlsCommandInput, ListCrlsCommandOutput, RolesAnywhereClientResolvedConfig> {
|
|
31
|
+
readonly input: ListCrlsCommandInput;
|
|
32
|
+
constructor(input: ListCrlsCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: RolesAnywhereClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCrlsCommandInput, ListCrlsCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|