@aws-sdk/client-networkmanager 3.1169.0 → 3.1170.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 +417 -31
- 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 +17 -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 +280 -30
- 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/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/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 +41 -0
- package/dist-types/models/models_0.d.ts +532 -86
- package/dist-types/models/models_1.d.ts +86 -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 +40 -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/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 +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +126 -18
- package/dist-types/ts3.4/models/models_1.d.ts +19 -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 +40 -0
- package/package.json +1 -1
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteContextStoreRequest, DeleteContextStoreResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteContextStoreCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteContextStoreCommandInput extends DeleteContextStoreRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteContextStoreCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteContextStoreCommandOutput extends DeleteContextStoreResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteContextStoreCommand_base: {
|
|
22
|
+
new (input: DeleteContextStoreCommandInput): import("@smithy/core/client").CommandImpl<DeleteContextStoreCommandInput, DeleteContextStoreCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteContextStoreCommandInput): import("@smithy/core/client").CommandImpl<DeleteContextStoreCommandInput, DeleteContextStoreCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a context store. The context store must be in the <code>AVAILABLE</code> state. You must disassociate all transit gateways from the context store before you can delete it.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkManagerClient, DeleteContextStoreCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
32
|
+
* // const { NetworkManagerClient, DeleteContextStoreCommand } = 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 = { // DeleteContextStoreRequest
|
|
37
|
+
* ContextStoreId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteContextStoreCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DeleteContextStoreResponse
|
|
42
|
+
* // ContextStore: { // ContextStore
|
|
43
|
+
* // GlobalNetworkId: "STRING_VALUE",
|
|
44
|
+
* // ContextStoreId: "STRING_VALUE",
|
|
45
|
+
* // ContextStoreArn: "STRING_VALUE",
|
|
46
|
+
* // Description: "STRING_VALUE",
|
|
47
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // State: "PENDING" || "AVAILABLE" || "UPDATING" || "DELETING" || "DELETED",
|
|
49
|
+
* // Tags: [ // TagList
|
|
50
|
+
* // { // Tag
|
|
51
|
+
* // Key: "STRING_VALUE",
|
|
52
|
+
* // Value: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param DeleteContextStoreCommandInput - {@link DeleteContextStoreCommandInput}
|
|
61
|
+
* @returns {@link DeleteContextStoreCommandOutput}
|
|
62
|
+
* @see {@link DeleteContextStoreCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link DeleteContextStoreCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ConflictException} (client fault)
|
|
70
|
+
* <p>There was a conflict processing the request. Updating or deleting the resource can
|
|
71
|
+
* cause an inconsistent state.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* <p>The request has failed due to an internal error.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>The specified resource could not be found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>The request was denied due to request throttling.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The input fails to satisfy the constraints.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link NetworkManagerServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from NetworkManager service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class DeleteContextStoreCommand extends DeleteContextStoreCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: DeleteContextStoreRequest;
|
|
96
|
+
output: DeleteContextStoreResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: DeleteContextStoreCommandInput;
|
|
100
|
+
output: DeleteContextStoreCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DisassociateContextStoreRequest, DisassociateContextStoreResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DisassociateContextStoreCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DisassociateContextStoreCommandInput extends DisassociateContextStoreRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DisassociateContextStoreCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DisassociateContextStoreCommandOutput extends DisassociateContextStoreResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DisassociateContextStoreCommand_base: {
|
|
22
|
+
new (input: DisassociateContextStoreCommandInput): import("@smithy/core/client").CommandImpl<DisassociateContextStoreCommandInput, DisassociateContextStoreCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DisassociateContextStoreCommandInput): import("@smithy/core/client").CommandImpl<DisassociateContextStoreCommandInput, DisassociateContextStoreCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Disassociates a transit gateway from a context store. The association must be in the <code>ASSOCIATED</code> or <code>FAILED</code> state. The association stays in the <code>DISASSOCIATING</code> state until the disassociation completes.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkManagerClient, DisassociateContextStoreCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
32
|
+
* // const { NetworkManagerClient, DisassociateContextStoreCommand } = 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 = { // DisassociateContextStoreRequest
|
|
37
|
+
* ContextStoreId: "STRING_VALUE", // required
|
|
38
|
+
* TransitGatewayArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DisassociateContextStoreCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DisassociateContextStoreResponse
|
|
43
|
+
* // ContextStoreAssociation: { // ContextStoreAssociation
|
|
44
|
+
* // ContextStoreId: "STRING_VALUE",
|
|
45
|
+
* // TransitGatewayArn: "STRING_VALUE",
|
|
46
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
47
|
+
* // State: "ASSOCIATING" || "ASSOCIATED" || "DISASSOCIATING" || "FAILED",
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param DisassociateContextStoreCommandInput - {@link DisassociateContextStoreCommandInput}
|
|
54
|
+
* @returns {@link DisassociateContextStoreCommandOutput}
|
|
55
|
+
* @see {@link DisassociateContextStoreCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link DisassociateContextStoreCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>There was a conflict processing the request. Updating or deleting the resource can
|
|
64
|
+
* cause an inconsistent state.</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 DisassociateContextStoreCommand extends DisassociateContextStoreCommand_base {
|
|
85
|
+
/** @internal type navigation helper, not in runtime. */
|
|
86
|
+
protected static __types: {
|
|
87
|
+
api: {
|
|
88
|
+
input: DisassociateContextStoreRequest;
|
|
89
|
+
output: DisassociateContextStoreResponse;
|
|
90
|
+
};
|
|
91
|
+
sdk: {
|
|
92
|
+
input: DisassociateContextStoreCommandInput;
|
|
93
|
+
output: DisassociateContextStoreCommandOutput;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetContextStoreAssociationRequest, GetContextStoreAssociationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetContextStoreAssociationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetContextStoreAssociationCommandInput extends GetContextStoreAssociationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetContextStoreAssociationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetContextStoreAssociationCommandOutput extends GetContextStoreAssociationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetContextStoreAssociationCommand_base: {
|
|
22
|
+
new (input: GetContextStoreAssociationCommandInput): import("@smithy/core/client").CommandImpl<GetContextStoreAssociationCommandInput, GetContextStoreAssociationCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetContextStoreAssociationCommandInput): import("@smithy/core/client").CommandImpl<GetContextStoreAssociationCommandInput, GetContextStoreAssociationCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns information about the association between a context store and a transit gateway.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { NetworkManagerClient, GetContextStoreAssociationCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
32
|
+
* // const { NetworkManagerClient, GetContextStoreAssociationCommand } = 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 = { // GetContextStoreAssociationRequest
|
|
37
|
+
* ContextStoreId: "STRING_VALUE", // required
|
|
38
|
+
* TransitGatewayArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetContextStoreAssociationCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetContextStoreAssociationResponse
|
|
43
|
+
* // ContextStoreAssociation: { // ContextStoreAssociation
|
|
44
|
+
* // ContextStoreId: "STRING_VALUE",
|
|
45
|
+
* // TransitGatewayArn: "STRING_VALUE",
|
|
46
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
47
|
+
* // State: "ASSOCIATING" || "ASSOCIATED" || "DISASSOCIATING" || "FAILED",
|
|
48
|
+
* // },
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param GetContextStoreAssociationCommandInput - {@link GetContextStoreAssociationCommandInput}
|
|
54
|
+
* @returns {@link GetContextStoreAssociationCommandOutput}
|
|
55
|
+
* @see {@link GetContextStoreAssociationCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link GetContextStoreAssociationCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link InternalServerException} (server fault)
|
|
63
|
+
* <p>The request has failed due to an internal error.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
66
|
+
* <p>The specified resource could not be found.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>The request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The input fails to satisfy the constraints.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link NetworkManagerServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from NetworkManager service.</p>
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class GetContextStoreAssociationCommand extends GetContextStoreAssociationCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: GetContextStoreAssociationRequest;
|
|
85
|
+
output: GetContextStoreAssociationResponse;
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: GetContextStoreAssociationCommandInput;
|
|
89
|
+
output: GetContextStoreAssociationCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetContextStoreRequest, GetContextStoreResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetContextStoreCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetContextStoreCommandInput extends GetContextStoreRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetContextStoreCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetContextStoreCommandOutput extends GetContextStoreResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetContextStoreCommand_base: {
|
|
22
|
+
new (input: GetContextStoreCommandInput): import("@smithy/core/client").CommandImpl<GetContextStoreCommandInput, GetContextStoreCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetContextStoreCommandInput): import("@smithy/core/client").CommandImpl<GetContextStoreCommandInput, GetContextStoreCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns information about 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, GetContextStoreCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
32
|
+
* // const { NetworkManagerClient, GetContextStoreCommand } = 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 = { // GetContextStoreRequest
|
|
37
|
+
* ContextStoreId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetContextStoreCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetContextStoreResponse
|
|
42
|
+
* // ContextStore: { // ContextStore
|
|
43
|
+
* // GlobalNetworkId: "STRING_VALUE",
|
|
44
|
+
* // ContextStoreId: "STRING_VALUE",
|
|
45
|
+
* // ContextStoreArn: "STRING_VALUE",
|
|
46
|
+
* // Description: "STRING_VALUE",
|
|
47
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
48
|
+
* // State: "PENDING" || "AVAILABLE" || "UPDATING" || "DELETING" || "DELETED",
|
|
49
|
+
* // Tags: [ // TagList
|
|
50
|
+
* // { // Tag
|
|
51
|
+
* // Key: "STRING_VALUE",
|
|
52
|
+
* // Value: "STRING_VALUE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param GetContextStoreCommandInput - {@link GetContextStoreCommandInput}
|
|
61
|
+
* @returns {@link GetContextStoreCommandOutput}
|
|
62
|
+
* @see {@link GetContextStoreCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link GetContextStoreCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
67
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>The request has failed due to an internal error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
73
|
+
* <p>The specified resource could not be found.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
76
|
+
* <p>The request was denied due to request throttling.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ValidationException} (client fault)
|
|
79
|
+
* <p>The input fails to satisfy the constraints.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link NetworkManagerServiceException}
|
|
82
|
+
* <p>Base exception class for all service exceptions from NetworkManager service.</p>
|
|
83
|
+
*
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class GetContextStoreCommand extends GetContextStoreCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: GetContextStoreRequest;
|
|
92
|
+
output: GetContextStoreResponse;
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: GetContextStoreCommandInput;
|
|
96
|
+
output: GetContextStoreCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetContextVersionRequest, GetContextVersionResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetContextVersionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetContextVersionCommandInput extends GetContextVersionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetContextVersionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetContextVersionCommandOutput extends GetContextVersionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetContextVersionCommand_base: {
|
|
22
|
+
new (input: GetContextVersionCommandInput): import("@smithy/core/client").CommandImpl<GetContextVersionCommandInput, GetContextVersionCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetContextVersionCommandInput): import("@smithy/core/client").CommandImpl<GetContextVersionCommandInput, GetContextVersionCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the current version of the context entries 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, GetContextVersionCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
32
|
+
* // const { NetworkManagerClient, GetContextVersionCommand } = 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 = { // GetContextVersionRequest
|
|
37
|
+
* ContextStoreId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetContextVersionCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetContextVersionResponse
|
|
42
|
+
* // VersionId: "STRING_VALUE",
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param GetContextVersionCommandInput - {@link GetContextVersionCommandInput}
|
|
48
|
+
* @returns {@link GetContextVersionCommandOutput}
|
|
49
|
+
* @see {@link GetContextVersionCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link GetContextVersionCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServerException} (server fault)
|
|
57
|
+
* <p>The request has failed due to an internal error.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>The specified resource could not be found.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
63
|
+
* <p>The request was denied due to request throttling.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>The input fails to satisfy the constraints.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link NetworkManagerServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from NetworkManager service.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class GetContextVersionCommand extends GetContextVersionCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: GetContextVersionRequest;
|
|
79
|
+
output: GetContextVersionResponse;
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: GetContextVersionCommandInput;
|
|
83
|
+
output: GetContextVersionCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListContextChangesRequest, ListContextChangesResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListContextChangesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListContextChangesCommandInput extends ListContextChangesRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListContextChangesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListContextChangesCommandOutput extends ListContextChangesResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListContextChangesCommand_base: {
|
|
22
|
+
new (input: ListContextChangesCommandInput): import("@smithy/core/client").CommandImpl<ListContextChangesCommandInput, ListContextChangesCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListContextChangesCommandInput): import("@smithy/core/client").CommandImpl<ListContextChangesCommandInput, ListContextChangesCommandOutput, import("..").NetworkManagerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the context entries that were added to or removed from a context store after the specified version. 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, ListContextChangesCommand } from "@aws-sdk/client-networkmanager"; // ES Modules import
|
|
32
|
+
* // const { NetworkManagerClient, ListContextChangesCommand } = 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 = { // ListContextChangesRequest
|
|
37
|
+
* ContextStoreId: "STRING_VALUE", // required
|
|
38
|
+
* FromVersionId: "STRING_VALUE", // required
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* NextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListContextChangesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListContextChangesResponse
|
|
45
|
+
* // ContextChanges: [ // ContextChangeList
|
|
46
|
+
* // { // ContextChange
|
|
47
|
+
* // ChangeType: "ADDED" || "REMOVED",
|
|
48
|
+
* // Context: { // ContextEntry
|
|
49
|
+
* // ContextId: "STRING_VALUE",
|
|
50
|
+
* // ContextType: "STRING_VALUE",
|
|
51
|
+
* // SegmentType: "STRING_VALUE",
|
|
52
|
+
* // PublicId: "STRING_VALUE",
|
|
53
|
+
* // Region: "STRING_VALUE",
|
|
54
|
+
* // AvailabilityZone: "STRING_VALUE",
|
|
55
|
+
* // AttachmentType: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // FromVersionId: "STRING_VALUE",
|
|
60
|
+
* // ToVersionId: "STRING_VALUE",
|
|
61
|
+
* // NextToken: "STRING_VALUE",
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param ListContextChangesCommandInput - {@link ListContextChangesCommandInput}
|
|
67
|
+
* @returns {@link ListContextChangesCommandOutput}
|
|
68
|
+
* @see {@link ListContextChangesCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link ListContextChangesCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link NetworkManagerClientResolvedConfig | config} for NetworkManagerClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>The request has failed due to an internal error.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The specified resource could not be found.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>The request was denied due to request throttling.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>The input fails to satisfy the constraints.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link NetworkManagerServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from NetworkManager service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ListContextChangesCommand extends ListContextChangesCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: ListContextChangesRequest;
|
|
98
|
+
output: ListContextChangesResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: ListContextChangesCommandInput;
|
|
102
|
+
output: ListContextChangesCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|