@aws-sdk/client-mediapackage 3.421.0 → 3.425.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.
@@ -130,6 +130,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
130
130
  maxAttempts?: number | __Provider<number>;
131
131
  /**
132
132
  * Specifies which retry algorithm to use.
133
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
134
+ *
133
135
  */
134
136
  retryMode?: string | __Provider<string>;
135
137
  /**
@@ -21,6 +21,38 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
21
21
  */
22
22
  export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
23
  }
24
+ /**
25
+ * @public
26
+ *
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { MediaPackageClient, ListTagsForResourceCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
31
+ * // const { MediaPackageClient, ListTagsForResourceCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
32
+ * const client = new MediaPackageClient(config);
33
+ * const input = { // ListTagsForResourceRequest
34
+ * ResourceArn: "STRING_VALUE", // required
35
+ * };
36
+ * const command = new ListTagsForResourceCommand(input);
37
+ * const response = await client.send(command);
38
+ * // { // ListTagsForResourceResponse
39
+ * // Tags: { // __mapOf__string
40
+ * // "<keys>": "STRING_VALUE",
41
+ * // },
42
+ * // };
43
+ *
44
+ * ```
45
+ *
46
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
47
+ * @returns {@link ListTagsForResourceCommandOutput}
48
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
49
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
50
+ * @see {@link MediaPackageClientResolvedConfig | config} for MediaPackageClient's `config` shape.
51
+ *
52
+ * @throws {@link MediaPackageServiceException}
53
+ * <p>Base exception class for all service exceptions from MediaPackage service.</p>
54
+ *
55
+ */
24
56
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, MediaPackageClientResolvedConfig> {
25
57
  readonly input: ListTagsForResourceCommandInput;
26
58
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -21,6 +21,37 @@ export interface TagResourceCommandInput extends TagResourceRequest {
21
21
  */
22
22
  export interface TagResourceCommandOutput extends __MetadataBearer {
23
23
  }
24
+ /**
25
+ * @public
26
+ *
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { MediaPackageClient, TagResourceCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
31
+ * // const { MediaPackageClient, TagResourceCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
32
+ * const client = new MediaPackageClient(config);
33
+ * const input = { // TagResourceRequest
34
+ * ResourceArn: "STRING_VALUE", // required
35
+ * Tags: { // __mapOf__string // required
36
+ * "<keys>": "STRING_VALUE",
37
+ * },
38
+ * };
39
+ * const command = new TagResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
46
+ * @returns {@link TagResourceCommandOutput}
47
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
48
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
49
+ * @see {@link MediaPackageClientResolvedConfig | config} for MediaPackageClient's `config` shape.
50
+ *
51
+ * @throws {@link MediaPackageServiceException}
52
+ * <p>Base exception class for all service exceptions from MediaPackage service.</p>
53
+ *
54
+ */
24
55
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, MediaPackageClientResolvedConfig> {
25
56
  readonly input: TagResourceCommandInput;
26
57
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
@@ -21,6 +21,37 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
21
21
  */
22
22
  export interface UntagResourceCommandOutput extends __MetadataBearer {
23
23
  }
24
+ /**
25
+ * @public
26
+ *
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { MediaPackageClient, UntagResourceCommand } from "@aws-sdk/client-mediapackage"; // ES Modules import
31
+ * // const { MediaPackageClient, UntagResourceCommand } = require("@aws-sdk/client-mediapackage"); // CommonJS import
32
+ * const client = new MediaPackageClient(config);
33
+ * const input = { // UntagResourceRequest
34
+ * ResourceArn: "STRING_VALUE", // required
35
+ * TagKeys: [ // __listOf__string // required
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * };
39
+ * const command = new UntagResourceCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
46
+ * @returns {@link UntagResourceCommandOutput}
47
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
48
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
49
+ * @see {@link MediaPackageClientResolvedConfig | config} for MediaPackageClient's `config` shape.
50
+ *
51
+ * @throws {@link MediaPackageServiceException}
52
+ * <p>Base exception class for all service exceptions from MediaPackage service.</p>
53
+ *
54
+ */
24
55
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, MediaPackageClientResolvedConfig> {
25
56
  readonly input: UntagResourceCommandInput;
26
57
  static getEndpointParameterInstructions(): EndpointParameterInstructions;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-mediapackage",
3
3
  "description": "AWS SDK for JavaScript Mediapackage Client for Node.js, Browser and React Native",
4
- "version": "3.421.0",
4
+ "version": "3.425.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,39 +21,39 @@
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.421.0",
25
- "@aws-sdk/credential-provider-node": "3.421.0",
26
- "@aws-sdk/middleware-host-header": "3.418.0",
27
- "@aws-sdk/middleware-logger": "3.418.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.418.0",
29
- "@aws-sdk/middleware-signing": "3.418.0",
30
- "@aws-sdk/middleware-user-agent": "3.418.0",
31
- "@aws-sdk/region-config-resolver": "3.418.0",
32
- "@aws-sdk/types": "3.418.0",
33
- "@aws-sdk/util-endpoints": "3.418.0",
34
- "@aws-sdk/util-user-agent-browser": "3.418.0",
35
- "@aws-sdk/util-user-agent-node": "3.418.0",
36
- "@smithy/config-resolver": "^2.0.10",
37
- "@smithy/fetch-http-handler": "^2.1.5",
38
- "@smithy/hash-node": "^2.0.9",
39
- "@smithy/invalid-dependency": "^2.0.9",
40
- "@smithy/middleware-content-length": "^2.0.11",
41
- "@smithy/middleware-endpoint": "^2.0.9",
42
- "@smithy/middleware-retry": "^2.0.12",
43
- "@smithy/middleware-serde": "^2.0.9",
44
- "@smithy/middleware-stack": "^2.0.2",
45
- "@smithy/node-config-provider": "^2.0.12",
46
- "@smithy/node-http-handler": "^2.1.5",
47
- "@smithy/protocol-http": "^3.0.5",
48
- "@smithy/smithy-client": "^2.1.6",
49
- "@smithy/types": "^2.3.3",
50
- "@smithy/url-parser": "^2.0.9",
24
+ "@aws-sdk/client-sts": "3.425.0",
25
+ "@aws-sdk/credential-provider-node": "3.425.0",
26
+ "@aws-sdk/middleware-host-header": "3.425.0",
27
+ "@aws-sdk/middleware-logger": "3.425.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.425.0",
29
+ "@aws-sdk/middleware-signing": "3.425.0",
30
+ "@aws-sdk/middleware-user-agent": "3.425.0",
31
+ "@aws-sdk/region-config-resolver": "3.425.0",
32
+ "@aws-sdk/types": "3.425.0",
33
+ "@aws-sdk/util-endpoints": "3.425.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.425.0",
35
+ "@aws-sdk/util-user-agent-node": "3.425.0",
36
+ "@smithy/config-resolver": "^2.0.11",
37
+ "@smithy/fetch-http-handler": "^2.2.1",
38
+ "@smithy/hash-node": "^2.0.10",
39
+ "@smithy/invalid-dependency": "^2.0.10",
40
+ "@smithy/middleware-content-length": "^2.0.12",
41
+ "@smithy/middleware-endpoint": "^2.0.10",
42
+ "@smithy/middleware-retry": "^2.0.13",
43
+ "@smithy/middleware-serde": "^2.0.10",
44
+ "@smithy/middleware-stack": "^2.0.4",
45
+ "@smithy/node-config-provider": "^2.0.13",
46
+ "@smithy/node-http-handler": "^2.1.6",
47
+ "@smithy/protocol-http": "^3.0.6",
48
+ "@smithy/smithy-client": "^2.1.9",
49
+ "@smithy/types": "^2.3.4",
50
+ "@smithy/url-parser": "^2.0.10",
51
51
  "@smithy/util-base64": "^2.0.0",
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.10",
55
- "@smithy/util-defaults-mode-node": "^2.0.12",
56
- "@smithy/util-retry": "^2.0.2",
54
+ "@smithy/util-defaults-mode-browser": "^2.0.13",
55
+ "@smithy/util-defaults-mode-node": "^2.0.15",
56
+ "@smithy/util-retry": "^2.0.3",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0"
59
59
  },