@aws-sdk/client-lightsail 3.1014.0 → 3.1015.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.
@@ -1459,8 +1459,8 @@ exports.CloudFormationStackRecordSourceInfo$ = [3, n0, _CFSRSI,
1459
1459
  ];
1460
1460
  exports.ContactMethod$ = [3, n0, _CM,
1461
1461
  0,
1462
- [_cE, _st, _pro, _n, _a, _cA, _l, _rT, _sC],
1463
- [0, 0, 0, 0, 0, 4, () => exports.ResourceLocation$, 0, 0]
1462
+ [_cE, _st, _pro, _n, _a, _cA, _l, _rT, _sC, _ta],
1463
+ [0, 0, 0, 0, 0, 4, () => exports.ResourceLocation$, 0, 0, () => TagList]
1464
1464
  ];
1465
1465
  exports.Container$ = [3, n0, _Co,
1466
1466
  0,
@@ -1594,8 +1594,8 @@ exports.CreateCloudFormationStackResult$ = [3, n0, _CCFSRr,
1594
1594
  ];
1595
1595
  exports.CreateContactMethodRequest$ = [3, n0, _CCMR,
1596
1596
  0,
1597
- [_pro, _cE],
1598
- [0, 0], 2
1597
+ [_pro, _cE, _ta],
1598
+ [0, 0, () => TagList], 2
1599
1599
  ];
1600
1600
  exports.CreateContactMethodResult$ = [3, n0, _CCMRr,
1601
1601
  0,
@@ -1444,8 +1444,8 @@ export var CloudFormationStackRecordSourceInfo$ = [3, n0, _CFSRSI,
1444
1444
  ];
1445
1445
  export var ContactMethod$ = [3, n0, _CM,
1446
1446
  0,
1447
- [_cE, _st, _pro, _n, _a, _cA, _l, _rT, _sC],
1448
- [0, 0, 0, 0, 0, 4, () => ResourceLocation$, 0, 0]
1447
+ [_cE, _st, _pro, _n, _a, _cA, _l, _rT, _sC, _ta],
1448
+ [0, 0, 0, 0, 0, 4, () => ResourceLocation$, 0, 0, () => TagList]
1449
1449
  ];
1450
1450
  export var Container$ = [3, n0, _Co,
1451
1451
  0,
@@ -1579,8 +1579,8 @@ export var CreateCloudFormationStackResult$ = [3, n0, _CCFSRr,
1579
1579
  ];
1580
1580
  export var CreateContactMethodRequest$ = [3, n0, _CCMR,
1581
1581
  0,
1582
- [_pro, _cE],
1583
- [0, 0], 2
1582
+ [_pro, _cE, _ta],
1583
+ [0, 0, () => TagList], 2
1584
1584
  ];
1585
1585
  export var CreateContactMethodResult$ = [3, n0, _CCMRr,
1586
1586
  0,
@@ -43,6 +43,12 @@ declare const CreateContactMethodCommand_base: {
43
43
  * const input = { // CreateContactMethodRequest
44
44
  * protocol: "Email" || "SMS", // required
45
45
  * contactEndpoint: "STRING_VALUE", // required
46
+ * tags: [ // TagList
47
+ * { // Tag
48
+ * key: "STRING_VALUE",
49
+ * value: "STRING_VALUE",
50
+ * },
51
+ * ],
46
52
  * };
47
53
  * const command = new CreateContactMethodCommand(input);
48
54
  * const response = await client.send(command);
@@ -63,6 +63,12 @@ declare const GetContactMethodsCommand_base: {
63
63
  * // },
64
64
  * // resourceType: "ContainerService" || "Instance" || "StaticIp" || "KeyPair" || "InstanceSnapshot" || "Domain" || "PeeredVpc" || "LoadBalancer" || "LoadBalancerTlsCertificate" || "Disk" || "DiskSnapshot" || "RelationalDatabase" || "RelationalDatabaseSnapshot" || "ExportSnapshotRecord" || "CloudFormationStackRecord" || "Alarm" || "ContactMethod" || "Distribution" || "Certificate" || "Bucket",
65
65
  * // supportCode: "STRING_VALUE",
66
+ * // tags: [ // TagList
67
+ * // { // Tag
68
+ * // key: "STRING_VALUE",
69
+ * // value: "STRING_VALUE",
70
+ * // },
71
+ * // ],
66
72
  * // },
67
73
  * // ],
68
74
  * // };
@@ -2470,6 +2470,12 @@ export interface ContactMethod {
2470
2470
  * @public
2471
2471
  */
2472
2472
  supportCode?: string | undefined;
2473
+ /**
2474
+ * <p>The tag keys and optional values for the resource. For more information about tags in
2475
+ * Lightsail, see the <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-tags">Amazon Lightsail Developer Guide</a>.</p>
2476
+ * @public
2477
+ */
2478
+ tags?: Tag[] | undefined;
2473
2479
  }
2474
2480
  /**
2475
2481
  * <p>Describes the settings of a container that will be launched, or that is launched, to an
@@ -3539,6 +3545,12 @@ export interface CreateContactMethodRequest {
3539
3545
  * @public
3540
3546
  */
3541
3547
  contactEndpoint: string | undefined;
3548
+ /**
3549
+ * <p>The tag keys and optional values to add to the contact method during create.</p>
3550
+ * <p>Use the <code>TagResource</code> action to tag a resource after it's created.</p>
3551
+ * @public
3552
+ */
3553
+ tags?: Tag[] | undefined;
3542
3554
  }
3543
3555
  /**
3544
3556
  * @public
@@ -419,6 +419,7 @@ export interface ContactMethod {
419
419
  location?: ResourceLocation | undefined;
420
420
  resourceType?: ResourceType | undefined;
421
421
  supportCode?: string | undefined;
422
+ tags?: Tag[] | undefined;
422
423
  }
423
424
  export interface Container {
424
425
  image?: string | undefined;
@@ -585,6 +586,7 @@ export interface CreateCloudFormationStackResult {
585
586
  export interface CreateContactMethodRequest {
586
587
  protocol: ContactProtocol | undefined;
587
588
  contactEndpoint: string | undefined;
589
+ tags?: Tag[] | undefined;
588
590
  }
589
591
  export interface CreateContactMethodResult {
590
592
  operations?: Operation[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lightsail",
3
3
  "description": "AWS SDK for JavaScript Lightsail Client for Node.js, Browser and React Native",
4
- "version": "3.1014.0",
4
+ "version": "3.1015.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 client-lightsail",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.23",
25
- "@aws-sdk/credential-provider-node": "^3.972.24",
24
+ "@aws-sdk/core": "^3.973.24",
25
+ "@aws-sdk/credential-provider-node": "^3.972.25",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.8",
27
27
  "@aws-sdk/middleware-logger": "^3.972.8",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.8",
29
- "@aws-sdk/middleware-user-agent": "^3.972.24",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.25",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.9",
31
31
  "@aws-sdk/types": "^3.973.6",
32
32
  "@aws-sdk/util-endpoints": "^3.996.5",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
34
- "@aws-sdk/util-user-agent-node": "^3.973.10",
34
+ "@aws-sdk/util-user-agent-node": "^3.973.11",
35
35
  "@smithy/config-resolver": "^4.4.13",
36
36
  "@smithy/core": "^3.23.12",
37
37
  "@smithy/fetch-http-handler": "^5.3.15",