You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resulting `myobjects.json` file, holds a JSON array with the following structure:
62
-
```json
62
+
```js
63
63
[
64
-
{ "Type" : "InternetGateway", // the type of the object listed
65
-
"Service" : "EC2", // the service it was retrieved from
66
-
"Region" : "ap-northeast-2", // the region
67
-
"Source" : { //the object itself, will change according to the object
68
-
"Attachments": [
69
64
{
70
-
"State": {
71
-
"Value": "available"
72
-
},
73
-
"VpcId": "vpc-e2e9f18a"
65
+
// the type of the object listed:
66
+
"Type":"InternetGateway",
67
+
// the service it was retrieved from:
68
+
"Service":"EC2",
69
+
// the region:
70
+
"Region":"ap-northeast-2",
71
+
//the object itself, will change according to the object:
72
+
"Source": {
73
+
"Attachments": [
74
+
{
75
+
"State": {
76
+
"Value":"available"
77
+
},
78
+
"VpcId":"vpc-e2e9f18a"
79
+
}
80
+
],
81
+
"InternetGatewayId":"igw-0562ad6d",
82
+
"OwnerId":"000000000000",
83
+
"Tags": []
84
+
}
85
+
},
86
+
{
87
+
// more objects...
74
88
}
75
-
],
76
-
"InternetGatewayId": "igw-0562ad6d",
77
-
"OwnerId": "000000000000",
78
-
"Tags": []
79
-
}}
80
-
,
81
-
.
82
-
.
83
-
.
89
+
]
84
90
```
85
91
86
92
### Profile Record
87
93
88
94
Each profile record holds:
89
-
```json
95
+
```js
90
96
{
91
-
"ServiceName": "EC2", // AWS service to execute
92
-
"Name": "DescribeInternetGateways", // Specific API to execute
93
-
"Regions": "ap-northeast-1 ap-northeast-2 ap-south-1 ap-southeast-1 ap-southeast-2 ca-central-1 eu-central-1 eu-north-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1 us-east-1 us-east-2 us-west-1 us-west-2", // a list of regions to call
94
-
"Enabled": true, // if false, this API is skipped
95
-
"PageSize": 18// if this API supports paging, this value will be the page size for each request.
0 commit comments