@aws-sdk/client-greengrassv2 3.35.0 → 3.36.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/CHANGELOG.md +13 -0
- package/dist-cjs/GreengrassV2.js +0 -1
- package/dist-cjs/GreengrassV2Client.js +0 -1
- package/dist-cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +0 -1
- package/dist-cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +0 -1
- package/dist-cjs/commands/CancelDeploymentCommand.js +0 -1
- package/dist-cjs/commands/CreateComponentVersionCommand.js +0 -1
- package/dist-cjs/commands/CreateDeploymentCommand.js +0 -1
- package/dist-cjs/commands/DeleteComponentCommand.js +0 -1
- package/dist-cjs/commands/DeleteCoreDeviceCommand.js +0 -1
- package/dist-cjs/commands/DescribeComponentCommand.js +0 -1
- package/dist-cjs/commands/GetComponentCommand.js +0 -1
- package/dist-cjs/commands/GetComponentVersionArtifactCommand.js +0 -1
- package/dist-cjs/commands/GetCoreDeviceCommand.js +0 -1
- package/dist-cjs/commands/GetDeploymentCommand.js +0 -1
- package/dist-cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +0 -1
- package/dist-cjs/commands/ListComponentVersionsCommand.js +0 -1
- package/dist-cjs/commands/ListComponentsCommand.js +0 -1
- package/dist-cjs/commands/ListCoreDevicesCommand.js +0 -1
- package/dist-cjs/commands/ListDeploymentsCommand.js +0 -1
- package/dist-cjs/commands/ListEffectiveDeploymentsCommand.js +0 -1
- package/dist-cjs/commands/ListInstalledComponentsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-cjs/commands/ResolveComponentCandidatesCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +0 -1
- package/dist-cjs/pagination/ListComponentVersionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListComponentsPaginator.js +0 -1
- package/dist-cjs/pagination/ListCoreDevicesPaginator.js +0 -1
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +0 -1
- package/dist-cjs/pagination/ListEffectiveDeploymentsPaginator.js +0 -1
- package/dist-cjs/pagination/ListInstalledComponentsPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-es/GreengrassV2.js +0 -1
- package/dist-es/GreengrassV2Client.js +0 -1
- package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +0 -1
- package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +0 -1
- package/dist-es/commands/CancelDeploymentCommand.js +0 -1
- package/dist-es/commands/CreateComponentVersionCommand.js +0 -1
- package/dist-es/commands/CreateDeploymentCommand.js +0 -1
- package/dist-es/commands/DeleteComponentCommand.js +0 -1
- package/dist-es/commands/DeleteCoreDeviceCommand.js +0 -1
- package/dist-es/commands/DescribeComponentCommand.js +0 -1
- package/dist-es/commands/GetComponentCommand.js +0 -1
- package/dist-es/commands/GetComponentVersionArtifactCommand.js +0 -1
- package/dist-es/commands/GetCoreDeviceCommand.js +0 -1
- package/dist-es/commands/GetDeploymentCommand.js +0 -1
- package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +0 -1
- package/dist-es/commands/ListComponentVersionsCommand.js +0 -1
- package/dist-es/commands/ListComponentsCommand.js +0 -1
- package/dist-es/commands/ListCoreDevicesCommand.js +0 -1
- package/dist-es/commands/ListDeploymentsCommand.js +0 -1
- package/dist-es/commands/ListEffectiveDeploymentsCommand.js +0 -1
- package/dist-es/commands/ListInstalledComponentsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ResolveComponentCandidatesCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +0 -1
- package/dist-es/pagination/ListComponentVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListComponentsPaginator.js +0 -1
- package/dist-es/pagination/ListCoreDevicesPaginator.js +0 -1
- package/dist-es/pagination/ListDeploymentsPaginator.js +0 -1
- package/dist-es/pagination/ListEffectiveDeploymentsPaginator.js +0 -1
- package/dist-es/pagination/ListInstalledComponentsPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/package.json +33 -30
- package/dist-cjs/GreengrassV2.js.map +0 -1
- package/dist-cjs/GreengrassV2Client.js.map +0 -1
- package/dist-cjs/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/CancelDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/CreateComponentVersionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteComponentCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCoreDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeComponentCommand.js.map +0 -1
- package/dist-cjs/commands/GetComponentCommand.js.map +0 -1
- package/dist-cjs/commands/GetComponentVersionArtifactCommand.js.map +0 -1
- package/dist-cjs/commands/GetCoreDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/GetDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js.map +0 -1
- package/dist-cjs/commands/ListComponentVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListComponentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListCoreDevicesCommand.js.map +0 -1
- package/dist-cjs/commands/ListDeploymentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListEffectiveDeploymentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListInstalledComponentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ResolveComponentCandidatesCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js.map +0 -1
- package/dist-cjs/pagination/ListComponentVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListComponentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListCoreDevicesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDeploymentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListEffectiveDeploymentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListInstalledComponentsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/GreengrassV2.js.map +0 -1
- package/dist-es/GreengrassV2Client.js.map +0 -1
- package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js.map +0 -1
- package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js.map +0 -1
- package/dist-es/commands/CancelDeploymentCommand.js.map +0 -1
- package/dist-es/commands/CreateComponentVersionCommand.js.map +0 -1
- package/dist-es/commands/CreateDeploymentCommand.js.map +0 -1
- package/dist-es/commands/DeleteComponentCommand.js.map +0 -1
- package/dist-es/commands/DeleteCoreDeviceCommand.js.map +0 -1
- package/dist-es/commands/DescribeComponentCommand.js.map +0 -1
- package/dist-es/commands/GetComponentCommand.js.map +0 -1
- package/dist-es/commands/GetComponentVersionArtifactCommand.js.map +0 -1
- package/dist-es/commands/GetCoreDeviceCommand.js.map +0 -1
- package/dist-es/commands/GetDeploymentCommand.js.map +0 -1
- package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js.map +0 -1
- package/dist-es/commands/ListComponentVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListComponentsCommand.js.map +0 -1
- package/dist-es/commands/ListCoreDevicesCommand.js.map +0 -1
- package/dist-es/commands/ListDeploymentsCommand.js.map +0 -1
- package/dist-es/commands/ListEffectiveDeploymentsCommand.js.map +0 -1
- package/dist-es/commands/ListInstalledComponentsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ResolveComponentCandidatesCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js.map +0 -1
- package/dist-es/pagination/ListComponentVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListComponentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListCoreDevicesPaginator.js.map +0 -1
- package/dist-es/pagination/ListDeploymentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListEffectiveDeploymentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListInstalledComponentsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/GreengrassV2.ts +0 -970
- package/src/GreengrassV2Client.ts +0 -345
- package/src/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.ts +0 -122
- package/src/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.ts +0 -112
- package/src/commands/CancelDeploymentCommand.ts +0 -97
- package/src/commands/CreateComponentVersionCommand.ts +0 -148
- package/src/commands/CreateDeploymentCommand.ts +0 -105
- package/src/commands/DeleteComponentCommand.ts +0 -101
- package/src/commands/DeleteCoreDeviceCommand.ts +0 -98
- package/src/commands/DescribeComponentCommand.ts +0 -95
- package/src/commands/GetComponentCommand.ts +0 -96
- package/src/commands/GetComponentVersionArtifactCommand.ts +0 -101
- package/src/commands/GetCoreDeviceCommand.ts +0 -95
- package/src/commands/GetDeploymentCommand.ts +0 -95
- package/src/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.ts +0 -111
- package/src/commands/ListComponentVersionsCommand.ts +0 -95
- package/src/commands/ListComponentsCommand.ts +0 -96
- package/src/commands/ListCoreDevicesCommand.ts +0 -95
- package/src/commands/ListDeploymentsCommand.ts +0 -95
- package/src/commands/ListEffectiveDeploymentsCommand.ts +0 -96
- package/src/commands/ListInstalledComponentsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ResolveComponentCandidatesCommand.ts +0 -112
- package/src/commands/TagResourceCommand.ts +0 -96
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/endpoints.ts +0 -84
- package/src/index.ts +0 -34
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2867
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.ts +0 -59
- package/src/pagination/ListComponentVersionsPaginator.ts +0 -59
- package/src/pagination/ListComponentsPaginator.ts +0 -59
- package/src/pagination/ListCoreDevicesPaginator.ts +0 -59
- package/src/pagination/ListDeploymentsPaginator.ts +0 -59
- package/src/pagination/ListEffectiveDeploymentsPaginator.ts +0 -59
- package/src/pagination/ListInstalledComponentsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -4401
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,345 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import {
|
|
53
|
-
BatchAssociateClientDeviceWithCoreDeviceCommandInput,
|
|
54
|
-
BatchAssociateClientDeviceWithCoreDeviceCommandOutput,
|
|
55
|
-
} from "./commands/BatchAssociateClientDeviceWithCoreDeviceCommand";
|
|
56
|
-
import {
|
|
57
|
-
BatchDisassociateClientDeviceFromCoreDeviceCommandInput,
|
|
58
|
-
BatchDisassociateClientDeviceFromCoreDeviceCommandOutput,
|
|
59
|
-
} from "./commands/BatchDisassociateClientDeviceFromCoreDeviceCommand";
|
|
60
|
-
import { CancelDeploymentCommandInput, CancelDeploymentCommandOutput } from "./commands/CancelDeploymentCommand";
|
|
61
|
-
import {
|
|
62
|
-
CreateComponentVersionCommandInput,
|
|
63
|
-
CreateComponentVersionCommandOutput,
|
|
64
|
-
} from "./commands/CreateComponentVersionCommand";
|
|
65
|
-
import { CreateDeploymentCommandInput, CreateDeploymentCommandOutput } from "./commands/CreateDeploymentCommand";
|
|
66
|
-
import { DeleteComponentCommandInput, DeleteComponentCommandOutput } from "./commands/DeleteComponentCommand";
|
|
67
|
-
import { DeleteCoreDeviceCommandInput, DeleteCoreDeviceCommandOutput } from "./commands/DeleteCoreDeviceCommand";
|
|
68
|
-
import { DescribeComponentCommandInput, DescribeComponentCommandOutput } from "./commands/DescribeComponentCommand";
|
|
69
|
-
import { GetComponentCommandInput, GetComponentCommandOutput } from "./commands/GetComponentCommand";
|
|
70
|
-
import {
|
|
71
|
-
GetComponentVersionArtifactCommandInput,
|
|
72
|
-
GetComponentVersionArtifactCommandOutput,
|
|
73
|
-
} from "./commands/GetComponentVersionArtifactCommand";
|
|
74
|
-
import { GetCoreDeviceCommandInput, GetCoreDeviceCommandOutput } from "./commands/GetCoreDeviceCommand";
|
|
75
|
-
import { GetDeploymentCommandInput, GetDeploymentCommandOutput } from "./commands/GetDeploymentCommand";
|
|
76
|
-
import {
|
|
77
|
-
ListClientDevicesAssociatedWithCoreDeviceCommandInput,
|
|
78
|
-
ListClientDevicesAssociatedWithCoreDeviceCommandOutput,
|
|
79
|
-
} from "./commands/ListClientDevicesAssociatedWithCoreDeviceCommand";
|
|
80
|
-
import { ListComponentsCommandInput, ListComponentsCommandOutput } from "./commands/ListComponentsCommand";
|
|
81
|
-
import {
|
|
82
|
-
ListComponentVersionsCommandInput,
|
|
83
|
-
ListComponentVersionsCommandOutput,
|
|
84
|
-
} from "./commands/ListComponentVersionsCommand";
|
|
85
|
-
import { ListCoreDevicesCommandInput, ListCoreDevicesCommandOutput } from "./commands/ListCoreDevicesCommand";
|
|
86
|
-
import { ListDeploymentsCommandInput, ListDeploymentsCommandOutput } from "./commands/ListDeploymentsCommand";
|
|
87
|
-
import {
|
|
88
|
-
ListEffectiveDeploymentsCommandInput,
|
|
89
|
-
ListEffectiveDeploymentsCommandOutput,
|
|
90
|
-
} from "./commands/ListEffectiveDeploymentsCommand";
|
|
91
|
-
import {
|
|
92
|
-
ListInstalledComponentsCommandInput,
|
|
93
|
-
ListInstalledComponentsCommandOutput,
|
|
94
|
-
} from "./commands/ListInstalledComponentsCommand";
|
|
95
|
-
import {
|
|
96
|
-
ListTagsForResourceCommandInput,
|
|
97
|
-
ListTagsForResourceCommandOutput,
|
|
98
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
99
|
-
import {
|
|
100
|
-
ResolveComponentCandidatesCommandInput,
|
|
101
|
-
ResolveComponentCandidatesCommandOutput,
|
|
102
|
-
} from "./commands/ResolveComponentCandidatesCommand";
|
|
103
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
104
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
105
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
106
|
-
|
|
107
|
-
export type ServiceInputTypes =
|
|
108
|
-
| BatchAssociateClientDeviceWithCoreDeviceCommandInput
|
|
109
|
-
| BatchDisassociateClientDeviceFromCoreDeviceCommandInput
|
|
110
|
-
| CancelDeploymentCommandInput
|
|
111
|
-
| CreateComponentVersionCommandInput
|
|
112
|
-
| CreateDeploymentCommandInput
|
|
113
|
-
| DeleteComponentCommandInput
|
|
114
|
-
| DeleteCoreDeviceCommandInput
|
|
115
|
-
| DescribeComponentCommandInput
|
|
116
|
-
| GetComponentCommandInput
|
|
117
|
-
| GetComponentVersionArtifactCommandInput
|
|
118
|
-
| GetCoreDeviceCommandInput
|
|
119
|
-
| GetDeploymentCommandInput
|
|
120
|
-
| ListClientDevicesAssociatedWithCoreDeviceCommandInput
|
|
121
|
-
| ListComponentVersionsCommandInput
|
|
122
|
-
| ListComponentsCommandInput
|
|
123
|
-
| ListCoreDevicesCommandInput
|
|
124
|
-
| ListDeploymentsCommandInput
|
|
125
|
-
| ListEffectiveDeploymentsCommandInput
|
|
126
|
-
| ListInstalledComponentsCommandInput
|
|
127
|
-
| ListTagsForResourceCommandInput
|
|
128
|
-
| ResolveComponentCandidatesCommandInput
|
|
129
|
-
| TagResourceCommandInput
|
|
130
|
-
| UntagResourceCommandInput;
|
|
131
|
-
|
|
132
|
-
export type ServiceOutputTypes =
|
|
133
|
-
| BatchAssociateClientDeviceWithCoreDeviceCommandOutput
|
|
134
|
-
| BatchDisassociateClientDeviceFromCoreDeviceCommandOutput
|
|
135
|
-
| CancelDeploymentCommandOutput
|
|
136
|
-
| CreateComponentVersionCommandOutput
|
|
137
|
-
| CreateDeploymentCommandOutput
|
|
138
|
-
| DeleteComponentCommandOutput
|
|
139
|
-
| DeleteCoreDeviceCommandOutput
|
|
140
|
-
| DescribeComponentCommandOutput
|
|
141
|
-
| GetComponentCommandOutput
|
|
142
|
-
| GetComponentVersionArtifactCommandOutput
|
|
143
|
-
| GetCoreDeviceCommandOutput
|
|
144
|
-
| GetDeploymentCommandOutput
|
|
145
|
-
| ListClientDevicesAssociatedWithCoreDeviceCommandOutput
|
|
146
|
-
| ListComponentVersionsCommandOutput
|
|
147
|
-
| ListComponentsCommandOutput
|
|
148
|
-
| ListCoreDevicesCommandOutput
|
|
149
|
-
| ListDeploymentsCommandOutput
|
|
150
|
-
| ListEffectiveDeploymentsCommandOutput
|
|
151
|
-
| ListInstalledComponentsCommandOutput
|
|
152
|
-
| ListTagsForResourceCommandOutput
|
|
153
|
-
| ResolveComponentCandidatesCommandOutput
|
|
154
|
-
| TagResourceCommandOutput
|
|
155
|
-
| UntagResourceCommandOutput;
|
|
156
|
-
|
|
157
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
158
|
-
/**
|
|
159
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
160
|
-
*/
|
|
161
|
-
requestHandler?: __HttpHandler;
|
|
162
|
-
|
|
163
|
-
/**
|
|
164
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
165
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
|
-
sha256?: __HashConstructor;
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
172
|
-
* @internal
|
|
173
|
-
*/
|
|
174
|
-
urlParser?: __UrlParser;
|
|
175
|
-
|
|
176
|
-
/**
|
|
177
|
-
* A function that can calculate the length of a request body.
|
|
178
|
-
* @internal
|
|
179
|
-
*/
|
|
180
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* A function that converts a stream into an array of bytes.
|
|
184
|
-
* @internal
|
|
185
|
-
*/
|
|
186
|
-
streamCollector?: __StreamCollector;
|
|
187
|
-
|
|
188
|
-
/**
|
|
189
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
190
|
-
* @internal
|
|
191
|
-
*/
|
|
192
|
-
base64Decoder?: __Decoder;
|
|
193
|
-
|
|
194
|
-
/**
|
|
195
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
196
|
-
* @internal
|
|
197
|
-
*/
|
|
198
|
-
base64Encoder?: __Encoder;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
202
|
-
* @internal
|
|
203
|
-
*/
|
|
204
|
-
utf8Decoder?: __Decoder;
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
208
|
-
* @internal
|
|
209
|
-
*/
|
|
210
|
-
utf8Encoder?: __Encoder;
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* The runtime environment.
|
|
214
|
-
* @internal
|
|
215
|
-
*/
|
|
216
|
-
runtime?: string;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
220
|
-
* trait of an operation.
|
|
221
|
-
*/
|
|
222
|
-
disableHostPrefix?: boolean;
|
|
223
|
-
|
|
224
|
-
/**
|
|
225
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
226
|
-
*/
|
|
227
|
-
maxAttempts?: number | __Provider<number>;
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Specifies which retry algorithm to use.
|
|
231
|
-
*/
|
|
232
|
-
retryMode?: string | __Provider<string>;
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Optional logger for logging debug/info/warn/error.
|
|
236
|
-
*/
|
|
237
|
-
logger?: __Logger;
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* Unique service identifier.
|
|
241
|
-
* @internal
|
|
242
|
-
*/
|
|
243
|
-
serviceId?: string;
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* The AWS region to which this client will send requests
|
|
247
|
-
*/
|
|
248
|
-
region?: string | __Provider<string>;
|
|
249
|
-
|
|
250
|
-
/**
|
|
251
|
-
* Default credentials provider; Not available in browser runtime.
|
|
252
|
-
* @internal
|
|
253
|
-
*/
|
|
254
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
258
|
-
* @internal
|
|
259
|
-
*/
|
|
260
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
264
|
-
* @internal
|
|
265
|
-
*/
|
|
266
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
type GreengrassV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
270
|
-
ClientDefaults &
|
|
271
|
-
RegionInputConfig &
|
|
272
|
-
EndpointsInputConfig &
|
|
273
|
-
RetryInputConfig &
|
|
274
|
-
HostHeaderInputConfig &
|
|
275
|
-
AwsAuthInputConfig &
|
|
276
|
-
UserAgentInputConfig;
|
|
277
|
-
/**
|
|
278
|
-
* The configuration interface of GreengrassV2Client class constructor that set the region, credentials and other options.
|
|
279
|
-
*/
|
|
280
|
-
export interface GreengrassV2ClientConfig extends GreengrassV2ClientConfigType {}
|
|
281
|
-
|
|
282
|
-
type GreengrassV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
283
|
-
Required<ClientDefaults> &
|
|
284
|
-
RegionResolvedConfig &
|
|
285
|
-
EndpointsResolvedConfig &
|
|
286
|
-
RetryResolvedConfig &
|
|
287
|
-
HostHeaderResolvedConfig &
|
|
288
|
-
AwsAuthResolvedConfig &
|
|
289
|
-
UserAgentResolvedConfig;
|
|
290
|
-
/**
|
|
291
|
-
* The resolved configuration interface of GreengrassV2Client class. This is resolved and normalized from the {@link GreengrassV2ClientConfig | constructor configuration interface}.
|
|
292
|
-
*/
|
|
293
|
-
export interface GreengrassV2ClientResolvedConfig extends GreengrassV2ClientResolvedConfigType {}
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* <p>IoT Greengrass brings local compute, messaging, data management, sync, and ML inference capabilities
|
|
297
|
-
* to edge devices. This enables devices to collect and analyze data closer to the source of
|
|
298
|
-
* information, react autonomously to local events, and communicate securely with each other on
|
|
299
|
-
* local networks. Local devices can also communicate securely with Amazon Web Services IoT Core and export IoT data
|
|
300
|
-
* to the Amazon Web Services Cloud. IoT Greengrass developers can use Lambda functions and components to create and
|
|
301
|
-
* deploy applications to fleets of edge devices for local operation.</p>
|
|
302
|
-
* <p>IoT Greengrass Version 2 provides a new major version of the IoT Greengrass Core software, new APIs, and a new console.
|
|
303
|
-
* Use this API reference to learn how to use the IoT Greengrass V2 API operations to manage components,
|
|
304
|
-
* manage deployments, and core devices.</p>
|
|
305
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/what-is-iot-greengrass.html">What is IoT Greengrass?</a> in
|
|
306
|
-
* the <i>IoT Greengrass V2 Developer Guide</i>.</p>
|
|
307
|
-
*/
|
|
308
|
-
export class GreengrassV2Client extends __Client<
|
|
309
|
-
__HttpHandlerOptions,
|
|
310
|
-
ServiceInputTypes,
|
|
311
|
-
ServiceOutputTypes,
|
|
312
|
-
GreengrassV2ClientResolvedConfig
|
|
313
|
-
> {
|
|
314
|
-
/**
|
|
315
|
-
* The resolved configuration of GreengrassV2Client class. This is resolved and normalized from the {@link GreengrassV2ClientConfig | constructor configuration interface}.
|
|
316
|
-
*/
|
|
317
|
-
readonly config: GreengrassV2ClientResolvedConfig;
|
|
318
|
-
|
|
319
|
-
constructor(configuration: GreengrassV2ClientConfig) {
|
|
320
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
321
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
322
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
323
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
324
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
325
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
326
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
327
|
-
super(_config_6);
|
|
328
|
-
this.config = _config_6;
|
|
329
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
330
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
331
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
332
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
333
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
334
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
339
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
340
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
341
|
-
*/
|
|
342
|
-
destroy(): void {
|
|
343
|
-
super.destroy();
|
|
344
|
-
}
|
|
345
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
|
|
15
|
-
import {
|
|
16
|
-
BatchAssociateClientDeviceWithCoreDeviceRequest,
|
|
17
|
-
BatchAssociateClientDeviceWithCoreDeviceResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_restJson1BatchAssociateClientDeviceWithCoreDeviceCommand,
|
|
21
|
-
serializeAws_restJson1BatchAssociateClientDeviceWithCoreDeviceCommand,
|
|
22
|
-
} from "../protocols/Aws_restJson1";
|
|
23
|
-
|
|
24
|
-
export interface BatchAssociateClientDeviceWithCoreDeviceCommandInput
|
|
25
|
-
extends BatchAssociateClientDeviceWithCoreDeviceRequest {}
|
|
26
|
-
export interface BatchAssociateClientDeviceWithCoreDeviceCommandOutput
|
|
27
|
-
extends BatchAssociateClientDeviceWithCoreDeviceResponse,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Associate a list of client devices with a core device. Use this API operation to specify
|
|
32
|
-
* which client devices can discover a core device through cloud discovery. With cloud discovery,
|
|
33
|
-
* client devices connect to IoT Greengrass to retrieve associated core devices' connectivity information
|
|
34
|
-
* and certificates. For more information, see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/configure-cloud-discovery.html">Configure cloud
|
|
35
|
-
* discovery</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
|
|
36
|
-
*
|
|
37
|
-
* <note>
|
|
38
|
-
* <p>Client devices are local IoT devices that connect to and communicate with an IoT Greengrass core
|
|
39
|
-
* device over MQTT. You can connect client devices to a core device to sync MQTT messages and
|
|
40
|
-
* data to Amazon Web Services IoT Core and interact with client devices in Greengrass components. For more information,
|
|
41
|
-
* see <a href="https://docs.aws.amazon.com/greengrass/v2/developerguide/interact-with-local-iot-devices.html">Interact with
|
|
42
|
-
* local IoT devices</a> in the <i>IoT Greengrass V2 Developer Guide</i>.</p>
|
|
43
|
-
* </note>
|
|
44
|
-
* @example
|
|
45
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
46
|
-
* ```javascript
|
|
47
|
-
* import { GreengrassV2Client, BatchAssociateClientDeviceWithCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
|
|
48
|
-
* // const { GreengrassV2Client, BatchAssociateClientDeviceWithCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
|
|
49
|
-
* const client = new GreengrassV2Client(config);
|
|
50
|
-
* const command = new BatchAssociateClientDeviceWithCoreDeviceCommand(input);
|
|
51
|
-
* const response = await client.send(command);
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* @see {@link BatchAssociateClientDeviceWithCoreDeviceCommandInput} for command's `input` shape.
|
|
55
|
-
* @see {@link BatchAssociateClientDeviceWithCoreDeviceCommandOutput} for command's `response` shape.
|
|
56
|
-
* @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
export class BatchAssociateClientDeviceWithCoreDeviceCommand extends $Command<
|
|
60
|
-
BatchAssociateClientDeviceWithCoreDeviceCommandInput,
|
|
61
|
-
BatchAssociateClientDeviceWithCoreDeviceCommandOutput,
|
|
62
|
-
GreengrassV2ClientResolvedConfig
|
|
63
|
-
> {
|
|
64
|
-
// Start section: command_properties
|
|
65
|
-
// End section: command_properties
|
|
66
|
-
|
|
67
|
-
constructor(readonly input: BatchAssociateClientDeviceWithCoreDeviceCommandInput) {
|
|
68
|
-
// Start section: command_constructor
|
|
69
|
-
super();
|
|
70
|
-
// End section: command_constructor
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @internal
|
|
75
|
-
*/
|
|
76
|
-
resolveMiddleware(
|
|
77
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
78
|
-
configuration: GreengrassV2ClientResolvedConfig,
|
|
79
|
-
options?: __HttpHandlerOptions
|
|
80
|
-
): Handler<
|
|
81
|
-
BatchAssociateClientDeviceWithCoreDeviceCommandInput,
|
|
82
|
-
BatchAssociateClientDeviceWithCoreDeviceCommandOutput
|
|
83
|
-
> {
|
|
84
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
85
|
-
|
|
86
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
87
|
-
|
|
88
|
-
const { logger } = configuration;
|
|
89
|
-
const clientName = "GreengrassV2Client";
|
|
90
|
-
const commandName = "BatchAssociateClientDeviceWithCoreDeviceCommand";
|
|
91
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
92
|
-
logger,
|
|
93
|
-
clientName,
|
|
94
|
-
commandName,
|
|
95
|
-
inputFilterSensitiveLog: BatchAssociateClientDeviceWithCoreDeviceRequest.filterSensitiveLog,
|
|
96
|
-
outputFilterSensitiveLog: BatchAssociateClientDeviceWithCoreDeviceResponse.filterSensitiveLog,
|
|
97
|
-
};
|
|
98
|
-
const { requestHandler } = configuration;
|
|
99
|
-
return stack.resolve(
|
|
100
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
101
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
102
|
-
handlerExecutionContext
|
|
103
|
-
);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
private serialize(
|
|
107
|
-
input: BatchAssociateClientDeviceWithCoreDeviceCommandInput,
|
|
108
|
-
context: __SerdeContext
|
|
109
|
-
): Promise<__HttpRequest> {
|
|
110
|
-
return serializeAws_restJson1BatchAssociateClientDeviceWithCoreDeviceCommand(input, context);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
private deserialize(
|
|
114
|
-
output: __HttpResponse,
|
|
115
|
-
context: __SerdeContext
|
|
116
|
-
): Promise<BatchAssociateClientDeviceWithCoreDeviceCommandOutput> {
|
|
117
|
-
return deserializeAws_restJson1BatchAssociateClientDeviceWithCoreDeviceCommand(output, context);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// Start section: command_body_extra
|
|
121
|
-
// End section: command_body_extra
|
|
122
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
|
|
15
|
-
import {
|
|
16
|
-
BatchDisassociateClientDeviceFromCoreDeviceRequest,
|
|
17
|
-
BatchDisassociateClientDeviceFromCoreDeviceResponse,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_restJson1BatchDisassociateClientDeviceFromCoreDeviceCommand,
|
|
21
|
-
serializeAws_restJson1BatchDisassociateClientDeviceFromCoreDeviceCommand,
|
|
22
|
-
} from "../protocols/Aws_restJson1";
|
|
23
|
-
|
|
24
|
-
export interface BatchDisassociateClientDeviceFromCoreDeviceCommandInput
|
|
25
|
-
extends BatchDisassociateClientDeviceFromCoreDeviceRequest {}
|
|
26
|
-
export interface BatchDisassociateClientDeviceFromCoreDeviceCommandOutput
|
|
27
|
-
extends BatchDisassociateClientDeviceFromCoreDeviceResponse,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Disassociate a list of client devices from a core device. After you disassociate a client
|
|
32
|
-
* device from a core device, the client device won't be able to use cloud discovery to retrieve
|
|
33
|
-
* the core device's connectivity information and certificates.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { GreengrassV2Client, BatchDisassociateClientDeviceFromCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
|
|
38
|
-
* // const { GreengrassV2Client, BatchDisassociateClientDeviceFromCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
|
|
39
|
-
* const client = new GreengrassV2Client(config);
|
|
40
|
-
* const command = new BatchDisassociateClientDeviceFromCoreDeviceCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link BatchDisassociateClientDeviceFromCoreDeviceCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link BatchDisassociateClientDeviceFromCoreDeviceCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class BatchDisassociateClientDeviceFromCoreDeviceCommand extends $Command<
|
|
50
|
-
BatchDisassociateClientDeviceFromCoreDeviceCommandInput,
|
|
51
|
-
BatchDisassociateClientDeviceFromCoreDeviceCommandOutput,
|
|
52
|
-
GreengrassV2ClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: BatchDisassociateClientDeviceFromCoreDeviceCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: GreengrassV2ClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<
|
|
71
|
-
BatchDisassociateClientDeviceFromCoreDeviceCommandInput,
|
|
72
|
-
BatchDisassociateClientDeviceFromCoreDeviceCommandOutput
|
|
73
|
-
> {
|
|
74
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
75
|
-
|
|
76
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
77
|
-
|
|
78
|
-
const { logger } = configuration;
|
|
79
|
-
const clientName = "GreengrassV2Client";
|
|
80
|
-
const commandName = "BatchDisassociateClientDeviceFromCoreDeviceCommand";
|
|
81
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
82
|
-
logger,
|
|
83
|
-
clientName,
|
|
84
|
-
commandName,
|
|
85
|
-
inputFilterSensitiveLog: BatchDisassociateClientDeviceFromCoreDeviceRequest.filterSensitiveLog,
|
|
86
|
-
outputFilterSensitiveLog: BatchDisassociateClientDeviceFromCoreDeviceResponse.filterSensitiveLog,
|
|
87
|
-
};
|
|
88
|
-
const { requestHandler } = configuration;
|
|
89
|
-
return stack.resolve(
|
|
90
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
91
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
92
|
-
handlerExecutionContext
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private serialize(
|
|
97
|
-
input: BatchDisassociateClientDeviceFromCoreDeviceCommandInput,
|
|
98
|
-
context: __SerdeContext
|
|
99
|
-
): Promise<__HttpRequest> {
|
|
100
|
-
return serializeAws_restJson1BatchDisassociateClientDeviceFromCoreDeviceCommand(input, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private deserialize(
|
|
104
|
-
output: __HttpResponse,
|
|
105
|
-
context: __SerdeContext
|
|
106
|
-
): Promise<BatchDisassociateClientDeviceFromCoreDeviceCommandOutput> {
|
|
107
|
-
return deserializeAws_restJson1BatchDisassociateClientDeviceFromCoreDeviceCommand(output, context);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// Start section: command_body_extra
|
|
111
|
-
// End section: command_body_extra
|
|
112
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { GreengrassV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GreengrassV2Client";
|
|
15
|
-
import { CancelDeploymentRequest, CancelDeploymentResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CancelDeploymentCommand,
|
|
18
|
-
serializeAws_restJson1CancelDeploymentCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CancelDeploymentCommandInput extends CancelDeploymentRequest {}
|
|
22
|
-
export interface CancelDeploymentCommandOutput extends CancelDeploymentResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Cancels a deployment. This operation cancels the deployment for devices that haven't yet
|
|
26
|
-
* received it. If a device already received the deployment, this operation doesn't change
|
|
27
|
-
* anything for that device.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { GreengrassV2Client, CancelDeploymentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
|
|
32
|
-
* // const { GreengrassV2Client, CancelDeploymentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
|
|
33
|
-
* const client = new GreengrassV2Client(config);
|
|
34
|
-
* const command = new CancelDeploymentCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CancelDeploymentCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CancelDeploymentCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link GreengrassV2ClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class CancelDeploymentCommand extends $Command<
|
|
44
|
-
CancelDeploymentCommandInput,
|
|
45
|
-
CancelDeploymentCommandOutput,
|
|
46
|
-
GreengrassV2ClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: CancelDeploymentCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: GreengrassV2ClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<CancelDeploymentCommandInput, CancelDeploymentCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "GreengrassV2Client";
|
|
71
|
-
const commandName = "CancelDeploymentCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: CancelDeploymentRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: CancelDeploymentResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: CancelDeploymentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1CancelDeploymentCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CancelDeploymentCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1CancelDeploymentCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|