@aws-sdk/client-networkmanager 3.592.0 → 3.596.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 (26) hide show
  1. package/dist-cjs/index.js +17 -0
  2. package/dist-es/models/models_0.js +10 -0
  3. package/dist-es/protocols/Aws_restJson1.js +3 -0
  4. package/dist-types/commands/AcceptAttachmentCommand.d.ts +11 -0
  5. package/dist-types/commands/CreateConnectAttachmentCommand.d.ts +11 -0
  6. package/dist-types/commands/CreateCoreNetworkCommand.d.ts +16 -0
  7. package/dist-types/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +11 -0
  8. package/dist-types/commands/CreateTransitGatewayRouteTableAttachmentCommand.d.ts +11 -0
  9. package/dist-types/commands/CreateVpcAttachmentCommand.d.ts +11 -0
  10. package/dist-types/commands/DeleteAttachmentCommand.d.ts +11 -0
  11. package/dist-types/commands/DeleteCoreNetworkCommand.d.ts +16 -0
  12. package/dist-types/commands/GetConnectAttachmentCommand.d.ts +11 -0
  13. package/dist-types/commands/GetCoreNetworkChangeEventsCommand.d.ts +2 -1
  14. package/dist-types/commands/GetCoreNetworkChangeSetCommand.d.ts +59 -1
  15. package/dist-types/commands/GetCoreNetworkCommand.d.ts +16 -0
  16. package/dist-types/commands/GetNetworkRoutesCommand.d.ts +7 -1
  17. package/dist-types/commands/GetSiteToSiteVpnAttachmentCommand.d.ts +11 -0
  18. package/dist-types/commands/GetTransitGatewayRouteTableAttachmentCommand.d.ts +11 -0
  19. package/dist-types/commands/GetVpcAttachmentCommand.d.ts +11 -0
  20. package/dist-types/commands/ListAttachmentsCommand.d.ts +11 -0
  21. package/dist-types/commands/RejectAttachmentCommand.d.ts +11 -0
  22. package/dist-types/commands/UpdateCoreNetworkCommand.d.ts +16 -0
  23. package/dist-types/commands/UpdateVpcAttachmentCommand.d.ts +11 -0
  24. package/dist-types/models/models_0.d.ts +345 -89
  25. package/dist-types/ts3.4/models/models_0.d.ts +60 -0
  26. package/package.json +4 -4
@@ -18,6 +18,11 @@ export interface Tag {
18
18
  Key?: string;
19
19
  Value?: string;
20
20
  }
21
+ export interface ProposedNetworkFunctionGroupChange {
22
+ Tags?: Tag[];
23
+ AttachmentPolicyRuleNumber?: number;
24
+ NetworkFunctionGroupName?: string;
25
+ }
21
26
  export interface ProposedSegmentChange {
22
27
  Tags?: Tag[];
23
28
  AttachmentPolicyRuleNumber?: number;
@@ -47,8 +52,10 @@ export interface Attachment {
47
52
  ResourceArn?: string;
48
53
  AttachmentPolicyRuleNumber?: number;
49
54
  SegmentName?: string;
55
+ NetworkFunctionGroupName?: string;
50
56
  Tags?: Tag[];
51
57
  ProposedSegmentChange?: ProposedSegmentChange;
58
+ ProposedNetworkFunctionGroupChange?: ProposedNetworkFunctionGroupChange;
52
59
  CreatedAt?: Date;
53
60
  UpdatedAt?: Date;
54
61
  }
@@ -274,6 +281,7 @@ export declare const ChangeType: {
274
281
  readonly CORE_NETWORK_CONFIGURATION: "CORE_NETWORK_CONFIGURATION";
275
282
  readonly CORE_NETWORK_EDGE: "CORE_NETWORK_EDGE";
276
283
  readonly CORE_NETWORK_SEGMENT: "CORE_NETWORK_SEGMENT";
284
+ readonly NETWORK_FUNCTION_GROUP: "NETWORK_FUNCTION_GROUP";
277
285
  readonly SEGMENTS_CONFIGURATION: "SEGMENTS_CONFIGURATION";
278
286
  readonly SEGMENT_ACTIONS_CONFIGURATION: "SEGMENT_ACTIONS_CONFIGURATION";
279
287
  };
@@ -377,6 +385,15 @@ export interface CoreNetworkEdge {
377
385
  Asn?: number;
378
386
  InsideCidrBlocks?: string[];
379
387
  }
388
+ export interface ServiceInsertionSegments {
389
+ SendVia?: string[];
390
+ SendTo?: string[];
391
+ }
392
+ export interface CoreNetworkNetworkFunctionGroup {
393
+ Name?: string;
394
+ EdgeLocations?: string[];
395
+ Segments?: ServiceInsertionSegments;
396
+ }
380
397
  export interface CoreNetworkSegment {
381
398
  Name?: string;
382
399
  EdgeLocations?: string[];
@@ -398,17 +415,51 @@ export interface CoreNetwork {
398
415
  CreatedAt?: Date;
399
416
  State?: CoreNetworkState;
400
417
  Segments?: CoreNetworkSegment[];
418
+ NetworkFunctionGroups?: CoreNetworkNetworkFunctionGroup[];
401
419
  Edges?: CoreNetworkEdge[];
402
420
  Tags?: Tag[];
403
421
  }
422
+ export declare const SegmentActionServiceInsertion: {
423
+ readonly SEND_TO: "send-to";
424
+ readonly SEND_VIA: "send-via";
425
+ };
426
+ export type SegmentActionServiceInsertion =
427
+ (typeof SegmentActionServiceInsertion)[keyof typeof SegmentActionServiceInsertion];
428
+ export declare const SendViaMode: {
429
+ readonly DUAL_HOP: "dual-hop";
430
+ readonly SINGLE_HOP: "single-hop";
431
+ };
432
+ export type SendViaMode = (typeof SendViaMode)[keyof typeof SendViaMode];
433
+ export interface NetworkFunctionGroup {
434
+ Name?: string;
435
+ }
436
+ export interface EdgeOverride {
437
+ EdgeSets?: string[][];
438
+ UseEdge?: string;
439
+ }
440
+ export interface Via {
441
+ NetworkFunctionGroups?: NetworkFunctionGroup[];
442
+ WithEdgeOverrides?: EdgeOverride[];
443
+ }
444
+ export interface WhenSentTo {
445
+ WhenSentToSegmentsList?: string[];
446
+ }
447
+ export interface ServiceInsertionAction {
448
+ Action?: SegmentActionServiceInsertion;
449
+ Mode?: SendViaMode;
450
+ WhenSentTo?: WhenSentTo;
451
+ Via?: Via;
452
+ }
404
453
  export interface CoreNetworkChangeValues {
405
454
  SegmentName?: string;
455
+ NetworkFunctionGroupName?: string;
406
456
  EdgeLocations?: string[];
407
457
  Asn?: number;
408
458
  Cidr?: string;
409
459
  DestinationIdentifier?: string;
410
460
  InsideCidrBlocks?: string[];
411
461
  SharedSegments?: string[];
462
+ ServiceInsertionActions?: ServiceInsertionAction[];
412
463
  }
413
464
  export interface CoreNetworkChange {
414
465
  Type?: ChangeType;
@@ -421,6 +472,7 @@ export interface CoreNetworkChange {
421
472
  export interface CoreNetworkChangeEventValues {
422
473
  EdgeLocation?: string;
423
474
  SegmentName?: string;
475
+ NetworkFunctionGroupName?: string;
424
476
  AttachmentId?: string;
425
477
  Cidr?: string;
426
478
  }
@@ -432,6 +484,11 @@ export interface CoreNetworkChangeEvent {
432
484
  Status?: ChangeStatus;
433
485
  Values?: CoreNetworkChangeEventValues;
434
486
  }
487
+ export interface CoreNetworkNetworkFunctionGroupIdentifier {
488
+ CoreNetworkId?: string;
489
+ NetworkFunctionGroupName?: string;
490
+ EdgeLocation?: string;
491
+ }
435
492
  export declare const CoreNetworkPolicyAlias: {
436
493
  readonly LATEST: "LATEST";
437
494
  readonly LIVE: "LIVE";
@@ -1051,6 +1108,7 @@ export interface GetNetworkResourcesResponse {
1051
1108
  export interface RouteTableIdentifier {
1052
1109
  TransitGatewayRouteTableArn?: string;
1053
1110
  CoreNetworkSegmentEdge?: CoreNetworkSegmentEdgeIdentifier;
1111
+ CoreNetworkNetworkFunctionGroup?: CoreNetworkNetworkFunctionGroupIdentifier;
1054
1112
  }
1055
1113
  export declare const RouteState: {
1056
1114
  readonly ACTIVE: "ACTIVE";
@@ -1078,6 +1136,7 @@ export interface NetworkRouteDestination {
1078
1136
  CoreNetworkAttachmentId?: string;
1079
1137
  TransitGatewayAttachmentId?: string;
1080
1138
  SegmentName?: string;
1139
+ NetworkFunctionGroupName?: string;
1081
1140
  EdgeLocation?: string;
1082
1141
  ResourceType?: string;
1083
1142
  ResourceId?: string;
@@ -1091,6 +1150,7 @@ export interface NetworkRoute {
1091
1150
  }
1092
1151
  export declare const RouteTableType: {
1093
1152
  readonly CORE_NETWORK_SEGMENT: "CORE_NETWORK_SEGMENT";
1153
+ readonly NETWORK_FUNCTION_GROUP: "NETWORK_FUNCTION_GROUP";
1094
1154
  readonly TRANSIT_GATEWAY_ROUTE_TABLE: "TRANSIT_GATEWAY_ROUTE_TABLE";
1095
1155
  };
1096
1156
  export type RouteTableType =
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-networkmanager",
3
3
  "description": "AWS SDK for JavaScript Networkmanager Client for Node.js, Browser and React Native",
4
- "version": "3.592.0",
4
+ "version": "3.596.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-networkmanager",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sso-oidc": "3.592.0",
24
- "@aws-sdk/client-sts": "3.592.0",
23
+ "@aws-sdk/client-sso-oidc": "3.596.0",
24
+ "@aws-sdk/client-sts": "3.596.0",
25
25
  "@aws-sdk/core": "3.592.0",
26
- "@aws-sdk/credential-provider-node": "3.592.0",
26
+ "@aws-sdk/credential-provider-node": "3.596.0",
27
27
  "@aws-sdk/middleware-host-header": "3.577.0",
28
28
  "@aws-sdk/middleware-logger": "3.577.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.577.0",