@aws-sdk/client-observabilityadmin 3.1101.0 → 3.1103.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1100.0";
72
+ var version = "3.1102.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -354,6 +354,7 @@ const _ELBLBLP = "ELBLoadBalancerLoggingParameters";
354
354
  const _ELGS = "EncryptedLogGroupStrategy";
355
355
  const _EM = "EnhancedMonitoring";
356
356
  const _ES = "EncryptionStrategy";
357
+ const _ESn = "EncryptionScope";
357
358
  const _EW = "EndsWith";
358
359
  const _En = "Encryption";
359
360
  const _Eq = "Equals";
@@ -965,8 +966,8 @@ var LogsBackupConfiguration$ = [3, n0, _LBC,
965
966
  ];
966
967
  var LogsEncryptionConfiguration$ = [3, n0, _LEC,
967
968
  0,
968
- [_ES, _KKA, _ECRS],
969
- [0, 0, 0], 1
969
+ [_ES, _KKA, _ECRS, _ESn],
970
+ [0, 0, 0, 0], 1
970
971
  ];
971
972
  var MetricsBackupConfiguration$ = [3, n0, _MBC,
972
973
  0,
@@ -1050,8 +1051,8 @@ var TelemetryConfiguration$ = [3, n0, _TCe,
1050
1051
  ];
1051
1052
  var TelemetryDestinationConfiguration$ = [3, n0, _TDC,
1052
1053
  0,
1053
- [_DT, _DP, _RID, _VPCFLP, _CP, _ELBLBLP, _WAFLP, _LDP, _MMP],
1054
- [0, 0, 1, () => VPCFlowLogParameters$, () => CloudtrailParameters$, () => ELBLoadBalancerLoggingParameters$, () => WAFLoggingParameters$, () => LogDeliveryParameters$, () => MskMonitoringParameters$]
1054
+ [_DT, _DP, _RID, _VPCFLP, _CP, _ELBLBLP, _WAFLP, _LDP, _MMP, _KKA],
1055
+ [0, 0, 1, () => VPCFlowLogParameters$, () => CloudtrailParameters$, () => ELBLoadBalancerLoggingParameters$, () => WAFLoggingParameters$, () => LogDeliveryParameters$, () => MskMonitoringParameters$, 0]
1055
1056
  ];
1056
1057
  var TelemetryPipeline$ = [3, n0, _TP,
1057
1058
  0,
@@ -1689,6 +1690,10 @@ const EncryptionConflictResolutionStrategy = {
1689
1690
  ALLOW: "ALLOW",
1690
1691
  SKIP: "SKIP",
1691
1692
  };
1693
+ const EncryptionScope = {
1694
+ ENCRYPTED_SOURCE_ONLY: "ENCRYPTED_SOURCE_ONLY",
1695
+ NEW_DESTINATION_LOG_GROUPS: "NEW_DESTINATION_LOG_GROUPS",
1696
+ };
1692
1697
  const EncryptionStrategy = {
1693
1698
  AWS_OWNED: "AWS_OWNED",
1694
1699
  CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
@@ -1878,6 +1883,7 @@ exports.ELBLoadBalancerLoggingParameters$ = ELBLoadBalancerLoggingParameters$;
1878
1883
  exports.EncryptedLogGroupStrategy = EncryptedLogGroupStrategy;
1879
1884
  exports.Encryption$ = Encryption$;
1880
1885
  exports.EncryptionConflictResolutionStrategy = EncryptionConflictResolutionStrategy;
1886
+ exports.EncryptionScope = EncryptionScope;
1881
1887
  exports.EncryptionStrategy = EncryptionStrategy;
1882
1888
  exports.FieldToMatch$ = FieldToMatch$;
1883
1889
  exports.Filter$ = Filter$;
@@ -15,6 +15,10 @@ export const EncryptionConflictResolutionStrategy = {
15
15
  ALLOW: "ALLOW",
16
16
  SKIP: "SKIP",
17
17
  };
18
+ export const EncryptionScope = {
19
+ ENCRYPTED_SOURCE_ONLY: "ENCRYPTED_SOURCE_ONLY",
20
+ NEW_DESTINATION_LOG_GROUPS: "NEW_DESTINATION_LOG_GROUPS",
21
+ };
18
22
  export const EncryptionStrategy = {
19
23
  AWS_OWNED: "AWS_OWNED",
20
24
  CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
@@ -75,6 +75,7 @@ const _ELBLBLP = "ELBLoadBalancerLoggingParameters";
75
75
  const _ELGS = "EncryptedLogGroupStrategy";
76
76
  const _EM = "EnhancedMonitoring";
77
77
  const _ES = "EncryptionStrategy";
78
+ const _ESn = "EncryptionScope";
78
79
  const _EW = "EndsWith";
79
80
  const _En = "Encryption";
80
81
  const _Eq = "Equals";
@@ -689,8 +690,8 @@ export var LogsBackupConfiguration$ = [3, n0, _LBC,
689
690
  ];
690
691
  export var LogsEncryptionConfiguration$ = [3, n0, _LEC,
691
692
  0,
692
- [_ES, _KKA, _ECRS],
693
- [0, 0, 0], 1
693
+ [_ES, _KKA, _ECRS, _ESn],
694
+ [0, 0, 0, 0], 1
694
695
  ];
695
696
  export var MetricsBackupConfiguration$ = [3, n0, _MBC,
696
697
  0,
@@ -774,8 +775,8 @@ export var TelemetryConfiguration$ = [3, n0, _TCe,
774
775
  ];
775
776
  export var TelemetryDestinationConfiguration$ = [3, n0, _TDC,
776
777
  0,
777
- [_DT, _DP, _RID, _VPCFLP, _CP, _ELBLBLP, _WAFLP, _LDP, _MMP],
778
- [0, 0, 1, () => VPCFlowLogParameters$, () => CloudtrailParameters$, () => ELBLoadBalancerLoggingParameters$, () => WAFLoggingParameters$, () => LogDeliveryParameters$, () => MskMonitoringParameters$]
778
+ [_DT, _DP, _RID, _VPCFLP, _CP, _ELBLBLP, _WAFLP, _LDP, _MMP, _KKA],
779
+ [0, 0, 1, () => VPCFlowLogParameters$, () => CloudtrailParameters$, () => ELBLoadBalancerLoggingParameters$, () => WAFLoggingParameters$, () => LogDeliveryParameters$, () => MskMonitoringParameters$, 0]
779
780
  ];
780
781
  export var TelemetryPipeline$ = [3, n0, _TP,
781
782
  0,
@@ -58,6 +58,7 @@ declare const CreateCentralizationRuleForOrganizationCommand_base: {
58
58
  * EncryptionStrategy: "CUSTOMER_MANAGED" || "AWS_OWNED", // required
59
59
  * KmsKeyArn: "STRING_VALUE",
60
60
  * EncryptionConflictResolutionStrategy: "ALLOW" || "SKIP",
61
+ * EncryptionScope: "ENCRYPTED_SOURCE_ONLY" || "NEW_DESTINATION_LOG_GROUPS",
61
62
  * },
62
63
  * BackupConfiguration: { // LogsBackupConfiguration
63
64
  * Region: "STRING_VALUE", // required
@@ -122,6 +122,7 @@ declare const CreateTelemetryRuleCommand_base: {
122
122
  * MskMonitoringParameters: { // MskMonitoringParameters
123
123
  * EnhancedMonitoring: "DEFAULT" || "PER_BROKER" || "PER_TOPIC_PER_BROKER" || "PER_TOPIC_PER_PARTITION",
124
124
  * },
125
+ * KmsKeyArn: "STRING_VALUE",
125
126
  * },
126
127
  * Scope: "STRING_VALUE",
127
128
  * SelectionCriteria: "STRING_VALUE",
@@ -122,6 +122,7 @@ declare const CreateTelemetryRuleForOrganizationCommand_base: {
122
122
  * MskMonitoringParameters: { // MskMonitoringParameters
123
123
  * EnhancedMonitoring: "DEFAULT" || "PER_BROKER" || "PER_TOPIC_PER_BROKER" || "PER_TOPIC_PER_PARTITION",
124
124
  * },
125
+ * KmsKeyArn: "STRING_VALUE",
125
126
  * },
126
127
  * Scope: "STRING_VALUE",
127
128
  * SelectionCriteria: "STRING_VALUE",
@@ -70,6 +70,7 @@ declare const GetCentralizationRuleForOrganizationCommand_base: {
70
70
  * // EncryptionStrategy: "CUSTOMER_MANAGED" || "AWS_OWNED", // required
71
71
  * // KmsKeyArn: "STRING_VALUE",
72
72
  * // EncryptionConflictResolutionStrategy: "ALLOW" || "SKIP",
73
+ * // EncryptionScope: "ENCRYPTED_SOURCE_ONLY" || "NEW_DESTINATION_LOG_GROUPS",
73
74
  * // },
74
75
  * // BackupConfiguration: { // LogsBackupConfiguration
75
76
  * // Region: "STRING_VALUE", // required
@@ -130,6 +130,7 @@ declare const GetTelemetryRuleCommand_base: {
130
130
  * // MskMonitoringParameters: { // MskMonitoringParameters
131
131
  * // EnhancedMonitoring: "DEFAULT" || "PER_BROKER" || "PER_TOPIC_PER_BROKER" || "PER_TOPIC_PER_PARTITION",
132
132
  * // },
133
+ * // KmsKeyArn: "STRING_VALUE",
133
134
  * // },
134
135
  * // Scope: "STRING_VALUE",
135
136
  * // SelectionCriteria: "STRING_VALUE",
@@ -130,6 +130,7 @@ declare const GetTelemetryRuleForOrganizationCommand_base: {
130
130
  * // MskMonitoringParameters: { // MskMonitoringParameters
131
131
  * // EnhancedMonitoring: "DEFAULT" || "PER_BROKER" || "PER_TOPIC_PER_BROKER" || "PER_TOPIC_PER_PARTITION",
132
132
  * // },
133
+ * // KmsKeyArn: "STRING_VALUE",
133
134
  * // },
134
135
  * // Scope: "STRING_VALUE",
135
136
  * // SelectionCriteria: "STRING_VALUE",
@@ -58,6 +58,7 @@ declare const UpdateCentralizationRuleForOrganizationCommand_base: {
58
58
  * EncryptionStrategy: "CUSTOMER_MANAGED" || "AWS_OWNED", // required
59
59
  * KmsKeyArn: "STRING_VALUE",
60
60
  * EncryptionConflictResolutionStrategy: "ALLOW" || "SKIP",
61
+ * EncryptionScope: "ENCRYPTED_SOURCE_ONLY" || "NEW_DESTINATION_LOG_GROUPS",
61
62
  * },
62
63
  * BackupConfiguration: { // LogsBackupConfiguration
63
64
  * Region: "STRING_VALUE", // required
@@ -122,6 +122,7 @@ declare const UpdateTelemetryRuleCommand_base: {
122
122
  * MskMonitoringParameters: { // MskMonitoringParameters
123
123
  * EnhancedMonitoring: "DEFAULT" || "PER_BROKER" || "PER_TOPIC_PER_BROKER" || "PER_TOPIC_PER_PARTITION",
124
124
  * },
125
+ * KmsKeyArn: "STRING_VALUE",
125
126
  * },
126
127
  * Scope: "STRING_VALUE",
127
128
  * SelectionCriteria: "STRING_VALUE",
@@ -122,6 +122,7 @@ declare const UpdateTelemetryRuleForOrganizationCommand_base: {
122
122
  * MskMonitoringParameters: { // MskMonitoringParameters
123
123
  * EnhancedMonitoring: "DEFAULT" || "PER_BROKER" || "PER_TOPIC_PER_BROKER" || "PER_TOPIC_PER_PARTITION",
124
124
  * },
125
+ * KmsKeyArn: "STRING_VALUE",
125
126
  * },
126
127
  * Scope: "STRING_VALUE",
127
128
  * SelectionCriteria: "STRING_VALUE",
@@ -39,6 +39,24 @@ export declare const EncryptionConflictResolutionStrategy: {
39
39
  * @public
40
40
  */
41
41
  export type EncryptionConflictResolutionStrategy = (typeof EncryptionConflictResolutionStrategy)[keyof typeof EncryptionConflictResolutionStrategy];
42
+ /**
43
+ * @public
44
+ * @enum
45
+ */
46
+ export declare const EncryptionScope: {
47
+ /**
48
+ * <p>Only destination log groups whose source log group is encrypted with a customer managed KMS key use the configured <code>KmsKeyArn</code>. This is the default behavior.</p>
49
+ */
50
+ readonly ENCRYPTED_SOURCE_ONLY: "ENCRYPTED_SOURCE_ONLY";
51
+ /**
52
+ * <p>Every new destination log group created by this rule uses the configured <code>KmsKeyArn</code>, regardless of whether the source log group is encrypted with a customer managed key or Amazon Web Services owned encryption.</p>
53
+ */
54
+ readonly NEW_DESTINATION_LOG_GROUPS: "NEW_DESTINATION_LOG_GROUPS";
55
+ };
56
+ /**
57
+ * @public
58
+ */
59
+ export type EncryptionScope = (typeof EncryptionScope)[keyof typeof EncryptionScope];
42
60
  /**
43
61
  * @public
44
62
  * @enum
@@ -1,4 +1,4 @@
1
- import type { Action, CentralizationFailureReason, DestinationType, EncryptedLogGroupStrategy, EncryptionConflictResolutionStrategy, EncryptionStrategy, FilterBehavior, FilterRequirement, IntegrationStatus, LogType, MskEnhancedMonitoringLevel, OutputFormat, RecordFormat, ResourceType, RuleHealth, SignalType, SSEAlgorithm, Status, TelemetryEnrichmentStatus, TelemetryPipelineStatus, TelemetrySourceType, TelemetryState, TelemetryType, WAFLogType } from "./enums";
1
+ import type { Action, CentralizationFailureReason, DestinationType, EncryptedLogGroupStrategy, EncryptionConflictResolutionStrategy, EncryptionScope, EncryptionStrategy, FilterBehavior, FilterRequirement, IntegrationStatus, LogType, MskEnhancedMonitoringLevel, OutputFormat, RecordFormat, ResourceType, RuleHealth, SignalType, SSEAlgorithm, Status, TelemetryEnrichmentStatus, TelemetryPipelineStatus, TelemetrySourceType, TelemetryState, TelemetryType, WAFLogType } from "./enums";
2
2
  /**
3
3
  * <p> Condition that matches based on the specific WAF action taken on the request. </p>
4
4
  * @public
@@ -95,7 +95,7 @@ export interface LogGroupNameConfiguration {
95
95
  LogGroupNamePattern: string | undefined;
96
96
  }
97
97
  /**
98
- * <p>Configuration for encrypting centralized log groups. This configuration is only applied to destination log groups for which the corresponding source log groups are encrypted using Customer Managed KMS Keys.</p>
98
+ * <p>Configuration for encrypting centralized destination log groups. By default, this configuration applies only to destination log groups whose corresponding source log groups are encrypted using customer managed KMS keys. To encrypt all destination log groups created by the rule, set <code>EncryptionScope</code> to <code>NEW_DESTINATION_LOG_GROUPS</code>.</p>
99
99
  * @public
100
100
  */
101
101
  export interface LogsEncryptionConfiguration {
@@ -114,6 +114,11 @@ export interface LogsEncryptionConfiguration {
114
114
  * @public
115
115
  */
116
116
  EncryptionConflictResolutionStrategy?: EncryptionConflictResolutionStrategy | undefined;
117
+ /**
118
+ * <p>Determines which newly created destination log groups are encrypted with the configured <code>KmsKeyArn</code> when <code>EncryptionStrategy</code> is <code>CUSTOMER_MANAGED</code>.</p> <p>If you set this to <code>ENCRYPTED_SOURCE_ONLY</code> (the default), only destination log groups whose source log group is encrypted with a customer managed KMS key use the configured <code>KmsKeyArn</code>. Destination log groups derived from Amazon Web Services owned encrypted source log groups remain Amazon Web Services owned encrypted.</p> <p>If you set this to <code>NEW_DESTINATION_LOG_GROUPS</code>, every new destination log group created by this rule uses the configured <code>KmsKeyArn</code>, regardless of the source log group's encryption posture.</p> <p>This field is not valid when <code>EncryptionStrategy</code> is <code>AWS_OWNED</code>.</p>
119
+ * @public
120
+ */
121
+ EncryptionScope?: EncryptionScope | undefined;
117
122
  }
118
123
  /**
119
124
  * <p>Configuration for centralization destination log groups, including encryption and backup settings.</p>
@@ -565,12 +570,12 @@ export interface ELBLoadBalancerLoggingParameters {
565
570
  FieldDelimiter?: string | undefined;
566
571
  }
567
572
  /**
568
- * <p>Configuration parameters for Amazon Bedrock AgentCore logging, including <code>logType</code> settings.</p>
573
+ * <p>The configuration parameters for log delivery, including <code>logType</code> settings. Applies to resource types that support configurable log delivery, such as Amazon Bedrock Knowledge Bases and Elastic Load Balancing Application Load Balancers.</p>
569
574
  * @public
570
575
  */
571
576
  export interface LogDeliveryParameters {
572
577
  /**
573
- * <p>The type of log that the source is sending.</p>
578
+ * <p>The types of logs to collect from the resource.</p>
574
579
  * @public
575
580
  */
576
581
  LogTypes?: LogType[] | undefined;
@@ -743,7 +748,7 @@ export interface TelemetryDestinationConfiguration {
743
748
  */
744
749
  WAFLoggingParameters?: WAFLoggingParameters | undefined;
745
750
  /**
746
- * <p>Configuration parameters specific to Amazon Bedrock AgentCore logging when Amazon Bedrock AgentCore is the resource type.</p>
751
+ * <p>The configuration parameters for log delivery when the resource type supports configurable log types, such as Amazon Bedrock Knowledge Bases or Elastic Load Balancing Application Load Balancers.</p>
747
752
  * @public
748
753
  */
749
754
  LogDeliveryParameters?: LogDeliveryParameters | undefined;
@@ -752,6 +757,11 @@ export interface TelemetryDestinationConfiguration {
752
757
  * @public
753
758
  */
754
759
  MskMonitoringParameters?: MskMonitoringParameters | undefined;
760
+ /**
761
+ * <p> The Amazon Resource Name (ARN) of the customer-managed Amazon Web Services KMS key used to encrypt the log groups created during telemetry rule remediation. </p>
762
+ * @public
763
+ */
764
+ KmsKeyArn?: string | undefined;
755
765
  }
756
766
  /**
757
767
  * <p> Defines how telemetry should be configured for specific Amazon Web Services resources. </p>
@@ -759,7 +769,7 @@ export interface TelemetryDestinationConfiguration {
759
769
  */
760
770
  export interface TelemetryRule {
761
771
  /**
762
- * <p> The type of Amazon Web Services resource to configure telemetry for (e.g., "AWS::EC2::VPC", "AWS::EKS::Cluster", "AWS::WAFv2::WebACL"). </p>
772
+ * <p> The type of Amazon Web Services resource to configure telemetry for (for example, <code>AWS::EC2::VPC</code>, <code>AWS::EKS::Cluster</code>, <code>AWS::ElasticLoadBalancingV2::LoadBalancer</code>, or <code>AWS::Bedrock::KnowledgeBase</code>). </p>
763
773
  * @public
764
774
  */
765
775
  ResourceType?: ResourceType | undefined;
@@ -20,6 +20,11 @@ export declare const EncryptionConflictResolutionStrategy: {
20
20
  };
21
21
  export type EncryptionConflictResolutionStrategy =
22
22
  (typeof EncryptionConflictResolutionStrategy)[keyof typeof EncryptionConflictResolutionStrategy];
23
+ export declare const EncryptionScope: {
24
+ readonly ENCRYPTED_SOURCE_ONLY: "ENCRYPTED_SOURCE_ONLY";
25
+ readonly NEW_DESTINATION_LOG_GROUPS: "NEW_DESTINATION_LOG_GROUPS";
26
+ };
27
+ export type EncryptionScope = (typeof EncryptionScope)[keyof typeof EncryptionScope];
23
28
  export declare const EncryptionStrategy: {
24
29
  readonly AWS_OWNED: "AWS_OWNED";
25
30
  readonly CUSTOMER_MANAGED: "CUSTOMER_MANAGED";
@@ -4,6 +4,7 @@ import {
4
4
  DestinationType,
5
5
  EncryptedLogGroupStrategy,
6
6
  EncryptionConflictResolutionStrategy,
7
+ EncryptionScope,
7
8
  EncryptionStrategy,
8
9
  FilterBehavior,
9
10
  FilterRequirement,
@@ -51,6 +52,7 @@ export interface LogsEncryptionConfiguration {
51
52
  EncryptionStrategy: EncryptionStrategy | undefined;
52
53
  KmsKeyArn?: string | undefined;
53
54
  EncryptionConflictResolutionStrategy?: EncryptionConflictResolutionStrategy | undefined;
55
+ EncryptionScope?: EncryptionScope | undefined;
54
56
  }
55
57
  export interface DestinationLogsConfiguration {
56
58
  LogsEncryptionConfiguration?: LogsEncryptionConfiguration | undefined;
@@ -207,6 +209,7 @@ export interface TelemetryDestinationConfiguration {
207
209
  WAFLoggingParameters?: WAFLoggingParameters | undefined;
208
210
  LogDeliveryParameters?: LogDeliveryParameters | undefined;
209
211
  MskMonitoringParameters?: MskMonitoringParameters | undefined;
212
+ KmsKeyArn?: string | undefined;
210
213
  }
211
214
  export interface TelemetryRule {
212
215
  ResourceType?: ResourceType | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-observabilityadmin",
3
- "version": "3.1101.0",
3
+ "version": "3.1103.0",
4
4
  "description": "AWS SDK for JavaScript Observabilityadmin Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-observabilityadmin",
6
6
  "license": "Apache-2.0",
@@ -46,8 +46,8 @@
46
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.4",
50
- "@aws-sdk/credential-provider-node": "^3.972.76",
49
+ "@aws-sdk/core": "^3.977.6",
50
+ "@aws-sdk/credential-provider-node": "^3.972.78",
51
51
  "@aws-sdk/types": "^3.974.2",
52
52
  "@smithy/core": "^3.31.1",
53
53
  "@smithy/fetch-http-handler": "^5.6.13",