Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb1a764a

Browse files
Generate code for 4.3.0
1 parentc011b5f commitb1a764a

File tree

84 files changed

+4009
-348
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+4009
-348
lines changed

‎packages/localstack-sdk-generated/.openapi-generator/FILES‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@ localstack/sdk/api/default_api.py
66
localstack/sdk/api/localstack_api.py
77
localstack/sdk/api/pods_api.py
88
localstack/sdk/api/pro_api.py
9+
localstack/sdk/api/replicator_api.py
910
localstack/sdk/api/state_api.py
1011
localstack/sdk/api_client.py
1112
localstack/sdk/api_response.py
1213
localstack/sdk/configuration.py
1314
localstack/sdk/exceptions.py
1415
localstack/sdk/models/__init__.py
16+
localstack/sdk/models/action_and_resource.py
1517
localstack/sdk/models/aws_pinpoint_application_id_reference_id_get200_response.py
18+
localstack/sdk/models/check_actions_request.py
19+
localstack/sdk/models/check_actions_request_required_permission_inner.py
20+
localstack/sdk/models/check_actions_response.py
21+
localstack/sdk/models/check_actions_response_source_principal.py
1622
localstack/sdk/models/cloud_watch_metrics.py
1723
localstack/sdk/models/cloud_watch_metrics_metrics_inner.py
1824
localstack/sdk/models/cloud_watch_metrics_metrics_inner_d_inner.py
@@ -40,6 +46,7 @@ localstack/sdk/models/init_scripts_scripts_inner.py
4046
localstack/sdk/models/init_scripts_stage.py
4147
localstack/sdk/models/init_scripts_stage_scripts_inner.py
4248
localstack/sdk/models/list_remotes200_response.py
49+
localstack/sdk/models/load_service.py
4350
localstack/sdk/models/localstack_pods_environment_get200_response.py
4451
localstack/sdk/models/localstack_stackinfo_get200_response.py
4552
localstack/sdk/models/manage_session_request.py
@@ -55,6 +62,13 @@ localstack/sdk/models/receive_message_request.py
5562
localstack/sdk/models/receive_message_result.py
5663
localstack/sdk/models/remote_config.py
5764
localstack/sdk/models/remote_config_one_of.py
65+
localstack/sdk/models/replication_config_mock.py
66+
localstack/sdk/models/replication_config_single.py
67+
localstack/sdk/models/replication_job.py
68+
localstack/sdk/models/replication_request.py
69+
localstack/sdk/models/replication_request_source_aws_config.py
70+
localstack/sdk/models/replication_request_target_aws_config.py
71+
localstack/sdk/models/replication_supported_resource.py
5872
localstack/sdk/models/ses_destination.py
5973
localstack/sdk/models/ses_sent_email.py
6074
localstack/sdk/models/ses_sent_email_body.py

‎packages/localstack-sdk-generated/localstack/sdk/api/__init__.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
fromlocalstack.sdk.api.localstack_apiimportLocalstackApi
88
fromlocalstack.sdk.api.pods_apiimportPodsApi
99
fromlocalstack.sdk.api.pro_apiimportProApi
10+
fromlocalstack.sdk.api.replicator_apiimportReplicatorApi
1011
fromlocalstack.sdk.api.state_apiimportStateApi
1112

‎packages/localstack-sdk-generated/localstack/sdk/api/aws_api.py‎

Lines changed: 276 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document:latest
8+
The version of the OpenAPI document:4.3.0
99
Contact: info@localstack.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111
@@ -21,6 +21,8 @@
2121
fromtypingimportOptional
2222
fromtyping_extensionsimportAnnotated
2323
fromlocalstack.sdk.models.aws_pinpoint_application_id_reference_id_get200_responseimportAwsPinpointApplicationIdReferenceIdGet200Response
24+
fromlocalstack.sdk.models.check_actions_requestimportCheckActionsRequest
25+
fromlocalstack.sdk.models.check_actions_responseimportCheckActionsResponse
2426
fromlocalstack.sdk.models.cloud_watch_metricsimportCloudWatchMetrics
2527
fromlocalstack.sdk.models.delete_ddb_expired_items200_responseimportDeleteDdbExpiredItems200Response
2628
fromlocalstack.sdk.models.get_lambda_runtimes200_responseimportGetLambdaRuntimes200Response
@@ -3339,6 +3341,279 @@ def _aws_cognito_idp_signup_post_serialize(
33393341

33403342

33413343

3344+
@validate_call
3345+
defaws_iam_check_actions_allowed_post(
3346+
self,
3347+
check_actions_request:CheckActionsRequest,
3348+
_request_timeout:Union[
3349+
None,
3350+
Annotated[StrictFloat,Field(gt=0)],
3351+
Tuple[
3352+
Annotated[StrictFloat,Field(gt=0)],
3353+
Annotated[StrictFloat,Field(gt=0)]
3354+
]
3355+
]=None,
3356+
_request_auth:Optional[Dict[StrictStr,Any]]=None,
3357+
_content_type:Optional[StrictStr]=None,
3358+
_headers:Optional[Dict[StrictStr,Any]]=None,
3359+
_host_index:Annotated[StrictInt,Field(ge=0,le=0)]=0,
3360+
)->CheckActionsResponse:
3361+
"""aws_iam_check_actions_allowed_post
3362+
3363+
Test if the given actions are allowed on the specific resource
3364+
3365+
:param check_actions_request: (required)
3366+
:type check_actions_request: CheckActionsRequest
3367+
:param _request_timeout: timeout setting for this request. If one
3368+
number provided, it will be total request
3369+
timeout. It can also be a pair (tuple) of
3370+
(connection, read) timeouts.
3371+
:type _request_timeout: int, tuple(int, int), optional
3372+
:param _request_auth: set to override the auth_settings for an a single
3373+
request; this effectively ignores the
3374+
authentication in the spec for a single request.
3375+
:type _request_auth: dict, optional
3376+
:param _content_type: force content-type for the request.
3377+
:type _content_type: str, Optional
3378+
:param _headers: set to override the headers for a single
3379+
request; this effectively ignores the headers
3380+
in the spec for a single request.
3381+
:type _headers: dict, optional
3382+
:param _host_index: set to override the host_index for a single
3383+
request; this effectively ignores the host_index
3384+
in the spec for a single request.
3385+
:type _host_index: int, optional
3386+
:return: Returns the result object.
3387+
"""# noqa: E501
3388+
3389+
_param=self._aws_iam_check_actions_allowed_post_serialize(
3390+
check_actions_request=check_actions_request,
3391+
_request_auth=_request_auth,
3392+
_content_type=_content_type,
3393+
_headers=_headers,
3394+
_host_index=_host_index
3395+
)
3396+
3397+
_response_types_map:Dict[str,Optional[str]]= {
3398+
'200':"CheckActionsResponse",
3399+
}
3400+
response_data=self.api_client.call_api(
3401+
*_param,
3402+
_request_timeout=_request_timeout
3403+
)
3404+
response_data.read()
3405+
returnself.api_client.response_deserialize(
3406+
response_data=response_data,
3407+
response_types_map=_response_types_map,
3408+
).data
3409+
3410+
3411+
@validate_call
3412+
defaws_iam_check_actions_allowed_post_with_http_info(
3413+
self,
3414+
check_actions_request:CheckActionsRequest,
3415+
_request_timeout:Union[
3416+
None,
3417+
Annotated[StrictFloat,Field(gt=0)],
3418+
Tuple[
3419+
Annotated[StrictFloat,Field(gt=0)],
3420+
Annotated[StrictFloat,Field(gt=0)]
3421+
]
3422+
]=None,
3423+
_request_auth:Optional[Dict[StrictStr,Any]]=None,
3424+
_content_type:Optional[StrictStr]=None,
3425+
_headers:Optional[Dict[StrictStr,Any]]=None,
3426+
_host_index:Annotated[StrictInt,Field(ge=0,le=0)]=0,
3427+
)->ApiResponse[CheckActionsResponse]:
3428+
"""aws_iam_check_actions_allowed_post
3429+
3430+
Test if the given actions are allowed on the specific resource
3431+
3432+
:param check_actions_request: (required)
3433+
:type check_actions_request: CheckActionsRequest
3434+
:param _request_timeout: timeout setting for this request. If one
3435+
number provided, it will be total request
3436+
timeout. It can also be a pair (tuple) of
3437+
(connection, read) timeouts.
3438+
:type _request_timeout: int, tuple(int, int), optional
3439+
:param _request_auth: set to override the auth_settings for an a single
3440+
request; this effectively ignores the
3441+
authentication in the spec for a single request.
3442+
:type _request_auth: dict, optional
3443+
:param _content_type: force content-type for the request.
3444+
:type _content_type: str, Optional
3445+
:param _headers: set to override the headers for a single
3446+
request; this effectively ignores the headers
3447+
in the spec for a single request.
3448+
:type _headers: dict, optional
3449+
:param _host_index: set to override the host_index for a single
3450+
request; this effectively ignores the host_index
3451+
in the spec for a single request.
3452+
:type _host_index: int, optional
3453+
:return: Returns the result object.
3454+
"""# noqa: E501
3455+
3456+
_param=self._aws_iam_check_actions_allowed_post_serialize(
3457+
check_actions_request=check_actions_request,
3458+
_request_auth=_request_auth,
3459+
_content_type=_content_type,
3460+
_headers=_headers,
3461+
_host_index=_host_index
3462+
)
3463+
3464+
_response_types_map:Dict[str,Optional[str]]= {
3465+
'200':"CheckActionsResponse",
3466+
}
3467+
response_data=self.api_client.call_api(
3468+
*_param,
3469+
_request_timeout=_request_timeout
3470+
)
3471+
response_data.read()
3472+
returnself.api_client.response_deserialize(
3473+
response_data=response_data,
3474+
response_types_map=_response_types_map,
3475+
)
3476+
3477+
3478+
@validate_call
3479+
defaws_iam_check_actions_allowed_post_without_preload_content(
3480+
self,
3481+
check_actions_request:CheckActionsRequest,
3482+
_request_timeout:Union[
3483+
None,
3484+
Annotated[StrictFloat,Field(gt=0)],
3485+
Tuple[
3486+
Annotated[StrictFloat,Field(gt=0)],
3487+
Annotated[StrictFloat,Field(gt=0)]
3488+
]
3489+
]=None,
3490+
_request_auth:Optional[Dict[StrictStr,Any]]=None,
3491+
_content_type:Optional[StrictStr]=None,
3492+
_headers:Optional[Dict[StrictStr,Any]]=None,
3493+
_host_index:Annotated[StrictInt,Field(ge=0,le=0)]=0,
3494+
)->RESTResponseType:
3495+
"""aws_iam_check_actions_allowed_post
3496+
3497+
Test if the given actions are allowed on the specific resource
3498+
3499+
:param check_actions_request: (required)
3500+
:type check_actions_request: CheckActionsRequest
3501+
:param _request_timeout: timeout setting for this request. If one
3502+
number provided, it will be total request
3503+
timeout. It can also be a pair (tuple) of
3504+
(connection, read) timeouts.
3505+
:type _request_timeout: int, tuple(int, int), optional
3506+
:param _request_auth: set to override the auth_settings for an a single
3507+
request; this effectively ignores the
3508+
authentication in the spec for a single request.
3509+
:type _request_auth: dict, optional
3510+
:param _content_type: force content-type for the request.
3511+
:type _content_type: str, Optional
3512+
:param _headers: set to override the headers for a single
3513+
request; this effectively ignores the headers
3514+
in the spec for a single request.
3515+
:type _headers: dict, optional
3516+
:param _host_index: set to override the host_index for a single
3517+
request; this effectively ignores the host_index
3518+
in the spec for a single request.
3519+
:type _host_index: int, optional
3520+
:return: Returns the result object.
3521+
"""# noqa: E501
3522+
3523+
_param=self._aws_iam_check_actions_allowed_post_serialize(
3524+
check_actions_request=check_actions_request,
3525+
_request_auth=_request_auth,
3526+
_content_type=_content_type,
3527+
_headers=_headers,
3528+
_host_index=_host_index
3529+
)
3530+
3531+
_response_types_map:Dict[str,Optional[str]]= {
3532+
'200':"CheckActionsResponse",
3533+
}
3534+
response_data=self.api_client.call_api(
3535+
*_param,
3536+
_request_timeout=_request_timeout
3537+
)
3538+
returnresponse_data.response
3539+
3540+
3541+
def_aws_iam_check_actions_allowed_post_serialize(
3542+
self,
3543+
check_actions_request,
3544+
_request_auth,
3545+
_content_type,
3546+
_headers,
3547+
_host_index,
3548+
)->RequestSerialized:
3549+
3550+
_host=None
3551+
3552+
_collection_formats:Dict[str,str]= {
3553+
}
3554+
3555+
_path_params:Dict[str,str]= {}
3556+
_query_params:List[Tuple[str,str]]= []
3557+
_header_params:Dict[str,Optional[str]]=_headersor {}
3558+
_form_params:List[Tuple[str,str]]= []
3559+
_files:Dict[
3560+
str,Union[str,bytes,List[str],List[bytes],List[Tuple[str,bytes]]]
3561+
]= {}
3562+
_body_params:Optional[bytes]=None
3563+
3564+
# process the path parameters
3565+
# process the query parameters
3566+
# process the header parameters
3567+
# process the form parameters
3568+
# process the body parameter
3569+
ifcheck_actions_requestisnotNone:
3570+
_body_params=check_actions_request
3571+
3572+
3573+
# set the HTTP header `Accept`
3574+
if'Accept'notin_header_params:
3575+
_header_params['Accept']=self.api_client.select_header_accept(
3576+
[
3577+
'application/json'
3578+
]
3579+
)
3580+
3581+
# set the HTTP header `Content-Type`
3582+
if_content_type:
3583+
_header_params['Content-Type']=_content_type
3584+
else:
3585+
_default_content_type= (
3586+
self.api_client.select_header_content_type(
3587+
[
3588+
'application/json'
3589+
]
3590+
)
3591+
)
3592+
if_default_content_typeisnotNone:
3593+
_header_params['Content-Type']=_default_content_type
3594+
3595+
# authentication setting
3596+
_auth_settings:List[str]= [
3597+
]
3598+
3599+
returnself.api_client.param_serialize(
3600+
method='POST',
3601+
resource_path='/_aws/iam/check-actions-allowed',
3602+
path_params=_path_params,
3603+
query_params=_query_params,
3604+
header_params=_header_params,
3605+
body=_body_params,
3606+
post_params=_form_params,
3607+
files=_files,
3608+
auth_settings=_auth_settings,
3609+
collection_formats=_collection_formats,
3610+
_host=_host,
3611+
_request_auth=_request_auth
3612+
)
3613+
3614+
3615+
3616+
33423617
@validate_call
33433618
defaws_iam_config_get(
33443619
self,

‎packages/localstack-sdk-generated/localstack/sdk/api/chaos_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document:latest
8+
The version of the OpenAPI document:4.3.0
99
Contact: info@localstack.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

‎packages/localstack-sdk-generated/localstack/sdk/api/default_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document:latest
8+
The version of the OpenAPI document:4.3.0
99
Contact: info@localstack.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

‎packages/localstack-sdk-generated/localstack/sdk/api/localstack_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document:latest
8+
The version of the OpenAPI document:4.3.0
99
Contact: info@localstack.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

‎packages/localstack-sdk-generated/localstack/sdk/api/pods_api.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
77
8-
The version of the OpenAPI document:latest
8+
The version of the OpenAPI document:4.3.0
99
Contact: info@localstack.cloud
1010
Generated by OpenAPI Generator (https://openapi-generator.tech)
1111

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp