nomoss 0.0.3 → 0.0.4
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/CHANGELOG.md +27 -0
- package/README.md +5 -15
- package/ROADMAP.md +2 -0
- package/docs/README.md +1 -1
- package/docs/application/aws-resource-coverage.md +26 -0
- package/docs/application/aws-resource-lifecycle-management.md +13 -23
- package/docs/application/cli-workflow.md +1 -1
- package/docs/application/engine-design.md +2 -2
- package/docs/application/generation-architecture.md +10 -45
- package/docs/application/resource-command-policy-stage.md +2 -2
- package/docs/application/resource-graph.md +1 -1
- package/docs/application/resource-lifecycle-tracker.md +1 -9
- package/docs/application/resource-mapping.md +4 -9
- package/docs/application/resource-operations.md +4 -2
- package/docs/application/tracing.md +2 -6
- package/docs/development/code-documentation.md +2 -0
- package/docs/development/effect-native-development.md +44 -0
- package/docs/development/linting.md +1 -1
- package/docs/development/review-code.md +22 -6
- package/docs/development/review-remediation-spec.md +28 -37
- package/docs/development/spec-writing.md +1 -1
- package/docs/development/testing.md +23 -9
- package/docs/operations/observability-sop.md +11 -17
- package/docs/operations/releasing.md +3 -1
- package/examples/README.md +3 -26
- package/examples/commands.ts +2 -36
- package/examples/queue/application.ts +8 -2
- package/examples/state-machine/application.ts +3 -1
- package/package.json +40 -46
- package/providers/aws/README.md +21 -0
- package/providers/aws/awsEnvironment.ts +114 -0
- package/providers/aws/generated/managementRegistry.ts +136 -0
- package/{src/providers/aws/resources/generated/native/apigatewayv2/api/index.ts → providers/aws/generated/resources/apigatewayv2/api.ts} +13 -50
- package/{src/providers/aws/resources/generated/native/apigatewayv2/integration/index.ts → providers/aws/generated/resources/apigatewayv2/integration.ts} +13 -37
- package/{src/providers/aws/resources/generated/native/apigatewayv2/route/index.ts → providers/aws/generated/resources/apigatewayv2/route.ts} +23 -40
- package/{src/providers/aws/resources/generated/native/apigatewayv2/stage/index.ts → providers/aws/generated/resources/apigatewayv2/stage.ts} +13 -38
- package/providers/aws/generated/resources/iam/accesskey.ts +184 -0
- package/{src/providers/aws/resources/generated/native/iam/group/index.ts → providers/aws/generated/resources/iam/group.ts} +13 -38
- package/{src/providers/aws/resources/generated/native/iam/grouppolicy/index.ts → providers/aws/generated/resources/iam/grouppolicy.ts} +29 -59
- package/{src/providers/aws/resources/generated/native/iam/instanceprofile/index.ts → providers/aws/generated/resources/iam/instanceprofile.ts} +13 -41
- package/{src/providers/aws/resources/generated/native/iam/managedpolicy/index.ts → providers/aws/generated/resources/iam/managedpolicy.ts} +13 -95
- package/providers/aws/generated/resources/iam/oidcprovider.ts +314 -0
- package/{src/providers/aws/resources/generated/native/iam/policy/index.ts → providers/aws/generated/resources/iam/policy.ts} +13 -28
- package/{src/providers/aws/resources/generated/native/iam/role/index.ts → providers/aws/generated/resources/iam/role.ts} +13 -47
- package/{src/providers/aws/resources/generated/native/iam/rolepolicy/index.ts → providers/aws/generated/resources/iam/rolepolicy.ts} +29 -59
- package/providers/aws/generated/resources/iam/samlprovider.ts +463 -0
- package/providers/aws/generated/resources/iam/servercertificate.ts +465 -0
- package/providers/aws/generated/resources/iam/servicelinkedrole.ts +187 -0
- package/{src/providers/aws/resources/generated/native/iam/user/index.ts → providers/aws/generated/resources/iam/user.ts} +13 -38
- package/{src/providers/aws/resources/generated/native/iam/userpolicy/index.ts → providers/aws/generated/resources/iam/userpolicy.ts} +29 -59
- package/{src/providers/aws/resources/generated/native/iam/usertogroupaddition/index.ts → providers/aws/generated/resources/iam/usertogroupaddition.ts} +13 -27
- package/providers/aws/generated/resources/iam/virtualmfadevice.ts +298 -0
- package/{src/providers/aws/resources/generated/native/kms/key/index.ts → providers/aws/generated/resources/kms/key.ts} +13 -41
- package/{src/providers/aws/resources/generated/native/lambda/function/index.ts → providers/aws/generated/resources/lambda/function.ts} +13 -63
- package/{src/providers/aws/resources/generated/native/lambda/permission/index.ts → providers/aws/generated/resources/lambda/permission.ts} +13 -55
- package/{src/providers/aws/resources/generated/native/s3/bucket/index.ts → providers/aws/generated/resources/s3/bucket.ts} +14 -104
- package/{src/providers/aws/resources/generated/native/sns/topic/index.ts → providers/aws/generated/resources/sns/topic.ts} +14 -29
- package/{src/providers/aws/resources/generated/native/sqs/queue/index.ts → providers/aws/generated/resources/sqs/queue.ts} +14 -38
- package/{src/providers/aws/resources/generated/native/stepfunctions/statemachine/index.ts → providers/aws/generated/resources/stepfunctions/statemachine.ts} +15 -58
- package/providers/aws/management/mappings/iam/group.ts +63 -0
- package/providers/aws/management/mappings/iam/iamIdentity.ts +41 -0
- package/providers/aws/management/mappings/iam/iamLifecycleSettings.ts +8 -0
- package/providers/aws/management/mappings/iam/inlinePolicies.ts +159 -0
- package/providers/aws/management/mappings/iam/instanceProfile.ts +77 -0
- package/providers/aws/management/mappings/iam/oidcProvider.ts +94 -0
- package/providers/aws/management/mappings/iam/role.ts +74 -0
- package/providers/aws/management/mappings/iam/samlProvider.ts +98 -0
- package/providers/aws/management/mappings/iam/serverCertificate.ts +72 -0
- package/providers/aws/management/mappings/iam/user.ts +61 -0
- package/providers/aws/management/mappings/iam/userToGroupAddition.ts +75 -0
- package/providers/aws/management/operations/iam/accessKey.ts +206 -0
- package/providers/aws/management/operations/iam/managedPolicy.ts +491 -0
- package/providers/aws/management/operations/iam/policy.ts +476 -0
- package/providers/aws/management/operations/iam/serviceLinkedRole.ts +172 -0
- package/providers/aws/management/operations/iam/virtualMfaDevice.ts +253 -0
- package/providers/aws/management/resourceAssociationConfiguration.ts +112 -0
- package/providers/aws/management/resourceAssociationRegistration.ts +349 -0
- package/providers/aws/management/resourceAssociations.ts +168 -0
- package/{src/providers → providers}/aws/management/resourceConfiguration.ts +24 -26
- package/providers/aws/management/resourceLifecycleRegistration.ts +540 -0
- package/providers/aws/management/resourceManagementModule.ts +31 -0
- package/providers/aws/management/resourceManagementRegistry.ts +62 -0
- package/providers/aws/management/resourceMapping.ts +84 -0
- package/providers/aws/management/resourceOperation.ts +134 -0
- package/providers/aws/management/resourceTagOperations.ts +108 -0
- package/providers/aws/management/resourceTiming.ts +4 -0
- package/providers/aws/runtime.ts +52 -0
- package/src/core/resource/resourceCommandPolicy.ts +20 -0
- package/src/core/resource/resourceLifecycle.ts +644 -0
- package/src/core/resource/resourceStabilization.ts +120 -0
- package/src/core/resource/resourceVersions.ts +102 -0
- package/src/core/stack/planner.ts +9 -0
- package/src/core/stack/resourceStackLifecycle.ts +36 -3
- package/src/core/state/resourceState.ts +6 -4
- package/src/core/state/stateStore.ts +57 -10
- package/src/providers/file/resourcePolicy.ts +13 -12
- package/src/providers/providerRuntimeLayer.ts +5 -2
- package/src/providers/resourceCommandPolicyLayer.ts +117 -37
- package/src/providers/stripe/management/resourcePolicy.ts +22 -11
- package/examples/http-echo/application.ts +0 -87
- package/src/providers/aws/client/awsClient.ts +0 -418
- package/src/providers/aws/client/awsClientConfig.ts +0 -133
- package/src/providers/aws/client/awsClientModel.ts +0 -119
- package/src/providers/aws/client/awsHttpOperation.ts +0 -153
- package/src/providers/aws/client/awsQueryOperation.ts +0 -149
- package/src/providers/aws/client/awsRequestSigner.ts +0 -115
- package/src/providers/aws/client/awsResponseDecoder.ts +0 -135
- package/src/providers/aws/client/awsRetryPolicy.ts +0 -62
- package/src/providers/aws/client/generated/apiGatewayV2.ts +0 -3025
- package/src/providers/aws/client/generated/cloudControl.ts +0 -5746
- package/src/providers/aws/client/generated/iam.ts +0 -10892
- package/src/providers/aws/client/generated/lambda.ts +0 -5403
- package/src/providers/aws/client/generated/sqs.ts +0 -3769
- package/src/providers/aws/client/generated/stepFunctions.ts +0 -1726
- package/src/providers/aws/client/openapi/cloudControl/CancelResourceRequest.json +0 -579
- package/src/providers/aws/client/openapi/cloudControl/CreateResource.json +0 -1019
- package/src/providers/aws/client/openapi/cloudControl/DeleteResource.json +0 -1018
- package/src/providers/aws/client/openapi/cloudControl/GetResource.json +0 -883
- package/src/providers/aws/client/openapi/cloudControl/GetResourceRequestStatus.json +0 -655
- package/src/providers/aws/client/openapi/cloudControl/ListResourceRequests.json +0 -566
- package/src/providers/aws/client/openapi/cloudControl/ListResources.json +0 -913
- package/src/providers/aws/client/openapi/cloudControl/UpdateResource.json +0 -1027
- package/src/providers/aws/cloudControl/client.ts +0 -69
- package/src/providers/aws/cloudControl/requestTracker.ts +0 -138
- package/src/providers/aws/cloudControl/resourceCommandPolicyLayer.ts +0 -63
- package/src/providers/aws/cloudControl/resourceLifecycle.ts +0 -479
- package/src/providers/aws/cloudControl/resources/generated/certificatemanager/certificate/index.ts +0 -179
- package/src/providers/aws/cloudControl/resources/generated/kms/key/index.ts +0 -362
- package/src/providers/aws/cloudControl/resources/generated/s3/bucket/index.ts +0 -2364
- package/src/providers/aws/cloudControl/resources/generated/sns/topic/index.ts +0 -326
- package/src/providers/aws/cloudControl/resources/generated/sqs/queue/index.ts +0 -307
- package/src/providers/aws/cloudControl/resources/generated/sqs/queueinlinepolicy/index.ts +0 -108
- package/src/providers/aws/cloudControl/runtime.ts +0 -127
- package/src/providers/aws/management/resourceMapping.ts +0 -343
- package/src/providers/aws/management/resourceOperation.ts +0 -57
- package/src/providers/aws/management/resourcePolicy.ts +0 -549
- package/src/providers/aws/management/resourceRegistration.ts +0 -294
- package/src/providers/aws/resources/apiGatewayV2/httpApi.ts +0 -327
- package/src/providers/aws/resources/generated/native/resourceCommands.ts +0 -152
- package/src/providers/aws/resources/iam/grant.ts +0 -150
- package/src/providers/aws/resources/iam/grantCommands.ts +0 -283
- package/src/providers/aws/resources/iam/policyDocument.ts +0 -30
- package/src/providers/aws/resources/iam/policyStatement.ts +0 -59
- package/src/providers/aws/resources/iam/role.ts +0 -426
- package/src/providers/aws/resources/iam/roleDeclaration.ts +0 -105
- package/src/providers/aws/resources/lambda/function.ts +0 -403
- package/src/providers/aws/resources/lambda/functionDeclaration.ts +0 -234
- package/src/providers/aws/resources/lambda/permission.ts +0 -363
- package/src/providers/aws/resources/stepFunctions/stateMachine.ts +0 -95
- package/src/providers/aws/runtime.ts +0 -70
|
@@ -1,566 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"openapi": "3.1.0",
|
|
3
|
-
"info": {
|
|
4
|
-
"title": "AWS Cloud Control API",
|
|
5
|
-
"version": "2021-09-30",
|
|
6
|
-
"description": "<p>For more information about Amazon Web Services Cloud Control API, see the <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/what-is-cloudcontrolapi.html\">Amazon Web Services Cloud Control API User\n Guide</a>.</p>"
|
|
7
|
-
},
|
|
8
|
-
"paths": {
|
|
9
|
-
"/": {
|
|
10
|
-
"post": {
|
|
11
|
-
"description": "<p>Returns existing resource operation requests. This includes requests of all status types.\n For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-list\">Listing active resource operation requests</a> in the\n <i>Amazon Web Services Cloud Control API User Guide</i>.</p>\n <note>\n <p>Resource operation requests expire after 7 days.</p>\n </note>",
|
|
12
|
-
"operationId": "ListResourceRequests",
|
|
13
|
-
"requestBody": {
|
|
14
|
-
"content": {
|
|
15
|
-
"application/x-amz-json-1.0": {
|
|
16
|
-
"schema": {
|
|
17
|
-
"$ref": "#/components/schemas/ListResourceRequestsInput"
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"required": true
|
|
22
|
-
},
|
|
23
|
-
"parameters": [
|
|
24
|
-
{
|
|
25
|
-
"name": "X-Amz-Target",
|
|
26
|
-
"in": "header",
|
|
27
|
-
"schema": {
|
|
28
|
-
"type": "string",
|
|
29
|
-
"enum": [
|
|
30
|
-
"CloudApiService.ListResourceRequests"
|
|
31
|
-
]
|
|
32
|
-
},
|
|
33
|
-
"required": true
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"responses": {
|
|
37
|
-
"200": {
|
|
38
|
-
"description": "Successful operation response",
|
|
39
|
-
"content": {
|
|
40
|
-
"application/x-amz-json-1.0": {
|
|
41
|
-
"schema": {
|
|
42
|
-
"$ref": "#/components/schemas/ListResourceRequestsOutput"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"x-aws-idempotency-tokens": [],
|
|
49
|
-
"x-aws-pagination": {
|
|
50
|
-
"inputToken": "NextToken",
|
|
51
|
-
"outputToken": "NextToken",
|
|
52
|
-
"pageSize": "MaxResults",
|
|
53
|
-
"items": "ResourceRequestStatusSummaries"
|
|
54
|
-
},
|
|
55
|
-
"x-aws-waiters": {}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"components": {
|
|
60
|
-
"schemas": {
|
|
61
|
-
"HandlerErrorCode": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"enum": [
|
|
64
|
-
"NotUpdatable",
|
|
65
|
-
"InvalidRequest",
|
|
66
|
-
"AccessDenied",
|
|
67
|
-
"UnauthorizedTaggingOperation",
|
|
68
|
-
"InvalidCredentials",
|
|
69
|
-
"AlreadyExists",
|
|
70
|
-
"NotFound",
|
|
71
|
-
"ResourceConflict",
|
|
72
|
-
"Throttling",
|
|
73
|
-
"ServiceLimitExceeded",
|
|
74
|
-
"NotStabilized",
|
|
75
|
-
"GeneralServiceException",
|
|
76
|
-
"ServiceInternalError",
|
|
77
|
-
"ServiceTimeout",
|
|
78
|
-
"NetworkFailure",
|
|
79
|
-
"InternalFailure"
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
"ListResourceRequestsInput": {
|
|
83
|
-
"type": "object",
|
|
84
|
-
"properties": {
|
|
85
|
-
"MaxResults": {
|
|
86
|
-
"type": "integer",
|
|
87
|
-
"maximum": 100,
|
|
88
|
-
"minimum": 1,
|
|
89
|
-
"description": "<p>The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a <code>NextToken</code> value\n that you can assign to the <code>NextToken</code> request parameter to get the next set of\n results.</p>\n <p>The default is <code>20</code>.</p>",
|
|
90
|
-
"format": "int32"
|
|
91
|
-
},
|
|
92
|
-
"NextToken": {
|
|
93
|
-
"type": "string",
|
|
94
|
-
"maxLength": 2048,
|
|
95
|
-
"minLength": 1,
|
|
96
|
-
"pattern": "^[-A-Za-z0-9+/=]+$",
|
|
97
|
-
"description": "<p>If the previous paginated request didn't return all of the remaining results,\n the response object's <code>NextToken</code> parameter value is set to a token.\n To retrieve the next set of results, call this action again and assign that token to\n the request object's <code>NextToken</code> parameter. If there are no remaining\n results, the previous response object's <code>NextToken</code> parameter is set to\n <code>null</code>.</p>"
|
|
98
|
-
},
|
|
99
|
-
"ResourceRequestStatusFilter": {
|
|
100
|
-
"$ref": "#/components/schemas/ResourceRequestStatusFilter"
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
"ListResourceRequestsOutput": {
|
|
105
|
-
"type": "object",
|
|
106
|
-
"properties": {
|
|
107
|
-
"ResourceRequestStatusSummaries": {
|
|
108
|
-
"type": "array",
|
|
109
|
-
"items": {
|
|
110
|
-
"$ref": "#/components/schemas/ProgressEvent"
|
|
111
|
-
},
|
|
112
|
-
"description": "<p>The requests that match the specified filter criteria.</p>"
|
|
113
|
-
},
|
|
114
|
-
"NextToken": {
|
|
115
|
-
"type": "string",
|
|
116
|
-
"maxLength": 2048,
|
|
117
|
-
"minLength": 1,
|
|
118
|
-
"pattern": "^[-A-Za-z0-9+/=]+$",
|
|
119
|
-
"description": "<p>If the request doesn't return all of the remaining results,\n <code>NextToken</code> is set to a token. To retrieve the next set of results, call\n <code>ListResources</code> again and assign that token to the request object's\n <code>NextToken</code> parameter. If the request returns all results,\n <code>NextToken</code> is set to null.</p>"
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
"Operation": {
|
|
124
|
-
"type": "string",
|
|
125
|
-
"enum": [
|
|
126
|
-
"CREATE",
|
|
127
|
-
"DELETE",
|
|
128
|
-
"UPDATE"
|
|
129
|
-
]
|
|
130
|
-
},
|
|
131
|
-
"OperationStatus": {
|
|
132
|
-
"type": "string",
|
|
133
|
-
"enum": [
|
|
134
|
-
"PENDING",
|
|
135
|
-
"IN_PROGRESS",
|
|
136
|
-
"SUCCESS",
|
|
137
|
-
"FAILED",
|
|
138
|
-
"CANCEL_IN_PROGRESS",
|
|
139
|
-
"CANCEL_COMPLETE"
|
|
140
|
-
]
|
|
141
|
-
},
|
|
142
|
-
"ProgressEvent": {
|
|
143
|
-
"type": "object",
|
|
144
|
-
"description": "<p>Represents the current status of a resource operation request. For more information, see\n <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html\">Managing resource operation requests</a> in the\n <i>Amazon Web Services Cloud Control API User Guide</i>.</p>",
|
|
145
|
-
"properties": {
|
|
146
|
-
"TypeName": {
|
|
147
|
-
"type": "string",
|
|
148
|
-
"maxLength": 196,
|
|
149
|
-
"minLength": 10,
|
|
150
|
-
"pattern": "^[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}::[A-Za-z0-9]{2,64}$",
|
|
151
|
-
"description": "<p>The name of the resource type used in the operation.</p>"
|
|
152
|
-
},
|
|
153
|
-
"Identifier": {
|
|
154
|
-
"type": "string",
|
|
155
|
-
"maxLength": 1024,
|
|
156
|
-
"minLength": 1,
|
|
157
|
-
"pattern": "^.+$",
|
|
158
|
-
"description": "<p>The primary identifier for the resource.</p>\n <note>\n <p>In some cases, the resource identifier may be available before the resource operation\n has reached a status of <code>SUCCESS</code>.</p>\n </note>"
|
|
159
|
-
},
|
|
160
|
-
"RequestToken": {
|
|
161
|
-
"type": "string",
|
|
162
|
-
"maxLength": 128,
|
|
163
|
-
"minLength": 1,
|
|
164
|
-
"pattern": "^[-A-Za-z0-9+/=]+$",
|
|
165
|
-
"description": "<p>The unique token representing this resource operation request.</p>\n <p>Use the <code>RequestToken</code> with <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html\">GetResourceRequestStatus</a> to return the current status of a resource operation\n request.</p>"
|
|
166
|
-
},
|
|
167
|
-
"HooksRequestToken": {
|
|
168
|
-
"type": "string",
|
|
169
|
-
"maxLength": 128,
|
|
170
|
-
"minLength": 1,
|
|
171
|
-
"pattern": "^[-A-Za-z0-9+/=]+$",
|
|
172
|
-
"description": "<p>The unique token representing the Hooks operation for the request.</p>"
|
|
173
|
-
},
|
|
174
|
-
"Operation": {
|
|
175
|
-
"$ref": "#/components/schemas/Operation"
|
|
176
|
-
},
|
|
177
|
-
"OperationStatus": {
|
|
178
|
-
"$ref": "#/components/schemas/OperationStatus"
|
|
179
|
-
},
|
|
180
|
-
"EventTime": {
|
|
181
|
-
"type": "number",
|
|
182
|
-
"description": "<p>When the resource operation request was initiated.</p>",
|
|
183
|
-
"format": "double"
|
|
184
|
-
},
|
|
185
|
-
"ResourceModel": {
|
|
186
|
-
"type": "string",
|
|
187
|
-
"maxLength": 262144,
|
|
188
|
-
"minLength": 1,
|
|
189
|
-
"pattern": "^[\\s\\S]*$",
|
|
190
|
-
"description": "<p>A JSON string containing the resource model, consisting of each resource property and its\n current value.</p>",
|
|
191
|
-
"format": "password"
|
|
192
|
-
},
|
|
193
|
-
"StatusMessage": {
|
|
194
|
-
"type": "string",
|
|
195
|
-
"maxLength": 2048,
|
|
196
|
-
"minLength": 0,
|
|
197
|
-
"pattern": "^[\\s\\S]*$",
|
|
198
|
-
"description": "<p>Any message explaining the current status.</p>"
|
|
199
|
-
},
|
|
200
|
-
"ErrorCode": {
|
|
201
|
-
"$ref": "#/components/schemas/HandlerErrorCode"
|
|
202
|
-
},
|
|
203
|
-
"RetryAfter": {
|
|
204
|
-
"type": "number",
|
|
205
|
-
"description": "<p>When to next request the status of this resource operation request.</p>",
|
|
206
|
-
"format": "double"
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
},
|
|
210
|
-
"ResourceRequestStatusFilter": {
|
|
211
|
-
"type": "object",
|
|
212
|
-
"description": "<p>The filter criteria to use in determining the requests returned.</p>",
|
|
213
|
-
"properties": {
|
|
214
|
-
"Operations": {
|
|
215
|
-
"type": "array",
|
|
216
|
-
"items": {
|
|
217
|
-
"$ref": "#/components/schemas/Operation"
|
|
218
|
-
},
|
|
219
|
-
"description": "<p>The operation types to include in the filter.</p>"
|
|
220
|
-
},
|
|
221
|
-
"OperationStatuses": {
|
|
222
|
-
"type": "array",
|
|
223
|
-
"items": {
|
|
224
|
-
"$ref": "#/components/schemas/OperationStatus"
|
|
225
|
-
},
|
|
226
|
-
"description": "<p>The operation statuses to include in the filter.</p>\n <ul>\n <li>\n <p>\n <code>PENDING</code>: The operation has been requested, but not yet initiated.</p>\n </li>\n <li>\n <p>\n <code>IN_PROGRESS</code>: The operation is in progress.</p>\n </li>\n <li>\n <p>\n <code>SUCCESS</code>: The operation completed.</p>\n </li>\n <li>\n <p>\n <code>FAILED</code>: The operation failed.</p>\n </li>\n <li>\n <p>\n <code>CANCEL_IN_PROGRESS</code>: The operation is in the process of being\n canceled.</p>\n </li>\n <li>\n <p>\n <code>CANCEL_COMPLETE</code>: The operation has been canceled.</p>\n </li>\n </ul>"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
},
|
|
231
|
-
"securitySchemes": {
|
|
232
|
-
"aws.auth.sigv4": {
|
|
233
|
-
"type": "apiKey",
|
|
234
|
-
"description": "AWS Signature Version 4 authentication",
|
|
235
|
-
"name": "Authorization",
|
|
236
|
-
"in": "header",
|
|
237
|
-
"x-amazon-apigateway-authtype": "awsSigv4"
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
"security": [
|
|
242
|
-
{
|
|
243
|
-
"aws.auth.sigv4": []
|
|
244
|
-
}
|
|
245
|
-
],
|
|
246
|
-
"x-aws-service": {
|
|
247
|
-
"service": "com.amazonaws.cloudcontrol#CloudApiService",
|
|
248
|
-
"version": "2021-09-30",
|
|
249
|
-
"protocol": "awsJson1_0",
|
|
250
|
-
"signingName": "cloudcontrolapi",
|
|
251
|
-
"endpointRules": {
|
|
252
|
-
"version": "1.0",
|
|
253
|
-
"parameters": {
|
|
254
|
-
"Region": {
|
|
255
|
-
"builtIn": "AWS::Region",
|
|
256
|
-
"required": false,
|
|
257
|
-
"documentation": "The AWS region used to dispatch the request.",
|
|
258
|
-
"type": "string"
|
|
259
|
-
},
|
|
260
|
-
"UseDualStack": {
|
|
261
|
-
"builtIn": "AWS::UseDualStack",
|
|
262
|
-
"required": true,
|
|
263
|
-
"default": false,
|
|
264
|
-
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
265
|
-
"type": "boolean"
|
|
266
|
-
},
|
|
267
|
-
"UseFIPS": {
|
|
268
|
-
"builtIn": "AWS::UseFIPS",
|
|
269
|
-
"required": true,
|
|
270
|
-
"default": false,
|
|
271
|
-
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
272
|
-
"type": "boolean"
|
|
273
|
-
},
|
|
274
|
-
"Endpoint": {
|
|
275
|
-
"builtIn": "SDK::Endpoint",
|
|
276
|
-
"required": false,
|
|
277
|
-
"documentation": "Override the endpoint used to send this request",
|
|
278
|
-
"type": "string"
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
"rules": [
|
|
282
|
-
{
|
|
283
|
-
"conditions": [
|
|
284
|
-
{
|
|
285
|
-
"fn": "isSet",
|
|
286
|
-
"argv": [
|
|
287
|
-
{
|
|
288
|
-
"ref": "Endpoint"
|
|
289
|
-
}
|
|
290
|
-
]
|
|
291
|
-
}
|
|
292
|
-
],
|
|
293
|
-
"rules": [
|
|
294
|
-
{
|
|
295
|
-
"conditions": [
|
|
296
|
-
{
|
|
297
|
-
"fn": "booleanEquals",
|
|
298
|
-
"argv": [
|
|
299
|
-
{
|
|
300
|
-
"ref": "UseFIPS"
|
|
301
|
-
},
|
|
302
|
-
true
|
|
303
|
-
]
|
|
304
|
-
}
|
|
305
|
-
],
|
|
306
|
-
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
307
|
-
"type": "error"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"conditions": [
|
|
311
|
-
{
|
|
312
|
-
"fn": "booleanEquals",
|
|
313
|
-
"argv": [
|
|
314
|
-
{
|
|
315
|
-
"ref": "UseDualStack"
|
|
316
|
-
},
|
|
317
|
-
true
|
|
318
|
-
]
|
|
319
|
-
}
|
|
320
|
-
],
|
|
321
|
-
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
322
|
-
"type": "error"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"conditions": [],
|
|
326
|
-
"endpoint": {
|
|
327
|
-
"url": {
|
|
328
|
-
"ref": "Endpoint"
|
|
329
|
-
},
|
|
330
|
-
"properties": {},
|
|
331
|
-
"headers": {}
|
|
332
|
-
},
|
|
333
|
-
"type": "endpoint"
|
|
334
|
-
}
|
|
335
|
-
],
|
|
336
|
-
"type": "tree"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"conditions": [
|
|
340
|
-
{
|
|
341
|
-
"fn": "isSet",
|
|
342
|
-
"argv": [
|
|
343
|
-
{
|
|
344
|
-
"ref": "Region"
|
|
345
|
-
}
|
|
346
|
-
]
|
|
347
|
-
}
|
|
348
|
-
],
|
|
349
|
-
"rules": [
|
|
350
|
-
{
|
|
351
|
-
"conditions": [
|
|
352
|
-
{
|
|
353
|
-
"fn": "aws.partition",
|
|
354
|
-
"argv": [
|
|
355
|
-
{
|
|
356
|
-
"ref": "Region"
|
|
357
|
-
}
|
|
358
|
-
],
|
|
359
|
-
"assign": "PartitionResult"
|
|
360
|
-
}
|
|
361
|
-
],
|
|
362
|
-
"rules": [
|
|
363
|
-
{
|
|
364
|
-
"conditions": [
|
|
365
|
-
{
|
|
366
|
-
"fn": "booleanEquals",
|
|
367
|
-
"argv": [
|
|
368
|
-
{
|
|
369
|
-
"ref": "UseFIPS"
|
|
370
|
-
},
|
|
371
|
-
true
|
|
372
|
-
]
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"fn": "booleanEquals",
|
|
376
|
-
"argv": [
|
|
377
|
-
{
|
|
378
|
-
"ref": "UseDualStack"
|
|
379
|
-
},
|
|
380
|
-
true
|
|
381
|
-
]
|
|
382
|
-
}
|
|
383
|
-
],
|
|
384
|
-
"rules": [
|
|
385
|
-
{
|
|
386
|
-
"conditions": [
|
|
387
|
-
{
|
|
388
|
-
"fn": "booleanEquals",
|
|
389
|
-
"argv": [
|
|
390
|
-
true,
|
|
391
|
-
{
|
|
392
|
-
"fn": "getAttr",
|
|
393
|
-
"argv": [
|
|
394
|
-
{
|
|
395
|
-
"ref": "PartitionResult"
|
|
396
|
-
},
|
|
397
|
-
"supportsFIPS"
|
|
398
|
-
]
|
|
399
|
-
}
|
|
400
|
-
]
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
"fn": "booleanEquals",
|
|
404
|
-
"argv": [
|
|
405
|
-
true,
|
|
406
|
-
{
|
|
407
|
-
"fn": "getAttr",
|
|
408
|
-
"argv": [
|
|
409
|
-
{
|
|
410
|
-
"ref": "PartitionResult"
|
|
411
|
-
},
|
|
412
|
-
"supportsDualStack"
|
|
413
|
-
]
|
|
414
|
-
}
|
|
415
|
-
]
|
|
416
|
-
}
|
|
417
|
-
],
|
|
418
|
-
"rules": [
|
|
419
|
-
{
|
|
420
|
-
"conditions": [],
|
|
421
|
-
"endpoint": {
|
|
422
|
-
"url": "https://cloudcontrolapi-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
423
|
-
"properties": {},
|
|
424
|
-
"headers": {}
|
|
425
|
-
},
|
|
426
|
-
"type": "endpoint"
|
|
427
|
-
}
|
|
428
|
-
],
|
|
429
|
-
"type": "tree"
|
|
430
|
-
},
|
|
431
|
-
{
|
|
432
|
-
"conditions": [],
|
|
433
|
-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
434
|
-
"type": "error"
|
|
435
|
-
}
|
|
436
|
-
],
|
|
437
|
-
"type": "tree"
|
|
438
|
-
},
|
|
439
|
-
{
|
|
440
|
-
"conditions": [
|
|
441
|
-
{
|
|
442
|
-
"fn": "booleanEquals",
|
|
443
|
-
"argv": [
|
|
444
|
-
{
|
|
445
|
-
"ref": "UseFIPS"
|
|
446
|
-
},
|
|
447
|
-
true
|
|
448
|
-
]
|
|
449
|
-
}
|
|
450
|
-
],
|
|
451
|
-
"rules": [
|
|
452
|
-
{
|
|
453
|
-
"conditions": [
|
|
454
|
-
{
|
|
455
|
-
"fn": "booleanEquals",
|
|
456
|
-
"argv": [
|
|
457
|
-
{
|
|
458
|
-
"fn": "getAttr",
|
|
459
|
-
"argv": [
|
|
460
|
-
{
|
|
461
|
-
"ref": "PartitionResult"
|
|
462
|
-
},
|
|
463
|
-
"supportsFIPS"
|
|
464
|
-
]
|
|
465
|
-
},
|
|
466
|
-
true
|
|
467
|
-
]
|
|
468
|
-
}
|
|
469
|
-
],
|
|
470
|
-
"rules": [
|
|
471
|
-
{
|
|
472
|
-
"conditions": [],
|
|
473
|
-
"endpoint": {
|
|
474
|
-
"url": "https://cloudcontrolapi-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
475
|
-
"properties": {},
|
|
476
|
-
"headers": {}
|
|
477
|
-
},
|
|
478
|
-
"type": "endpoint"
|
|
479
|
-
}
|
|
480
|
-
],
|
|
481
|
-
"type": "tree"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
"conditions": [],
|
|
485
|
-
"error": "FIPS is enabled but this partition does not support FIPS",
|
|
486
|
-
"type": "error"
|
|
487
|
-
}
|
|
488
|
-
],
|
|
489
|
-
"type": "tree"
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"conditions": [
|
|
493
|
-
{
|
|
494
|
-
"fn": "booleanEquals",
|
|
495
|
-
"argv": [
|
|
496
|
-
{
|
|
497
|
-
"ref": "UseDualStack"
|
|
498
|
-
},
|
|
499
|
-
true
|
|
500
|
-
]
|
|
501
|
-
}
|
|
502
|
-
],
|
|
503
|
-
"rules": [
|
|
504
|
-
{
|
|
505
|
-
"conditions": [
|
|
506
|
-
{
|
|
507
|
-
"fn": "booleanEquals",
|
|
508
|
-
"argv": [
|
|
509
|
-
true,
|
|
510
|
-
{
|
|
511
|
-
"fn": "getAttr",
|
|
512
|
-
"argv": [
|
|
513
|
-
{
|
|
514
|
-
"ref": "PartitionResult"
|
|
515
|
-
},
|
|
516
|
-
"supportsDualStack"
|
|
517
|
-
]
|
|
518
|
-
}
|
|
519
|
-
]
|
|
520
|
-
}
|
|
521
|
-
],
|
|
522
|
-
"rules": [
|
|
523
|
-
{
|
|
524
|
-
"conditions": [],
|
|
525
|
-
"endpoint": {
|
|
526
|
-
"url": "https://cloudcontrolapi.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
527
|
-
"properties": {},
|
|
528
|
-
"headers": {}
|
|
529
|
-
},
|
|
530
|
-
"type": "endpoint"
|
|
531
|
-
}
|
|
532
|
-
],
|
|
533
|
-
"type": "tree"
|
|
534
|
-
},
|
|
535
|
-
{
|
|
536
|
-
"conditions": [],
|
|
537
|
-
"error": "DualStack is enabled but this partition does not support DualStack",
|
|
538
|
-
"type": "error"
|
|
539
|
-
}
|
|
540
|
-
],
|
|
541
|
-
"type": "tree"
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
"conditions": [],
|
|
545
|
-
"endpoint": {
|
|
546
|
-
"url": "https://cloudcontrolapi.{Region}.{PartitionResult#dnsSuffix}",
|
|
547
|
-
"properties": {},
|
|
548
|
-
"headers": {}
|
|
549
|
-
},
|
|
550
|
-
"type": "endpoint"
|
|
551
|
-
}
|
|
552
|
-
],
|
|
553
|
-
"type": "tree"
|
|
554
|
-
}
|
|
555
|
-
],
|
|
556
|
-
"type": "tree"
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"conditions": [],
|
|
560
|
-
"error": "Invalid Configuration: Missing Region",
|
|
561
|
-
"type": "error"
|
|
562
|
-
}
|
|
563
|
-
]
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
}
|