{
  "version": "2.0",
  "metadata": {
    "apiVersion": "2021-07-15",
    "endpointPrefix": "meetings-chime",
    "protocol": "rest-json",
    "serviceFullName": "Amazon Chime SDK Meetings",
    "serviceId": "Chime SDK Meetings",
    "signatureVersion": "v4",
    "signingName": "chime",
    "uid": "chime-sdk-meetings-2021-07-15"
  },
  "operations": {
    "BatchCreateAttendee": {
      "http": {
        "requestUri": "/meetings/{MeetingId}/attendees?operation=batch-create"
      },
      "input": {
        "type": "structure",
        "required": [
          "MeetingId",
          "Attendees"
        ],
        "members": {
          "MeetingId": {
            "location": "uri",
            "locationName": "MeetingId"
          },
          "Attendees": {
            "type": "list",
            "member": {
              "shape": "S4"
            }
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Attendees": {
            "shape": "S7"
          },
          "Errors": {
            "shape": "Sa"
          }
        }
      }
    },
    "CreateAttendee": {
      "http": {
        "requestUri": "/meetings/{MeetingId}/attendees"
      },
      "input": {
        "type": "structure",
        "required": [
          "MeetingId",
          "ExternalUserId"
        ],
        "members": {
          "MeetingId": {
            "location": "uri",
            "locationName": "MeetingId"
          },
          "ExternalUserId": {
            "shape": "S5"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Attendee": {
            "shape": "S8"
          }
        }
      }
    },
    "CreateMeeting": {
      "http": {
        "requestUri": "/meetings"
      },
      "input": {
        "type": "structure",
        "required": [
          "ClientRequestToken",
          "MediaRegion",
          "ExternalMeetingId"
        ],
        "members": {
          "ClientRequestToken": {
            "shape": "Sg",
            "idempotencyToken": true
          },
          "MediaRegion": {},
          "MeetingHostId": {
            "shape": "S5"
          },
          "ExternalMeetingId": {
            "shape": "Si"
          },
          "NotificationsConfiguration": {
            "shape": "Sj"
          },
          "MeetingFeatures": {
            "shape": "Sl"
          },
          "PrimaryMeetingId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Meeting": {
            "shape": "Sq"
          }
        }
      }
    },
    "CreateMeetingWithAttendees": {
      "http": {
        "requestUri": "/meetings?operation=create-attendees"
      },
      "input": {
        "type": "structure",
        "required": [
          "ClientRequestToken",
          "MediaRegion",
          "ExternalMeetingId",
          "Attendees"
        ],
        "members": {
          "ClientRequestToken": {
            "shape": "Sg",
            "idempotencyToken": true
          },
          "MediaRegion": {},
          "MeetingHostId": {
            "shape": "S5"
          },
          "ExternalMeetingId": {
            "shape": "Si"
          },
          "MeetingFeatures": {
            "shape": "Sl"
          },
          "NotificationsConfiguration": {
            "shape": "Sj"
          },
          "Attendees": {
            "type": "list",
            "member": {
              "shape": "S4"
            }
          },
          "PrimaryMeetingId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Meeting": {
            "shape": "Sq"
          },
          "Attendees": {
            "shape": "S7"
          },
          "Errors": {
            "shape": "Sa"
          }
        }
      }
    },
    "DeleteAttendee": {
      "http": {
        "method": "DELETE",
        "requestUri": "/meetings/{MeetingId}/attendees/{AttendeeId}",
        "responseCode": 204
      },
      "input": {
        "type": "structure",
        "required": [
          "MeetingId",
          "AttendeeId"
        ],
        "members": {
          "MeetingId": {
            "location": "uri",
            "locationName": "MeetingId"
          },
          "AttendeeId": {
            "location": "uri",
            "locationName": "AttendeeId"
          }
        }
      }
    },
    "DeleteMeeting": {
      "http": {
        "method": "DELETE",
        "requestUri": "/meetings/{MeetingId}",
        "responseCode": 204
      },
      "input": {
        "type": "structure",
        "required": [
          "MeetingId"
        ],
        "members": {
          "MeetingId": {
            "location": "uri",
            "locationName": "MeetingId"
          }
        }
      }
    },
    "GetAttendee": {
      "http": {
        "method": "GET",
        "requestUri": "/meetings/{MeetingId}/attendees/{AttendeeId}"
      },
      "input": {
        "type": "structure",
        "required": [
          "MeetingId",
          "AttendeeId"
        ],
        "members": {
          "MeetingId": {
            "location": "uri",
            "locationName": "MeetingId"
          },
          "AttendeeId": {
            "location": "uri",
            "locationName": "AttendeeId"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Attendee": {
            "shape": "S8"
          }
        }
      }
    },
    "GetMeeting": {
      "http": {
        "method": "GET",
        "requestUri": "/meetings/{MeetingId}"
      },
      "input": {
        "type": "structure",
        "required": [
          "MeetingId"
        ],
        "members": {
          "MeetingId": {
            "location": "uri",
            "locationName": "MeetingId"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Meeting": {
            "shape": "Sq"
          }
        }
      }
    },
    "ListAttendees": {
      "http": {
        "method": "GET",
        "requestUri": "/meetings/{MeetingId}/attendees",
        "responseCode": 200
      },
      "input": {
        "type": "structure",
        "required": [
          "MeetingId"
        ],
        "members": {
          "MeetingId": {
            "location": "uri",
            "locationName": "MeetingId"
          },
          "NextToken": {
            "location": "querystring",
            "locationName": "next-token"
          },
          "MaxResults": {
            "location": "querystring",
            "locationName": "max-results",
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Attendees": {
            "shape": "S7"
          },
          "NextToken": {}
        }
      }
    },
    "StartMeetingTranscription": {
      "http": {
        "requestUri": "/meetings/{MeetingId}/transcription?operation=start",
        "responseCode": 200
      },
      "input": {
        "type": "structure",
        "required": [
          "MeetingId",
          "TranscriptionConfiguration"
        ],
        "members": {
          "MeetingId": {
            "location": "uri",
            "locationName": "MeetingId"
          },
          "TranscriptionConfiguration": {
            "type": "structure",
            "members": {
              "EngineTranscribeSettings": {
                "type": "structure",
                "members": {
                  "LanguageCode": {},
                  "VocabularyFilterMethod": {},
                  "VocabularyFilterName": {},
                  "VocabularyName": {},
                  "Region": {},
                  "EnablePartialResultsStabilization": {
                    "type": "boolean"
                  },
                  "PartialResultsStability": {},
                  "ContentIdentificationType": {},
                  "ContentRedactionType": {},
                  "PiiEntityTypes": {},
                  "LanguageModelName": {},
                  "IdentifyLanguage": {
                    "type": "boolean"
                  },
                  "LanguageOptions": {},
                  "PreferredLanguage": {}
                }
              },
              "EngineTranscribeMedicalSettings": {
                "type": "structure",
                "required": [
                  "LanguageCode",
                  "Specialty",
                  "Type"
                ],
                "members": {
                  "LanguageCode": {},
                  "Specialty": {},
                  "Type": {},
                  "VocabularyName": {},
                  "Region": {},
                  "ContentIdentificationType": {}
                }
              }
            }
          }
        }
      }
    },
    "StopMeetingTranscription": {
      "http": {
        "requestUri": "/meetings/{MeetingId}/transcription?operation=stop",
        "responseCode": 200
      },
      "input": {
        "type": "structure",
        "required": [
          "MeetingId"
        ],
        "members": {
          "MeetingId": {
            "location": "uri",
            "locationName": "MeetingId"
          }
        }
      }
    }
  },
  "shapes": {
    "S4": {
      "type": "structure",
      "required": [
        "ExternalUserId"
      ],
      "members": {
        "ExternalUserId": {
          "shape": "S5"
        }
      }
    },
    "S5": {
      "type": "string",
      "sensitive": true
    },
    "S7": {
      "type": "list",
      "member": {
        "shape": "S8"
      }
    },
    "S8": {
      "type": "structure",
      "members": {
        "ExternalUserId": {
          "shape": "S5"
        },
        "AttendeeId": {},
        "JoinToken": {
          "type": "string",
          "sensitive": true
        }
      }
    },
    "Sa": {
      "type": "list",
      "member": {
        "type": "structure",
        "members": {
          "ExternalUserId": {
            "shape": "S5"
          },
          "ErrorCode": {},
          "ErrorMessage": {}
        }
      }
    },
    "Sg": {
      "type": "string",
      "sensitive": true
    },
    "Si": {
      "type": "string",
      "sensitive": true
    },
    "Sj": {
      "type": "structure",
      "members": {
        "LambdaFunctionArn": {
          "shape": "Sk"
        },
        "SnsTopicArn": {
          "shape": "Sk"
        },
        "SqsQueueArn": {
          "shape": "Sk"
        }
      }
    },
    "Sk": {
      "type": "string",
      "sensitive": true
    },
    "Sl": {
      "type": "structure",
      "members": {
        "Audio": {
          "type": "structure",
          "members": {
            "EchoReduction": {}
          }
        }
      }
    },
    "Sq": {
      "type": "structure",
      "members": {
        "MeetingId": {},
        "MeetingHostId": {
          "shape": "S5"
        },
        "ExternalMeetingId": {
          "shape": "Si"
        },
        "MediaRegion": {},
        "MediaPlacement": {
          "type": "structure",
          "members": {
            "AudioHostUrl": {},
            "AudioFallbackUrl": {},
            "SignalingUrl": {},
            "TurnControlUrl": {},
            "ScreenDataUrl": {},
            "ScreenViewingUrl": {},
            "ScreenSharingUrl": {},
            "EventIngestionUrl": {}
          }
        },
        "MeetingFeatures": {
          "shape": "Sl"
        },
        "PrimaryMeetingId": {}
      }
    }
  }
}