@aws-sdk/client-rolesanywhere 3.300.0 → 3.303.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 (31) hide show
  1. package/dist-cjs/models/models_0.js +5 -6
  2. package/dist-es/models/models_0.js +5 -6
  3. package/dist-types/commands/CreateProfileCommand.d.ts +5 -5
  4. package/dist-types/commands/CreateTrustAnchorCommand.d.ts +5 -5
  5. package/dist-types/commands/DeleteCrlCommand.d.ts +1 -1
  6. package/dist-types/commands/DeleteProfileCommand.d.ts +1 -1
  7. package/dist-types/commands/DeleteTrustAnchorCommand.d.ts +1 -1
  8. package/dist-types/commands/DisableCrlCommand.d.ts +1 -1
  9. package/dist-types/commands/DisableProfileCommand.d.ts +1 -1
  10. package/dist-types/commands/DisableTrustAnchorCommand.d.ts +1 -1
  11. package/dist-types/commands/EnableCrlCommand.d.ts +1 -1
  12. package/dist-types/commands/EnableProfileCommand.d.ts +1 -1
  13. package/dist-types/commands/EnableTrustAnchorCommand.d.ts +1 -1
  14. package/dist-types/commands/GetCrlCommand.d.ts +1 -1
  15. package/dist-types/commands/GetProfileCommand.d.ts +1 -1
  16. package/dist-types/commands/GetSubjectCommand.d.ts +1 -1
  17. package/dist-types/commands/GetTrustAnchorCommand.d.ts +1 -1
  18. package/dist-types/commands/ImportCrlCommand.d.ts +3 -3
  19. package/dist-types/commands/ListCrlsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListProfilesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListSubjectsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTrustAnchorsCommand.d.ts +1 -1
  24. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  25. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  26. package/dist-types/commands/UpdateCrlCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateProfileCommand.d.ts +3 -3
  28. package/dist-types/commands/UpdateTrustAnchorCommand.d.ts +3 -3
  29. package/dist-types/models/models_0.d.ts +10 -5
  30. package/dist-types/ts3.4/models/models_0.d.ts +7 -5
  31. package/package.json +34 -34
@@ -39,12 +39,11 @@ var SourceData;
39
39
  return visitor._(value.$unknown[0], value.$unknown[1]);
40
40
  };
41
41
  })(SourceData = exports.SourceData || (exports.SourceData = {}));
42
- var TrustAnchorType;
43
- (function (TrustAnchorType) {
44
- TrustAnchorType["AWS_ACM_PCA"] = "AWS_ACM_PCA";
45
- TrustAnchorType["CERTIFICATE_BUNDLE"] = "CERTIFICATE_BUNDLE";
46
- TrustAnchorType["SELF_SIGNED_REPOSITORY"] = "SELF_SIGNED_REPOSITORY";
47
- })(TrustAnchorType = exports.TrustAnchorType || (exports.TrustAnchorType = {}));
42
+ exports.TrustAnchorType = {
43
+ AWS_ACM_PCA: "AWS_ACM_PCA",
44
+ CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE",
45
+ SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY",
46
+ };
48
47
  class ResourceNotFoundException extends RolesAnywhereServiceException_1.RolesAnywhereServiceException {
49
48
  constructor(opts) {
50
49
  super({
@@ -34,12 +34,11 @@ export var SourceData;
34
34
  return visitor._(value.$unknown[0], value.$unknown[1]);
35
35
  };
36
36
  })(SourceData || (SourceData = {}));
37
- export var TrustAnchorType;
38
- (function (TrustAnchorType) {
39
- TrustAnchorType["AWS_ACM_PCA"] = "AWS_ACM_PCA";
40
- TrustAnchorType["CERTIFICATE_BUNDLE"] = "CERTIFICATE_BUNDLE";
41
- TrustAnchorType["SELF_SIGNED_REPOSITORY"] = "SELF_SIGNED_REPOSITORY";
42
- })(TrustAnchorType || (TrustAnchorType = {}));
37
+ export const TrustAnchorType = {
38
+ AWS_ACM_PCA: "AWS_ACM_PCA",
39
+ CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE",
40
+ SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY",
41
+ };
43
42
  export class ResourceNotFoundException extends __BaseException {
44
43
  constructor(opts) {
45
44
  super({
@@ -30,20 +30,20 @@ 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 = {
33
+ * const input = { // CreateProfileRequest
34
34
  * name: "STRING_VALUE", // required
35
35
  * requireInstanceProperties: true || false,
36
36
  * sessionPolicy: "STRING_VALUE",
37
- * roleArns: [ // required
37
+ * roleArns: [ // RoleArnList // required
38
38
  * "STRING_VALUE",
39
39
  * ],
40
- * managedPolicyArns: [
40
+ * managedPolicyArns: [ // ManagedPolicyList
41
41
  * "STRING_VALUE",
42
42
  * ],
43
43
  * durationSeconds: Number("int"),
44
44
  * enabled: true || false,
45
- * tags: [
46
- * {
45
+ * tags: [ // TagList
46
+ * { // Tag
47
47
  * key: "STRING_VALUE", // required
48
48
  * value: "STRING_VALUE", // required
49
49
  * },
@@ -30,18 +30,18 @@ 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 = {
33
+ * const input = { // CreateTrustAnchorRequest
34
34
  * name: "STRING_VALUE", // required
35
- * source: {
35
+ * source: { // Source
36
36
  * sourceType: "STRING_VALUE",
37
- * sourceData: { // Union: only one key present
37
+ * sourceData: { // SourceData Union: only one key present
38
38
  * x509CertificateData: "STRING_VALUE",
39
39
  * acmPcaArn: "STRING_VALUE",
40
40
  * },
41
41
  * },
42
42
  * enabled: true || false,
43
- * tags: [
44
- * {
43
+ * tags: [ // TagList
44
+ * { // Tag
45
45
  * key: "STRING_VALUE", // required
46
46
  * value: "STRING_VALUE", // required
47
47
  * },
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarCrlRequest
34
34
  * crlId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DeleteCrlCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarProfileRequest
34
34
  * profileId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DeleteProfileCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarTrustAnchorRequest
34
34
  * trustAnchorId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DeleteTrustAnchorCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarCrlRequest
34
34
  * crlId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DisableCrlCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarProfileRequest
34
34
  * profileId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DisableProfileCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarTrustAnchorRequest
34
34
  * trustAnchorId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DisableTrustAnchorCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarCrlRequest
34
34
  * crlId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new EnableCrlCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarProfileRequest
34
34
  * profileId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new EnableProfileCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarTrustAnchorRequest
34
34
  * trustAnchorId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new EnableTrustAnchorCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarCrlRequest
34
34
  * crlId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new GetCrlCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarProfileRequest
34
34
  * profileId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new GetProfileCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarSubjectRequest
34
34
  * subjectId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new GetSubjectCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ScalarTrustAnchorRequest
34
34
  * trustAnchorId: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new GetTrustAnchorCommand(input);
@@ -30,12 +30,12 @@ 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 = {
33
+ * const input = { // ImportCrlRequest
34
34
  * name: "STRING_VALUE", // required
35
35
  * crlData: "BLOB_VALUE", // required
36
36
  * enabled: true || false,
37
- * tags: [
38
- * {
37
+ * tags: [ // TagList
38
+ * { // Tag
39
39
  * key: "STRING_VALUE", // required
40
40
  * value: "STRING_VALUE", // required
41
41
  * },
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ListRequest
34
34
  * nextToken: "STRING_VALUE",
35
35
  * pageSize: Number("int"),
36
36
  * };
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ListRequest
34
34
  * nextToken: "STRING_VALUE",
35
35
  * pageSize: Number("int"),
36
36
  * };
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ListRequest
34
34
  * nextToken: "STRING_VALUE",
35
35
  * pageSize: Number("int"),
36
36
  * };
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ListTagsForResourceRequest
34
34
  * resourceArn: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new ListTagsForResourceCommand(input);
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // ListRequest
34
34
  * nextToken: "STRING_VALUE",
35
35
  * pageSize: Number("int"),
36
36
  * };
@@ -30,10 +30,10 @@ 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 = {
33
+ * const input = { // TagResourceRequest
34
34
  * resourceArn: "STRING_VALUE", // required
35
- * tags: [ // required
36
- * {
35
+ * tags: [ // TagList // required
36
+ * { // Tag
37
37
  * key: "STRING_VALUE", // required
38
38
  * value: "STRING_VALUE", // required
39
39
  * },
@@ -30,9 +30,9 @@ 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 = {
33
+ * const input = { // UntagResourceRequest
34
34
  * resourceArn: "STRING_VALUE", // required
35
- * tagKeys: [ // required
35
+ * tagKeys: [ // TagKeyList // required
36
36
  * "STRING_VALUE",
37
37
  * ],
38
38
  * };
@@ -30,7 +30,7 @@ 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 = {
33
+ * const input = { // UpdateCrlRequest
34
34
  * crlId: "STRING_VALUE", // required
35
35
  * name: "STRING_VALUE",
36
36
  * crlData: "BLOB_VALUE",
@@ -30,14 +30,14 @@ 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 = {
33
+ * const input = { // UpdateProfileRequest
34
34
  * profileId: "STRING_VALUE", // required
35
35
  * name: "STRING_VALUE",
36
36
  * sessionPolicy: "STRING_VALUE",
37
- * roleArns: [
37
+ * roleArns: [ // RoleArnList
38
38
  * "STRING_VALUE",
39
39
  * ],
40
- * managedPolicyArns: [
40
+ * managedPolicyArns: [ // ManagedPolicyList
41
41
  * "STRING_VALUE",
42
42
  * ],
43
43
  * durationSeconds: Number("int"),
@@ -30,12 +30,12 @@ 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 = {
33
+ * const input = { // UpdateTrustAnchorRequest
34
34
  * trustAnchorId: "STRING_VALUE", // required
35
35
  * name: "STRING_VALUE",
36
- * source: {
36
+ * source: { // Source
37
37
  * sourceType: "STRING_VALUE",
38
- * sourceData: { // Union: only one key present
38
+ * sourceData: { // SourceData Union: only one key present
39
39
  * x509CertificateData: "STRING_VALUE",
40
40
  * acmPcaArn: "STRING_VALUE",
41
41
  * },
@@ -177,12 +177,17 @@ export declare namespace SourceData {
177
177
  }
178
178
  /**
179
179
  * @public
180
+ * @enum
180
181
  */
181
- export declare enum TrustAnchorType {
182
- AWS_ACM_PCA = "AWS_ACM_PCA",
183
- CERTIFICATE_BUNDLE = "CERTIFICATE_BUNDLE",
184
- SELF_SIGNED_REPOSITORY = "SELF_SIGNED_REPOSITORY"
185
- }
182
+ export declare const TrustAnchorType: {
183
+ readonly AWS_ACM_PCA: "AWS_ACM_PCA";
184
+ readonly CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE";
185
+ readonly SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY";
186
+ };
187
+ /**
188
+ * @public
189
+ */
190
+ export type TrustAnchorType = (typeof TrustAnchorType)[keyof typeof TrustAnchorType];
186
191
  /**
187
192
  * @public
188
193
  * <p>The trust anchor type and its related certificate data.</p>
@@ -72,11 +72,13 @@ export declare namespace SourceData {
72
72
  }
73
73
  const visit: <T>(value: SourceData, visitor: Visitor<T>) => T;
74
74
  }
75
- export declare enum TrustAnchorType {
76
- AWS_ACM_PCA = "AWS_ACM_PCA",
77
- CERTIFICATE_BUNDLE = "CERTIFICATE_BUNDLE",
78
- SELF_SIGNED_REPOSITORY = "SELF_SIGNED_REPOSITORY",
79
- }
75
+ export declare const TrustAnchorType: {
76
+ readonly AWS_ACM_PCA: "AWS_ACM_PCA";
77
+ readonly CERTIFICATE_BUNDLE: "CERTIFICATE_BUNDLE";
78
+ readonly SELF_SIGNED_REPOSITORY: "SELF_SIGNED_REPOSITORY";
79
+ };
80
+ export type TrustAnchorType =
81
+ (typeof TrustAnchorType)[keyof typeof TrustAnchorType];
80
82
  export interface Source {
81
83
  sourceType?: TrustAnchorType | string;
82
84
  sourceData?: SourceData;
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.300.0",
4
+ "version": "3.303.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,42 +21,42 @@
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.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",