@aws-sdk/client-inspector2 3.928.0 → 3.930.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 (102) hide show
  1. package/dist-cjs/index.js +4089 -4023
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/Inspector2Client.js +2 -0
  4. package/dist-es/commands/AssociateMemberCommand.js +3 -9
  5. package/dist-es/commands/BatchAssociateCodeSecurityScanConfigurationCommand.js +3 -9
  6. package/dist-es/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.js +3 -9
  7. package/dist-es/commands/BatchGetAccountStatusCommand.js +3 -9
  8. package/dist-es/commands/BatchGetCodeSnippetCommand.js +3 -9
  9. package/dist-es/commands/BatchGetFindingDetailsCommand.js +3 -9
  10. package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +3 -9
  11. package/dist-es/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +3 -9
  12. package/dist-es/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +3 -9
  13. package/dist-es/commands/CancelFindingsReportCommand.js +3 -9
  14. package/dist-es/commands/CancelSbomExportCommand.js +3 -9
  15. package/dist-es/commands/CreateCisScanConfigurationCommand.js +3 -9
  16. package/dist-es/commands/CreateCodeSecurityIntegrationCommand.js +3 -10
  17. package/dist-es/commands/CreateCodeSecurityScanConfigurationCommand.js +3 -9
  18. package/dist-es/commands/CreateFilterCommand.js +3 -9
  19. package/dist-es/commands/CreateFindingsReportCommand.js +3 -9
  20. package/dist-es/commands/CreateSbomExportCommand.js +3 -9
  21. package/dist-es/commands/DeleteCisScanConfigurationCommand.js +3 -9
  22. package/dist-es/commands/DeleteCodeSecurityIntegrationCommand.js +3 -9
  23. package/dist-es/commands/DeleteCodeSecurityScanConfigurationCommand.js +3 -9
  24. package/dist-es/commands/DeleteFilterCommand.js +3 -9
  25. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -9
  26. package/dist-es/commands/DisableCommand.js +3 -9
  27. package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +3 -9
  28. package/dist-es/commands/DisassociateMemberCommand.js +3 -9
  29. package/dist-es/commands/EnableCommand.js +3 -9
  30. package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +3 -9
  31. package/dist-es/commands/GetCisScanReportCommand.js +3 -9
  32. package/dist-es/commands/GetCisScanResultDetailsCommand.js +3 -9
  33. package/dist-es/commands/GetClustersForImageCommand.js +3 -9
  34. package/dist-es/commands/GetCodeSecurityIntegrationCommand.js +3 -10
  35. package/dist-es/commands/GetCodeSecurityScanCommand.js +3 -9
  36. package/dist-es/commands/GetCodeSecurityScanConfigurationCommand.js +3 -9
  37. package/dist-es/commands/GetConfigurationCommand.js +3 -9
  38. package/dist-es/commands/GetDelegatedAdminAccountCommand.js +3 -9
  39. package/dist-es/commands/GetEc2DeepInspectionConfigurationCommand.js +3 -9
  40. package/dist-es/commands/GetEncryptionKeyCommand.js +3 -9
  41. package/dist-es/commands/GetFindingsReportStatusCommand.js +3 -9
  42. package/dist-es/commands/GetMemberCommand.js +3 -9
  43. package/dist-es/commands/GetSbomExportCommand.js +3 -9
  44. package/dist-es/commands/ListAccountPermissionsCommand.js +3 -9
  45. package/dist-es/commands/ListCisScanConfigurationsCommand.js +3 -9
  46. package/dist-es/commands/ListCisScanResultsAggregatedByChecksCommand.js +3 -9
  47. package/dist-es/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +3 -9
  48. package/dist-es/commands/ListCisScansCommand.js +3 -9
  49. package/dist-es/commands/ListCodeSecurityIntegrationsCommand.js +3 -9
  50. package/dist-es/commands/ListCodeSecurityScanConfigurationAssociationsCommand.js +3 -9
  51. package/dist-es/commands/ListCodeSecurityScanConfigurationsCommand.js +3 -9
  52. package/dist-es/commands/ListCoverageCommand.js +3 -9
  53. package/dist-es/commands/ListCoverageStatisticsCommand.js +3 -9
  54. package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +3 -9
  55. package/dist-es/commands/ListFiltersCommand.js +3 -9
  56. package/dist-es/commands/ListFindingAggregationsCommand.js +3 -9
  57. package/dist-es/commands/ListFindingsCommand.js +3 -9
  58. package/dist-es/commands/ListMembersCommand.js +3 -9
  59. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  60. package/dist-es/commands/ListUsageTotalsCommand.js +3 -9
  61. package/dist-es/commands/ResetEncryptionKeyCommand.js +3 -9
  62. package/dist-es/commands/SearchVulnerabilitiesCommand.js +3 -9
  63. package/dist-es/commands/SendCisSessionHealthCommand.js +3 -9
  64. package/dist-es/commands/SendCisSessionTelemetryCommand.js +3 -9
  65. package/dist-es/commands/StartCisSessionCommand.js +3 -9
  66. package/dist-es/commands/StartCodeSecurityScanCommand.js +3 -9
  67. package/dist-es/commands/StopCisSessionCommand.js +3 -9
  68. package/dist-es/commands/TagResourceCommand.js +3 -9
  69. package/dist-es/commands/UntagResourceCommand.js +3 -9
  70. package/dist-es/commands/UpdateCisScanConfigurationCommand.js +3 -9
  71. package/dist-es/commands/UpdateCodeSecurityIntegrationCommand.js +3 -10
  72. package/dist-es/commands/UpdateCodeSecurityScanConfigurationCommand.js +3 -9
  73. package/dist-es/commands/UpdateConfigurationCommand.js +3 -9
  74. package/dist-es/commands/UpdateEc2DeepInspectionConfigurationCommand.js +3 -9
  75. package/dist-es/commands/UpdateEncryptionKeyCommand.js +3 -9
  76. package/dist-es/commands/UpdateFilterCommand.js +3 -9
  77. package/dist-es/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +3 -9
  78. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +3 -9
  79. package/dist-es/models/models_0.js +0 -120
  80. package/dist-es/models/models_1.js +0 -35
  81. package/dist-es/runtimeConfig.shared.js +2 -0
  82. package/dist-es/schemas/schemas_0.js +3848 -0
  83. package/dist-types/Inspector2Client.d.ts +10 -1
  84. package/dist-types/models/models_0.d.ts +24 -22
  85. package/dist-types/models/models_1.d.ts +4 -21
  86. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  87. package/dist-types/runtimeConfig.d.ts +1 -0
  88. package/dist-types/runtimeConfig.native.d.ts +1 -0
  89. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  90. package/dist-types/schemas/schemas_0.d.ts +550 -0
  91. package/dist-types/ts3.4/Inspector2Client.d.ts +4 -0
  92. package/dist-types/ts3.4/models/models_0.d.ts +0 -18
  93. package/dist-types/ts3.4/models/models_1.d.ts +0 -16
  94. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  95. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  96. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  97. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  98. package/dist-types/ts3.4/schemas/schemas_0.d.ts +557 -0
  99. package/package.json +33 -34
  100. package/dist-es/protocols/Aws_restJson1.js +0 -3204
  101. package/dist-types/protocols/Aws_restJson1.d.ts +0 -677
  102. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -905
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AssociateMemberCommandInput, AssociateMemberCommandOutput } from "./commands/AssociateMemberCommand";
11
11
  import { BatchAssociateCodeSecurityScanConfigurationCommandInput, BatchAssociateCodeSecurityScanConfigurationCommandOutput } from "./commands/BatchAssociateCodeSecurityScanConfigurationCommand";
@@ -216,6 +216,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
216
216
  * Optional extensions
217
217
  */
218
218
  extensions?: RuntimeExtension[];
219
+ /**
220
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
221
+ * may be overridden. A default will always be set by the client.
222
+ * Available options depend on the service's supported protocols and will not be validated by
223
+ * the client.
224
+ * @alpha
225
+ *
226
+ */
227
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
219
228
  /**
220
229
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
221
230
  */
@@ -1196,6 +1196,10 @@ export declare namespace AggregationRequest {
1196
1196
  codeRepositoryAggregation?: never;
1197
1197
  $unknown: [string, any];
1198
1198
  }
1199
+ /**
1200
+ * @deprecated unused in schema-serde mode.
1201
+ *
1202
+ */
1199
1203
  interface Visitor<T> {
1200
1204
  accountAggregation: (value: AccountAggregation) => T;
1201
1205
  amiAggregation: (value: AmiAggregation) => T;
@@ -1211,7 +1215,6 @@ export declare namespace AggregationRequest {
1211
1215
  codeRepositoryAggregation: (value: CodeRepositoryAggregation) => T;
1212
1216
  _: (name: string, value: any) => T;
1213
1217
  }
1214
- const visit: <T>(value: AggregationRequest, visitor: Visitor<T>) => T;
1215
1218
  }
1216
1219
  /**
1217
1220
  * <p>A response that contains the results of a finding aggregation by AMI.</p>
@@ -1848,6 +1851,10 @@ export declare namespace AggregationResponse {
1848
1851
  codeRepositoryAggregation?: never;
1849
1852
  $unknown: [string, any];
1850
1853
  }
1854
+ /**
1855
+ * @deprecated unused in schema-serde mode.
1856
+ *
1857
+ */
1851
1858
  interface Visitor<T> {
1852
1859
  accountAggregation: (value: AccountAggregationResponse) => T;
1853
1860
  amiAggregation: (value: AmiAggregationResponse) => T;
@@ -1863,7 +1870,6 @@ export declare namespace AggregationResponse {
1863
1870
  codeRepositoryAggregation: (value: CodeRepositoryAggregationResponse) => T;
1864
1871
  _: (name: string, value: any) => T;
1865
1872
  }
1866
- const visit: <T>(value: AggregationResponse, visitor: Visitor<T>) => T;
1867
1873
  }
1868
1874
  /**
1869
1875
  * @public
@@ -1923,11 +1929,14 @@ export declare namespace CodeSecurityResource {
1923
1929
  projectId?: never;
1924
1930
  $unknown: [string, any];
1925
1931
  }
1932
+ /**
1933
+ * @deprecated unused in schema-serde mode.
1934
+ *
1935
+ */
1926
1936
  interface Visitor<T> {
1927
1937
  projectId: (value: string) => T;
1928
1938
  _: (name: string, value: any) => T;
1929
1939
  }
1930
- const visit: <T>(value: CodeSecurityResource, visitor: Visitor<T>) => T;
1931
1940
  }
1932
1941
  /**
1933
1942
  * <p>Contains details about a request to associate a code repository with a scan
@@ -3745,6 +3754,10 @@ export declare namespace Schedule {
3745
3754
  monthly?: never;
3746
3755
  $unknown: [string, any];
3747
3756
  }
3757
+ /**
3758
+ * @deprecated unused in schema-serde mode.
3759
+ *
3760
+ */
3748
3761
  interface Visitor<T> {
3749
3762
  oneTime: (value: OneTimeSchedule) => T;
3750
3763
  daily: (value: DailySchedule) => T;
@@ -3752,7 +3765,6 @@ export declare namespace Schedule {
3752
3765
  monthly: (value: MonthlySchedule) => T;
3753
3766
  _: (name: string, value: any) => T;
3754
3767
  }
3755
- const visit: <T>(value: Schedule, visitor: Visitor<T>) => T;
3756
3768
  }
3757
3769
  /**
3758
3770
  * <p>The CIS scan configuration.</p>
@@ -4305,12 +4317,15 @@ export declare namespace ClusterMetadata {
4305
4317
  awsEksMetadataDetails?: never;
4306
4318
  $unknown: [string, any];
4307
4319
  }
4320
+ /**
4321
+ * @deprecated unused in schema-serde mode.
4322
+ *
4323
+ */
4308
4324
  interface Visitor<T> {
4309
4325
  awsEcsMetadataDetails: (value: AwsEcsMetadataDetails) => T;
4310
4326
  awsEksMetadataDetails: (value: AwsEksMetadataDetails) => T;
4311
4327
  _: (name: string, value: any) => T;
4312
4328
  }
4313
- const visit: <T>(value: ClusterMetadata, visitor: Visitor<T>) => T;
4314
4329
  }
4315
4330
  /**
4316
4331
  * <p>Details about the task or pod in the cluster.</p>
@@ -5651,11 +5666,14 @@ export declare namespace CreateIntegrationDetail {
5651
5666
  gitlabSelfManaged?: never;
5652
5667
  $unknown: [string, any];
5653
5668
  }
5669
+ /**
5670
+ * @deprecated unused in schema-serde mode.
5671
+ *
5672
+ */
5654
5673
  interface Visitor<T> {
5655
5674
  gitlabSelfManaged: (value: CreateGitLabSelfManagedIntegrationDetail) => T;
5656
5675
  _: (name: string, value: any) => T;
5657
5676
  }
5658
- const visit: <T>(value: CreateIntegrationDetail, visitor: Visitor<T>) => T;
5659
5677
  }
5660
5678
  /**
5661
5679
  * @public
@@ -6974,19 +6992,3 @@ export interface EnableDelegatedAdminAccountResponse {
6974
6992
  */
6975
6993
  delegatedAdminAccountId: string | undefined;
6976
6994
  }
6977
- /**
6978
- * @internal
6979
- */
6980
- export declare const CreateGitLabSelfManagedIntegrationDetailFilterSensitiveLog: (obj: CreateGitLabSelfManagedIntegrationDetail) => any;
6981
- /**
6982
- * @internal
6983
- */
6984
- export declare const CreateIntegrationDetailFilterSensitiveLog: (obj: CreateIntegrationDetail) => any;
6985
- /**
6986
- * @internal
6987
- */
6988
- export declare const CreateCodeSecurityIntegrationRequestFilterSensitiveLog: (obj: CreateCodeSecurityIntegrationRequest) => any;
6989
- /**
6990
- * @internal
6991
- */
6992
- export declare const CreateCodeSecurityIntegrationResponseFilterSensitiveLog: (obj: CreateCodeSecurityIntegrationResponse) => any;
@@ -2793,12 +2793,15 @@ export declare namespace UpdateIntegrationDetails {
2793
2793
  github?: never;
2794
2794
  $unknown: [string, any];
2795
2795
  }
2796
+ /**
2797
+ * @deprecated unused in schema-serde mode.
2798
+ *
2799
+ */
2796
2800
  interface Visitor<T> {
2797
2801
  gitlabSelfManaged: (value: UpdateGitLabSelfManagedIntegrationDetail) => T;
2798
2802
  github: (value: UpdateGitHubIntegrationDetail) => T;
2799
2803
  _: (name: string, value: any) => T;
2800
2804
  }
2801
- const visit: <T>(value: UpdateIntegrationDetails, visitor: Visitor<T>) => T;
2802
2805
  }
2803
2806
  /**
2804
2807
  * @public
@@ -3026,23 +3029,3 @@ export interface UpdateOrgEc2DeepInspectionConfigurationRequest {
3026
3029
  */
3027
3030
  export interface UpdateOrgEc2DeepInspectionConfigurationResponse {
3028
3031
  }
3029
- /**
3030
- * @internal
3031
- */
3032
- export declare const GetCodeSecurityIntegrationResponseFilterSensitiveLog: (obj: GetCodeSecurityIntegrationResponse) => any;
3033
- /**
3034
- * @internal
3035
- */
3036
- export declare const UpdateGitHubIntegrationDetailFilterSensitiveLog: (obj: UpdateGitHubIntegrationDetail) => any;
3037
- /**
3038
- * @internal
3039
- */
3040
- export declare const UpdateGitLabSelfManagedIntegrationDetailFilterSensitiveLog: (obj: UpdateGitLabSelfManagedIntegrationDetail) => any;
3041
- /**
3042
- * @internal
3043
- */
3044
- export declare const UpdateIntegrationDetailsFilterSensitiveLog: (obj: UpdateIntegrationDetails) => any;
3045
- /**
3046
- * @internal
3047
- */
3048
- export declare const UpdateCodeSecurityIntegrationRequestFilterSensitiveLog: (obj: UpdateCodeSecurityIntegrationRequest) => any;
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: Inspector2ClientConfig) => {
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: Inspector2ClientConfig) => {
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: Inspector2ClientConfig) => {
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: Inspector2ClientConfig) => {
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").Inspector2HttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;