@aws-sdk/client-devops-guru 3.358.0 → 3.360.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.UpdateResourceCollectionAction = exports.Locale = exports.ResourceTypeFilter = exports.ResourcePermission = exports.InsightType = exports.EventClass = exports.EventDataSource = exports.CostEstimationStatus = exports.CostEstimationServiceResourceState = exports.OptInStatus = exports.ResourceCollectionType = exports.ServiceName = exports.OrganizationResourceCollectionType = exports.InsightStatus = exports.InsightFeedbackOption = exports.AnomalyType = exports.AnomalyStatus = exports.CloudWatchMetricsStat = exports.CloudWatchMetricDataStatusCode = exports.AnomalySeverity = exports.LogAnomalyType = exports.EventSourceOptInStatus = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.InsightSeverity = exports.NotificationMessageType = exports.AccessDeniedException = void 0;
3
+ exports.UpdateResourceCollectionAction = exports.Locale = exports.ResourceTypeFilter = exports.ResourcePermission = exports.InsightType = exports.EventClass = exports.EventDataSource = exports.CostEstimationStatus = exports.CostEstimationServiceResourceState = exports.ServerSideEncryptionType = exports.OptInStatus = exports.ResourceCollectionType = exports.ServiceName = exports.OrganizationResourceCollectionType = exports.InsightStatus = exports.InsightFeedbackOption = exports.AnomalyType = exports.AnomalyStatus = exports.CloudWatchMetricsStat = exports.CloudWatchMetricDataStatusCode = exports.AnomalySeverity = exports.LogAnomalyType = exports.EventSourceOptInStatus = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.InsightSeverity = exports.NotificationMessageType = exports.AccessDeniedException = void 0;
4
4
  const DevOpsGuruServiceException_1 = require("./DevOpsGuruServiceException");
5
5
  class AccessDeniedException extends DevOpsGuruServiceException_1.DevOpsGuruServiceException {
6
6
  constructor(opts) {
@@ -225,6 +225,10 @@ exports.OptInStatus = {
225
225
  DISABLED: "DISABLED",
226
226
  ENABLED: "ENABLED",
227
227
  };
228
+ exports.ServerSideEncryptionType = {
229
+ AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
230
+ CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
231
+ };
228
232
  exports.CostEstimationServiceResourceState = {
229
233
  ACTIVE: "ACTIVE",
230
234
  INACTIVE: "INACTIVE",
@@ -215,6 +215,10 @@ export const OptInStatus = {
215
215
  DISABLED: "DISABLED",
216
216
  ENABLED: "ENABLED",
217
217
  };
218
+ export const ServerSideEncryptionType = {
219
+ AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
220
+ CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY",
221
+ };
218
222
  export const CostEstimationServiceResourceState = {
219
223
  ACTIVE: "ACTIVE",
220
224
  INACTIVE: "INACTIVE",
@@ -26,10 +26,9 @@ export interface AddNotificationChannelCommandOutput extends AddNotificationChan
26
26
  * <p> Adds a notification channel to DevOps Guru. A notification channel is used to notify you
27
27
  * about important DevOps Guru events, such as when an insight is generated. </p>
28
28
  * <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission
29
- * to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics.
29
+ * to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics.
30
30
  * For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html">Permissions
31
- * for cross account Amazon SNS topics</a>.</p>
32
- * <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.</p>
31
+ * for Amazon SNS topics</a>.</p>
33
32
  * <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions
34
33
  * to the CMK. For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html">Permissions for
35
34
  * Amazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>
@@ -43,6 +43,11 @@ export interface DescribeServiceIntegrationCommandOutput extends DescribeService
43
43
  * // LogsAnomalyDetection: { // LogsAnomalyDetectionIntegration
44
44
  * // OptInStatus: "ENABLED" || "DISABLED",
45
45
  * // },
46
+ * // KMSServerSideEncryption: { // KMSServerSideEncryptionIntegration
47
+ * // KMSKeyId: "STRING_VALUE",
48
+ * // OptInStatus: "ENABLED" || "DISABLED",
49
+ * // Type: "CUSTOMER_MANAGED_KEY" || "AWS_OWNED_KMS_KEY",
50
+ * // },
46
51
  * // },
47
52
  * // };
48
53
  *
@@ -40,6 +40,11 @@ export interface UpdateServiceIntegrationCommandOutput extends UpdateServiceInte
40
40
  * LogsAnomalyDetection: { // LogsAnomalyDetectionIntegrationConfig
41
41
  * OptInStatus: "ENABLED" || "DISABLED",
42
42
  * },
43
+ * KMSServerSideEncryption: { // KMSServerSideEncryptionIntegrationConfig
44
+ * KMSKeyId: "STRING_VALUE",
45
+ * OptInStatus: "ENABLED" || "DISABLED",
46
+ * Type: "CUSTOMER_MANAGED_KEY" || "AWS_OWNED_KMS_KEY",
47
+ * },
43
48
  * },
44
49
  * };
45
50
  * const command = new UpdateServiceIntegrationCommand(input);
@@ -105,10 +105,9 @@ export interface NotificationFilterConfig {
105
105
  * @public
106
106
  * <p> Contains the Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic. </p>
107
107
  * <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission
108
- * to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics.
108
+ * to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics.
109
109
  * For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html">Permissions
110
- * for cross account Amazon SNS topics</a>.</p>
111
- * <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.</p>
110
+ * for Amazon SNS topics</a>.</p>
112
111
  * <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions
113
112
  * to the CMK. For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html">Permissions for
114
113
  * Amazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>
@@ -130,10 +129,9 @@ export interface NotificationChannelConfig {
130
129
  * <p> Information about a notification channel configured in DevOps Guru to send notifications
131
130
  * when insights are created. </p>
132
131
  * <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission
133
- * to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics.
132
+ * to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics.
134
133
  * For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html">Permissions
135
- * for cross account Amazon SNS topics</a>.</p>
136
- * <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.</p>
134
+ * for Amazon SNS topics</a>.</p>
137
135
  * <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions
138
136
  * to the CMK. For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html">Permissions for
139
137
  * Amazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>
@@ -2172,6 +2170,55 @@ export declare const OptInStatus: {
2172
2170
  * @public
2173
2171
  */
2174
2172
  export type OptInStatus = (typeof OptInStatus)[keyof typeof OptInStatus];
2173
+ /**
2174
+ * @public
2175
+ * @enum
2176
+ */
2177
+ export declare const ServerSideEncryptionType: {
2178
+ readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
2179
+ readonly CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY";
2180
+ };
2181
+ /**
2182
+ * @public
2183
+ */
2184
+ export type ServerSideEncryptionType = (typeof ServerSideEncryptionType)[keyof typeof ServerSideEncryptionType];
2185
+ /**
2186
+ * @public
2187
+ * <p>
2188
+ * Information about the KMS encryption used with DevOps Guru.
2189
+ * </p>
2190
+ */
2191
+ export interface KMSServerSideEncryptionIntegration {
2192
+ /**
2193
+ * <p>
2194
+ * Describes the specified KMS key.
2195
+ * </p>
2196
+ * <p>To specify a KMS key, use its key ID, key ARN,
2197
+ * alias name, or alias ARN. When using an alias name,
2198
+ * prefix it with "alias/". If you specify a predefined Amazon Web Services alias
2199
+ * (an Amazon Web Services alias with no key ID), Amazon Web Services KMS associates the alias with an
2200
+ * Amazon Web Services managed key and returns its KeyId and Arn in the response.
2201
+ * To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.</p>
2202
+ * <p>For example: </p>
2203
+ * <p>Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab</p>
2204
+ * <p>Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</p>
2205
+ * <p>Alias name: alias/ExampleAlias</p>
2206
+ * <p>Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias</p>
2207
+ */
2208
+ KMSKeyId?: string;
2209
+ /**
2210
+ * <p>
2211
+ * Specifies if DevOps Guru is enabled for customer managed keys.
2212
+ * </p>
2213
+ */
2214
+ OptInStatus?: OptInStatus | string;
2215
+ /**
2216
+ * <p>
2217
+ * The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.
2218
+ * </p>
2219
+ */
2220
+ Type?: ServerSideEncryptionType | string;
2221
+ }
2175
2222
  /**
2176
2223
  * @public
2177
2224
  * <p>
@@ -2213,6 +2260,12 @@ export interface ServiceIntegrationConfig {
2213
2260
  * </p>
2214
2261
  */
2215
2262
  LogsAnomalyDetection?: LogsAnomalyDetectionIntegration;
2263
+ /**
2264
+ * <p>
2265
+ * Information about whether DevOps Guru is configured to encrypt server-side data using KMS.
2266
+ * </p>
2267
+ */
2268
+ KMSServerSideEncryption?: KMSServerSideEncryptionIntegration;
2216
2269
  }
2217
2270
  /**
2218
2271
  * @public
@@ -3452,10 +3505,9 @@ export interface ListNotificationChannelsRequest {
3452
3505
  * you when DevOps Guru creates an insight. The one
3453
3506
  * supported notification channel is Amazon Simple Notification Service (Amazon SNS). </p>
3454
3507
  * <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission
3455
- * to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics.
3508
+ * to send it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. DevOps Guru only supports standard SNS topics.
3456
3509
  * For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-required-permissions.html">Permissions
3457
- * for cross account Amazon SNS topics</a>.</p>
3458
- * <p>If you use an Amazon SNS topic in another account, you must attach a policy to it that grants DevOps Guru permission to it notifications. DevOps Guru adds the required policy on your behalf to send notifications using Amazon SNS in your account. For more information, see Permissions for cross account Amazon SNS topics.</p>
3510
+ * for Amazon SNS topics</a>.</p>
3459
3511
  * <p>If you use an Amazon SNS topic that is encrypted by an Amazon Web Services Key Management Service customer-managed key (CMK), then you must add permissions
3460
3512
  * to the CMK. For more information, see <a href="https://docs.aws.amazon.com/devops-guru/latest/userguide/sns-kms-permissions.html">Permissions for
3461
3513
  * Amazon Web Services KMS–encrypted Amazon SNS topics</a>.</p>
@@ -4171,6 +4223,42 @@ export interface UpdateResourceCollectionRequest {
4171
4223
  */
4172
4224
  export interface UpdateResourceCollectionResponse {
4173
4225
  }
4226
+ /**
4227
+ * @public
4228
+ * <p>
4229
+ * Information about whether DevOps Guru is configured to encrypt server-side data using KMS.
4230
+ * </p>
4231
+ */
4232
+ export interface KMSServerSideEncryptionIntegrationConfig {
4233
+ /**
4234
+ * <p>
4235
+ * Describes the specified KMS key.</p>
4236
+ * <p>To specify a KMS key, use its key ID, key ARN,
4237
+ * alias name, or alias ARN. When using an alias name,
4238
+ * prefix it with "alias/". If you specify a predefined Amazon Web Services alias
4239
+ * (an Amazon Web Services alias with no key ID), Amazon Web Services KMS associates the alias with an
4240
+ * Amazon Web Services managed key and returns its KeyId and Arn in the response.
4241
+ * To specify a KMS key in a different Amazon Web Services account, you must use the key ARN or alias ARN.</p>
4242
+ * <p>For example: </p>
4243
+ * <p>Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab</p>
4244
+ * <p>Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab</p>
4245
+ * <p>Alias name: alias/ExampleAlias</p>
4246
+ * <p>Alias ARN: arn:aws:kms:us-east-2:111122223333:alias/ExampleAlias</p>
4247
+ */
4248
+ KMSKeyId?: string;
4249
+ /**
4250
+ * <p>
4251
+ * Specifies if DevOps Guru is enabled for KMS integration.
4252
+ * </p>
4253
+ */
4254
+ OptInStatus?: OptInStatus | string;
4255
+ /**
4256
+ * <p>
4257
+ * The type of KMS key used. Customer managed keys are the KMS keys that you create. Amazon Web Services owned keys are keys that are owned and managed by DevOps Guru.
4258
+ * </p>
4259
+ */
4260
+ Type?: ServerSideEncryptionType | string;
4261
+ }
4174
4262
  /**
4175
4263
  * @public
4176
4264
  * <p>
@@ -4212,6 +4300,12 @@ export interface UpdateServiceIntegrationConfig {
4212
4300
  * </p>
4213
4301
  */
4214
4302
  LogsAnomalyDetection?: LogsAnomalyDetectionIntegrationConfig;
4303
+ /**
4304
+ * <p>
4305
+ * Information about whether DevOps Guru is configured to encrypt server-side data using KMS.
4306
+ * </p>
4307
+ */
4308
+ KMSServerSideEncryption?: KMSServerSideEncryptionIntegrationConfig;
4215
4309
  }
4216
4310
  /**
4217
4311
  * @public
@@ -533,6 +533,17 @@ export declare const OptInStatus: {
533
533
  readonly ENABLED: "ENABLED";
534
534
  };
535
535
  export type OptInStatus = (typeof OptInStatus)[keyof typeof OptInStatus];
536
+ export declare const ServerSideEncryptionType: {
537
+ readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
538
+ readonly CUSTOMER_MANAGED_KEY: "CUSTOMER_MANAGED_KEY";
539
+ };
540
+ export type ServerSideEncryptionType =
541
+ (typeof ServerSideEncryptionType)[keyof typeof ServerSideEncryptionType];
542
+ export interface KMSServerSideEncryptionIntegration {
543
+ KMSKeyId?: string;
544
+ OptInStatus?: OptInStatus | string;
545
+ Type?: ServerSideEncryptionType | string;
546
+ }
536
547
  export interface LogsAnomalyDetectionIntegration {
537
548
  OptInStatus?: OptInStatus | string;
538
549
  }
@@ -542,6 +553,7 @@ export interface OpsCenterIntegration {
542
553
  export interface ServiceIntegrationConfig {
543
554
  OpsCenter?: OpsCenterIntegration;
544
555
  LogsAnomalyDetection?: LogsAnomalyDetectionIntegration;
556
+ KMSServerSideEncryption?: KMSServerSideEncryptionIntegration;
545
557
  }
546
558
  export interface DescribeServiceIntegrationResponse {
547
559
  ServiceIntegration?: ServiceIntegrationConfig;
@@ -1017,6 +1029,11 @@ export interface UpdateResourceCollectionRequest {
1017
1029
  ResourceCollection: UpdateResourceCollectionFilter | undefined;
1018
1030
  }
1019
1031
  export interface UpdateResourceCollectionResponse {}
1032
+ export interface KMSServerSideEncryptionIntegrationConfig {
1033
+ KMSKeyId?: string;
1034
+ OptInStatus?: OptInStatus | string;
1035
+ Type?: ServerSideEncryptionType | string;
1036
+ }
1020
1037
  export interface LogsAnomalyDetectionIntegrationConfig {
1021
1038
  OptInStatus?: OptInStatus | string;
1022
1039
  }
@@ -1026,6 +1043,7 @@ export interface OpsCenterIntegrationConfig {
1026
1043
  export interface UpdateServiceIntegrationConfig {
1027
1044
  OpsCenter?: OpsCenterIntegrationConfig;
1028
1045
  LogsAnomalyDetection?: LogsAnomalyDetectionIntegrationConfig;
1046
+ KMSServerSideEncryption?: KMSServerSideEncryptionIntegrationConfig;
1029
1047
  }
1030
1048
  export interface UpdateServiceIntegrationRequest {
1031
1049
  ServiceIntegration: UpdateServiceIntegrationConfig | undefined;
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.358.0",
4
+ "version": "3.360.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.358.0",
24
+ "@aws-sdk/client-sts": "3.360.0",
25
25
  "@aws-sdk/config-resolver": "3.357.0",
26
- "@aws-sdk/credential-provider-node": "3.358.0",
26
+ "@aws-sdk/credential-provider-node": "3.360.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.357.0",
28
28
  "@aws-sdk/hash-node": "3.357.0",
29
29
  "@aws-sdk/invalid-dependency": "3.357.0",
@@ -38,15 +38,15 @@
38
38
  "@aws-sdk/middleware-stack": "3.357.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.357.0",
40
40
  "@aws-sdk/node-config-provider": "3.357.0",
41
- "@aws-sdk/node-http-handler": "3.357.0",
42
- "@aws-sdk/smithy-client": "3.358.0",
41
+ "@aws-sdk/node-http-handler": "3.360.0",
42
+ "@aws-sdk/smithy-client": "3.360.0",
43
43
  "@aws-sdk/types": "3.357.0",
44
44
  "@aws-sdk/url-parser": "3.357.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.358.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.358.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.360.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.360.0",
50
50
  "@aws-sdk/util-endpoints": "3.357.0",
51
51
  "@aws-sdk/util-retry": "3.357.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.357.0",