@aws-sdk/client-codeguru-security 3.948.0 → 3.953.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.
- package/dist-cjs/index.js +228 -156
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/BatchGetFindingsCommand.js +2 -2
- package/dist-es/commands/CreateScanCommand.js +2 -2
- package/dist-es/commands/CreateUploadUrlCommand.js +2 -2
- package/dist-es/commands/GetAccountConfigurationCommand.js +2 -2
- package/dist-es/commands/GetFindingsCommand.js +2 -2
- package/dist-es/commands/GetMetricsSummaryCommand.js +2 -2
- package/dist-es/commands/GetScanCommand.js +2 -2
- package/dist-es/commands/ListFindingsMetricsCommand.js +2 -2
- package/dist-es/commands/ListScansCommand.js +2 -2
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateAccountConfigurationCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +138 -131
- package/dist-types/CodeGuruSecurityClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +66 -84
- package/dist-types/ts3.4/CodeGuruSecurityClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +65 -86
- package/package.json +34 -34
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.codegurusecurity",
|
|
32
|
+
version: "2018-05-10",
|
|
33
|
+
serviceTarget: "AwsCodeGuruSecurity",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "CodeGuru Security",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { BatchGetFindings } from "../schemas/schemas_0";
|
|
4
|
+
import { BatchGetFindings$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class BatchGetFindingsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class BatchGetFindingsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "BatchGetFindings", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "BatchGetFindingsCommand")
|
|
14
|
-
.sc(BatchGetFindings)
|
|
14
|
+
.sc(BatchGetFindings$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateScan } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateScan$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateScanCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateScanCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "CreateScan", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "CreateScanCommand")
|
|
14
|
-
.sc(CreateScan)
|
|
14
|
+
.sc(CreateScan$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { CreateUploadUrl } from "../schemas/schemas_0";
|
|
4
|
+
import { CreateUploadUrl$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class CreateUploadUrlCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class CreateUploadUrlCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "CreateUploadUrl", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "CreateUploadUrlCommand")
|
|
14
|
-
.sc(CreateUploadUrl)
|
|
14
|
+
.sc(CreateUploadUrl$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetAccountConfiguration } from "../schemas/schemas_0";
|
|
4
|
+
import { GetAccountConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetAccountConfigurationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetAccountConfigurationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "GetAccountConfiguration", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "GetAccountConfigurationCommand")
|
|
14
|
-
.sc(GetAccountConfiguration)
|
|
14
|
+
.sc(GetAccountConfiguration$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetFindings } from "../schemas/schemas_0";
|
|
4
|
+
import { GetFindings$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetFindingsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetFindingsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "GetFindings", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "GetFindingsCommand")
|
|
14
|
-
.sc(GetFindings)
|
|
14
|
+
.sc(GetFindings$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetMetricsSummary } from "../schemas/schemas_0";
|
|
4
|
+
import { GetMetricsSummary$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetMetricsSummaryCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetMetricsSummaryCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "GetMetricsSummary", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "GetMetricsSummaryCommand")
|
|
14
|
-
.sc(GetMetricsSummary)
|
|
14
|
+
.sc(GetMetricsSummary$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetScan } from "../schemas/schemas_0";
|
|
4
|
+
import { GetScan$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetScanCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetScanCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "GetScan", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "GetScanCommand")
|
|
14
|
-
.sc(GetScan)
|
|
14
|
+
.sc(GetScan$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListFindingsMetrics } from "../schemas/schemas_0";
|
|
4
|
+
import { ListFindingsMetrics$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListFindingsMetricsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListFindingsMetricsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "ListFindingsMetrics", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "ListFindingsMetricsCommand")
|
|
14
|
-
.sc(ListFindingsMetrics)
|
|
14
|
+
.sc(ListFindingsMetrics$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListScans } from "../schemas/schemas_0";
|
|
4
|
+
import { ListScans$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListScansCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListScansCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "ListScans", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "ListScansCommand")
|
|
14
|
-
.sc(ListScans)
|
|
14
|
+
.sc(ListScans$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { ListTagsForResource } from "../schemas/schemas_0";
|
|
4
|
+
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "ListTagsForResource", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource)
|
|
14
|
+
.sc(ListTagsForResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { TagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class TagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "TagResource", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource)
|
|
14
|
+
.sc(TagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UntagResource } from "../schemas/schemas_0";
|
|
4
|
+
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UntagResourceCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "UntagResource", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource)
|
|
14
|
+
.sc(UntagResource$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateAccountConfiguration } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateAccountConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateAccountConfigurationCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateAccountConfigurationCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("AwsCodeGuruSecurity", "UpdateAccountConfiguration", {})
|
|
13
13
|
.n("CodeGuruSecurityClient", "UpdateAccountConfigurationCommand")
|
|
14
|
-
.sc(UpdateAccountConfiguration)
|
|
14
|
+
.sc(UpdateAccountConfiguration$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.codegurusecurity",
|
|
29
|
+
version: "2018-05-10",
|
|
30
|
+
serviceTarget: "AwsCodeGuruSecurity",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "CodeGuru Security",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|