@aws-sdk/client-fms 3.723.0 → 3.726.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
@@ -86,6 +86,7 @@ __export(src_exports, {
86
86
  RemediationActionType: () => RemediationActionType,
87
87
  ResourceNotFoundException: () => ResourceNotFoundException,
88
88
  ResourceSetStatus: () => ResourceSetStatus,
89
+ ResourceTagLogicalOperator: () => ResourceTagLogicalOperator,
89
90
  RuleOrder: () => RuleOrder,
90
91
  SecurityServiceType: () => SecurityServiceType,
91
92
  StreamExceptionPolicy: () => StreamExceptionPolicy,
@@ -469,6 +470,10 @@ var CustomerPolicyStatus = {
469
470
  ACTIVE: "ACTIVE",
470
471
  OUT_OF_ADMIN_SCOPE: "OUT_OF_ADMIN_SCOPE"
471
472
  };
473
+ var ResourceTagLogicalOperator = {
474
+ AND: "AND",
475
+ OR: "OR"
476
+ };
472
477
  var NetworkAclRuleAction = {
473
478
  ALLOW: "allow",
474
479
  DENY: "deny"
@@ -2479,6 +2484,7 @@ var paginateListThirdPartyFirewallFirewallPolicies = (0, import_core.createPagin
2479
2484
  ViolationReason,
2480
2485
  CustomerPolicyScopeIdType,
2481
2486
  CustomerPolicyStatus,
2487
+ ResourceTagLogicalOperator,
2482
2488
  NetworkAclRuleAction,
2483
2489
  FirewallDeploymentModel,
2484
2490
  InvalidTypeException,
@@ -160,6 +160,10 @@ export const CustomerPolicyStatus = {
160
160
  ACTIVE: "ACTIVE",
161
161
  OUT_OF_ADMIN_SCOPE: "OUT_OF_ADMIN_SCOPE",
162
162
  };
163
+ export const ResourceTagLogicalOperator = {
164
+ AND: "AND",
165
+ OR: "OR",
166
+ };
163
167
  export const NetworkAclRuleAction = {
164
168
  ALLOW: "allow",
165
169
  DENY: "deny",
@@ -124,6 +124,7 @@ declare const GetPolicyCommand_base: {
124
124
  * // ],
125
125
  * // PolicyDescription: "STRING_VALUE",
126
126
  * // PolicyStatus: "ACTIVE" || "OUT_OF_ADMIN_SCOPE",
127
+ * // ResourceTagLogicalOperator: "AND" || "OR",
127
128
  * // },
128
129
  * // PolicyArn: "STRING_VALUE",
129
130
  * // };
@@ -175,6 +175,7 @@ declare const PutPolicyCommand_base: {
175
175
  * ],
176
176
  * PolicyDescription: "STRING_VALUE",
177
177
  * PolicyStatus: "ACTIVE" || "OUT_OF_ADMIN_SCOPE",
178
+ * ResourceTagLogicalOperator: "AND" || "OR",
178
179
  * },
179
180
  * TagList: [ // TagList
180
181
  * { // Tag
@@ -270,6 +271,7 @@ declare const PutPolicyCommand_base: {
270
271
  * // ],
271
272
  * // PolicyDescription: "STRING_VALUE",
272
273
  * // PolicyStatus: "ACTIVE" || "OUT_OF_ADMIN_SCOPE",
274
+ * // ResourceTagLogicalOperator: "AND" || "OR",
273
275
  * // },
274
276
  * // PolicyArn: "STRING_VALUE",
275
277
  * // };
@@ -992,13 +992,24 @@ export declare const CustomerPolicyStatus: {
992
992
  * @public
993
993
  */
994
994
  export type CustomerPolicyStatus = (typeof CustomerPolicyStatus)[keyof typeof CustomerPolicyStatus];
995
+ /**
996
+ * @public
997
+ * @enum
998
+ */
999
+ export declare const ResourceTagLogicalOperator: {
1000
+ readonly AND: "AND";
1001
+ readonly OR: "OR";
1002
+ };
1003
+ /**
1004
+ * @public
1005
+ */
1006
+ export type ResourceTagLogicalOperator = (typeof ResourceTagLogicalOperator)[keyof typeof ResourceTagLogicalOperator];
995
1007
  /**
996
1008
  * <p>The resource tags that Firewall Manager uses to determine if a particular resource
997
1009
  * should be included or excluded from the Firewall Manager policy. Tags enable you to
998
1010
  * categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or
999
- * environment. Each tag consists of a key and an optional value. Firewall Manager combines the
1000
- * tags with "AND" so that, if you add more than one tag to a policy scope, a resource must have
1001
- * all the specified tags to be included or excluded. For more information, see
1011
+ * environment. Each tag consists of a key and an optional value. If you add more than one tag to a policy, you can
1012
+ * specify whether to combine them using the logical AND operator or the logical OR operator. For more information, see
1002
1013
  * <a href="https://docs.aws.amazon.com/awsconsolehelpdocs/latest/gsg/tag-editor.html">Working with Tag Editor</a>.</p>
1003
1014
  * <p>Every resource tag must have a string value, either a non-empty string or an empty string. If you don't
1004
1015
  * provide a value for a resource tag, Firewall Manager saves the value as an empty string: "". When Firewall Manager compares tags, it only
@@ -1682,6 +1693,15 @@ export interface Policy {
1682
1693
  * @public
1683
1694
  */
1684
1695
  PolicyStatus?: CustomerPolicyStatus | undefined;
1696
+ /**
1697
+ * <p>Specifies whether to combine multiple resource tags with AND,
1698
+ * so that a resource must have all tags to be included or excluded, or OR,
1699
+ * so that a resource must have at least one tag.</p>
1700
+ * <p>Default: <code>AND</code>
1701
+ * </p>
1702
+ * @public
1703
+ */
1704
+ ResourceTagLogicalOperator?: ResourceTagLogicalOperator | undefined;
1685
1705
  }
1686
1706
  /**
1687
1707
  * @public
@@ -314,6 +314,12 @@ export declare const CustomerPolicyStatus: {
314
314
  };
315
315
  export type CustomerPolicyStatus =
316
316
  (typeof CustomerPolicyStatus)[keyof typeof CustomerPolicyStatus];
317
+ export declare const ResourceTagLogicalOperator: {
318
+ readonly AND: "AND";
319
+ readonly OR: "OR";
320
+ };
321
+ export type ResourceTagLogicalOperator =
322
+ (typeof ResourceTagLogicalOperator)[keyof typeof ResourceTagLogicalOperator];
317
323
  export interface ResourceTag {
318
324
  Key: string | undefined;
319
325
  Value?: string | undefined;
@@ -388,6 +394,7 @@ export interface Policy {
388
394
  ResourceSetIds?: string[] | undefined;
389
395
  PolicyDescription?: string | undefined;
390
396
  PolicyStatus?: CustomerPolicyStatus | undefined;
397
+ ResourceTagLogicalOperator?: ResourceTagLogicalOperator | undefined;
391
398
  }
392
399
  export interface GetPolicyResponse {
393
400
  Policy?: Policy | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-fms",
3
3
  "description": "AWS SDK for JavaScript Fms Client for Node.js, Browser and React Native",
4
- "version": "3.723.0",
4
+ "version": "3.726.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-fms",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.723.0",
24
- "@aws-sdk/client-sts": "3.723.0",
23
+ "@aws-sdk/client-sso-oidc": "3.726.0",
24
+ "@aws-sdk/client-sts": "3.726.0",
25
25
  "@aws-sdk/core": "3.723.0",
26
- "@aws-sdk/credential-provider-node": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.726.0",
27
27
  "@aws-sdk/middleware-host-header": "3.723.0",
28
28
  "@aws-sdk/middleware-logger": "3.723.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
- "@aws-sdk/middleware-user-agent": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.726.0",
31
31
  "@aws-sdk/region-config-resolver": "3.723.0",
32
32
  "@aws-sdk/types": "3.723.0",
33
- "@aws-sdk/util-endpoints": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.726.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.723.0",
35
- "@aws-sdk/util-user-agent-node": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.726.0",
36
36
  "@smithy/config-resolver": "^4.0.0",
37
37
  "@smithy/core": "^3.0.0",
38
38
  "@smithy/fetch-http-handler": "^5.0.0",