@aws-sdk/client-greengrassv2 3.299.0 → 3.301.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist-types/commands/AssociateServiceRoleToAccountCommand.d.ts +3 -0
  2. package/dist-types/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +8 -0
  3. package/dist-types/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +8 -0
  4. package/dist-types/commands/CancelDeploymentCommand.d.ts +3 -0
  5. package/dist-types/commands/CreateComponentVersionCommand.d.ts +69 -0
  6. package/dist-types/commands/CreateDeploymentCommand.d.ts +64 -0
  7. package/dist-types/commands/DeleteComponentCommand.d.ts +3 -0
  8. package/dist-types/commands/DeleteCoreDeviceCommand.d.ts +3 -0
  9. package/dist-types/commands/DeleteDeploymentCommand.d.ts +3 -0
  10. package/dist-types/commands/DescribeComponentCommand.d.ts +3 -0
  11. package/dist-types/commands/DisassociateServiceRoleFromAccountCommand.d.ts +1 -0
  12. package/dist-types/commands/GetComponentCommand.d.ts +4 -0
  13. package/dist-types/commands/GetComponentVersionArtifactCommand.d.ts +4 -0
  14. package/dist-types/commands/GetConnectivityInfoCommand.d.ts +3 -0
  15. package/dist-types/commands/GetCoreDeviceCommand.d.ts +3 -0
  16. package/dist-types/commands/GetDeploymentCommand.d.ts +3 -0
  17. package/dist-types/commands/GetServiceRoleForAccountCommand.d.ts +1 -0
  18. package/dist-types/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.d.ts +5 -0
  19. package/dist-types/commands/ListComponentVersionsCommand.d.ts +5 -0
  20. package/dist-types/commands/ListComponentsCommand.d.ts +5 -0
  21. package/dist-types/commands/ListCoreDevicesCommand.d.ts +6 -0
  22. package/dist-types/commands/ListDeploymentsCommand.d.ts +7 -0
  23. package/dist-types/commands/ListEffectiveDeploymentsCommand.d.ts +5 -0
  24. package/dist-types/commands/ListInstalledComponentsCommand.d.ts +6 -0
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  26. package/dist-types/commands/ResolveComponentCandidatesCommand.d.ts +17 -0
  27. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  28. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  29. package/dist-types/commands/UpdateConnectivityInfoCommand.d.ts +11 -0
  30. package/package.json +8 -8
@@ -30,6 +30,9 @@ export interface AssociateServiceRoleToAccountCommandOutput extends AssociateSer
30
30
  * import { GreengrassV2Client, AssociateServiceRoleToAccountCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
31
31
  * // const { GreengrassV2Client, AssociateServiceRoleToAccountCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
32
32
  * const client = new GreengrassV2Client(config);
33
+ * const input = { // AssociateServiceRoleToAccountRequest
34
+ * roleArn: "STRING_VALUE", // required
35
+ * };
33
36
  * const command = new AssociateServiceRoleToAccountCommand(input);
34
37
  * const response = await client.send(command);
35
38
  * ```
@@ -37,6 +37,14 @@ export interface BatchAssociateClientDeviceWithCoreDeviceCommandOutput extends B
37
37
  * import { GreengrassV2Client, BatchAssociateClientDeviceWithCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
38
38
  * // const { GreengrassV2Client, BatchAssociateClientDeviceWithCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
39
39
  * const client = new GreengrassV2Client(config);
40
+ * const input = { // BatchAssociateClientDeviceWithCoreDeviceRequest
41
+ * entries: [ // AssociateClientDeviceWithCoreDeviceEntryList
42
+ * { // AssociateClientDeviceWithCoreDeviceEntry
43
+ * thingName: "STRING_VALUE", // required
44
+ * },
45
+ * ],
46
+ * coreDeviceThingName: "STRING_VALUE", // required
47
+ * };
40
48
  * const command = new BatchAssociateClientDeviceWithCoreDeviceCommand(input);
41
49
  * const response = await client.send(command);
42
50
  * ```
@@ -28,6 +28,14 @@ export interface BatchDisassociateClientDeviceFromCoreDeviceCommandOutput extend
28
28
  * import { GreengrassV2Client, BatchDisassociateClientDeviceFromCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
29
29
  * // const { GreengrassV2Client, BatchDisassociateClientDeviceFromCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
30
30
  * const client = new GreengrassV2Client(config);
31
+ * const input = { // BatchDisassociateClientDeviceFromCoreDeviceRequest
32
+ * entries: [ // DisassociateClientDeviceFromCoreDeviceEntryList
33
+ * { // DisassociateClientDeviceFromCoreDeviceEntry
34
+ * thingName: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * coreDeviceThingName: "STRING_VALUE", // required
38
+ * };
31
39
  * const command = new BatchDisassociateClientDeviceFromCoreDeviceCommand(input);
32
40
  * const response = await client.send(command);
33
41
  * ```
@@ -28,6 +28,9 @@ export interface CancelDeploymentCommandOutput extends CancelDeploymentResponse,
28
28
  * import { GreengrassV2Client, CancelDeploymentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
29
29
  * // const { GreengrassV2Client, CancelDeploymentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
30
30
  * const client = new GreengrassV2Client(config);
31
+ * const input = { // CancelDeploymentRequest
32
+ * deploymentId: "STRING_VALUE", // required
33
+ * };
31
34
  * const command = new CancelDeploymentCommand(input);
32
35
  * const response = await client.send(command);
33
36
  * ```
@@ -94,6 +94,75 @@ export interface CreateComponentVersionCommandOutput extends CreateComponentVers
94
94
  * import { GreengrassV2Client, CreateComponentVersionCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
95
95
  * // const { GreengrassV2Client, CreateComponentVersionCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
96
96
  * const client = new GreengrassV2Client(config);
97
+ * const input = { // CreateComponentVersionRequest
98
+ * inlineRecipe: "BLOB_VALUE",
99
+ * lambdaFunction: { // LambdaFunctionRecipeSource
100
+ * lambdaArn: "STRING_VALUE", // required
101
+ * componentName: "STRING_VALUE",
102
+ * componentVersion: "STRING_VALUE",
103
+ * componentPlatforms: [ // ComponentPlatformList
104
+ * { // ComponentPlatform
105
+ * name: "STRING_VALUE",
106
+ * attributes: { // PlatformAttributesMap
107
+ * "<keys>": "STRING_VALUE",
108
+ * },
109
+ * },
110
+ * ],
111
+ * componentDependencies: { // ComponentDependencyMap
112
+ * "<keys>": { // ComponentDependencyRequirement
113
+ * versionRequirement: "STRING_VALUE",
114
+ * dependencyType: "HARD" || "SOFT",
115
+ * },
116
+ * },
117
+ * componentLambdaParameters: { // LambdaExecutionParameters
118
+ * eventSources: [ // LambdaEventSourceList
119
+ * { // LambdaEventSource
120
+ * topic: "STRING_VALUE", // required
121
+ * type: "PUB_SUB" || "IOT_CORE", // required
122
+ * },
123
+ * ],
124
+ * maxQueueSize: Number("int"),
125
+ * maxInstancesCount: Number("int"),
126
+ * maxIdleTimeInSeconds: Number("int"),
127
+ * timeoutInSeconds: Number("int"),
128
+ * statusTimeoutInSeconds: Number("int"),
129
+ * pinned: true || false,
130
+ * inputPayloadEncodingType: "json" || "binary",
131
+ * execArgs: [ // LambdaExecArgsList
132
+ * "STRING_VALUE",
133
+ * ],
134
+ * environmentVariables: { // LambdaEnvironmentVariables
135
+ * "<keys>": "STRING_VALUE",
136
+ * },
137
+ * linuxProcessParams: { // LambdaLinuxProcessParams
138
+ * isolationMode: "GreengrassContainer" || "NoContainer",
139
+ * containerParams: { // LambdaContainerParams
140
+ * memorySizeInKB: Number("int"),
141
+ * mountROSysfs: true || false,
142
+ * volumes: [ // LambdaVolumeList
143
+ * { // LambdaVolumeMount
144
+ * sourcePath: "STRING_VALUE", // required
145
+ * destinationPath: "STRING_VALUE", // required
146
+ * permission: "ro" || "rw",
147
+ * addGroupOwner: true || false,
148
+ * },
149
+ * ],
150
+ * devices: [ // LambdaDeviceList
151
+ * { // LambdaDeviceMount
152
+ * path: "STRING_VALUE", // required
153
+ * permission: "ro" || "rw",
154
+ * addGroupOwner: true || false,
155
+ * },
156
+ * ],
157
+ * },
158
+ * },
159
+ * },
160
+ * },
161
+ * tags: { // TagMap
162
+ * "<keys>": "STRING_VALUE",
163
+ * },
164
+ * clientToken: "STRING_VALUE",
165
+ * };
97
166
  * const command = new CreateComponentVersionCommand(input);
98
167
  * const response = await client.send(command);
99
168
  * ```
@@ -36,6 +36,70 @@ export interface CreateDeploymentCommandOutput extends CreateDeploymentResponse,
36
36
  * import { GreengrassV2Client, CreateDeploymentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
37
37
  * // const { GreengrassV2Client, CreateDeploymentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
38
38
  * const client = new GreengrassV2Client(config);
39
+ * const input = { // CreateDeploymentRequest
40
+ * targetArn: "STRING_VALUE", // required
41
+ * deploymentName: "STRING_VALUE",
42
+ * components: { // ComponentDeploymentSpecifications
43
+ * "<keys>": { // ComponentDeploymentSpecification
44
+ * componentVersion: "STRING_VALUE",
45
+ * configurationUpdate: { // ComponentConfigurationUpdate
46
+ * merge: "STRING_VALUE",
47
+ * reset: [ // ComponentConfigurationPathList
48
+ * "STRING_VALUE",
49
+ * ],
50
+ * },
51
+ * runWith: { // ComponentRunWith
52
+ * posixUser: "STRING_VALUE",
53
+ * systemResourceLimits: { // SystemResourceLimits
54
+ * memory: Number("long"),
55
+ * cpus: Number("double"),
56
+ * },
57
+ * windowsUser: "STRING_VALUE",
58
+ * },
59
+ * },
60
+ * },
61
+ * iotJobConfiguration: { // DeploymentIoTJobConfiguration
62
+ * jobExecutionsRolloutConfig: { // IoTJobExecutionsRolloutConfig
63
+ * exponentialRate: { // IoTJobExponentialRolloutRate
64
+ * baseRatePerMinute: Number("int"), // required
65
+ * incrementFactor: Number("double"), // required
66
+ * rateIncreaseCriteria: { // IoTJobRateIncreaseCriteria
67
+ * numberOfNotifiedThings: Number("int"),
68
+ * numberOfSucceededThings: Number("int"),
69
+ * },
70
+ * },
71
+ * maximumPerMinute: Number("int"),
72
+ * },
73
+ * abortConfig: { // IoTJobAbortConfig
74
+ * criteriaList: [ // IoTJobAbortCriteriaList // required
75
+ * { // IoTJobAbortCriteria
76
+ * failureType: "FAILED" || "REJECTED" || "TIMED_OUT" || "ALL", // required
77
+ * action: "CANCEL", // required
78
+ * thresholdPercentage: Number("double"), // required
79
+ * minNumberOfExecutedThings: Number("int"), // required
80
+ * },
81
+ * ],
82
+ * },
83
+ * timeoutConfig: { // IoTJobTimeoutConfig
84
+ * inProgressTimeoutInMinutes: Number("long"),
85
+ * },
86
+ * },
87
+ * deploymentPolicies: { // DeploymentPolicies
88
+ * failureHandlingPolicy: "ROLLBACK" || "DO_NOTHING",
89
+ * componentUpdatePolicy: { // DeploymentComponentUpdatePolicy
90
+ * timeoutInSeconds: Number("int"),
91
+ * action: "NOTIFY_COMPONENTS" || "SKIP_NOTIFY_COMPONENTS",
92
+ * },
93
+ * configurationValidationPolicy: { // DeploymentConfigurationValidationPolicy
94
+ * timeoutInSeconds: Number("int"),
95
+ * },
96
+ * },
97
+ * parentTargetArn: "STRING_VALUE",
98
+ * tags: { // TagMap
99
+ * "<keys>": "STRING_VALUE",
100
+ * },
101
+ * clientToken: "STRING_VALUE",
102
+ * };
39
103
  * const command = new CreateDeploymentCommand(input);
40
104
  * const response = await client.send(command);
41
105
  * ```
@@ -32,6 +32,9 @@ export interface DeleteComponentCommandOutput extends __MetadataBearer {
32
32
  * import { GreengrassV2Client, DeleteComponentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
33
33
  * // const { GreengrassV2Client, DeleteComponentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
34
34
  * const client = new GreengrassV2Client(config);
35
+ * const input = { // DeleteComponentRequest
36
+ * arn: "STRING_VALUE", // required
37
+ * };
35
38
  * const command = new DeleteComponentCommand(input);
36
39
  * const response = await client.send(command);
37
40
  * ```
@@ -29,6 +29,9 @@ export interface DeleteCoreDeviceCommandOutput extends __MetadataBearer {
29
29
  * import { GreengrassV2Client, DeleteCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
30
30
  * // const { GreengrassV2Client, DeleteCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
31
31
  * const client = new GreengrassV2Client(config);
32
+ * const input = { // DeleteCoreDeviceRequest
33
+ * coreDeviceThingName: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new DeleteCoreDeviceCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```
@@ -30,6 +30,9 @@ export interface DeleteDeploymentCommandOutput extends __MetadataBearer {
30
30
  * import { GreengrassV2Client, DeleteDeploymentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
31
31
  * // const { GreengrassV2Client, DeleteDeploymentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
32
32
  * const client = new GreengrassV2Client(config);
33
+ * const input = { // DeleteDeploymentRequest
34
+ * deploymentId: "STRING_VALUE", // required
35
+ * };
33
36
  * const command = new DeleteDeploymentCommand(input);
34
37
  * const response = await client.send(command);
35
38
  * ```
@@ -26,6 +26,9 @@ export interface DescribeComponentCommandOutput extends DescribeComponentRespons
26
26
  * import { GreengrassV2Client, DescribeComponentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
27
27
  * // const { GreengrassV2Client, DescribeComponentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
28
28
  * const client = new GreengrassV2Client(config);
29
+ * const input = { // DescribeComponentRequest
30
+ * arn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new DescribeComponentCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -29,6 +29,7 @@ export interface DisassociateServiceRoleFromAccountCommandOutput extends Disasso
29
29
  * import { GreengrassV2Client, DisassociateServiceRoleFromAccountCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
30
30
  * // const { GreengrassV2Client, DisassociateServiceRoleFromAccountCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
31
31
  * const client = new GreengrassV2Client(config);
32
+ * const input = {};
32
33
  * const command = new DisassociateServiceRoleFromAccountCommand(input);
33
34
  * const response = await client.send(command);
34
35
  * ```
@@ -26,6 +26,10 @@ export interface GetComponentCommandOutput extends GetComponentResponse, __Metad
26
26
  * import { GreengrassV2Client, GetComponentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
27
27
  * // const { GreengrassV2Client, GetComponentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
28
28
  * const client = new GreengrassV2Client(config);
29
+ * const input = { // GetComponentRequest
30
+ * recipeOutputFormat: "JSON" || "YAML",
31
+ * arn: "STRING_VALUE", // required
32
+ * };
29
33
  * const command = new GetComponentCommand(input);
30
34
  * const response = await client.send(command);
31
35
  * ```
@@ -27,6 +27,10 @@ export interface GetComponentVersionArtifactCommandOutput extends GetComponentVe
27
27
  * import { GreengrassV2Client, GetComponentVersionArtifactCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
28
28
  * // const { GreengrassV2Client, GetComponentVersionArtifactCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
29
29
  * const client = new GreengrassV2Client(config);
30
+ * const input = { // GetComponentVersionArtifactRequest
31
+ * arn: "STRING_VALUE", // required
32
+ * artifactName: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new GetComponentVersionArtifactCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```
@@ -32,6 +32,9 @@ export interface GetConnectivityInfoCommandOutput extends GetConnectivityInfoRes
32
32
  * import { GreengrassV2Client, GetConnectivityInfoCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
33
33
  * // const { GreengrassV2Client, GetConnectivityInfoCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
34
34
  * const client = new GreengrassV2Client(config);
35
+ * const input = { // GetConnectivityInfoRequest
36
+ * thingName: "STRING_VALUE", // required
37
+ * };
35
38
  * const command = new GetConnectivityInfoCommand(input);
36
39
  * const response = await client.send(command);
37
40
  * ```
@@ -53,6 +53,9 @@ export interface GetCoreDeviceCommandOutput extends GetCoreDeviceResponse, __Met
53
53
  * import { GreengrassV2Client, GetCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
54
54
  * // const { GreengrassV2Client, GetCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
55
55
  * const client = new GreengrassV2Client(config);
56
+ * const input = { // GetCoreDeviceRequest
57
+ * coreDeviceThingName: "STRING_VALUE", // required
58
+ * };
56
59
  * const command = new GetCoreDeviceCommand(input);
57
60
  * const response = await client.send(command);
58
61
  * ```
@@ -26,6 +26,9 @@ export interface GetDeploymentCommandOutput extends GetDeploymentResponse, __Met
26
26
  * import { GreengrassV2Client, GetDeploymentCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
27
27
  * // const { GreengrassV2Client, GetDeploymentCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
28
28
  * const client = new GreengrassV2Client(config);
29
+ * const input = { // GetDeploymentRequest
30
+ * deploymentId: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetDeploymentCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -29,6 +29,7 @@ export interface GetServiceRoleForAccountCommandOutput extends GetServiceRoleFor
29
29
  * import { GreengrassV2Client, GetServiceRoleForAccountCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
30
30
  * // const { GreengrassV2Client, GetServiceRoleForAccountCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
31
31
  * const client = new GreengrassV2Client(config);
32
+ * const input = {};
32
33
  * const command = new GetServiceRoleForAccountCommand(input);
33
34
  * const response = await client.send(command);
34
35
  * ```
@@ -27,6 +27,11 @@ export interface ListClientDevicesAssociatedWithCoreDeviceCommandOutput extends
27
27
  * import { GreengrassV2Client, ListClientDevicesAssociatedWithCoreDeviceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
28
28
  * // const { GreengrassV2Client, ListClientDevicesAssociatedWithCoreDeviceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
29
29
  * const client = new GreengrassV2Client(config);
30
+ * const input = { // ListClientDevicesAssociatedWithCoreDeviceRequest
31
+ * coreDeviceThingName: "STRING_VALUE", // required
32
+ * maxResults: Number("int"),
33
+ * nextToken: "STRING_VALUE",
34
+ * };
30
35
  * const command = new ListClientDevicesAssociatedWithCoreDeviceCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,11 @@ export interface ListComponentVersionsCommandOutput extends ListComponentVersion
26
26
  * import { GreengrassV2Client, ListComponentVersionsCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
27
27
  * // const { GreengrassV2Client, ListComponentVersionsCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
28
28
  * const client = new GreengrassV2Client(config);
29
+ * const input = { // ListComponentVersionsRequest
30
+ * arn: "STRING_VALUE", // required
31
+ * maxResults: Number("int"),
32
+ * nextToken: "STRING_VALUE",
33
+ * };
29
34
  * const command = new ListComponentVersionsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,11 @@ export interface ListComponentsCommandOutput extends ListComponentsResponse, __M
27
27
  * import { GreengrassV2Client, ListComponentsCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
28
28
  * // const { GreengrassV2Client, ListComponentsCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
29
29
  * const client = new GreengrassV2Client(config);
30
+ * const input = { // ListComponentsRequest
31
+ * scope: "PRIVATE" || "PUBLIC",
32
+ * maxResults: Number("int"),
33
+ * nextToken: "STRING_VALUE",
34
+ * };
30
35
  * const command = new ListComponentsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -53,6 +53,12 @@ export interface ListCoreDevicesCommandOutput extends ListCoreDevicesResponse, _
53
53
  * import { GreengrassV2Client, ListCoreDevicesCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
54
54
  * // const { GreengrassV2Client, ListCoreDevicesCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
55
55
  * const client = new GreengrassV2Client(config);
56
+ * const input = { // ListCoreDevicesRequest
57
+ * thingGroupArn: "STRING_VALUE",
58
+ * status: "HEALTHY" || "UNHEALTHY",
59
+ * maxResults: Number("int"),
60
+ * nextToken: "STRING_VALUE",
61
+ * };
56
62
  * const command = new ListCoreDevicesCommand(input);
57
63
  * const response = await client.send(command);
58
64
  * ```
@@ -26,6 +26,13 @@ export interface ListDeploymentsCommandOutput extends ListDeploymentsResponse, _
26
26
  * import { GreengrassV2Client, ListDeploymentsCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
27
27
  * // const { GreengrassV2Client, ListDeploymentsCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
28
28
  * const client = new GreengrassV2Client(config);
29
+ * const input = { // ListDeploymentsRequest
30
+ * targetArn: "STRING_VALUE",
31
+ * historyFilter: "ALL" || "LATEST_ONLY",
32
+ * parentTargetArn: "STRING_VALUE",
33
+ * maxResults: Number("int"),
34
+ * nextToken: "STRING_VALUE",
35
+ * };
29
36
  * const command = new ListDeploymentsCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -27,6 +27,11 @@ export interface ListEffectiveDeploymentsCommandOutput extends ListEffectiveDepl
27
27
  * import { GreengrassV2Client, ListEffectiveDeploymentsCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
28
28
  * // const { GreengrassV2Client, ListEffectiveDeploymentsCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
29
29
  * const client = new GreengrassV2Client(config);
30
+ * const input = { // ListEffectiveDeploymentsRequest
31
+ * coreDeviceThingName: "STRING_VALUE", // required
32
+ * maxResults: Number("int"),
33
+ * nextToken: "STRING_VALUE",
34
+ * };
30
35
  * const command = new ListEffectiveDeploymentsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -55,6 +55,12 @@ export interface ListInstalledComponentsCommandOutput extends ListInstalledCompo
55
55
  * import { GreengrassV2Client, ListInstalledComponentsCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
56
56
  * // const { GreengrassV2Client, ListInstalledComponentsCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
57
57
  * const client = new GreengrassV2Client(config);
58
+ * const input = { // ListInstalledComponentsRequest
59
+ * coreDeviceThingName: "STRING_VALUE", // required
60
+ * maxResults: Number("int"),
61
+ * nextToken: "STRING_VALUE",
62
+ * topologyFilter: "ALL" || "ROOT",
63
+ * };
58
64
  * const command = new ListInstalledComponentsCommand(input);
59
65
  * const response = await client.send(command);
60
66
  * ```
@@ -26,6 +26,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
26
26
  * import { GreengrassV2Client, ListTagsForResourceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
27
27
  * // const { GreengrassV2Client, ListTagsForResourceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
28
28
  * const client = new GreengrassV2Client(config);
29
+ * const input = { // ListTagsForResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new ListTagsForResourceCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -40,6 +40,23 @@ export interface ResolveComponentCandidatesCommandOutput extends ResolveComponen
40
40
  * import { GreengrassV2Client, ResolveComponentCandidatesCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
41
41
  * // const { GreengrassV2Client, ResolveComponentCandidatesCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
42
42
  * const client = new GreengrassV2Client(config);
43
+ * const input = { // ResolveComponentCandidatesRequest
44
+ * platform: { // ComponentPlatform
45
+ * name: "STRING_VALUE",
46
+ * attributes: { // PlatformAttributesMap
47
+ * "<keys>": "STRING_VALUE",
48
+ * },
49
+ * },
50
+ * componentCandidates: [ // ComponentCandidateList
51
+ * { // ComponentCandidate
52
+ * componentName: "STRING_VALUE",
53
+ * componentVersion: "STRING_VALUE",
54
+ * versionRequirements: { // ComponentVersionRequirementMap
55
+ * "<keys>": "STRING_VALUE",
56
+ * },
57
+ * },
58
+ * ],
59
+ * };
43
60
  * const command = new ResolveComponentCandidatesCommand(input);
44
61
  * const response = await client.send(command);
45
62
  * ```
@@ -27,6 +27,12 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
27
27
  * import { GreengrassV2Client, TagResourceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
28
28
  * // const { GreengrassV2Client, TagResourceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
29
29
  * const client = new GreengrassV2Client(config);
30
+ * const input = { // TagResourceRequest
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * tags: { // TagMap // required
33
+ * "<keys>": "STRING_VALUE",
34
+ * },
35
+ * };
30
36
  * const command = new TagResourceCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { GreengrassV2Client, UntagResourceCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
27
27
  * // const { GreengrassV2Client, UntagResourceCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
28
28
  * const client = new GreengrassV2Client(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceArn: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -32,6 +32,17 @@ export interface UpdateConnectivityInfoCommandOutput extends UpdateConnectivityI
32
32
  * import { GreengrassV2Client, UpdateConnectivityInfoCommand } from "@aws-sdk/client-greengrassv2"; // ES Modules import
33
33
  * // const { GreengrassV2Client, UpdateConnectivityInfoCommand } = require("@aws-sdk/client-greengrassv2"); // CommonJS import
34
34
  * const client = new GreengrassV2Client(config);
35
+ * const input = { // UpdateConnectivityInfoRequest
36
+ * thingName: "STRING_VALUE", // required
37
+ * connectivityInfo: [ // connectivityInfoList // required
38
+ * { // ConnectivityInfo
39
+ * id: "STRING_VALUE",
40
+ * hostAddress: "STRING_VALUE",
41
+ * portNumber: Number("int"),
42
+ * metadata: "STRING_VALUE",
43
+ * },
44
+ * ],
45
+ * };
35
46
  * const command = new UpdateConnectivityInfoCommand(input);
36
47
  * const response = await client.send(command);
37
48
  * ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-greengrassv2",
3
3
  "description": "AWS SDK for JavaScript Greengrassv2 Client for Node.js, Browser and React Native",
4
- "version": "3.299.0",
4
+ "version": "3.301.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.299.0",
25
- "@aws-sdk/config-resolver": "3.299.0",
26
- "@aws-sdk/credential-provider-node": "3.299.0",
24
+ "@aws-sdk/client-sts": "3.301.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.301.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
37
  "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.299.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"