|
1 | 1 | { |
2 | 2 | "version" : 2, |
3 | 3 | "testCases" : [ { |
4 | | - "id" : "ListClustersSuccess", |
5 | | - "operationName" : "ListClusters", |
6 | | - "input" : { }, |
7 | | - "expectation" : { |
8 | | - "success" : { } |
9 | | - }, |
10 | | - "config" : { |
11 | | - "region" : "us-west-2", |
12 | | - "useFips" : false, |
13 | | - "useDualstack" : false, |
14 | | - "useAccountIdRouting" : true |
15 | | - } |
16 | | - }, { |
17 | 4 | "id" : "GetComputeNodeGroup_AccessDeniedException", |
18 | 5 | "operationName" : "GetComputeNodeGroup", |
19 | 6 | "input" : { |
|
32 | 19 | "useAccountIdRouting" : true |
33 | 20 | } |
34 | 21 | }, { |
35 | | - "id" : "GetQueueFailure_AccessDeniedException", |
36 | | - "operationName" : "GetQueue", |
| 22 | + "id" : "UpdateCluster_AccessDeniedException", |
| 23 | + "operationName" : "UpdateCluster", |
37 | 24 | "input" : { |
38 | | - "clusterIdentifier" : "pcs_donotexist", |
39 | | - "queueIdentifier" : "pcs_donotexist" |
| 25 | + "clusterIdentifier" : "pcs_donotexist" |
40 | 26 | }, |
41 | 27 | "expectation" : { |
42 | 28 | "failure" : { |
|
50 | 36 | "useAccountIdRouting" : true |
51 | 37 | } |
52 | 38 | }, { |
53 | | - "id" : "GetCluster_AccessDeniedException", |
54 | | - "operationName" : "GetCluster", |
| 39 | + "id" : "ListQueueFailure_AccessDeniedException", |
| 40 | + "operationName" : "ListQueues", |
55 | 41 | "input" : { |
56 | 42 | "clusterIdentifier" : "pcs_donotexist" |
57 | 43 | }, |
|
67 | 53 | "useAccountIdRouting" : true |
68 | 54 | } |
69 | 55 | }, { |
70 | | - "id" : "ListQueueFailure_AccessDeniedException", |
71 | | - "operationName" : "ListQueues", |
| 56 | + "id" : "InstanceArnSuccess", |
| 57 | + "operationName" : "CreateComputeNodeGroup", |
72 | 58 | "input" : { |
73 | | - "clusterIdentifier" : "pcs_donotexist" |
| 59 | + "clusterIdentifier" : "testCluster", |
| 60 | + "computeNodeGroupName" : "testNodeGroupName", |
| 61 | + "subnetIds" : [ "subnet-0cbf727bae9405b47" ], |
| 62 | + "scalingConfiguration" : { |
| 63 | + "minInstanceCount" : 1, |
| 64 | + "maxInstanceCount" : 1 |
| 65 | + }, |
| 66 | + "iamInstanceProfileArn" : "arn:aws:iam::975050141277:instance-profile/aws-pcs/example-role-2", |
| 67 | + "customLaunchTemplate" : { |
| 68 | + "id" : "lt-0b8f8ee3f92b73dc0", |
| 69 | + "version" : "1" |
| 70 | + }, |
| 71 | + "instanceConfigs" : [ { |
| 72 | + "instanceType" : "t3.medium" |
| 73 | + } ] |
74 | 74 | }, |
75 | 75 | "expectation" : { |
76 | 76 | "failure" : { |
77 | 77 | "errorId" : "AccessDeniedException" |
78 | 78 | } |
79 | 79 | }, |
| 80 | + "config" : { |
| 81 | + "region" : "us-east-1", |
| 82 | + "useFips" : false, |
| 83 | + "useDualstack" : false, |
| 84 | + "useAccountIdRouting" : true |
| 85 | + } |
| 86 | + }, { |
| 87 | + "id" : "ListClustersSuccess", |
| 88 | + "operationName" : "ListClusters", |
| 89 | + "input" : { }, |
| 90 | + "expectation" : { |
| 91 | + "success" : { } |
| 92 | + }, |
80 | 93 | "config" : { |
81 | 94 | "region" : "us-west-2", |
82 | 95 | "useFips" : false, |
|
101 | 114 | "useAccountIdRouting" : true |
102 | 115 | } |
103 | 116 | }, { |
104 | | - "id" : "InstanceArnSuccess", |
105 | | - "operationName" : "CreateComputeNodeGroup", |
| 117 | + "id" : "GetCluster_AccessDeniedException", |
| 118 | + "operationName" : "GetCluster", |
106 | 119 | "input" : { |
107 | | - "clusterIdentifier" : "testCluster", |
108 | | - "computeNodeGroupName" : "testNodeGroupName", |
109 | | - "subnetIds" : [ "subnet-0cbf727bae9405b47" ], |
110 | | - "scalingConfiguration" : { |
111 | | - "minInstanceCount" : 1, |
112 | | - "maxInstanceCount" : 1 |
113 | | - }, |
114 | | - "iamInstanceProfileArn" : "arn:aws:iam::975050141277:instance-profile/aws-pcs/example-role-2", |
115 | | - "customLaunchTemplate" : { |
116 | | - "id" : "lt-0b8f8ee3f92b73dc0", |
117 | | - "version" : "1" |
118 | | - }, |
119 | | - "instanceConfigs" : [ { |
120 | | - "instanceType" : "t3.medium" |
121 | | - } ] |
| 120 | + "clusterIdentifier" : "pcs_donotexist" |
122 | 121 | }, |
123 | 122 | "expectation" : { |
124 | 123 | "failure" : { |
125 | 124 | "errorId" : "AccessDeniedException" |
126 | 125 | } |
127 | 126 | }, |
128 | 127 | "config" : { |
129 | | - "region" : "us-east-1", |
| 128 | + "region" : "us-west-2", |
130 | 129 | "useFips" : false, |
131 | 130 | "useDualstack" : false, |
132 | 131 | "useAccountIdRouting" : true |
133 | 132 | } |
134 | 133 | }, { |
135 | | - "id" : "UpdateCluster_AccessDeniedException", |
136 | | - "operationName" : "UpdateCluster", |
| 134 | + "id" : "GetQueueFailure_AccessDeniedException", |
| 135 | + "operationName" : "GetQueue", |
137 | 136 | "input" : { |
138 | | - "clusterIdentifier" : "pcs_donotexist" |
| 137 | + "clusterIdentifier" : "pcs_donotexist", |
| 138 | + "queueIdentifier" : "pcs_donotexist" |
139 | 139 | }, |
140 | 140 | "expectation" : { |
141 | 141 | "failure" : { |
|
0 commit comments