@aws-sdk/client-devops-guru 3.192.0 → 3.193.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 (163) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/DevOpsGuruClient.js +11 -8
  3. package/dist-cjs/commands/AddNotificationChannelCommand.js +10 -0
  4. package/dist-cjs/commands/DeleteInsightCommand.js +10 -0
  5. package/dist-cjs/commands/DescribeAccountHealthCommand.js +10 -0
  6. package/dist-cjs/commands/DescribeAccountOverviewCommand.js +10 -0
  7. package/dist-cjs/commands/DescribeAnomalyCommand.js +10 -0
  8. package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +10 -0
  9. package/dist-cjs/commands/DescribeFeedbackCommand.js +10 -0
  10. package/dist-cjs/commands/DescribeInsightCommand.js +10 -0
  11. package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +10 -0
  12. package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +10 -0
  13. package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +10 -0
  14. package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +10 -0
  15. package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +10 -0
  16. package/dist-cjs/commands/GetCostEstimationCommand.js +10 -0
  17. package/dist-cjs/commands/GetResourceCollectionCommand.js +10 -0
  18. package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +10 -0
  19. package/dist-cjs/commands/ListAnomalousLogGroupsCommand.js +10 -0
  20. package/dist-cjs/commands/ListEventsCommand.js +10 -0
  21. package/dist-cjs/commands/ListInsightsCommand.js +10 -0
  22. package/dist-cjs/commands/ListMonitoredResourcesCommand.js +10 -0
  23. package/dist-cjs/commands/ListNotificationChannelsCommand.js +10 -0
  24. package/dist-cjs/commands/ListOrganizationInsightsCommand.js +10 -0
  25. package/dist-cjs/commands/ListRecommendationsCommand.js +10 -0
  26. package/dist-cjs/commands/PutFeedbackCommand.js +10 -0
  27. package/dist-cjs/commands/RemoveNotificationChannelCommand.js +10 -0
  28. package/dist-cjs/commands/SearchInsightsCommand.js +10 -0
  29. package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +10 -0
  30. package/dist-cjs/commands/StartCostEstimationCommand.js +10 -0
  31. package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +10 -0
  32. package/dist-cjs/commands/UpdateResourceCollectionCommand.js +10 -0
  33. package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +10 -0
  34. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  35. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  36. package/dist-cjs/endpoint/ruleset.js +318 -0
  37. package/dist-cjs/models/models_0.js +26 -0
  38. package/dist-cjs/protocols/Aws_restJson1.js +12 -0
  39. package/dist-cjs/runtimeConfig.shared.js +3 -3
  40. package/dist-es/DevOpsGuruClient.js +12 -9
  41. package/dist-es/commands/AddNotificationChannelCommand.js +10 -0
  42. package/dist-es/commands/DeleteInsightCommand.js +10 -0
  43. package/dist-es/commands/DescribeAccountHealthCommand.js +10 -0
  44. package/dist-es/commands/DescribeAccountOverviewCommand.js +10 -0
  45. package/dist-es/commands/DescribeAnomalyCommand.js +10 -0
  46. package/dist-es/commands/DescribeEventSourcesConfigCommand.js +10 -0
  47. package/dist-es/commands/DescribeFeedbackCommand.js +10 -0
  48. package/dist-es/commands/DescribeInsightCommand.js +10 -0
  49. package/dist-es/commands/DescribeOrganizationHealthCommand.js +10 -0
  50. package/dist-es/commands/DescribeOrganizationOverviewCommand.js +10 -0
  51. package/dist-es/commands/DescribeOrganizationResourceCollectionHealthCommand.js +10 -0
  52. package/dist-es/commands/DescribeResourceCollectionHealthCommand.js +10 -0
  53. package/dist-es/commands/DescribeServiceIntegrationCommand.js +10 -0
  54. package/dist-es/commands/GetCostEstimationCommand.js +10 -0
  55. package/dist-es/commands/GetResourceCollectionCommand.js +10 -0
  56. package/dist-es/commands/ListAnomaliesForInsightCommand.js +10 -0
  57. package/dist-es/commands/ListAnomalousLogGroupsCommand.js +10 -0
  58. package/dist-es/commands/ListEventsCommand.js +10 -0
  59. package/dist-es/commands/ListInsightsCommand.js +10 -0
  60. package/dist-es/commands/ListMonitoredResourcesCommand.js +10 -0
  61. package/dist-es/commands/ListNotificationChannelsCommand.js +10 -0
  62. package/dist-es/commands/ListOrganizationInsightsCommand.js +10 -0
  63. package/dist-es/commands/ListRecommendationsCommand.js +10 -0
  64. package/dist-es/commands/PutFeedbackCommand.js +10 -0
  65. package/dist-es/commands/RemoveNotificationChannelCommand.js +10 -0
  66. package/dist-es/commands/SearchInsightsCommand.js +10 -0
  67. package/dist-es/commands/SearchOrganizationInsightsCommand.js +10 -0
  68. package/dist-es/commands/StartCostEstimationCommand.js +10 -0
  69. package/dist-es/commands/UpdateEventSourcesConfigCommand.js +10 -0
  70. package/dist-es/commands/UpdateResourceCollectionCommand.js +10 -0
  71. package/dist-es/commands/UpdateServiceIntegrationCommand.js +10 -0
  72. package/dist-es/endpoint/EndpointParameters.js +8 -0
  73. package/dist-es/endpoint/endpointResolver.js +8 -0
  74. package/dist-es/endpoint/ruleset.js +315 -0
  75. package/dist-es/models/models_0.js +26 -0
  76. package/dist-es/protocols/Aws_restJson1.js +12 -0
  77. package/dist-es/runtimeConfig.shared.js +2 -2
  78. package/dist-types/DevOpsGuru.d.ts +1 -2
  79. package/dist-types/DevOpsGuruClient.d.ts +6 -9
  80. package/dist-types/commands/AddNotificationChannelCommand.d.ts +2 -0
  81. package/dist-types/commands/DeleteInsightCommand.d.ts +2 -0
  82. package/dist-types/commands/DescribeAccountHealthCommand.d.ts +2 -0
  83. package/dist-types/commands/DescribeAccountOverviewCommand.d.ts +2 -0
  84. package/dist-types/commands/DescribeAnomalyCommand.d.ts +2 -0
  85. package/dist-types/commands/DescribeEventSourcesConfigCommand.d.ts +2 -0
  86. package/dist-types/commands/DescribeFeedbackCommand.d.ts +2 -0
  87. package/dist-types/commands/DescribeInsightCommand.d.ts +2 -0
  88. package/dist-types/commands/DescribeOrganizationHealthCommand.d.ts +2 -0
  89. package/dist-types/commands/DescribeOrganizationOverviewCommand.d.ts +2 -0
  90. package/dist-types/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +2 -0
  91. package/dist-types/commands/DescribeResourceCollectionHealthCommand.d.ts +2 -0
  92. package/dist-types/commands/DescribeServiceIntegrationCommand.d.ts +2 -0
  93. package/dist-types/commands/GetCostEstimationCommand.d.ts +2 -0
  94. package/dist-types/commands/GetResourceCollectionCommand.d.ts +2 -0
  95. package/dist-types/commands/ListAnomaliesForInsightCommand.d.ts +2 -0
  96. package/dist-types/commands/ListAnomalousLogGroupsCommand.d.ts +2 -0
  97. package/dist-types/commands/ListEventsCommand.d.ts +2 -0
  98. package/dist-types/commands/ListInsightsCommand.d.ts +2 -0
  99. package/dist-types/commands/ListMonitoredResourcesCommand.d.ts +2 -0
  100. package/dist-types/commands/ListNotificationChannelsCommand.d.ts +2 -0
  101. package/dist-types/commands/ListOrganizationInsightsCommand.d.ts +2 -0
  102. package/dist-types/commands/ListRecommendationsCommand.d.ts +2 -0
  103. package/dist-types/commands/PutFeedbackCommand.d.ts +2 -0
  104. package/dist-types/commands/RemoveNotificationChannelCommand.d.ts +2 -0
  105. package/dist-types/commands/SearchInsightsCommand.d.ts +3 -2
  106. package/dist-types/commands/SearchOrganizationInsightsCommand.d.ts +2 -0
  107. package/dist-types/commands/StartCostEstimationCommand.d.ts +2 -0
  108. package/dist-types/commands/UpdateEventSourcesConfigCommand.d.ts +2 -0
  109. package/dist-types/commands/UpdateResourceCollectionCommand.d.ts +2 -0
  110. package/dist-types/commands/UpdateServiceIntegrationCommand.d.ts +2 -0
  111. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  112. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  113. package/dist-types/endpoint/ruleset.d.ts +2 -0
  114. package/dist-types/models/models_0.d.ts +65 -2
  115. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  116. package/dist-types/runtimeConfig.d.ts +4 -2
  117. package/dist-types/runtimeConfig.native.d.ts +4 -2
  118. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  119. package/dist-types/ts3.4/DevOpsGuruClient.d.ts +15 -8
  120. package/dist-types/ts3.4/commands/AddNotificationChannelCommand.d.ts +2 -0
  121. package/dist-types/ts3.4/commands/DeleteInsightCommand.d.ts +2 -0
  122. package/dist-types/ts3.4/commands/DescribeAccountHealthCommand.d.ts +2 -0
  123. package/dist-types/ts3.4/commands/DescribeAccountOverviewCommand.d.ts +2 -0
  124. package/dist-types/ts3.4/commands/DescribeAnomalyCommand.d.ts +2 -0
  125. package/dist-types/ts3.4/commands/DescribeEventSourcesConfigCommand.d.ts +2 -0
  126. package/dist-types/ts3.4/commands/DescribeFeedbackCommand.d.ts +2 -0
  127. package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +2 -0
  128. package/dist-types/ts3.4/commands/DescribeOrganizationHealthCommand.d.ts +2 -0
  129. package/dist-types/ts3.4/commands/DescribeOrganizationOverviewCommand.d.ts +2 -0
  130. package/dist-types/ts3.4/commands/DescribeOrganizationResourceCollectionHealthCommand.d.ts +2 -0
  131. package/dist-types/ts3.4/commands/DescribeResourceCollectionHealthCommand.d.ts +2 -0
  132. package/dist-types/ts3.4/commands/DescribeServiceIntegrationCommand.d.ts +2 -0
  133. package/dist-types/ts3.4/commands/GetCostEstimationCommand.d.ts +2 -0
  134. package/dist-types/ts3.4/commands/GetResourceCollectionCommand.d.ts +2 -0
  135. package/dist-types/ts3.4/commands/ListAnomaliesForInsightCommand.d.ts +2 -0
  136. package/dist-types/ts3.4/commands/ListAnomalousLogGroupsCommand.d.ts +2 -0
  137. package/dist-types/ts3.4/commands/ListEventsCommand.d.ts +2 -0
  138. package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +2 -0
  139. package/dist-types/ts3.4/commands/ListMonitoredResourcesCommand.d.ts +2 -0
  140. package/dist-types/ts3.4/commands/ListNotificationChannelsCommand.d.ts +2 -0
  141. package/dist-types/ts3.4/commands/ListOrganizationInsightsCommand.d.ts +2 -0
  142. package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +2 -0
  143. package/dist-types/ts3.4/commands/PutFeedbackCommand.d.ts +2 -0
  144. package/dist-types/ts3.4/commands/RemoveNotificationChannelCommand.d.ts +2 -0
  145. package/dist-types/ts3.4/commands/SearchInsightsCommand.d.ts +2 -0
  146. package/dist-types/ts3.4/commands/SearchOrganizationInsightsCommand.d.ts +2 -0
  147. package/dist-types/ts3.4/commands/StartCostEstimationCommand.d.ts +2 -0
  148. package/dist-types/ts3.4/commands/UpdateEventSourcesConfigCommand.d.ts +2 -0
  149. package/dist-types/ts3.4/commands/UpdateResourceCollectionCommand.d.ts +2 -0
  150. package/dist-types/ts3.4/commands/UpdateServiceIntegrationCommand.d.ts +2 -0
  151. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  152. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  153. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  154. package/dist-types/ts3.4/models/models_0.d.ts +33 -1
  155. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  156. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  157. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  158. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  159. package/package.json +28 -26
  160. package/dist-cjs/endpoints.js +0 -160
  161. package/dist-es/endpoints.js +0 -156
  162. package/dist-types/endpoints.d.ts +0 -2
  163. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateResourceCollectionCommand extends $Command<
25
26
  DevOpsGuruClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateResourceCollectionCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateResourceCollectionCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateServiceIntegrationCommand extends $Command<
25
26
  DevOpsGuruClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateServiceIntegrationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateServiceIntegrationCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region?: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -265,6 +265,7 @@ export interface DescribeAccountHealthResponse {
265
265
  OpenProactiveInsights: number | undefined;
266
266
  MetricsAnalyzed: number | undefined;
267
267
  ResourceHours: number | undefined;
268
+ AnalyzedResourceCount?: number;
268
269
  }
269
270
  export interface DescribeAccountOverviewRequest {
270
271
  FromTime: Date | undefined;
@@ -433,6 +434,7 @@ export interface InsightHealth {
433
434
  export interface CloudFormationHealth {
434
435
  StackName?: string;
435
436
  Insight?: InsightHealth;
437
+ AnalyzedResourceCount?: number;
436
438
  }
437
439
  export interface ServiceInsightHealth {
438
440
  OpenProactiveInsights?: number;
@@ -468,11 +470,13 @@ export declare enum ServiceName {
468
470
  export interface ServiceHealth {
469
471
  ServiceName?: ServiceName | string;
470
472
  Insight?: ServiceInsightHealth;
473
+ AnalyzedResourceCount?: number;
471
474
  }
472
475
  export interface TagHealth {
473
476
  AppBoundaryKey?: string;
474
477
  TagValue?: string;
475
478
  Insight?: InsightHealth;
479
+ AnalyzedResourceCount?: number;
476
480
  }
477
481
  export interface DescribeOrganizationResourceCollectionHealthResponse {
478
482
  CloudFormation?: CloudFormationHealth[];
@@ -741,14 +745,40 @@ export declare enum ResourcePermission {
741
745
  MISSING_PERMISSION = "MISSING_PERMISSION",
742
746
  }
743
747
  export declare enum ResourceTypeFilter {
748
+ CLOUDFRONT_DISTRIBUTION = "CLOUDFRONT_DISTRIBUTION",
749
+ DYNAMODB_TABLE = "DYNAMODB_TABLE",
750
+ EC2_NAT_GATEWAY = "EC2_NAT_GATEWAY",
751
+ ECS_CLUSTER = "ECS_CLUSTER",
752
+ ECS_SERVICE = "ECS_SERVICE",
753
+ EKS_CLUSTER = "EKS_CLUSTER",
754
+ ELASTICACHE_CACHE_CLUSTER = "ELASTICACHE_CACHE_CLUSTER",
755
+ ELASTICSEARCH_DOMAIN = "ELASTICSEARCH_DOMAIN",
756
+ ELASTIC_BEANSTALK_ENVIRONMENT = "ELASTIC_BEANSTALK_ENVIRONMENT",
757
+ ELASTIC_LOAD_BALANCER_LOAD_BALANCER = "ELASTIC_LOAD_BALANCER_LOAD_BALANCER",
758
+ ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER = "ELASTIC_LOAD_BALANCING_V2_LOAD_BALANCER",
759
+ ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP = "ELASTIC_LOAD_BALANCING_V2_TARGET_GROUP",
760
+ KINESIS_STREAM = "KINESIS_STREAM",
761
+ LAMBDA_FUNCTION = "LAMBDA_FUNCTION",
744
762
  LOG_GROUPS = "LOG_GROUPS",
763
+ OPEN_SEARCH_SERVICE_DOMAIN = "OPEN_SEARCH_SERVICE_DOMAIN",
764
+ RDS_DB_CLUSTER = "RDS_DB_CLUSTER",
765
+ RDS_DB_INSTANCE = "RDS_DB_INSTANCE",
766
+ REDSHIFT_CLUSTER = "REDSHIFT_CLUSTER",
767
+ ROUTE53_HEALTH_CHECK = "ROUTE53_HEALTH_CHECK",
768
+ ROUTE53_HOSTED_ZONE = "ROUTE53_HOSTED_ZONE",
769
+ S3_BUCKET = "S3_BUCKET",
770
+ SAGEMAKER_ENDPOINT = "SAGEMAKER_ENDPOINT",
771
+ SNS_TOPIC = "SNS_TOPIC",
772
+ SQS_QUEUE = "SQS_QUEUE",
773
+ STEP_FUNCTIONS_ACTIVITY = "STEP_FUNCTIONS_ACTIVITY",
774
+ STEP_FUNCTIONS_STATE_MACHINE = "STEP_FUNCTIONS_STATE_MACHINE",
745
775
  }
746
776
  export interface ListMonitoredResourcesFilters {
747
777
  ResourcePermission: ResourcePermission | string | undefined;
748
778
  ResourceTypeFilters: (ResourceTypeFilter | string)[] | undefined;
749
779
  }
750
780
  export interface ListMonitoredResourcesRequest {
751
- Filters: ListMonitoredResourcesFilters | undefined;
781
+ Filters?: ListMonitoredResourcesFilters;
752
782
  MaxResults?: number;
753
783
  NextToken?: string;
754
784
  }
@@ -756,6 +786,8 @@ export interface MonitoredResourceIdentifier {
756
786
  MonitoredResourceName?: string;
757
787
  Type?: string;
758
788
  ResourcePermission?: ResourcePermission | string;
789
+ LastUpdated?: Date;
790
+ ResourceCollection?: ResourceCollection;
759
791
  }
760
792
  export interface ListMonitoredResourcesResponse {
761
793
  MonitoredResourceIdentifiers: MonitoredResourceIdentifier[] | undefined;
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: DevOpsGuruClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?:
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: DevOpsGuruClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?:
@@ -29,7 +29,6 @@ export declare const getRuntimeConfig: (config: DevOpsGuruClientConfig) => {
29
29
  credentialDefaultProvider: (
30
30
  input: any
31
31
  ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
32
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
33
32
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
34
33
  import("@aws-sdk/types").UserAgent
35
34
  >;
@@ -40,9 +39,21 @@ export declare const getRuntimeConfig: (config: DevOpsGuruClientConfig) => {
40
39
  >;
41
40
  endpoint?:
42
41
  | string
43
- | import("@aws-sdk/types").Endpoint
44
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
42
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
43
+ import("@aws-sdk/types").Provider<string>)
44
+ | (import("@aws-sdk/types").Endpoint &
45
+ import("@aws-sdk/types").Provider<string>)
46
+ | (import("@aws-sdk/types").EndpointV2 &
47
+ import("@aws-sdk/types").Provider<string>)
48
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
49
+ import("@aws-sdk/types").Provider<string>)
45
50
  | undefined;
51
+ endpointProvider: (
52
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
53
+ context?: {
54
+ logger?: import("@aws-sdk/types").Logger | undefined;
55
+ }
56
+ ) => import("@aws-sdk/types").EndpointV2;
46
57
  tls?: boolean | undefined;
47
58
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
48
59
  credentials?:
@@ -3,8 +3,13 @@ import { DevOpsGuruClientConfig } from "./DevOpsGuruClient";
3
3
  export declare const getRuntimeConfig: (config: DevOpsGuruClientConfig) => {
4
4
  apiVersion: string;
5
5
  disableHostPrefix: boolean;
6
+ endpointProvider: (
7
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
8
+ context?: {
9
+ logger?: __Logger | undefined;
10
+ }
11
+ ) => import("@aws-sdk/types").EndpointV2;
6
12
  logger: __Logger;
7
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
8
13
  serviceId: string;
9
14
  urlParser: import("@aws-sdk/types").UrlParser;
10
15
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-devops-guru",
3
3
  "description": "AWS SDK for JavaScript Devops Guru Client for Node.js, Browser and React Native",
4
- "version": "3.192.0",
4
+ "version": "3.193.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",
@@ -19,35 +19,37 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.192.0",
23
- "@aws-sdk/config-resolver": "3.190.0",
24
- "@aws-sdk/credential-provider-node": "3.190.0",
25
- "@aws-sdk/fetch-http-handler": "3.190.0",
26
- "@aws-sdk/hash-node": "3.190.0",
27
- "@aws-sdk/invalid-dependency": "3.190.0",
28
- "@aws-sdk/middleware-content-length": "3.190.0",
29
- "@aws-sdk/middleware-host-header": "3.190.0",
30
- "@aws-sdk/middleware-logger": "3.190.0",
31
- "@aws-sdk/middleware-recursion-detection": "3.190.0",
32
- "@aws-sdk/middleware-retry": "3.190.0",
33
- "@aws-sdk/middleware-serde": "3.190.0",
34
- "@aws-sdk/middleware-signing": "3.192.0",
35
- "@aws-sdk/middleware-stack": "3.190.0",
36
- "@aws-sdk/middleware-user-agent": "3.190.0",
37
- "@aws-sdk/node-config-provider": "3.190.0",
38
- "@aws-sdk/node-http-handler": "3.190.0",
39
- "@aws-sdk/protocol-http": "3.190.0",
40
- "@aws-sdk/smithy-client": "3.190.0",
41
- "@aws-sdk/types": "3.190.0",
42
- "@aws-sdk/url-parser": "3.190.0",
22
+ "@aws-sdk/client-sts": "3.193.0",
23
+ "@aws-sdk/config-resolver": "3.193.0",
24
+ "@aws-sdk/credential-provider-node": "3.193.0",
25
+ "@aws-sdk/fetch-http-handler": "3.193.0",
26
+ "@aws-sdk/hash-node": "3.193.0",
27
+ "@aws-sdk/invalid-dependency": "3.193.0",
28
+ "@aws-sdk/middleware-content-length": "3.193.0",
29
+ "@aws-sdk/middleware-endpoint": "3.193.0",
30
+ "@aws-sdk/middleware-host-header": "3.193.0",
31
+ "@aws-sdk/middleware-logger": "3.193.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.193.0",
33
+ "@aws-sdk/middleware-retry": "3.193.0",
34
+ "@aws-sdk/middleware-serde": "3.193.0",
35
+ "@aws-sdk/middleware-signing": "3.193.0",
36
+ "@aws-sdk/middleware-stack": "3.193.0",
37
+ "@aws-sdk/middleware-user-agent": "3.193.0",
38
+ "@aws-sdk/node-config-provider": "3.193.0",
39
+ "@aws-sdk/node-http-handler": "3.193.0",
40
+ "@aws-sdk/protocol-http": "3.193.0",
41
+ "@aws-sdk/smithy-client": "3.193.0",
42
+ "@aws-sdk/types": "3.193.0",
43
+ "@aws-sdk/url-parser": "3.193.0",
43
44
  "@aws-sdk/util-base64-browser": "3.188.0",
44
45
  "@aws-sdk/util-base64-node": "3.188.0",
45
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
47
  "@aws-sdk/util-body-length-node": "3.188.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.190.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.190.0",
49
- "@aws-sdk/util-user-agent-browser": "3.190.0",
50
- "@aws-sdk/util-user-agent-node": "3.190.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.193.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.193.0",
50
+ "@aws-sdk/util-endpoints": "3.193.0",
51
+ "@aws-sdk/util-user-agent-browser": "3.193.0",
52
+ "@aws-sdk/util-user-agent-node": "3.193.0",
51
53
  "@aws-sdk/util-utf8-browser": "3.188.0",
52
54
  "@aws-sdk/util-utf8-node": "3.188.0",
53
55
  "tslib": "^2.3.1",
@@ -1,160 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.defaultRegionInfoProvider = void 0;
4
- const config_resolver_1 = require("@aws-sdk/config-resolver");
5
- const regionHash = {
6
- "us-east-1": {
7
- variants: [
8
- {
9
- hostname: "devops-guru-fips.us-east-1.amazonaws.com",
10
- tags: ["fips"],
11
- },
12
- ],
13
- },
14
- "us-east-2": {
15
- variants: [
16
- {
17
- hostname: "devops-guru-fips.us-east-2.amazonaws.com",
18
- tags: ["fips"],
19
- },
20
- ],
21
- },
22
- "us-west-2": {
23
- variants: [
24
- {
25
- hostname: "devops-guru-fips.us-west-2.amazonaws.com",
26
- tags: ["fips"],
27
- },
28
- ],
29
- },
30
- };
31
- const partitionHash = {
32
- aws: {
33
- regions: [
34
- "af-south-1",
35
- "ap-east-1",
36
- "ap-northeast-1",
37
- "ap-northeast-2",
38
- "ap-northeast-3",
39
- "ap-south-1",
40
- "ap-southeast-1",
41
- "ap-southeast-2",
42
- "ap-southeast-3",
43
- "ca-central-1",
44
- "eu-central-1",
45
- "eu-north-1",
46
- "eu-south-1",
47
- "eu-west-1",
48
- "eu-west-2",
49
- "eu-west-3",
50
- "fips-us-east-1",
51
- "fips-us-east-2",
52
- "fips-us-west-2",
53
- "me-central-1",
54
- "me-south-1",
55
- "sa-east-1",
56
- "us-east-1",
57
- "us-east-2",
58
- "us-west-1",
59
- "us-west-2",
60
- ],
61
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
62
- variants: [
63
- {
64
- hostname: "devops-guru.{region}.amazonaws.com",
65
- tags: [],
66
- },
67
- {
68
- hostname: "devops-guru-fips.{region}.amazonaws.com",
69
- tags: ["fips"],
70
- },
71
- {
72
- hostname: "devops-guru-fips.{region}.api.aws",
73
- tags: ["dualstack", "fips"],
74
- },
75
- {
76
- hostname: "devops-guru.{region}.api.aws",
77
- tags: ["dualstack"],
78
- },
79
- ],
80
- },
81
- "aws-cn": {
82
- regions: ["cn-north-1", "cn-northwest-1"],
83
- regionRegex: "^cn\\-\\w+\\-\\d+$",
84
- variants: [
85
- {
86
- hostname: "devops-guru.{region}.amazonaws.com.cn",
87
- tags: [],
88
- },
89
- {
90
- hostname: "devops-guru-fips.{region}.amazonaws.com.cn",
91
- tags: ["fips"],
92
- },
93
- {
94
- hostname: "devops-guru-fips.{region}.api.amazonwebservices.com.cn",
95
- tags: ["dualstack", "fips"],
96
- },
97
- {
98
- hostname: "devops-guru.{region}.api.amazonwebservices.com.cn",
99
- tags: ["dualstack"],
100
- },
101
- ],
102
- },
103
- "aws-iso": {
104
- regions: ["us-iso-east-1", "us-iso-west-1"],
105
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
106
- variants: [
107
- {
108
- hostname: "devops-guru.{region}.c2s.ic.gov",
109
- tags: [],
110
- },
111
- {
112
- hostname: "devops-guru-fips.{region}.c2s.ic.gov",
113
- tags: ["fips"],
114
- },
115
- ],
116
- },
117
- "aws-iso-b": {
118
- regions: ["us-isob-east-1"],
119
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
120
- variants: [
121
- {
122
- hostname: "devops-guru.{region}.sc2s.sgov.gov",
123
- tags: [],
124
- },
125
- {
126
- hostname: "devops-guru-fips.{region}.sc2s.sgov.gov",
127
- tags: ["fips"],
128
- },
129
- ],
130
- },
131
- "aws-us-gov": {
132
- regions: ["us-gov-east-1", "us-gov-west-1"],
133
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
134
- variants: [
135
- {
136
- hostname: "devops-guru.{region}.amazonaws.com",
137
- tags: [],
138
- },
139
- {
140
- hostname: "devops-guru-fips.{region}.amazonaws.com",
141
- tags: ["fips"],
142
- },
143
- {
144
- hostname: "devops-guru-fips.{region}.api.aws",
145
- tags: ["dualstack", "fips"],
146
- },
147
- {
148
- hostname: "devops-guru.{region}.api.aws",
149
- tags: ["dualstack"],
150
- },
151
- ],
152
- },
153
- };
154
- const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
155
- ...options,
156
- signingService: "devops-guru",
157
- regionHash,
158
- partitionHash,
159
- });
160
- exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
@@ -1,156 +0,0 @@
1
- import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
- "us-east-1": {
4
- variants: [
5
- {
6
- hostname: "devops-guru-fips.us-east-1.amazonaws.com",
7
- tags: ["fips"],
8
- },
9
- ],
10
- },
11
- "us-east-2": {
12
- variants: [
13
- {
14
- hostname: "devops-guru-fips.us-east-2.amazonaws.com",
15
- tags: ["fips"],
16
- },
17
- ],
18
- },
19
- "us-west-2": {
20
- variants: [
21
- {
22
- hostname: "devops-guru-fips.us-west-2.amazonaws.com",
23
- tags: ["fips"],
24
- },
25
- ],
26
- },
27
- };
28
- const partitionHash = {
29
- aws: {
30
- regions: [
31
- "af-south-1",
32
- "ap-east-1",
33
- "ap-northeast-1",
34
- "ap-northeast-2",
35
- "ap-northeast-3",
36
- "ap-south-1",
37
- "ap-southeast-1",
38
- "ap-southeast-2",
39
- "ap-southeast-3",
40
- "ca-central-1",
41
- "eu-central-1",
42
- "eu-north-1",
43
- "eu-south-1",
44
- "eu-west-1",
45
- "eu-west-2",
46
- "eu-west-3",
47
- "fips-us-east-1",
48
- "fips-us-east-2",
49
- "fips-us-west-2",
50
- "me-central-1",
51
- "me-south-1",
52
- "sa-east-1",
53
- "us-east-1",
54
- "us-east-2",
55
- "us-west-1",
56
- "us-west-2",
57
- ],
58
- regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
59
- variants: [
60
- {
61
- hostname: "devops-guru.{region}.amazonaws.com",
62
- tags: [],
63
- },
64
- {
65
- hostname: "devops-guru-fips.{region}.amazonaws.com",
66
- tags: ["fips"],
67
- },
68
- {
69
- hostname: "devops-guru-fips.{region}.api.aws",
70
- tags: ["dualstack", "fips"],
71
- },
72
- {
73
- hostname: "devops-guru.{region}.api.aws",
74
- tags: ["dualstack"],
75
- },
76
- ],
77
- },
78
- "aws-cn": {
79
- regions: ["cn-north-1", "cn-northwest-1"],
80
- regionRegex: "^cn\\-\\w+\\-\\d+$",
81
- variants: [
82
- {
83
- hostname: "devops-guru.{region}.amazonaws.com.cn",
84
- tags: [],
85
- },
86
- {
87
- hostname: "devops-guru-fips.{region}.amazonaws.com.cn",
88
- tags: ["fips"],
89
- },
90
- {
91
- hostname: "devops-guru-fips.{region}.api.amazonwebservices.com.cn",
92
- tags: ["dualstack", "fips"],
93
- },
94
- {
95
- hostname: "devops-guru.{region}.api.amazonwebservices.com.cn",
96
- tags: ["dualstack"],
97
- },
98
- ],
99
- },
100
- "aws-iso": {
101
- regions: ["us-iso-east-1", "us-iso-west-1"],
102
- regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
103
- variants: [
104
- {
105
- hostname: "devops-guru.{region}.c2s.ic.gov",
106
- tags: [],
107
- },
108
- {
109
- hostname: "devops-guru-fips.{region}.c2s.ic.gov",
110
- tags: ["fips"],
111
- },
112
- ],
113
- },
114
- "aws-iso-b": {
115
- regions: ["us-isob-east-1"],
116
- regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
117
- variants: [
118
- {
119
- hostname: "devops-guru.{region}.sc2s.sgov.gov",
120
- tags: [],
121
- },
122
- {
123
- hostname: "devops-guru-fips.{region}.sc2s.sgov.gov",
124
- tags: ["fips"],
125
- },
126
- ],
127
- },
128
- "aws-us-gov": {
129
- regions: ["us-gov-east-1", "us-gov-west-1"],
130
- regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
131
- variants: [
132
- {
133
- hostname: "devops-guru.{region}.amazonaws.com",
134
- tags: [],
135
- },
136
- {
137
- hostname: "devops-guru-fips.{region}.amazonaws.com",
138
- tags: ["fips"],
139
- },
140
- {
141
- hostname: "devops-guru-fips.{region}.api.aws",
142
- tags: ["dualstack", "fips"],
143
- },
144
- {
145
- hostname: "devops-guru.{region}.api.aws",
146
- tags: ["dualstack"],
147
- },
148
- ],
149
- },
150
- };
151
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
152
- ...options,
153
- signingService: "devops-guru",
154
- regionHash,
155
- partitionHash,
156
- });
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -1,2 +0,0 @@
1
- import { RegionInfoProvider } from "@aws-sdk/types";
2
- export declare const defaultRegionInfoProvider: RegionInfoProvider;