@aws-sdk/client-rolesanywhere 3.325.0 → 3.326.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.
Files changed (27) hide show
  1. package/dist-types/commands/CreateProfileCommand.d.ts +23 -0
  2. package/dist-types/commands/CreateTrustAnchorCommand.d.ts +20 -0
  3. package/dist-types/commands/DeleteCrlCommand.d.ts +15 -0
  4. package/dist-types/commands/DeleteProfileCommand.d.ts +23 -0
  5. package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +20 -0
  6. package/dist-types/commands/DisableCrlCommand.d.ts +15 -0
  7. package/dist-types/commands/DisableProfileCommand.d.ts +23 -0
  8. package/dist-types/commands/DisableTrustAnchorCommand.d.ts +20 -0
  9. package/dist-types/commands/EnableCrlCommand.d.ts +15 -0
  10. package/dist-types/commands/EnableProfileCommand.d.ts +23 -0
  11. package/dist-types/commands/EnableTrustAnchorCommand.d.ts +20 -0
  12. package/dist-types/commands/GetCrlCommand.d.ts +15 -0
  13. package/dist-types/commands/GetProfileCommand.d.ts +23 -0
  14. package/dist-types/commands/GetSubjectCommand.d.ts +33 -0
  15. package/dist-types/commands/GetTrustAnchorCommand.d.ts +20 -0
  16. package/dist-types/commands/ImportCrlCommand.d.ts +15 -0
  17. package/dist-types/commands/ListCrlsCommand.d.ts +18 -0
  18. package/dist-types/commands/ListProfilesCommand.d.ts +26 -0
  19. package/dist-types/commands/ListSubjectsCommand.d.ts +17 -0
  20. package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
  21. package/dist-types/commands/ListTrustAnchorsCommand.d.ts +23 -0
  22. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  23. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  24. package/dist-types/commands/UpdateCrlCommand.d.ts +15 -0
  25. package/dist-types/commands/UpdateProfileCommand.d.ts +23 -0
  26. package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +20 -0
  27. package/package.json +3 -3
@@ -51,6 +51,27 @@ export interface CreateProfileCommandOutput extends ProfileDetailResponse, __Met
51
51
  * };
52
52
  * const command = new CreateProfileCommand(input);
53
53
  * const response = await client.send(command);
54
+ * // { // ProfileDetailResponse
55
+ * // profile: { // ProfileDetail
56
+ * // profileId: "STRING_VALUE",
57
+ * // profileArn: "STRING_VALUE",
58
+ * // name: "STRING_VALUE",
59
+ * // requireInstanceProperties: true || false,
60
+ * // enabled: true || false,
61
+ * // createdBy: "STRING_VALUE",
62
+ * // sessionPolicy: "STRING_VALUE",
63
+ * // roleArns: [ // RoleArnList
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // managedPolicyArns: [ // ManagedPolicyList
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // createdAt: new Date("TIMESTAMP"),
70
+ * // updatedAt: new Date("TIMESTAMP"),
71
+ * // durationSeconds: Number("int"),
72
+ * // },
73
+ * // };
74
+ *
54
75
  * ```
55
76
  *
56
77
  * @param CreateProfileCommandInput - {@link CreateProfileCommandInput}
@@ -65,6 +86,8 @@ export interface CreateProfileCommandOutput extends ProfileDetailResponse, __Met
65
86
  * @throws {@link ValidationException} (client fault)
66
87
  * <p>Validation exception error.</p>
67
88
  *
89
+ * @throws {@link RolesAnywhereServiceException}
90
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
68
91
  *
69
92
  */
70
93
  export declare class CreateProfileCommand extends $Command<CreateProfileCommandInput, CreateProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -49,6 +49,24 @@ export interface CreateTrustAnchorCommandOutput extends TrustAnchorDetailRespons
49
49
  * };
50
50
  * const command = new CreateTrustAnchorCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // { // TrustAnchorDetailResponse
53
+ * // trustAnchor: { // TrustAnchorDetail
54
+ * // trustAnchorId: "STRING_VALUE",
55
+ * // trustAnchorArn: "STRING_VALUE",
56
+ * // name: "STRING_VALUE",
57
+ * // source: { // Source
58
+ * // sourceType: "STRING_VALUE",
59
+ * // sourceData: { // SourceData Union: only one key present
60
+ * // x509CertificateData: "STRING_VALUE",
61
+ * // acmPcaArn: "STRING_VALUE",
62
+ * // },
63
+ * // },
64
+ * // enabled: true || false,
65
+ * // createdAt: new Date("TIMESTAMP"),
66
+ * // updatedAt: new Date("TIMESTAMP"),
67
+ * // },
68
+ * // };
69
+ *
52
70
  * ```
53
71
  *
54
72
  * @param CreateTrustAnchorCommandInput - {@link CreateTrustAnchorCommandInput}
@@ -63,6 +81,8 @@ export interface CreateTrustAnchorCommandOutput extends TrustAnchorDetailRespons
63
81
  * @throws {@link ValidationException} (client fault)
64
82
  * <p>Validation exception error.</p>
65
83
  *
84
+ * @throws {@link RolesAnywhereServiceException}
85
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
66
86
  *
67
87
  */
68
88
  export declare class CreateTrustAnchorCommand extends $Command<CreateTrustAnchorCommandInput, CreateTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,19 @@ export interface DeleteCrlCommandOutput extends CrlDetailResponse, __MetadataBea
35
35
  * };
36
36
  * const command = new DeleteCrlCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // CrlDetailResponse
39
+ * // crl: { // CrlDetail
40
+ * // crlId: "STRING_VALUE",
41
+ * // crlArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // enabled: true || false,
44
+ * // crlData: "BLOB_VALUE",
45
+ * // trustAnchorArn: "STRING_VALUE",
46
+ * // createdAt: new Date("TIMESTAMP"),
47
+ * // updatedAt: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // };
50
+ *
38
51
  * ```
39
52
  *
40
53
  * @param DeleteCrlCommandInput - {@link DeleteCrlCommandInput}
@@ -49,6 +62,8 @@ export interface DeleteCrlCommandOutput extends CrlDetailResponse, __MetadataBea
49
62
  * @throws {@link ResourceNotFoundException} (client fault)
50
63
  * <p>The resource could not be found.</p>
51
64
  *
65
+ * @throws {@link RolesAnywhereServiceException}
66
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
67
  *
53
68
  */
54
69
  export declare class DeleteCrlCommand extends $Command<DeleteCrlCommandInput, DeleteCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,27 @@ export interface DeleteProfileCommandOutput extends ProfileDetailResponse, __Met
35
35
  * };
36
36
  * const command = new DeleteProfileCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ProfileDetailResponse
39
+ * // profile: { // ProfileDetail
40
+ * // profileId: "STRING_VALUE",
41
+ * // profileArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // requireInstanceProperties: true || false,
44
+ * // enabled: true || false,
45
+ * // createdBy: "STRING_VALUE",
46
+ * // sessionPolicy: "STRING_VALUE",
47
+ * // roleArns: [ // RoleArnList
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // managedPolicyArns: [ // ManagedPolicyList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // createdAt: new Date("TIMESTAMP"),
54
+ * // updatedAt: new Date("TIMESTAMP"),
55
+ * // durationSeconds: Number("int"),
56
+ * // },
57
+ * // };
58
+ *
38
59
  * ```
39
60
  *
40
61
  * @param DeleteProfileCommandInput - {@link DeleteProfileCommandInput}
@@ -49,6 +70,8 @@ export interface DeleteProfileCommandOutput extends ProfileDetailResponse, __Met
49
70
  * @throws {@link ResourceNotFoundException} (client fault)
50
71
  * <p>The resource could not be found.</p>
51
72
  *
73
+ * @throws {@link RolesAnywhereServiceException}
74
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
75
  *
53
76
  */
54
77
  export declare class DeleteProfileCommand extends $Command<DeleteProfileCommandInput, DeleteProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,24 @@ export interface DeleteTrustAnchorCommandOutput extends TrustAnchorDetailRespons
35
35
  * };
36
36
  * const command = new DeleteTrustAnchorCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // TrustAnchorDetailResponse
39
+ * // trustAnchor: { // TrustAnchorDetail
40
+ * // trustAnchorId: "STRING_VALUE",
41
+ * // trustAnchorArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // source: { // Source
44
+ * // sourceType: "STRING_VALUE",
45
+ * // sourceData: { // SourceData Union: only one key present
46
+ * // x509CertificateData: "STRING_VALUE",
47
+ * // acmPcaArn: "STRING_VALUE",
48
+ * // },
49
+ * // },
50
+ * // enabled: true || false,
51
+ * // createdAt: new Date("TIMESTAMP"),
52
+ * // updatedAt: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // };
55
+ *
38
56
  * ```
39
57
  *
40
58
  * @param DeleteTrustAnchorCommandInput - {@link DeleteTrustAnchorCommandInput}
@@ -49,6 +67,8 @@ export interface DeleteTrustAnchorCommandOutput extends TrustAnchorDetailRespons
49
67
  * @throws {@link ResourceNotFoundException} (client fault)
50
68
  * <p>The resource could not be found.</p>
51
69
  *
70
+ * @throws {@link RolesAnywhereServiceException}
71
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
72
  *
53
73
  */
54
74
  export declare class DeleteTrustAnchorCommand extends $Command<DeleteTrustAnchorCommandInput, DeleteTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,19 @@ export interface DisableCrlCommandOutput extends CrlDetailResponse, __MetadataBe
35
35
  * };
36
36
  * const command = new DisableCrlCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // CrlDetailResponse
39
+ * // crl: { // CrlDetail
40
+ * // crlId: "STRING_VALUE",
41
+ * // crlArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // enabled: true || false,
44
+ * // crlData: "BLOB_VALUE",
45
+ * // trustAnchorArn: "STRING_VALUE",
46
+ * // createdAt: new Date("TIMESTAMP"),
47
+ * // updatedAt: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // };
50
+ *
38
51
  * ```
39
52
  *
40
53
  * @param DisableCrlCommandInput - {@link DisableCrlCommandInput}
@@ -49,6 +62,8 @@ export interface DisableCrlCommandOutput extends CrlDetailResponse, __MetadataBe
49
62
  * @throws {@link ResourceNotFoundException} (client fault)
50
63
  * <p>The resource could not be found.</p>
51
64
  *
65
+ * @throws {@link RolesAnywhereServiceException}
66
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
67
  *
53
68
  */
54
69
  export declare class DisableCrlCommand extends $Command<DisableCrlCommandInput, DisableCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,27 @@ export interface DisableProfileCommandOutput extends ProfileDetailResponse, __Me
35
35
  * };
36
36
  * const command = new DisableProfileCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ProfileDetailResponse
39
+ * // profile: { // ProfileDetail
40
+ * // profileId: "STRING_VALUE",
41
+ * // profileArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // requireInstanceProperties: true || false,
44
+ * // enabled: true || false,
45
+ * // createdBy: "STRING_VALUE",
46
+ * // sessionPolicy: "STRING_VALUE",
47
+ * // roleArns: [ // RoleArnList
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // managedPolicyArns: [ // ManagedPolicyList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // createdAt: new Date("TIMESTAMP"),
54
+ * // updatedAt: new Date("TIMESTAMP"),
55
+ * // durationSeconds: Number("int"),
56
+ * // },
57
+ * // };
58
+ *
38
59
  * ```
39
60
  *
40
61
  * @param DisableProfileCommandInput - {@link DisableProfileCommandInput}
@@ -49,6 +70,8 @@ export interface DisableProfileCommandOutput extends ProfileDetailResponse, __Me
49
70
  * @throws {@link ResourceNotFoundException} (client fault)
50
71
  * <p>The resource could not be found.</p>
51
72
  *
73
+ * @throws {@link RolesAnywhereServiceException}
74
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
75
  *
53
76
  */
54
77
  export declare class DisableProfileCommand extends $Command<DisableProfileCommandInput, DisableProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,24 @@ export interface DisableTrustAnchorCommandOutput extends TrustAnchorDetailRespon
35
35
  * };
36
36
  * const command = new DisableTrustAnchorCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // TrustAnchorDetailResponse
39
+ * // trustAnchor: { // TrustAnchorDetail
40
+ * // trustAnchorId: "STRING_VALUE",
41
+ * // trustAnchorArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // source: { // Source
44
+ * // sourceType: "STRING_VALUE",
45
+ * // sourceData: { // SourceData Union: only one key present
46
+ * // x509CertificateData: "STRING_VALUE",
47
+ * // acmPcaArn: "STRING_VALUE",
48
+ * // },
49
+ * // },
50
+ * // enabled: true || false,
51
+ * // createdAt: new Date("TIMESTAMP"),
52
+ * // updatedAt: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // };
55
+ *
38
56
  * ```
39
57
  *
40
58
  * @param DisableTrustAnchorCommandInput - {@link DisableTrustAnchorCommandInput}
@@ -49,6 +67,8 @@ export interface DisableTrustAnchorCommandOutput extends TrustAnchorDetailRespon
49
67
  * @throws {@link ResourceNotFoundException} (client fault)
50
68
  * <p>The resource could not be found.</p>
51
69
  *
70
+ * @throws {@link RolesAnywhereServiceException}
71
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
72
  *
53
73
  */
54
74
  export declare class DisableTrustAnchorCommand extends $Command<DisableTrustAnchorCommandInput, DisableTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,19 @@ export interface EnableCrlCommandOutput extends CrlDetailResponse, __MetadataBea
35
35
  * };
36
36
  * const command = new EnableCrlCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // CrlDetailResponse
39
+ * // crl: { // CrlDetail
40
+ * // crlId: "STRING_VALUE",
41
+ * // crlArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // enabled: true || false,
44
+ * // crlData: "BLOB_VALUE",
45
+ * // trustAnchorArn: "STRING_VALUE",
46
+ * // createdAt: new Date("TIMESTAMP"),
47
+ * // updatedAt: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // };
50
+ *
38
51
  * ```
39
52
  *
40
53
  * @param EnableCrlCommandInput - {@link EnableCrlCommandInput}
@@ -49,6 +62,8 @@ export interface EnableCrlCommandOutput extends CrlDetailResponse, __MetadataBea
49
62
  * @throws {@link ResourceNotFoundException} (client fault)
50
63
  * <p>The resource could not be found.</p>
51
64
  *
65
+ * @throws {@link RolesAnywhereServiceException}
66
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
67
  *
53
68
  */
54
69
  export declare class EnableCrlCommand extends $Command<EnableCrlCommandInput, EnableCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,27 @@ export interface EnableProfileCommandOutput extends ProfileDetailResponse, __Met
35
35
  * };
36
36
  * const command = new EnableProfileCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ProfileDetailResponse
39
+ * // profile: { // ProfileDetail
40
+ * // profileId: "STRING_VALUE",
41
+ * // profileArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // requireInstanceProperties: true || false,
44
+ * // enabled: true || false,
45
+ * // createdBy: "STRING_VALUE",
46
+ * // sessionPolicy: "STRING_VALUE",
47
+ * // roleArns: [ // RoleArnList
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // managedPolicyArns: [ // ManagedPolicyList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // createdAt: new Date("TIMESTAMP"),
54
+ * // updatedAt: new Date("TIMESTAMP"),
55
+ * // durationSeconds: Number("int"),
56
+ * // },
57
+ * // };
58
+ *
38
59
  * ```
39
60
  *
40
61
  * @param EnableProfileCommandInput - {@link EnableProfileCommandInput}
@@ -49,6 +70,8 @@ export interface EnableProfileCommandOutput extends ProfileDetailResponse, __Met
49
70
  * @throws {@link ResourceNotFoundException} (client fault)
50
71
  * <p>The resource could not be found.</p>
51
72
  *
73
+ * @throws {@link RolesAnywhereServiceException}
74
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
75
  *
53
76
  */
54
77
  export declare class EnableProfileCommand extends $Command<EnableProfileCommandInput, EnableProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,24 @@ export interface EnableTrustAnchorCommandOutput extends TrustAnchorDetailRespons
35
35
  * };
36
36
  * const command = new EnableTrustAnchorCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // TrustAnchorDetailResponse
39
+ * // trustAnchor: { // TrustAnchorDetail
40
+ * // trustAnchorId: "STRING_VALUE",
41
+ * // trustAnchorArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // source: { // Source
44
+ * // sourceType: "STRING_VALUE",
45
+ * // sourceData: { // SourceData Union: only one key present
46
+ * // x509CertificateData: "STRING_VALUE",
47
+ * // acmPcaArn: "STRING_VALUE",
48
+ * // },
49
+ * // },
50
+ * // enabled: true || false,
51
+ * // createdAt: new Date("TIMESTAMP"),
52
+ * // updatedAt: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // };
55
+ *
38
56
  * ```
39
57
  *
40
58
  * @param EnableTrustAnchorCommandInput - {@link EnableTrustAnchorCommandInput}
@@ -49,6 +67,8 @@ export interface EnableTrustAnchorCommandOutput extends TrustAnchorDetailRespons
49
67
  * @throws {@link ResourceNotFoundException} (client fault)
50
68
  * <p>The resource could not be found.</p>
51
69
  *
70
+ * @throws {@link RolesAnywhereServiceException}
71
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
72
  *
53
73
  */
54
74
  export declare class EnableTrustAnchorCommand extends $Command<EnableTrustAnchorCommandInput, EnableTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,19 @@ export interface GetCrlCommandOutput extends CrlDetailResponse, __MetadataBearer
35
35
  * };
36
36
  * const command = new GetCrlCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // CrlDetailResponse
39
+ * // crl: { // CrlDetail
40
+ * // crlId: "STRING_VALUE",
41
+ * // crlArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // enabled: true || false,
44
+ * // crlData: "BLOB_VALUE",
45
+ * // trustAnchorArn: "STRING_VALUE",
46
+ * // createdAt: new Date("TIMESTAMP"),
47
+ * // updatedAt: new Date("TIMESTAMP"),
48
+ * // },
49
+ * // };
50
+ *
38
51
  * ```
39
52
  *
40
53
  * @param GetCrlCommandInput - {@link GetCrlCommandInput}
@@ -46,6 +59,8 @@ export interface GetCrlCommandOutput extends CrlDetailResponse, __MetadataBearer
46
59
  * @throws {@link ResourceNotFoundException} (client fault)
47
60
  * <p>The resource could not be found.</p>
48
61
  *
62
+ * @throws {@link RolesAnywhereServiceException}
63
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
49
64
  *
50
65
  */
51
66
  export declare class GetCrlCommand extends $Command<GetCrlCommandInput, GetCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,27 @@ export interface GetProfileCommandOutput extends ProfileDetailResponse, __Metada
35
35
  * };
36
36
  * const command = new GetProfileCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ProfileDetailResponse
39
+ * // profile: { // ProfileDetail
40
+ * // profileId: "STRING_VALUE",
41
+ * // profileArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // requireInstanceProperties: true || false,
44
+ * // enabled: true || false,
45
+ * // createdBy: "STRING_VALUE",
46
+ * // sessionPolicy: "STRING_VALUE",
47
+ * // roleArns: [ // RoleArnList
48
+ * // "STRING_VALUE",
49
+ * // ],
50
+ * // managedPolicyArns: [ // ManagedPolicyList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // createdAt: new Date("TIMESTAMP"),
54
+ * // updatedAt: new Date("TIMESTAMP"),
55
+ * // durationSeconds: Number("int"),
56
+ * // },
57
+ * // };
58
+ *
38
59
  * ```
39
60
  *
40
61
  * @param GetProfileCommandInput - {@link GetProfileCommandInput}
@@ -49,6 +70,8 @@ export interface GetProfileCommandOutput extends ProfileDetailResponse, __Metada
49
70
  * @throws {@link ResourceNotFoundException} (client fault)
50
71
  * <p>The resource could not be found.</p>
51
72
  *
73
+ * @throws {@link RolesAnywhereServiceException}
74
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
75
  *
53
76
  */
54
77
  export declare class GetProfileCommand extends $Command<GetProfileCommandInput, GetProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,37 @@ export interface GetSubjectCommandOutput extends SubjectDetailResponse, __Metada
35
35
  * };
36
36
  * const command = new GetSubjectCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // SubjectDetailResponse
39
+ * // subject: { // SubjectDetail
40
+ * // subjectArn: "STRING_VALUE",
41
+ * // subjectId: "STRING_VALUE",
42
+ * // enabled: true || false,
43
+ * // x509Subject: "STRING_VALUE",
44
+ * // lastSeenAt: new Date("TIMESTAMP"),
45
+ * // createdAt: new Date("TIMESTAMP"),
46
+ * // updatedAt: new Date("TIMESTAMP"),
47
+ * // credentials: [ // CredentialSummaries
48
+ * // { // CredentialSummary
49
+ * // seenAt: new Date("TIMESTAMP"),
50
+ * // serialNumber: "STRING_VALUE",
51
+ * // issuer: "STRING_VALUE",
52
+ * // enabled: true || false,
53
+ * // x509CertificateData: "STRING_VALUE",
54
+ * // failed: true || false,
55
+ * // },
56
+ * // ],
57
+ * // instanceProperties: [ // InstanceProperties
58
+ * // { // InstanceProperty
59
+ * // seenAt: new Date("TIMESTAMP"),
60
+ * // properties: { // InstancePropertyMap
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // failed: true || false,
64
+ * // },
65
+ * // ],
66
+ * // },
67
+ * // };
68
+ *
38
69
  * ```
39
70
  *
40
71
  * @param GetSubjectCommandInput - {@link GetSubjectCommandInput}
@@ -49,6 +80,8 @@ export interface GetSubjectCommandOutput extends SubjectDetailResponse, __Metada
49
80
  * @throws {@link ResourceNotFoundException} (client fault)
50
81
  * <p>The resource could not be found.</p>
51
82
  *
83
+ * @throws {@link RolesAnywhereServiceException}
84
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
52
85
  *
53
86
  */
54
87
  export declare class GetSubjectCommand extends $Command<GetSubjectCommandInput, GetSubjectCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,24 @@ export interface GetTrustAnchorCommandOutput extends TrustAnchorDetailResponse,
35
35
  * };
36
36
  * const command = new GetTrustAnchorCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // TrustAnchorDetailResponse
39
+ * // trustAnchor: { // TrustAnchorDetail
40
+ * // trustAnchorId: "STRING_VALUE",
41
+ * // trustAnchorArn: "STRING_VALUE",
42
+ * // name: "STRING_VALUE",
43
+ * // source: { // Source
44
+ * // sourceType: "STRING_VALUE",
45
+ * // sourceData: { // SourceData Union: only one key present
46
+ * // x509CertificateData: "STRING_VALUE",
47
+ * // acmPcaArn: "STRING_VALUE",
48
+ * // },
49
+ * // },
50
+ * // enabled: true || false,
51
+ * // createdAt: new Date("TIMESTAMP"),
52
+ * // updatedAt: new Date("TIMESTAMP"),
53
+ * // },
54
+ * // };
55
+ *
38
56
  * ```
39
57
  *
40
58
  * @param GetTrustAnchorCommandInput - {@link GetTrustAnchorCommandInput}
@@ -52,6 +70,8 @@ export interface GetTrustAnchorCommandOutput extends TrustAnchorDetailResponse,
52
70
  * @throws {@link ValidationException} (client fault)
53
71
  * <p>Validation exception error.</p>
54
72
  *
73
+ * @throws {@link RolesAnywhereServiceException}
74
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
55
75
  *
56
76
  */
57
77
  export declare class GetTrustAnchorCommand extends $Command<GetTrustAnchorCommandInput, GetTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -44,6 +44,19 @@ export interface ImportCrlCommandOutput extends CrlDetailResponse, __MetadataBea
44
44
  * };
45
45
  * const command = new ImportCrlCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // CrlDetailResponse
48
+ * // crl: { // CrlDetail
49
+ * // crlId: "STRING_VALUE",
50
+ * // crlArn: "STRING_VALUE",
51
+ * // name: "STRING_VALUE",
52
+ * // enabled: true || false,
53
+ * // crlData: "BLOB_VALUE",
54
+ * // trustAnchorArn: "STRING_VALUE",
55
+ * // createdAt: new Date("TIMESTAMP"),
56
+ * // updatedAt: new Date("TIMESTAMP"),
57
+ * // },
58
+ * // };
59
+ *
47
60
  * ```
48
61
  *
49
62
  * @param ImportCrlCommandInput - {@link ImportCrlCommandInput}
@@ -58,6 +71,8 @@ export interface ImportCrlCommandOutput extends CrlDetailResponse, __MetadataBea
58
71
  * @throws {@link ValidationException} (client fault)
59
72
  * <p>Validation exception error.</p>
60
73
  *
74
+ * @throws {@link RolesAnywhereServiceException}
75
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
61
76
  *
62
77
  */
63
78
  export declare class ImportCrlCommand extends $Command<ImportCrlCommandInput, ImportCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -36,6 +36,22 @@ export interface ListCrlsCommandOutput extends ListCrlsResponse, __MetadataBeare
36
36
  * };
37
37
  * const command = new ListCrlsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListCrlsResponse
40
+ * // nextToken: "STRING_VALUE",
41
+ * // crls: [ // CrlDetails
42
+ * // { // CrlDetail
43
+ * // crlId: "STRING_VALUE",
44
+ * // crlArn: "STRING_VALUE",
45
+ * // name: "STRING_VALUE",
46
+ * // enabled: true || false,
47
+ * // crlData: "BLOB_VALUE",
48
+ * // trustAnchorArn: "STRING_VALUE",
49
+ * // createdAt: new Date("TIMESTAMP"),
50
+ * // updatedAt: new Date("TIMESTAMP"),
51
+ * // },
52
+ * // ],
53
+ * // };
54
+ *
39
55
  * ```
40
56
  *
41
57
  * @param ListCrlsCommandInput - {@link ListCrlsCommandInput}
@@ -50,6 +66,8 @@ export interface ListCrlsCommandOutput extends ListCrlsResponse, __MetadataBeare
50
66
  * @throws {@link ValidationException} (client fault)
51
67
  * <p>Validation exception error.</p>
52
68
  *
69
+ * @throws {@link RolesAnywhereServiceException}
70
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
53
71
  *
54
72
  */
55
73
  export declare class ListCrlsCommand extends $Command<ListCrlsCommandInput, ListCrlsCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -36,6 +36,30 @@ export interface ListProfilesCommandOutput extends ListProfilesResponse, __Metad
36
36
  * };
37
37
  * const command = new ListProfilesCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListProfilesResponse
40
+ * // nextToken: "STRING_VALUE",
41
+ * // profiles: [ // ProfileDetails
42
+ * // { // ProfileDetail
43
+ * // profileId: "STRING_VALUE",
44
+ * // profileArn: "STRING_VALUE",
45
+ * // name: "STRING_VALUE",
46
+ * // requireInstanceProperties: true || false,
47
+ * // enabled: true || false,
48
+ * // createdBy: "STRING_VALUE",
49
+ * // sessionPolicy: "STRING_VALUE",
50
+ * // roleArns: [ // RoleArnList
51
+ * // "STRING_VALUE",
52
+ * // ],
53
+ * // managedPolicyArns: [ // ManagedPolicyList
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // createdAt: new Date("TIMESTAMP"),
57
+ * // updatedAt: new Date("TIMESTAMP"),
58
+ * // durationSeconds: Number("int"),
59
+ * // },
60
+ * // ],
61
+ * // };
62
+ *
39
63
  * ```
40
64
  *
41
65
  * @param ListProfilesCommandInput - {@link ListProfilesCommandInput}
@@ -50,6 +74,8 @@ export interface ListProfilesCommandOutput extends ListProfilesResponse, __Metad
50
74
  * @throws {@link ValidationException} (client fault)
51
75
  * <p>Validation exception error.</p>
52
76
  *
77
+ * @throws {@link RolesAnywhereServiceException}
78
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
53
79
  *
54
80
  */
55
81
  export declare class ListProfilesCommand extends $Command<ListProfilesCommandInput, ListProfilesCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -36,6 +36,21 @@ export interface ListSubjectsCommandOutput extends ListSubjectsResponse, __Metad
36
36
  * };
37
37
  * const command = new ListSubjectsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListSubjectsResponse
40
+ * // subjects: [ // SubjectSummaries
41
+ * // { // SubjectSummary
42
+ * // subjectArn: "STRING_VALUE",
43
+ * // subjectId: "STRING_VALUE",
44
+ * // enabled: true || false,
45
+ * // x509Subject: "STRING_VALUE",
46
+ * // lastSeenAt: new Date("TIMESTAMP"),
47
+ * // createdAt: new Date("TIMESTAMP"),
48
+ * // updatedAt: new Date("TIMESTAMP"),
49
+ * // },
50
+ * // ],
51
+ * // nextToken: "STRING_VALUE",
52
+ * // };
53
+ *
39
54
  * ```
40
55
  *
41
56
  * @param ListSubjectsCommandInput - {@link ListSubjectsCommandInput}
@@ -50,6 +65,8 @@ export interface ListSubjectsCommandOutput extends ListSubjectsResponse, __Metad
50
65
  * @throws {@link ValidationException} (client fault)
51
66
  * <p>Validation exception error.</p>
52
67
  *
68
+ * @throws {@link RolesAnywhereServiceException}
69
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
53
70
  *
54
71
  */
55
72
  export declare class ListSubjectsCommand extends $Command<ListSubjectsCommandInput, ListSubjectsCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -35,6 +35,15 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
35
35
  * };
36
36
  * const command = new ListTagsForResourceCommand(input);
37
37
  * const response = await client.send(command);
38
+ * // { // ListTagsForResourceResponse
39
+ * // tags: [ // TagList
40
+ * // { // Tag
41
+ * // key: "STRING_VALUE", // required
42
+ * // value: "STRING_VALUE", // required
43
+ * // },
44
+ * // ],
45
+ * // };
46
+ *
38
47
  * ```
39
48
  *
40
49
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -52,6 +61,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
52
61
  * @throws {@link ValidationException} (client fault)
53
62
  * <p>Validation exception error.</p>
54
63
  *
64
+ * @throws {@link RolesAnywhereServiceException}
65
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
55
66
  *
56
67
  */
57
68
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -36,6 +36,27 @@ export interface ListTrustAnchorsCommandOutput extends ListTrustAnchorsResponse,
36
36
  * };
37
37
  * const command = new ListTrustAnchorsCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // ListTrustAnchorsResponse
40
+ * // nextToken: "STRING_VALUE",
41
+ * // trustAnchors: [ // TrustAnchorDetails
42
+ * // { // TrustAnchorDetail
43
+ * // trustAnchorId: "STRING_VALUE",
44
+ * // trustAnchorArn: "STRING_VALUE",
45
+ * // name: "STRING_VALUE",
46
+ * // source: { // Source
47
+ * // sourceType: "STRING_VALUE",
48
+ * // sourceData: { // SourceData Union: only one key present
49
+ * // x509CertificateData: "STRING_VALUE",
50
+ * // acmPcaArn: "STRING_VALUE",
51
+ * // },
52
+ * // },
53
+ * // enabled: true || false,
54
+ * // createdAt: new Date("TIMESTAMP"),
55
+ * // updatedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // };
59
+ *
39
60
  * ```
40
61
  *
41
62
  * @param ListTrustAnchorsCommandInput - {@link ListTrustAnchorsCommandInput}
@@ -50,6 +71,8 @@ export interface ListTrustAnchorsCommandOutput extends ListTrustAnchorsResponse,
50
71
  * @throws {@link ValidationException} (client fault)
51
72
  * <p>Validation exception error.</p>
52
73
  *
74
+ * @throws {@link RolesAnywhereServiceException}
75
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
53
76
  *
54
77
  */
55
78
  export declare class ListTrustAnchorsCommand extends $Command<ListTrustAnchorsCommandInput, ListTrustAnchorsCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -41,6 +41,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
41
41
  * };
42
42
  * const command = new TagResourceCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // {};
45
+ *
44
46
  * ```
45
47
  *
46
48
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -61,6 +63,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
61
63
  * @throws {@link ValidationException} (client fault)
62
64
  * <p>Validation exception error.</p>
63
65
  *
66
+ * @throws {@link RolesAnywhereServiceException}
67
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
64
68
  *
65
69
  */
66
70
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -38,6 +38,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
38
38
  * };
39
39
  * const command = new UntagResourceCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // {};
42
+ *
41
43
  * ```
42
44
  *
43
45
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -55,6 +57,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
55
57
  * @throws {@link ValidationException} (client fault)
56
58
  * <p>Validation exception error.</p>
57
59
  *
60
+ * @throws {@link RolesAnywhereServiceException}
61
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
58
62
  *
59
63
  */
60
64
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -37,6 +37,19 @@ export interface UpdateCrlCommandOutput extends CrlDetailResponse, __MetadataBea
37
37
  * };
38
38
  * const command = new UpdateCrlCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // { // CrlDetailResponse
41
+ * // crl: { // CrlDetail
42
+ * // crlId: "STRING_VALUE",
43
+ * // crlArn: "STRING_VALUE",
44
+ * // name: "STRING_VALUE",
45
+ * // enabled: true || false,
46
+ * // crlData: "BLOB_VALUE",
47
+ * // trustAnchorArn: "STRING_VALUE",
48
+ * // createdAt: new Date("TIMESTAMP"),
49
+ * // updatedAt: new Date("TIMESTAMP"),
50
+ * // },
51
+ * // };
52
+ *
40
53
  * ```
41
54
  *
42
55
  * @param UpdateCrlCommandInput - {@link UpdateCrlCommandInput}
@@ -54,6 +67,8 @@ export interface UpdateCrlCommandOutput extends CrlDetailResponse, __MetadataBea
54
67
  * @throws {@link ValidationException} (client fault)
55
68
  * <p>Validation exception error.</p>
56
69
  *
70
+ * @throws {@link RolesAnywhereServiceException}
71
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
57
72
  *
58
73
  */
59
74
  export declare class UpdateCrlCommand extends $Command<UpdateCrlCommandInput, UpdateCrlCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -44,6 +44,27 @@ export interface UpdateProfileCommandOutput extends ProfileDetailResponse, __Met
44
44
  * };
45
45
  * const command = new UpdateProfileCommand(input);
46
46
  * const response = await client.send(command);
47
+ * // { // ProfileDetailResponse
48
+ * // profile: { // ProfileDetail
49
+ * // profileId: "STRING_VALUE",
50
+ * // profileArn: "STRING_VALUE",
51
+ * // name: "STRING_VALUE",
52
+ * // requireInstanceProperties: true || false,
53
+ * // enabled: true || false,
54
+ * // createdBy: "STRING_VALUE",
55
+ * // sessionPolicy: "STRING_VALUE",
56
+ * // roleArns: [ // RoleArnList
57
+ * // "STRING_VALUE",
58
+ * // ],
59
+ * // managedPolicyArns: [ // ManagedPolicyList
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // createdAt: new Date("TIMESTAMP"),
63
+ * // updatedAt: new Date("TIMESTAMP"),
64
+ * // durationSeconds: Number("int"),
65
+ * // },
66
+ * // };
67
+ *
47
68
  * ```
48
69
  *
49
70
  * @param UpdateProfileCommandInput - {@link UpdateProfileCommandInput}
@@ -61,6 +82,8 @@ export interface UpdateProfileCommandOutput extends ProfileDetailResponse, __Met
61
82
  * @throws {@link ValidationException} (client fault)
62
83
  * <p>Validation exception error.</p>
63
84
  *
85
+ * @throws {@link RolesAnywhereServiceException}
86
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
64
87
  *
65
88
  */
66
89
  export declare class UpdateProfileCommand extends $Command<UpdateProfileCommandInput, UpdateProfileCommandOutput, RolesAnywhereClientResolvedConfig> {
@@ -43,6 +43,24 @@ export interface UpdateTrustAnchorCommandOutput extends TrustAnchorDetailRespons
43
43
  * };
44
44
  * const command = new UpdateTrustAnchorCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // TrustAnchorDetailResponse
47
+ * // trustAnchor: { // TrustAnchorDetail
48
+ * // trustAnchorId: "STRING_VALUE",
49
+ * // trustAnchorArn: "STRING_VALUE",
50
+ * // name: "STRING_VALUE",
51
+ * // source: { // Source
52
+ * // sourceType: "STRING_VALUE",
53
+ * // sourceData: { // SourceData Union: only one key present
54
+ * // x509CertificateData: "STRING_VALUE",
55
+ * // acmPcaArn: "STRING_VALUE",
56
+ * // },
57
+ * // },
58
+ * // enabled: true || false,
59
+ * // createdAt: new Date("TIMESTAMP"),
60
+ * // updatedAt: new Date("TIMESTAMP"),
61
+ * // },
62
+ * // };
63
+ *
46
64
  * ```
47
65
  *
48
66
  * @param UpdateTrustAnchorCommandInput - {@link UpdateTrustAnchorCommandInput}
@@ -60,6 +78,8 @@ export interface UpdateTrustAnchorCommandOutput extends TrustAnchorDetailRespons
60
78
  * @throws {@link ValidationException} (client fault)
61
79
  * <p>Validation exception error.</p>
62
80
  *
81
+ * @throws {@link RolesAnywhereServiceException}
82
+ * <p>Base exception class for all service exceptions from RolesAnywhere service.</p>
63
83
  *
64
84
  */
65
85
  export declare class UpdateTrustAnchorCommand extends $Command<UpdateTrustAnchorCommandInput, UpdateTrustAnchorCommandOutput, RolesAnywhereClientResolvedConfig> {
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.325.0",
4
+ "version": "3.326.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.325.0",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.325.0",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",