@aws-sdk/client-synthetics 3.1082.0 → 3.1084.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.1081.0";
72
+ var version = "3.1083.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -595,8 +595,8 @@ const errorTypeRegistries = [
595
595
  ];
596
596
  var AddReplicaLocationInput$ = [3, n0, _ARLI,
597
597
  0,
598
- [_L, _VC],
599
- [0, () => VpcConfigInput$], 1
598
+ [_L, _VC, _KKA],
599
+ [0, () => VpcConfigInput$, 0], 1
600
600
  ];
601
601
  var ArtifactConfigInput$ = [3, n0, _ACI,
602
602
  0,
@@ -630,8 +630,8 @@ var BrowserConfig$ = [3, n0, _BC,
630
630
  ];
631
631
  var Canary$ = [3, n0, _C,
632
632
  0,
633
- [_I, _N, _Co, _ERA, _S, _RC, _SRPID, _FRPID, _St, _T, _ASL, _EA, _RV, _VC, _VR, _PRC, _BCr, _EC, _VRi, _MLC, _Ta, _AC, _DRC],
634
- [0, 0, () => CanaryCodeOutput$, 0, () => CanaryScheduleOutput$, () => CanaryRunConfigOutput$, 1, 1, () => CanaryStatus$, () => CanaryTimeline$, 0, 0, 0, () => VpcConfigOutput$, () => VisualReferenceOutput$, 0, () => BrowserConfigs, () => EngineConfigs, () => VisualReferencesOutput, () => MultiLocationConfig$, 128 | 0, () => ArtifactConfigOutput$, () => DryRunConfigOutput$]
633
+ [_I, _N, _Co, _ERA, _S, _RC, _SRPID, _FRPID, _St, _T, _ASL, _EA, _RV, _VC, _VR, _PRC, _BCr, _EC, _VRi, _MLC, _Ta, _AC, _KKA, _DRC],
634
+ [0, 0, () => CanaryCodeOutput$, 0, () => CanaryScheduleOutput$, () => CanaryRunConfigOutput$, 1, 1, () => CanaryStatus$, () => CanaryTimeline$, 0, 0, 0, () => VpcConfigOutput$, () => VisualReferenceOutput$, 0, () => BrowserConfigs, () => EngineConfigs, () => VisualReferencesOutput, () => MultiLocationConfig$, 128 | 0, () => ArtifactConfigOutput$, 0, () => DryRunConfigOutput$]
635
635
  ];
636
636
  var CanaryCodeInput$ = [3, n0, _CCI,
637
637
  0,
@@ -700,8 +700,8 @@ var CanaryTimeline$ = [3, n0, _CT,
700
700
  ];
701
701
  var CreateCanaryRequest$ = [3, n0, _CCR,
702
702
  0,
703
- [_N, _Co, _ASL, _ERA, _S, _RV, _RC, _SRPID, _FRPID, _VC, _RTRT, _PRC, _BCr, _ARL, _Ta, _AC],
704
- [0, () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, 0, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, 64 | 0, 0, () => BrowserConfigs, () => AddReplicaLocations, 128 | 0, () => ArtifactConfigInput$], 6
703
+ [_N, _Co, _ASL, _ERA, _S, _RV, _RC, _SRPID, _FRPID, _VC, _RTRT, _PRC, _BCr, _ARL, _Ta, _AC, _KKA],
704
+ [0, () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, 0, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, 64 | 0, 0, () => BrowserConfigs, () => AddReplicaLocations, 128 | 0, () => ArtifactConfigInput$, 0], 6
705
705
  ];
706
706
  var CreateCanaryResponse$ = [3, n0, _CCRr,
707
707
  0,
@@ -960,8 +960,8 @@ var UntagResourceResponse$ = [3, n0, _URRn,
960
960
  ];
961
961
  var UpdateCanaryRequest$ = [3, n0, _UCR,
962
962
  0,
963
- [_N, _Co, _ERA, _RV, _S, _RC, _SRPID, _FRPID, _VC, _VR, _ASL, _AC, _PRC, _DRI, _VRi, _BCr, _ARL, _RRL],
964
- [[0, 1], () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, () => VisualReferenceInput$, 0, () => ArtifactConfigInput$, 0, 0, () => VisualReferences, () => BrowserConfigs, () => AddReplicaLocations, 64 | 0], 1
963
+ [_N, _Co, _ERA, _RV, _S, _RC, _SRPID, _FRPID, _VC, _VR, _ASL, _AC, _PRC, _DRI, _VRi, _BCr, _ARL, _RRL, _KKA],
964
+ [[0, 1], () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, () => VisualReferenceInput$, 0, () => ArtifactConfigInput$, 0, 0, () => VisualReferences, () => BrowserConfigs, () => AddReplicaLocations, 64 | 0, 0], 1
965
965
  ];
966
966
  var UpdateCanaryResponse$ = [3, n0, _UCRp,
967
967
  0,
@@ -303,8 +303,8 @@ export const errorTypeRegistries = [
303
303
  ];
304
304
  export var AddReplicaLocationInput$ = [3, n0, _ARLI,
305
305
  0,
306
- [_L, _VC],
307
- [0, () => VpcConfigInput$], 1
306
+ [_L, _VC, _KKA],
307
+ [0, () => VpcConfigInput$, 0], 1
308
308
  ];
309
309
  export var ArtifactConfigInput$ = [3, n0, _ACI,
310
310
  0,
@@ -338,8 +338,8 @@ export var BrowserConfig$ = [3, n0, _BC,
338
338
  ];
339
339
  export var Canary$ = [3, n0, _C,
340
340
  0,
341
- [_I, _N, _Co, _ERA, _S, _RC, _SRPID, _FRPID, _St, _T, _ASL, _EA, _RV, _VC, _VR, _PRC, _BCr, _EC, _VRi, _MLC, _Ta, _AC, _DRC],
342
- [0, 0, () => CanaryCodeOutput$, 0, () => CanaryScheduleOutput$, () => CanaryRunConfigOutput$, 1, 1, () => CanaryStatus$, () => CanaryTimeline$, 0, 0, 0, () => VpcConfigOutput$, () => VisualReferenceOutput$, 0, () => BrowserConfigs, () => EngineConfigs, () => VisualReferencesOutput, () => MultiLocationConfig$, 128 | 0, () => ArtifactConfigOutput$, () => DryRunConfigOutput$]
341
+ [_I, _N, _Co, _ERA, _S, _RC, _SRPID, _FRPID, _St, _T, _ASL, _EA, _RV, _VC, _VR, _PRC, _BCr, _EC, _VRi, _MLC, _Ta, _AC, _KKA, _DRC],
342
+ [0, 0, () => CanaryCodeOutput$, 0, () => CanaryScheduleOutput$, () => CanaryRunConfigOutput$, 1, 1, () => CanaryStatus$, () => CanaryTimeline$, 0, 0, 0, () => VpcConfigOutput$, () => VisualReferenceOutput$, 0, () => BrowserConfigs, () => EngineConfigs, () => VisualReferencesOutput, () => MultiLocationConfig$, 128 | 0, () => ArtifactConfigOutput$, 0, () => DryRunConfigOutput$]
343
343
  ];
344
344
  export var CanaryCodeInput$ = [3, n0, _CCI,
345
345
  0,
@@ -408,8 +408,8 @@ export var CanaryTimeline$ = [3, n0, _CT,
408
408
  ];
409
409
  export var CreateCanaryRequest$ = [3, n0, _CCR,
410
410
  0,
411
- [_N, _Co, _ASL, _ERA, _S, _RV, _RC, _SRPID, _FRPID, _VC, _RTRT, _PRC, _BCr, _ARL, _Ta, _AC],
412
- [0, () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, 0, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, 64 | 0, 0, () => BrowserConfigs, () => AddReplicaLocations, 128 | 0, () => ArtifactConfigInput$], 6
411
+ [_N, _Co, _ASL, _ERA, _S, _RV, _RC, _SRPID, _FRPID, _VC, _RTRT, _PRC, _BCr, _ARL, _Ta, _AC, _KKA],
412
+ [0, () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, 0, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, 64 | 0, 0, () => BrowserConfigs, () => AddReplicaLocations, 128 | 0, () => ArtifactConfigInput$, 0], 6
413
413
  ];
414
414
  export var CreateCanaryResponse$ = [3, n0, _CCRr,
415
415
  0,
@@ -668,8 +668,8 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
668
668
  ];
669
669
  export var UpdateCanaryRequest$ = [3, n0, _UCR,
670
670
  0,
671
- [_N, _Co, _ERA, _RV, _S, _RC, _SRPID, _FRPID, _VC, _VR, _ASL, _AC, _PRC, _DRI, _VRi, _BCr, _ARL, _RRL],
672
- [[0, 1], () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, () => VisualReferenceInput$, 0, () => ArtifactConfigInput$, 0, 0, () => VisualReferences, () => BrowserConfigs, () => AddReplicaLocations, 64 | 0], 1
671
+ [_N, _Co, _ERA, _RV, _S, _RC, _SRPID, _FRPID, _VC, _VR, _ASL, _AC, _PRC, _DRI, _VRi, _BCr, _ARL, _RRL, _KKA],
672
+ [[0, 1], () => CanaryCodeInput$, 0, 0, () => CanaryScheduleInput$, () => CanaryRunConfigInput$, 1, 1, () => VpcConfigInput$, () => VisualReferenceInput$, 0, () => ArtifactConfigInput$, 0, 0, () => VisualReferences, () => BrowserConfigs, () => AddReplicaLocations, 64 | 0, 0], 1
673
673
  ];
674
674
  export var UpdateCanaryResponse$ = [3, n0, _UCRp,
675
675
  0,
@@ -115,6 +115,7 @@ declare const CreateCanaryCommand_base: {
115
115
  * ],
116
116
  * Ipv6AllowedForDualStack: true || false,
117
117
  * },
118
+ * KmsKeyArn: "STRING_VALUE",
118
119
  * },
119
120
  * ],
120
121
  * Tags: { // TagMap
@@ -126,6 +127,7 @@ declare const CreateCanaryCommand_base: {
126
127
  * KmsKeyArn: "STRING_VALUE",
127
128
  * },
128
129
  * },
130
+ * KmsKeyArn: "STRING_VALUE",
129
131
  * };
130
132
  * const command = new CreateCanaryCommand(input);
131
133
  * const response = await client.send(command);
@@ -260,6 +262,7 @@ declare const CreateCanaryCommand_base: {
260
262
  * // KmsKeyArn: "STRING_VALUE",
261
263
  * // },
262
264
  * // },
265
+ * // KmsKeyArn: "STRING_VALUE",
263
266
  * // DryRunConfig: { // DryRunConfigOutput
264
267
  * // DryRunId: "STRING_VALUE",
265
268
  * // LastDryRunExecutionStatus: "STRING_VALUE",
@@ -183,6 +183,7 @@ declare const DescribeCanariesCommand_base: {
183
183
  * // KmsKeyArn: "STRING_VALUE",
184
184
  * // },
185
185
  * // },
186
+ * // KmsKeyArn: "STRING_VALUE",
186
187
  * // DryRunConfig: { // DryRunConfigOutput
187
188
  * // DryRunId: "STRING_VALUE",
188
189
  * // LastDryRunExecutionStatus: "STRING_VALUE",
@@ -172,6 +172,7 @@ declare const GetCanaryCommand_base: {
172
172
  * // KmsKeyArn: "STRING_VALUE",
173
173
  * // },
174
174
  * // },
175
+ * // KmsKeyArn: "STRING_VALUE",
175
176
  * // DryRunConfig: { // DryRunConfigOutput
176
177
  * // DryRunId: "STRING_VALUE",
177
178
  * // LastDryRunExecutionStatus: "STRING_VALUE",
@@ -146,11 +146,13 @@ declare const UpdateCanaryCommand_base: {
146
146
  * ],
147
147
  * Ipv6AllowedForDualStack: true || false,
148
148
  * },
149
+ * KmsKeyArn: "STRING_VALUE",
149
150
  * },
150
151
  * ],
151
152
  * RemoveReplicaLocations: [ // RemoveReplicaLocations
152
153
  * "STRING_VALUE",
153
154
  * ],
155
+ * KmsKeyArn: "STRING_VALUE",
154
156
  * };
155
157
  * const command = new UpdateCanaryCommand(input);
156
158
  * const response = await client.send(command);
@@ -39,6 +39,13 @@ export interface AddReplicaLocationInput {
39
39
  * @public
40
40
  */
41
41
  VpcConfig?: VpcConfigInput | undefined;
42
+ /**
43
+ * <p>The Amazon Resource Name (ARN) of the customer-managed AWS Key Management Service (AWS KMS) key used to encrypt the canary replica's
44
+ * AWS Lambda function environment variables at rest. If you don't specify a value,
45
+ * the service uses an AWS-managed key.</p>
46
+ * @public
47
+ */
48
+ KmsKeyArn?: string | undefined;
42
49
  }
43
50
  /**
44
51
  * <p>A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary
@@ -634,6 +641,13 @@ export interface Canary {
634
641
  * @public
635
642
  */
636
643
  ArtifactConfig?: ArtifactConfigOutput | undefined;
644
+ /**
645
+ * <p>The Amazon Resource Name (ARN) of the customer-managed AWS Key Management Service (AWS KMS) key used to encrypt the canary's
646
+ * AWS Lambda function environment variables at rest. If you don't specify a value,
647
+ * the service uses an AWS-managed key.</p>
648
+ * @public
649
+ */
650
+ KmsKeyArn?: string | undefined;
637
651
  /**
638
652
  * <p>Returns the dry run configurations for a canary.</p>
639
653
  * @public
@@ -1142,6 +1156,13 @@ export interface CreateCanaryRequest {
1142
1156
  * @public
1143
1157
  */
1144
1158
  ArtifactConfig?: ArtifactConfigInput | undefined;
1159
+ /**
1160
+ * <p>The Amazon Resource Name (ARN) of the customer-managed AWS Key Management Service (AWS KMS) key used to encrypt the canary's
1161
+ * AWS Lambda function environment variables at rest. If you don't specify a value,
1162
+ * the service uses an AWS-managed key.</p>
1163
+ * @public
1164
+ */
1165
+ KmsKeyArn?: string | undefined;
1145
1166
  }
1146
1167
  /**
1147
1168
  * @public
@@ -2184,6 +2205,15 @@ export interface UpdateCanaryRequest {
2184
2205
  * @public
2185
2206
  */
2186
2207
  RemoveReplicaLocations?: string[] | undefined;
2208
+ /**
2209
+ * <p>The Amazon Resource Name (ARN) of the customer-managed AWS Key Management Service (AWS KMS) key used to encrypt the canary's
2210
+ * AWS Lambda function environment variables at rest. If you don't specify a value,
2211
+ * the service uses an AWS-managed key. If you omit this parameter, the service retains
2212
+ * the existing value. To revert to the AWS-managed key, set this parameter to
2213
+ * an empty string.</p>
2214
+ * @public
2215
+ */
2216
+ KmsKeyArn?: string | undefined;
2187
2217
  }
2188
2218
  /**
2189
2219
  * @public
@@ -21,6 +21,7 @@ export interface VpcConfigInput {
21
21
  export interface AddReplicaLocationInput {
22
22
  Location: string | undefined;
23
23
  VpcConfig?: VpcConfigInput | undefined;
24
+ KmsKeyArn?: string | undefined;
24
25
  }
25
26
  export interface S3EncryptionConfig {
26
27
  EncryptionMode?: EncryptionMode | undefined;
@@ -139,6 +140,7 @@ export interface Canary {
139
140
  MultiLocationConfig?: MultiLocationConfig | undefined;
140
141
  Tags?: Record<string, string> | undefined;
141
142
  ArtifactConfig?: ArtifactConfigOutput | undefined;
143
+ KmsKeyArn?: string | undefined;
142
144
  DryRunConfig?: DryRunConfigOutput | undefined;
143
145
  }
144
146
  export interface CanaryDryRunConfigOutput {
@@ -212,6 +214,7 @@ export interface CreateCanaryRequest {
212
214
  AddReplicaLocations?: AddReplicaLocationInput[] | undefined;
213
215
  Tags?: Record<string, string> | undefined;
214
216
  ArtifactConfig?: ArtifactConfigInput | undefined;
217
+ KmsKeyArn?: string | undefined;
215
218
  }
216
219
  export interface CreateCanaryResponse {
217
220
  Canary?: Canary | undefined;
@@ -400,5 +403,6 @@ export interface UpdateCanaryRequest {
400
403
  BrowserConfigs?: BrowserConfig[] | undefined;
401
404
  AddReplicaLocations?: AddReplicaLocationInput[] | undefined;
402
405
  RemoveReplicaLocations?: string[] | undefined;
406
+ KmsKeyArn?: string | undefined;
403
407
  }
404
408
  export interface UpdateCanaryResponse {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-synthetics",
3
3
  "description": "AWS SDK for JavaScript Synthetics Client for Node.js, Browser and React Native",
4
- "version": "3.1082.0",
4
+ "version": "3.1084.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,8 +19,8 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.0",
23
- "@aws-sdk/credential-provider-node": "^3.972.65",
22
+ "@aws-sdk/core": "^3.975.1",
23
+ "@aws-sdk/credential-provider-node": "^3.972.66",
24
24
  "@aws-sdk/types": "^3.974.0",
25
25
  "@smithy/core": "^3.29.2",
26
26
  "@smithy/fetch-http-handler": "^5.6.4",