github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/account/2021-02-01/api-2.json (about)

     1  {
     2    "version":"2.0",
     3    "metadata":{
     4      "apiVersion":"2021-02-01",
     5      "endpointPrefix":"account",
     6      "jsonVersion":"1.1",
     7      "protocol":"rest-json",
     8      "serviceFullName":"AWS Account",
     9      "serviceId":"Account",
    10      "signatureVersion":"v4",
    11      "signingName":"account",
    12      "uid":"account-2021-02-01"
    13    },
    14    "operations":{
    15      "DeleteAlternateContact":{
    16        "name":"DeleteAlternateContact",
    17        "http":{
    18          "method":"POST",
    19          "requestUri":"/deleteAlternateContact",
    20          "responseCode":200
    21        },
    22        "input":{"shape":"DeleteAlternateContactRequest"},
    23        "errors":[
    24          {"shape":"ResourceNotFoundException"},
    25          {"shape":"ValidationException"},
    26          {"shape":"AccessDeniedException"},
    27          {"shape":"TooManyRequestsException"},
    28          {"shape":"InternalServerException"}
    29        ],
    30        "idempotent":true
    31      },
    32      "GetAlternateContact":{
    33        "name":"GetAlternateContact",
    34        "http":{
    35          "method":"POST",
    36          "requestUri":"/getAlternateContact",
    37          "responseCode":200
    38        },
    39        "input":{"shape":"GetAlternateContactRequest"},
    40        "output":{"shape":"GetAlternateContactResponse"},
    41        "errors":[
    42          {"shape":"ResourceNotFoundException"},
    43          {"shape":"ValidationException"},
    44          {"shape":"AccessDeniedException"},
    45          {"shape":"TooManyRequestsException"},
    46          {"shape":"InternalServerException"}
    47        ]
    48      },
    49      "PutAlternateContact":{
    50        "name":"PutAlternateContact",
    51        "http":{
    52          "method":"POST",
    53          "requestUri":"/putAlternateContact",
    54          "responseCode":200
    55        },
    56        "input":{"shape":"PutAlternateContactRequest"},
    57        "errors":[
    58          {"shape":"ValidationException"},
    59          {"shape":"AccessDeniedException"},
    60          {"shape":"TooManyRequestsException"},
    61          {"shape":"InternalServerException"}
    62        ],
    63        "idempotent":true
    64      }
    65    },
    66    "shapes":{
    67      "AccessDeniedException":{
    68        "type":"structure",
    69        "required":["message"],
    70        "members":{
    71          "message":{"shape":"String"}
    72        },
    73        "error":{
    74          "httpStatusCode":403,
    75          "senderFault":true
    76        },
    77        "exception":true
    78      },
    79      "AccountId":{
    80        "type":"string",
    81        "pattern":"^\\d{12}$"
    82      },
    83      "AlternateContact":{
    84        "type":"structure",
    85        "members":{
    86          "AlternateContactType":{"shape":"AlternateContactType"},
    87          "EmailAddress":{"shape":"EmailAddress"},
    88          "Name":{"shape":"Name"},
    89          "PhoneNumber":{"shape":"PhoneNumber"},
    90          "Title":{"shape":"Title"}
    91        }
    92      },
    93      "AlternateContactType":{
    94        "type":"string",
    95        "enum":[
    96          "BILLING",
    97          "OPERATIONS",
    98          "SECURITY"
    99        ]
   100      },
   101      "DeleteAlternateContactRequest":{
   102        "type":"structure",
   103        "required":["AlternateContactType"],
   104        "members":{
   105          "AccountId":{"shape":"AccountId"},
   106          "AlternateContactType":{"shape":"AlternateContactType"}
   107        }
   108      },
   109      "EmailAddress":{
   110        "type":"string",
   111        "max":64,
   112        "min":1,
   113        "pattern":"[\\w+=,.-]+@[\\w.-]+\\.[\\w]+",
   114        "sensitive":true
   115      },
   116      "GetAlternateContactRequest":{
   117        "type":"structure",
   118        "required":["AlternateContactType"],
   119        "members":{
   120          "AccountId":{"shape":"AccountId"},
   121          "AlternateContactType":{"shape":"AlternateContactType"}
   122        }
   123      },
   124      "GetAlternateContactResponse":{
   125        "type":"structure",
   126        "members":{
   127          "AlternateContact":{"shape":"AlternateContact"}
   128        }
   129      },
   130      "InternalServerException":{
   131        "type":"structure",
   132        "required":["message"],
   133        "members":{
   134          "message":{"shape":"String"}
   135        },
   136        "error":{"httpStatusCode":500},
   137        "exception":true,
   138        "fault":true,
   139        "retryable":{"throttling":false}
   140      },
   141      "Name":{
   142        "type":"string",
   143        "max":64,
   144        "min":1,
   145        "sensitive":true
   146      },
   147      "PhoneNumber":{
   148        "type":"string",
   149        "max":25,
   150        "min":1,
   151        "pattern":"^[\\s0-9()+-]+$",
   152        "sensitive":true
   153      },
   154      "PutAlternateContactRequest":{
   155        "type":"structure",
   156        "required":[
   157          "AlternateContactType",
   158          "EmailAddress",
   159          "Name",
   160          "PhoneNumber",
   161          "Title"
   162        ],
   163        "members":{
   164          "AccountId":{"shape":"AccountId"},
   165          "AlternateContactType":{"shape":"AlternateContactType"},
   166          "EmailAddress":{"shape":"EmailAddress"},
   167          "Name":{"shape":"Name"},
   168          "PhoneNumber":{"shape":"PhoneNumber"},
   169          "Title":{"shape":"Title"}
   170        }
   171      },
   172      "ResourceNotFoundException":{
   173        "type":"structure",
   174        "required":["message"],
   175        "members":{
   176          "message":{"shape":"String"}
   177        },
   178        "error":{
   179          "httpStatusCode":404,
   180          "senderFault":true
   181        },
   182        "exception":true
   183      },
   184      "String":{"type":"string"},
   185      "Title":{
   186        "type":"string",
   187        "max":50,
   188        "min":1,
   189        "sensitive":true
   190      },
   191      "TooManyRequestsException":{
   192        "type":"structure",
   193        "required":["message"],
   194        "members":{
   195          "message":{"shape":"String"}
   196        },
   197        "error":{
   198          "httpStatusCode":429,
   199          "senderFault":true
   200        },
   201        "exception":true,
   202        "retryable":{"throttling":true}
   203      },
   204      "ValidationException":{
   205        "type":"structure",
   206        "required":["message"],
   207        "members":{
   208          "message":{"shape":"String"}
   209        },
   210        "error":{
   211          "httpStatusCode":400,
   212          "senderFault":true
   213        },
   214        "exception":true
   215      }
   216    }
   217  }