@aws-sdk/client-securityhub 3.933.0 → 3.935.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 (83) hide show
  1. package/dist-cjs/index.js +474 -476
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +458 -0
  4. package/dist-es/models/errors.js +193 -0
  5. package/dist-es/models/models_0.js +1 -178
  6. package/dist-es/models/models_1.js +1 -48
  7. package/dist-es/models/models_2.js +1 -359
  8. package/dist-es/models/models_3.js +1 -68
  9. package/dist-es/schemas/schemas_0.js +1 -1
  10. package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +2 -1
  11. package/dist-types/commands/GetFindingsV2Command.d.ts +2 -1
  12. package/dist-types/commands/GetInsightResultsCommand.d.ts +1 -1
  13. package/dist-types/commands/GetInsightsCommand.d.ts +1 -1
  14. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -1
  15. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -1
  16. package/dist-types/commands/GetMembersCommand.d.ts +1 -1
  17. package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +2 -1
  18. package/dist-types/commands/GetResourcesV2Command.d.ts +2 -1
  19. package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
  20. package/dist-types/commands/InviteMembersCommand.d.ts +1 -1
  21. package/dist-types/commands/ListAggregatorsV2Command.d.ts +1 -1
  22. package/dist-types/commands/ListAutomationRulesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
  24. package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
  25. package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListConnectorsV2Command.d.ts +1 -1
  27. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  28. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListInvitationsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  31. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  35. package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  36. package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  37. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  38. package/dist-types/index.d.ts +6 -1
  39. package/dist-types/models/enums.d.ts +994 -0
  40. package/dist-types/models/errors.d.ts +179 -0
  41. package/dist-types/models/models_0.d.ts +903 -305
  42. package/dist-types/models/models_1.d.ts +5669 -5639
  43. package/dist-types/models/models_2.d.ts +5423 -5594
  44. package/dist-types/models/models_3.d.ts +3 -1634
  45. package/dist-types/ts3.4/commands/GetFindingStatisticsV2Command.d.ts +2 -4
  46. package/dist-types/ts3.4/commands/GetFindingsV2Command.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/GetResourcesStatisticsV2Command.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/GetResourcesV2Command.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/GetSecurityControlDefinitionCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListAggregatorsV2Command.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/ListAutomationRulesV2Command.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ListConnectorsV2Command.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListSecurityControlDefinitionsCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/index.d.ts +6 -1
  74. package/dist-types/ts3.4/models/enums.d.ts +574 -0
  75. package/dist-types/ts3.4/models/errors.d.ts +106 -0
  76. package/dist-types/ts3.4/models/models_0.d.ts +209 -164
  77. package/dist-types/ts3.4/models/models_1.d.ts +205 -260
  78. package/dist-types/ts3.4/models/models_2.d.ts +398 -582
  79. package/dist-types/ts3.4/models/models_3.d.ts +13 -439
  80. package/package.json +12 -12
  81. package/dist-es/models/index.js +0 -4
  82. package/dist-types/models/index.d.ts +0 -4
  83. package/dist-types/ts3.4/models/index.d.ts +0 -4
@@ -0,0 +1,179 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
3
+ /**
4
+ * <p>Internal server error.</p>
5
+ * @public
6
+ */
7
+ export declare class InternalException extends __BaseException {
8
+ readonly name: "InternalException";
9
+ readonly $fault: "server";
10
+ Message?: string | undefined;
11
+ Code?: string | undefined;
12
+ /**
13
+ * @internal
14
+ */
15
+ constructor(opts: __ExceptionOptionType<InternalException, __BaseException>);
16
+ }
17
+ /**
18
+ * <p>The account doesn't have permission to perform this action.</p>
19
+ * @public
20
+ */
21
+ export declare class InvalidAccessException extends __BaseException {
22
+ readonly name: "InvalidAccessException";
23
+ readonly $fault: "client";
24
+ Message?: string | undefined;
25
+ Code?: string | undefined;
26
+ /**
27
+ * @internal
28
+ */
29
+ constructor(opts: __ExceptionOptionType<InvalidAccessException, __BaseException>);
30
+ }
31
+ /**
32
+ * <p>The request was rejected because you supplied an invalid or out-of-range value for an
33
+ * input parameter.</p>
34
+ * @public
35
+ */
36
+ export declare class InvalidInputException extends __BaseException {
37
+ readonly name: "InvalidInputException";
38
+ readonly $fault: "client";
39
+ Message?: string | undefined;
40
+ Code?: string | undefined;
41
+ /**
42
+ * @internal
43
+ */
44
+ constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
45
+ }
46
+ /**
47
+ * <p>The request was rejected because it attempted to create resources beyond the current Amazon Web Services
48
+ * account or throttling limits. The error code describes the limit exceeded.</p>
49
+ * @public
50
+ */
51
+ export declare class LimitExceededException extends __BaseException {
52
+ readonly name: "LimitExceededException";
53
+ readonly $fault: "client";
54
+ Message?: string | undefined;
55
+ Code?: string | undefined;
56
+ /**
57
+ * @internal
58
+ */
59
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
60
+ }
61
+ /**
62
+ * <p>The request was rejected because we can't find the specified resource.</p>
63
+ * @public
64
+ */
65
+ export declare class ResourceNotFoundException extends __BaseException {
66
+ readonly name: "ResourceNotFoundException";
67
+ readonly $fault: "client";
68
+ Message?: string | undefined;
69
+ Code?: string | undefined;
70
+ /**
71
+ * @internal
72
+ */
73
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
74
+ }
75
+ /**
76
+ * <p>You don't have permission to perform the action specified in the request.</p>
77
+ * @public
78
+ */
79
+ export declare class AccessDeniedException extends __BaseException {
80
+ readonly name: "AccessDeniedException";
81
+ readonly $fault: "client";
82
+ Message?: string | undefined;
83
+ Code?: string | undefined;
84
+ /**
85
+ * @internal
86
+ */
87
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
88
+ }
89
+ /**
90
+ * <p>The request causes conflict with the current state of the service resource.</p>
91
+ * @public
92
+ */
93
+ export declare class ConflictException extends __BaseException {
94
+ readonly name: "ConflictException";
95
+ readonly $fault: "client";
96
+ Message?: string | undefined;
97
+ Code?: string | undefined;
98
+ /**
99
+ * @internal
100
+ */
101
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
102
+ }
103
+ /**
104
+ * <p>
105
+ * The request has failed due to an internal failure of the service.
106
+ * </p>
107
+ * @public
108
+ */
109
+ export declare class InternalServerException extends __BaseException {
110
+ readonly name: "InternalServerException";
111
+ readonly $fault: "server";
112
+ Message?: string | undefined;
113
+ Code?: string | undefined;
114
+ /**
115
+ * @internal
116
+ */
117
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
118
+ }
119
+ /**
120
+ * <p>
121
+ * The limit on the number of requests per second was exceeded.
122
+ * </p>
123
+ * @public
124
+ */
125
+ export declare class ThrottlingException extends __BaseException {
126
+ readonly name: "ThrottlingException";
127
+ readonly $fault: "client";
128
+ Message?: string | undefined;
129
+ Code?: string | undefined;
130
+ /**
131
+ * @internal
132
+ */
133
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
134
+ }
135
+ /**
136
+ * <p>The request has failed validation because it's missing required fields or has invalid inputs.</p>
137
+ * @public
138
+ */
139
+ export declare class ValidationException extends __BaseException {
140
+ readonly name: "ValidationException";
141
+ readonly $fault: "client";
142
+ Message?: string | undefined;
143
+ Code?: string | undefined;
144
+ /**
145
+ * @internal
146
+ */
147
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
148
+ }
149
+ /**
150
+ * <p>The resource specified in the request conflicts with an existing resource.</p>
151
+ * @public
152
+ */
153
+ export declare class ResourceConflictException extends __BaseException {
154
+ readonly name: "ResourceConflictException";
155
+ readonly $fault: "client";
156
+ Message?: string | undefined;
157
+ Code?: string | undefined;
158
+ /**
159
+ * @internal
160
+ */
161
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
162
+ }
163
+ /**
164
+ * <p>
165
+ * The request was rejected because it conflicts with the resource's availability. For example, you tried
166
+ * to update a security control that's currently in the <code>UPDATING</code> state.
167
+ * </p>
168
+ * @public
169
+ */
170
+ export declare class ResourceInUseException extends __BaseException {
171
+ readonly name: "ResourceInUseException";
172
+ readonly $fault: "client";
173
+ Message?: string | undefined;
174
+ Code?: string | undefined;
175
+ /**
176
+ * @internal
177
+ */
178
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
179
+ }