diff --git a/.github/workflows/acceptance-tests.yml b/.github/workflows/acceptance-tests.yml index 35c62b4..5f67914 100644 --- a/.github/workflows/acceptance-tests.yml +++ b/.github/workflows/acceptance-tests.yml @@ -12,7 +12,8 @@ env: NIFCLOUD_STORAGE_SECRET_ACCESS_KEY: ${{ secrets.NIFCLOUD_STORAGE_SECRET_ACCESS_KEY }} jobs: acceptancetest: - runs-on: ubuntu-latest + # ubuntu-24.04 later does not support Python 3.7 + runs-on: ubuntu-22.04 strategy: max-parallel: 1 matrix: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 48e4f7c..eea8ec9 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -27,7 +27,8 @@ jobs: - name: Check flake8 run: pipenv run lint unittest: - runs-on: ubuntu-latest + # ubuntu-24.04 later does not support Python 3.7 + runs-on: ubuntu-22.04 strategy: matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] diff --git a/nifcloud/data/computing/3.0/service-2.json b/nifcloud/data/computing/3.0/service-2.json index 09277e1..b610919 100644 --- a/nifcloud/data/computing/3.0/service-2.json +++ b/nifcloud/data/computing/3.0/service-2.json @@ -264,7 +264,7 @@ } }, "CreateImage": { - "documentation": "

指定したサーバーをイメージ化し、カスタマイズイメージとして保存します。

サーバーをイメージ化するためには、サーバーが停止中もしくは起動中である必要があります。

カスタマイズイメージの作成には、時間がかかることがあります。このAPIのレスポンス「imageState」を確認し「pending」が返ってきた、またはタイムアウトした場合は、API「DescribeImages」のレスポンス値「imageState」でカスタマイズイメージのステータスを確認できます。

ディスクが接続しているサーバーのイメージ化は、指定したサーバーと同一ゾーンでのみ実行可能です。 イメージ化元サーバーを残さない場合は、関連する付替IPアドレス設定もあわせて解除します。

", + "documentation": "

指定したサーバーをイメージ化し、カスタマイズイメージとして保存します。

サーバーをイメージ化するためには、サーバーが停止中もしくは起動中である必要があります。

カスタマイズイメージの作成には、時間がかかることがあります。このAPIのレスポンス「imageState」を確認し「pending」が返ってきた、またはタイムアウトした場合は、API「DescribeImages」のレスポンス値「imageState」でカスタマイズイメージのステータスを確認できます。

イメージ化が完了するまでの間は、API「DescribeImages」のレスポンス値「imageState」が「deregistered(利用不可)」となります。

API「DescribeImages」のレスポンス値「imageState」が「available(利用可能)」となるまで待ってください。

ディスクが接続しているサーバーのイメージ化は、指定したサーバーと同一ゾーンでのみ実行可能です。

イメージ化元サーバーを残さない場合は、関連する付替IPアドレス設定もあわせて解除します。

", "http": { "method": "POST", "requestUri": "/api/" @@ -1090,7 +1090,7 @@ } }, "DescribeSecurityActivities": { - "documentation": "

指定したファイアウォールグループのログ情報を取得します。

ファイアウォールグループを指定するためには、ファイアウォールグループ名が必要です。

ActivityDateに”all”を指定した場合は、Range設定を無視し保存されているログを全件取得します。

(この場合に返却されるログの件数については 技術仕様/制限値 ファイアウォール:ログ をご参照ください。)

", + "documentation": "

指定したファイアウォールグループのログ情報を取得します。

ファイアウォールグループを指定するためには、ファイアウォールグループ名が必要です。

ActivityDateに”all”を指定した場合は、Range設定を無視し取得可能な最大件数のログを取得します。

(この場合に返却されるログの件数については 技術仕様/制限値 ファイアウォール:ログ をご参照ください。)

", "http": { "method": "POST", "requestUri": "/api/" @@ -6307,7 +6307,7 @@ }, "DiskType": { "locationName": "DiskType", - "shape": "DiskTypeOfCreateVolumeRequest" + "shape": "String" }, "InstanceId": { "locationName": "InstanceId", @@ -8968,20 +8968,6 @@ "name": "DisassociateRouteTableResult", "type": "structure" }, - "DiskTypeOfCreateVolumeRequest": { - "enum": [ - "2", - "3", - "4", - "5", - "6", - "7", - "8", - "9" - ], - "name": "DiskTypeOfCreateVolumeRequest", - "type": "string" - }, "DissociateUsersRequest": { "members": { "FunctionName": { diff --git a/nifcloud/data/devops-runner/v1/service-2.json b/nifcloud/data/devops-runner/v1/service-2.json index 49c35a0..68541f1 100644 --- a/nifcloud/data/devops-runner/v1/service-2.json +++ b/nifcloud/data/devops-runner/v1/service-2.json @@ -78,6 +78,20 @@ "shape": "GetRunnerResult" } }, + "GetRunnerMetrics": { + "documentation": "

Runnerのメトリックス情報を取得します。

", + "http": { + "method": "GET", + "requestUri": "/v1/runners/{RunnerName}/metrics/{MetricsName}" + }, + "input": { + "shape": "GetRunnerMetricsRequest" + }, + "name": "GetRunnerMetrics", + "output": { + "shape": "GetRunnerMetricsResult" + } + }, "GetRunnerParameterGroup": { "documentation": "

Runnerパラメーターグループの情報を取得します。

", "http": { @@ -162,6 +176,20 @@ "shape": "RegisterRunnerResult" } }, + "SetupRunnerAlert": { + "documentation": "

指定したRunnerのアラート設定を変更します。

", + "http": { + "method": "POST", + "requestUri": "/v1/runners/{RunnerName}:setupAlert" + }, + "input": { + "shape": "SetupRunnerAlertRequest" + }, + "name": "SetupRunnerAlert", + "output": { + "shape": "SetupRunnerAlertResult" + } + }, "UnregisterRunner": { "documentation": "

指定したRunnerをGitLabから登録解除します。

", "http": { @@ -426,6 +454,48 @@ "name": "ExtraHosts", "type": "structure" }, + "GetRunnerMetricsRequest": { + "members": { + "EndTime": { + "location": "querystring", + "locationName": "endTime", + "shape": "String" + }, + "MetricsName": { + "location": "uri", + "locationName": "MetricsName", + "shape": "String" + }, + "RunnerName": { + "location": "uri", + "locationName": "RunnerName", + "shape": "String" + }, + "StartTime": { + "location": "querystring", + "locationName": "startTime", + "shape": "String" + } + }, + "name": "GetRunnerMetricsRequest", + "required": [ + "EndTime", + "MetricsName", + "RunnerName", + "StartTime" + ], + "type": "structure" + }, + "GetRunnerMetricsResult": { + "members": { + "Metrics": { + "locationName": "metrics", + "shape": "ListOfMetrics" + } + }, + "name": "GetRunnerMetricsResult", + "type": "structure" + }, "GetRunnerParameterGroupRequest": { "members": { "ParameterGroupName": { @@ -589,6 +659,13 @@ "name": "ListOfExtraHosts", "type": "list" }, + "ListOfMetrics": { + "member": { + "shape": "Metrics" + }, + "name": "ListOfMetrics", + "type": "list" + }, "ListOfParameterGroups": { "member": { "shape": "ParameterGroups" @@ -698,6 +775,32 @@ "name": "Long", "type": "long" }, + "Metrics": { + "members": { + "MaxValue": { + "locationName": "maxValue", + "shape": "Double" + }, + "MinValue": { + "locationName": "minValue", + "shape": "Double" + }, + "Timestamp": { + "locationName": "timestamp", + "shape": "String" + }, + "Timezone": { + "locationName": "timezone", + "shape": "String" + }, + "Value": { + "locationName": "value", + "shape": "Double" + } + }, + "name": "Metrics", + "type": "structure" + }, "ModifyRunnerInstanceTypeRequest": { "members": { "InstanceType": { @@ -996,6 +1099,10 @@ "SystemId": { "locationName": "systemId", "shape": "String" + }, + "To": { + "locationName": "to", + "shape": "String" } }, "name": "Runner", @@ -1050,11 +1157,43 @@ "SystemId": { "locationName": "systemId", "shape": "String" + }, + "To": { + "locationName": "to", + "shape": "String" } }, "name": "Runners", "type": "structure" }, + "SetupRunnerAlertRequest": { + "members": { + "RunnerName": { + "location": "uri", + "locationName": "RunnerName", + "shape": "String" + }, + "To": { + "locationName": "to", + "shape": "String" + } + }, + "name": "SetupRunnerAlertRequest", + "required": [ + "RunnerName" + ], + "type": "structure" + }, + "SetupRunnerAlertResult": { + "members": { + "Runner": { + "locationName": "runner", + "shape": "Runner" + } + }, + "name": "SetupRunnerAlertResult", + "type": "structure" + }, "Status": { "members": { "Code": { diff --git a/nifcloud/data/dns/2012-12-12N2013-12-16/service-2.json b/nifcloud/data/dns/2012-12-12N2013-12-16/service-2.json index 5ec1e40..028b9bd 100644 --- a/nifcloud/data/dns/2012-12-12N2013-12-16/service-2.json +++ b/nifcloud/data/dns/2012-12-12N2013-12-16/service-2.json @@ -643,7 +643,7 @@ }, "SetIdentifier": { "locationName": "SetIdentifier", - "shape": "String" + "shape": "Integer" }, "TTL": { "locationName": "TTL", @@ -721,7 +721,7 @@ }, "SetIdentifier": { "locationName": "SetIdentifier", - "shape": "String" + "shape": "Integer" }, "TTL": { "locationName": "TTL", diff --git a/nifcloud/data/ess/2010-12-01N2014-05-28/service-2.json b/nifcloud/data/ess/2010-12-01N2014-05-28/service-2.json index 8a1f072..660cedd 100644 --- a/nifcloud/data/ess/2010-12-01N2014-05-28/service-2.json +++ b/nifcloud/data/ess/2010-12-01N2014-05-28/service-2.json @@ -27,7 +27,7 @@ } }, "GetDeliveryLog": { - "documentation": "

配信ログを取得します。

条件を指定すると、その条件に一致するログだけを抽出することができます。

条件は配信期間と配信結果です。

取得するログの件数や混雑状況によって、応答に時間がかかることがあります。

", + "documentation": "

配信ログを取得します。

条件を指定すると、その条件に一致するログだけを抽出することができます。

条件は配信期間と配信結果です。

取得できるログはメールの送信結果です。

メールの送信が完了した後、約10~20分後から取得できます。

取得するログの件数や混雑状況によって、ログが反映されるまでの時間は前後します。

", "http": { "method": "POST", "requestUri": "/" diff --git a/nifcloud/data/storage/2006-03-01/service-2.json b/nifcloud/data/storage/2006-03-01/service-2.json index 40188fe..21f6a03 100644 --- a/nifcloud/data/storage/2006-03-01/service-2.json +++ b/nifcloud/data/storage/2006-03-01/service-2.json @@ -618,7 +618,7 @@ "members": { "Tag": { "locationName": "Tag", - "shape": "Tag" + "shape": "ListOfTag" } }, "name": "And", @@ -765,18 +765,10 @@ }, "Contents": { "members": { - "DisplayName": { - "locationName": "DisplayName", - "shape": "String" - }, "ETag": { "locationName": "ETag", "shape": "String" }, - "ID": { - "locationName": "ID", - "shape": "String" - }, "Key": { "locationName": "Key", "shape": "String" @@ -1136,7 +1128,7 @@ "members": { "Rule": { "locationName": "Rule", - "shape": "Rule" + "shape": "ListOfRule" } }, "name": "GetBucketLifecycleConfigurationResult", @@ -2174,6 +2166,14 @@ "name": "ListOfRequestRule", "type": "list" }, + "ListOfRequestTag": { + "flattened": true, + "member": { + "shape": "RequestTag" + }, + "name": "ListOfRequestTag", + "type": "list" + }, "ListOfRequestTagSet": { "flattened": true, "member": { @@ -2182,6 +2182,22 @@ "name": "ListOfRequestTagSet", "type": "list" }, + "ListOfRule": { + "flattened": true, + "member": { + "shape": "Rule" + }, + "name": "ListOfRule", + "type": "list" + }, + "ListOfTag": { + "flattened": true, + "member": { + "shape": "Tag" + }, + "name": "ListOfTag", + "type": "list" + }, "ListOfTagSetOfGetBucketTagging": { "member": { "locationName": "Tag", @@ -2789,9 +2805,9 @@ }, "RequestAnd": { "members": { - "RequestTag": { + "ListOfRequestTag": { "locationName": "Tag", - "shape": "RequestTag" + "shape": "ListOfRequestTag" } }, "name": "RequestAnd", @@ -3137,14 +3153,6 @@ }, "Upload": { "members": { - "DisplayName": { - "locationName": "DisplayName", - "shape": "String" - }, - "ID": { - "locationName": "ID", - "shape": "String" - }, "Initiated": { "locationName": "Initiated", "shape": "TStamp" @@ -3366,18 +3374,10 @@ }, "Version": { "members": { - "DisplayName": { - "locationName": "DisplayName", - "shape": "String" - }, "ETag": { "locationName": "ETag", "shape": "String" }, - "ID": { - "locationName": "ID", - "shape": "String" - }, "IsLatest": { "locationName": "IsLatest", "shape": "Boolean"