@aws-sdk/client-detective 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 (28) hide show
  1. package/dist-cjs/models/models_0.js +29 -35
  2. package/dist-es/models/models_0.js +29 -35
  3. package/dist-types/commands/AcceptInvitationCommand.d.ts +1 -1
  4. package/dist-types/commands/BatchGetGraphMemberDatasourcesCommand.d.ts +2 -2
  5. package/dist-types/commands/BatchGetMembershipDatasourcesCommand.d.ts +2 -2
  6. package/dist-types/commands/CreateGraphCommand.d.ts +2 -2
  7. package/dist-types/commands/CreateMembersCommand.d.ts +3 -3
  8. package/dist-types/commands/DeleteGraphCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteMembersCommand.d.ts +2 -2
  10. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -1
  11. package/dist-types/commands/DisassociateMembershipCommand.d.ts +1 -1
  12. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +1 -1
  13. package/dist-types/commands/GetMembersCommand.d.ts +2 -2
  14. package/dist-types/commands/ListDatasourcePackagesCommand.d.ts +1 -1
  15. package/dist-types/commands/ListGraphsCommand.d.ts +1 -1
  16. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  17. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  18. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  20. package/dist-types/commands/RejectInvitationCommand.d.ts +1 -1
  21. package/dist-types/commands/StartMonitoringMemberCommand.d.ts +1 -1
  22. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  23. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  24. package/dist-types/commands/UpdateDatasourcePackagesCommand.d.ts +2 -2
  25. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  26. package/dist-types/models/models_0.d.ts +59 -29
  27. package/dist-types/ts3.4/models/models_0.d.ts +39 -29
  28. package/package.json +34 -34
@@ -2,12 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TooManyRequestsException = exports.MemberStatus = exports.InvitationType = exports.MemberDisabledReason = exports.ServiceQuotaExceededException = exports.DatasourcePackageIngestState = exports.DatasourcePackage = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = exports.ErrorCode = void 0;
4
4
  const DetectiveServiceException_1 = require("./DetectiveServiceException");
5
- var ErrorCode;
6
- (function (ErrorCode) {
7
- ErrorCode["InternalError"] = "INTERNAL_ERROR";
8
- ErrorCode["InvalidGraphArn"] = "INVALID_GRAPH_ARN";
9
- ErrorCode["InvalidRequestBody"] = "INVALID_REQUEST_BODY";
10
- })(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
5
+ exports.ErrorCode = {
6
+ InternalError: "INTERNAL_ERROR",
7
+ InvalidGraphArn: "INVALID_GRAPH_ARN",
8
+ InvalidRequestBody: "INVALID_REQUEST_BODY",
9
+ };
11
10
  class AccessDeniedException extends DetectiveServiceException_1.DetectiveServiceException {
12
11
  constructor(opts) {
13
12
  super({
@@ -84,17 +83,15 @@ class ValidationException extends DetectiveServiceException_1.DetectiveServiceEx
84
83
  }
85
84
  }
86
85
  exports.ValidationException = ValidationException;
87
- var DatasourcePackage;
88
- (function (DatasourcePackage) {
89
- DatasourcePackage["DETECTIVE_CORE"] = "DETECTIVE_CORE";
90
- DatasourcePackage["EKS_AUDIT"] = "EKS_AUDIT";
91
- })(DatasourcePackage = exports.DatasourcePackage || (exports.DatasourcePackage = {}));
92
- var DatasourcePackageIngestState;
93
- (function (DatasourcePackageIngestState) {
94
- DatasourcePackageIngestState["DISABLED"] = "DISABLED";
95
- DatasourcePackageIngestState["STARTED"] = "STARTED";
96
- DatasourcePackageIngestState["STOPPED"] = "STOPPED";
97
- })(DatasourcePackageIngestState = exports.DatasourcePackageIngestState || (exports.DatasourcePackageIngestState = {}));
86
+ exports.DatasourcePackage = {
87
+ DETECTIVE_CORE: "DETECTIVE_CORE",
88
+ EKS_AUDIT: "EKS_AUDIT",
89
+ };
90
+ exports.DatasourcePackageIngestState = {
91
+ DISABLED: "DISABLED",
92
+ STARTED: "STARTED",
93
+ STOPPED: "STOPPED",
94
+ };
98
95
  class ServiceQuotaExceededException extends DetectiveServiceException_1.DetectiveServiceException {
99
96
  constructor(opts) {
100
97
  super({
@@ -110,24 +107,21 @@ class ServiceQuotaExceededException extends DetectiveServiceException_1.Detectiv
110
107
  }
111
108
  }
112
109
  exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
113
- var MemberDisabledReason;
114
- (function (MemberDisabledReason) {
115
- MemberDisabledReason["VOLUME_TOO_HIGH"] = "VOLUME_TOO_HIGH";
116
- MemberDisabledReason["VOLUME_UNKNOWN"] = "VOLUME_UNKNOWN";
117
- })(MemberDisabledReason = exports.MemberDisabledReason || (exports.MemberDisabledReason = {}));
118
- var InvitationType;
119
- (function (InvitationType) {
120
- InvitationType["INVITATION"] = "INVITATION";
121
- InvitationType["ORGANIZATION"] = "ORGANIZATION";
122
- })(InvitationType = exports.InvitationType || (exports.InvitationType = {}));
123
- var MemberStatus;
124
- (function (MemberStatus) {
125
- MemberStatus["ACCEPTED_BUT_DISABLED"] = "ACCEPTED_BUT_DISABLED";
126
- MemberStatus["ENABLED"] = "ENABLED";
127
- MemberStatus["INVITED"] = "INVITED";
128
- MemberStatus["VERIFICATION_FAILED"] = "VERIFICATION_FAILED";
129
- MemberStatus["VERIFICATION_IN_PROGRESS"] = "VERIFICATION_IN_PROGRESS";
130
- })(MemberStatus = exports.MemberStatus || (exports.MemberStatus = {}));
110
+ exports.MemberDisabledReason = {
111
+ VOLUME_TOO_HIGH: "VOLUME_TOO_HIGH",
112
+ VOLUME_UNKNOWN: "VOLUME_UNKNOWN",
113
+ };
114
+ exports.InvitationType = {
115
+ INVITATION: "INVITATION",
116
+ ORGANIZATION: "ORGANIZATION",
117
+ };
118
+ exports.MemberStatus = {
119
+ ACCEPTED_BUT_DISABLED: "ACCEPTED_BUT_DISABLED",
120
+ ENABLED: "ENABLED",
121
+ INVITED: "INVITED",
122
+ VERIFICATION_FAILED: "VERIFICATION_FAILED",
123
+ VERIFICATION_IN_PROGRESS: "VERIFICATION_IN_PROGRESS",
124
+ };
131
125
  class TooManyRequestsException extends DetectiveServiceException_1.DetectiveServiceException {
132
126
  constructor(opts) {
133
127
  super({
@@ -1,10 +1,9 @@
1
1
  import { DetectiveServiceException as __BaseException } from "./DetectiveServiceException";
2
- export var ErrorCode;
3
- (function (ErrorCode) {
4
- ErrorCode["InternalError"] = "INTERNAL_ERROR";
5
- ErrorCode["InvalidGraphArn"] = "INVALID_GRAPH_ARN";
6
- ErrorCode["InvalidRequestBody"] = "INVALID_REQUEST_BODY";
7
- })(ErrorCode || (ErrorCode = {}));
2
+ export const ErrorCode = {
3
+ InternalError: "INTERNAL_ERROR",
4
+ InvalidGraphArn: "INVALID_GRAPH_ARN",
5
+ InvalidRequestBody: "INVALID_REQUEST_BODY",
6
+ };
8
7
  export class AccessDeniedException extends __BaseException {
9
8
  constructor(opts) {
10
9
  super({
@@ -76,17 +75,15 @@ export class ValidationException extends __BaseException {
76
75
  this.ErrorCodeReason = opts.ErrorCodeReason;
77
76
  }
78
77
  }
79
- export var DatasourcePackage;
80
- (function (DatasourcePackage) {
81
- DatasourcePackage["DETECTIVE_CORE"] = "DETECTIVE_CORE";
82
- DatasourcePackage["EKS_AUDIT"] = "EKS_AUDIT";
83
- })(DatasourcePackage || (DatasourcePackage = {}));
84
- export var DatasourcePackageIngestState;
85
- (function (DatasourcePackageIngestState) {
86
- DatasourcePackageIngestState["DISABLED"] = "DISABLED";
87
- DatasourcePackageIngestState["STARTED"] = "STARTED";
88
- DatasourcePackageIngestState["STOPPED"] = "STOPPED";
89
- })(DatasourcePackageIngestState || (DatasourcePackageIngestState = {}));
78
+ export const DatasourcePackage = {
79
+ DETECTIVE_CORE: "DETECTIVE_CORE",
80
+ EKS_AUDIT: "EKS_AUDIT",
81
+ };
82
+ export const DatasourcePackageIngestState = {
83
+ DISABLED: "DISABLED",
84
+ STARTED: "STARTED",
85
+ STOPPED: "STOPPED",
86
+ };
90
87
  export class ServiceQuotaExceededException extends __BaseException {
91
88
  constructor(opts) {
92
89
  super({
@@ -101,24 +98,21 @@ export class ServiceQuotaExceededException extends __BaseException {
101
98
  this.Resources = opts.Resources;
102
99
  }
103
100
  }
104
- export var MemberDisabledReason;
105
- (function (MemberDisabledReason) {
106
- MemberDisabledReason["VOLUME_TOO_HIGH"] = "VOLUME_TOO_HIGH";
107
- MemberDisabledReason["VOLUME_UNKNOWN"] = "VOLUME_UNKNOWN";
108
- })(MemberDisabledReason || (MemberDisabledReason = {}));
109
- export var InvitationType;
110
- (function (InvitationType) {
111
- InvitationType["INVITATION"] = "INVITATION";
112
- InvitationType["ORGANIZATION"] = "ORGANIZATION";
113
- })(InvitationType || (InvitationType = {}));
114
- export var MemberStatus;
115
- (function (MemberStatus) {
116
- MemberStatus["ACCEPTED_BUT_DISABLED"] = "ACCEPTED_BUT_DISABLED";
117
- MemberStatus["ENABLED"] = "ENABLED";
118
- MemberStatus["INVITED"] = "INVITED";
119
- MemberStatus["VERIFICATION_FAILED"] = "VERIFICATION_FAILED";
120
- MemberStatus["VERIFICATION_IN_PROGRESS"] = "VERIFICATION_IN_PROGRESS";
121
- })(MemberStatus || (MemberStatus = {}));
101
+ export const MemberDisabledReason = {
102
+ VOLUME_TOO_HIGH: "VOLUME_TOO_HIGH",
103
+ VOLUME_UNKNOWN: "VOLUME_UNKNOWN",
104
+ };
105
+ export const InvitationType = {
106
+ INVITATION: "INVITATION",
107
+ ORGANIZATION: "ORGANIZATION",
108
+ };
109
+ export const MemberStatus = {
110
+ ACCEPTED_BUT_DISABLED: "ACCEPTED_BUT_DISABLED",
111
+ ENABLED: "ENABLED",
112
+ INVITED: "INVITED",
113
+ VERIFICATION_FAILED: "VERIFICATION_FAILED",
114
+ VERIFICATION_IN_PROGRESS: "VERIFICATION_IN_PROGRESS",
115
+ };
122
116
  export class TooManyRequestsException extends __BaseException {
123
117
  constructor(opts) {
124
118
  super({
@@ -29,7 +29,7 @@ export interface AcceptInvitationCommandOutput extends __MetadataBearer {
29
29
  * import { DetectiveClient, AcceptInvitationCommand } from "@aws-sdk/client-detective"; // ES Modules import
30
30
  * // const { DetectiveClient, AcceptInvitationCommand } = require("@aws-sdk/client-detective"); // CommonJS import
31
31
  * const client = new DetectiveClient(config);
32
- * const input = {
32
+ * const input = { // AcceptInvitationRequest
33
33
  * GraphArn: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new AcceptInvitationCommand(input);
@@ -26,9 +26,9 @@ export interface BatchGetGraphMemberDatasourcesCommandOutput extends BatchGetGra
26
26
  * import { DetectiveClient, BatchGetGraphMemberDatasourcesCommand } from "@aws-sdk/client-detective"; // ES Modules import
27
27
  * // const { DetectiveClient, BatchGetGraphMemberDatasourcesCommand } = require("@aws-sdk/client-detective"); // CommonJS import
28
28
  * const client = new DetectiveClient(config);
29
- * const input = {
29
+ * const input = { // BatchGetGraphMemberDatasourcesRequest
30
30
  * GraphArn: "STRING_VALUE", // required
31
- * AccountIds: [ // required
31
+ * AccountIds: [ // AccountIdExtendedList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,8 +26,8 @@ export interface BatchGetMembershipDatasourcesCommandOutput extends BatchGetMemb
26
26
  * import { DetectiveClient, BatchGetMembershipDatasourcesCommand } from "@aws-sdk/client-detective"; // ES Modules import
27
27
  * // const { DetectiveClient, BatchGetMembershipDatasourcesCommand } = require("@aws-sdk/client-detective"); // CommonJS import
28
28
  * const client = new DetectiveClient(config);
29
- * const input = {
30
- * GraphArns: [ // required
29
+ * const input = { // BatchGetMembershipDatasourcesRequest
30
+ * GraphArns: [ // GraphArnList // required
31
31
  * "STRING_VALUE",
32
32
  * ],
33
33
  * };
@@ -41,8 +41,8 @@ export interface CreateGraphCommandOutput extends CreateGraphResponse, __Metadat
41
41
  * import { DetectiveClient, CreateGraphCommand } from "@aws-sdk/client-detective"; // ES Modules import
42
42
  * // const { DetectiveClient, CreateGraphCommand } = require("@aws-sdk/client-detective"); // CommonJS import
43
43
  * const client = new DetectiveClient(config);
44
- * const input = {
45
- * Tags: {
44
+ * const input = { // CreateGraphRequest
45
+ * Tags: { // TagMap
46
46
  * "<keys>": "STRING_VALUE",
47
47
  * },
48
48
  * };
@@ -57,12 +57,12 @@ export interface CreateMembersCommandOutput extends CreateMembersResponse, __Met
57
57
  * import { DetectiveClient, CreateMembersCommand } from "@aws-sdk/client-detective"; // ES Modules import
58
58
  * // const { DetectiveClient, CreateMembersCommand } = require("@aws-sdk/client-detective"); // CommonJS import
59
59
  * const client = new DetectiveClient(config);
60
- * const input = {
60
+ * const input = { // CreateMembersRequest
61
61
  * GraphArn: "STRING_VALUE", // required
62
62
  * Message: "STRING_VALUE",
63
63
  * DisableEmailNotification: true || false,
64
- * Accounts: [ // required
65
- * {
64
+ * Accounts: [ // AccountList // required
65
+ * { // Account
66
66
  * AccountId: "STRING_VALUE", // required
67
67
  * EmailAddress: "STRING_VALUE", // required
68
68
  * },
@@ -30,7 +30,7 @@ export interface DeleteGraphCommandOutput extends __MetadataBearer {
30
30
  * import { DetectiveClient, DeleteGraphCommand } from "@aws-sdk/client-detective"; // ES Modules import
31
31
  * // const { DetectiveClient, DeleteGraphCommand } = require("@aws-sdk/client-detective"); // CommonJS import
32
32
  * const client = new DetectiveClient(config);
33
- * const input = {
33
+ * const input = { // DeleteGraphRequest
34
34
  * GraphArn: "STRING_VALUE", // required
35
35
  * };
36
36
  * const command = new DeleteGraphCommand(input);
@@ -38,9 +38,9 @@ export interface DeleteMembersCommandOutput extends DeleteMembersResponse, __Met
38
38
  * import { DetectiveClient, DeleteMembersCommand } from "@aws-sdk/client-detective"; // ES Modules import
39
39
  * // const { DetectiveClient, DeleteMembersCommand } = require("@aws-sdk/client-detective"); // CommonJS import
40
40
  * const client = new DetectiveClient(config);
41
- * const input = {
41
+ * const input = { // DeleteMembersRequest
42
42
  * GraphArn: "STRING_VALUE", // required
43
- * AccountIds: [ // required
43
+ * AccountIds: [ // AccountIdList // required
44
44
  * "STRING_VALUE",
45
45
  * ],
46
46
  * };
@@ -29,7 +29,7 @@ export interface DescribeOrganizationConfigurationCommandOutput extends Describe
29
29
  * import { DetectiveClient, DescribeOrganizationConfigurationCommand } from "@aws-sdk/client-detective"; // ES Modules import
30
30
  * // const { DetectiveClient, DescribeOrganizationConfigurationCommand } = require("@aws-sdk/client-detective"); // CommonJS import
31
31
  * const client = new DetectiveClient(config);
32
- * const input = {
32
+ * const input = { // DescribeOrganizationConfigurationRequest
33
33
  * GraphArn: "STRING_VALUE", // required
34
34
  * };
35
35
  * const command = new DescribeOrganizationConfigurationCommand(input);
@@ -32,7 +32,7 @@ export interface DisassociateMembershipCommandOutput extends __MetadataBearer {
32
32
  * import { DetectiveClient, DisassociateMembershipCommand } from "@aws-sdk/client-detective"; // ES Modules import
33
33
  * // const { DetectiveClient, DisassociateMembershipCommand } = require("@aws-sdk/client-detective"); // CommonJS import
34
34
  * const client = new DetectiveClient(config);
35
- * const input = {
35
+ * const input = { // DisassociateMembershipRequest
36
36
  * GraphArn: "STRING_VALUE", // required
37
37
  * };
38
38
  * const command = new DisassociateMembershipCommand(input);
@@ -37,7 +37,7 @@ export interface EnableOrganizationAdminAccountCommandOutput extends __MetadataB
37
37
  * import { DetectiveClient, EnableOrganizationAdminAccountCommand } from "@aws-sdk/client-detective"; // ES Modules import
38
38
  * // const { DetectiveClient, EnableOrganizationAdminAccountCommand } = require("@aws-sdk/client-detective"); // CommonJS import
39
39
  * const client = new DetectiveClient(config);
40
- * const input = {
40
+ * const input = { // EnableOrganizationAdminAccountRequest
41
41
  * AccountId: "STRING_VALUE", // required
42
42
  * };
43
43
  * const command = new EnableOrganizationAdminAccountCommand(input);
@@ -27,9 +27,9 @@ export interface GetMembersCommandOutput extends GetMembersResponse, __MetadataB
27
27
  * import { DetectiveClient, GetMembersCommand } from "@aws-sdk/client-detective"; // ES Modules import
28
28
  * // const { DetectiveClient, GetMembersCommand } = require("@aws-sdk/client-detective"); // CommonJS import
29
29
  * const client = new DetectiveClient(config);
30
- * const input = {
30
+ * const input = { // GetMembersRequest
31
31
  * GraphArn: "STRING_VALUE", // required
32
- * AccountIds: [ // required
32
+ * AccountIds: [ // AccountIdList // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * };
@@ -26,7 +26,7 @@ export interface ListDatasourcePackagesCommandOutput extends ListDatasourcePacka
26
26
  * import { DetectiveClient, ListDatasourcePackagesCommand } from "@aws-sdk/client-detective"; // ES Modules import
27
27
  * // const { DetectiveClient, ListDatasourcePackagesCommand } = require("@aws-sdk/client-detective"); // CommonJS import
28
28
  * const client = new DetectiveClient(config);
29
- * const input = {
29
+ * const input = { // ListDatasourcePackagesRequest
30
30
  * GraphArn: "STRING_VALUE", // required
31
31
  * NextToken: "STRING_VALUE",
32
32
  * MaxResults: Number("int"),
@@ -29,7 +29,7 @@ export interface ListGraphsCommandOutput extends ListGraphsResponse, __MetadataB
29
29
  * import { DetectiveClient, ListGraphsCommand } from "@aws-sdk/client-detective"; // ES Modules import
30
30
  * // const { DetectiveClient, ListGraphsCommand } = require("@aws-sdk/client-detective"); // CommonJS import
31
31
  * const client = new DetectiveClient(config);
32
- * const input = {
32
+ * const input = { // ListGraphsRequest
33
33
  * NextToken: "STRING_VALUE",
34
34
  * MaxResults: Number("int"),
35
35
  * };
@@ -31,7 +31,7 @@ export interface ListInvitationsCommandOutput extends ListInvitationsResponse, _
31
31
  * import { DetectiveClient, ListInvitationsCommand } from "@aws-sdk/client-detective"; // ES Modules import
32
32
  * // const { DetectiveClient, ListInvitationsCommand } = require("@aws-sdk/client-detective"); // CommonJS import
33
33
  * const client = new DetectiveClient(config);
34
- * const input = {
34
+ * const input = { // ListInvitationsRequest
35
35
  * NextToken: "STRING_VALUE",
36
36
  * MaxResults: Number("int"),
37
37
  * };
@@ -31,7 +31,7 @@ export interface ListMembersCommandOutput extends ListMembersResponse, __Metadat
31
31
  * import { DetectiveClient, ListMembersCommand } from "@aws-sdk/client-detective"; // ES Modules import
32
32
  * // const { DetectiveClient, ListMembersCommand } = require("@aws-sdk/client-detective"); // CommonJS import
33
33
  * const client = new DetectiveClient(config);
34
- * const input = {
34
+ * const input = { // ListMembersRequest
35
35
  * GraphArn: "STRING_VALUE", // required
36
36
  * NextToken: "STRING_VALUE",
37
37
  * MaxResults: Number("int"),
@@ -27,7 +27,7 @@ export interface ListOrganizationAdminAccountsCommandOutput extends ListOrganiza
27
27
  * import { DetectiveClient, ListOrganizationAdminAccountsCommand } from "@aws-sdk/client-detective"; // ES Modules import
28
28
  * // const { DetectiveClient, ListOrganizationAdminAccountsCommand } = require("@aws-sdk/client-detective"); // CommonJS import
29
29
  * const client = new DetectiveClient(config);
30
- * const input = {
30
+ * const input = { // ListOrganizationAdminAccountsRequest
31
31
  * NextToken: "STRING_VALUE",
32
32
  * MaxResults: Number("int"),
33
33
  * };
@@ -26,7 +26,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { DetectiveClient, ListTagsForResourceCommand } from "@aws-sdk/client-detective"; // ES Modules import
27
27
  * // const { DetectiveClient, ListTagsForResourceCommand } = require("@aws-sdk/client-detective"); // CommonJS import
28
28
  * const client = new DetectiveClient(config);
29
- * const input = {
29
+ * const input = { // ListTagsForResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
@@ -32,7 +32,7 @@ export interface RejectInvitationCommandOutput extends __MetadataBearer {
32
32
  * import { DetectiveClient, RejectInvitationCommand } from "@aws-sdk/client-detective"; // ES Modules import
33
33
  * // const { DetectiveClient, RejectInvitationCommand } = require("@aws-sdk/client-detective"); // CommonJS import
34
34
  * const client = new DetectiveClient(config);
35
- * const input = {
35
+ * const input = { // RejectInvitationRequest
36
36
  * GraphArn: "STRING_VALUE", // required
37
37
  * };
38
38
  * const command = new RejectInvitationCommand(input);
@@ -38,7 +38,7 @@ export interface StartMonitoringMemberCommandOutput extends __MetadataBearer {
38
38
  * import { DetectiveClient, StartMonitoringMemberCommand } from "@aws-sdk/client-detective"; // ES Modules import
39
39
  * // const { DetectiveClient, StartMonitoringMemberCommand } = require("@aws-sdk/client-detective"); // CommonJS import
40
40
  * const client = new DetectiveClient(config);
41
- * const input = {
41
+ * const input = { // StartMonitoringMemberRequest
42
42
  * GraphArn: "STRING_VALUE", // required
43
43
  * AccountId: "STRING_VALUE", // required
44
44
  * };
@@ -26,9 +26,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
26
26
  * import { DetectiveClient, TagResourceCommand } from "@aws-sdk/client-detective"; // ES Modules import
27
27
  * // const { DetectiveClient, TagResourceCommand } = require("@aws-sdk/client-detective"); // CommonJS import
28
28
  * const client = new DetectiveClient(config);
29
- * const input = {
29
+ * const input = { // TagResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * Tags: { // required
31
+ * Tags: { // TagMap // required
32
32
  * "<keys>": "STRING_VALUE",
33
33
  * },
34
34
  * };
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { DetectiveClient, UntagResourceCommand } from "@aws-sdk/client-detective"; // ES Modules import
27
27
  * // const { DetectiveClient, UntagResourceCommand } = require("@aws-sdk/client-detective"); // CommonJS import
28
28
  * const client = new DetectiveClient(config);
29
- * const input = {
29
+ * const input = { // UntagResourceRequest
30
30
  * ResourceArn: "STRING_VALUE", // required
31
- * TagKeys: [ // required
31
+ * TagKeys: [ // TagKeyList // required
32
32
  * "STRING_VALUE",
33
33
  * ],
34
34
  * };
@@ -26,9 +26,9 @@ export interface UpdateDatasourcePackagesCommandOutput extends __MetadataBearer
26
26
  * import { DetectiveClient, UpdateDatasourcePackagesCommand } from "@aws-sdk/client-detective"; // ES Modules import
27
27
  * // const { DetectiveClient, UpdateDatasourcePackagesCommand } = require("@aws-sdk/client-detective"); // CommonJS import
28
28
  * const client = new DetectiveClient(config);
29
- * const input = {
29
+ * const input = { // UpdateDatasourcePackagesRequest
30
30
  * GraphArn: "STRING_VALUE", // required
31
- * DatasourcePackages: [ // required
31
+ * DatasourcePackages: [ // DatasourcePackageList // required
32
32
  * "DETECTIVE_CORE" || "EKS_AUDIT",
33
33
  * ],
34
34
  * };
@@ -28,7 +28,7 @@ export interface UpdateOrganizationConfigurationCommandOutput extends __Metadata
28
28
  * import { DetectiveClient, UpdateOrganizationConfigurationCommand } from "@aws-sdk/client-detective"; // ES Modules import
29
29
  * // const { DetectiveClient, UpdateOrganizationConfigurationCommand } = require("@aws-sdk/client-detective"); // CommonJS import
30
30
  * const client = new DetectiveClient(config);
31
- * const input = {
31
+ * const input = { // UpdateOrganizationConfigurationRequest
32
32
  * GraphArn: "STRING_VALUE", // required
33
33
  * AutoEnable: true || false,
34
34
  * };
@@ -13,12 +13,17 @@ export interface AcceptInvitationRequest {
13
13
  }
14
14
  /**
15
15
  * @public
16
+ * @enum
16
17
  */
17
- export declare enum ErrorCode {
18
- InternalError = "INTERNAL_ERROR",
19
- InvalidGraphArn = "INVALID_GRAPH_ARN",
20
- InvalidRequestBody = "INVALID_REQUEST_BODY"
21
- }
18
+ export declare const ErrorCode: {
19
+ readonly InternalError: "INTERNAL_ERROR";
20
+ readonly InvalidGraphArn: "INVALID_GRAPH_ARN";
21
+ readonly InvalidRequestBody: "INVALID_REQUEST_BODY";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
22
27
  /**
23
28
  * @public
24
29
  * <p>The request issuer does not have permission to access this resource or perform this
@@ -163,19 +168,29 @@ export interface BatchGetGraphMemberDatasourcesRequest {
163
168
  }
164
169
  /**
165
170
  * @public
171
+ * @enum
166
172
  */
167
- export declare enum DatasourcePackage {
168
- DETECTIVE_CORE = "DETECTIVE_CORE",
169
- EKS_AUDIT = "EKS_AUDIT"
170
- }
173
+ export declare const DatasourcePackage: {
174
+ readonly DETECTIVE_CORE: "DETECTIVE_CORE";
175
+ readonly EKS_AUDIT: "EKS_AUDIT";
176
+ };
171
177
  /**
172
178
  * @public
173
179
  */
174
- export declare enum DatasourcePackageIngestState {
175
- DISABLED = "DISABLED",
176
- STARTED = "STARTED",
177
- STOPPED = "STOPPED"
178
- }
180
+ export type DatasourcePackage = (typeof DatasourcePackage)[keyof typeof DatasourcePackage];
181
+ /**
182
+ * @public
183
+ * @enum
184
+ */
185
+ export declare const DatasourcePackageIngestState: {
186
+ readonly DISABLED: "DISABLED";
187
+ readonly STARTED: "STARTED";
188
+ readonly STOPPED: "STOPPED";
189
+ };
190
+ /**
191
+ * @public
192
+ */
193
+ export type DatasourcePackageIngestState = (typeof DatasourcePackageIngestState)[keyof typeof DatasourcePackageIngestState];
179
194
  /**
180
195
  * @public
181
196
  * <p>Details on when data collection began for a source package.</p>
@@ -355,28 +370,43 @@ export interface CreateMembersRequest {
355
370
  }
356
371
  /**
357
372
  * @public
373
+ * @enum
358
374
  */
359
- export declare enum MemberDisabledReason {
360
- VOLUME_TOO_HIGH = "VOLUME_TOO_HIGH",
361
- VOLUME_UNKNOWN = "VOLUME_UNKNOWN"
362
- }
375
+ export declare const MemberDisabledReason: {
376
+ readonly VOLUME_TOO_HIGH: "VOLUME_TOO_HIGH";
377
+ readonly VOLUME_UNKNOWN: "VOLUME_UNKNOWN";
378
+ };
363
379
  /**
364
380
  * @public
365
381
  */
366
- export declare enum InvitationType {
367
- INVITATION = "INVITATION",
368
- ORGANIZATION = "ORGANIZATION"
369
- }
382
+ export type MemberDisabledReason = (typeof MemberDisabledReason)[keyof typeof MemberDisabledReason];
370
383
  /**
371
384
  * @public
385
+ * @enum
372
386
  */
373
- export declare enum MemberStatus {
374
- ACCEPTED_BUT_DISABLED = "ACCEPTED_BUT_DISABLED",
375
- ENABLED = "ENABLED",
376
- INVITED = "INVITED",
377
- VERIFICATION_FAILED = "VERIFICATION_FAILED",
378
- VERIFICATION_IN_PROGRESS = "VERIFICATION_IN_PROGRESS"
379
- }
387
+ export declare const InvitationType: {
388
+ readonly INVITATION: "INVITATION";
389
+ readonly ORGANIZATION: "ORGANIZATION";
390
+ };
391
+ /**
392
+ * @public
393
+ */
394
+ export type InvitationType = (typeof InvitationType)[keyof typeof InvitationType];
395
+ /**
396
+ * @public
397
+ * @enum
398
+ */
399
+ export declare const MemberStatus: {
400
+ readonly ACCEPTED_BUT_DISABLED: "ACCEPTED_BUT_DISABLED";
401
+ readonly ENABLED: "ENABLED";
402
+ readonly INVITED: "INVITED";
403
+ readonly VERIFICATION_FAILED: "VERIFICATION_FAILED";
404
+ readonly VERIFICATION_IN_PROGRESS: "VERIFICATION_IN_PROGRESS";
405
+ };
406
+ /**
407
+ * @public
408
+ */
409
+ export type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
380
410
  /**
381
411
  * @public
382
412
  * <p>Information on the usage of a data source package in the behavior graph.</p>
@@ -3,11 +3,12 @@ import { DetectiveServiceException as __BaseException } from "./DetectiveService
3
3
  export interface AcceptInvitationRequest {
4
4
  GraphArn: string | undefined;
5
5
  }
6
- export declare enum ErrorCode {
7
- InternalError = "INTERNAL_ERROR",
8
- InvalidGraphArn = "INVALID_GRAPH_ARN",
9
- InvalidRequestBody = "INVALID_REQUEST_BODY",
10
- }
6
+ export declare const ErrorCode: {
7
+ readonly InternalError: "INTERNAL_ERROR";
8
+ readonly InvalidGraphArn: "INVALID_GRAPH_ARN";
9
+ readonly InvalidRequestBody: "INVALID_REQUEST_BODY";
10
+ };
11
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
11
12
  export declare class AccessDeniedException extends __BaseException {
12
13
  readonly name: "AccessDeniedException";
13
14
  readonly $fault: "client";
@@ -65,15 +66,19 @@ export interface BatchGetGraphMemberDatasourcesRequest {
65
66
  GraphArn: string | undefined;
66
67
  AccountIds: string[] | undefined;
67
68
  }
68
- export declare enum DatasourcePackage {
69
- DETECTIVE_CORE = "DETECTIVE_CORE",
70
- EKS_AUDIT = "EKS_AUDIT",
71
- }
72
- export declare enum DatasourcePackageIngestState {
73
- DISABLED = "DISABLED",
74
- STARTED = "STARTED",
75
- STOPPED = "STOPPED",
76
- }
69
+ export declare const DatasourcePackage: {
70
+ readonly DETECTIVE_CORE: "DETECTIVE_CORE";
71
+ readonly EKS_AUDIT: "EKS_AUDIT";
72
+ };
73
+ export type DatasourcePackage =
74
+ (typeof DatasourcePackage)[keyof typeof DatasourcePackage];
75
+ export declare const DatasourcePackageIngestState: {
76
+ readonly DISABLED: "DISABLED";
77
+ readonly STARTED: "STARTED";
78
+ readonly STOPPED: "STOPPED";
79
+ };
80
+ export type DatasourcePackageIngestState =
81
+ (typeof DatasourcePackageIngestState)[keyof typeof DatasourcePackageIngestState];
77
82
  export interface TimestampForCollection {
78
83
  Timestamp?: Date;
79
84
  }
@@ -125,21 +130,26 @@ export interface CreateMembersRequest {
125
130
  DisableEmailNotification?: boolean;
126
131
  Accounts: Account[] | undefined;
127
132
  }
128
- export declare enum MemberDisabledReason {
129
- VOLUME_TOO_HIGH = "VOLUME_TOO_HIGH",
130
- VOLUME_UNKNOWN = "VOLUME_UNKNOWN",
131
- }
132
- export declare enum InvitationType {
133
- INVITATION = "INVITATION",
134
- ORGANIZATION = "ORGANIZATION",
135
- }
136
- export declare enum MemberStatus {
137
- ACCEPTED_BUT_DISABLED = "ACCEPTED_BUT_DISABLED",
138
- ENABLED = "ENABLED",
139
- INVITED = "INVITED",
140
- VERIFICATION_FAILED = "VERIFICATION_FAILED",
141
- VERIFICATION_IN_PROGRESS = "VERIFICATION_IN_PROGRESS",
142
- }
133
+ export declare const MemberDisabledReason: {
134
+ readonly VOLUME_TOO_HIGH: "VOLUME_TOO_HIGH";
135
+ readonly VOLUME_UNKNOWN: "VOLUME_UNKNOWN";
136
+ };
137
+ export type MemberDisabledReason =
138
+ (typeof MemberDisabledReason)[keyof typeof MemberDisabledReason];
139
+ export declare const InvitationType: {
140
+ readonly INVITATION: "INVITATION";
141
+ readonly ORGANIZATION: "ORGANIZATION";
142
+ };
143
+ export type InvitationType =
144
+ (typeof InvitationType)[keyof typeof InvitationType];
145
+ export declare const MemberStatus: {
146
+ readonly ACCEPTED_BUT_DISABLED: "ACCEPTED_BUT_DISABLED";
147
+ readonly ENABLED: "ENABLED";
148
+ readonly INVITED: "INVITED";
149
+ readonly VERIFICATION_FAILED: "VERIFICATION_FAILED";
150
+ readonly VERIFICATION_IN_PROGRESS: "VERIFICATION_IN_PROGRESS";
151
+ };
152
+ export type MemberStatus = (typeof MemberStatus)[keyof typeof MemberStatus];
143
153
  export interface DatasourcePackageUsageInfo {
144
154
  VolumeUsageInBytes?: number;
145
155
  VolumeUsageUpdateTime?: Date;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-detective",
3
3
  "description": "AWS SDK for JavaScript Detective 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",