@aws-sdk/client-networkmanager 3.1169.0 → 3.1171.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/README.md +84 -0
- package/dist-cjs/index.js +459 -60
- package/dist-es/NetworkManager.js +32 -0
- package/dist-es/commands/AssociateContextStoreCommand.js +4 -0
- package/dist-es/commands/CreateContextStoreCommand.js +4 -0
- package/dist-es/commands/DeleteContextStoreCommand.js +4 -0
- package/dist-es/commands/DisassociateContextStoreCommand.js +4 -0
- package/dist-es/commands/GetContextStoreAssociationCommand.js +4 -0
- package/dist-es/commands/GetContextStoreCommand.js +4 -0
- package/dist-es/commands/GetContextVersionCommand.js +4 -0
- package/dist-es/commands/ListContextChangesCommand.js +4 -0
- package/dist-es/commands/ListContextStoreAssociationsCommand.js +4 -0
- package/dist-es/commands/ListContextStoresCommand.js +4 -0
- package/dist-es/commands/ListContextsCommand.js +4 -0
- package/dist-es/commands/UpdateContextStoreCommand.js +4 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +21 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListContextChangesPaginator.js +4 -0
- package/dist-es/pagination/ListContextStoreAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListContextStoresPaginator.js +4 -0
- package/dist-es/pagination/ListContextsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/schemas/schemas_0.js +316 -59
- package/dist-types/NetworkManager.d.ts +113 -0
- package/dist-types/NetworkManagerClient.d.ts +14 -2
- package/dist-types/commands/AssociateContextStoreCommand.d.ts +97 -0
- package/dist-types/commands/CreateContextStoreCommand.d.ts +115 -0
- package/dist-types/commands/DeleteContextStoreCommand.d.ts +103 -0
- package/dist-types/commands/DisassociateContextStoreCommand.d.ts +96 -0
- package/dist-types/commands/GetContextStoreAssociationCommand.d.ts +92 -0
- package/dist-types/commands/GetContextStoreCommand.d.ts +99 -0
- package/dist-types/commands/GetContextVersionCommand.d.ts +86 -0
- package/dist-types/commands/GetCoreNetworkChangeSetCommand.d.ts +16 -0
- package/dist-types/commands/ListContextChangesCommand.d.ts +105 -0
- package/dist-types/commands/ListContextStoreAssociationsCommand.d.ts +96 -0
- package/dist-types/commands/ListContextStoresCommand.d.ts +104 -0
- package/dist-types/commands/ListContextsCommand.d.ts +100 -0
- package/dist-types/commands/UpdateContextStoreCommand.d.ts +104 -0
- package/dist-types/commands/UpdateNetworkResourceMetadataCommand.d.ts +2 -1
- package/dist-types/commands/UpdateSiteCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +53 -0
- package/dist-types/models/models_0.d.ts +553 -101
- package/dist-types/models/models_1.d.ts +101 -0
- package/dist-types/pagination/ListContextChangesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListContextStoreAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListContextStoresPaginator.d.ts +7 -0
- package/dist-types/pagination/ListContextsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/schemas/schemas_0.d.ts +41 -0
- package/dist-types/ts3.4/NetworkManager.d.ts +233 -0
- package/dist-types/ts3.4/NetworkManagerClient.d.ts +72 -0
- package/dist-types/ts3.4/commands/AssociateContextStoreCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateContextStoreCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteContextStoreCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DisassociateContextStoreCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetContextStoreAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetContextStoreCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetContextVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListContextChangesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListContextStoreAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListContextStoresCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListContextsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateContextStoreCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateNetworkResourceMetadataCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/UpdateSiteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateVpcAttachmentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +27 -0
- package/dist-types/ts3.4/models/models_0.d.ts +132 -22
- package/dist-types/ts3.4/models/models_1.d.ts +23 -0
- package/dist-types/ts3.4/pagination/ListContextChangesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListContextStoreAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListContextStoresPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListContextsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +41 -0
- package/package.json +1 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListContextStoreAssociationsRequest, ListContextStoreAssociationsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListContextStoreAssociationsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListContextStoreAssociationsCommandInput extends ListContextStoreAssociationsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListContextStoreAssociationsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListContextStoreAssociationsCommandOutput extends ListContextStoreAssociationsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListContextStoreAssociationsCommand_base: {
|
|
22
|
+
new (input: ListContextStoreAssociationsCommandInput): import("@smithy/core/client").CommandImpl<ListContextStoreAssociationsCommandInput, ListContextStoreAssociationsCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListContextStoreAssociationsCommandInput): import("@smithy/core/client").CommandImpl<ListContextStoreAssociationsCommandInput, ListContextStoreAssociationsCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the transit gateway associations of a context store.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkManagerClient, ListContextStoreAssociationsCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
32
|
+
* // const { NetworkManagerClient, ListContextStoreAssociationsCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
|
|
33
|
+
* // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager";
|
|
34
|
+
* const config = {}; // type is NetworkManagerClientConfig
|
|
35
|
+
* const client = new NetworkManagerClient(config);
|
|
36
|
+
* const input = { // ListContextStoreAssociationsRequest
|
|
37
|
+
* ContextStoreId: "STRING_VALUE", // required
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListContextStoreAssociationsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListContextStoreAssociationsResponse
|
|
44
|
+
* // ContextStoreAssociations: [ // ContextStoreAssociationList
|
|
45
|
+
* // { // ContextStoreAssociation
|
|
46
|
+
* // ContextStoreId: "STRING_VALUE",
|
|
47
|
+
* // TransitGatewayArn: "STRING_VALUE",
|
|
48
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // State: "ASSOCIATING" || "ASSOCIATED" || "DISASSOCIATING" || "FAILED",
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // NextToken: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param ListContextStoreAssociationsCommandInput - {@link ListContextStoreAssociationsCommandInput}
|
|
58
|
+
* @returns {@link ListContextStoreAssociationsCommandOutput}
|
|
59
|
+
* @see {@link ListContextStoreAssociationsCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link ListContextStoreAssociationsCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>The request has failed due to an internal error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The specified resource could not be found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>The request was denied due to request throttling.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The input fails to satisfy the constraints.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link NetworkManagerServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from NetworkManager service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class ListContextStoreAssociationsCommand extends ListContextStoreAssociationsCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: ListContextStoreAssociationsRequest;
|
|
89
|
+
output: ListContextStoreAssociationsResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: ListContextStoreAssociationsCommandInput;
|
|
93
|
+
output: ListContextStoreAssociationsCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListContextStoresRequest, ListContextStoresResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListContextStoresCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListContextStoresCommandInput extends ListContextStoresRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListContextStoresCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListContextStoresCommandOutput extends ListContextStoresResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListContextStoresCommand_base: {
|
|
22
|
+
new (input: ListContextStoresCommandInput): import("@smithy/core/client").CommandImpl<ListContextStoresCommandInput, ListContextStoresCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListContextStoresCommandInput]): import("@smithy/core/client").CommandImpl<ListContextStoresCommandInput, ListContextStoresCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the context stores in your account. You can optionally return only the context stores in a specific global network.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkManagerClient, ListContextStoresCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
32
|
+
* // const { NetworkManagerClient, ListContextStoresCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
|
|
33
|
+
* // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager";
|
|
34
|
+
* const config = {}; // type is NetworkManagerClientConfig
|
|
35
|
+
* const client = new NetworkManagerClient(config);
|
|
36
|
+
* const input = { // ListContextStoresRequest
|
|
37
|
+
* GlobalNetworkId: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListContextStoresCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListContextStoresResponse
|
|
44
|
+
* // ContextStores: [ // ContextStoreList
|
|
45
|
+
* // { // ContextStore
|
|
46
|
+
* // GlobalNetworkId: "STRING_VALUE",
|
|
47
|
+
* // ContextStoreId: "STRING_VALUE",
|
|
48
|
+
* // ContextStoreArn: "STRING_VALUE",
|
|
49
|
+
* // Description: "STRING_VALUE",
|
|
50
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
51
|
+
* // State: "PENDING" || "AVAILABLE" || "UPDATING" || "DELETING" || "DELETED",
|
|
52
|
+
* // Tags: [ // TagList
|
|
53
|
+
* // { // Tag
|
|
54
|
+
* // Key: "STRING_VALUE",
|
|
55
|
+
* // Value: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // NextToken: "STRING_VALUE",
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param ListContextStoresCommandInput - {@link ListContextStoresCommandInput}
|
|
66
|
+
* @returns {@link ListContextStoresCommandOutput}
|
|
67
|
+
* @see {@link ListContextStoresCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link ListContextStoresCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>The request has failed due to an internal error.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>The specified resource could not be found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>The request was denied due to request throttling.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The input fails to satisfy the constraints.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link NetworkManagerServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from NetworkManager service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class ListContextStoresCommand extends ListContextStoresCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: ListContextStoresRequest;
|
|
97
|
+
output: ListContextStoresResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: ListContextStoresCommandInput;
|
|
101
|
+
output: ListContextStoresCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListContextsRequest, ListContextsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListContextsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListContextsCommandInput extends ListContextsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListContextsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListContextsCommandOutput extends ListContextsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListContextsCommand_base: {
|
|
22
|
+
new (input: ListContextsCommandInput): import("@smithy/core/client").CommandImpl<ListContextsCommandInput, ListContextsCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListContextsCommandInput): import("@smithy/core/client").CommandImpl<ListContextsCommandInput, ListContextsCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the context entries of a context store, and the version of the context entries. To get the context entries that were added or removed after this version, specify the returned <code>VersionId</code> in a <code>ListContextChanges</code> request. The context store must be in the <code>AVAILABLE</code> state.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkManagerClient, ListContextsCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
32
|
+
* // const { NetworkManagerClient, ListContextsCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
|
|
33
|
+
* // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager";
|
|
34
|
+
* const config = {}; // type is NetworkManagerClientConfig
|
|
35
|
+
* const client = new NetworkManagerClient(config);
|
|
36
|
+
* const input = { // ListContextsRequest
|
|
37
|
+
* ContextStoreId: "STRING_VALUE", // required
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListContextsCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListContextsResponse
|
|
44
|
+
* // Contexts: [ // ContextList
|
|
45
|
+
* // { // ContextEntry
|
|
46
|
+
* // ContextId: "STRING_VALUE",
|
|
47
|
+
* // ContextType: "STRING_VALUE",
|
|
48
|
+
* // SegmentType: "STRING_VALUE",
|
|
49
|
+
* // PublicId: "STRING_VALUE",
|
|
50
|
+
* // Region: "STRING_VALUE",
|
|
51
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
52
|
+
* // AttachmentType: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // NextToken: "STRING_VALUE",
|
|
56
|
+
* // VersionId: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListContextsCommandInput - {@link ListContextsCommandInput}
|
|
62
|
+
* @returns {@link ListContextsCommandOutput}
|
|
63
|
+
* @see {@link ListContextsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListContextsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>The request has failed due to an internal error.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
74
|
+
* <p>The specified resource could not be found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>The request was denied due to request throttling.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The input fails to satisfy the constraints.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link NetworkManagerServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from NetworkManager service.</p>
|
|
84
|
+
*
|
|
85
|
+
*
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class ListContextsCommand extends ListContextsCommand_base {
|
|
89
|
+
/** @internal type navigation helper, not in runtime. */
|
|
90
|
+
protected static __types: {
|
|
91
|
+
api: {
|
|
92
|
+
input: ListContextsRequest;
|
|
93
|
+
output: ListContextsResponse;
|
|
94
|
+
};
|
|
95
|
+
sdk: {
|
|
96
|
+
input: ListContextsCommandInput;
|
|
97
|
+
output: ListContextsCommandOutput;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateContextStoreRequest, UpdateContextStoreResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateContextStoreCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateContextStoreCommandInput extends UpdateContextStoreRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateContextStoreCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateContextStoreCommandOutput extends UpdateContextStoreResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateContextStoreCommand_base: {
|
|
22
|
+
new (input: UpdateContextStoreCommandInput): import("@smithy/core/client").CommandImpl<UpdateContextStoreCommandInput, UpdateContextStoreCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateContextStoreCommandInput): import("@smithy/core/client").CommandImpl<UpdateContextStoreCommandInput, UpdateContextStoreCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the description of a context store. The context store must be in the <code>AVAILABLE</code> state.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkManagerClient, UpdateContextStoreCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
32
|
+
* // const { NetworkManagerClient, UpdateContextStoreCommand } = require("@aws-sdk/client-networkmanager"); // CommonJS import
|
|
33
|
+
* // import type { NetworkManagerClientConfig } from "@aws-sdk/client-networkmanager";
|
|
34
|
+
* const config = {}; // type is NetworkManagerClientConfig
|
|
35
|
+
* const client = new NetworkManagerClient(config);
|
|
36
|
+
* const input = { // UpdateContextStoreRequest
|
|
37
|
+
* ContextStoreId: "STRING_VALUE", // required
|
|
38
|
+
* Description: "STRING_VALUE",
|
|
39
|
+
* };
|
|
40
|
+
* const command = new UpdateContextStoreCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateContextStoreResponse
|
|
43
|
+
* // ContextStore: { // ContextStore
|
|
44
|
+
* // GlobalNetworkId: "STRING_VALUE",
|
|
45
|
+
* // ContextStoreId: "STRING_VALUE",
|
|
46
|
+
* // ContextStoreArn: "STRING_VALUE",
|
|
47
|
+
* // Description: "STRING_VALUE",
|
|
48
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
49
|
+
* // State: "PENDING" || "AVAILABLE" || "UPDATING" || "DELETING" || "DELETED",
|
|
50
|
+
* // Tags: [ // TagList
|
|
51
|
+
* // { // Tag
|
|
52
|
+
* // Key: "STRING_VALUE",
|
|
53
|
+
* // Value: "STRING_VALUE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param UpdateContextStoreCommandInput - {@link UpdateContextStoreCommandInput}
|
|
62
|
+
* @returns {@link UpdateContextStoreCommandOutput}
|
|
63
|
+
* @see {@link UpdateContextStoreCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link UpdateContextStoreCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ConflictException} (client fault)
|
|
71
|
+
* <p>There was a conflict processing the request. Updating or deleting the resource can
|
|
72
|
+
* cause an inconsistent state.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link InternalServerException} (server fault)
|
|
75
|
+
* <p>The request has failed due to an internal error.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
78
|
+
* <p>The specified resource could not be found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* <p>The request was denied due to request throttling.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* <p>The input fails to satisfy the constraints.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link NetworkManagerServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from NetworkManager service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class UpdateContextStoreCommand extends UpdateContextStoreCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: UpdateContextStoreRequest;
|
|
97
|
+
output: UpdateContextStoreResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: UpdateContextStoreCommandInput;
|
|
101
|
+
output: UpdateContextStoreCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateNetworkResourceMetadataRequest
|
|
2
|
+
import type { UpdateNetworkResourceMetadataRequest } from "../models/models_0";
|
|
3
|
+
import type { UpdateNetworkResourceMetadataResponse } from "../models/models_1";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateVpcAttachmentRequest, UpdateVpcAttachmentResponse } from "../models/
|
|
2
|
+
import type { UpdateVpcAttachmentRequest, UpdateVpcAttachmentResponse } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export * from "./AcceptAttachmentCommand";
|
|
2
2
|
export * from "./AssociateConnectPeerCommand";
|
|
3
|
+
export * from "./AssociateContextStoreCommand";
|
|
3
4
|
export * from "./AssociateCustomerGatewayCommand";
|
|
4
5
|
export * from "./AssociateLinkCommand";
|
|
5
6
|
export * from "./AssociateTransitGatewayConnectPeerCommand";
|
|
6
7
|
export * from "./CreateConnectAttachmentCommand";
|
|
7
8
|
export * from "./CreateConnectPeerCommand";
|
|
8
9
|
export * from "./CreateConnectionCommand";
|
|
10
|
+
export * from "./CreateContextStoreCommand";
|
|
9
11
|
export * from "./CreateCoreNetworkCommand";
|
|
10
12
|
export * from "./CreateCoreNetworkPrefixListAssociationCommand";
|
|
11
13
|
export * from "./CreateDeviceCommand";
|
|
@@ -20,6 +22,7 @@ export * from "./CreateVpcAttachmentCommand";
|
|
|
20
22
|
export * from "./DeleteAttachmentCommand";
|
|
21
23
|
export * from "./DeleteConnectPeerCommand";
|
|
22
24
|
export * from "./DeleteConnectionCommand";
|
|
25
|
+
export * from "./DeleteContextStoreCommand";
|
|
23
26
|
export * from "./DeleteCoreNetworkCommand";
|
|
24
27
|
export * from "./DeleteCoreNetworkPolicyVersionCommand";
|
|
25
28
|
export * from "./DeleteCoreNetworkPrefixListAssociationCommand";
|
|
@@ -32,6 +35,7 @@ export * from "./DeleteSiteCommand";
|
|
|
32
35
|
export * from "./DeregisterTransitGatewayCommand";
|
|
33
36
|
export * from "./DescribeGlobalNetworksCommand";
|
|
34
37
|
export * from "./DisassociateConnectPeerCommand";
|
|
38
|
+
export * from "./DisassociateContextStoreCommand";
|
|
35
39
|
export * from "./DisassociateCustomerGatewayCommand";
|
|
36
40
|
export * from "./DisassociateLinkCommand";
|
|
37
41
|
export * from "./DisassociateTransitGatewayConnectPeerCommand";
|
|
@@ -40,6 +44,9 @@ export * from "./GetConnectAttachmentCommand";
|
|
|
40
44
|
export * from "./GetConnectPeerAssociationsCommand";
|
|
41
45
|
export * from "./GetConnectPeerCommand";
|
|
42
46
|
export * from "./GetConnectionsCommand";
|
|
47
|
+
export * from "./GetContextStoreAssociationCommand";
|
|
48
|
+
export * from "./GetContextStoreCommand";
|
|
49
|
+
export * from "./GetContextVersionCommand";
|
|
43
50
|
export * from "./GetCoreNetworkChangeEventsCommand";
|
|
44
51
|
export * from "./GetCoreNetworkChangeSetCommand";
|
|
45
52
|
export * from "./GetCoreNetworkCommand";
|
|
@@ -67,6 +74,10 @@ export * from "./ListAttachmentNatConfigurationsCommand";
|
|
|
67
74
|
export * from "./ListAttachmentRoutingPolicyAssociationsCommand";
|
|
68
75
|
export * from "./ListAttachmentsCommand";
|
|
69
76
|
export * from "./ListConnectPeersCommand";
|
|
77
|
+
export * from "./ListContextChangesCommand";
|
|
78
|
+
export * from "./ListContextStoreAssociationsCommand";
|
|
79
|
+
export * from "./ListContextStoresCommand";
|
|
80
|
+
export * from "./ListContextsCommand";
|
|
70
81
|
export * from "./ListCoreNetworkPolicyVersionsCommand";
|
|
71
82
|
export * from "./ListCoreNetworkPrefixListAssociationsCommand";
|
|
72
83
|
export * from "./ListCoreNetworkRoutingInformationCommand";
|
|
@@ -87,6 +98,7 @@ export * from "./TagResourceCommand";
|
|
|
87
98
|
export * from "./UntagResourceCommand";
|
|
88
99
|
export * from "./UpdateAttachmentNatConfigurationCommand";
|
|
89
100
|
export * from "./UpdateConnectionCommand";
|
|
101
|
+
export * from "./UpdateContextStoreCommand";
|
|
90
102
|
export * from "./UpdateCoreNetworkCommand";
|
|
91
103
|
export * from "./UpdateDeviceCommand";
|
|
92
104
|
export * from "./UpdateDirectConnectGatewayAttachmentCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -15,4 +15,5 @@ export * from "./schemas/schemas_0";
|
|
|
15
15
|
export * from "./models/enums";
|
|
16
16
|
export * from "./models/errors";
|
|
17
17
|
export * from "./models/models_0";
|
|
18
|
+
export * from "./models/models_1";
|
|
18
19
|
export { NetworkManagerServiceException } from "./models/NetworkManagerServiceException";
|
|
@@ -104,6 +104,20 @@ export declare const ConnectPeerAssociationState: {
|
|
|
104
104
|
* @public
|
|
105
105
|
*/
|
|
106
106
|
export type ConnectPeerAssociationState = (typeof ConnectPeerAssociationState)[keyof typeof ConnectPeerAssociationState];
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
* @enum
|
|
110
|
+
*/
|
|
111
|
+
export declare const ContextStoreAssociationState: {
|
|
112
|
+
readonly ASSOCIATED: "ASSOCIATED";
|
|
113
|
+
readonly ASSOCIATING: "ASSOCIATING";
|
|
114
|
+
readonly DISASSOCIATING: "DISASSOCIATING";
|
|
115
|
+
readonly FAILED: "FAILED";
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
*/
|
|
120
|
+
export type ContextStoreAssociationState = (typeof ContextStoreAssociationState)[keyof typeof ContextStoreAssociationState];
|
|
107
121
|
/**
|
|
108
122
|
* @public
|
|
109
123
|
* @enum
|
|
@@ -314,6 +328,33 @@ export declare const ConnectPeerState: {
|
|
|
314
328
|
* @public
|
|
315
329
|
*/
|
|
316
330
|
export type ConnectPeerState = (typeof ConnectPeerState)[keyof typeof ConnectPeerState];
|
|
331
|
+
/**
|
|
332
|
+
* @public
|
|
333
|
+
* @enum
|
|
334
|
+
*/
|
|
335
|
+
export declare const ContextChangeType: {
|
|
336
|
+
readonly ADDED: "ADDED";
|
|
337
|
+
readonly REMOVED: "REMOVED";
|
|
338
|
+
};
|
|
339
|
+
/**
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
export type ContextChangeType = (typeof ContextChangeType)[keyof typeof ContextChangeType];
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
* @enum
|
|
346
|
+
*/
|
|
347
|
+
export declare const ContextStoreState: {
|
|
348
|
+
readonly available: "AVAILABLE";
|
|
349
|
+
readonly deleted: "DELETED";
|
|
350
|
+
readonly deleting: "DELETING";
|
|
351
|
+
readonly pending: "PENDING";
|
|
352
|
+
readonly updating: "UPDATING";
|
|
353
|
+
};
|
|
354
|
+
/**
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
export type ContextStoreState = (typeof ContextStoreState)[keyof typeof ContextStoreState];
|
|
317
358
|
/**
|
|
318
359
|
* @public
|
|
319
360
|
* @enum
|
|
@@ -328,6 +369,18 @@ export declare const CoreNetworkState: {
|
|
|
328
369
|
* @public
|
|
329
370
|
*/
|
|
330
371
|
export type CoreNetworkState = (typeof CoreNetworkState)[keyof typeof CoreNetworkState];
|
|
372
|
+
/**
|
|
373
|
+
* @public
|
|
374
|
+
* @enum
|
|
375
|
+
*/
|
|
376
|
+
export declare const MultipathResilienceMode: {
|
|
377
|
+
readonly BEST_EFFORT: "best-effort";
|
|
378
|
+
readonly DISABLED: "disabled";
|
|
379
|
+
};
|
|
380
|
+
/**
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
export type MultipathResilienceMode = (typeof MultipathResilienceMode)[keyof typeof MultipathResilienceMode];
|
|
331
384
|
/**
|
|
332
385
|
* @public
|
|
333
386
|
* @enum
|