xref: /aosp_15_r20/external/aws-sdk-java-v2/services/efs/src/main/resources/codegen-resources/examples-1.json (revision 8a52c7834d808308836a99fc2a6e0ed8db339086)
1{
2  "version": "1.0",
3  "examples": {
4    "CreateFileSystem": [
5      {
6        "input": {
7          "CreationToken": "tokenstring",
8          "PerformanceMode": "generalPurpose"
9        },
10        "output": {
11          "CreationTime": "1481841524.0",
12          "CreationToken": "tokenstring",
13          "FileSystemId": "fs-01234567",
14          "LifeCycleState": "creating",
15          "NumberOfMountTargets": 0,
16          "OwnerId": "012345678912",
17          "PerformanceMode": "generalPurpose",
18          "SizeInBytes": {
19            "Value": 0
20          }
21        },
22        "comments": {
23          "input": {
24          },
25          "output": {
26          }
27        },
28        "description": "This operation creates a new file system with the default generalpurpose performance mode.",
29        "id": "to-create-a-new-file-system-1481840798547",
30        "title": "To create a new file system"
31      }
32    ],
33    "CreateMountTarget": [
34      {
35        "input": {
36          "FileSystemId": "fs-01234567",
37          "SubnetId": "subnet-1234abcd"
38        },
39        "output": {
40          "FileSystemId": "fs-01234567",
41          "IpAddress": "192.0.0.2",
42          "LifeCycleState": "creating",
43          "MountTargetId": "fsmt-12340abc",
44          "NetworkInterfaceId": "eni-cedf6789",
45          "OwnerId": "012345678912",
46          "SubnetId": "subnet-1234abcd"
47        },
48        "comments": {
49          "input": {
50          },
51          "output": {
52          }
53        },
54        "description": "This operation creates a new mount target for an EFS file system.",
55        "id": "to-create-a-new-mount-target-1481842289329",
56        "title": "To create a new mount target"
57      }
58    ],
59    "CreateTags": [
60      {
61        "input": {
62          "FileSystemId": "fs-01234567",
63          "Tags": [
64            {
65              "Key": "Name",
66              "Value": "MyFileSystem"
67            }
68          ]
69        },
70        "comments": {
71        },
72        "description": "This operation creates a new tag for an EFS file system.",
73        "id": "to-create-a-new-tag-1481843409357",
74        "title": "To create a new tag"
75      }
76    ],
77    "DeleteFileSystem": [
78      {
79        "input": {
80          "FileSystemId": "fs-01234567"
81        },
82        "comments": {
83        },
84        "description": "This operation deletes an EFS file system.",
85        "id": "to-delete-a-file-system-1481847318348",
86        "title": "To delete a file system"
87      }
88    ],
89    "DeleteMountTarget": [
90      {
91        "input": {
92          "MountTargetId": "fsmt-12340abc"
93        },
94        "comments": {
95        },
96        "description": "This operation deletes a mount target.",
97        "id": "to-delete-a-mount-target-1481847635607",
98        "title": "To delete a mount target"
99      }
100    ],
101    "DeleteTags": [
102      {
103        "input": {
104          "FileSystemId": "fs-01234567",
105          "TagKeys": [
106            "Name"
107          ]
108        },
109        "comments": {
110        },
111        "description": "This operation deletes tags for an EFS file system.",
112        "id": "to-delete-tags-for-an-efs-file-system-1481848189061",
113        "title": "To delete tags for an EFS file system"
114      }
115    ],
116    "DescribeFileSystems": [
117      {
118        "input": {
119        },
120        "output": {
121          "FileSystems": [
122            {
123              "CreationTime": "1481841524.0",
124              "CreationToken": "tokenstring",
125              "FileSystemId": "fs-01234567",
126              "LifeCycleState": "available",
127              "Name": "MyFileSystem",
128              "NumberOfMountTargets": 1,
129              "OwnerId": "012345678912",
130              "PerformanceMode": "generalPurpose",
131              "SizeInBytes": {
132                "Value": 6144
133              }
134            }
135          ]
136        },
137        "comments": {
138        },
139        "description": "This operation describes all of the EFS file systems in an account.",
140        "id": "to-describe-an-efs-file-system-1481848448460",
141        "title": "To describe an EFS file system"
142      }
143    ],
144    "DescribeMountTargetSecurityGroups": [
145      {
146        "input": {
147          "MountTargetId": "fsmt-12340abc"
148        },
149        "output": {
150          "SecurityGroups": [
151            "sg-fghi4567"
152          ]
153        },
154        "comments": {
155        },
156        "description": "This operation describes all of the security groups for a file system's mount target.",
157        "id": "to-describe-the-security-groups-for-a-mount-target-1481849317823",
158        "title": "To describe the security groups for a mount target"
159      }
160    ],
161    "DescribeMountTargets": [
162      {
163        "input": {
164          "FileSystemId": "fs-01234567"
165        },
166        "output": {
167          "MountTargets": [
168            {
169              "FileSystemId": "fs-01234567",
170              "IpAddress": "192.0.0.2",
171              "LifeCycleState": "available",
172              "MountTargetId": "fsmt-12340abc",
173              "NetworkInterfaceId": "eni-cedf6789",
174              "OwnerId": "012345678912",
175              "SubnetId": "subnet-1234abcd"
176            }
177          ]
178        },
179        "comments": {
180        },
181        "description": "This operation describes all of a file system's mount targets.",
182        "id": "to-describe-the-mount-targets-for-a-file-system-1481849958584",
183        "title": "To describe the mount targets for a file system"
184      }
185    ],
186    "DescribeTags": [
187      {
188        "input": {
189          "FileSystemId": "fs-01234567"
190        },
191        "output": {
192          "Tags": [
193            {
194              "Key": "Name",
195              "Value": "MyFileSystem"
196            }
197          ]
198        },
199        "comments": {
200        },
201        "description": "This operation describes all of a file system's tags.",
202        "id": "to-describe-the-tags-for-a-file-system-1481850497090",
203        "title": "To describe the tags for a file system"
204      }
205    ],
206    "ModifyMountTargetSecurityGroups": [
207      {
208        "input": {
209          "MountTargetId": "fsmt-12340abc",
210          "SecurityGroups": [
211            "sg-abcd1234"
212          ]
213        },
214        "comments": {
215        },
216        "description": "This operation modifies the security groups associated with a mount target for a file system.",
217        "id": "to-modify-the-security-groups-associated-with-a-mount-target-for-a-file-system-1481850772562",
218        "title": "To modify the security groups associated with a mount target for a file system"
219      }
220    ]
221  }
222}
223