@aws-sdk/client-servicediscovery 3.428.0 → 3.429.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.
@@ -477,7 +477,7 @@ export interface DnsRecord {
477
477
  * </dd>
478
478
  * </dl>
479
479
  */
480
- Type: RecordType | string | undefined;
480
+ Type: RecordType | undefined;
481
481
  /**
482
482
  * @public
483
483
  * <p>The amount of time, in seconds, that you want DNS resolvers to cache the settings for this
@@ -566,7 +566,7 @@ export interface DnsConfig {
566
566
  * </dd>
567
567
  * </dl>
568
568
  */
569
- RoutingPolicy?: RoutingPolicy | string;
569
+ RoutingPolicy?: RoutingPolicy;
570
570
  /**
571
571
  * @public
572
572
  * <p>An array that contains one <code>DnsRecord</code> object for each Route 53 DNS record that you
@@ -689,7 +689,7 @@ export interface HealthCheckConfig {
689
689
  * Determines Whether an Endpoint Is Healthy</a> in the
690
690
  * <i>Route 53 Developer Guide</i>.</p>
691
691
  */
692
- Type: HealthCheckType | string | undefined;
692
+ Type: HealthCheckType | undefined;
693
693
  /**
694
694
  * @public
695
695
  * <p>The path that you want Route 53 to request when performing health checks. The path can be any
@@ -895,7 +895,7 @@ export interface CreateServiceRequest {
895
895
  * <code>DiscoverInstances</code> API operation. No DNS records is registered for the service
896
896
  * instances. The only valid value is <code>HTTP</code>.</p>
897
897
  */
898
- Type?: ServiceTypeOption | string;
898
+ Type?: ServiceTypeOption;
899
899
  }
900
900
  /**
901
901
  * @public
@@ -977,7 +977,7 @@ export interface Service {
977
977
  * </dd>
978
978
  * </dl>
979
979
  */
980
- Type?: ServiceType | string;
980
+ Type?: ServiceType;
981
981
  /**
982
982
  * @public
983
983
  * <p>
@@ -1265,7 +1265,7 @@ export interface DiscoverInstancesRequest {
1265
1265
  * </dd>
1266
1266
  * </dl>
1267
1267
  */
1268
- HealthStatus?: HealthStatusFilter | string;
1268
+ HealthStatus?: HealthStatusFilter;
1269
1269
  }
1270
1270
  /**
1271
1271
  * @public
@@ -1314,7 +1314,7 @@ export interface HttpInstanceSummary {
1314
1314
  * <p>If you configured health checking in the service, the current health status of the service
1315
1315
  * instance.</p>
1316
1316
  */
1317
- HealthStatus?: HealthStatus | string;
1317
+ HealthStatus?: HealthStatus;
1318
1318
  /**
1319
1319
  * @public
1320
1320
  * <p>If you included any attributes when you registered the instance, the values of those
@@ -1645,7 +1645,7 @@ export interface GetInstancesHealthStatusResponse {
1645
1645
  * <p>A complex type that contains the IDs and the health status of the instances that you
1646
1646
  * specified in the <code>GetInstancesHealthStatus</code> request.</p>
1647
1647
  */
1648
- Status?: Record<string, HealthStatus | string>;
1648
+ Status?: Record<string, HealthStatus>;
1649
1649
  /**
1650
1650
  * @public
1651
1651
  * <p>If more than <code>MaxResults</code> instances match the specified criteria, you can submit
@@ -1747,7 +1747,7 @@ export interface Namespace {
1747
1747
  * </dd>
1748
1748
  * </dl>
1749
1749
  */
1750
- Type?: NamespaceType | string;
1750
+ Type?: NamespaceType;
1751
1751
  /**
1752
1752
  * @public
1753
1753
  * <p>The description that you specify for the namespace when you create it.</p>
@@ -1855,7 +1855,7 @@ export interface Operation {
1855
1855
  * @public
1856
1856
  * <p>The name of the operation that's associated with the specified ID.</p>
1857
1857
  */
1858
- Type?: OperationType | string;
1858
+ Type?: OperationType;
1859
1859
  /**
1860
1860
  * @public
1861
1861
  * <p>The status of the operation. Values include the following:</p>
@@ -1878,7 +1878,7 @@ export interface Operation {
1878
1878
  * </dd>
1879
1879
  * </dl>
1880
1880
  */
1881
- Status?: OperationStatus | string;
1881
+ Status?: OperationStatus;
1882
1882
  /**
1883
1883
  * @public
1884
1884
  * <p>If the value of <code>Status</code> is <code>FAIL</code>, the reason that the operation
@@ -1962,7 +1962,7 @@ export interface Operation {
1962
1962
  * </dd>
1963
1963
  * </dl>
1964
1964
  */
1965
- Targets?: Record<string, string>;
1965
+ Targets?: Record<OperationTargetType, string>;
1966
1966
  }
1967
1967
  /**
1968
1968
  * @public
@@ -2167,7 +2167,7 @@ export interface NamespaceFilter {
2167
2167
  * </li>
2168
2168
  * </ul>
2169
2169
  */
2170
- Name: NamespaceFilterName | string | undefined;
2170
+ Name: NamespaceFilterName | undefined;
2171
2171
  /**
2172
2172
  * @public
2173
2173
  * <p>Specify the values that are applicable to the value that you specify for
@@ -2210,7 +2210,7 @@ export interface NamespaceFilter {
2210
2210
  * </li>
2211
2211
  * </ul>
2212
2212
  */
2213
- Condition?: FilterCondition | string;
2213
+ Condition?: FilterCondition;
2214
2214
  }
2215
2215
  /**
2216
2216
  * @public
@@ -2270,7 +2270,7 @@ export interface NamespaceSummary {
2270
2270
  * @public
2271
2271
  * <p>The type of the namespace, either public or private.</p>
2272
2272
  */
2273
- Type?: NamespaceType | string;
2273
+ Type?: NamespaceType;
2274
2274
  /**
2275
2275
  * @public
2276
2276
  * <p>A description for the namespace.</p>
@@ -2367,7 +2367,7 @@ export interface OperationFilter {
2367
2367
  * </li>
2368
2368
  * </ul>
2369
2369
  */
2370
- Name: OperationFilterName | string | undefined;
2370
+ Name: OperationFilterName | undefined;
2371
2371
  /**
2372
2372
  * @public
2373
2373
  * <p>Specify values that are applicable to the value that you specify for <code>Name</code>: </p>
@@ -2428,7 +2428,7 @@ export interface OperationFilter {
2428
2428
  * </li>
2429
2429
  * </ul>
2430
2430
  */
2431
- Condition?: FilterCondition | string;
2431
+ Condition?: FilterCondition;
2432
2432
  }
2433
2433
  /**
2434
2434
  * @public
@@ -2499,7 +2499,7 @@ export interface OperationSummary {
2499
2499
  * </li>
2500
2500
  * </ul>
2501
2501
  */
2502
- Status?: OperationStatus | string;
2502
+ Status?: OperationStatus;
2503
2503
  }
2504
2504
  /**
2505
2505
  * @public
@@ -2545,7 +2545,7 @@ export interface ServiceFilter {
2545
2545
  * @public
2546
2546
  * <p>Specify <code>NAMESPACE_ID</code>.</p>
2547
2547
  */
2548
- Name: ServiceFilterName | string | undefined;
2548
+ Name: ServiceFilterName | undefined;
2549
2549
  /**
2550
2550
  * @public
2551
2551
  * <p>The values that are applicable to the value that you specify for <code>Condition</code> to
@@ -2564,7 +2564,7 @@ export interface ServiceFilter {
2564
2564
  * </li>
2565
2565
  * </ul>
2566
2566
  */
2567
- Condition?: FilterCondition | string;
2567
+ Condition?: FilterCondition;
2568
2568
  }
2569
2569
  /**
2570
2570
  * @public
@@ -2640,7 +2640,7 @@ export interface ServiceSummary {
2640
2640
  * </dd>
2641
2641
  * </dl>
2642
2642
  */
2643
- Type?: ServiceType | string;
2643
+ Type?: ServiceType;
2644
2644
  /**
2645
2645
  * @public
2646
2646
  * <p>The description that you specify when you create the service.</p>
@@ -3131,7 +3131,7 @@ export interface UpdateInstanceCustomHealthStatusRequest {
3131
3131
  * @public
3132
3132
  * <p>The new status of the instance, <code>HEALTHY</code> or <code>UNHEALTHY</code>.</p>
3133
3133
  */
3134
- Status: CustomHealthStatus | string | undefined;
3134
+ Status: CustomHealthStatus | undefined;
3135
3135
  }
3136
3136
  /**
3137
3137
  * @public
@@ -97,7 +97,7 @@ export declare const RecordType: {
97
97
  };
98
98
  export type RecordType = (typeof RecordType)[keyof typeof RecordType];
99
99
  export interface DnsRecord {
100
- Type: RecordType | string | undefined;
100
+ Type: RecordType | undefined;
101
101
  TTL: number | undefined;
102
102
  }
103
103
  export declare const RoutingPolicy: {
@@ -107,7 +107,7 @@ export declare const RoutingPolicy: {
107
107
  export type RoutingPolicy = (typeof RoutingPolicy)[keyof typeof RoutingPolicy];
108
108
  export interface DnsConfig {
109
109
  NamespaceId?: string;
110
- RoutingPolicy?: RoutingPolicy | string;
110
+ RoutingPolicy?: RoutingPolicy;
111
111
  DnsRecords: DnsRecord[] | undefined;
112
112
  }
113
113
  export declare const HealthCheckType: {
@@ -118,7 +118,7 @@ export declare const HealthCheckType: {
118
118
  export type HealthCheckType =
119
119
  (typeof HealthCheckType)[keyof typeof HealthCheckType];
120
120
  export interface HealthCheckConfig {
121
- Type: HealthCheckType | string | undefined;
121
+ Type: HealthCheckType | undefined;
122
122
  ResourcePath?: string;
123
123
  FailureThreshold?: number;
124
124
  }
@@ -139,7 +139,7 @@ export interface CreateServiceRequest {
139
139
  HealthCheckConfig?: HealthCheckConfig;
140
140
  HealthCheckCustomConfig?: HealthCheckCustomConfig;
141
141
  Tags?: Tag[];
142
- Type?: ServiceTypeOption | string;
142
+ Type?: ServiceTypeOption;
143
143
  }
144
144
  export declare const ServiceType: {
145
145
  readonly DNS: "DNS";
@@ -155,7 +155,7 @@ export interface Service {
155
155
  Description?: string;
156
156
  InstanceCount?: number;
157
157
  DnsConfig?: DnsConfig;
158
- Type?: ServiceType | string;
158
+ Type?: ServiceType;
159
159
  HealthCheckConfig?: HealthCheckConfig;
160
160
  HealthCheckCustomConfig?: HealthCheckCustomConfig;
161
161
  CreateDate?: Date;
@@ -243,7 +243,7 @@ export interface DiscoverInstancesRequest {
243
243
  MaxResults?: number;
244
244
  QueryParameters?: Record<string, string>;
245
245
  OptionalParameters?: Record<string, string>;
246
- HealthStatus?: HealthStatusFilter | string;
246
+ HealthStatus?: HealthStatusFilter;
247
247
  }
248
248
  export declare const HealthStatus: {
249
249
  readonly HEALTHY: "HEALTHY";
@@ -255,7 +255,7 @@ export interface HttpInstanceSummary {
255
255
  InstanceId?: string;
256
256
  NamespaceName?: string;
257
257
  ServiceName?: string;
258
- HealthStatus?: HealthStatus | string;
258
+ HealthStatus?: HealthStatus;
259
259
  Attributes?: Record<string, string>;
260
260
  }
261
261
  export interface DiscoverInstancesResponse {
@@ -311,7 +311,7 @@ export interface GetInstancesHealthStatusRequest {
311
311
  NextToken?: string;
312
312
  }
313
313
  export interface GetInstancesHealthStatusResponse {
314
- Status?: Record<string, HealthStatus | string>;
314
+ Status?: Record<string, HealthStatus>;
315
315
  NextToken?: string;
316
316
  }
317
317
  export interface GetNamespaceRequest {
@@ -334,7 +334,7 @@ export interface Namespace {
334
334
  Id?: string;
335
335
  Arn?: string;
336
336
  Name?: string;
337
- Type?: NamespaceType | string;
337
+ Type?: NamespaceType;
338
338
  Description?: string;
339
339
  ServiceCount?: number;
340
340
  Properties?: NamespaceProperties;
@@ -373,13 +373,13 @@ export declare const OperationType: {
373
373
  export type OperationType = (typeof OperationType)[keyof typeof OperationType];
374
374
  export interface Operation {
375
375
  Id?: string;
376
- Type?: OperationType | string;
377
- Status?: OperationStatus | string;
376
+ Type?: OperationType;
377
+ Status?: OperationStatus;
378
378
  ErrorMessage?: string;
379
379
  ErrorCode?: string;
380
380
  CreateDate?: Date;
381
381
  UpdateDate?: Date;
382
- Targets?: Record<string, string>;
382
+ Targets?: Record<OperationTargetType, string>;
383
383
  }
384
384
  export interface GetOperationResponse {
385
385
  Operation?: Operation;
@@ -420,9 +420,9 @@ export declare const NamespaceFilterName: {
420
420
  export type NamespaceFilterName =
421
421
  (typeof NamespaceFilterName)[keyof typeof NamespaceFilterName];
422
422
  export interface NamespaceFilter {
423
- Name: NamespaceFilterName | string | undefined;
423
+ Name: NamespaceFilterName | undefined;
424
424
  Values: string[] | undefined;
425
- Condition?: FilterCondition | string;
425
+ Condition?: FilterCondition;
426
426
  }
427
427
  export interface ListNamespacesRequest {
428
428
  NextToken?: string;
@@ -433,7 +433,7 @@ export interface NamespaceSummary {
433
433
  Id?: string;
434
434
  Arn?: string;
435
435
  Name?: string;
436
- Type?: NamespaceType | string;
436
+ Type?: NamespaceType;
437
437
  Description?: string;
438
438
  ServiceCount?: number;
439
439
  Properties?: NamespaceProperties;
@@ -453,9 +453,9 @@ export declare const OperationFilterName: {
453
453
  export type OperationFilterName =
454
454
  (typeof OperationFilterName)[keyof typeof OperationFilterName];
455
455
  export interface OperationFilter {
456
- Name: OperationFilterName | string | undefined;
456
+ Name: OperationFilterName | undefined;
457
457
  Values: string[] | undefined;
458
- Condition?: FilterCondition | string;
458
+ Condition?: FilterCondition;
459
459
  }
460
460
  export interface ListOperationsRequest {
461
461
  NextToken?: string;
@@ -464,7 +464,7 @@ export interface ListOperationsRequest {
464
464
  }
465
465
  export interface OperationSummary {
466
466
  Id?: string;
467
- Status?: OperationStatus | string;
467
+ Status?: OperationStatus;
468
468
  }
469
469
  export interface ListOperationsResponse {
470
470
  Operations?: OperationSummary[];
@@ -476,9 +476,9 @@ export declare const ServiceFilterName: {
476
476
  export type ServiceFilterName =
477
477
  (typeof ServiceFilterName)[keyof typeof ServiceFilterName];
478
478
  export interface ServiceFilter {
479
- Name: ServiceFilterName | string | undefined;
479
+ Name: ServiceFilterName | undefined;
480
480
  Values: string[] | undefined;
481
- Condition?: FilterCondition | string;
481
+ Condition?: FilterCondition;
482
482
  }
483
483
  export interface ListServicesRequest {
484
484
  NextToken?: string;
@@ -489,7 +489,7 @@ export interface ServiceSummary {
489
489
  Id?: string;
490
490
  Arn?: string;
491
491
  Name?: string;
492
- Type?: ServiceType | string;
492
+ Type?: ServiceType;
493
493
  Description?: string;
494
494
  InstanceCount?: number;
495
495
  DnsConfig?: DnsConfig;
@@ -568,7 +568,7 @@ export interface UpdateHttpNamespaceResponse {
568
568
  export interface UpdateInstanceCustomHealthStatusRequest {
569
569
  ServiceId: string | undefined;
570
570
  InstanceId: string | undefined;
571
- Status: CustomHealthStatus | string | undefined;
571
+ Status: CustomHealthStatus | undefined;
572
572
  }
573
573
  export interface UpdatePrivateDnsNamespaceRequest {
574
574
  Id: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-servicediscovery",
3
3
  "description": "AWS SDK for JavaScript Servicediscovery Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.429.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,9 +21,9 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",