@aws-sdk/client-greengrassv2 3.1136.0 → 3.1138.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1135.0";
72
+ var version = "3.1137.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -605,10 +605,10 @@ const _ve = "version";
605
605
  const _wU = "windowsUser";
606
606
  const _xaiet = "x-amz-iot-endpoint-type";
607
607
  const n0 = "com.amazonaws.greengrassv2";
608
- const _s_registry = TypeRegistry.for(_s);
608
+ const _s_registry = new TypeRegistry(_s);
609
609
  var GreengrassV2ServiceException$ = [-3, _s, "GreengrassV2ServiceException", 0, [], []];
610
610
  _s_registry.registerError(GreengrassV2ServiceException$, GreengrassV2ServiceException);
611
- const n0_registry = TypeRegistry.for(n0);
611
+ const n0_registry = new TypeRegistry(n0);
612
612
  var AccessDeniedException$ = [-3, n0, _ADE,
613
613
  { [_e]: _c, [_hE]: 403 },
614
614
  [_m],
@@ -331,10 +331,10 @@ const n0 = "com.amazonaws.greengrassv2";
331
331
  import { TypeRegistry } from "@smithy/core/schema";
332
332
  import { AccessDeniedException, ConflictException, InternalServerException, RequestAlreadyInProgressException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
333
333
  import { GreengrassV2ServiceException } from "../models/GreengrassV2ServiceException";
334
- const _s_registry = TypeRegistry.for(_s);
334
+ const _s_registry = new TypeRegistry(_s);
335
335
  export var GreengrassV2ServiceException$ = [-3, _s, "GreengrassV2ServiceException", 0, [], []];
336
336
  _s_registry.registerError(GreengrassV2ServiceException$, GreengrassV2ServiceException);
337
- const n0_registry = TypeRegistry.for(n0);
337
+ const n0_registry = new TypeRegistry(n0);
338
338
  export var AccessDeniedException$ = [-3, n0, _ADE,
339
339
  { [_e]: _c, [_hE]: 403 },
340
340
  [_m],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type AssociateServiceRoleToAccountCommandInput, type AssociateServiceRoleToAccountCommandOutput } from "./commands/AssociateServiceRoleToAccountCommand";
3
3
  import { type BatchAssociateClientDeviceWithCoreDeviceCommandInput, type BatchAssociateClientDeviceWithCoreDeviceCommandOutput } from "./commands/BatchAssociateClientDeviceWithCoreDeviceCommand";
4
4
  import { type BatchDisassociateClientDeviceFromCoreDeviceCommandInput, type BatchDisassociateClientDeviceFromCoreDeviceCommandOutput } from "./commands/BatchDisassociateClientDeviceFromCoreDeviceCommand";
@@ -29,188 +29,194 @@ import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./c
29
29
  import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
30
30
  import { type UpdateConnectivityInfoCommandInput, type UpdateConnectivityInfoCommandOutput } from "./commands/UpdateConnectivityInfoCommand";
31
31
  import { GreengrassV2Client } from "./GreengrassV2Client";
32
+ /**
33
+ * @public
34
+ */
35
+ export interface GreengrassV2RequestOptions extends __HttpHandlerOptions {
36
+ metricsRecorder?: __MetricsRecorder<unknown>;
37
+ }
32
38
  export interface GreengrassV2 {
33
39
  /**
34
40
  * @see {@link AssociateServiceRoleToAccountCommand}
35
41
  */
36
- associateServiceRoleToAccount(args: AssociateServiceRoleToAccountCommandInput, options?: __HttpHandlerOptions): Promise<AssociateServiceRoleToAccountCommandOutput>;
42
+ associateServiceRoleToAccount(args: AssociateServiceRoleToAccountCommandInput, options?: GreengrassV2RequestOptions): Promise<AssociateServiceRoleToAccountCommandOutput>;
37
43
  associateServiceRoleToAccount(args: AssociateServiceRoleToAccountCommandInput, cb: (err: any, data?: AssociateServiceRoleToAccountCommandOutput) => void): void;
38
- associateServiceRoleToAccount(args: AssociateServiceRoleToAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateServiceRoleToAccountCommandOutput) => void): void;
44
+ associateServiceRoleToAccount(args: AssociateServiceRoleToAccountCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: AssociateServiceRoleToAccountCommandOutput) => void): void;
39
45
  /**
40
46
  * @see {@link BatchAssociateClientDeviceWithCoreDeviceCommand}
41
47
  */
42
- batchAssociateClientDeviceWithCoreDevice(args: BatchAssociateClientDeviceWithCoreDeviceCommandInput, options?: __HttpHandlerOptions): Promise<BatchAssociateClientDeviceWithCoreDeviceCommandOutput>;
48
+ batchAssociateClientDeviceWithCoreDevice(args: BatchAssociateClientDeviceWithCoreDeviceCommandInput, options?: GreengrassV2RequestOptions): Promise<BatchAssociateClientDeviceWithCoreDeviceCommandOutput>;
43
49
  batchAssociateClientDeviceWithCoreDevice(args: BatchAssociateClientDeviceWithCoreDeviceCommandInput, cb: (err: any, data?: BatchAssociateClientDeviceWithCoreDeviceCommandOutput) => void): void;
44
- batchAssociateClientDeviceWithCoreDevice(args: BatchAssociateClientDeviceWithCoreDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAssociateClientDeviceWithCoreDeviceCommandOutput) => void): void;
50
+ batchAssociateClientDeviceWithCoreDevice(args: BatchAssociateClientDeviceWithCoreDeviceCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: BatchAssociateClientDeviceWithCoreDeviceCommandOutput) => void): void;
45
51
  /**
46
52
  * @see {@link BatchDisassociateClientDeviceFromCoreDeviceCommand}
47
53
  */
48
- batchDisassociateClientDeviceFromCoreDevice(args: BatchDisassociateClientDeviceFromCoreDeviceCommandInput, options?: __HttpHandlerOptions): Promise<BatchDisassociateClientDeviceFromCoreDeviceCommandOutput>;
54
+ batchDisassociateClientDeviceFromCoreDevice(args: BatchDisassociateClientDeviceFromCoreDeviceCommandInput, options?: GreengrassV2RequestOptions): Promise<BatchDisassociateClientDeviceFromCoreDeviceCommandOutput>;
49
55
  batchDisassociateClientDeviceFromCoreDevice(args: BatchDisassociateClientDeviceFromCoreDeviceCommandInput, cb: (err: any, data?: BatchDisassociateClientDeviceFromCoreDeviceCommandOutput) => void): void;
50
- batchDisassociateClientDeviceFromCoreDevice(args: BatchDisassociateClientDeviceFromCoreDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDisassociateClientDeviceFromCoreDeviceCommandOutput) => void): void;
56
+ batchDisassociateClientDeviceFromCoreDevice(args: BatchDisassociateClientDeviceFromCoreDeviceCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: BatchDisassociateClientDeviceFromCoreDeviceCommandOutput) => void): void;
51
57
  /**
52
58
  * @see {@link CancelDeploymentCommand}
53
59
  */
54
- cancelDeployment(args: CancelDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CancelDeploymentCommandOutput>;
60
+ cancelDeployment(args: CancelDeploymentCommandInput, options?: GreengrassV2RequestOptions): Promise<CancelDeploymentCommandOutput>;
55
61
  cancelDeployment(args: CancelDeploymentCommandInput, cb: (err: any, data?: CancelDeploymentCommandOutput) => void): void;
56
- cancelDeployment(args: CancelDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelDeploymentCommandOutput) => void): void;
62
+ cancelDeployment(args: CancelDeploymentCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: CancelDeploymentCommandOutput) => void): void;
57
63
  /**
58
64
  * @see {@link CreateComponentVersionCommand}
59
65
  */
60
66
  createComponentVersion(): Promise<CreateComponentVersionCommandOutput>;
61
- createComponentVersion(args: CreateComponentVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateComponentVersionCommandOutput>;
67
+ createComponentVersion(args: CreateComponentVersionCommandInput, options?: GreengrassV2RequestOptions): Promise<CreateComponentVersionCommandOutput>;
62
68
  createComponentVersion(args: CreateComponentVersionCommandInput, cb: (err: any, data?: CreateComponentVersionCommandOutput) => void): void;
63
- createComponentVersion(args: CreateComponentVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateComponentVersionCommandOutput) => void): void;
69
+ createComponentVersion(args: CreateComponentVersionCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: CreateComponentVersionCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link CreateDeploymentCommand}
66
72
  */
67
- createDeployment(args: CreateDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<CreateDeploymentCommandOutput>;
73
+ createDeployment(args: CreateDeploymentCommandInput, options?: GreengrassV2RequestOptions): Promise<CreateDeploymentCommandOutput>;
68
74
  createDeployment(args: CreateDeploymentCommandInput, cb: (err: any, data?: CreateDeploymentCommandOutput) => void): void;
69
- createDeployment(args: CreateDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDeploymentCommandOutput) => void): void;
75
+ createDeployment(args: CreateDeploymentCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: CreateDeploymentCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link DeleteComponentCommand}
72
78
  */
73
- deleteComponent(args: DeleteComponentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteComponentCommandOutput>;
79
+ deleteComponent(args: DeleteComponentCommandInput, options?: GreengrassV2RequestOptions): Promise<DeleteComponentCommandOutput>;
74
80
  deleteComponent(args: DeleteComponentCommandInput, cb: (err: any, data?: DeleteComponentCommandOutput) => void): void;
75
- deleteComponent(args: DeleteComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteComponentCommandOutput) => void): void;
81
+ deleteComponent(args: DeleteComponentCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: DeleteComponentCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link DeleteCoreDeviceCommand}
78
84
  */
79
- deleteCoreDevice(args: DeleteCoreDeviceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCoreDeviceCommandOutput>;
85
+ deleteCoreDevice(args: DeleteCoreDeviceCommandInput, options?: GreengrassV2RequestOptions): Promise<DeleteCoreDeviceCommandOutput>;
80
86
  deleteCoreDevice(args: DeleteCoreDeviceCommandInput, cb: (err: any, data?: DeleteCoreDeviceCommandOutput) => void): void;
81
- deleteCoreDevice(args: DeleteCoreDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCoreDeviceCommandOutput) => void): void;
87
+ deleteCoreDevice(args: DeleteCoreDeviceCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: DeleteCoreDeviceCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link DeleteDeploymentCommand}
84
90
  */
85
- deleteDeployment(args: DeleteDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDeploymentCommandOutput>;
91
+ deleteDeployment(args: DeleteDeploymentCommandInput, options?: GreengrassV2RequestOptions): Promise<DeleteDeploymentCommandOutput>;
86
92
  deleteDeployment(args: DeleteDeploymentCommandInput, cb: (err: any, data?: DeleteDeploymentCommandOutput) => void): void;
87
- deleteDeployment(args: DeleteDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDeploymentCommandOutput) => void): void;
93
+ deleteDeployment(args: DeleteDeploymentCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: DeleteDeploymentCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link DescribeComponentCommand}
90
96
  */
91
- describeComponent(args: DescribeComponentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeComponentCommandOutput>;
97
+ describeComponent(args: DescribeComponentCommandInput, options?: GreengrassV2RequestOptions): Promise<DescribeComponentCommandOutput>;
92
98
  describeComponent(args: DescribeComponentCommandInput, cb: (err: any, data?: DescribeComponentCommandOutput) => void): void;
93
- describeComponent(args: DescribeComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeComponentCommandOutput) => void): void;
99
+ describeComponent(args: DescribeComponentCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: DescribeComponentCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link DisassociateServiceRoleFromAccountCommand}
96
102
  */
97
103
  disassociateServiceRoleFromAccount(): Promise<DisassociateServiceRoleFromAccountCommandOutput>;
98
- disassociateServiceRoleFromAccount(args: DisassociateServiceRoleFromAccountCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateServiceRoleFromAccountCommandOutput>;
104
+ disassociateServiceRoleFromAccount(args: DisassociateServiceRoleFromAccountCommandInput, options?: GreengrassV2RequestOptions): Promise<DisassociateServiceRoleFromAccountCommandOutput>;
99
105
  disassociateServiceRoleFromAccount(args: DisassociateServiceRoleFromAccountCommandInput, cb: (err: any, data?: DisassociateServiceRoleFromAccountCommandOutput) => void): void;
100
- disassociateServiceRoleFromAccount(args: DisassociateServiceRoleFromAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateServiceRoleFromAccountCommandOutput) => void): void;
106
+ disassociateServiceRoleFromAccount(args: DisassociateServiceRoleFromAccountCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: DisassociateServiceRoleFromAccountCommandOutput) => void): void;
101
107
  /**
102
108
  * @see {@link GetComponentCommand}
103
109
  */
104
- getComponent(args: GetComponentCommandInput, options?: __HttpHandlerOptions): Promise<GetComponentCommandOutput>;
110
+ getComponent(args: GetComponentCommandInput, options?: GreengrassV2RequestOptions): Promise<GetComponentCommandOutput>;
105
111
  getComponent(args: GetComponentCommandInput, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
106
- getComponent(args: GetComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
112
+ getComponent(args: GetComponentCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: GetComponentCommandOutput) => void): void;
107
113
  /**
108
114
  * @see {@link GetComponentVersionArtifactCommand}
109
115
  */
110
- getComponentVersionArtifact(args: GetComponentVersionArtifactCommandInput, options?: __HttpHandlerOptions): Promise<GetComponentVersionArtifactCommandOutput>;
116
+ getComponentVersionArtifact(args: GetComponentVersionArtifactCommandInput, options?: GreengrassV2RequestOptions): Promise<GetComponentVersionArtifactCommandOutput>;
111
117
  getComponentVersionArtifact(args: GetComponentVersionArtifactCommandInput, cb: (err: any, data?: GetComponentVersionArtifactCommandOutput) => void): void;
112
- getComponentVersionArtifact(args: GetComponentVersionArtifactCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetComponentVersionArtifactCommandOutput) => void): void;
118
+ getComponentVersionArtifact(args: GetComponentVersionArtifactCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: GetComponentVersionArtifactCommandOutput) => void): void;
113
119
  /**
114
120
  * @see {@link GetConnectivityInfoCommand}
115
121
  */
116
- getConnectivityInfo(args: GetConnectivityInfoCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectivityInfoCommandOutput>;
122
+ getConnectivityInfo(args: GetConnectivityInfoCommandInput, options?: GreengrassV2RequestOptions): Promise<GetConnectivityInfoCommandOutput>;
117
123
  getConnectivityInfo(args: GetConnectivityInfoCommandInput, cb: (err: any, data?: GetConnectivityInfoCommandOutput) => void): void;
118
- getConnectivityInfo(args: GetConnectivityInfoCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectivityInfoCommandOutput) => void): void;
124
+ getConnectivityInfo(args: GetConnectivityInfoCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: GetConnectivityInfoCommandOutput) => void): void;
119
125
  /**
120
126
  * @see {@link GetCoreDeviceCommand}
121
127
  */
122
- getCoreDevice(args: GetCoreDeviceCommandInput, options?: __HttpHandlerOptions): Promise<GetCoreDeviceCommandOutput>;
128
+ getCoreDevice(args: GetCoreDeviceCommandInput, options?: GreengrassV2RequestOptions): Promise<GetCoreDeviceCommandOutput>;
123
129
  getCoreDevice(args: GetCoreDeviceCommandInput, cb: (err: any, data?: GetCoreDeviceCommandOutput) => void): void;
124
- getCoreDevice(args: GetCoreDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCoreDeviceCommandOutput) => void): void;
130
+ getCoreDevice(args: GetCoreDeviceCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: GetCoreDeviceCommandOutput) => void): void;
125
131
  /**
126
132
  * @see {@link GetDeploymentCommand}
127
133
  */
128
- getDeployment(args: GetDeploymentCommandInput, options?: __HttpHandlerOptions): Promise<GetDeploymentCommandOutput>;
134
+ getDeployment(args: GetDeploymentCommandInput, options?: GreengrassV2RequestOptions): Promise<GetDeploymentCommandOutput>;
129
135
  getDeployment(args: GetDeploymentCommandInput, cb: (err: any, data?: GetDeploymentCommandOutput) => void): void;
130
- getDeployment(args: GetDeploymentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeploymentCommandOutput) => void): void;
136
+ getDeployment(args: GetDeploymentCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: GetDeploymentCommandOutput) => void): void;
131
137
  /**
132
138
  * @see {@link GetServiceRoleForAccountCommand}
133
139
  */
134
140
  getServiceRoleForAccount(): Promise<GetServiceRoleForAccountCommandOutput>;
135
- getServiceRoleForAccount(args: GetServiceRoleForAccountCommandInput, options?: __HttpHandlerOptions): Promise<GetServiceRoleForAccountCommandOutput>;
141
+ getServiceRoleForAccount(args: GetServiceRoleForAccountCommandInput, options?: GreengrassV2RequestOptions): Promise<GetServiceRoleForAccountCommandOutput>;
136
142
  getServiceRoleForAccount(args: GetServiceRoleForAccountCommandInput, cb: (err: any, data?: GetServiceRoleForAccountCommandOutput) => void): void;
137
- getServiceRoleForAccount(args: GetServiceRoleForAccountCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceRoleForAccountCommandOutput) => void): void;
143
+ getServiceRoleForAccount(args: GetServiceRoleForAccountCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: GetServiceRoleForAccountCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link ListClientDevicesAssociatedWithCoreDeviceCommand}
140
146
  */
141
- listClientDevicesAssociatedWithCoreDevice(args: ListClientDevicesAssociatedWithCoreDeviceCommandInput, options?: __HttpHandlerOptions): Promise<ListClientDevicesAssociatedWithCoreDeviceCommandOutput>;
147
+ listClientDevicesAssociatedWithCoreDevice(args: ListClientDevicesAssociatedWithCoreDeviceCommandInput, options?: GreengrassV2RequestOptions): Promise<ListClientDevicesAssociatedWithCoreDeviceCommandOutput>;
142
148
  listClientDevicesAssociatedWithCoreDevice(args: ListClientDevicesAssociatedWithCoreDeviceCommandInput, cb: (err: any, data?: ListClientDevicesAssociatedWithCoreDeviceCommandOutput) => void): void;
143
- listClientDevicesAssociatedWithCoreDevice(args: ListClientDevicesAssociatedWithCoreDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClientDevicesAssociatedWithCoreDeviceCommandOutput) => void): void;
149
+ listClientDevicesAssociatedWithCoreDevice(args: ListClientDevicesAssociatedWithCoreDeviceCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: ListClientDevicesAssociatedWithCoreDeviceCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link ListComponentsCommand}
146
152
  */
147
153
  listComponents(): Promise<ListComponentsCommandOutput>;
148
- listComponents(args: ListComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentsCommandOutput>;
154
+ listComponents(args: ListComponentsCommandInput, options?: GreengrassV2RequestOptions): Promise<ListComponentsCommandOutput>;
149
155
  listComponents(args: ListComponentsCommandInput, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
150
- listComponents(args: ListComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
156
+ listComponents(args: ListComponentsCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: ListComponentsCommandOutput) => void): void;
151
157
  /**
152
158
  * @see {@link ListComponentVersionsCommand}
153
159
  */
154
- listComponentVersions(args: ListComponentVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListComponentVersionsCommandOutput>;
160
+ listComponentVersions(args: ListComponentVersionsCommandInput, options?: GreengrassV2RequestOptions): Promise<ListComponentVersionsCommandOutput>;
155
161
  listComponentVersions(args: ListComponentVersionsCommandInput, cb: (err: any, data?: ListComponentVersionsCommandOutput) => void): void;
156
- listComponentVersions(args: ListComponentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComponentVersionsCommandOutput) => void): void;
162
+ listComponentVersions(args: ListComponentVersionsCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: ListComponentVersionsCommandOutput) => void): void;
157
163
  /**
158
164
  * @see {@link ListCoreDevicesCommand}
159
165
  */
160
166
  listCoreDevices(): Promise<ListCoreDevicesCommandOutput>;
161
- listCoreDevices(args: ListCoreDevicesCommandInput, options?: __HttpHandlerOptions): Promise<ListCoreDevicesCommandOutput>;
167
+ listCoreDevices(args: ListCoreDevicesCommandInput, options?: GreengrassV2RequestOptions): Promise<ListCoreDevicesCommandOutput>;
162
168
  listCoreDevices(args: ListCoreDevicesCommandInput, cb: (err: any, data?: ListCoreDevicesCommandOutput) => void): void;
163
- listCoreDevices(args: ListCoreDevicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCoreDevicesCommandOutput) => void): void;
169
+ listCoreDevices(args: ListCoreDevicesCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: ListCoreDevicesCommandOutput) => void): void;
164
170
  /**
165
171
  * @see {@link ListDeploymentsCommand}
166
172
  */
167
173
  listDeployments(): Promise<ListDeploymentsCommandOutput>;
168
- listDeployments(args: ListDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<ListDeploymentsCommandOutput>;
174
+ listDeployments(args: ListDeploymentsCommandInput, options?: GreengrassV2RequestOptions): Promise<ListDeploymentsCommandOutput>;
169
175
  listDeployments(args: ListDeploymentsCommandInput, cb: (err: any, data?: ListDeploymentsCommandOutput) => void): void;
170
- listDeployments(args: ListDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDeploymentsCommandOutput) => void): void;
176
+ listDeployments(args: ListDeploymentsCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: ListDeploymentsCommandOutput) => void): void;
171
177
  /**
172
178
  * @see {@link ListEffectiveDeploymentsCommand}
173
179
  */
174
- listEffectiveDeployments(args: ListEffectiveDeploymentsCommandInput, options?: __HttpHandlerOptions): Promise<ListEffectiveDeploymentsCommandOutput>;
180
+ listEffectiveDeployments(args: ListEffectiveDeploymentsCommandInput, options?: GreengrassV2RequestOptions): Promise<ListEffectiveDeploymentsCommandOutput>;
175
181
  listEffectiveDeployments(args: ListEffectiveDeploymentsCommandInput, cb: (err: any, data?: ListEffectiveDeploymentsCommandOutput) => void): void;
176
- listEffectiveDeployments(args: ListEffectiveDeploymentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEffectiveDeploymentsCommandOutput) => void): void;
182
+ listEffectiveDeployments(args: ListEffectiveDeploymentsCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: ListEffectiveDeploymentsCommandOutput) => void): void;
177
183
  /**
178
184
  * @see {@link ListInstalledComponentsCommand}
179
185
  */
180
- listInstalledComponents(args: ListInstalledComponentsCommandInput, options?: __HttpHandlerOptions): Promise<ListInstalledComponentsCommandOutput>;
186
+ listInstalledComponents(args: ListInstalledComponentsCommandInput, options?: GreengrassV2RequestOptions): Promise<ListInstalledComponentsCommandOutput>;
181
187
  listInstalledComponents(args: ListInstalledComponentsCommandInput, cb: (err: any, data?: ListInstalledComponentsCommandOutput) => void): void;
182
- listInstalledComponents(args: ListInstalledComponentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInstalledComponentsCommandOutput) => void): void;
188
+ listInstalledComponents(args: ListInstalledComponentsCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: ListInstalledComponentsCommandOutput) => void): void;
183
189
  /**
184
190
  * @see {@link ListTagsForResourceCommand}
185
191
  */
186
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
192
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: GreengrassV2RequestOptions): Promise<ListTagsForResourceCommandOutput>;
187
193
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
188
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
194
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
189
195
  /**
190
196
  * @see {@link ResolveComponentCandidatesCommand}
191
197
  */
192
198
  resolveComponentCandidates(): Promise<ResolveComponentCandidatesCommandOutput>;
193
- resolveComponentCandidates(args: ResolveComponentCandidatesCommandInput, options?: __HttpHandlerOptions): Promise<ResolveComponentCandidatesCommandOutput>;
199
+ resolveComponentCandidates(args: ResolveComponentCandidatesCommandInput, options?: GreengrassV2RequestOptions): Promise<ResolveComponentCandidatesCommandOutput>;
194
200
  resolveComponentCandidates(args: ResolveComponentCandidatesCommandInput, cb: (err: any, data?: ResolveComponentCandidatesCommandOutput) => void): void;
195
- resolveComponentCandidates(args: ResolveComponentCandidatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResolveComponentCandidatesCommandOutput) => void): void;
201
+ resolveComponentCandidates(args: ResolveComponentCandidatesCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: ResolveComponentCandidatesCommandOutput) => void): void;
196
202
  /**
197
203
  * @see {@link TagResourceCommand}
198
204
  */
199
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
205
+ tagResource(args: TagResourceCommandInput, options?: GreengrassV2RequestOptions): Promise<TagResourceCommandOutput>;
200
206
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
201
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
207
+ tagResource(args: TagResourceCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
202
208
  /**
203
209
  * @see {@link UntagResourceCommand}
204
210
  */
205
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
211
+ untagResource(args: UntagResourceCommandInput, options?: GreengrassV2RequestOptions): Promise<UntagResourceCommandOutput>;
206
212
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
207
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
213
+ untagResource(args: UntagResourceCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
208
214
  /**
209
215
  * @see {@link UpdateConnectivityInfoCommand}
210
216
  */
211
- updateConnectivityInfo(args: UpdateConnectivityInfoCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectivityInfoCommandOutput>;
217
+ updateConnectivityInfo(args: UpdateConnectivityInfoCommandInput, options?: GreengrassV2RequestOptions): Promise<UpdateConnectivityInfoCommandOutput>;
212
218
  updateConnectivityInfo(args: UpdateConnectivityInfoCommandInput, cb: (err: any, data?: UpdateConnectivityInfoCommandOutput) => void): void;
213
- updateConnectivityInfo(args: UpdateConnectivityInfoCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectivityInfoCommandOutput) => void): void;
219
+ updateConnectivityInfo(args: UpdateConnectivityInfoCommandInput, options: GreengrassV2RequestOptions, cb: (err: any, data?: UpdateConnectivityInfoCommandOutput) => void): void;
214
220
  /**
215
221
  * @see {@link ListClientDevicesAssociatedWithCoreDeviceCommand}
216
222
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -117,10 +118,13 @@ import {
117
118
  UpdateConnectivityInfoCommandOutput,
118
119
  } from "./commands/UpdateConnectivityInfoCommand";
119
120
  import { GreengrassV2Client } from "./GreengrassV2Client";
121
+ export interface GreengrassV2RequestOptions extends __HttpHandlerOptions {
122
+ metricsRecorder?: __MetricsRecorder<unknown>;
123
+ }
120
124
  export interface GreengrassV2 {
121
125
  associateServiceRoleToAccount(
122
126
  args: AssociateServiceRoleToAccountCommandInput,
123
- options?: __HttpHandlerOptions,
127
+ options?: GreengrassV2RequestOptions,
124
128
  ): Promise<AssociateServiceRoleToAccountCommandOutput>;
125
129
  associateServiceRoleToAccount(
126
130
  args: AssociateServiceRoleToAccountCommandInput,
@@ -128,12 +132,12 @@ export interface GreengrassV2 {
128
132
  ): void;
129
133
  associateServiceRoleToAccount(
130
134
  args: AssociateServiceRoleToAccountCommandInput,
131
- options: __HttpHandlerOptions,
135
+ options: GreengrassV2RequestOptions,
132
136
  cb: (err: any, data?: AssociateServiceRoleToAccountCommandOutput) => void,
133
137
  ): void;
134
138
  batchAssociateClientDeviceWithCoreDevice(
135
139
  args: BatchAssociateClientDeviceWithCoreDeviceCommandInput,
136
- options?: __HttpHandlerOptions,
140
+ options?: GreengrassV2RequestOptions,
137
141
  ): Promise<BatchAssociateClientDeviceWithCoreDeviceCommandOutput>;
138
142
  batchAssociateClientDeviceWithCoreDevice(
139
143
  args: BatchAssociateClientDeviceWithCoreDeviceCommandInput,
@@ -141,12 +145,12 @@ export interface GreengrassV2 {
141
145
  ): void;
142
146
  batchAssociateClientDeviceWithCoreDevice(
143
147
  args: BatchAssociateClientDeviceWithCoreDeviceCommandInput,
144
- options: __HttpHandlerOptions,
148
+ options: GreengrassV2RequestOptions,
145
149
  cb: (err: any, data?: BatchAssociateClientDeviceWithCoreDeviceCommandOutput) => void,
146
150
  ): void;
147
151
  batchDisassociateClientDeviceFromCoreDevice(
148
152
  args: BatchDisassociateClientDeviceFromCoreDeviceCommandInput,
149
- options?: __HttpHandlerOptions,
153
+ options?: GreengrassV2RequestOptions,
150
154
  ): Promise<BatchDisassociateClientDeviceFromCoreDeviceCommandOutput>;
151
155
  batchDisassociateClientDeviceFromCoreDevice(
152
156
  args: BatchDisassociateClientDeviceFromCoreDeviceCommandInput,
@@ -154,12 +158,12 @@ export interface GreengrassV2 {
154
158
  ): void;
155
159
  batchDisassociateClientDeviceFromCoreDevice(
156
160
  args: BatchDisassociateClientDeviceFromCoreDeviceCommandInput,
157
- options: __HttpHandlerOptions,
161
+ options: GreengrassV2RequestOptions,
158
162
  cb: (err: any, data?: BatchDisassociateClientDeviceFromCoreDeviceCommandOutput) => void,
159
163
  ): void;
160
164
  cancelDeployment(
161
165
  args: CancelDeploymentCommandInput,
162
- options?: __HttpHandlerOptions,
166
+ options?: GreengrassV2RequestOptions,
163
167
  ): Promise<CancelDeploymentCommandOutput>;
164
168
  cancelDeployment(
165
169
  args: CancelDeploymentCommandInput,
@@ -167,13 +171,13 @@ export interface GreengrassV2 {
167
171
  ): void;
168
172
  cancelDeployment(
169
173
  args: CancelDeploymentCommandInput,
170
- options: __HttpHandlerOptions,
174
+ options: GreengrassV2RequestOptions,
171
175
  cb: (err: any, data?: CancelDeploymentCommandOutput) => void,
172
176
  ): void;
173
177
  createComponentVersion(): Promise<CreateComponentVersionCommandOutput>;
174
178
  createComponentVersion(
175
179
  args: CreateComponentVersionCommandInput,
176
- options?: __HttpHandlerOptions,
180
+ options?: GreengrassV2RequestOptions,
177
181
  ): Promise<CreateComponentVersionCommandOutput>;
178
182
  createComponentVersion(
179
183
  args: CreateComponentVersionCommandInput,
@@ -181,12 +185,12 @@ export interface GreengrassV2 {
181
185
  ): void;
182
186
  createComponentVersion(
183
187
  args: CreateComponentVersionCommandInput,
184
- options: __HttpHandlerOptions,
188
+ options: GreengrassV2RequestOptions,
185
189
  cb: (err: any, data?: CreateComponentVersionCommandOutput) => void,
186
190
  ): void;
187
191
  createDeployment(
188
192
  args: CreateDeploymentCommandInput,
189
- options?: __HttpHandlerOptions,
193
+ options?: GreengrassV2RequestOptions,
190
194
  ): Promise<CreateDeploymentCommandOutput>;
191
195
  createDeployment(
192
196
  args: CreateDeploymentCommandInput,
@@ -194,12 +198,12 @@ export interface GreengrassV2 {
194
198
  ): void;
195
199
  createDeployment(
196
200
  args: CreateDeploymentCommandInput,
197
- options: __HttpHandlerOptions,
201
+ options: GreengrassV2RequestOptions,
198
202
  cb: (err: any, data?: CreateDeploymentCommandOutput) => void,
199
203
  ): void;
200
204
  deleteComponent(
201
205
  args: DeleteComponentCommandInput,
202
- options?: __HttpHandlerOptions,
206
+ options?: GreengrassV2RequestOptions,
203
207
  ): Promise<DeleteComponentCommandOutput>;
204
208
  deleteComponent(
205
209
  args: DeleteComponentCommandInput,
@@ -207,12 +211,12 @@ export interface GreengrassV2 {
207
211
  ): void;
208
212
  deleteComponent(
209
213
  args: DeleteComponentCommandInput,
210
- options: __HttpHandlerOptions,
214
+ options: GreengrassV2RequestOptions,
211
215
  cb: (err: any, data?: DeleteComponentCommandOutput) => void,
212
216
  ): void;
213
217
  deleteCoreDevice(
214
218
  args: DeleteCoreDeviceCommandInput,
215
- options?: __HttpHandlerOptions,
219
+ options?: GreengrassV2RequestOptions,
216
220
  ): Promise<DeleteCoreDeviceCommandOutput>;
217
221
  deleteCoreDevice(
218
222
  args: DeleteCoreDeviceCommandInput,
@@ -220,12 +224,12 @@ export interface GreengrassV2 {
220
224
  ): void;
221
225
  deleteCoreDevice(
222
226
  args: DeleteCoreDeviceCommandInput,
223
- options: __HttpHandlerOptions,
227
+ options: GreengrassV2RequestOptions,
224
228
  cb: (err: any, data?: DeleteCoreDeviceCommandOutput) => void,
225
229
  ): void;
226
230
  deleteDeployment(
227
231
  args: DeleteDeploymentCommandInput,
228
- options?: __HttpHandlerOptions,
232
+ options?: GreengrassV2RequestOptions,
229
233
  ): Promise<DeleteDeploymentCommandOutput>;
230
234
  deleteDeployment(
231
235
  args: DeleteDeploymentCommandInput,
@@ -233,12 +237,12 @@ export interface GreengrassV2 {
233
237
  ): void;
234
238
  deleteDeployment(
235
239
  args: DeleteDeploymentCommandInput,
236
- options: __HttpHandlerOptions,
240
+ options: GreengrassV2RequestOptions,
237
241
  cb: (err: any, data?: DeleteDeploymentCommandOutput) => void,
238
242
  ): void;
239
243
  describeComponent(
240
244
  args: DescribeComponentCommandInput,
241
- options?: __HttpHandlerOptions,
245
+ options?: GreengrassV2RequestOptions,
242
246
  ): Promise<DescribeComponentCommandOutput>;
243
247
  describeComponent(
244
248
  args: DescribeComponentCommandInput,
@@ -246,13 +250,13 @@ export interface GreengrassV2 {
246
250
  ): void;
247
251
  describeComponent(
248
252
  args: DescribeComponentCommandInput,
249
- options: __HttpHandlerOptions,
253
+ options: GreengrassV2RequestOptions,
250
254
  cb: (err: any, data?: DescribeComponentCommandOutput) => void,
251
255
  ): void;
252
256
  disassociateServiceRoleFromAccount(): Promise<DisassociateServiceRoleFromAccountCommandOutput>;
253
257
  disassociateServiceRoleFromAccount(
254
258
  args: DisassociateServiceRoleFromAccountCommandInput,
255
- options?: __HttpHandlerOptions,
259
+ options?: GreengrassV2RequestOptions,
256
260
  ): Promise<DisassociateServiceRoleFromAccountCommandOutput>;
257
261
  disassociateServiceRoleFromAccount(
258
262
  args: DisassociateServiceRoleFromAccountCommandInput,
@@ -260,12 +264,12 @@ export interface GreengrassV2 {
260
264
  ): void;
261
265
  disassociateServiceRoleFromAccount(
262
266
  args: DisassociateServiceRoleFromAccountCommandInput,
263
- options: __HttpHandlerOptions,
267
+ options: GreengrassV2RequestOptions,
264
268
  cb: (err: any, data?: DisassociateServiceRoleFromAccountCommandOutput) => void,
265
269
  ): void;
266
270
  getComponent(
267
271
  args: GetComponentCommandInput,
268
- options?: __HttpHandlerOptions,
272
+ options?: GreengrassV2RequestOptions,
269
273
  ): Promise<GetComponentCommandOutput>;
270
274
  getComponent(
271
275
  args: GetComponentCommandInput,
@@ -273,12 +277,12 @@ export interface GreengrassV2 {
273
277
  ): void;
274
278
  getComponent(
275
279
  args: GetComponentCommandInput,
276
- options: __HttpHandlerOptions,
280
+ options: GreengrassV2RequestOptions,
277
281
  cb: (err: any, data?: GetComponentCommandOutput) => void,
278
282
  ): void;
279
283
  getComponentVersionArtifact(
280
284
  args: GetComponentVersionArtifactCommandInput,
281
- options?: __HttpHandlerOptions,
285
+ options?: GreengrassV2RequestOptions,
282
286
  ): Promise<GetComponentVersionArtifactCommandOutput>;
283
287
  getComponentVersionArtifact(
284
288
  args: GetComponentVersionArtifactCommandInput,
@@ -286,12 +290,12 @@ export interface GreengrassV2 {
286
290
  ): void;
287
291
  getComponentVersionArtifact(
288
292
  args: GetComponentVersionArtifactCommandInput,
289
- options: __HttpHandlerOptions,
293
+ options: GreengrassV2RequestOptions,
290
294
  cb: (err: any, data?: GetComponentVersionArtifactCommandOutput) => void,
291
295
  ): void;
292
296
  getConnectivityInfo(
293
297
  args: GetConnectivityInfoCommandInput,
294
- options?: __HttpHandlerOptions,
298
+ options?: GreengrassV2RequestOptions,
295
299
  ): Promise<GetConnectivityInfoCommandOutput>;
296
300
  getConnectivityInfo(
297
301
  args: GetConnectivityInfoCommandInput,
@@ -299,12 +303,12 @@ export interface GreengrassV2 {
299
303
  ): void;
300
304
  getConnectivityInfo(
301
305
  args: GetConnectivityInfoCommandInput,
302
- options: __HttpHandlerOptions,
306
+ options: GreengrassV2RequestOptions,
303
307
  cb: (err: any, data?: GetConnectivityInfoCommandOutput) => void,
304
308
  ): void;
305
309
  getCoreDevice(
306
310
  args: GetCoreDeviceCommandInput,
307
- options?: __HttpHandlerOptions,
311
+ options?: GreengrassV2RequestOptions,
308
312
  ): Promise<GetCoreDeviceCommandOutput>;
309
313
  getCoreDevice(
310
314
  args: GetCoreDeviceCommandInput,
@@ -312,12 +316,12 @@ export interface GreengrassV2 {
312
316
  ): void;
313
317
  getCoreDevice(
314
318
  args: GetCoreDeviceCommandInput,
315
- options: __HttpHandlerOptions,
319
+ options: GreengrassV2RequestOptions,
316
320
  cb: (err: any, data?: GetCoreDeviceCommandOutput) => void,
317
321
  ): void;
318
322
  getDeployment(
319
323
  args: GetDeploymentCommandInput,
320
- options?: __HttpHandlerOptions,
324
+ options?: GreengrassV2RequestOptions,
321
325
  ): Promise<GetDeploymentCommandOutput>;
322
326
  getDeployment(
323
327
  args: GetDeploymentCommandInput,
@@ -325,13 +329,13 @@ export interface GreengrassV2 {
325
329
  ): void;
326
330
  getDeployment(
327
331
  args: GetDeploymentCommandInput,
328
- options: __HttpHandlerOptions,
332
+ options: GreengrassV2RequestOptions,
329
333
  cb: (err: any, data?: GetDeploymentCommandOutput) => void,
330
334
  ): void;
331
335
  getServiceRoleForAccount(): Promise<GetServiceRoleForAccountCommandOutput>;
332
336
  getServiceRoleForAccount(
333
337
  args: GetServiceRoleForAccountCommandInput,
334
- options?: __HttpHandlerOptions,
338
+ options?: GreengrassV2RequestOptions,
335
339
  ): Promise<GetServiceRoleForAccountCommandOutput>;
336
340
  getServiceRoleForAccount(
337
341
  args: GetServiceRoleForAccountCommandInput,
@@ -339,12 +343,12 @@ export interface GreengrassV2 {
339
343
  ): void;
340
344
  getServiceRoleForAccount(
341
345
  args: GetServiceRoleForAccountCommandInput,
342
- options: __HttpHandlerOptions,
346
+ options: GreengrassV2RequestOptions,
343
347
  cb: (err: any, data?: GetServiceRoleForAccountCommandOutput) => void,
344
348
  ): void;
345
349
  listClientDevicesAssociatedWithCoreDevice(
346
350
  args: ListClientDevicesAssociatedWithCoreDeviceCommandInput,
347
- options?: __HttpHandlerOptions,
351
+ options?: GreengrassV2RequestOptions,
348
352
  ): Promise<ListClientDevicesAssociatedWithCoreDeviceCommandOutput>;
349
353
  listClientDevicesAssociatedWithCoreDevice(
350
354
  args: ListClientDevicesAssociatedWithCoreDeviceCommandInput,
@@ -352,13 +356,13 @@ export interface GreengrassV2 {
352
356
  ): void;
353
357
  listClientDevicesAssociatedWithCoreDevice(
354
358
  args: ListClientDevicesAssociatedWithCoreDeviceCommandInput,
355
- options: __HttpHandlerOptions,
359
+ options: GreengrassV2RequestOptions,
356
360
  cb: (err: any, data?: ListClientDevicesAssociatedWithCoreDeviceCommandOutput) => void,
357
361
  ): void;
358
362
  listComponents(): Promise<ListComponentsCommandOutput>;
359
363
  listComponents(
360
364
  args: ListComponentsCommandInput,
361
- options?: __HttpHandlerOptions,
365
+ options?: GreengrassV2RequestOptions,
362
366
  ): Promise<ListComponentsCommandOutput>;
363
367
  listComponents(
364
368
  args: ListComponentsCommandInput,
@@ -366,12 +370,12 @@ export interface GreengrassV2 {
366
370
  ): void;
367
371
  listComponents(
368
372
  args: ListComponentsCommandInput,
369
- options: __HttpHandlerOptions,
373
+ options: GreengrassV2RequestOptions,
370
374
  cb: (err: any, data?: ListComponentsCommandOutput) => void,
371
375
  ): void;
372
376
  listComponentVersions(
373
377
  args: ListComponentVersionsCommandInput,
374
- options?: __HttpHandlerOptions,
378
+ options?: GreengrassV2RequestOptions,
375
379
  ): Promise<ListComponentVersionsCommandOutput>;
376
380
  listComponentVersions(
377
381
  args: ListComponentVersionsCommandInput,
@@ -379,13 +383,13 @@ export interface GreengrassV2 {
379
383
  ): void;
380
384
  listComponentVersions(
381
385
  args: ListComponentVersionsCommandInput,
382
- options: __HttpHandlerOptions,
386
+ options: GreengrassV2RequestOptions,
383
387
  cb: (err: any, data?: ListComponentVersionsCommandOutput) => void,
384
388
  ): void;
385
389
  listCoreDevices(): Promise<ListCoreDevicesCommandOutput>;
386
390
  listCoreDevices(
387
391
  args: ListCoreDevicesCommandInput,
388
- options?: __HttpHandlerOptions,
392
+ options?: GreengrassV2RequestOptions,
389
393
  ): Promise<ListCoreDevicesCommandOutput>;
390
394
  listCoreDevices(
391
395
  args: ListCoreDevicesCommandInput,
@@ -393,13 +397,13 @@ export interface GreengrassV2 {
393
397
  ): void;
394
398
  listCoreDevices(
395
399
  args: ListCoreDevicesCommandInput,
396
- options: __HttpHandlerOptions,
400
+ options: GreengrassV2RequestOptions,
397
401
  cb: (err: any, data?: ListCoreDevicesCommandOutput) => void,
398
402
  ): void;
399
403
  listDeployments(): Promise<ListDeploymentsCommandOutput>;
400
404
  listDeployments(
401
405
  args: ListDeploymentsCommandInput,
402
- options?: __HttpHandlerOptions,
406
+ options?: GreengrassV2RequestOptions,
403
407
  ): Promise<ListDeploymentsCommandOutput>;
404
408
  listDeployments(
405
409
  args: ListDeploymentsCommandInput,
@@ -407,12 +411,12 @@ export interface GreengrassV2 {
407
411
  ): void;
408
412
  listDeployments(
409
413
  args: ListDeploymentsCommandInput,
410
- options: __HttpHandlerOptions,
414
+ options: GreengrassV2RequestOptions,
411
415
  cb: (err: any, data?: ListDeploymentsCommandOutput) => void,
412
416
  ): void;
413
417
  listEffectiveDeployments(
414
418
  args: ListEffectiveDeploymentsCommandInput,
415
- options?: __HttpHandlerOptions,
419
+ options?: GreengrassV2RequestOptions,
416
420
  ): Promise<ListEffectiveDeploymentsCommandOutput>;
417
421
  listEffectiveDeployments(
418
422
  args: ListEffectiveDeploymentsCommandInput,
@@ -420,12 +424,12 @@ export interface GreengrassV2 {
420
424
  ): void;
421
425
  listEffectiveDeployments(
422
426
  args: ListEffectiveDeploymentsCommandInput,
423
- options: __HttpHandlerOptions,
427
+ options: GreengrassV2RequestOptions,
424
428
  cb: (err: any, data?: ListEffectiveDeploymentsCommandOutput) => void,
425
429
  ): void;
426
430
  listInstalledComponents(
427
431
  args: ListInstalledComponentsCommandInput,
428
- options?: __HttpHandlerOptions,
432
+ options?: GreengrassV2RequestOptions,
429
433
  ): Promise<ListInstalledComponentsCommandOutput>;
430
434
  listInstalledComponents(
431
435
  args: ListInstalledComponentsCommandInput,
@@ -433,12 +437,12 @@ export interface GreengrassV2 {
433
437
  ): void;
434
438
  listInstalledComponents(
435
439
  args: ListInstalledComponentsCommandInput,
436
- options: __HttpHandlerOptions,
440
+ options: GreengrassV2RequestOptions,
437
441
  cb: (err: any, data?: ListInstalledComponentsCommandOutput) => void,
438
442
  ): void;
439
443
  listTagsForResource(
440
444
  args: ListTagsForResourceCommandInput,
441
- options?: __HttpHandlerOptions,
445
+ options?: GreengrassV2RequestOptions,
442
446
  ): Promise<ListTagsForResourceCommandOutput>;
443
447
  listTagsForResource(
444
448
  args: ListTagsForResourceCommandInput,
@@ -446,13 +450,13 @@ export interface GreengrassV2 {
446
450
  ): void;
447
451
  listTagsForResource(
448
452
  args: ListTagsForResourceCommandInput,
449
- options: __HttpHandlerOptions,
453
+ options: GreengrassV2RequestOptions,
450
454
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
451
455
  ): void;
452
456
  resolveComponentCandidates(): Promise<ResolveComponentCandidatesCommandOutput>;
453
457
  resolveComponentCandidates(
454
458
  args: ResolveComponentCandidatesCommandInput,
455
- options?: __HttpHandlerOptions,
459
+ options?: GreengrassV2RequestOptions,
456
460
  ): Promise<ResolveComponentCandidatesCommandOutput>;
457
461
  resolveComponentCandidates(
458
462
  args: ResolveComponentCandidatesCommandInput,
@@ -460,12 +464,12 @@ export interface GreengrassV2 {
460
464
  ): void;
461
465
  resolveComponentCandidates(
462
466
  args: ResolveComponentCandidatesCommandInput,
463
- options: __HttpHandlerOptions,
467
+ options: GreengrassV2RequestOptions,
464
468
  cb: (err: any, data?: ResolveComponentCandidatesCommandOutput) => void,
465
469
  ): void;
466
470
  tagResource(
467
471
  args: TagResourceCommandInput,
468
- options?: __HttpHandlerOptions,
472
+ options?: GreengrassV2RequestOptions,
469
473
  ): Promise<TagResourceCommandOutput>;
470
474
  tagResource(
471
475
  args: TagResourceCommandInput,
@@ -473,12 +477,12 @@ export interface GreengrassV2 {
473
477
  ): void;
474
478
  tagResource(
475
479
  args: TagResourceCommandInput,
476
- options: __HttpHandlerOptions,
480
+ options: GreengrassV2RequestOptions,
477
481
  cb: (err: any, data?: TagResourceCommandOutput) => void,
478
482
  ): void;
479
483
  untagResource(
480
484
  args: UntagResourceCommandInput,
481
- options?: __HttpHandlerOptions,
485
+ options?: GreengrassV2RequestOptions,
482
486
  ): Promise<UntagResourceCommandOutput>;
483
487
  untagResource(
484
488
  args: UntagResourceCommandInput,
@@ -486,12 +490,12 @@ export interface GreengrassV2 {
486
490
  ): void;
487
491
  untagResource(
488
492
  args: UntagResourceCommandInput,
489
- options: __HttpHandlerOptions,
493
+ options: GreengrassV2RequestOptions,
490
494
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
491
495
  ): void;
492
496
  updateConnectivityInfo(
493
497
  args: UpdateConnectivityInfoCommandInput,
494
- options?: __HttpHandlerOptions,
498
+ options?: GreengrassV2RequestOptions,
495
499
  ): Promise<UpdateConnectivityInfoCommandOutput>;
496
500
  updateConnectivityInfo(
497
501
  args: UpdateConnectivityInfoCommandInput,
@@ -499,7 +503,7 @@ export interface GreengrassV2 {
499
503
  ): void;
500
504
  updateConnectivityInfo(
501
505
  args: UpdateConnectivityInfoCommandInput,
502
- options: __HttpHandlerOptions,
506
+ options: GreengrassV2RequestOptions,
503
507
  cb: (err: any, data?: UpdateConnectivityInfoCommandOutput) => void,
504
508
  ): void;
505
509
  paginateListClientDevicesAssociatedWithCoreDevice(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-greengrassv2",
3
- "version": "3.1136.0",
3
+ "version": "3.1138.0",
4
4
  "description": "AWS SDK for JavaScript Greengrassv2 Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-greengrassv2",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {