@aws-sdk/client-trustedadvisor 3.477.0 → 3.481.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/commands/GetOrganizationRecommendationCommand.js +18 -41
- package/dist-cjs/commands/GetRecommendationCommand.js +18 -41
- package/dist-cjs/commands/ListChecksCommand.js +18 -41
- package/dist-cjs/commands/ListOrganizationRecommendationAccountsCommand.js +18 -41
- package/dist-cjs/commands/ListOrganizationRecommendationResourcesCommand.js +18 -41
- package/dist-cjs/commands/ListOrganizationRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/ListRecommendationResourcesCommand.js +18 -41
- package/dist-cjs/commands/ListRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/UpdateOrganizationRecommendationLifecycleCommand.js +18 -41
- package/dist-cjs/commands/UpdateRecommendationLifecycleCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListChecksPaginator.js +2 -24
- package/dist-cjs/pagination/ListOrganizationRecommendationAccountsPaginator.js +2 -24
- package/dist-cjs/pagination/ListOrganizationRecommendationResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListOrganizationRecommendationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecommendationResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRecommendationsPaginator.js +2 -24
- package/dist-es/commands/GetOrganizationRecommendationCommand.js +18 -41
- package/dist-es/commands/GetRecommendationCommand.js +18 -41
- package/dist-es/commands/ListChecksCommand.js +18 -41
- package/dist-es/commands/ListOrganizationRecommendationAccountsCommand.js +18 -41
- package/dist-es/commands/ListOrganizationRecommendationResourcesCommand.js +18 -41
- package/dist-es/commands/ListOrganizationRecommendationsCommand.js +18 -41
- package/dist-es/commands/ListRecommendationResourcesCommand.js +18 -41
- package/dist-es/commands/ListRecommendationsCommand.js +18 -41
- package/dist-es/commands/UpdateOrganizationRecommendationLifecycleCommand.js +18 -41
- package/dist-es/commands/UpdateRecommendationLifecycleCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListChecksPaginator.js +2 -23
- package/dist-es/pagination/ListOrganizationRecommendationAccountsPaginator.js +2 -23
- package/dist-es/pagination/ListOrganizationRecommendationResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListOrganizationRecommendationsPaginator.js +2 -23
- package/dist-es/pagination/ListRecommendationResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListRecommendationsPaginator.js +2 -23
- package/dist-types/commands/GetOrganizationRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/GetRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/ListChecksCommand.d.ts +6 -21
- package/dist-types/commands/ListOrganizationRecommendationAccountsCommand.d.ts +6 -21
- package/dist-types/commands/ListOrganizationRecommendationResourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListOrganizationRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/ListRecommendationResourcesCommand.d.ts +6 -21
- package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +6 -21
- package/dist-types/commands/UpdateRecommendationLifecycleCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListChecksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationRecommendationAccountsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationRecommendationResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListOrganizationRecommendationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendationResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRecommendationsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOrganizationRecommendationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListChecksCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListOrganizationRecommendationAccountsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListOrganizationRecommendationResourcesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListOrganizationRecommendationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRecommendationResourcesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateOrganizationRecommendationLifecycleCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateRecommendationLifecycleCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListChecksPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOrganizationRecommendationAccountsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOrganizationRecommendationResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListOrganizationRecommendationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecommendationResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRecommendationsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListOrganizationRecommendationsCommand, se_ListOrganizationRecommendationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListOrganizationRecommendationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TrustedAdvisorClient";
|
|
26
|
-
const commandName = "ListOrganizationRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TrustedAdvisor",
|
|
35
|
-
operation: "ListOrganizationRecommendations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListOrganizationRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListOrganizationRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListOrganizationRecommendationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TrustedAdvisor", "ListOrganizationRecommendations", {})
|
|
19
|
+
.n("TrustedAdvisorClient", "ListOrganizationRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListOrganizationRecommendationsCommand)
|
|
22
|
+
.de(de_ListOrganizationRecommendationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListRecommendationResourcesCommand, se_ListRecommendationResourcesCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListRecommendationResourcesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TrustedAdvisorClient";
|
|
26
|
-
const commandName = "ListRecommendationResourcesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TrustedAdvisor",
|
|
35
|
-
operation: "ListRecommendationResources",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListRecommendationResourcesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListRecommendationResourcesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListRecommendationResourcesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TrustedAdvisor", "ListRecommendationResources", {})
|
|
19
|
+
.n("TrustedAdvisorClient", "ListRecommendationResourcesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListRecommendationResourcesCommand)
|
|
22
|
+
.de(de_ListRecommendationResourcesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListRecommendationsCommand, se_ListRecommendationsCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListRecommendationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "TrustedAdvisorClient";
|
|
26
|
-
const commandName = "ListRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "TrustedAdvisor",
|
|
35
|
-
operation: "ListRecommendations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListRecommendationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("TrustedAdvisor", "ListRecommendations", {})
|
|
19
|
+
.n("TrustedAdvisorClient", "ListRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListRecommendationsCommand)
|
|
22
|
+
.de(de_ListRecommendationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { UpdateOrganizationRecommendationLifecycleRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateOrganizationRecommendationLifecycleCommand, se_UpdateOrganizationRecommendationLifecycleCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateOrganizationRecommendationLifecycleCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "TrustedAdvisorClient";
|
|
27
|
-
const commandName = "UpdateOrganizationRecommendationLifecycleCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateOrganizationRecommendationLifecycleRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "TrustedAdvisor",
|
|
36
|
-
operation: "UpdateOrganizationRecommendationLifecycle",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateOrganizationRecommendationLifecycleCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateOrganizationRecommendationLifecycleCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateOrganizationRecommendationLifecycleCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("TrustedAdvisor", "UpdateOrganizationRecommendationLifecycle", {})
|
|
20
|
+
.n("TrustedAdvisorClient", "UpdateOrganizationRecommendationLifecycleCommand")
|
|
21
|
+
.f(UpdateOrganizationRecommendationLifecycleRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UpdateOrganizationRecommendationLifecycleCommand)
|
|
23
|
+
.de(de_UpdateOrganizationRecommendationLifecycleCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -1,48 +1,25 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { UpdateRecommendationLifecycleRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { de_UpdateRecommendationLifecycleCommand, se_UpdateRecommendationLifecycleCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
export { $Command };
|
|
8
|
-
export class UpdateRecommendationLifecycleCommand extends $Command
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
const { logger } = configuration;
|
|
26
|
-
const clientName = "TrustedAdvisorClient";
|
|
27
|
-
const commandName = "UpdateRecommendationLifecycleCommand";
|
|
28
|
-
const handlerExecutionContext = {
|
|
29
|
-
logger,
|
|
30
|
-
clientName,
|
|
31
|
-
commandName,
|
|
32
|
-
inputFilterSensitiveLog: UpdateRecommendationLifecycleRequestFilterSensitiveLog,
|
|
33
|
-
outputFilterSensitiveLog: (_) => _,
|
|
34
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
35
|
-
service: "TrustedAdvisor",
|
|
36
|
-
operation: "UpdateRecommendationLifecycle",
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const { requestHandler } = configuration;
|
|
40
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
41
|
-
}
|
|
42
|
-
serialize(input, context) {
|
|
43
|
-
return se_UpdateRecommendationLifecycleCommand(input, context);
|
|
44
|
-
}
|
|
45
|
-
deserialize(output, context) {
|
|
46
|
-
return de_UpdateRecommendationLifecycleCommand(output, context);
|
|
47
|
-
}
|
|
8
|
+
export class UpdateRecommendationLifecycleCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep({
|
|
11
|
+
...commonParams,
|
|
12
|
+
})
|
|
13
|
+
.m(function (Command, cs, config, o) {
|
|
14
|
+
return [
|
|
15
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
16
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
17
|
+
];
|
|
18
|
+
})
|
|
19
|
+
.s("TrustedAdvisor", "UpdateRecommendationLifecycle", {})
|
|
20
|
+
.n("TrustedAdvisorClient", "UpdateRecommendationLifecycleCommand")
|
|
21
|
+
.f(UpdateRecommendationLifecycleRequestFilterSensitiveLog, void 0)
|
|
22
|
+
.ser(se_UpdateRecommendationLifecycleCommand)
|
|
23
|
+
.de(de_UpdateRecommendationLifecycleCommand)
|
|
24
|
+
.build() {
|
|
48
25
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "trustedadvisor",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListChecksCommand } from "../commands/ListChecksCommand";
|
|
2
3
|
import { TrustedAdvisorClient } from "../TrustedAdvisorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListChecksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListChecks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TrustedAdvisorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected TrustedAdvisor | TrustedAdvisorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListChecks = createPaginator(TrustedAdvisorClient, ListChecksCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListOrganizationRecommendationAccountsCommand, } from "../commands/ListOrganizationRecommendationAccountsCommand";
|
|
2
3
|
import { TrustedAdvisorClient } from "../TrustedAdvisorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListOrganizationRecommendationAccountsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListOrganizationRecommendationAccounts(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TrustedAdvisorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected TrustedAdvisor | TrustedAdvisorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListOrganizationRecommendationAccounts = createPaginator(TrustedAdvisorClient, ListOrganizationRecommendationAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListOrganizationRecommendationResourcesCommand, } from "../commands/ListOrganizationRecommendationResourcesCommand";
|
|
2
3
|
import { TrustedAdvisorClient } from "../TrustedAdvisorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListOrganizationRecommendationResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListOrganizationRecommendationResources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TrustedAdvisorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected TrustedAdvisor | TrustedAdvisorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListOrganizationRecommendationResources = createPaginator(TrustedAdvisorClient, ListOrganizationRecommendationResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListOrganizationRecommendationsCommand, } from "../commands/ListOrganizationRecommendationsCommand";
|
|
2
3
|
import { TrustedAdvisorClient } from "../TrustedAdvisorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListOrganizationRecommendationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListOrganizationRecommendations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TrustedAdvisorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected TrustedAdvisor | TrustedAdvisorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListOrganizationRecommendations = createPaginator(TrustedAdvisorClient, ListOrganizationRecommendationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRecommendationResourcesCommand, } from "../commands/ListRecommendationResourcesCommand";
|
|
2
3
|
import { TrustedAdvisorClient } from "../TrustedAdvisorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRecommendationResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRecommendationResources(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TrustedAdvisorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected TrustedAdvisor | TrustedAdvisorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRecommendationResources = createPaginator(TrustedAdvisorClient, ListRecommendationResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRecommendationsCommand, } from "../commands/ListRecommendationsCommand";
|
|
2
3
|
import { TrustedAdvisorClient } from "../TrustedAdvisorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRecommendationsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRecommendations(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof TrustedAdvisorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected TrustedAdvisor | TrustedAdvisorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListRecommendations = createPaginator(TrustedAdvisorClient, ListRecommendationsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { GetOrganizationRecommendationRequest, GetOrganizationRecommendationResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetOrganizationRecommendationCommandInput extends GetOrganizati
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetOrganizationRecommendationCommandOutput extends GetOrganizationRecommendationResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetOrganizationRecommendationCommand_base: {
|
|
24
|
+
new (input: GetOrganizationRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<GetOrganizationRecommendationCommandInput, GetOrganizationRecommendationCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Get a specific recommendation within an AWS Organizations organization. This API supports only prioritized
|
|
@@ -103,23 +106,5 @@ export interface GetOrganizationRecommendationCommandOutput extends GetOrganizat
|
|
|
103
106
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
104
107
|
*
|
|
105
108
|
*/
|
|
106
|
-
export declare class GetOrganizationRecommendationCommand extends
|
|
107
|
-
readonly input: GetOrganizationRecommendationCommandInput;
|
|
108
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
109
|
-
/**
|
|
110
|
-
* @public
|
|
111
|
-
*/
|
|
112
|
-
constructor(input: GetOrganizationRecommendationCommandInput);
|
|
113
|
-
/**
|
|
114
|
-
* @internal
|
|
115
|
-
*/
|
|
116
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TrustedAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetOrganizationRecommendationCommandInput, GetOrganizationRecommendationCommandOutput>;
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
private serialize;
|
|
121
|
-
/**
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
124
|
-
private deserialize;
|
|
109
|
+
export declare class GetOrganizationRecommendationCommand extends GetOrganizationRecommendationCommand_base {
|
|
125
110
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { GetRecommendationRequest, GetRecommendationResponse } from "../models/models_0";
|
|
5
4
|
import { ServiceInputTypes, ServiceOutputTypes, TrustedAdvisorClientResolvedConfig } from "../TrustedAdvisorClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetRecommendationCommandInput extends GetRecommendationRequest
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetRecommendationCommandOutput extends GetRecommendationResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetRecommendationCommand_base: {
|
|
24
|
+
new (input: GetRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, TrustedAdvisorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Get a specific Recommendation</p>
|
|
@@ -101,23 +104,5 @@ export interface GetRecommendationCommandOutput extends GetRecommendationRespons
|
|
|
101
104
|
* <p>Base exception class for all service exceptions from TrustedAdvisor service.</p>
|
|
102
105
|
*
|
|
103
106
|
*/
|
|
104
|
-
export declare class GetRecommendationCommand extends
|
|
105
|
-
readonly input: GetRecommendationCommandInput;
|
|
106
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
107
|
-
/**
|
|
108
|
-
* @public
|
|
109
|
-
*/
|
|
110
|
-
constructor(input: GetRecommendationCommandInput);
|
|
111
|
-
/**
|
|
112
|
-
* @internal
|
|
113
|
-
*/
|
|
114
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TrustedAdvisorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRecommendationCommandInput, GetRecommendationCommandOutput>;
|
|
115
|
-
/**
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
118
|
-
private serialize;
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
private deserialize;
|
|
107
|
+
export declare class GetRecommendationCommand extends GetRecommendationCommand_base {
|
|
123
108
|
}
|