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
62
```js
63
63
[
64
-
{
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
64
{
75
-
"State": {
76
-
"Value":"available"
77
-
},
78
-
"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...
79
88
}
80
-
],
81
-
"InternetGatewayId":"igw-0562ad6d",
82
-
"OwnerId":"000000000000",
83
-
"Tags": []
84
-
}}
85
-
,
86
-
.
87
-
.
88
-
.
89
+
]
89
90
```
90
91
91
92
### Profile Record
92
93
93
94
Each profile record holds:
94
-
```json
95
+
```js
95
96
{
96
-
"ServiceName": "EC2", // AWS service to execute
97
-
"Name": "DescribeInternetGateways", // Specific API to execute
98
-
"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
99
-
"Enabled": true, // if false, this API is skipped
100
-
"PageSize": 18// if this API supports paging, this value will be the page size for each request.
0 commit comments