@aws-sdk/client-greengrassv2 3.186.0 → 3.188.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 +19 -0
- package/dist-cjs/models/models_0.js +6 -2
- package/dist-cjs/protocols/Aws_restJson1.js +53 -0
- package/dist-es/GreengrassV2.js +118 -125
- package/dist-es/GreengrassV2Client.js +22 -28
- package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +21 -28
- package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +21 -28
- package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +21 -28
- package/dist-es/commands/CancelDeploymentCommand.js +21 -28
- package/dist-es/commands/CreateComponentVersionCommand.js +21 -28
- package/dist-es/commands/CreateDeploymentCommand.js +21 -28
- package/dist-es/commands/DeleteComponentCommand.js +22 -29
- package/dist-es/commands/DeleteCoreDeviceCommand.js +22 -29
- package/dist-es/commands/DeleteDeploymentCommand.js +22 -29
- package/dist-es/commands/DescribeComponentCommand.js +21 -28
- package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +21 -28
- package/dist-es/commands/GetComponentCommand.js +21 -28
- package/dist-es/commands/GetComponentVersionArtifactCommand.js +21 -28
- package/dist-es/commands/GetConnectivityInfoCommand.js +21 -28
- package/dist-es/commands/GetCoreDeviceCommand.js +21 -28
- package/dist-es/commands/GetDeploymentCommand.js +21 -28
- package/dist-es/commands/GetServiceRoleForAccountCommand.js +21 -28
- package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +21 -28
- package/dist-es/commands/ListComponentVersionsCommand.js +21 -28
- package/dist-es/commands/ListComponentsCommand.js +21 -28
- package/dist-es/commands/ListCoreDevicesCommand.js +21 -28
- package/dist-es/commands/ListDeploymentsCommand.js +21 -28
- package/dist-es/commands/ListEffectiveDeploymentsCommand.js +21 -28
- package/dist-es/commands/ListInstalledComponentsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ResolveComponentCandidatesCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateConnectivityInfoCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/GreengrassV2ServiceException.js +5 -10
- package/dist-es/models/models_0.js +390 -198
- package/dist-es/pagination/ListClientDevicesAssociatedWithCoreDevicePaginator.js +25 -68
- package/dist-es/pagination/ListComponentVersionsPaginator.js +25 -68
- package/dist-es/pagination/ListComponentsPaginator.js +25 -68
- package/dist-es/pagination/ListCoreDevicesPaginator.js +25 -68
- package/dist-es/pagination/ListDeploymentsPaginator.js +25 -68
- package/dist-es/pagination/ListEffectiveDeploymentsPaginator.js +25 -68
- package/dist-es/pagination/ListInstalledComponentsPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +2533 -3292
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-types/models/models_0.d.ts +65 -4
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-greengrassv2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.187.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.186.0...v3.187.0) (2022-10-07)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-greengrassv2:** This release adds error status details for deployments and components that failed on a device and adds features to improve visibility into component installation. ([0faff07](https://github.com/aws/aws-sdk-js-v3/commit/0faff0779623527f7697d2dd06d2adb568d68fae))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-greengrassv2
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SystemResourceLimitsFilterSensitiveLog = exports.ComponentDependencyRequirementFilterSensitiveLog = exports.ComponentConfigurationUpdateFilterSensitiveLog = exports.ComponentCandidateFilterSensitiveLog = exports.ComponentFilterSensitiveLog = exports.ComponentLatestVersionFilterSensitiveLog = exports.ComponentPlatformFilterSensitiveLog = exports.CloudComponentStatusFilterSensitiveLog = exports.CancelDeploymentResponseFilterSensitiveLog = exports.CancelDeploymentRequestFilterSensitiveLog = exports.BatchDisassociateClientDeviceFromCoreDeviceResponseFilterSensitiveLog = exports.DisassociateClientDeviceFromCoreDeviceErrorEntryFilterSensitiveLog = exports.BatchDisassociateClientDeviceFromCoreDeviceRequestFilterSensitiveLog = exports.DisassociateClientDeviceFromCoreDeviceEntryFilterSensitiveLog = exports.BatchAssociateClientDeviceWithCoreDeviceResponseFilterSensitiveLog = exports.BatchAssociateClientDeviceWithCoreDeviceRequestFilterSensitiveLog = exports.ValidationExceptionFieldFilterSensitiveLog = exports.AssociateServiceRoleToAccountResponseFilterSensitiveLog = exports.AssociateServiceRoleToAccountRequestFilterSensitiveLog = exports.AssociatedClientDeviceFilterSensitiveLog = exports.AssociateClientDeviceWithCoreDeviceErrorEntryFilterSensitiveLog = exports.AssociateClientDeviceWithCoreDeviceEntryFilterSensitiveLog = exports.InstalledComponentLifecycleState = exports.InstalledComponentTopologyFilter = exports.RecipeOutputFormat = exports.EffectiveDeploymentExecutionStatus = exports.DeploymentHistoryFilter = exports.DeploymentStatus = exports.IoTJobExecutionFailureType = exports.IoTJobAbortAction = exports.DeploymentFailureHandlingPolicy = exports.DeploymentComponentUpdatePolicyAction = exports.ServiceQuotaExceededException = exports.RequestAlreadyInProgressException = exports.LambdaIsolationMode = exports.LambdaFilesystemPermission = exports.LambdaInputPayloadEncodingType = exports.LambdaEventSourceType = exports.CoreDeviceStatus = exports.ComponentVisibilityScope = exports.ComponentDependencyType = exports.VendorGuidance = exports.CloudComponentState = exports.ConflictException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.ValidationException = exports.ValidationExceptionReason = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpdateConnectivityInfoResponseFilterSensitiveLog = exports.UpdateConnectivityInfoRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ResolveComponentCandidatesResponseFilterSensitiveLog = exports.ResolvedComponentVersionFilterSensitiveLog = exports.ResolveComponentCandidatesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListInstalledComponentsResponseFilterSensitiveLog = exports.InstalledComponentFilterSensitiveLog = exports.ListInstalledComponentsRequestFilterSensitiveLog = exports.ListEffectiveDeploymentsResponseFilterSensitiveLog = exports.ListEffectiveDeploymentsRequestFilterSensitiveLog = exports.ListDeploymentsResponseFilterSensitiveLog = exports.ListDeploymentsRequestFilterSensitiveLog = exports.ListCoreDevicesResponseFilterSensitiveLog = exports.ListCoreDevicesRequestFilterSensitiveLog = exports.ListComponentVersionsResponseFilterSensitiveLog = exports.ListComponentVersionsRequestFilterSensitiveLog = exports.ListComponentsResponseFilterSensitiveLog = void 0;
|
|
4
|
+
exports.ListClientDevicesAssociatedWithCoreDeviceResponseFilterSensitiveLog = exports.ListClientDevicesAssociatedWithCoreDeviceRequestFilterSensitiveLog = exports.GetServiceRoleForAccountResponseFilterSensitiveLog = exports.GetServiceRoleForAccountRequestFilterSensitiveLog = exports.GetDeploymentResponseFilterSensitiveLog = exports.GetDeploymentRequestFilterSensitiveLog = exports.GetCoreDeviceResponseFilterSensitiveLog = exports.GetCoreDeviceRequestFilterSensitiveLog = exports.GetConnectivityInfoResponseFilterSensitiveLog = exports.GetConnectivityInfoRequestFilterSensitiveLog = exports.GetComponentVersionArtifactResponseFilterSensitiveLog = exports.GetComponentVersionArtifactRequestFilterSensitiveLog = exports.GetComponentResponseFilterSensitiveLog = exports.GetComponentRequestFilterSensitiveLog = exports.EffectiveDeploymentFilterSensitiveLog = exports.EffectiveDeploymentStatusDetailsFilterSensitiveLog = exports.DisassociateServiceRoleFromAccountResponseFilterSensitiveLog = exports.DisassociateServiceRoleFromAccountRequestFilterSensitiveLog = exports.DescribeComponentResponseFilterSensitiveLog = exports.DescribeComponentRequestFilterSensitiveLog = exports.DeploymentFilterSensitiveLog = exports.DeleteDeploymentRequestFilterSensitiveLog = exports.DeleteCoreDeviceRequestFilterSensitiveLog = exports.DeleteComponentRequestFilterSensitiveLog = exports.CreateDeploymentResponseFilterSensitiveLog = exports.CreateDeploymentRequestFilterSensitiveLog = exports.DeploymentIoTJobConfigurationFilterSensitiveLog = exports.IoTJobTimeoutConfigFilterSensitiveLog = exports.IoTJobExecutionsRolloutConfigFilterSensitiveLog = exports.IoTJobExponentialRolloutRateFilterSensitiveLog = exports.IoTJobRateIncreaseCriteriaFilterSensitiveLog = exports.IoTJobAbortConfigFilterSensitiveLog = exports.IoTJobAbortCriteriaFilterSensitiveLog = exports.DeploymentPoliciesFilterSensitiveLog = exports.DeploymentConfigurationValidationPolicyFilterSensitiveLog = exports.DeploymentComponentUpdatePolicyFilterSensitiveLog = exports.CreateComponentVersionResponseFilterSensitiveLog = exports.CreateComponentVersionRequestFilterSensitiveLog = exports.LambdaFunctionRecipeSourceFilterSensitiveLog = exports.LambdaExecutionParametersFilterSensitiveLog = exports.LambdaLinuxProcessParamsFilterSensitiveLog = exports.LambdaContainerParamsFilterSensitiveLog = exports.LambdaVolumeMountFilterSensitiveLog = exports.LambdaDeviceMountFilterSensitiveLog = exports.LambdaEventSourceFilterSensitiveLog = exports.CoreDeviceFilterSensitiveLog = exports.ConnectivityInfoFilterSensitiveLog = exports.ComponentVersionListItemFilterSensitiveLog = exports.ComponentDeploymentSpecificationFilterSensitiveLog = exports.ComponentRunWithFilterSensitiveLog = void 0;
|
|
5
|
+
exports.UpdateConnectivityInfoResponseFilterSensitiveLog = exports.UpdateConnectivityInfoRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.ResolveComponentCandidatesResponseFilterSensitiveLog = exports.ResolvedComponentVersionFilterSensitiveLog = exports.ResolveComponentCandidatesRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListInstalledComponentsResponseFilterSensitiveLog = exports.InstalledComponentFilterSensitiveLog = exports.ListInstalledComponentsRequestFilterSensitiveLog = exports.ListEffectiveDeploymentsResponseFilterSensitiveLog = exports.ListEffectiveDeploymentsRequestFilterSensitiveLog = exports.ListDeploymentsResponseFilterSensitiveLog = exports.ListDeploymentsRequestFilterSensitiveLog = exports.ListCoreDevicesResponseFilterSensitiveLog = exports.ListCoreDevicesRequestFilterSensitiveLog = exports.ListComponentVersionsResponseFilterSensitiveLog = exports.ListComponentVersionsRequestFilterSensitiveLog = exports.ListComponentsResponseFilterSensitiveLog = exports.ListComponentsRequestFilterSensitiveLog = void 0;
|
|
6
6
|
const GreengrassV2ServiceException_1 = require("./GreengrassV2ServiceException");
|
|
7
7
|
class AccessDeniedException extends GreengrassV2ServiceException_1.GreengrassV2ServiceException {
|
|
8
8
|
constructor(opts) {
|
|
@@ -467,6 +467,10 @@ const DisassociateServiceRoleFromAccountResponseFilterSensitiveLog = (obj) => ({
|
|
|
467
467
|
...obj,
|
|
468
468
|
});
|
|
469
469
|
exports.DisassociateServiceRoleFromAccountResponseFilterSensitiveLog = DisassociateServiceRoleFromAccountResponseFilterSensitiveLog;
|
|
470
|
+
const EffectiveDeploymentStatusDetailsFilterSensitiveLog = (obj) => ({
|
|
471
|
+
...obj,
|
|
472
|
+
});
|
|
473
|
+
exports.EffectiveDeploymentStatusDetailsFilterSensitiveLog = EffectiveDeploymentStatusDetailsFilterSensitiveLog;
|
|
470
474
|
const EffectiveDeploymentFilterSensitiveLog = (obj) => ({
|
|
471
475
|
...obj,
|
|
472
476
|
});
|
|
@@ -2826,9 +2826,34 @@ const deserializeAws_restJson1EffectiveDeployment = (output, context) => {
|
|
|
2826
2826
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.modifiedTimestamp)))
|
|
2827
2827
|
: undefined,
|
|
2828
2828
|
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
2829
|
+
statusDetails: output.statusDetails != null
|
|
2830
|
+
? deserializeAws_restJson1EffectiveDeploymentStatusDetails(output.statusDetails, context)
|
|
2831
|
+
: undefined,
|
|
2829
2832
|
targetArn: (0, smithy_client_1.expectString)(output.targetArn),
|
|
2830
2833
|
};
|
|
2831
2834
|
};
|
|
2835
|
+
const deserializeAws_restJson1EffectiveDeploymentErrorStack = (output, context) => {
|
|
2836
|
+
const retVal = (output || [])
|
|
2837
|
+
.filter((e) => e != null)
|
|
2838
|
+
.map((entry) => {
|
|
2839
|
+
if (entry === null) {
|
|
2840
|
+
return null;
|
|
2841
|
+
}
|
|
2842
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2843
|
+
});
|
|
2844
|
+
return retVal;
|
|
2845
|
+
};
|
|
2846
|
+
const deserializeAws_restJson1EffectiveDeploymentErrorTypeList = (output, context) => {
|
|
2847
|
+
const retVal = (output || [])
|
|
2848
|
+
.filter((e) => e != null)
|
|
2849
|
+
.map((entry) => {
|
|
2850
|
+
if (entry === null) {
|
|
2851
|
+
return null;
|
|
2852
|
+
}
|
|
2853
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2854
|
+
});
|
|
2855
|
+
return retVal;
|
|
2856
|
+
};
|
|
2832
2857
|
const deserializeAws_restJson1EffectiveDeploymentsList = (output, context) => {
|
|
2833
2858
|
const retVal = (output || [])
|
|
2834
2859
|
.filter((e) => e != null)
|
|
@@ -2840,18 +2865,46 @@ const deserializeAws_restJson1EffectiveDeploymentsList = (output, context) => {
|
|
|
2840
2865
|
});
|
|
2841
2866
|
return retVal;
|
|
2842
2867
|
};
|
|
2868
|
+
const deserializeAws_restJson1EffectiveDeploymentStatusDetails = (output, context) => {
|
|
2869
|
+
return {
|
|
2870
|
+
errorStack: output.errorStack != null
|
|
2871
|
+
? deserializeAws_restJson1EffectiveDeploymentErrorStack(output.errorStack, context)
|
|
2872
|
+
: undefined,
|
|
2873
|
+
errorTypes: output.errorTypes != null
|
|
2874
|
+
? deserializeAws_restJson1EffectiveDeploymentErrorTypeList(output.errorTypes, context)
|
|
2875
|
+
: undefined,
|
|
2876
|
+
};
|
|
2877
|
+
};
|
|
2843
2878
|
const deserializeAws_restJson1InstalledComponent = (output, context) => {
|
|
2844
2879
|
return {
|
|
2845
2880
|
componentName: (0, smithy_client_1.expectString)(output.componentName),
|
|
2846
2881
|
componentVersion: (0, smithy_client_1.expectString)(output.componentVersion),
|
|
2847
2882
|
isRoot: (0, smithy_client_1.expectBoolean)(output.isRoot),
|
|
2883
|
+
lastInstallationSource: (0, smithy_client_1.expectString)(output.lastInstallationSource),
|
|
2884
|
+
lastReportedTimestamp: output.lastReportedTimestamp != null
|
|
2885
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastReportedTimestamp)))
|
|
2886
|
+
: undefined,
|
|
2848
2887
|
lastStatusChangeTimestamp: output.lastStatusChangeTimestamp != null
|
|
2849
2888
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastStatusChangeTimestamp)))
|
|
2850
2889
|
: undefined,
|
|
2851
2890
|
lifecycleState: (0, smithy_client_1.expectString)(output.lifecycleState),
|
|
2852
2891
|
lifecycleStateDetails: (0, smithy_client_1.expectString)(output.lifecycleStateDetails),
|
|
2892
|
+
lifecycleStatusCodes: output.lifecycleStatusCodes != null
|
|
2893
|
+
? deserializeAws_restJson1InstalledComponentLifecycleStatusCodeList(output.lifecycleStatusCodes, context)
|
|
2894
|
+
: undefined,
|
|
2853
2895
|
};
|
|
2854
2896
|
};
|
|
2897
|
+
const deserializeAws_restJson1InstalledComponentLifecycleStatusCodeList = (output, context) => {
|
|
2898
|
+
const retVal = (output || [])
|
|
2899
|
+
.filter((e) => e != null)
|
|
2900
|
+
.map((entry) => {
|
|
2901
|
+
if (entry === null) {
|
|
2902
|
+
return null;
|
|
2903
|
+
}
|
|
2904
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2905
|
+
});
|
|
2906
|
+
return retVal;
|
|
2907
|
+
};
|
|
2855
2908
|
const deserializeAws_restJson1InstalledComponentList = (output, context) => {
|
|
2856
2909
|
const retVal = (output || [])
|
|
2857
2910
|
.filter((e) => e != null)
|