Hướng dẫn python boto3 api gateway example - Ví dụ về cổng python boto3 api
Một khách hàng cấp thấp đại diện cho Amazon API Gateway Show Amazon API Gateway giúp các nhà phát triển cung cấp kết thúc ứng dụng di động và web mạnh mẽ, an toàn và có thể mở rộng. API Gateway cho phép các nhà phát triển kết nối an toàn các ứng dụng di động và web với các API chạy trên AWS Lambda, Amazon EC2 hoặc các dịch vụ web có địa chỉ công khai khác được lưu trữ bên ngoài AWS. import boto3 client = boto3.client('apigateway') Đây là những phương pháp có sẵn:
Kiểm tra xem một hoạt động có thể được phân trang. Tham sốOperation_name (chuỗi) - Tên hoạt động. Đây là cùng tên với tên phương thức trên máy khách. Ví dụ: nếu tên phương thức làresponse = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )40 và bạn thường gọi hoạt động là response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )41, nếu hoạt động response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )40 có thể được phân trang, bạn có thể sử dụng cuộc gọi ____ 343 ________ 346 ()operation_name (string) -- The operation name. This is the same name as the method name on the client. For example, if the method name is response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )40, and you'd normally invoke the operation as response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )41, if the response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )40 operation can be paginated, you can use the call response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )43.Returns response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )44 if the operation can be paginated, response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )45 otherwise. response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )46()¶ Đóng các kết nối điểm cuối bên dưới. ________ 347 (** kwargs) ¶(**kwargs)¶Tạo một tài nguyên Apikey. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )Thông số
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } } Cấu trúc phản ứng
Loại trở lại
Thêm một tài nguyên ủy quyền mới vào tài nguyên RESTAPI hiện có. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )Thông số
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 } Cấu trúc phản ứng
Ngoại lệ
Tạo một tài nguyên BasePathMapping mới. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )Thông số
DIGN Trả lạiCú pháp phản hồi { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' } Cấu trúc phản ứng
Ngoại lệ
Tạo một tài nguyên triển khai, tạo ra một RESTAPI được chỉ định có thể gọi qua internet. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )Thông số
StageVarableOverrides (Dict) - Một lớp ghi đè biến giai đoạn được sử dụng cho triển khai phát hành Canary. Họ có thể ghi đè các biến giai đoạn hiện có hoặc thêm các biến giai đoạn mới cho triển khai phát hành Canary. Các biến giai đoạn này được biểu diễn dưới dạng bản đồ chuỗi từ chuỗi giữa các tên biến giai đoạn và giá trị của chúng.usestagecache (boolean) - { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } } Một lá cờ Boolean để cho biết liệu triển khai phát hành Canary có sử dụng bộ đệm giai đoạn hay không.
Ngoại lệ
id (chuỗi) - Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )0 Cấu trúc phản ứng
Loại trở lại
Trả lại Cú pháp phản hồi Cấu trúc phản ứng response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )1(Diễn ngôn) -
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )2 Cấu trúc phản ứng
Ngoại lệ
Tạo một tên miền mới. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )3Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )4 Cấu trúc phản ứng
Ngoại lệ
Thêm một tài nguyên mô hình mới vào tài nguyên RETAPI hiện có. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )5Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )6 Cấu trúc phản ứng
Ngoại lệ
Xem thêm: Tài liệu API AWS Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )7Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )8 Cấu trúc phản ứng
Ngoại lệ
response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )55 Xem thêm: Tài liệu API AWS Yêu cầu cú pháp Thông số Thông số
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }0 Cấu trúc phản ứng
Trả lời
ContentHandling (Chuỗi) - Chỉ định cách xử lý các chuyển đổi loại tải trọng phản hồi. Các giá trị được hỗ trợ là { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }76 và { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }77, với các hành vi sau: Nếu thuộc tính này không được xác định, tải trọng phản hồi sẽ được chuyển qua từ phản hồi tích hợp cho phản hồi phương thức mà không cần sửa đổi. { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }1TLSConfig (Dict) -
Bản đồ giá trị khóa của chuỗi. Bộ ký tự hợp lệ là [A-A-Z+-= ._:/]. Khóa thẻ có thể lên tới 128 ký tự và không được bắt đầu với response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )51. Giá trị thẻ có thể lên tới 256 ký tự.DisableExecuteApiEmeivePoint (Boolean) - Chỉ định xem khách hàng có thể gọi API của bạn hay không bằng cách sử dụng điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )17 mặc định. Theo mặc định, máy khách có thể gọi API của bạn với điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )18 mặc định. Để yêu cầu khách hàng sử dụng tên miền tùy chỉnh để gọi API của bạn, tắt điểm cuối mặc định Loại trở lại { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }2 DIGN
Bộ sưu tập các thẻ. Mỗi phần tử thẻ được liên kết với một tài nguyên nhất định.
Chỉ định xem máy khách có thể gọi API của bạn hay không bằng cách sử dụng điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )17 mặc định. Theo mặc định, máy khách có thể gọi API của bạn với điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )18 mặc định. Để yêu cầu khách hàng sử dụng tên miền tùy chỉnh để gọi API của bạn, tắt điểm cuối mặc định. Ngoại lệ ________ 737 (** kwargs) ¶ { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }3Tạo một tài nguyên giai đoạn mới tham chiếu triển khai từ trước cho API.
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }4 Cấu trúc phản ứng
Ngoại lệ
Tạo một kế hoạch sử dụng với giới hạn bướm ga và hạn ngạch, cũng như các giai đoạn API liên quan, được chỉ định trong tải trọng. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }5Thông số
Số lượng yêu cầu tối đa mục tiêu có thể được thực hiện trong một khoảng thời gian nhất định. Offset (Số nguyên) -Số lượng yêu cầu bị trừ khỏi giới hạn đã cho trong khoảng thời gian ban đầu. { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }6 giai đoạn (chuỗi) -
Mã định danh sản phẩm AWS Markeplace để liên kết với kế hoạch sử dụng như một sản phẩm SaaS trên thị trường AWS.
Bộ sưu tập các thẻ. Mỗi phần tử thẻ được liên kết với một tài nguyên nhất định. (sợi dây) -- Ngoại lệ { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }7 ________ 779 (** kwargs) ¶
Định danh của tài nguyên sử dụngPlanKey cho khách hàng kế hoạch. keytype (chuỗi) -Loại tài nguyên sử dụng cho khách hàng kế hoạch. { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }8 Loại trở lại
Mã định danh sản phẩm AWS Markeplace để liên kết với kế hoạch sử dụng như một sản phẩm SaaS trên thị trường AWS.
(sợi dây) -- (sợi dây) -- Ngoại lệ { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }9 ________ 779 (** kwargs) ¶
Định danh của tài nguyên sử dụngPlanKey cho khách hàng kế hoạch. keytype (chuỗi) -Loại tài nguyên sử dụng cho khách hàng kế hoạch. response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )0 Loại trở lại
Mã định danh sản phẩm AWS Markeplace để liên kết với kế hoạch sử dụng như một sản phẩm SaaS trên thị trường AWS.
Bộ sưu tập các thẻ. Mỗi phần tử thẻ được liên kết với một tài nguyên nhất định. (sợi dây) -- Ngoại lệ ________ 779 (** kwargs) ¶ Tạo khóa Kế hoạch sử dụng để thêm khóa API hiện có vào gói sử dụng.apiKey (string) --[REQUIRED] Xem thêm: Tài liệu API AWS Yêu cầu cú phápMã định danh sản phẩm AWS Markeplace để liên kết với kế hoạch sử dụng như một sản phẩm SaaS trên thị trường AWS.
Bộ sưu tập các thẻ. Mỗi phần tử thẻ được liên kết với một tài nguyên nhất định. (sợi dây) -- Ngoại lệ response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )2 ________ 779 (** kwargs) ¶
Không có Ngoại lệ
Xóa tài nguyên BasePathMapping. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )3Thông số
Không có Ngoại lệ
Xóa tài nguyên BasePathMapping. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )4Thông sốclientCertificateId (string) -- [REQUIRED] DomainName (Chuỗi) - Tên miền của tài nguyên BasePathMapping để xóa.Ngoại lệ
Xóa tài nguyên BasePathMapping. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )5Thông số
Không có Ngoại lệ
Xóa tài nguyên BasePathMapping. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )6Thông số
Không có Ngoại lệ
Xóa tài nguyên BasePathMapping. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )7Thông số
Không có Ngoại lệ
Xóa tài nguyên BasePathMapping. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )8Thông sốdomainName (string) -- [REQUIRED] DomainName (Chuỗi) - Tên miền của tài nguyên BasePathMapping để xóa.Ngoại lệ
Tên đường dẫn cơ sở của tài nguyên BasePathMapping để xóa. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )9Thông số
Không có Ngoại lệ
{ 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } }13.(**kwargs)¶ ________ 819 (** kwargs) ¶ Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 }0Thông số
Không có Ngoại lệ
Tham sốClientCerToid (Chuỗi) - Định danh của tài nguyên máy khách sẽ bị xóa. Yêu cầu cú pháp { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 }1Thông số
Không có Ngoại lệ
Trả lại Xem thêm: Tài liệu API AWS Yêu cầu cú pháp Thông số Thông số
Không có Ngoại lệ
Định danh của tài nguyên máy khách sẽ bị xóa. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 }3Thông số
Không có Ngoại lệ
Xóa một mô hình. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 }4Thông số
Không có Ngoại lệ
Xóa một mô hình. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 }5Thông số
Không có Ngoại lệ
response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )52(**kwargs)¶ ________ 879 (** kwargs) ¶ Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 }6Thông số
Không có Ngoại lệ
Xóa một mô hình. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 }7Thông sốrestApiId (string) -- [REQUIRED] Định danh chuỗi của restapi liên quan. modelName (chuỗi) -Ngoại lệ
response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )52(**kwargs)¶ ________ 879 (** kwargs) ¶ Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 }8Thông số
Không có Ngoại lệ
Xóa một mô hình. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 }9Thông sốusagePlanId (string) -- [REQUIRED] restapiid (chuỗi) - modelName (chuỗi) -Ngoại lệ
response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )55 Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )0Thông số
Không có Ngoại lệ
response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )55(**kwargs)¶ ________ 885 (** kwargs) ¶ Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )1Thông sốvpcLinkId (string) -- [REQUIRED] restapiid (chuỗi) - modelName (chuỗi) -Ngoại lệ
response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )55 Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )2Thông số
Không có Ngoại lệ
Xóa một requestValidator của một restapi nhất định. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )3Thông số
Không có Ngoại lệ
response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )55(**kwargs)¶ ________ 885 (** kwargs) ¶ Xóa một requestValidator của một restapi nhất định. Yêu cầu cú pháp response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )4Thông số
Định danh của tài nguyên. Trả lại
response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )5 ________ 897 (** kwargs) ¶
Ngoại lệ
Nhận thông tin về tài nguyên tài khoản hiện tại. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )6Trả về cú pháp TypedicTreturnsResponseResponse Syntax response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )7 Cấu trúc phản ứng
Ngoại lệ
Nhận thông tin về tài nguyên tài khoản hiện tại. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )8 response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )6
CloudWatchRoleArn (Chuỗi) - ARN của vai trò Amazon CloudWatch cho tài khoản hiện tại.Throttlesettings (Dict) - { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } } Cấu trúc phản ứng
Ngoại lệ
Nhận thông tin về tài nguyên tài khoản hiện tại. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }0 response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )6
CloudWatchRoleArn (Chuỗi) - ARN của vai trò Amazon CloudWatch cho tài khoản hiện tại.Throttlesettings (Dict) - { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }1 Cấu trúc phản ứng
Tags (dict) -
Ngoại lệ ________ 970 (** kwargs) ¶ Mô tả một tài nguyên ủy quyền hiện có. { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }2Xem thêm: Tài liệu API AWS
Định danh của tài nguyên ủy quyền. Loại trở lạiDIGN { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 } Trả lại
Ngoại lệ
Mô tả một nguồn tài nguyên ủy quyền hiện có. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }4Thông số
DIGN Trả lạiCú pháp phản hồi { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }5 Cấu trúc phản ứng
Ngoại lệ
Mô tả một nguồn tài nguyên cơ sở. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }6Thông số
DIGN Trả lạiCú pháp phản hồi { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' } Cấu trúc phản ứng
Ngoại lệ
Đại diện cho một bộ sưu tập các tài nguyên BasePathmapping. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }8Thông số
DIGN Trả lạiCú pháp phản hồi { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }9 Cấu trúc phản ứng
Ngoại lệ
Đại diện cho một bộ sưu tập các tài nguyên BasePathmapping. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )0Thông sốclientCertificateId (string) -- [REQUIRED] DomainName (Chuỗi) - Tên miền của tài nguyên BasePathMapping sẽ được mô tả.Response Syntaxresponse = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )5 Cấu trúc phản ứng
Ngoại lệ
________ 1048 (** kwargs) ¶ Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )2Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )3 Cấu trúc phản ứng
Ngoại lệ
Nhận thông tin về một tài nguyên triển khai. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )4Thông số
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } } Cấu trúc phản ứng
createdDate (DateTime) -
Apisummary (dict) - Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )6Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )7 Cấu trúc phản ứng
createdDate (DateTime) -
Apisummary (dict) - Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )8Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )0 Cấu trúc phản ứng
Ngoại lệ
Nhận các bộ phận tài liệu. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } }0Thông số
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } }1 Cấu trúc phản ứng
Ngoại lệ
Nhận một phiên bản tài liệu. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } }2Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )2 Cấu trúc phản ứng
Ngoại lệ
response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )52(**kwargs)¶ ________ 1208 (** kwargs) ¶ Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } }4Thông số
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } }5 Cấu trúc phản ứng
Ngoại lệ
response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )52(**kwargs)¶ ________ 1208 (** kwargs) ¶ Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } }6Thông sốdomainName (string) -- [REQUIRED] restapiid (chuỗi) - Định danh chuỗi của restapi liên quan.Response Syntaxresponse = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )4 Cấu trúc phản ứng
Ngoại lệ
Đại diện cho một bộ sưu tập tài nguyên tên miền. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } }8Thông số
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } }9 Cấu trúc phản ứng
Ngoại lệ
Xuất phiên bản được triển khai của Restapi ở định dạng được chỉ định. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )0Thông số
Ngoại lệ ________ 1259 (** kwargs) ¶Xuất phiên bản được triển khai của Restapi ở định dạng được chỉ định. response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )1 Xem thêm: Tài liệu API AWS
Ngoại lệ
Xuất phiên bản được triển khai của Restapi ở định dạng được chỉ định. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )2Thông số
Ngoại lệ ________ 1259 (** kwargs) ¶Xuất phiên bản được triển khai của Restapi ở định dạng được chỉ định. response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )3 Xem thêm: Tài liệu API AWS
Ngoại lệ
Xuất phiên bản được triển khai của Restapi ở định dạng được chỉ định. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )4Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )5 Cấu trúc phản ứng
Các tham số phản hồi (đường dẫn, chuỗi truy vấn và tiêu đề) của GatewayResponse dưới dạng bản đồ chuỗi đến chuỗi của các cặp giá trị khóa.
Trả lời Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )6Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )7 Cấu trúc phản ứng
Cảnh báo
{ 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }96 không được khuyến khích, đặc biệt là các tích hợp với các điểm cuối HTTPS công khai. Nếu bạn kích hoạt { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }96, bạn sẽ tăng nguy cơ tấn công người đàn ông.(**kwargs)¶ Ngoại lệ ________ 1352 (** kwargs) ¶ Đại diện cho một phản hồi tích hợp. response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )8Xem thêm: Tài liệu API AWS
Chỉ định mã trạng thái yêu cầu phản hồi tích hợp. Loại trở lạiDIGN response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )9 Trả lại
Ngoại lệ
Mô tả một tài nguyên phương thức hiện có. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )00Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )01 Cấu trúc phản ứng
Ngoại lệ
Mô tả một tài nguyên Phương thức. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )02Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )03 Cấu trúc phản ứng
Ngoại lệ
Mô tả một tài nguyên Phương thức. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )04Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )6 Cấu trúc phản ứng
Ngoại lệ
Tên của mô hình là một định danh. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )06Thông số
DIGN Trả lạiCú pháp phản hồi Cấu trúc phản ứng
Ngoại lệ
{ 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }40, trong đó { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }37 là tên tiêu đề hợp lệ và duy nhất. API Gateway chuyển dữ liệu phản hồi tích hợp nhất định cho các tiêu đề phản hồi phương thức được chỉ định ở đây theo ánh xạ bạn quy định trong IntegrationResponse của API. Dữ liệu phản hồi tích hợp có thể được ánh xạ bao gồm tiêu đề phản hồi tích hợp được biểu thị bằng { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }42, giá trị tĩnh được đặt trong một cặp trích dẫn đơn (ví dụ: { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }43) hoặc biểu thức JSON từ tải trọng phản hồi back-end dưới dạng { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }44, trong đó { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }45 là biểu thức JSON hợp lệ mà không có tiền tố { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }46.)(**kwargs)¶ (boolean) - Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )07Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )08 Cấu trúc phản ứng
Ngoại lệ
Tạo một paginator cho một hoạt động. Tham sốOperation_name (chuỗi) - Tên hoạt động. Đây là cùng tên với tên phương thức trên máy khách. Ví dụ: nếu tên phương thức làresponse = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )40 và thông thường bạn sẽ gọi hoạt động là response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )41, nếu hoạt động response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )40 có thể được phân trang, bạn có thể sử dụng cuộc gọi ____ 343 Bạn có thể sử dụng phương thức response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )485 để kiểm tra xem một thao tác có thể bị lỗi hay không. ________ 1486 (** kwargs) ¶operation_name (string) -- The operation name. This is the same name as the method name on the client. For example, if the method name is response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )40, and you'd normally invoke the operation as response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )41, if the response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )40 operation can be paginated, you can use the call response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )43.Raises OperationNotPageableErrorRaised if the operation is not pageable. You can use the response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )485 method to check if an operation is pageable.Return typeL{botocore.paginate.Paginator}ReturnsA paginator object. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )486(**kwargs)¶ Nhận được một requestValidator của một restapi nhất định. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )09Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )8 Cấu trúc phản ứng
Ngoại lệ
Tham sốOperation_name (chuỗi) - Tên hoạt động. Đây là cùng tên với tên phương thức trên máy khách. Ví dụ: nếu tên phương thức là response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )40 và thông thường bạn sẽ gọi hoạt động là response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )41, nếu hoạt động response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )40 có thể được phân trang, bạn có thể sử dụng cuộc gọi ____ 343 Bạn có thể sử dụng phương thức response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )485 để kiểm tra xem một thao tác có thể bị lỗi hay không. ________ 1486 (** kwargs) ¶ Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )11Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )12 Cấu trúc phản ứng
Ngoại lệ
Tạo một paginator cho một hoạt động. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp Thông số Thông số
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }0 Cấu trúc phản ứng
IntegrationResponses (dict) -
Liệt kê thông tin về một bộ sưu tập tài nguyên. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )15Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )16 Cấu trúc phản ứng
Ngoại lệ
Liệt kê tài nguyên restapi trong bộ sưu tập. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )17Tham sốRestapiID (Chuỗi) -restApiId (string) -- [REQUIRED] Định danh chuỗi của restapi liên quan. Trả về cú pháp TypedicTreturnsResponseResponse Syntax{ 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }2 Cấu trúc phản ứng
Ngoại lệ
Liệt kê tài nguyên restapi trong bộ sưu tập. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )19Tham sốRestapiID (Chuỗi) -
(Diễn ngôn) - Đại diện cho một API nghỉ ngơi.id (chuỗi) - response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )20 Cấu trúc phản ứng
Một danh sách các vpcendpointids của API (RESTAPI) để tạo ra các bí danh Route53. Nó chỉ được hỗ trợ cho loại điểm cuối
Một tài liệu chính sách JSON được xâu chuỗi áp dụng cho RESTAPI này bất kể cấu hình người gọi và phương thức. Tags (dict) - Bộ sưu tập các thẻ. Mỗi phần tử thẻ được liên kết với một tài nguyên nhất định. vô hiệu hóa Chỉ định xem máy khách có thể gọi API của bạn hay không bằng cách sử dụng điểm cuốiresponse = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )17 mặc định. Theo mặc định, máy khách có thể gọi API của bạn với điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )18 mặc định. Để yêu cầu khách hàng sử dụng tên miền tùy chỉnh để gọi API của bạn, tắt điểm cuối mặc định.
response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )70 cho thiết lập API được tối ưu hóa cạnh, phù hợp nhất cho các ứng dụng di động; response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )68 cho thiết lập điểm cuối API khu vực, phù hợp nhất để gọi từ khu vực AWS; và response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )69 cho API riêng. VPCidPointIds (Danh sách) - Một danh sách các vpcendpointids của API (RESTAPI) để tạo ra các bí danh Route53. Nó chỉ được hỗ trợ cho loại điểm cuốiresponse = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )69. Chính sách (chuỗi) - response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )1 Một tài liệu chính sách JSON được xâu chuỗi áp dụng cho RESTAPI này bất kể cấu hình người gọi và phương thức.
Một danh sách các vpcendpointids của API (RESTAPI) để tạo ra các bí danh Route53. Nó chỉ được hỗ trợ cho loại điểm cuối
Một tài liệu chính sách JSON được xâu chuỗi áp dụng cho RESTAPI này bất kể cấu hình người gọi và phương thức. Tags (dict) - Bộ sưu tập các thẻ. Mỗi phần tử thẻ được liên kết với một tài nguyên nhất định. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )23vô hiệu hóaid (string) -- [REQUIRED] Chỉ định xem máy khách có thể gọi API của bạn hay không bằng cách sử dụng điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )17 mặc định. Theo mặc định, máy khách có thể gọi API của bạn với điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )18 mặc định. Để yêu cầu khách hàng sử dụng tên miền tùy chỉnh để gọi API của bạn, tắt điểm cuối mặc định.Ngoại lệResponse Syntax response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )24 Một tài liệu chính sách JSON được xâu chuỗi áp dụng cho RESTAPI này bất kể cấu hình người gọi và phương thức.
Một danh sách các vpcendpointids của API (RESTAPI) để tạo ra các bí danh Route53. Nó chỉ được hỗ trợ cho loại điểm cuối
Một tài liệu chính sách JSON được xâu chuỗi áp dụng cho RESTAPI này bất kể cấu hình người gọi và phương thức. Tags (dict) - Bộ sưu tập các thẻ. Mỗi phần tử thẻ được liên kết với một tài nguyên nhất định. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )25vô hiệu hóa
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )26 Cấu trúc phản ứng
Cấu hìnhProperIES (Danh sách) -
Một thuộc tính cấu hình của một loại SDK. Tên (chuỗi) - Tên của một thuộc tính cấu hình SDKTYPE. Tên thân thiện với người dùng của thuộc tính cấu hình SDKTYPE. Mô tả thuộc tính cấu hình SDKTYPE.
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }4 Cấu trúc phản ứng
Định dạng (Chuỗi) -
Tên tài nguyên Amazon (ARN) của nhóm nhật ký nhật ký CloudWatch hoặc luồng phân phối dữ liệu Kinesis để nhận nhật ký truy cập. Nếu bạn chỉ định luồng phân phối Firehose dữ liệu Kinesis, tên luồng phải bắt đầu bằng response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )64. CANarySinstall (DID) - Cài đặt cho việc triển khai Canary trong giai đoạn này. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )29phần trăm giao dịch (phao) -
Các biến giai đoạn được ghi đè cho triển khai phát hành Canary, bao gồm các biến giai đoạn mới được giới thiệu trong Canary. Các biến giai đoạn này được biểu diễn dưới dạng bản đồ chuỗi từ chuỗi giữa các tên biến giai đoạn và giá trị của chúng. usestagecache (boolean) -Một lá cờ Boolean để cho biết liệu việc triển khai Canary có sử dụng bộ đệm giai đoạn hay không. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )30 Truy tìm (Boolean) -
Định dạng (Chuỗi) -
Tên tài nguyên Amazon (ARN) của nhóm nhật ký nhật ký CloudWatch hoặc luồng phân phối dữ liệu Kinesis để nhận nhật ký truy cập. Nếu bạn chỉ định luồng phân phối Firehose dữ liệu Kinesis, tên luồng phải bắt đầu bằng response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )64. CANarySinstall (DID) - Cài đặt cho việc triển khai Canary trong giai đoạn này. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )31phần trăm giao dịch (phao) -
usestagecache (boolean) - Một lá cờ Boolean để cho biết liệu việc triển khai Canary có sử dụng bộ đệm giai đoạn hay không.Truy tìm (Boolean) - response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )32 Chỉ định xem truy tìm hoạt động với tia X có được bật cho giai đoạn hay không.
Định dạng (Chuỗi) -
response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )63.(**kwargs)¶ Destinationarn (chuỗi) - CANarySinstall (DID) - Cài đặt cho việc triển khai Canary trong giai đoạn này. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )33phần trăm giao dịch (phao) -
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )34 Cấu trúc phản ứng
Ngoại lệ
Nhận một kế hoạch sử dụng của một định danh kế hoạch nhất định. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )35Tham sốUsagePlanID (Chuỗi) -usagePlanId (string) -- [REQUIRED] Định danh của tài nguyên sử dụng sẽ được truy xuất. Trả về cú pháp TypedicTreturnsResponseResponse Syntax{ 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }6 Cấu trúc phản ứng
Ngoại lệ
Nhận một kế hoạch sử dụng của một định danh kế hoạch nhất định. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )37Tham sốUsagePlanID (Chuỗi) -
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }8 Cấu trúc phản ứng
Ngoại lệ
Nhận một kế hoạch sử dụng của một định danh kế hoạch nhất định. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )39Tham sốUsagePlanID (Chuỗi) -
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )40 Cấu trúc phản ứng
giá trị (chuỗi) -
Tên (chuỗi) - Tên của một khóa kế hoạch sử dụng. Ngoại lệ response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )41 ________ 1842 (** kwargs) ¶
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )42 Cấu trúc phản ứng
giá trị (chuỗi) -
Tên (chuỗi) - Tên của một khóa kế hoạch sử dụng. Ngoại lệ response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )43 ________ 1842 (** kwargs) ¶vpcLinkId (string) -- [REQUIRED] Nhận tất cả các gói sử dụng của tài khoản người gọi. Xem thêm: Tài liệu API AWSResponse Syntaxresponse = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )0 Cấu trúc phản ứng
Ngoại lệ
Nhận bộ sưu tập VPCLinks trong tài khoản của người gọi trong một khu vực đã chọn. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )45Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )46 Cấu trúc phản ứng
Ngoại lệ
Nhận bộ sưu tập VPCLinks trong tài khoản của người gọi trong một khu vực đã chọn. Xem thêm: Tài liệu API AWSwaiter_name (str) -- The name of the waiter to get. See the waiters section of the service docs for a list of available waiters.ReturnsThe specified waiter object.Return typebotocore.waiter.Waiterresponse = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )870(**kwargs)¶ Yêu cầu cú pháp Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )47Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )48 Cấu trúc phản ứng
Ngoại lệ
Nhận bộ sưu tập VPCLinks trong tài khoản của người gọi trong một khu vực đã chọn. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )49Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )48 Cấu trúc phản ứng
Ngoại lệ
Định danh của VPCLink. Nó được sử dụng trong một tích hợp để tham khảo VPCLink này. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )51Thông số
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }2 Cấu trúc phản ứng
Loại trở lại
Trả lại Cú pháp phản hồi Cấu trúc phản ứng response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )53(Diễn ngôn) -
DIGN Trả lạiCú pháp phản hồi response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )3 Cấu trúc phản ứng
defaultresponse (boolean) -
response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )48) hay không ( response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )49). Phản hồi cổng mặc định được tạo bởi Gateway API mà không có bất kỳ sự tùy biến nào của nhà phát triển API.(**kwargs)¶ Ngoại lệ ________ 1937 (** kwargs) ¶ Thiết lập tích hợp của một phương thức. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )55Xem thêm: Tài liệu API AWS
DIGN Trả lạiCú pháp phản hồi response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )7 Cấu trúc phản ứng
Ngoại lệ
Đại diện cho một sự tích hợp đặt. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )57Thông số
Chỉ định cấu hình TLS cho tích hợp. Insecureskipverization (Boolean) -Chỉ định xem liệu Gateway API có bỏ qua xác minh rằng chứng chỉ cho điểm cuối tích hợp được cấp bởi cơ quan chứng chỉ được hỗ trợ hay không. Điều này được khuyến nghị, nhưng nó cho phép bạn sử dụng các chứng chỉ được ký bởi các cơ quan chứng chỉ riêng tư hoặc các chứng chỉ tự ký. Nếu được bật, API Gateway vẫn thực hiện xác thực chứng chỉ cơ bản, bao gồm kiểm tra ngày hết hạn của chứng chỉ, tên máy chủ và sự hiện diện của cơ quan chứng chỉ gốc. Chỉ được hỗ trợ cho các tích hợp Cảnh báo Kích hoạt
Ngoại lệ
Thêm một phương thức vào một tài nguyên tài nguyên hiện có. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )59Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )01 Cấu trúc phản ứng
Trả lời
Chỉ định cách xử lý các chuyển đổi loại tải trọng phản hồi. Các giá trị được hỗ trợ là { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }76 và { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }77, với các hành vi sau: Nếu thuộc tính này không được xác định, tải trọng phản hồi sẽ được chuyển qua từ phản hồi tích hợp cho phản hồi phương thức mà không cần sửa đổi. TLSConfig (Dict) - response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )61Chỉ định cấu hình TLS cho tích hợp.
Định danh chuỗi của restapi liên quan. resourceId (chuỗi) -Định danh tài nguyên cho tài nguyên phương thức. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )03 httpmethod (chuỗi) -
(boolean) -
Ngoại lệ response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )56 ________ 2181 (** kwargs) ¶ response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )63Một tính năng của dịch vụ điều khiển cổng API để cập nhật API hiện có với đầu vào các định nghĩa API bên ngoài. Bản cập nhật có thể ở dạng hợp nhất định nghĩa được cung cấp vào API hiện có hoặc ghi đè API hiện có.
Ngoại lệ response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )56 ________ 2181 (** kwargs) ¶ { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }2 Một tính năng của dịch vụ điều khiển cổng API để cập nhật API hiện có với đầu vào các định nghĩa API bên ngoài. Bản cập nhật có thể ở dạng hợp nhất định nghĩa được cung cấp vào API hiện có hoặc ghi đè API hiện có.
Tags (dict) -
vô hiệu hóa Chỉ định xem máy khách có thể gọi API của bạn hay không bằng cách sử dụng điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )17 mặc định. Theo mặc định, máy khách có thể gọi API của bạn với điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )18 mặc định. Để yêu cầu khách hàng sử dụng tên miền tùy chỉnh để gọi API của bạn, tắt điểm cuối mặc định. Ngoại lệ response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )65 ________ 2208 (** kwargs) ¶
Một tài liệu chính sách JSON được xâu chuỗi áp dụng cho RESTAPI này bất kể cấu hình người gọi và phương thức. Tags (dict) -
vô hiệu hóa Chỉ định xem máy khách có thể gọi API của bạn hay không bằng cách sử dụng điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )17 mặc định. Theo mặc định, máy khách có thể gọi API của bạn với điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )18 mặc định. Để yêu cầu khách hàng sử dụng tên miền tùy chỉnh để gọi API của bạn, tắt điểm cuối mặc định. Ngoại lệ response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )66 ________ 2208 (** kwargs) ¶
Tiêu đề (Diễn ngôn) - Bản đồ giá trị khóa của các tiêu đề để mô phỏng yêu cầu gọi đến. Đây là nơi cần chỉ định mã thông báo ủy quyền đến, hoặc nguồn nhận dạng.MultivalueHeaders (dict) - response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )67 Các tiêu đề dưới dạng bản đồ từ chuỗi đến danh sách các giá trị để mô phỏng yêu cầu gọi đến. Đây là nơi có thể chỉ định mã thông báo ủy quyền đến hoặc nguồn nhận dạng.
Tags (dict) -
vô hiệu hóa Chỉ định xem máy khách có thể gọi API của bạn hay không bằng cách sử dụng điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )17 mặc định. Theo mặc định, máy khách có thể gọi API của bạn với điểm cuối response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )18 mặc định. Để yêu cầu khách hàng sử dụng tên miền tùy chỉnh để gọi API của bạn, tắt điểm cuối mặc định. Ngoại lệ response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )68 ________ 2208 (** kwargs) ¶
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )69 Cấu trúc phản ứng
(Diễn ngôn) -
trạng thái (số nguyên) - Mã trạng thái HTTP. cơ thể (chuỗi) - response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )70Cơ thể của phản ứng HTTP.
Cú pháp phản hồi (Diễn ngôn) -
trạng thái (số nguyên) - Mã trạng thái HTTP. cơ thể (chuỗi) - response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )71Cơ thể của phản ứng HTTP.patchOperations (list) -- Tiêu đề (Diễn ngôn) -
response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )7 Cấu trúc phản ứng
(Diễn ngôn) -
trạng thái (số nguyên) - Mã trạng thái HTTP. cơ thể (chuỗi) - response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )73Cơ thể của phản ứng HTTP.
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } } Cấu trúc phản ứng
Một định danh khách hàng của AWS Marketplace, khi tích hợp với thị trường AWS SaaS.
đã kích hoạt (boolean) - Chỉ định xem khóa API có thể được sử dụng bởi người gọi hay không. createdDate (DateTime) - response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )75Dấu thời gian khi khóa API được tạo.
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 } Cấu trúc phản ứng
Ngoại lệ
Thay đổi thông tin về tài nguyên BasePathMapping. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )77Thông số
DIGN Trả lạiCú pháp phản hồi { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' } Cấu trúc phản ứng
Ngoại lệ
Thay đổi thông tin về một tài nguyên khách hàng. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )79Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )5 Cấu trúc phản ứng
Ngoại lệ
Thay đổi thông tin về một tài nguyên triển khai. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )81Thông số
Loại trở lại DIGNTrả lại { 'id': 'string', 'description': 'string', 'createdDate': datetime(2015, 1, 1), 'apiSummary': { 'string': { 'string': { 'authorizationType': 'string', 'apiKeyRequired': True|False } } } } Cú pháp phản hồi
Ngoại lệ
Nguồn hoạt động của Copy Update được xác định bởi giá trị trỏ JSON tham chiếu vị trí trong tài nguyên được nhắm mục tiêu để sao chép giá trị từ. Ví dụ: để thúc đẩy triển khai Canary, bạn sao chép ID triển khai Canary vào ID triển khai liên kết bằng cách gọi yêu cầu bản vá trên tài nguyên giai đoạn với "OP": "Sao chép", "từ": " đường dẫn ":"/triển khai ". Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )83Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )0 Cấu trúc phản ứng
Ngoại lệ
Cập nhật một phiên bản tài liệu. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )85Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )2 Cấu trúc phản ứng
Ngoại lệ
Thay đổi thông tin về tài nguyên tên miền. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )87Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )4 Cấu trúc phản ứng
Một danh sách các vpcendpointids của API (RESTAPI) để tạo ra các bí danh Route53. Nó chỉ được hỗ trợ cho loại điểm cuối
Trạng thái của di chuyển tên miền. Các giá trị hợp lệ là response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )87 và response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )88. Nếu trạng thái là response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )88, miền không thể được sửa đổi thêm cho đến khi hoạt động hiện tại hoàn tất. Nếu đó là response = client.create_base_path_mapping( domainName='string', basePath='string', restApiId='string', stage='string' )87, tên miền có thể được cập nhật. DOMAINNAMESTATUSMESSAGE (Chuỗi) - Một tin nhắn văn bản tùy chọn chứa thông tin chi tiết về trạng thái của di chuyển tên miền. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )89SecurityPolicy (Chuỗi) -
Loại trở lại DIGNTrả lại response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )3 Cú pháp phản hồi
DIGN
Cú pháp phản hồi Cấu trúc phản ứng Phản hồi cổng của một loại phản hồi và mã trạng thái nhất định, với các tham số phản hồi tùy chọn và các mẫu ánh xạ. response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )91responsetype (chuỗi) -
dict ReturnsResponse Syntax response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )7 Response Structure
Trả lời Phản hồi (DID) -
{ 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }40, trong đó { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }37 là tên tiêu đề hợp lệ và duy nhất. Giá trị không tĩnh được ánh xạ phải khớp với mẫu của { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }42 hoặc { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }44, trong đó { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }37 là tên tiêu đề phản hồi hợp lệ và duy nhất và { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }45 là biểu thức JSON hợp lệ mà không có tiền tố { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }46.(**kwargs)¶ Trả lời Chỉ định các mẫu được sử dụng để biến đổi thân phản ứng tích hợp. Các mẫu phản hồi được biểu diễn dưới dạng bản đồ khóa/giá trị, với loại nội dung là khóa và mẫu là giá trị. Chỉ định cách xử lý các chuyển đổi loại tải trọng phản hồi. Các giá trị được hỗ trợ là response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )93Nếu thuộc tính này không được xác định, tải trọng phản hồi sẽ được chuyển qua từ phản hồi tích hợp cho phản hồi phương thức mà không cần sửa đổi.
Loại trở lại DIGNTrả lại response = client.create_documentation_part( restApiId='string', location={ 'type': 'API'|'AUTHORIZER'|'MODEL'|'RESOURCE'|'METHOD'|'PATH_PARAMETER'|'QUERY_PARAMETER'|'REQUEST_HEADER'|'REQUEST_BODY'|'RESPONSE'|'RESPONSE_HEADER'|'RESPONSE_BODY', 'path': 'string', 'method': 'string', 'statusCode': 'string', 'name': 'string' }, properties='string' )9 Cú pháp phản hồi
Cú pháp phản hồi
Đại diện cho một phản ứng tích hợp. Mã trạng thái phải ánh xạ tới một phương thức hiện có và các tham số và mẫu có thể được sử dụng để chuyển đổi phản hồi back-end. statusCode (chuỗi) - Chỉ định mã trạng thái được sử dụng để ánh xạ phản hồi tích hợp cho Phương thức hiện có. selectPotype (chuỗi) - Chỉ định mẫu biểu thức thông thường (regex) được sử dụng để chọn phản hồi tích hợp dựa trên phản hồi từ phía sau. Ví dụ: nếu phản hồi thành công không trả lại gì và phản hồi lỗi trả về một số chuỗi, bạn có thể sử dụng regex{ 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }83 để phù hợp với phản hồi lỗi. Tuy nhiên, hãy đảm bảo rằng phản hồi lỗi không chứa bất kỳ ký tự mới ( { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }84) trong các trường hợp như vậy. Nếu phần cuối là hàm AWS Lambda, tiêu đề lỗi chức năng AWS Lambda được khớp. Đối với tất cả các kết thúc HTTP và AWS khác, mã trạng thái HTTP được khớp.
Loại trở lại DIGNTrả lại response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )01 Cú pháp phản hồi
Exceptions
{ 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }573(**kwargs)¶ Updates an existing MethodResponse resource. See also: AWS API Documentation Request Syntax response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )97Parameters
dict ReturnsResponse Syntax response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )03 Response Structure
Ngoại lệ
Thay đổi thông tin về một mô hình. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )99Thông số
Loại trở lại DIGNTrả lại response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )6 Cú pháp phản hồi
Ngoại lệ
Xem thêm: Tài liệu API AWS Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }01Thông số
DIGN Trả lạiCú pháp phản hồi response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )8 Cấu trúc phản ứng
Ngoại lệ
Thay đổi thông tin về một tài nguyên tài nguyên. Xem thêm: Tài liệu API AWS Yêu cầu cú pháp { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }03Thông số
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }0 Cấu trúc phản ứng
Trả lời
Chỉ định cách xử lý các chuyển đổi loại tải trọng phản hồi. Các giá trị được hỗ trợ là { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }76 và { 'basePath': 'string', 'restApiId': 'string', 'stage': 'string' }77, với các hành vi sau: Nếu thuộc tính này không được xác định, tải trọng phản hồi sẽ được chuyển qua từ phản hồi tích hợp cho phản hồi phương thức mà không cần sửa đổi. TLSConfig (Dict) - { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }05Chỉ định cấu hình TLS cho tích hợp.
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }2 Cấu trúc phản ứng
Tối thiểu
Nguồn của khóa API cho các yêu cầu đo sáng theo kế hoạch sử dụng. Các giá trị hợp lệ là:> `` header`` để đọc khóa API từ tiêu đề response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )06 của yêu cầu. { 'id': 'string', 'name': 'string', 'type': 'TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', 'providerARNs': [ 'string', ], 'authType': 'string', 'authorizerUri': 'string', 'authorizerCredentials': 'string', 'identitySource': 'string', 'identityValidationExpression': 'string', 'authorizerResultTtlInSeconds': 123 }43 để đọc khóa API từ response = client.create_deployment( restApiId='string', stageName='string', stageDescription='string', description='string', cacheClusterEnabled=True|False, cacheClusterSize='0.5'|'1.6'|'6.1'|'13.5'|'28.4'|'58.2'|'118'|'237', variables={ 'string': 'string' }, canarySettings={ 'percentTraffic': 123.0, 'stageVariableOverrides': { 'string': 'string' }, 'useStageCache': True|False }, tracingEnabled=True|False )08 từ một trình ủy quyền tùy chỉnh. EndPointConfiguration (Dict) - Cấu hình điểm cuối của RESTAPI này hiển thị các loại điểm cuối của API. { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }07Các loại (danh sách) -
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }4 Cấu trúc phản ứng
Webaclarn (chuỗi) -
Bộ sưu tập các thẻ. Mỗi phần tử thẻ được liên kết với một tài nguyên nhất định. createdDate (DateTime) - Dấu thời gian khi sân khấu được tạo ra. { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }09LastUpdatedDate (DateTime) -
op (chuỗi) - Một hoạt động cập nhật sẽ được thực hiện với yêu cầu bản vá này. Giá trị hợp lệ có thể được thêm, xóa, thay thế hoặc sao chép. Không phải tất cả các hoạt động hợp lệ đều được hỗ trợ cho một tài nguyên nhất định. Hỗ trợ các hoạt động phụ thuộc vào bối cảnh hoạt động cụ thể. Nỗ lực áp dụng một thao tác không được hỗ trợ trên tài nguyên sẽ trả về thông báo lỗi ..đường dẫn (chuỗi) - response = client.create_api_key( name='string', description='string', enabled=True|False, generateDistinctId=True|False, value='string', stageKeys=[ { 'restApiId': 'string', 'stageName': 'string' }, ], customerId='string', tags={ 'string': 'string' } )34 Mục tiêu của hoạt động OP, như được xác định bởi giá trị con trỏ JSON tham chiếu một vị trí trong tài nguyên được nhắm mục tiêu. Ví dụ: nếu tài nguyên đích có thuộc tính có thể cập nhật của {"name": "value"}, đường dẫn cho thuộc tính này là /tên. Nếu giá trị thuộc tính tên là đối tượng JSON (ví dụ: {"name": {"con/tên": "giá trị con"}}), đường dẫn cho thuộc tính con/tên sẽ là/tên/con ~ 1Name. Bất kỳ ký tự chém ("/") xuất hiện trong tên đường dẫn phải được thoát với "~ 1", như thể hiện trong ví dụ trên. Mỗi hoạt động OP chỉ có thể có một đường dẫn liên quan đến nó.
Webaclarn (chuỗi) -
Tags (dict) - createdDate (DateTime) - Dấu thời gian khi sân khấu được tạo ra. { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }11LastUpdatedDate (DateTime) -
DIGN Trả lạiCú pháp phản hồi { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }6 Cấu trúc phản ứng
Tên của một kế hoạch sử dụng.
Mô tả của một kế hoạch sử dụng. Apistages (Danh sách) - Các giai đoạn API liên quan của kế hoạch sử dụng. { 'id': 'string', 'value': 'string', 'name': 'string', 'customerId': 'string', 'description': 'string', 'enabled': True|False, 'createdDate': datetime(2015, 1, 1), 'lastUpdatedDate': datetime(2015, 1, 1), 'stageKeys': [ 'string', ], 'tags': { 'string': 'string' } }13Tên giai đoạn API của giai đoạn API liên quan trong kế hoạch sử dụng.
DIGN Trả lạiCú pháp phản hồi response = client.create_authorizer( restApiId='string', name='string', type='TOKEN'|'REQUEST'|'COGNITO_USER_POOLS', providerARNs=[ 'string', ], authType='string', authorizerUri='string', authorizerCredentials='string', identitySource='string', identityValidationExpression='string', authorizerResultTtlInSeconds=123 )0 Cấu trúc phản ứng
trạng thái (chuỗi) -
AWS BOTO3 có miễn phí không?AWS cung cấp dịch vụ miễn phí và bạn có thể đăng ký miễn phí.Bạn sẽ cần một tên người dùng và mã thông báo để đăng nhập vào BOTO3 thông qua phần phụ trợ, vì vậy hãy truy cập https://aws.amazon.com và đăng ký tài khoản miễn phí. and you can sign up for free. You will need a username and token to log in to boto3 through the backend, so go to https://aws.amazon.com and sign up for a free account.
Sự khác biệt giữa cổng API và API Gateway V2 là gì?Hiện tại có hai không gian tên API Gateway để quản lý triển khai Gateway API.Không gian tên API V1 đại diện cho API REST và API V2 đại diện cho API WebSocket và API HTTP mới.API V2 represents WebSocket APIs and the new HTTP APIs.
Làm cách nào để gọi cổng API từ Lambda?Thêm một điểm cuối vào chức năng Lambda của bạn.. Mở trang chức năng của bảng điều khiển Lambda .. Chọn một chức năng .. Trong tổng quan chức năng, chọn Thêm Trigger .. Chọn cổng API .. Chọn Tạo API hoặc sử dụng API hiện có.API mới: Đối với loại API, chọn API HTTP..... Để bảo mật, chọn mở .. Chọn thêm .. BOTO3 có sử dụng AWS CLI không?SDK Amazon Braket dựa vào thông tin xác thực AWS CLI mặc định, trừ khi bạn chỉ định rõ ràng khác.. |