@aws-sdk/client-bedrock-agentcore 3.1064.0 → 3.1066.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvalidInputException = exports.ThrottledException = exports.ServiceException = exports.DuplicateIdException = exports.UnauthorizedException = exports.ConflictException = exports.RetryableConflictException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.RuntimeClientError = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
3
+ exports.InvalidInputException = exports.ThrottledException = exports.ServiceException = exports.DuplicateIdException = exports.UnauthorizedException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.RuntimeClientError = exports.RetryableConflictException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;
4
4
  const BedrockAgentCoreServiceException_1 = require("./BedrockAgentCoreServiceException");
5
5
  class AccessDeniedException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
6
6
  name = "AccessDeniedException";
@@ -41,6 +41,20 @@ class ResourceNotFoundException extends BedrockAgentCoreServiceException_1.Bedro
41
41
  }
42
42
  }
43
43
  exports.ResourceNotFoundException = ResourceNotFoundException;
44
+ class RetryableConflictException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
45
+ name = "RetryableConflictException";
46
+ $fault = "client";
47
+ $retryable = {};
48
+ constructor(opts) {
49
+ super({
50
+ name: "RetryableConflictException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, RetryableConflictException.prototype);
55
+ }
56
+ }
57
+ exports.RetryableConflictException = RetryableConflictException;
44
58
  class RuntimeClientError extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
45
59
  name = "RuntimeClientError";
46
60
  $fault = "client";
@@ -97,20 +111,6 @@ class ValidationException extends BedrockAgentCoreServiceException_1.BedrockAgen
97
111
  }
98
112
  }
99
113
  exports.ValidationException = ValidationException;
100
- class RetryableConflictException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
101
- name = "RetryableConflictException";
102
- $fault = "client";
103
- $retryable = {};
104
- constructor(opts) {
105
- super({
106
- name: "RetryableConflictException",
107
- $fault: "client",
108
- ...opts,
109
- });
110
- Object.setPrototypeOf(this, RetryableConflictException.prototype);
111
- }
112
- }
113
- exports.RetryableConflictException = RetryableConflictException;
114
114
  class ConflictException extends BedrockAgentCoreServiceException_1.BedrockAgentCoreServiceException {
115
115
  name = "ConflictException";
116
116
  $fault = "client";
@@ -35,6 +35,19 @@ export class ResourceNotFoundException extends __BaseException {
35
35
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
36
36
  }
37
37
  }
38
+ export class RetryableConflictException extends __BaseException {
39
+ name = "RetryableConflictException";
40
+ $fault = "client";
41
+ $retryable = {};
42
+ constructor(opts) {
43
+ super({
44
+ name: "RetryableConflictException",
45
+ $fault: "client",
46
+ ...opts,
47
+ });
48
+ Object.setPrototypeOf(this, RetryableConflictException.prototype);
49
+ }
50
+ }
38
51
  export class RuntimeClientError extends __BaseException {
39
52
  name = "RuntimeClientError";
40
53
  $fault = "client";
@@ -87,19 +100,6 @@ export class ValidationException extends __BaseException {
87
100
  this.fieldList = opts.fieldList;
88
101
  }
89
102
  }
90
- export class RetryableConflictException extends __BaseException {
91
- name = "RetryableConflictException";
92
- $fault = "client";
93
- $retryable = {};
94
- constructor(opts) {
95
- super({
96
- name: "RetryableConflictException",
97
- $fault: "client",
98
- ...opts,
99
- });
100
- Object.setPrototypeOf(this, RetryableConflictException.prototype);
101
- }
102
- }
103
103
  export class ConflictException extends __BaseException {
104
104
  name = "ConflictException";
105
105
  $fault = "client";
@@ -68,6 +68,9 @@ declare const GetAgentCardCommand_base: {
68
68
  * @throws {@link ResourceNotFoundException} (client fault)
69
69
  * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
70
70
  *
71
+ * @throws {@link RetryableConflictException} (client fault)
72
+ * <p>The exception that occurs when there is a retryable conflict performing an operation. This is a temporary condition that may resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
73
+ *
71
74
  * @throws {@link RuntimeClientError} (client fault)
72
75
  * <p>The exception that occurs when there is an error in the runtime client. This can happen due to network issues, invalid configuration, or other client-side problems. Check the error message for specific details about the error.</p>
73
76
  *
@@ -124,6 +124,9 @@ declare const InvokeAgentRuntimeCommandCommand_base: {
124
124
  * @throws {@link ResourceNotFoundException} (client fault)
125
125
  * <p>The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.</p>
126
126
  *
127
+ * @throws {@link RetryableConflictException} (client fault)
128
+ * <p>The exception that occurs when there is a retryable conflict performing an operation. This is a temporary condition that may resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
129
+ *
127
130
  * @throws {@link RuntimeClientError} (client fault)
128
131
  * <p>The exception that occurs when there is an error in the runtime client. This can happen due to network issues, invalid configuration, or other client-side problems. Check the error message for specific details about the error.</p>
129
132
  *
@@ -38,6 +38,19 @@ export declare class ResourceNotFoundException extends __BaseException {
38
38
  */
39
39
  constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
40
40
  }
41
+ /**
42
+ * <p>The exception that occurs when there is a retryable conflict performing an operation. This is a temporary condition that may resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
43
+ * @public
44
+ */
45
+ export declare class RetryableConflictException extends __BaseException {
46
+ readonly name: "RetryableConflictException";
47
+ readonly $fault: "client";
48
+ $retryable: {};
49
+ /**
50
+ * @internal
51
+ */
52
+ constructor(opts: __ExceptionOptionType<RetryableConflictException, __BaseException>);
53
+ }
41
54
  /**
42
55
  * <p>The exception that occurs when there is an error in the runtime client. This can happen due to network issues, invalid configuration, or other client-side problems. Check the error message for specific details about the error.</p>
43
56
  * @public
@@ -88,19 +101,6 @@ export declare class ValidationException extends __BaseException {
88
101
  */
89
102
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
90
103
  }
91
- /**
92
- * <p>The exception that occurs when there is a retryable conflict performing an operation. This is a temporary condition that may resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.</p>
93
- * @public
94
- */
95
- export declare class RetryableConflictException extends __BaseException {
96
- readonly name: "RetryableConflictException";
97
- readonly $fault: "client";
98
- $retryable: {};
99
- /**
100
- * @internal
101
- */
102
- constructor(opts: __ExceptionOptionType<RetryableConflictException, __BaseException>);
103
- }
104
104
  /**
105
105
  * <p>The exception that occurs when the request conflicts with the current state of the resource. This can happen when trying to modify a resource that is currently being modified by another request, or when trying to create a resource that already exists.</p>
106
106
  * @public
@@ -23,6 +23,14 @@ export declare class ResourceNotFoundException extends __BaseException {
23
23
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
24
24
  );
25
25
  }
26
+ export declare class RetryableConflictException extends __BaseException {
27
+ readonly name: "RetryableConflictException";
28
+ readonly $fault: "client";
29
+ $retryable: {};
30
+ constructor(
31
+ opts: __ExceptionOptionType<RetryableConflictException, __BaseException>
32
+ );
33
+ }
26
34
  export declare class RuntimeClientError extends __BaseException {
27
35
  readonly name: "RuntimeClientError";
28
36
  readonly $fault: "client";
@@ -51,14 +59,6 @@ export declare class ValidationException extends __BaseException {
51
59
  opts: __ExceptionOptionType<ValidationException, __BaseException>
52
60
  );
53
61
  }
54
- export declare class RetryableConflictException extends __BaseException {
55
- readonly name: "RetryableConflictException";
56
- readonly $fault: "client";
57
- $retryable: {};
58
- constructor(
59
- opts: __ExceptionOptionType<RetryableConflictException, __BaseException>
60
- );
61
- }
62
62
  export declare class ConflictException extends __BaseException {
63
63
  readonly name: "ConflictException";
64
64
  readonly $fault: "client";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-agentcore",
3
3
  "description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
4
- "version": "3.1064.0",
4
+ "version": "3.1066.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",
@@ -21,8 +21,8 @@
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.974.19",
25
- "@aws-sdk/credential-provider-node": "^3.972.53",
24
+ "@aws-sdk/core": "^3.974.20",
25
+ "@aws-sdk/credential-provider-node": "^3.972.55",
26
26
  "@aws-sdk/types": "^3.973.12",
27
27
  "@smithy/core": "^3.24.6",
28
28
  "@smithy/fetch-http-handler": "^5.4.6",