@aws-sdk/client-rolesanywhere 3.299.0 → 3.301.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/dist-types/commands/CreateProfileCommand.d.ts +19 -0
- package/dist-types/commands/CreateTrustAnchorCommand.d.ts +17 -0
- package/dist-types/commands/DeleteCrlCommand.d.ts +3 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +3 -0
- package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +3 -0
- package/dist-types/commands/DisableCrlCommand.d.ts +3 -0
- package/dist-types/commands/DisableProfileCommand.d.ts +3 -0
- package/dist-types/commands/DisableTrustAnchorCommand.d.ts +3 -0
- package/dist-types/commands/EnableCrlCommand.d.ts +3 -0
- package/dist-types/commands/EnableProfileCommand.d.ts +3 -0
- package/dist-types/commands/EnableTrustAnchorCommand.d.ts +3 -0
- package/dist-types/commands/GetCrlCommand.d.ts +3 -0
- package/dist-types/commands/GetProfileCommand.d.ts +3 -0
- package/dist-types/commands/GetSubjectCommand.d.ts +3 -0
- package/dist-types/commands/GetTrustAnchorCommand.d.ts +3 -0
- package/dist-types/commands/ImportCrlCommand.d.ts +12 -0
- package/dist-types/commands/ListCrlsCommand.d.ts +4 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +4 -0
- package/dist-types/commands/ListSubjectsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/ListTrustAnchorsCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateCrlCommand.d.ts +5 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +12 -0
- package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +11 -0
- package/package.json +8 -8
|
@@ -30,6 +30,25 @@ export interface CreateProfileCommandOutput extends ProfileDetailResponse, __Met
|
|
|
30
30
|
* import { RolesAnywhereClient, CreateProfileCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, CreateProfileCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // CreateProfileRequest
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* requireInstanceProperties: true || false,
|
|
36
|
+
* sessionPolicy: "STRING_VALUE",
|
|
37
|
+
* roleArns: [ // RoleArnList // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* managedPolicyArns: [ // ManagedPolicyList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* durationSeconds: Number("int"),
|
|
44
|
+
* enabled: true || false,
|
|
45
|
+
* tags: [ // TagList
|
|
46
|
+
* { // Tag
|
|
47
|
+
* key: "STRING_VALUE", // required
|
|
48
|
+
* value: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* };
|
|
33
52
|
* const command = new CreateProfileCommand(input);
|
|
34
53
|
* const response = await client.send(command);
|
|
35
54
|
* ```
|
|
@@ -30,6 +30,23 @@ export interface CreateTrustAnchorCommandOutput extends TrustAnchorDetailRespons
|
|
|
30
30
|
* import { RolesAnywhereClient, CreateTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, CreateTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // CreateTrustAnchorRequest
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* source: { // Source
|
|
36
|
+
* sourceType: "STRING_VALUE",
|
|
37
|
+
* sourceData: { // SourceData Union: only one key present
|
|
38
|
+
* x509CertificateData: "STRING_VALUE",
|
|
39
|
+
* acmPcaArn: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* enabled: true || false,
|
|
43
|
+
* tags: [ // TagList
|
|
44
|
+
* { // Tag
|
|
45
|
+
* key: "STRING_VALUE", // required
|
|
46
|
+
* value: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* };
|
|
33
50
|
* const command = new CreateTrustAnchorCommand(input);
|
|
34
51
|
* const response = await client.send(command);
|
|
35
52
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteCrlCommandOutput extends CrlDetailResponse, __MetadataBea
|
|
|
30
30
|
* import { RolesAnywhereClient, DeleteCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, DeleteCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarCrlRequest
|
|
34
|
+
* crlId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteCrlCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteProfileCommandOutput extends ProfileDetailResponse, __Met
|
|
|
30
30
|
* import { RolesAnywhereClient, DeleteProfileCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, DeleteProfileCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarProfileRequest
|
|
34
|
+
* profileId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteProfileCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DeleteTrustAnchorCommandOutput extends TrustAnchorDetailRespons
|
|
|
30
30
|
* import { RolesAnywhereClient, DeleteTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, DeleteTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarTrustAnchorRequest
|
|
34
|
+
* trustAnchorId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DeleteTrustAnchorCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DisableCrlCommandOutput extends CrlDetailResponse, __MetadataBe
|
|
|
30
30
|
* import { RolesAnywhereClient, DisableCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, DisableCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarCrlRequest
|
|
34
|
+
* crlId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DisableCrlCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DisableProfileCommandOutput extends ProfileDetailResponse, __Me
|
|
|
30
30
|
* import { RolesAnywhereClient, DisableProfileCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, DisableProfileCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarProfileRequest
|
|
34
|
+
* profileId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DisableProfileCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface DisableTrustAnchorCommandOutput extends TrustAnchorDetailRespon
|
|
|
30
30
|
* import { RolesAnywhereClient, DisableTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, DisableTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarTrustAnchorRequest
|
|
34
|
+
* trustAnchorId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new DisableTrustAnchorCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface EnableCrlCommandOutput extends CrlDetailResponse, __MetadataBea
|
|
|
30
30
|
* import { RolesAnywhereClient, EnableCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, EnableCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarCrlRequest
|
|
34
|
+
* crlId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new EnableCrlCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface EnableProfileCommandOutput extends ProfileDetailResponse, __Met
|
|
|
30
30
|
* import { RolesAnywhereClient, EnableProfileCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, EnableProfileCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarProfileRequest
|
|
34
|
+
* profileId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new EnableProfileCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface EnableTrustAnchorCommandOutput extends TrustAnchorDetailRespons
|
|
|
30
30
|
* import { RolesAnywhereClient, EnableTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, EnableTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarTrustAnchorRequest
|
|
34
|
+
* trustAnchorId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new EnableTrustAnchorCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetCrlCommandOutput extends CrlDetailResponse, __MetadataBearer
|
|
|
30
30
|
* import { RolesAnywhereClient, GetCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, GetCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarCrlRequest
|
|
34
|
+
* crlId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetCrlCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetProfileCommandOutput extends ProfileDetailResponse, __Metada
|
|
|
30
30
|
* import { RolesAnywhereClient, GetProfileCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, GetProfileCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarProfileRequest
|
|
34
|
+
* profileId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetProfileCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetSubjectCommandOutput extends SubjectDetailResponse, __Metada
|
|
|
30
30
|
* import { RolesAnywhereClient, GetSubjectCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, GetSubjectCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarSubjectRequest
|
|
34
|
+
* subjectId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetSubjectCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface GetTrustAnchorCommandOutput extends TrustAnchorDetailResponse,
|
|
|
30
30
|
* import { RolesAnywhereClient, GetTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, GetTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ScalarTrustAnchorRequest
|
|
34
|
+
* trustAnchorId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new GetTrustAnchorCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,18 @@ export interface ImportCrlCommandOutput extends CrlDetailResponse, __MetadataBea
|
|
|
30
30
|
* import { RolesAnywhereClient, ImportCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, ImportCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ImportCrlRequest
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* crlData: "BLOB_VALUE", // required
|
|
36
|
+
* enabled: true || false,
|
|
37
|
+
* tags: [ // TagList
|
|
38
|
+
* { // Tag
|
|
39
|
+
* key: "STRING_VALUE", // required
|
|
40
|
+
* value: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* trustAnchorArn: "STRING_VALUE", // required
|
|
44
|
+
* };
|
|
33
45
|
* const command = new ImportCrlCommand(input);
|
|
34
46
|
* const response = await client.send(command);
|
|
35
47
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface ListCrlsCommandOutput extends ListCrlsResponse, __MetadataBeare
|
|
|
30
30
|
* import { RolesAnywhereClient, ListCrlsCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, ListCrlsCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ListRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* pageSize: Number("int"),
|
|
36
|
+
* };
|
|
33
37
|
* const command = new ListCrlsCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface ListProfilesCommandOutput extends ListProfilesResponse, __Metad
|
|
|
30
30
|
* import { RolesAnywhereClient, ListProfilesCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, ListProfilesCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ListRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* pageSize: Number("int"),
|
|
36
|
+
* };
|
|
33
37
|
* const command = new ListProfilesCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface ListSubjectsCommandOutput extends ListSubjectsResponse, __Metad
|
|
|
30
30
|
* import { RolesAnywhereClient, ListSubjectsCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, ListSubjectsCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ListRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* pageSize: Number("int"),
|
|
36
|
+
* };
|
|
33
37
|
* const command = new ListSubjectsCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -30,6 +30,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
30
30
|
* import { RolesAnywhereClient, ListTagsForResourceCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, ListTagsForResourceCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ListTagsForResourceRequest
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
33
36
|
* const command = new ListTagsForResourceCommand(input);
|
|
34
37
|
* const response = await client.send(command);
|
|
35
38
|
* ```
|
|
@@ -30,6 +30,10 @@ export interface ListTrustAnchorsCommandOutput extends ListTrustAnchorsResponse,
|
|
|
30
30
|
* import { RolesAnywhereClient, ListTrustAnchorsCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, ListTrustAnchorsCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // ListRequest
|
|
34
|
+
* nextToken: "STRING_VALUE",
|
|
35
|
+
* pageSize: Number("int"),
|
|
36
|
+
* };
|
|
33
37
|
* const command = new ListTrustAnchorsCommand(input);
|
|
34
38
|
* const response = await client.send(command);
|
|
35
39
|
* ```
|
|
@@ -30,6 +30,15 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
30
30
|
* import { RolesAnywhereClient, TagResourceCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, TagResourceCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // TagResourceRequest
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* tags: [ // TagList // required
|
|
36
|
+
* { // Tag
|
|
37
|
+
* key: "STRING_VALUE", // required
|
|
38
|
+
* value: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
33
42
|
* const command = new TagResourceCommand(input);
|
|
34
43
|
* const response = await client.send(command);
|
|
35
44
|
* ```
|
|
@@ -30,6 +30,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
30
30
|
* import { RolesAnywhereClient, UntagResourceCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, UntagResourceCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // UntagResourceRequest
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* tagKeys: [ // TagKeyList // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
33
39
|
* const command = new UntagResourceCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface UpdateCrlCommandOutput extends CrlDetailResponse, __MetadataBea
|
|
|
30
30
|
* import { RolesAnywhereClient, UpdateCrlCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, UpdateCrlCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // UpdateCrlRequest
|
|
34
|
+
* crlId: "STRING_VALUE", // required
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* crlData: "BLOB_VALUE",
|
|
37
|
+
* };
|
|
33
38
|
* const command = new UpdateCrlCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -30,6 +30,18 @@ export interface UpdateProfileCommandOutput extends ProfileDetailResponse, __Met
|
|
|
30
30
|
* import { RolesAnywhereClient, UpdateProfileCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, UpdateProfileCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // UpdateProfileRequest
|
|
34
|
+
* profileId: "STRING_VALUE", // required
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* sessionPolicy: "STRING_VALUE",
|
|
37
|
+
* roleArns: [ // RoleArnList
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* managedPolicyArns: [ // ManagedPolicyList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* durationSeconds: Number("int"),
|
|
44
|
+
* };
|
|
33
45
|
* const command = new UpdateProfileCommand(input);
|
|
34
46
|
* const response = await client.send(command);
|
|
35
47
|
* ```
|
|
@@ -30,6 +30,17 @@ export interface UpdateTrustAnchorCommandOutput extends TrustAnchorDetailRespons
|
|
|
30
30
|
* import { RolesAnywhereClient, UpdateTrustAnchorCommand } from "@aws-sdk/client-rolesanywhere"; // ES Modules import
|
|
31
31
|
* // const { RolesAnywhereClient, UpdateTrustAnchorCommand } = require("@aws-sdk/client-rolesanywhere"); // CommonJS import
|
|
32
32
|
* const client = new RolesAnywhereClient(config);
|
|
33
|
+
* const input = { // UpdateTrustAnchorRequest
|
|
34
|
+
* trustAnchorId: "STRING_VALUE", // required
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* source: { // Source
|
|
37
|
+
* sourceType: "STRING_VALUE",
|
|
38
|
+
* sourceData: { // SourceData Union: only one key present
|
|
39
|
+
* x509CertificateData: "STRING_VALUE",
|
|
40
|
+
* acmPcaArn: "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
33
44
|
* const command = new UpdateTrustAnchorCommand(input);
|
|
34
45
|
* const response = await client.send(command);
|
|
35
46
|
* ```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rolesanywhere",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rolesanywhere Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.301.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.301.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.301.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|