github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/cloud9/2017-09-23/api-2.json (about)

     1  {
     2    "version":"2.0",
     3    "metadata":{
     4      "apiVersion":"2017-09-23",
     5      "endpointPrefix":"cloud9",
     6      "jsonVersion":"1.1",
     7      "protocol":"json",
     8      "serviceFullName":"AWS Cloud9",
     9      "serviceId":"Cloud9",
    10      "signatureVersion":"v4",
    11      "targetPrefix":"AWSCloud9WorkspaceManagementService",
    12      "uid":"cloud9-2017-09-23"
    13    },
    14    "operations":{
    15      "CreateEnvironmentEC2":{
    16        "name":"CreateEnvironmentEC2",
    17        "http":{
    18          "method":"POST",
    19          "requestUri":"/"
    20        },
    21        "input":{"shape":"CreateEnvironmentEC2Request"},
    22        "output":{"shape":"CreateEnvironmentEC2Result"},
    23        "errors":[
    24          {"shape":"BadRequestException"},
    25          {"shape":"ConflictException"},
    26          {"shape":"NotFoundException"},
    27          {"shape":"ForbiddenException"},
    28          {"shape":"TooManyRequestsException"},
    29          {"shape":"LimitExceededException"},
    30          {"shape":"InternalServerErrorException"}
    31        ],
    32        "idempotent":true
    33      },
    34      "CreateEnvironmentMembership":{
    35        "name":"CreateEnvironmentMembership",
    36        "http":{
    37          "method":"POST",
    38          "requestUri":"/"
    39        },
    40        "input":{"shape":"CreateEnvironmentMembershipRequest"},
    41        "output":{"shape":"CreateEnvironmentMembershipResult"},
    42        "errors":[
    43          {"shape":"BadRequestException"},
    44          {"shape":"ConflictException"},
    45          {"shape":"NotFoundException"},
    46          {"shape":"ForbiddenException"},
    47          {"shape":"TooManyRequestsException"},
    48          {"shape":"LimitExceededException"},
    49          {"shape":"InternalServerErrorException"}
    50        ],
    51        "idempotent":true
    52      },
    53      "DeleteEnvironment":{
    54        "name":"DeleteEnvironment",
    55        "http":{
    56          "method":"POST",
    57          "requestUri":"/"
    58        },
    59        "input":{"shape":"DeleteEnvironmentRequest"},
    60        "output":{"shape":"DeleteEnvironmentResult"},
    61        "errors":[
    62          {"shape":"BadRequestException"},
    63          {"shape":"ConflictException"},
    64          {"shape":"NotFoundException"},
    65          {"shape":"ForbiddenException"},
    66          {"shape":"TooManyRequestsException"},
    67          {"shape":"LimitExceededException"},
    68          {"shape":"InternalServerErrorException"}
    69        ],
    70        "idempotent":true
    71      },
    72      "DeleteEnvironmentMembership":{
    73        "name":"DeleteEnvironmentMembership",
    74        "http":{
    75          "method":"POST",
    76          "requestUri":"/"
    77        },
    78        "input":{"shape":"DeleteEnvironmentMembershipRequest"},
    79        "output":{"shape":"DeleteEnvironmentMembershipResult"},
    80        "errors":[
    81          {"shape":"BadRequestException"},
    82          {"shape":"ConflictException"},
    83          {"shape":"NotFoundException"},
    84          {"shape":"ForbiddenException"},
    85          {"shape":"TooManyRequestsException"},
    86          {"shape":"LimitExceededException"},
    87          {"shape":"InternalServerErrorException"}
    88        ],
    89        "idempotent":true
    90      },
    91      "DescribeEnvironmentMemberships":{
    92        "name":"DescribeEnvironmentMemberships",
    93        "http":{
    94          "method":"POST",
    95          "requestUri":"/"
    96        },
    97        "input":{"shape":"DescribeEnvironmentMembershipsRequest"},
    98        "output":{"shape":"DescribeEnvironmentMembershipsResult"},
    99        "errors":[
   100          {"shape":"BadRequestException"},
   101          {"shape":"ConflictException"},
   102          {"shape":"NotFoundException"},
   103          {"shape":"ForbiddenException"},
   104          {"shape":"TooManyRequestsException"},
   105          {"shape":"LimitExceededException"},
   106          {"shape":"InternalServerErrorException"}
   107        ]
   108      },
   109      "DescribeEnvironmentStatus":{
   110        "name":"DescribeEnvironmentStatus",
   111        "http":{
   112          "method":"POST",
   113          "requestUri":"/"
   114        },
   115        "input":{"shape":"DescribeEnvironmentStatusRequest"},
   116        "output":{"shape":"DescribeEnvironmentStatusResult"},
   117        "errors":[
   118          {"shape":"BadRequestException"},
   119          {"shape":"ConflictException"},
   120          {"shape":"NotFoundException"},
   121          {"shape":"ForbiddenException"},
   122          {"shape":"TooManyRequestsException"},
   123          {"shape":"LimitExceededException"},
   124          {"shape":"InternalServerErrorException"}
   125        ]
   126      },
   127      "DescribeEnvironments":{
   128        "name":"DescribeEnvironments",
   129        "http":{
   130          "method":"POST",
   131          "requestUri":"/"
   132        },
   133        "input":{"shape":"DescribeEnvironmentsRequest"},
   134        "output":{"shape":"DescribeEnvironmentsResult"},
   135        "errors":[
   136          {"shape":"BadRequestException"},
   137          {"shape":"ConflictException"},
   138          {"shape":"NotFoundException"},
   139          {"shape":"ForbiddenException"},
   140          {"shape":"TooManyRequestsException"},
   141          {"shape":"LimitExceededException"},
   142          {"shape":"InternalServerErrorException"}
   143        ]
   144      },
   145      "ListEnvironments":{
   146        "name":"ListEnvironments",
   147        "http":{
   148          "method":"POST",
   149          "requestUri":"/"
   150        },
   151        "input":{"shape":"ListEnvironmentsRequest"},
   152        "output":{"shape":"ListEnvironmentsResult"},
   153        "errors":[
   154          {"shape":"BadRequestException"},
   155          {"shape":"ConflictException"},
   156          {"shape":"NotFoundException"},
   157          {"shape":"ForbiddenException"},
   158          {"shape":"TooManyRequestsException"},
   159          {"shape":"LimitExceededException"},
   160          {"shape":"InternalServerErrorException"}
   161        ]
   162      },
   163      "ListTagsForResource":{
   164        "name":"ListTagsForResource",
   165        "http":{
   166          "method":"POST",
   167          "requestUri":"/"
   168        },
   169        "input":{"shape":"ListTagsForResourceRequest"},
   170        "output":{"shape":"ListTagsForResourceResponse"},
   171        "errors":[
   172          {"shape":"NotFoundException"},
   173          {"shape":"InternalServerErrorException"},
   174          {"shape":"BadRequestException"}
   175        ]
   176      },
   177      "TagResource":{
   178        "name":"TagResource",
   179        "http":{
   180          "method":"POST",
   181          "requestUri":"/"
   182        },
   183        "input":{"shape":"TagResourceRequest"},
   184        "output":{"shape":"TagResourceResponse"},
   185        "errors":[
   186          {"shape":"NotFoundException"},
   187          {"shape":"InternalServerErrorException"},
   188          {"shape":"BadRequestException"},
   189          {"shape":"ConcurrentAccessException"}
   190        ]
   191      },
   192      "UntagResource":{
   193        "name":"UntagResource",
   194        "http":{
   195          "method":"POST",
   196          "requestUri":"/"
   197        },
   198        "input":{"shape":"UntagResourceRequest"},
   199        "output":{"shape":"UntagResourceResponse"},
   200        "errors":[
   201          {"shape":"NotFoundException"},
   202          {"shape":"InternalServerErrorException"},
   203          {"shape":"BadRequestException"},
   204          {"shape":"ConcurrentAccessException"}
   205        ]
   206      },
   207      "UpdateEnvironment":{
   208        "name":"UpdateEnvironment",
   209        "http":{
   210          "method":"POST",
   211          "requestUri":"/"
   212        },
   213        "input":{"shape":"UpdateEnvironmentRequest"},
   214        "output":{"shape":"UpdateEnvironmentResult"},
   215        "errors":[
   216          {"shape":"BadRequestException"},
   217          {"shape":"ConflictException"},
   218          {"shape":"NotFoundException"},
   219          {"shape":"ForbiddenException"},
   220          {"shape":"TooManyRequestsException"},
   221          {"shape":"LimitExceededException"},
   222          {"shape":"InternalServerErrorException"}
   223        ],
   224        "idempotent":true
   225      },
   226      "UpdateEnvironmentMembership":{
   227        "name":"UpdateEnvironmentMembership",
   228        "http":{
   229          "method":"POST",
   230          "requestUri":"/"
   231        },
   232        "input":{"shape":"UpdateEnvironmentMembershipRequest"},
   233        "output":{"shape":"UpdateEnvironmentMembershipResult"},
   234        "errors":[
   235          {"shape":"BadRequestException"},
   236          {"shape":"ConflictException"},
   237          {"shape":"NotFoundException"},
   238          {"shape":"ForbiddenException"},
   239          {"shape":"TooManyRequestsException"},
   240          {"shape":"LimitExceededException"},
   241          {"shape":"InternalServerErrorException"}
   242        ],
   243        "idempotent":true
   244      }
   245    },
   246    "shapes":{
   247      "AutomaticStopTimeMinutes":{
   248        "type":"integer",
   249        "box":true,
   250        "max":20160
   251      },
   252      "BadRequestException":{
   253        "type":"structure",
   254        "members":{
   255        },
   256        "exception":true
   257      },
   258      "BoundedEnvironmentIdList":{
   259        "type":"list",
   260        "member":{"shape":"EnvironmentId"},
   261        "max":25,
   262        "min":1
   263      },
   264      "ClientRequestToken":{
   265        "type":"string",
   266        "pattern":"[\\x20-\\x7E]{10,128}"
   267      },
   268      "ConcurrentAccessException":{
   269        "type":"structure",
   270        "members":{
   271        },
   272        "exception":true
   273      },
   274      "ConflictException":{
   275        "type":"structure",
   276        "members":{
   277        },
   278        "exception":true
   279      },
   280      "ConnectionType":{
   281        "type":"string",
   282        "enum":[
   283          "CONNECT_SSH",
   284          "CONNECT_SSM"
   285        ]
   286      },
   287      "CreateEnvironmentEC2Request":{
   288        "type":"structure",
   289        "required":[
   290          "name",
   291          "instanceType"
   292        ],
   293        "members":{
   294          "name":{"shape":"EnvironmentName"},
   295          "description":{"shape":"EnvironmentDescription"},
   296          "clientRequestToken":{"shape":"ClientRequestToken"},
   297          "instanceType":{"shape":"InstanceType"},
   298          "subnetId":{"shape":"SubnetId"},
   299          "imageId":{"shape":"ImageId"},
   300          "automaticStopTimeMinutes":{"shape":"AutomaticStopTimeMinutes"},
   301          "ownerArn":{"shape":"UserArn"},
   302          "tags":{"shape":"TagList"},
   303          "connectionType":{"shape":"ConnectionType"},
   304          "dryRun":{"shape":"NullableBoolean"}
   305        }
   306      },
   307      "CreateEnvironmentEC2Result":{
   308        "type":"structure",
   309        "members":{
   310          "environmentId":{"shape":"EnvironmentId"}
   311        }
   312      },
   313      "CreateEnvironmentMembershipRequest":{
   314        "type":"structure",
   315        "required":[
   316          "environmentId",
   317          "userArn",
   318          "permissions"
   319        ],
   320        "members":{
   321          "environmentId":{"shape":"EnvironmentId"},
   322          "userArn":{"shape":"UserArn"},
   323          "permissions":{"shape":"MemberPermissions"}
   324        }
   325      },
   326      "CreateEnvironmentMembershipResult":{
   327        "type":"structure",
   328        "required":["membership"],
   329        "members":{
   330          "membership":{"shape":"EnvironmentMember"}
   331        }
   332      },
   333      "DeleteEnvironmentMembershipRequest":{
   334        "type":"structure",
   335        "required":[
   336          "environmentId",
   337          "userArn"
   338        ],
   339        "members":{
   340          "environmentId":{"shape":"EnvironmentId"},
   341          "userArn":{"shape":"UserArn"}
   342        }
   343      },
   344      "DeleteEnvironmentMembershipResult":{
   345        "type":"structure",
   346        "members":{
   347        }
   348      },
   349      "DeleteEnvironmentRequest":{
   350        "type":"structure",
   351        "required":["environmentId"],
   352        "members":{
   353          "environmentId":{"shape":"EnvironmentId"}
   354        }
   355      },
   356      "DeleteEnvironmentResult":{
   357        "type":"structure",
   358        "members":{
   359        }
   360      },
   361      "DescribeEnvironmentMembershipsRequest":{
   362        "type":"structure",
   363        "members":{
   364          "userArn":{"shape":"UserArn"},
   365          "environmentId":{"shape":"EnvironmentId"},
   366          "permissions":{"shape":"PermissionsList"},
   367          "nextToken":{"shape":"String"},
   368          "maxResults":{"shape":"MaxResults"}
   369        }
   370      },
   371      "DescribeEnvironmentMembershipsResult":{
   372        "type":"structure",
   373        "members":{
   374          "memberships":{"shape":"EnvironmentMembersList"},
   375          "nextToken":{"shape":"String"}
   376        }
   377      },
   378      "DescribeEnvironmentStatusRequest":{
   379        "type":"structure",
   380        "required":["environmentId"],
   381        "members":{
   382          "environmentId":{"shape":"EnvironmentId"}
   383        }
   384      },
   385      "DescribeEnvironmentStatusResult":{
   386        "type":"structure",
   387        "required":[
   388          "status",
   389          "message"
   390        ],
   391        "members":{
   392          "status":{"shape":"EnvironmentStatus"},
   393          "message":{"shape":"String"}
   394        }
   395      },
   396      "DescribeEnvironmentsRequest":{
   397        "type":"structure",
   398        "required":["environmentIds"],
   399        "members":{
   400          "environmentIds":{"shape":"BoundedEnvironmentIdList"}
   401        }
   402      },
   403      "DescribeEnvironmentsResult":{
   404        "type":"structure",
   405        "members":{
   406          "environments":{"shape":"EnvironmentList"}
   407        }
   408      },
   409      "Environment":{
   410        "type":"structure",
   411        "required":[
   412          "type",
   413          "arn",
   414          "ownerArn"
   415        ],
   416        "members":{
   417          "id":{"shape":"EnvironmentId"},
   418          "name":{"shape":"EnvironmentName"},
   419          "description":{"shape":"EnvironmentDescription"},
   420          "type":{"shape":"EnvironmentType"},
   421          "connectionType":{"shape":"ConnectionType"},
   422          "arn":{"shape":"String"},
   423          "ownerArn":{"shape":"String"},
   424          "lifecycle":{"shape":"EnvironmentLifecycle"},
   425          "managedCredentialsStatus":{"shape":"ManagedCredentialsStatus"}
   426        }
   427      },
   428      "EnvironmentArn":{
   429        "type":"string",
   430        "pattern":"arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):cloud9:([a-z]{2}-[a-z]+-\\d{1}):[0-9]{12}:environment:[a-zA-Z0-9]{8,32}"
   431      },
   432      "EnvironmentDescription":{
   433        "type":"string",
   434        "max":200,
   435        "sensitive":true
   436      },
   437      "EnvironmentId":{
   438        "type":"string",
   439        "pattern":"^[a-zA-Z0-9]{8,32}$"
   440      },
   441      "EnvironmentIdList":{
   442        "type":"list",
   443        "member":{"shape":"EnvironmentId"}
   444      },
   445      "EnvironmentLifecycle":{
   446        "type":"structure",
   447        "members":{
   448          "status":{"shape":"EnvironmentLifecycleStatus"},
   449          "reason":{"shape":"String"},
   450          "failureResource":{"shape":"String"}
   451        }
   452      },
   453      "EnvironmentLifecycleStatus":{
   454        "type":"string",
   455        "enum":[
   456          "CREATING",
   457          "CREATED",
   458          "CREATE_FAILED",
   459          "DELETING",
   460          "DELETE_FAILED"
   461        ]
   462      },
   463      "EnvironmentList":{
   464        "type":"list",
   465        "member":{"shape":"Environment"}
   466      },
   467      "EnvironmentMember":{
   468        "type":"structure",
   469        "required":[
   470          "permissions",
   471          "userId",
   472          "userArn",
   473          "environmentId"
   474        ],
   475        "members":{
   476          "permissions":{"shape":"Permissions"},
   477          "userId":{"shape":"String"},
   478          "userArn":{"shape":"UserArn"},
   479          "environmentId":{"shape":"EnvironmentId"},
   480          "lastAccess":{"shape":"Timestamp"}
   481        }
   482      },
   483      "EnvironmentMembersList":{
   484        "type":"list",
   485        "member":{"shape":"EnvironmentMember"}
   486      },
   487      "EnvironmentName":{
   488        "type":"string",
   489        "max":60,
   490        "min":1
   491      },
   492      "EnvironmentStatus":{
   493        "type":"string",
   494        "enum":[
   495          "error",
   496          "creating",
   497          "connecting",
   498          "ready",
   499          "stopping",
   500          "stopped",
   501          "deleting"
   502        ]
   503      },
   504      "EnvironmentType":{
   505        "type":"string",
   506        "enum":[
   507          "ssh",
   508          "ec2"
   509        ]
   510      },
   511      "ForbiddenException":{
   512        "type":"structure",
   513        "members":{
   514        },
   515        "exception":true
   516      },
   517      "ImageId":{
   518        "type":"string",
   519        "max":512
   520      },
   521      "InstanceType":{
   522        "type":"string",
   523        "max":20,
   524        "min":5,
   525        "pattern":"^[a-z][1-9][.][a-z0-9]+$"
   526      },
   527      "InternalServerErrorException":{
   528        "type":"structure",
   529        "members":{
   530        },
   531        "exception":true,
   532        "fault":true
   533      },
   534      "LimitExceededException":{
   535        "type":"structure",
   536        "members":{
   537        },
   538        "exception":true
   539      },
   540      "ListEnvironmentsRequest":{
   541        "type":"structure",
   542        "members":{
   543          "nextToken":{"shape":"String"},
   544          "maxResults":{"shape":"MaxResults"}
   545        }
   546      },
   547      "ListEnvironmentsResult":{
   548        "type":"structure",
   549        "members":{
   550          "nextToken":{"shape":"String"},
   551          "environmentIds":{"shape":"EnvironmentIdList"}
   552        }
   553      },
   554      "ListTagsForResourceRequest":{
   555        "type":"structure",
   556        "required":["ResourceARN"],
   557        "members":{
   558          "ResourceARN":{"shape":"EnvironmentArn"}
   559        }
   560      },
   561      "ListTagsForResourceResponse":{
   562        "type":"structure",
   563        "members":{
   564          "Tags":{"shape":"TagList"}
   565        }
   566      },
   567      "ManagedCredentialsAction":{
   568        "type":"string",
   569        "enum":[
   570          "ENABLE",
   571          "DISABLE"
   572        ]
   573      },
   574      "ManagedCredentialsStatus":{
   575        "type":"string",
   576        "enum":[
   577          "ENABLED_ON_CREATE",
   578          "ENABLED_BY_OWNER",
   579          "DISABLED_BY_DEFAULT",
   580          "DISABLED_BY_OWNER",
   581          "DISABLED_BY_COLLABORATOR",
   582          "PENDING_REMOVAL_BY_COLLABORATOR",
   583          "PENDING_START_REMOVAL_BY_COLLABORATOR",
   584          "PENDING_REMOVAL_BY_OWNER",
   585          "PENDING_START_REMOVAL_BY_OWNER",
   586          "FAILED_REMOVAL_BY_COLLABORATOR",
   587          "FAILED_REMOVAL_BY_OWNER"
   588        ]
   589      },
   590      "MaxResults":{
   591        "type":"integer",
   592        "box":true,
   593        "max":25,
   594        "min":0
   595      },
   596      "MemberPermissions":{
   597        "type":"string",
   598        "enum":[
   599          "read-write",
   600          "read-only"
   601        ]
   602      },
   603      "NotFoundException":{
   604        "type":"structure",
   605        "members":{
   606        },
   607        "exception":true
   608      },
   609      "NullableBoolean":{"type":"boolean"},
   610      "Permissions":{
   611        "type":"string",
   612        "enum":[
   613          "owner",
   614          "read-write",
   615          "read-only"
   616        ]
   617      },
   618      "PermissionsList":{
   619        "type":"list",
   620        "member":{"shape":"Permissions"}
   621      },
   622      "String":{"type":"string"},
   623      "SubnetId":{
   624        "type":"string",
   625        "max":24,
   626        "min":15,
   627        "pattern":"^(subnet-[0-9a-f]{8}|subnet-[0-9a-f]{17})$"
   628      },
   629      "Tag":{
   630        "type":"structure",
   631        "required":[
   632          "Key",
   633          "Value"
   634        ],
   635        "members":{
   636          "Key":{"shape":"TagKey"},
   637          "Value":{"shape":"TagValue"}
   638        },
   639        "sensitive":true
   640      },
   641      "TagKey":{
   642        "type":"string",
   643        "max":128,
   644        "min":1,
   645        "sensitive":true
   646      },
   647      "TagKeyList":{
   648        "type":"list",
   649        "member":{"shape":"TagKey"},
   650        "max":200,
   651        "min":0,
   652        "sensitive":true
   653      },
   654      "TagList":{
   655        "type":"list",
   656        "member":{"shape":"Tag"},
   657        "max":200,
   658        "min":0,
   659        "sensitive":true
   660      },
   661      "TagResourceRequest":{
   662        "type":"structure",
   663        "required":[
   664          "ResourceARN",
   665          "Tags"
   666        ],
   667        "members":{
   668          "ResourceARN":{"shape":"EnvironmentArn"},
   669          "Tags":{"shape":"TagList"}
   670        }
   671      },
   672      "TagResourceResponse":{
   673        "type":"structure",
   674        "members":{
   675        }
   676      },
   677      "TagValue":{
   678        "type":"string",
   679        "max":256,
   680        "min":0,
   681        "sensitive":true
   682      },
   683      "Timestamp":{"type":"timestamp"},
   684      "TooManyRequestsException":{
   685        "type":"structure",
   686        "members":{
   687        },
   688        "exception":true
   689      },
   690      "UntagResourceRequest":{
   691        "type":"structure",
   692        "required":[
   693          "ResourceARN",
   694          "TagKeys"
   695        ],
   696        "members":{
   697          "ResourceARN":{"shape":"EnvironmentArn"},
   698          "TagKeys":{"shape":"TagKeyList"}
   699        }
   700      },
   701      "UntagResourceResponse":{
   702        "type":"structure",
   703        "members":{
   704        }
   705      },
   706      "UpdateEnvironmentMembershipRequest":{
   707        "type":"structure",
   708        "required":[
   709          "environmentId",
   710          "userArn",
   711          "permissions"
   712        ],
   713        "members":{
   714          "environmentId":{"shape":"EnvironmentId"},
   715          "userArn":{"shape":"UserArn"},
   716          "permissions":{"shape":"MemberPermissions"}
   717        }
   718      },
   719      "UpdateEnvironmentMembershipResult":{
   720        "type":"structure",
   721        "members":{
   722          "membership":{"shape":"EnvironmentMember"}
   723        }
   724      },
   725      "UpdateEnvironmentRequest":{
   726        "type":"structure",
   727        "required":["environmentId"],
   728        "members":{
   729          "environmentId":{"shape":"EnvironmentId"},
   730          "name":{"shape":"EnvironmentName"},
   731          "description":{"shape":"EnvironmentDescription"},
   732          "managedCredentialsAction":{"shape":"ManagedCredentialsAction"}
   733        }
   734      },
   735      "UpdateEnvironmentResult":{
   736        "type":"structure",
   737        "members":{
   738        }
   739      },
   740      "UserArn":{
   741        "type":"string",
   742        "pattern":"^arn:(aws|aws-cn|aws-us-gov|aws-iso|aws-iso-b):(iam|sts)::\\d+:(root|(user\\/[\\w+=/:,.@-]{1,64}|federated-user\\/[\\w+=/:,.@-]{2,32}|assumed-role\\/[\\w+=:,.@-]{1,64}\\/[\\w+=,.@-]{1,64}))$"
   743      }
   744    }
   745  }