@aws-sdk/client-glacier 3.533.0 → 3.540.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 (76) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  2. package/dist-cjs/index.js +0 -3
  3. package/dist-es/endpoint/endpointResolver.js +3 -1
  4. package/dist-es/index.js +0 -1
  5. package/dist-types/Glacier.d.ts +1 -1
  6. package/dist-types/GlacierClient.d.ts +1 -1
  7. package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -1
  8. package/dist-types/commands/AbortVaultLockCommand.d.ts +2 -1
  9. package/dist-types/commands/AddTagsToVaultCommand.d.ts +2 -1
  10. package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +2 -1
  11. package/dist-types/commands/CompleteVaultLockCommand.d.ts +2 -1
  12. package/dist-types/commands/CreateVaultCommand.d.ts +2 -1
  13. package/dist-types/commands/DeleteArchiveCommand.d.ts +2 -1
  14. package/dist-types/commands/DeleteVaultAccessPolicyCommand.d.ts +2 -1
  15. package/dist-types/commands/DeleteVaultCommand.d.ts +2 -1
  16. package/dist-types/commands/DeleteVaultNotificationsCommand.d.ts +2 -1
  17. package/dist-types/commands/DescribeJobCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeVaultCommand.d.ts +2 -1
  19. package/dist-types/commands/GetDataRetrievalPolicyCommand.d.ts +2 -1
  20. package/dist-types/commands/GetJobOutputCommand.d.ts +2 -1
  21. package/dist-types/commands/GetVaultAccessPolicyCommand.d.ts +2 -1
  22. package/dist-types/commands/GetVaultLockCommand.d.ts +2 -1
  23. package/dist-types/commands/GetVaultNotificationsCommand.d.ts +2 -1
  24. package/dist-types/commands/InitiateJobCommand.d.ts +2 -1
  25. package/dist-types/commands/InitiateMultipartUploadCommand.d.ts +2 -1
  26. package/dist-types/commands/InitiateVaultLockCommand.d.ts +2 -1
  27. package/dist-types/commands/ListJobsCommand.d.ts +2 -1
  28. package/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -1
  29. package/dist-types/commands/ListPartsCommand.d.ts +2 -1
  30. package/dist-types/commands/ListProvisionedCapacityCommand.d.ts +2 -1
  31. package/dist-types/commands/ListTagsForVaultCommand.d.ts +2 -1
  32. package/dist-types/commands/ListVaultsCommand.d.ts +2 -1
  33. package/dist-types/commands/PurchaseProvisionedCapacityCommand.d.ts +2 -1
  34. package/dist-types/commands/RemoveTagsFromVaultCommand.d.ts +2 -1
  35. package/dist-types/commands/SetDataRetrievalPolicyCommand.d.ts +2 -1
  36. package/dist-types/commands/SetVaultAccessPolicyCommand.d.ts +2 -1
  37. package/dist-types/commands/SetVaultNotificationsCommand.d.ts +2 -1
  38. package/dist-types/commands/UploadArchiveCommand.d.ts +2 -1
  39. package/dist-types/commands/UploadMultipartPartCommand.d.ts +2 -1
  40. package/dist-types/index.d.ts +0 -1
  41. package/dist-types/models/models_0.d.ts +329 -329
  42. package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +9 -0
  43. package/dist-types/ts3.4/commands/AbortVaultLockCommand.d.ts +9 -0
  44. package/dist-types/ts3.4/commands/AddTagsToVaultCommand.d.ts +9 -0
  45. package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +9 -0
  46. package/dist-types/ts3.4/commands/CompleteVaultLockCommand.d.ts +9 -0
  47. package/dist-types/ts3.4/commands/CreateVaultCommand.d.ts +9 -0
  48. package/dist-types/ts3.4/commands/DeleteArchiveCommand.d.ts +9 -0
  49. package/dist-types/ts3.4/commands/DeleteVaultAccessPolicyCommand.d.ts +9 -0
  50. package/dist-types/ts3.4/commands/DeleteVaultCommand.d.ts +9 -0
  51. package/dist-types/ts3.4/commands/DeleteVaultNotificationsCommand.d.ts +9 -0
  52. package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +9 -0
  53. package/dist-types/ts3.4/commands/DescribeVaultCommand.d.ts +9 -0
  54. package/dist-types/ts3.4/commands/GetDataRetrievalPolicyCommand.d.ts +9 -0
  55. package/dist-types/ts3.4/commands/GetJobOutputCommand.d.ts +9 -0
  56. package/dist-types/ts3.4/commands/GetVaultAccessPolicyCommand.d.ts +9 -0
  57. package/dist-types/ts3.4/commands/GetVaultLockCommand.d.ts +9 -0
  58. package/dist-types/ts3.4/commands/GetVaultNotificationsCommand.d.ts +9 -0
  59. package/dist-types/ts3.4/commands/InitiateJobCommand.d.ts +9 -0
  60. package/dist-types/ts3.4/commands/InitiateMultipartUploadCommand.d.ts +9 -0
  61. package/dist-types/ts3.4/commands/InitiateVaultLockCommand.d.ts +9 -0
  62. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +9 -0
  63. package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +9 -0
  64. package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +9 -0
  65. package/dist-types/ts3.4/commands/ListProvisionedCapacityCommand.d.ts +9 -0
  66. package/dist-types/ts3.4/commands/ListTagsForVaultCommand.d.ts +9 -0
  67. package/dist-types/ts3.4/commands/ListVaultsCommand.d.ts +9 -0
  68. package/dist-types/ts3.4/commands/PurchaseProvisionedCapacityCommand.d.ts +9 -0
  69. package/dist-types/ts3.4/commands/RemoveTagsFromVaultCommand.d.ts +9 -0
  70. package/dist-types/ts3.4/commands/SetDataRetrievalPolicyCommand.d.ts +9 -0
  71. package/dist-types/ts3.4/commands/SetVaultAccessPolicyCommand.d.ts +9 -0
  72. package/dist-types/ts3.4/commands/SetVaultNotificationsCommand.d.ts +9 -0
  73. package/dist-types/ts3.4/commands/UploadArchiveCommand.d.ts +9 -0
  74. package/dist-types/ts3.4/commands/UploadMultipartPartCommand.d.ts +9 -0
  75. package/dist-types/ts3.4/index.d.ts +0 -1
  76. package/package.json +45 -45
@@ -22,10 +22,10 @@ export interface PurchaseProvisionedCapacityCommandOutput extends PurchaseProvis
22
22
  }
23
23
  declare const PurchaseProvisionedCapacityCommand_base: {
24
24
  new (input: PurchaseProvisionedCapacityCommandInput): import("@smithy/smithy-client").CommandImpl<PurchaseProvisionedCapacityCommandInput, PurchaseProvisionedCapacityCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: PurchaseProvisionedCapacityCommandInput): import("@smithy/smithy-client").CommandImpl<PurchaseProvisionedCapacityCommandInput, PurchaseProvisionedCapacityCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>This operation purchases a provisioned capacity unit for an AWS account. </p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -65,6 +65,7 @@ declare const PurchaseProvisionedCapacityCommand_base: {
65
65
  * @throws {@link GlacierServiceException}
66
66
  * <p>Base exception class for all service exceptions from Glacier service.</p>
67
67
  *
68
+ * @public
68
69
  * @example To purchases a provisioned capacity unit for an AWS account
69
70
  * ```javascript
70
71
  * // The example purchases provisioned capacity unit for an AWS account.
@@ -22,10 +22,10 @@ export interface RemoveTagsFromVaultCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const RemoveTagsFromVaultCommand_base: {
24
24
  new (input: RemoveTagsFromVaultCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveTagsFromVaultCommandInput, RemoveTagsFromVaultCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: RemoveTagsFromVaultCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveTagsFromVaultCommandInput, RemoveTagsFromVaultCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>This operation removes one or more tags from the set of tags attached to a vault. For
30
30
  * more information about tags, see <a href="https://docs.aws.amazon.com/amazonglacier/latest/dev/tagging.html">Tagging Amazon S3 Glacier Resources</a>.
31
31
  * This operation is idempotent. The operation will be successful, even if there are no tags
@@ -71,6 +71,7 @@ declare const RemoveTagsFromVaultCommand_base: {
71
71
  * @throws {@link GlacierServiceException}
72
72
  * <p>Base exception class for all service exceptions from Glacier service.</p>
73
73
  *
74
+ * @public
74
75
  * @example To remove tags from a vault
75
76
  * ```javascript
76
77
  * // The example removes two tags from the vault named examplevault.
@@ -22,10 +22,10 @@ export interface SetDataRetrievalPolicyCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const SetDataRetrievalPolicyCommand_base: {
24
24
  new (input: SetDataRetrievalPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<SetDataRetrievalPolicyCommandInput, SetDataRetrievalPolicyCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: SetDataRetrievalPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<SetDataRetrievalPolicyCommandInput, SetDataRetrievalPolicyCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>This operation sets and then enacts a data retrieval policy in the region specified
30
30
  * in the PUT request. You can set one policy per region for an AWS account. The policy is
31
31
  * enacted within a few minutes of a successful PUT operation.</p>
@@ -73,6 +73,7 @@ declare const SetDataRetrievalPolicyCommand_base: {
73
73
  * @throws {@link GlacierServiceException}
74
74
  * <p>Base exception class for all service exceptions from Glacier service.</p>
75
75
  *
76
+ * @public
76
77
  * @example To set and then enact a data retrieval policy
77
78
  * ```javascript
78
79
  * // The example sets and then enacts a data retrieval policy.
@@ -22,10 +22,10 @@ export interface SetVaultAccessPolicyCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const SetVaultAccessPolicyCommand_base: {
24
24
  new (input: SetVaultAccessPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<SetVaultAccessPolicyCommandInput, SetVaultAccessPolicyCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: SetVaultAccessPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<SetVaultAccessPolicyCommandInput, SetVaultAccessPolicyCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>This operation configures an access policy for a vault and will overwrite an existing
30
30
  * policy. To configure a vault access policy, send a PUT request to the
31
31
  * <code>access-policy</code> subresource of the vault. An access policy is specific to a
@@ -73,6 +73,7 @@ declare const SetVaultAccessPolicyCommand_base: {
73
73
  * @throws {@link GlacierServiceException}
74
74
  * <p>Base exception class for all service exceptions from Glacier service.</p>
75
75
  *
76
+ * @public
76
77
  * @example To set the access-policy on a vault
77
78
  * ```javascript
78
79
  * // The example configures an access policy for the vault named examplevault.
@@ -22,10 +22,10 @@ export interface SetVaultNotificationsCommandOutput extends __MetadataBearer {
22
22
  }
23
23
  declare const SetVaultNotificationsCommand_base: {
24
24
  new (input: SetVaultNotificationsCommandInput): import("@smithy/smithy-client").CommandImpl<SetVaultNotificationsCommandInput, SetVaultNotificationsCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: SetVaultNotificationsCommandInput): import("@smithy/smithy-client").CommandImpl<SetVaultNotificationsCommandInput, SetVaultNotificationsCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>This operation configures notifications that will be sent when specific events happen
30
30
  * to a vault. By default, you don't get any notifications.</p>
31
31
  *
@@ -108,6 +108,7 @@ declare const SetVaultNotificationsCommand_base: {
108
108
  * @throws {@link GlacierServiceException}
109
109
  * <p>Base exception class for all service exceptions from Glacier service.</p>
110
110
  *
111
+ * @public
111
112
  * @example To configure a vault to post a message to an Amazon SNS topic when jobs complete
112
113
  * ```javascript
113
114
  * // The example sets the examplevault notification configuration.
@@ -23,10 +23,10 @@ export interface UploadArchiveCommandOutput extends ArchiveCreationOutput, __Met
23
23
  }
24
24
  declare const UploadArchiveCommand_base: {
25
25
  new (input: UploadArchiveCommandInput): import("@smithy/smithy-client").CommandImpl<UploadArchiveCommandInput, UploadArchiveCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UploadArchiveCommandInput): import("@smithy/smithy-client").CommandImpl<UploadArchiveCommandInput, UploadArchiveCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
30
  * <p>This operation adds an archive to a vault. This is a synchronous operation, and for a
31
31
  * successful upload, your data is durably persisted. Amazon S3 Glacier returns the archive ID in
32
32
  * the <code>x-amz-archive-id</code> header of the response. </p>
@@ -108,6 +108,7 @@ declare const UploadArchiveCommand_base: {
108
108
  * @throws {@link GlacierServiceException}
109
109
  * <p>Base exception class for all service exceptions from Glacier service.</p>
110
110
  *
111
+ * @public
111
112
  * @example To upload an archive
112
113
  * ```javascript
113
114
  * // The example adds an archive to a vault.
@@ -23,10 +23,10 @@ export interface UploadMultipartPartCommandOutput extends UploadMultipartPartOut
23
23
  }
24
24
  declare const UploadMultipartPartCommand_base: {
25
25
  new (input: UploadMultipartPartCommandInput): import("@smithy/smithy-client").CommandImpl<UploadMultipartPartCommandInput, UploadMultipartPartCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UploadMultipartPartCommandInput): import("@smithy/smithy-client").CommandImpl<UploadMultipartPartCommandInput, UploadMultipartPartCommandOutput, GlacierClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
27
28
  };
28
29
  /**
29
- * @public
30
30
  * <p>This operation uploads a part of an archive. You can upload archive parts in any
31
31
  * order. You can also upload them in parallel. You can upload up to 10,000 parts for a
32
32
  * multipart upload.</p>
@@ -126,6 +126,7 @@ declare const UploadMultipartPartCommand_base: {
126
126
  * @throws {@link GlacierServiceException}
127
127
  * <p>Base exception class for all service exceptions from Glacier service.</p>
128
128
  *
129
+ * @public
129
130
  * @example To upload the first part of an archive
130
131
  * ```javascript
131
132
  * // The example uploads the first 1 MiB (1024 x 1024 bytes) part of an archive.
@@ -49,5 +49,4 @@ export * from "./commands";
49
49
  export * from "./pagination";
50
50
  export * from "./waiters";
51
51
  export * from "./models";
52
- import "@aws-sdk/util-endpoints";
53
52
  export { GlacierServiceException } from "./models/GlacierServiceException";